]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
222e4d326d0c49daae2a301be5aceade60cbd7e2
[thirdparty/glibc.git] / ChangeLog
1 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/unix/sysv/linux/sysdep.h
4 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5 guards.
6 * misc/tst-preadvwritev-common.c: New file.
7 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
9 a check for files larger than 2GB.
10
11 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12 (__ASSUME_OFF_DIFF_OFF64): Remove define.
13 * sysdeps/unix/sysv/linux/pread.c
14 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15 __OFF_T_MATCHES_OFF64_T.
16 * sysdeps/unix/sysv/linux/pread64.c
17 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18 * sysdeps/unix/sysv/linux/preadv.c
19 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
20 * sysdeps/unix/sysv/linux/preadv64.c
21 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
22 * sysdeps/unix/sysv/linux/pwrite.c
23 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
24 * sysdeps/unix/sysv/linux/pwrite64.c
25 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
26 * sysdeps/unix/sysv/linux/pwritev.c
27 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
28 * sysdeps/unix/sysv/linux/pwritev64.c
29 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
30
31 2016-07-08 Martin Galvan <martin.galvan@tallertechnologies.com>
32
33 * Makeconfig (build-hardcoded-path-in-tests): Set to 'yes'
34 for shared builds if tests-need-hardcoded-path is defined.
35 (all-subdirs): Add pretty-printers.
36 * Makerules ($(py-const)): New rule.
37 * Rules (others): Add $(py-const), if defined.
38 * nptl/Makefile (gen-py-const-headers): Define.
39 * nptl/nptl-printers.py: New file.
40 * nptl/nptl_lock_constants.pysym: Likewise.
41 * pretty-printers/Makefile: Likewise.
42 * pretty-printers/README: Likewise.
43 * pretty-printers/test-condvar-attributes.c: Likewise.
44 * pretty-printers/test-condvar-attributes.p: Likewise.
45 * pretty-printers/test-condvar-printer.c: Likewise.
46 * pretty-printers/test-condvar-printer.py: Likewise.
47 * pretty-printers/test-mutex-attributes.c: Likewise.
48 * pretty-printers/test-mutex-attributes.py: Likewise.
49 * pretty-printers/test-mutex-printer.c: Likewise.
50 * pretty-printers/test-mutex-printer.py: Likewise.
51 * pretty-printers/test-rwlock-attributes.c: Likewise.
52 * pretty-printers/test-rwlock-attributes.py: Likewise.
53 * pretty-printers/test-rwlock-printer.c: Likewise.
54 * pretty-printers/test-rwlock-printer.py: Likewise.
55 * pretty-printers/test_common.py: Likewise.
56 * scripts/gen-py-const.awk: Likewise.
57
58 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
59
60 * sysdeps/unix/sysv/linux/tile/kernel-features.h
61 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
62
63 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
64
65 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
66
67 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
68
69 [BZ #20240]
70 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
71 (CFLAGS-s_modf-ppc32.c): New variable.
72 (CFLAGS-s_modff-ppc32.c): Likewise.
73 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
74 (CFLAGS-s_modf-ppc64.c): Likewise.
75 (CFLAGS-s_modff-ppc64.c): Likewise.
76
77 2016-07-07 Andreas Schwab <schwab@suse.de>
78
79 [BZ #20263]
80 * nptl/tst-robust10.c: New test.
81 * nptl/Makefile (tests): Add tst-robust10.
82
83 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
84
85 [BZ #20263]
86 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
87
88 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
89
90 * sysdeps/s390/linkmap.h (struct link_map_machine):
91 Remove member gotplt and add member jmprel.
92 * sysdeps/s390/s390-32/dl-machine.h
93 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
94 instead of gotplt with &got[3].
95 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
96 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
97
98 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
99
100 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
101
102 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
103
104 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
105 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
106 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
107 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
108 * libio/vtables.c (_IO_vtable_check)
109 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
110 * libio/libioP.h (IO_set_accept_foreign_vtables)
111 [!PTR_MANGLE]: Do not call PTR_MANGLE.
112
113 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
114
115 [BZ #20314]
116 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
117 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
118 $(common-objpfx)cmath.
119 ($(common-objpfx)cstdlib): New target.
120 ($(common-objpfx)cmath): Likewise.
121
122 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
123
124 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
125
126 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
127
128 [BZ #20327]
129 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
130 are not part of the string.
131
132 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
133
134 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
135 * nptl/tst-cancel4-common.h (fifoname): New variable.
136 (fifofd): Likewise.
137 (cl_fifo): New function.
138 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
139 SIGINT.
140 (tf_open): Add early cancel test.
141
142 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
143
144 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
145
146 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
147
148 * sysdeps/generic/ldsodefs.h
149 (dl_symbol_visibility_binds_local_p): New inline function.
150 * elf/dl-addr.c (determine_info): Treat hidden and internal
151 symbols as local.
152 * elf/dl-lookup.c (do_lookup_x): Likewise.
153 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
154
155 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
156
157 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
158 invalid exception for a sNaN input.
159 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
160 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
161 (__nearbyint_vis3): Likewise
162 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
163 (__nearbyintf_vis3): Likewise
164 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
165 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
166 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
167 Likewise.
168 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
169 Likewise.
170
171 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
172
173 [BZ #20139]
174 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
175 (HAVE_AVX512DQ_ASM_SUPPORT): This.
176 * sysdeps/x86_64/configure.ac: Require assembler from binutils
177 2.24 or above.
178 (HAVE_AVX512_ASM_SUPPORT): Removed.
179 (HAVE_AVX512DQ_ASM_SUPPORT): New.
180 * sysdeps/x86_64/configure: Regenerated.
181 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
182 check unconditional.
183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
184 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
185 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
186 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
187 Likewise.
188 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
189 Likewise.
190 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
191 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
192 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
194 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
195 Likewise.
196 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
197 Likewise.
198 * sysdeps/x86_64/multiarch/memset.S: Likewise.
199 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
201 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
202 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
203 Likewise.
204 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
205 Likewise.
206 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
207 Likewise.
208 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
209 Likewise.
210 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
211 Likewise.
212 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
213 Likewise.
214 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
215 Likewise.
216 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
217 Likewise.
218 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
219 Likewise.
220 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
221 Likewise.
222 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
223 Likewise.
224
225 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
226
227 [BZ #20024]
228 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
230 of this implementation of vector function.
231 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
233 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
234 Likewise.
235 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
236 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
237 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
238 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
239 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
240 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
241 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
242 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
243 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
244 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
245 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
246 for testing vector sincos with fixed ABI.
247 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
248 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
249 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
250 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
251 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
252 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
253 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
254 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
255 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
256 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
257 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
258 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
259 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
260 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
261 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
262 * sysdeps/x86_64/fpu/Makefile: Added new tests.
263
264 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
265
266 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
267
268 2016-06-30 Anton Blanchard <anton@samba.org>
269
270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
271 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
272 s_sinf-ppc64.
273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
276 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
277
278 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
279
280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
282 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
283 e_expf-ppc64.
284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
287 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
288
289 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
290
291 [BZ #20277]
292 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
293 when SHARED is defined.
294
295 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
296
297 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
298 (index_arch_Prefer_ERMS): Likewise.
299 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
300 __memcpy_erms for Prefer_ERMS.
301 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
302 (__memmove_erms): Enabled for libc.a.
303 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
304 __memmove_erms or Prefer_ERMS.
305 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
306 __mempcpy_erms for Prefer_ERMS.
307 * sysdeps/x86_64/multiarch/memset.S (memset): Return
308 __memset_erms for Prefer_ERMS.
309
310 2016-06-30 Andreas Schwab <schwab@suse.de>
311
312 [BZ #20262]
313 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
314 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
315 of memory.
316
317 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
318
319 [BZ #18645]
320 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
321 (test-extras): Add tst-cleanupx4aux.
322 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
323 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
324 tst-cleanupx4aux.o.
325 * nptl/tst-cleanupx4aux.c: New file.
326
327 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
328
329 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
330
331 2016-06-29 Andreas Schwab <schwab@suse.de>
332
333 [BZ #20260]
334 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
335 address before the beginning of the string as an integer to avoid
336 array-bounds warning.
337
338 2016-06-28 Richard Henderson <rth@redhat.com>
339
340 * elf/elf.h (EM_BPF): New.
341 (EM_NUM): Update.
342 (R_BPF_NONE, R_BPF_MAP_FD): New.
343
344 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
345 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
346 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
347 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
348 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
349 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
350 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
351 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
352 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
353 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
354 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
355 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
356 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
357 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
358 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
359 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
360 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
361 (EM_NUM): Update.
362
363 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
364
365 [BZ #18960]
366 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
367 Set _nl_current_LC_CATEGORY_used to two instead of one.
368
369 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
370
371 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
372 (do_test): ... this.
373 (TEST_FUNCTION): New macro.
374 Include test-skeleton.c.
375 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
376 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
377
378 2016-06-27 Joseph Myers <joseph@codesourcery.com>
379
380 [BZ #15479]
381 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
382 floating-point environment rather than just control word.
383 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
384 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
385 floating-point environment, with "invalid" exceptions merged in,
386 rather than just control word.
387 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
388 * math/libm-test.inc (trunc_test_data): Do not allow spurious
389 "inexact" exceptions.
390
391 [BZ #15479]
392 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
393 floating-point environment rather than just control word.
394 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
395 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
396 floating-point environment, with "invalid" exceptions merged in,
397 rather than just control word.
398 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
399 * math/libm-test.inc (floor_test_data): Do not allow spurious
400 "inexact" exceptions.
401
402 [BZ #15479]
403 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
404 floating-point environment rather than just control word.
405 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
406 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
407 floating-point environment, with "invalid" exceptions merged in,
408 rather than just control word.
409 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
410 * math/libm-test.inc (ceil_test_data): Do not allow spurious
411 "inexact" exceptions.
412
413 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
414
415 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
416 __libc_vfork.
417 (__vfork) [IS_IN (libc)]: Remove alias.
418 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
419 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
421
422 2016-06-24 Torvald Riegel <triegel@redhat.com>
423
424 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
425 of atomic_compare_and_exchange_bool_rel.
426 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
427 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
428 catomic_compare_and_exchange_bool_rel): Remove.
429 * sysdeps/aarch64/atomic-machine.h
430 (atomic_compare_and_exchange_bool_rel): Likewise.
431 * sysdeps/alpha/atomic-machine.h
432 (atomic_compare_and_exchange_bool_rel): Likewise.
433 * sysdeps/arm/atomic-machine.h
434 (atomic_compare_and_exchange_bool_rel): Likewise.
435 * sysdeps/mips/atomic-machine.h
436 (atomic_compare_and_exchange_bool_rel): Likewise.
437 * sysdeps/microblaze/atomic-machine.h
438 ( __arch_compare_and_exchange_bool_8_rel,
439 __arch_compare_and_exchange_bool_16_rel): Likewise.
440 * sysdeps/powerpc/atomic-machine.h
441 ( __arch_compare_and_exchange_bool_8_rel,
442 __arch_compare_and_exchange_bool_16_rel): Likewise.
443 * sysdeps/powerpc/powerpc32/atomic-machine.h
444 ( __arch_compare_and_exchange_bool_32_rel,
445 __arch_compare_and_exchange_bool_64_rel): Likewise.
446 * sysdeps/powerpc/powerpc64/atomic-machine.h
447 ( __arch_compare_and_exchange_bool_32_rel,
448 __arch_compare_and_exchange_bool_64_rel): Likewise.
449 * sysdeps/tile/atomic-machine.h
450 (atomic_compare_and_exchange_bool_rel): Likewise.
451
452 2016-06-23 Joseph Myers <joseph@codesourcery.com>
453
454 [BZ #20296]
455 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
456 when either argument is a NaN.
457 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
458 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
459
460 * math/libm-test.inc (snan_value_ld): New macro.
461 (isgreater_test_data): Add sNaN tests.
462 (isgreaterequal_test_data): Likewise.
463 (isless_test_data): Likewise.
464 (islessequal_test_data): Likewise.
465 (islessgreater_test_data): Likewise.
466 (isunordered_test_data): Likewise.
467 (nextafter_test_data): Likewise.
468 (nexttoward_test_data): Likewise.
469 (remainder_test_data): Likewise.
470 (remquo_test_data): Likewise.
471 (significand_test_data): Likewise.
472 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
473
474 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
475
476 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
477 environment macros are defined.
478 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
479
480 2016-06-23 Florian Weimer <fweimer@redhat.com>
481
482 [BZ #20191]
483 Implement vtable verification in libio.
484 * Makerules (shlib.lds): Place __libc_IO_vtables section.
485 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
486 * debug/vdprintf_chk.c (__vdprintf_chk): Call
487 _IO_new_file_init_internal instead of _IO_file_init.
488 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
489 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
490 * libio/Makefile (routines): Add vtables.
491 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
492 (_IO_init): Remove, not for internal use.
493 (_IO_init_internal): Declare, internal replacement for _IO_init.
494 (_IO_file_init): Remove, not for internal use.
495 (_IO_new_file_init): Remove, not for internal use.
496 (_IO_new_file_init_internal): Declare, internal replacement for
497 _IO_new_file_init.
498 (_IO_old_file_init): Remove, not for internal use.
499 (_IO_old_file_init_internal): Declare, internal replacement for
500 _IO_old_file_init.
501 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
502 internal use.
503 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
504 Declare.
505 (libio_vtable): New macro.
506 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
507 functions.
508 * libio/fileops.c (_IO_new_file_init_internal): Rename from
509 _IO_new_file_init.
510 (_IO_new_file_init): New externally visible wrapper which disables
511 vtable verification.
512 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
513 Define as vtables.
514 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
515 (_IO_init): New externally visible wrapper which disables
516 vtable verification.
517 * libio/iofdopen.c (_IO_new_fdopen): Call
518 _IO_new_file_init_internal instead of _IO_file_init. Adjust
519 comment.
520 * libio/iofopen.c (__fopen_internal): Call
521 _IO_new_file_init_internal instead of _IO_file_init.
522 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
523 Define as vtables.
524 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
525 _IO_new_file_init_internal instead of _IO_file_init.
526 * libio/iopopen.c (_IO_new_popen): Likewise.
527 (_IO_proc_jumps): Define as vtable.
528 * libio/iovdprintf.c (_IO_vdprintf): Call
529 _IO_new_file_init_internal instead of _IO_file_init.
530 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
531 (__open_memstream): Call _IO_init_internal instead of _IO_init.
532 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
533 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
534 _IO_old_file_init.
535 (_IO_old_file_init): New externally visible wrapper which disables
536 vtable verification.
537 (_IO_old_file_jumps): Define as vtable.
538 * libio/oldiofdopen.c (_IO_old_fdopen): Call
539 _IO_old_file_init_internal instead of _IO_old_file_init.
540 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
541 * libio/oldiopopen.c (_IO_old_popen): Likewise.
542 (_IO_old_proc_jumps): Define as vtable.
543 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
544 Define as vtables.
545 * libio/vtables.c: New file.
546 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
547 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
548 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
549 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
550 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
551 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
552 instead of _IO_init.
553
554 2016-06-23 Florian Weimer <fweimer@redhat.com>
555
556 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
557
558 2016-06-23 Florian Weimer <fweimer@redhat.com>
559
560 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
561 potentially unused.
562
563 2016-06-22 Florian Weimer <fweimer@redhat.com>
564
565 * test-skeleton.c (write_message): New function.
566 * malloc/tst-mallocfork2.c (write_message): Remove.
567 * debug/tst-longjmp_chk2.c (write_indented): New function.
568 (write_message): Remove.
569 (stackoverflow_handler): Call write_indented.
570
571 2016-06-22 Joseph Myers <joseph@codesourcery.com>
572
573 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
574 "inexact" exceptions after fnstenv.
575 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
576 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
577 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
578
579 2015-06-22 Zack Weinberg <zackw@panix.com>
580
581 * sysdeps/generic/bits/hwcap.h: Moved to ...
582 * bits/hwcap.h: Here.
583
584 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
585
586 * sysdeps/aarch64/memcpy.S (memcpy):
587 Further tuning for performance.
588
589 2016-06-21 Florian Weimer <fweimer@redhat.com>
590
591 [BZ #20284]
592 * malloc/arena.c (reused_arena): Do not return NULL if we start
593 out with a non-corrupted arena.
594
595 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
596
597 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
598 * misc/tst-preadvwritev.c: New file.
599 * misc/tst-preadvwritev64.c: Likewise.
600 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
601 usage.
602 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
603 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
604 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
605 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
606
607 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
608
609 [BZ #19654]
610 * sysdeps/x86_64/fpu/Makefile: Added new tests.
611 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
612 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
613 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
614 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
615 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
616 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
617 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
618 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
619 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
620 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
621 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
622 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
623 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
624 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
625 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
626 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
627 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
628 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
629 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
630 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
631 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
632 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
633 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
634 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
635 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
636
637 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
638
639 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
640 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
641
642 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
643
644 * sysdeps/aarch64/memcpy.S (memcpy):
645 Rewrite of optimized memcpy and memmove.
646 * sysdeps/aarch64/memmove.S (memmove): Remove
647 memmove code (merged into memcpy.S).
648
649 2016-06-20 Florian Weimer <fweimer@redhat.com>
650
651 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
652 * sysdeps/generic/dl-dtv.h: New file.
653 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
654 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
655 (dtv_t): Remove.
656 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
657 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
658 (dtv_t): Remove.
659 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
660 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
661 (dtv_t): Remove.
662 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
663 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
664 (dtv_t): Remove.
665 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
666 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
667 (dtv_t): Remove.
668 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
669 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
670 (dtv_t): Remove.
671 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
672 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
673 (dtv_t): Remove.
674 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
675 (dtv_t): Remove.
676 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
677 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
678 (dtv_t): Remove.
679 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
680 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
681 (dtv_t): Remove.
682 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
683 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
684 (dtv_t): Remove.
685 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
686 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
687 (dtv_t): Remove.
688 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
689 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
690 (dtv_t): Remove.
691 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
692 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
693 (dtv_t): Remove.
694 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
695 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
696 (dtv_t): Remove.
697 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
698 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
699 (dtv_t): Remove.
700
701 2016-06-20 Florian Weimer <fweimer@redhat.com>
702
703 Revert symbol poisoning of __malloc_initialize_hook.
704 * include/stdc-predef.h (__malloc_initialize_hook): Remove
705 poisoning.
706 * malloc/Makefile: Remove un-poisoning.
707 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
708 instead of old__malloc_initialize_hook.
709 * malloc/malloc-hooks.h: Likewise.
710 * malloc/malloc.c: Likewise.
711 * malloc/mcheck-init.c: Likewise.
712
713 2016-06-19 Carlos O'Donell <carlos@redhat.com>
714
715 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
716
717 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
718
719 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
720 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
721 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
722 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
723
724 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
725
726 * NEWS: Mention addition of nextup and nextdown.
727 * manual/arith.texi: Document nextup and nextdown.
728 * manual/libm-err-tab.pl: Add nextup and nextdown.
729 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
730 * math/Versions (libm): Add GLIBC_2.24.
731 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
732 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
733 Add new test.
734 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
735 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
736 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
737 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
738 (nextup_test_data): Likewise.
739 (nextdown_test_data): Likewise.
740 * math/s_nextdown.c: New file.
741 * math/s_nextdownf.c: Likewise.
742 * math/s_nextdownl.c: Likewise.
743 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
744 F(nextup): New function.
745 F(nextdown): Likewise.
746 * math/tgmath.h: Add nextup and nextdown.
747 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
748 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
749 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
750 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
751 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
752 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
753 Add nextup and nextdown.
754 (CFLAGS-nldbl-nextup.c): New variable.
755 (CFLAGS-nldbl-nextdown.c): Likewise.
756 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
757 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
758 * sysdeps/nacl/libm.abilist: Update.
759 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
760 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
761 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
762 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
763 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
764 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
765 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
766 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
767 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
768 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
769 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
770 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
773 Likewise.
774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
776 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
777 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
778 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
779 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
780 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
783 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
784 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
785 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
786 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
787
788 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
789
790 * manual/pattern.texi: Fix typos & grammar errors.
791
792 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
793
794 * manual/search.texi: Fix typos & grammar errors.
795
796 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
797
798 * manual/message.texi: Fix typos & grammar errors.
799
800 2016-06-16 Mike Frysinger <vapier@gentoo.org>
801
802 * manual/contrib.texi: Fix spelling typos.
803 * manual/crypt.texi: Likewise.
804 * manual/filesys.texi: Likewise.
805 * manual/locale.texi: Likewise.
806 * manual/message.texi: Likewise.
807 * manual/nss.texi: Likewise.
808 * manual/string.texi: Likewise.
809
810 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
811
812 * manual/locale.texi: Fix typos & grammar errors.
813
814 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
815
816 * manual/charset.texi: Fix typos & grammar errors.
817
818 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
819
820 * manual/string.texi: Fix typos.
821
822 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
823
824 * manual/ctype.texi: Fix typos.
825
826 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
827
828 * manual/memory.texi: Fix various typos & grammar errors.
829
830 2016-06-14 Joseph Myers <joseph@codesourcery.com>
831
832 [BZ #20255]
833 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
834 * math/libm-test.inc (fdim_test_data): Add another test.
835
836 [BZ #6796]
837 [BZ #20255]
838 [BZ #20256]
839 * math/s_fdim.c: Include <math_private.h>.
840 (__fdim): Use math_narrow_eval on result.
841 * math/s_fdimf.c: Include <math_private.h>.
842 (__fdimf): Use math_narrow_eval on result.
843 * sysdeps/i386/fpu/s_fdim.S: Remove file.
844 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
845 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
846 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
847 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
848 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
849 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
850 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
851 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
852 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
853 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
854 * math/libm-test.inc (fdim_test_data): Expect errno setting on
855 overflow. Add sNaN tests.
856
857 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
858 fpclassify.
859 * math/s_fdimf.c (__fdimf): Likewise.
860 * math/s_fdiml.c (__fdiml): Likewise.
861
862 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
863
864 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
865 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
867 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
868 ifunc'ed strcasecmp/strncasecmp.
869 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
870 [EALIGN]: Removed.
871 [END]: Likewise.
872 [__strcasecmp]: Define instead of the above to control symbol name.
873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
874 for __strcasecmp_power8.
875 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
876 for __strncasecmp_power8.
877 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
878 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
879 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
880 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
881 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
882 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
883
884 2016-06-13 Joseph Myers <joseph@codesourcery.com>
885
886 [BZ #20252]
887 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
888 arguments when second argument is a NaN.
889 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
890 qNaN tests.
891
892 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
893 (conj_test_data): Likewise.
894 (copysign_test_data): Likewise.
895 (creal_test_data): Likewise.
896 (fma_test_data): Likewise.
897 (fmod_test_data): Likewise.
898
899 [BZ #20250]
900 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
901 itself.
902 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
903 zero input to itself.
904 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
905 Likewise.
906 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
907 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
909 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
910 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
911
912 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
913
914 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
915 * nptl/tst-cancel4-common.c: New file.
916 * nptl/tst-cancel4-common.h: Likewise.
917 * nptl/tst-cancel4.c: Move common definitions to
918 tst-cancel4-common.{c,h} file.
919 * nptl/tst-cancel4_1.c: New test.
920 * nptl/tst-cancel4_2.c: New test.
921
922 2016-06-13 Florian Weimer <fweimer@redhat.com>
923
924 [BZ #20248]
925 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
926 (write_message): New function.
927 (stackoverflow_handler): Call it instead of printf, to avoid
928 excessive stack usage by printf.
929 (do_test): Restore SIGSEGV, SIGBUS default handlers.
930
931 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
932
933 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
934 (prio_inherit_missing): Remove define.
935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
936 (__ASSUME_FUTEX_LOCK_PI): Likewise.
937 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
938 Likewise.
939 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
940 (__ASSUME_FUTEX_LOCK_PI): Likewise.
941 * sysdeps/unix/sysv/linux/mips/kernel-features.h
942 (__ASSUME_FUTEX_LOCK_PI): Likewise.
943 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
944 (__ASSUME_FUTEX_LOCK_PI): Likewise.
945
946 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
947
948 [BZ #19670]
949 [BZ #19672]
950
951 * io/test-lfs.c (do_prepare): Use xmalloc.
952 * io/tst-fcntl.c (do_prepare): Likewise.
953 * libio/tst-fopenloc.c (do_bz17916): Likewise.
954 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
955 * login/tst-utmp.c (do_prepare): Likewise.
956 * posix/tst-exec.c (do_prepare): Likewise.
957 * posix/tst-pathconf.c (prepare): Likewise.
958 * posix/tst-spawn.c (do_prepare): Likewise.
959 * posix/tst-truncate.c (do_prepare): Likewise.
960 * rt/tst-aio.c (do_prepare): Likewise.
961 * rt/tst-aio64.c (do_prepare): Likewise.
962
963 2016-06-11 Florian Weimer <fweimer@redhat.com>
964
965 [BZ #20237]
966 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
967 (get*ent): Set entidx to NULL during initialization. If entidx is
968 NULL, start iteration from the beginning.
969
970 2016-06-11 Florian Weimer <fweimer@redhat.com>
971
972 * malloc/malloc.c (musable): Return correct size for dumped fake
973 mmapped chunk.
974
975 2016-06-11 Florian Weimer <fweimer@redhat.com>
976
977 [BZ #20222]
978 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
979 (_IO_cookie_write): Likewise.
980 (_IO_cookie_seek): Likewise.
981 (_IO_cookie_close): Likewise.
982 (_IO_old_cookie_seek): Likewise.
983 (set_callbacks): New function.
984 (_IO_cookie_init): Call set_callbacks to copy callbacks.
985
986 2016-06-11 Marko Myllynen <myllynen@redhat.com>
987
988 * locale/programs/localedef.c (oldstyle_tables): Remove.
989 * locale/programs/localedef.h (oldstyle_tables): Likewise.
990
991 2016-06-10 Joseph Myers <joseph@codesourcery.com>
992
993 [BZ #20240]
994 * math/Makefile (CFLAGS-s_modf.c): New variable.
995 (CFLAGS-s_modff.c): Likewise.
996 (CFLAGS-s_modfl.c): Likewise.
997 * math/libm-test.inc (modf_test_data): Add sNaN tests.
998
999 2016-06-09 Carlos O'Donell <carlos@redhat.com>
1000
1001 [BZ #20215]
1002 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1003 [!__GNUC_PREREQ (3,2)]: Likewise.
1004
1005 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
1006
1007 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1008 (msghdr.msg_controllen): Likewise.
1009 (cmsghdr.cmsg_len): Likewise.
1010 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1011 ptw-oldsendmsg.
1012 (CFLAGS-oldrecvmsg.c): Remove rule.
1013 (CFLAGS-oldsendmsg.c): Likewise.
1014 (CFLAGS-recvmsg.c): Add rule.
1015 (CFLAGS-sendmsg.c): Likewise.
1016 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1017 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1018 (CFLAGS-recvmsg.c): Remove rule.
1019 (CFLAGS-sendmsg.c): Likewise.
1020 (CFLAGS-oldrecvmsg.c): Likewise.
1021 (CFLAGS-oldsendmsg.c): Likewise.
1022 (CFLAGS-recvmmsg.c): Likewise.
1023 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1024 to kernel defined interfaces.
1025 (msghdr.msg_controllen): Likewise.
1026 (cmsghdr.cmsg_len): Likewise.
1027 (msghdr.__glibc_reserved1): Remove member.
1028 (msghdr.__glibc_reserved2): Likewise.
1029 (cmsghdr.__glibc_reserved1): Likewise.
1030 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1031 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1032 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1033 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1034 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1035 version.
1036 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1037 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1038 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1039 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1040 Remove recvmsg and sendmsg.
1041 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1042 Likewise.
1043 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1044 Likewise.
1045 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1046 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1047 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1048 Likewise.
1049 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1050 Likewise.
1051 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1052 [libc] (GLIBC_2.24): Likewise.
1053 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1054 Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1056 Likewise.
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1058 [libc] (GLIBC_2.24): Likewise.
1059 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1060 Likewise.
1061 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1062 Likewise.
1063 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1064 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1065 Likewise.
1066 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1067 Likewise.
1068 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1069 Likewise.
1070 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1071 Likewise.
1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1073 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1074 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1075 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1076 version for {recv,send,recm,sendm}msg.
1077 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1078 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1079 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1080 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1081 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1082 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1083 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1084 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1085 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1086 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1087 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1088 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1090 Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1092 Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1097 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1098 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1099 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1100 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1103 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1104 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1105 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1106
1107 2016-06-10 Florian Weimer <fweimer@redhat.com>
1108
1109 [BZ #19564]
1110 Remove __malloc_initialize_hook from the API.
1111 * malloc/malloc.h (__malloc_initialize_hook): Remove.
1112 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1113 #pragma GCC poison.
1114 * malloc/malloc-hooks.h: New file.
1115 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1116 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1117 (old__malloc_initialize_hook): Rename from
1118 __malloc_initialize_hook to evade poisoning. Turn into compat
1119 symbol.
1120 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1121 __malloc_initialize_hook.
1122 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1123 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1124 * manual/memory.texi (Hooks for Malloc): Remove
1125 __malloc_initialize_hook. Adjust hook example.
1126
1127 2016-06-09 Joseph Myers <joseph@codesourcery.com>
1128
1129 [BZ #20235]
1130 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1131 itself.
1132 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1133 * math/libm-test.inc (log2_test_data): Add sNaN tests.
1134
1135 [BZ #20234]
1136 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1137 infinity or NaN input to itself.
1138
1139 [BZ #20233]
1140 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1141 to itself.
1142
1143 [BZ #20232]
1144 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1145 itself.
1146
1147 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * sysdeps/x86_64/start.S (_start): Always indirect branch to
1150 __libc_start_main via GOT.
1151
1152 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 * sysdeps/x86_64/memcopy.h: New file.
1155 * sysdeps/x86_64/wordcopy.c: Likewise.
1156
1157 2016-06-09 Florian Weimer <fweimer@redhat.com>
1158
1159 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1160 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1161 <cstdlib>.
1162 (optimization_barrier): New.
1163 (do_test): Use it. Call quick_exit in the global namespace.
1164 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1165 instead of <cstdlib>, <thread>.
1166 (optimization_barrier): New.
1167 (non_main_thread): Adjust declaration. Call optimization_barrier.
1168 Call quick_exit in the global namespace.
1169 (do_test): Call optimization_barrier. Use pthread_create,
1170 pthread_join instead of std::thread.
1171
1172 2016-06-09 Andreas Schwab <schwab@suse.de>
1173
1174 [BZ #19755]
1175 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1176 new entries in auto-propagate mode.
1177 * nscd/grpcache.c (cache_addgr): Likewise.
1178
1179 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1180
1181 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1182 New functions.
1183 (add_temp_file): Use them.
1184
1185 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
1186
1187 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1188
1189 2016-06-08 Joseph Myers <joseph@codesourcery.com>
1190
1191 [BZ #20229]
1192 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1193 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1194 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1195
1196 [BZ #20228]
1197 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1198 itself.
1199 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1200 * math/libm-test.inc (log10_test_data): Add sNaN tests.
1201
1202 [BZ #20227]
1203 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1204 itself.
1205 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1206 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1207 * math/libm-test.inc (log_test_data): Add sNaN tests.
1208
1209 [BZ #20226]
1210 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1211 itself.
1212 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1213 * math/libm-test.inc (exp_test_data): Add sNaN tests.
1214 (exp10_test_data): Likewise.
1215 (expm1_test_data): Likewise.
1216
1217 [BZ #20225]
1218 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1219 itself.
1220 * math/s_ldexpf.c (__ldexpf): Likewise.
1221 * math/s_ldexpl.c (__ldexpl): Likewise.
1222 * math/w_scalbln.c (__w_scalbln): Likewise.
1223 * math/w_scalblnf.c (__w_scalblnf): Likewise.
1224 * math/w_scalblnl.c (__w_scalblnl): Likewise.
1225 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1226 (scalbln_test_data): Likewise.
1227
1228 [BZ #20224]
1229 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1230 argument to itself.
1231 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1232
1233 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 [BZ #19776]
1236 * sysdeps/x86_64/memcpy.S: Make it dummy.
1237 * sysdeps/x86_64/mempcpy.S: Likewise.
1238 * sysdeps/x86_64/memmove.S: New file.
1239 * sysdeps/x86_64/memmove_chk.S: Likewise.
1240 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1241 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1242 * sysdeps/x86_64/memmove.c: Removed.
1243 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1244 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1245 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1246 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1247 Likewise.
1248 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1249 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1251 memcpy-sse2-unaligned, memmove-avx-unaligned,
1252 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1254 (__libc_ifunc_impl_list): Replace
1255 __memmove_chk_avx512_unaligned_2 with
1256 __memmove_chk_avx512_unaligned. Remove
1257 __memmove_chk_avx_unaligned_2. Replace
1258 __memmove_chk_sse2_unaligned_2 with
1259 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
1260 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
1261 with __memmove_avx512_unaligned. Replace
1262 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1263 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
1264 with __memcpy_chk_avx512_unaligned. Remove
1265 __memcpy_chk_avx_unaligned_2. Replace
1266 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1267 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
1268 Replace __memcpy_avx512_unaligned_2 with
1269 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
1270 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
1271 with __mempcpy_chk_avx512_unaligned. Remove
1272 __mempcpy_chk_avx_unaligned_2. Replace
1273 __mempcpy_chk_sse2_unaligned_2 with
1274 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
1275 Replace __mempcpy_avx512_unaligned_2 with
1276 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
1277 Replace __mempcpy_sse2_unaligned_2 with
1278 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
1279 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1280 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1281 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1282 if processor has ERMS. Default to __memcpy_sse2_unaligned.
1283 (ENTRY): Removed.
1284 (END): Likewise.
1285 (ENTRY_CHK): Likewise.
1286 (libc_hidden_builtin_def): Likewise.
1287 Don't include ../memcpy.S.
1288 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1289 __memcpy_chk_avx512_unaligned_erms and
1290 __memcpy_chk_avx512_unaligned. Use
1291 __memcpy_chk_avx_unaligned_erms and
1292 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1293 Default to __memcpy_chk_sse2_unaligned.
1294 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1295 Change function suffix from unaligned_2 to unaligned.
1296 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1297 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1298 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1299 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
1300 (ENTRY): Removed.
1301 (END): Likewise.
1302 (ENTRY_CHK): Likewise.
1303 (libc_hidden_builtin_def): Likewise.
1304 Don't include ../mempcpy.S.
1305 (mempcpy): New. Add a weak alias.
1306 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1307 __mempcpy_chk_avx512_unaligned_erms and
1308 __mempcpy_chk_avx512_unaligned. Use
1309 __mempcpy_chk_avx_unaligned_erms and
1310 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1311 Default to __mempcpy_chk_sse2_unaligned.
1312
1313 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 [BZ #19881]
1316 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1317 into ...
1318 * sysdeps/x86_64/memset.S: This.
1319 (__bzero): Removed.
1320 (__memset_tail): Likewise.
1321 (__memset_chk): Likewise.
1322 (memset): Likewise.
1323 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1324 defined.
1325 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1326 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1327 (__memset_zero_constant_len_parameter): Check SHARED instead of
1328 PIC.
1329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1330 memset-avx2 and memset-sse2-unaligned-erms.
1331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1332 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1333 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1334 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1335 (__bzero): Enabled.
1336 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1337 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1338 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
1339 or __memset_avx2_unaligned_erms if processor has ERMS. Support
1340 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1341 (memset): Removed.
1342 (__memset_chk): Likewise.
1343 (MEMSET_SYMBOL): New.
1344 (libc_hidden_builtin_def): Replace __memset_sse2 with
1345 __memset_sse2_unaligned.
1346 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
1347 __memset_chk_sse2 and __memset_chk_avx2 with
1348 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
1349 Use __memset_chk_sse2_unaligned_erms or
1350 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
1351 __memset_chk_avx512_unaligned_erms and
1352 __memset_chk_avx512_unaligned.
1353
1354 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1355
1356 * math/gen-auto-libm-test.c (fp_format_desc): remove
1357 suffix member.
1358 (output_generic_value): Remove usage of suffix member,
1359 and the resulting unuse of the fp_format argument.
1360 (output_for_one_input_case): Remove unused fp_format
1361 parameter.
1362
1363 * math/auto-libm-test-out: Regenerate.
1364
1365 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
1366 usage with TEST_COND_ibm128.
1367 (TEST_COND_flt_32): Remove.
1368 (TEST_COND_dbl_64): Remove.
1369 (TEST_COND_ldbl_96_intel): Remove.
1370 (TEST_COND_ldbl_96_m68k): Remove.
1371 (TEST_COND_ldbl_128): Remove.
1372
1373 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1374
1375 * auto-libm-test-in:
1376 Replace flt-32 usage with binary32.
1377 Replace dbl-64 usage with binary64.
1378 Replace ldbl-intel-96 usage with intel96.
1379 Replace ldbl-m68k-96 usage with m68k96.
1380 Replace ldbl-128ibm usage with ibm128.
1381 Replace ldbl-128 usage with binary128.
1382
1383 * auto-libm-test-out: Regenerate.
1384
1385 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1386
1387 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
1388 (parse_ulps): Dynamically generate type name matching
1389 string from all_floats.
1390 (get_ulps): Generate the ulps as an array instead.
1391 (output_ulps): Dynamically compose the type based
1392 on the number of supported formats, and print
1393 the indices as type specific helper macros.
1394
1395 * math/libm-test.inc: Remove comment about CHOOSE.
1396 (ulp_data): Generate the type in libm-test-ulps.h.
1397 (ULP_IDX): New macro.
1398 (find_ulps): Update usage of max_ulp.
1399
1400 * math/test-double-vlen2.h (CHOOSE): Remove.
1401 * math/test-double-vlen4.h (CHOOSE): Likewise.
1402 * math/test-double-vlen8.h (CHOOSE): Likewise.
1403 * math/test-float.c (CHOOSE): Likewise.
1404 * math/test-float-finite.c (CHOOSE): Likewise.
1405 * math/test-double.c (CHOOSE): Likewise.
1406 * math/test-double-finite.c (CHOOSE): Likewise.
1407 * math/test-idouble.c (CHOOSE): Likewise.
1408 * math/test-ifloat.c (CHOOSE): Likewise.
1409 * math/test-ildoubl.c (CHOOSE): Likewise.
1410 * math/test-ldouble-finite.c (CHOOSE): Likewise.
1411 * math/test-ldouble.c (CHOOSE): Likewise.
1412
1413 * math/test-float.h (TEST_FLOAT): Remove.
1414 * math/test-double.h (TEST_DOUBLE): Likewise.
1415 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
1416
1417 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1418
1419 * math/gen-libm-test.pl: (apply_lit): New subroutine.
1420 (parse_args): Strip C suffix from floating point literals
1421 typed with 'f' and wrap them with LIT().
1422
1423 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
1424 (test_ff_f_data_nexttoward): Rename to
1425 (test_fj_f_data): New struct.
1426 (nexttoward_test_data): Relabel tests as
1427 TEST_fj_f instead of TEST_ff_f.
1428
1429 2016-06-08 Florian Weimer <fweimer@redhat.com>
1430
1431 Emacs bug 23726.
1432 * malloc/malloc.c (dumped_main_arena_start): Update comment.
1433 (__libc_realloc): Correct size computation for dumped fake mmapped
1434 chunks.
1435
1436 2016-06-07 Joseph Myers <joseph@codesourcery.com>
1437
1438 [BZ #20219]
1439 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
1440 to itself.
1441 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
1442
1443 [BZ #20218]
1444 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
1445 to itself.
1446 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
1447
1448 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 [BZ #20195]
1451 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
1452 check to ...
1453 (init_cpu_features): Here.
1454
1455 2016-06-07 Carlos O'Donell <carlos@redhat.com>
1456
1457 [BZ #20214]
1458 * sysdeps/unix/sysv/linux/bits/in.h
1459 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1460 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
1461 Define to 1.
1462 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
1463 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
1464 Define to 0.
1465 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
1466 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
1467
1468 2016-06-06 Carlos O'Donell <carlos@redhat.com>
1469
1470 [BZ #20198]
1471 * stdlib/Makefile (tests): Add tst-quick_exit, and
1472 tst-thread-quick_exit.
1473 [ifeq ($(have-cxx-thread_local),yes)]
1474 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
1475 (CFLAGS-tst-thread-quick_exit.o): Likewise.
1476 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
1477 (LDLIBS-tst-thread-quick_exit): Likewise.
1478 [ifneq ($(have-cxx-thread_local),yes)]
1479 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
1480 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
1481 If run_dtors is true call __call_tls_dtors.
1482 (exit): Call __run_exit_handlers with run_dtors set to true.
1483 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
1484 definition.
1485 * stdlib/quick_exit.c (quick_exit): Remove function.
1486 (__new_quick_exit): New function.
1487 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
1488 function.
1489 * stdlib/tst-quick_exit.cc: New file.
1490 * stdlib/tst-thread-quick_exit.cc: New file.
1491 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
1492 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
1493 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
1494 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
1495 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
1496 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
1497 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
1498 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
1499 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
1500 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
1501 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
1502 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
1503 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
1504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
1505 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
1506 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
1511 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
1512 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
1513 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
1514 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
1515 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
1516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
1517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
1518 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
1519 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
1520 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
1521
1522 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
1525 a typo in comments.
1526
1527 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1528
1529 [BZ #20213]
1530 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
1531 argument to itself.
1532 * math/libm-test.inc (asin_test_data): Add sNaN tests.
1533
1534 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1535
1536 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
1537 required flags.
1538 (CFLAGS-pwritev64.c): Likewise.
1539 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
1540 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1541 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
1542 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1543 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
1544 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
1545 syscall from auto-generation.
1546 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
1547 [WORDSIZE == 64] (pwritev64): Remove macro.
1548 [!PWRITEV] (PWRITEV): Likewise.
1549 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1550 [!PWRITEV] (PWRITE): Likewise.
1551 [!PWRITEV] (OFF_T): Likewise.
1552 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
1553 (LO_HI_LONG): Remove macro.
1554 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
1555 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
1556 (PWRITEV): Remove macro.
1557 (PWRITEV_REPLACEMENTE): Likewise.
1558 (PWRITE): Likewise.
1559 (OFF_T): Likewise.
1560 (pwritev64): New function.
1561 * nptl/tst-cancel4.c (tf_writev): Add test.
1562
1563 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
1564 required flags.
1565 (CFLAGS-preadv64.c): Likewise.
1566 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
1567 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1568 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
1569 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
1570 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
1571 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
1572 syscall from auto-generation.
1573 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
1574 [WORDSIZE == 64] (preadv64): Remove macro.
1575 [!PREADV] (PREADV): Likewise.
1576 [!PREADV] (PREADV_REPLACEMENT): Likewise.
1577 [!PREADV] (PREAD): Likewise.
1578 [!PREADV] (OFF_T): Likewise.
1579 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
1580 (LO_HI_LONG): Remove macro.
1581 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
1582 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
1583 (PREADV): Remove macro.
1584 (PREADV_REPLACEMENTE): Likewise.
1585 (PREAD): Likewise.
1586 (OFF_T): Likewise.
1587 (preadv64): New function.
1588 * nptl/tst-cancel4.c (tf_preadv): Add test.
1589
1590 2016-06-06 Joseph Myers <joseph@codesourcery.com>
1591
1592 [BZ #20212]
1593 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
1594 argument to itself.
1595 * math/libm-test.inc (acos_test_data): Add sNaN tests.
1596
1597 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1598
1599 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
1600 New symbol defined as libc_hidden_def.
1601 (strcasestr): Became a weak alias to __strcasestr.
1602 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
1603 according to multi-arch support. Move __stpncpy hidden
1604 definition from here to...
1605 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
1606 symbol stpncpy.
1607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
1608 libc_hidden_builtin_def.
1609 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
1610 memset symbol to use when multi-arch support is available.
1611
1612 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1613
1614 * dlfcn/tst-rec-dlopen.c: Include string.h.
1615
1616 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1617
1618 * manual/install.texi: Remove mention of --without-tls
1619 * INSTALL: Regenerate.
1620
1621 2016-06-05 Florian Weimer <fweimer@redhat.com>
1622
1623 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
1624 Remove.
1625 (call_function, interposed_malloc_called): New variables.
1626 (malloc): New function.
1627 (do_test): Do not change malloc hooks. Initialize malloc. Set
1628 and clear call_function as needed.
1629
1630 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
1631
1632 * include/wchar.h (__wmemset): Use __typeof.
1633
1634 2016-06-03 Carlos O'Donell <carlos@redhat.com>
1635
1636 * include/wchar.h (__wmemset): Declare function without typeof.
1637
1638 2016-06-03 Joseph Myers <joseph@codesourcery.com>
1639
1640 [BZ #20205]
1641 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
1642 exponent when incrementing negative subnormal with low mantissa
1643 word zero.
1644 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1645 Add another test.
1646
1647 2016-06-03 Florian Weimer <fweimer@redhat.com>
1648
1649 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
1650 __wmemset instead of wmemset.
1651
1652 2016-06-02 Carlos O'Donell <carlos@redhat.com>
1653
1654 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
1655 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
1656 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
1657 __USE_KERNEL_IPV6_DEFS to 0.
1658 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
1659 Update comment.
1660
1661 2016-06-01 Florian Weimer <fweimer@redhat.com>
1662
1663 [BZ #19861]
1664 Do not use IFUNC resolver with potentially unrelocated symbol.
1665 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
1666 (DEFINE_FORK): Remove macro and inline definition.
1667 (fork_alias): Renamed from fork_ifunc.
1668 (__fork_alias): Renamed from __fork_ifunc.
1669
1670 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
1671
1672 [BZ 19653]
1673 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
1674 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
1675
1676 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1677
1678 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
1679 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
1680 i386-linux-gnu).
1681 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
1682 Set to no.
1683 * sysdeps/mach/hurd/configure: Refresh.
1684
1685 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1686
1687 [BZ #20178]
1688 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
1689 on failure instead of exit.
1690
1691 2016-05-30 Roland McGrath <roland@hack.frob.com>
1692
1693 [BZ #3629]
1694 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
1695 of POSIX.1-2008.
1696
1697 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1698
1699 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
1700 Use PLT entry for calling _hurd_self_sigstate.
1701
1702 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
1703
1704 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
1705 available logical processors with SMT level type sharing L2
1706 cache for Intel processors.
1707
1708 2016-05-27 Joseph Myers <joseph@codesourcery.com>
1709
1710 [BZ #20160]
1711 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
1712 argument to itself before returning the result.
1713 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1714 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1715 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1717 Likewise.
1718 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1719 Likewise.
1720 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
1721 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
1722 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1723 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1724 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1725 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1726
1727 [BZ #20160]
1728 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
1729 argument to itself before returning the result.
1730 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1731 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1732 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1733 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
1734 Likewise.
1735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1736 Likewise.
1737 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
1738 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
1739 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
1740 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1741 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1742 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1743
1744 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1745
1746 * libm-test.inc: Replace usage of M_El with
1747 (lit_e): New macro.
1748
1749 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1750
1751 * libm-test.inc: Replace usage of M_PI_4l with
1752 (lit_pi_4_d): New macro.
1753
1754 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1755
1756 * libm-test.inc: Replace usage of M_PIl with
1757 (lit_pi): New macro.
1758
1759 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1760
1761 * libm-test.inc: Replace usage of M_PI2l with
1762 (lit_pi_2_d): New macro.
1763
1764 * math/test-double.h (LITM): New macro.
1765 * math/test-float.h (LITM): Likewise.
1766 * math/test-ldouble.h (LITM): Likewise.
1767
1768 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1769
1770 * libm-test.inc (M_PI_34l): Rename to
1771 (lit_pi_3_m_4_d): New Macro.
1772 (M_PI_34_LOG10El): Rename to
1773 (lit_pi_3_m_4_ln10_m_d): New Macro.
1774 (M_PI2_LOG10El): Rename to
1775 (lit_pi_2_ln10_m_d): New Macro.
1776 (M_PI4_LOG10El): Rename to
1777 (lit_pi_4_ln10_m_d): New Macro.
1778 (M_PI_LOG10El): Rename to
1779 (lit_pi_ln10_d): New Macro.
1780
1781 2016-05-27 Joseph Myers <joseph@codesourcery.com>
1782
1783 [BZ #20157]
1784 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
1785 determine whether to negate low half if [_ARCH_PPCGR], and integer
1786 comparison otherwise.
1787 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
1788 determine whether to negate low half.
1789
1790 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
1791 (NO_TEST_INLINE_DOUBLE): Likewise.
1792 (TEST_COND_x86_64): Likewise.
1793 (TEST_COND_x86): Likewise.
1794 (M_PI_6l): Likewise.
1795
1796 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1797
1798 * math/libm-test.inc:
1799 (TEST_FLOAT): Change usage to TEST_COND_binary32.
1800 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
1801 (TEST_LDOUBLE): Update usage to evaluate as true if
1802 the guarded tests match the property being tested.
1803 (LDBL_MAX_EXP): Change to MAX_EXP.
1804 (LDBL_MIN_EXP): Change to MIN_EXP.
1805 (LDBL_MANT_DIG): Change to MANT_DIG, except for
1806 nexttoward tests.
1807
1808 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1809
1810 * math/libm-test.inc:
1811 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
1812 (TYPE_MIN): Likewise.
1813 (TYPE_TRUE_MIN): Likewise.
1814 (TYPE_MAX): Likewise.
1815 (MIN_EXP): Likewise.
1816 (MAX_EXP): Likewise.
1817 (MANT_DIG): Likewise.
1818
1819 (FSTR_MAX): New macro.
1820 (__CONCATX): Likewise.
1821 (QTYPE_STR): Likewise.
1822 (TEST_COND_binary32): Likewise.
1823 (TEST_COND_binary64): Likewise.
1824 (TEST_COND_binary128): Likewise.
1825 (TEST_COND_ibm128): Likewise.
1826 (TEST_COND_intel96): Likewise.
1827 (TEST_COND_m68k96): Likewise.
1828
1829 (TEST_COND_flt_32): Redefine as equivalent format test macro.
1830 (TEST_COND_dbl_64): Likewise.
1831 (TEST_COND_ldbl_96_intel): Likewise.
1832 (TEST_COND_ldbl_96_m68k): Likewise.
1833 (TEST_COND_ldbl_128): Likewise.
1834 (TEST_COND_ldbl_128ibm): Likewise.
1835
1836 (plus_zero): Redefine using LIT macro.
1837 (minus_zero): Likewise.
1838 (plus_infty): Redefine as (INF).
1839 (minux_infty): Redefine as (-INF).
1840 (max_value): Redefine as TYPE_MAX.
1841 (min_value): Redefine as TYPE_MIN.
1842 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1843
1844 (print_float): Refactor to use snprintf to convert FLOAT values
1845 to string. This brings it closer to dropin replacement of strtof
1846 for the TS 18661 defined types.
1847 (update_stats): Likewise.
1848 (print_complex_function_ulps): Likewise.
1849 (print_max_error): Likewise.
1850 (print_complex_max_error): Likewise.
1851 (check_float_internal): Likewise.
1852
1853 * math/test-float.h (PREFIX): New macro.
1854 (LIT): Likewise.
1855 (TYPE_STR): Likewise.
1856 (FTOSTR): Likewise.
1857
1858 * math/test-double.h (PREFIX): New macro.
1859 (LIT): Likewise.
1860 (TYPE_STR): Likewise.
1861 (FTOSTR): Likewise.
1862
1863 * math/test-ldouble.h (PREFIX): New macro.
1864 (LIT): Likewise.
1865 (TYPE_STR): Likewise.
1866 (FTOSTR): Likewise.
1867
1868 2016-05-27 Joseph Myers <joseph@codesourcery.com>
1869
1870 [BZ #20156]
1871 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1872 to itself when zero or not finite.
1873 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1877
1878 2016-05-26 Joseph Myers <joseph@codesourcery.com>
1879
1880 [BZ #20153]
1881 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1882 x * x + x for infinities and NaNs.
1883
1884 [BZ #20151]
1885 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1886 argument to itself before returning result.
1887 (__ieee754_y0l): Likewise.
1888 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1889 (__ieee754_y1l).
1890
1891 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1892 (atan_test_data): Likewise.
1893 (ceil_test_data): Likewise.
1894 (cos_test_data): Likewise.
1895 (cosh_test_data): Likewise.
1896 (erf_test_data): Likewise.
1897 (exp2_test_data): Likewise.
1898 (fabs_test_data): Likewise.
1899 (floor_test_data): Likewise.
1900 (ilogb_test_data): Likewise.
1901 (j0_test_data): Likewise.
1902 (j1_test_data): Likewise.
1903 (jn_test_data): Likewise.
1904 (lgamma_test_data): Likewise.
1905 (lrint_test_data): Likewise.
1906 (llrint_test_data): Likewise.
1907 (logb_test_data): Likewise.
1908 (lround_test_data): Likewise.
1909 (llround_test_data): Likewise.
1910 (nearbyint_test_data): Likewise.
1911 (rint_test_data): Likewise.
1912 (round_test_data): Likewise.
1913 (sin_test_data): Likewise.
1914 (sincos_test_data): Likewise.
1915 (sinh_test_data): Likewise.
1916 (sqrt_test_data): Likewise.
1917 (tan_test_data): Likewise.
1918 (tanh_test_data): Likewise.
1919 (tgamma_test_data): Likewise.
1920 (trunc_test_data): Likewise.
1921 (y0_test_data): Likewise.
1922 (y1_test_data): Likewise.
1923 (yn_test_data): Likewise.
1924
1925 * math/libm-test.inc: Update comment about NaN testing.
1926 (TEST_SNAN): New macro.
1927 (snan_value): Likewise.
1928 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1929 (fpclassify_test_data): Add sNaN tests.
1930 (isfinite_test_data): Likewise.
1931 (isinf_test_data): Likewise.
1932 (isnan_test_data): Likewise.
1933 (isnormal_test_data): Likewise.
1934 (issignaling_test_data): Likewise.
1935 (signbit_test_data): Likewise.
1936 * math/gen-libm-test.pl (%beautify): Add snan_value.
1937 (show_exceptions): Add argument $test_snan.
1938 (parse_args): Handle snan_value as non-finite. Update call to
1939 show_exceptions.
1940 * math/Makefile (libm-test-no-inline-cflags): Add
1941 -fsignaling-nans.
1942
1943 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1944
1945 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1946 (CFLAGS-oldsendmsg.c): Add rule.
1947 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1948 Correct recvmsg symbol name.
1949 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1950 Likewise.
1951
1952 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1953
1954 * sysdeps/unix/sysv/linux/Makefile
1955 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1956 oldsendmmsg.
1957 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1958 sendmmsg.
1959 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1960 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1961 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1962 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1964 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1965 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1967 Likewise.
1968 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1969 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1970 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1971 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1972 iovlen and controllen fields to adjust to POSIX specification.
1973 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1974
1975 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1976 and change to correct expected type.
1977 (msghdr.msg_controllen): Likewise.
1978 (cmsghdr.cmsg_len): Likewise.
1979 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1980 expected POSIX assumption about the size.
1981 (msghdr.msg_controllen): Likewise.
1982 (msghdr.__glibc_reserved1): Likewise.
1983 (msghdr.__glibc_reserved2): Likewise.
1984 (cmsghdr.cmsg_len): Likewise.
1985 (cmsghdr.__glibc_reserved1): Likewise.
1986 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1987 Add ptw-oldrecvmsg and ptw-oldsendmsg.
1988 (CFLAGS-sendmsg.c): Remove rule.
1989 (CFLAGS-recvmsg.c): Likewise.
1990 (CFLAGS-oldsendmsg.c): Add rule.
1991 (CFLAGS-oldrecvmsg.c): Likewise.
1992 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1993 recvmsg and sendmsg.
1994 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1995 Likewise.
1996 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1997 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1998 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1999 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2000 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2001 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2002 Likewise.
2003 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2004 Likewise.
2005 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2006 Likewise.
2007 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2008 Likewise.
2009 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2010 Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2012 Likewise.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2014 (GLIBC_2.24): Likewise.
2015 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2016 Likewise.
2017 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2018 Likewise.
2019 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2020 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2021 Likewise.
2022 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2023 Likewise.
2024 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2025 Likewise.
2026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2027 (GLIBC_2.24): Likewise.
2028 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2029 Likewise.
2030 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2031 Likewise.
2032 * sysdeps/unix/sysv/linux/Makefile
2033 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2034 (CFLAGS-sendmsg.c): Add rule.
2035 (CFLAGS-recvmsg.c): Likewise.
2036 (CFLAGS-oldsendmsg.c): Likewise.
2037 (CFLAGS-oldrecvmsg.c): Likewise.
2038 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2039 initialization.
2040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2041 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2042 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2043 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2044 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2045 iovlen and controllen fields to adjust to POSIX specification.
2046 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2047 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2048 added recvmsg and sendmsg.
2049 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2050 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2051 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2052 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2053 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2054 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2055 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2056 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2057 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2058 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2059 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2060 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2062 Likewise.
2063 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2065 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2066 Likewise.
2067 Likewise.
2068 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2069 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2070 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2071 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2077 Likewise.
2078 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2080
2081 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2082 from auto-generation.
2083 (sendmsg): Likewise.
2084 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2085 (sendmsg): Likewise.
2086 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2087 (sendmsg): Likewise.
2088 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2089 (sendmsg): Likewise.
2090 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2091 (sendmsg): Likewise.
2092 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2093 (sendmsg): Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2095 Likewise.
2096 (sendmsg): Likewise.
2097 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2098 (sendmsg): Likewise.
2099 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2100 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2101 Remove.
2102 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2103 Likewise.
2104 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2105 Undefine.
2106 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2107 Likewise.
2108 * sysdeps/unix/sysv/linux/kernel-features.h
2109 (__ASSUME_SENDMSG_SYSCALL): Define.
2110 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2111 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2112 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2113 Remove.
2114 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2115 Likewise.
2116 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2117 Undefine.
2118 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2121 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2122 Remove.
2123 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2124 Likewise.
2125 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2126 Undefine.
2127 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2128 Likewise.
2129 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2130 (__ASSUME_SENDMSG_SYSCALL): Undefine.
2131 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2133 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2134 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2135 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2136 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2137 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2138
2139 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2140
2141 * stdlib/gen-tst-strtod-round.c: Add backslash to
2142 compile command in comment.
2143 (printfp): Remove the literal suffix, and define an infinite
2144 value as INF to avoid expansion clash with INFINITY.
2145 (round_str): Remove the literal suffix.
2146 (round_for_all): Likewise, remove the now duplicate ldbl-64
2147 entry, and remove some magic constants.
2148
2149 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2150 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
2151 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2152 (_CONCAT): New macro.
2153 (CONCAT): Likewise.
2154 (CHOOSE_ld): Likewise.
2155 (CHOOSE_f): Likewise.
2156 (CHOOSE_d): Likewise.
2157 (FTYPE_MEMBER): Likewise.
2158 (BOOL_MEMBER): Likewise.
2159 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2160 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2161 (_XNTRY): Likewise.
2162 (XNTRY): Likewise.
2163 (_ENTRY): Likewise.
2164 (ENTRY): Likewise.
2165 (test_exactness): Generate members via macro.
2166 (test_results): Likewise.
2167 (test): Update members.
2168 (TEST): Redefine using new macros.
2169 (INF): New macro.
2170 (fetestmodes): New structure.
2171 (do_test): Refactor to be type generic.
2172 (test_in_one_mode): Refactor duplicate code into
2173 (GEN_ONE_TEST): New macro.
2174
2175 * stdlib/tst-strtod-round-data.h: Regenerate.
2176
2177 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2178 Extend to pass additional arbitrary parameters to
2179 generators.
2180
2181 2016-05-25 Joseph Myers <joseph@codesourcery.com>
2182
2183 [BZ #15479]
2184 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2185 floating-point state after first floating-point operation on
2186 input. Restore full floating-point state instead of just rounding
2187 mode.
2188 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2189 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2190 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2191 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2192 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2193
2194 [BZ #15479]
2195 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2196 floating-point state after first floating-point operation on
2197 input. Restore full floating-point state instead of just rounding
2198 mode.
2199 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2200 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2201 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2202 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2203 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2204
2205 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2206
2207 [BZ #19727]
2208 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2209 valid high surrogate.
2210 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2211 of an utf16 surrogate.
2212 * iconv/gconv_simple.c (BODY): Likewise.
2213 * iconvdata/bug-iconv12.c: New file.
2214 * iconvdata/Makefile (tests): Add bug-iconv12.
2215
2216 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2217
2218 [BZ #19726]
2219 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2220 outptrp in case of an illegal input.
2221 * iconv/tst-iconv6.c: New file.
2222 * iconv/Makefile (tests): Add tst-iconv6.
2223
2224 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2225
2226 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2227 an error in case of a value in range of an utf16 low surrogate.
2228
2229 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2230
2231 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2232 an error in case of a value in range of an utf16 low surrogate.
2233
2234 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2235
2236 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2237 Move to ...
2238 * sysdeps/s390/Makefile: ... here.
2239 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2240 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2241 (BRANCH_ON_COUNT): New define.
2242 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2243 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2244 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2245 run on s390-32, too.
2246 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2247 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2248 run on s390-32, too.
2249 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2250 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2251 run on s390-32, too.
2252
2253 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2254
2255 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2256 etf3eh or new vector loop-variant.
2257
2258 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2259
2260 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2261 etf3eh or new vector loop-variant.
2262
2263 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2264
2265 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2266 or new vector loop-variant.
2267
2268 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2269
2270 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2271 Rename to TR_LOOP and usage of tr instead of troo instruction.
2272
2273 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2274
2275 * sysdeps/s390/multiarch/gconv_simple.c: New File.
2276 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2277
2278 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2279
2280 * sysdeps/s390/multiarch/8bit-generic.c: New File.
2281 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2282 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2283 New override define.
2284 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2285
2286 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2287
2288 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2289 * sysdeps/s390/configure.ac: Add test for S390 vector register
2290 support in gcc.
2291 * sysdeps/s390/configure: Regenerated.
2292
2293 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2294
2295 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2296 Install file from $(objpfx)gconv-modules.
2297 ($(objpfx)gconv-modules): Concatenate architecture specific file
2298 in variable sysdeps-gconv-modules and gconv-modules in src dir.
2299 * sysdeps/s390/gconv-modules: New file.
2300 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2301 Deleted.
2302 ($(objpfx)gconv-modules-s390): Deleted.
2303 (sysdeps-gconv-modules): New variable.
2304
2305 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2306
2307 [BZ #15479]
2308 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2309 of immediate operand to rounding instruction.
2310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2311 Likewise.
2312 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2313 Likewise.
2314 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2315 Likewise.
2316
2317 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2318
2319 * math/libm-test.inc (MIN_EXP): Directly define as
2320 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2321
2322 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2323
2324 * math/libm-test.inc (MANT_DIG): Directly define as
2325 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2326
2327 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2328
2329 * stdlib/gen-tst-strtod-round.c (main):
2330 Change usage to more closely match the generated
2331 output. Add usage and compilation instructions.
2332 (string_to_fp): Add and use FILE* parameter as
2333 output target.
2334 (print_fp): Likewise.
2335 (round_str): Likewise.
2336 (round_for_all): Likewise.
2337 * stdlib/tst-strtod-round.c (tests): Move into
2338 * stdlib/tst-strtod-round-data.h: New file.
2339
2340 2016-05-24 Joseph Myers <joseph@codesourcery.com>
2341
2342 [BZ #15479]
2343 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2344 (__round): Do not force "inexact" exception.
2345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
2346 variable.
2347 (__round): Do not force "inexact" exception.
2348 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
2349 (__roundf): Do not force "inexact" exception.
2350 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
2351 (__roundl): Do not force "inexact" exception.
2352 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
2353 (__roundl): Do not force "inexact" exception.
2354 * math/libm-test.inc (round_test_data): Do not allow spurious
2355 "inexact" exceptions.
2356
2357 [BZ #15479]
2358 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
2359 exception in comment.
2360 (huge): Remove variable.
2361 (__floor): Do not force "inexact" exception.
2362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
2363 "inexact" exception in comment.
2364 (huge): Remove variable.
2365 (__floor): Do not force "inexact" exception.
2366 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
2367 exception in comment.
2368 (huge): Remove variable.
2369 (__floorf): Do not force "inexact" exception.
2370 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
2371 exception in comment.
2372 (huge): Remove variable.
2373 (__floorl): Do not force "inexact" exception.
2374
2375 [BZ #15479]
2376 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
2377 exception in comment.
2378 (huge): Remove variable.
2379 (__ceil): Do not force "inexact" exception.
2380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
2381 "inexact" exception in comment.
2382 (huge): Remove variable.
2383 (__ceil): Do not force "inexact" exception.
2384 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
2385 (__ceilf): Do not force "inexact" exception.
2386 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
2387 exception in comment.
2388 (huge): Remove variable.
2389 (__ceill): Do not force "inexact" exception.
2390
2391 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
2392
2393 * config.h.in (BIND_NOW): New.
2394 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
2395 * configure: Regenerated.
2396 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
2397 indirect branch via the GOT slot.
2398
2399 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2400
2401 [BZ #19765]
2402 * sysdeps/s390/mempcpy.S: New File.
2403 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2404 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
2405 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2406 Add mempcpy variants.
2407 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
2408 (memcpy): Adjust to be usable from mempcpy entry point.
2409 (__memcpy_mvcle): Likewise.
2410 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2411 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
2412 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
2413 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
2414 (__memcpy_z10): Likewise.
2415 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2416
2417 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2418
2419 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
2420 Remove __GI_ symbol.
2421 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
2422 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
2423 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
2424 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
2425 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
2426 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
2427
2428 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2429
2430 * sysdeps/s390/s390-64/memcpy.S (memcpy):
2431 Use cghi instead of chi to compare 64bit value.
2432
2433 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2434
2435 * sysdeps/s390/s390-32/memcpy.S (memcpy):
2436 Jump to 1MB check before executing mvc-loop.
2437
2438 2016-05-24 Florian Weimer <fweimer@redhat.com>
2439
2440 [BZ #6527]
2441 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
2442 unconditionally.
2443 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
2444
2445 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2446
2447 * stdlib/tst-strtod6.c (do_test): Use new type generic
2448 invocation of the test function.
2449 (test): Refactor into ...
2450 (TEST_STRTOD): New macro base function.
2451
2452 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2453
2454 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
2455 (TEST_STRTOD): New macro.
2456 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
2457
2458 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2459
2460 * stdlib/tst-strtod6.c (do_test): Use new type generic
2461 invocation of the test function.
2462 (test): Refactor into ...
2463 (TEST_STRTOD): New macro base function.
2464
2465 2016-05-23 Florian Weimer <fweimer@redhat.com>
2466
2467 CVE-2016-4429
2468 [BZ #20112]
2469 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
2470 payload.
2471
2472 2016-05-23 Florian Weimer <fweimer@redhat.com>
2473
2474 [BZ #20111]
2475 * bits/sockaddr.h (_SS_SIZE): Define.
2476 * bits/socket.h (_SS_SIZE): Remove.
2477 (_SS_PADSIZE): Adjust to account for all padding.
2478 (struct sockaddr_storage): Update comment. Avoid implicit
2479 padding.
2480 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
2481 (_SS_PADSIZE): Adjust to account for all padding.
2482 (struct sockaddr_storage): Update comment. Avoid implicit
2483 padding.
2484 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
2485 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
2486 (_SS_PADSIZE): Adjust to account for all padding.
2487 (struct sockaddr_storage): Update comment. Avoid implicit
2488 padding.
2489 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
2490 __SS_SIZE is 126 in this version.
2491 * inet/tst-sockaddr.c: New file.
2492 * inet/Makefile (tests): Add tst-sockaddr.c
2493 (tst-sockaddr.c): Compile with non-strict aliasing.
2494
2495 2016-05-23 Joseph Myers <joseph@codesourcery.com>
2496
2497 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
2498 [XPG3 || XPG4].
2499 (NL_ARGMAX): Also expect for [XPG3].
2500 (NL_LANGMAX): Likewise.
2501 (NL_MSGMAX): Likewise.
2502 (NL_NMAX): Likewise.
2503 (NL_SETMAX): Likewise.
2504 (NL_TEXTMAX): Likewise.
2505 (NZERO): Likewise.
2506 (TMP_MAX): Likewise.
2507 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
2508 variable.
2509
2510 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
2511 (PF_MAX): Update value.
2512 (AF_KCM): New macro.
2513 (SOL_NETBEUI): Likewise.
2514 (SOL_LLC): Likewise.
2515 (SOL_DCCP): Likewise.
2516 (SOL_NETLINK): Likewise.
2517 (SOL_TIPC): Likewise.
2518 (SOL_RXRPC): Likewise.
2519 (SOL_PPPOL2TP): Likewise.
2520 (SOL_BLUETOOTH): Likewise.
2521 (SOL_PNPIPE): Likewise.
2522 (SOL_RDS): Likewise.
2523 (SOL_IUCV): Likewise.
2524 (SOL_CAIF): Likewise.
2525 (SOL_ALG): Likewise.
2526 (SOL_NFC): Likewise.
2527 (SOL_KCM): Likewise.
2528 (MSG_BATCH): New enum value and macro.
2529
2530 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
2531
2532 [BZ #18185]
2533 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
2534 sharing L2 cache to 2 for Knights Landing.
2535
2536 2016-05-20 Joseph Myers <joseph@codesourcery.com>
2537
2538 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
2539 (FTW_DP): Do not expect for [XPG3 || XPG4].
2540 (FTW_SL): Do not expect for [XPG3].
2541 (FTW_SLN): Likewise.
2542 (FTW_PHYS): Likewise.
2543 (FTW_MOUNT): Likewise.
2544 (FTW_DEPTH): Likewise.
2545 (FTW_CHDIR): Likewise.
2546 (nftw): Likewise.
2547 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
2548 variable.
2549
2550 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
2551
2552 * manual/errno.texi: Fix various typos & grammar errors.
2553
2554 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
2555
2556 * manual/intro.texi: Fix duplicated typo.
2557
2558 2016-05-19 Joseph Myers <joseph@codesourcery.com>
2559
2560 [BZ #13304]
2561 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
2562 <float.h>, <math_private.h> and <stdlib.h>.
2563 (add_split): New function.
2564 (mul_split): Likewise.
2565 (ext_val): New typedef.
2566 (store_ext_val): New function.
2567 (mul_ext_val): New function.
2568 (compare): New function.
2569 (add_split_ext): New function.
2570 (__fmal): After checking for Inf, NaN and zero, compute result as
2571 an exact sum of scaled double values in round-to-nearest before
2572 adding those up and adjusting for other rounding modes.
2573 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
2574 tests of fma.
2575 * math/auto-libm-test-out: Regenerated.
2576
2577 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2578
2579 [BZ #20119]
2580 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
2581 processor level type mask for CPUID with EAX == 11.
2582
2583 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
2586 logical threads if the HTT bit is 0.
2587 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
2588 (index_cpu_HTT): Likewise.
2589 (reg_HTT): Likewise.
2590
2591 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2592
2593 [BZ #20115]
2594 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
2595 Remove alignments on jump targets.
2596
2597 2016-05-19 Joseph Myers <joseph@codesourcery.com>
2598
2599 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
2600 (getpwent): Likewise.
2601 (setpwent): Likewise.
2602 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
2603 variable.
2604
2605 * conform/data/search.h-data (insque): Do not expect for [XPG3].
2606 (remque): Likewise.
2607 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
2608 variable.
2609
2610 2016-05-18 Joseph Myers <joseph@codesourcery.com>
2611
2612 * math/libm-test.inc: Update comment not to refer to signs of NaNs
2613 not being tested.
2614
2615 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2618 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
2619 call.
2620 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2621 (__condvar_cleanup1): Likewise.
2622
2623 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2624
2625 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
2626 New
2627 (__pthread_unwind): Renamed to ...
2628 (PTHREAD_UNWIND): This.
2629 (__pthread_enable_asynccancel): Replace
2630 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
2631
2632 2016-05-18 Joseph Myers <joseph@codesourcery.com>
2633
2634 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
2635 (CLONE_NEWCGROUP): New macro.
2636
2637 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
2638 (Q_GETNEXTQUOTA): New macro.
2639
2640 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
2641
2642 [BZ #19907]
2643 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
2644 buffer updated by the previous run.
2645 * string/test-memcpy.c (do_one_test): Likewise.
2646 * benchtests/bench-memmove.c (do_one_test): Add a comment.
2647 * string/test-memmove.c (do_one_test): Likewise.
2648
2649 2016-05-17 Joseph Myers <joseph@codesourcery.com>
2650
2651 [BZ #20094]
2652 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
2653 not [__USE_XOPEN].
2654 (unlockpt): Likewise.
2655 (ptsname): Likewise.
2656 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
2657 variable.
2658
2659 [BZ #20076]
2660 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
2661 instead of [__USE_UNIX98].
2662 (S_ISSOCK): Likewise.
2663 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
2664 variable.
2665
2666 [BZ #20074]
2667 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
2668 [__USE_POSIX].
2669 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
2670 variable.
2671
2672 [BZ #20051]
2673 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
2674 (ttyslot): Do not declare.
2675 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
2676 (ttyslot): New prototype.
2677 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
2678 variable.
2679 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2680
2681 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2682
2683 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
2684
2685 2016-05-13 Florian Weimer <fweimer@redhat.com>
2686
2687 Fix race condition in tst-mallocfork2, use fewer resources.
2688 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
2689 to current process group.
2690 (signal_sender): Yield in the non-sleeping case.
2691
2692 2016-05-13 Joseph Myers <joseph@codesourcery.com>
2693
2694 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
2695 (ecvt): Likewise.
2696 (fcvt): Likewise.
2697 (gcvt): Likewise.
2698 (getsubopt): Likewise.
2699 (grantpt): Likewise.
2700 (initstate): Likewise.
2701 (l64a): Likewise.
2702 (mktemp): Likewise.
2703 (mkstemp): Likewise.
2704 (ptsname): Likewise.
2705 (random): Likewise.
2706 (realpath): Likewise.
2707 (setstate): Likewise.
2708 (srandom): Likewise.
2709 (ttyslot): Likewise.
2710 (unlockpt): Likewise.
2711 (valloc): Likewise.
2712
2713 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
2714 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
2715 variable.
2716
2717 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2718
2719 [BZ #20072]
2720 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
2721 init_cpu_features only if SHARED is defined.
2722 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2723
2724 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
2727 non-inclusive caches on Intel processors.
2728
2729 2016-05-13 Florian Weimer <fweimer@redhat.com>
2730
2731 * malloc/malloc.c (dumped_main_arena_start)
2732 (dumped_main_arena_end): New variables.
2733 (DUMPED_MAIN_ARENA_CHUNK): New macro.
2734 (do_check_chunk): Skip dumped fake mmapped chunks.
2735 (munmap_chunk): Likewise.
2736 (__libc_free): Do not adjust statistics for fake mmapped chunks.
2737 (__libc_realloc): Adjust hardening check. Always copy dumped fake
2738 mmapped chunks.
2739 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
2740 Mark dumped chunks as using mmap. Update dumped_main_arena_start
2741 and dumped_main_arena_end to cover the dumped heap.
2742
2743 2016-05-12 Joseph Myers <joseph@codesourcery.com>
2744
2745 * conform/data/time.h-data (getdate_err): Do not expect for
2746 [XPG3].
2747 (getdate): Likewise.
2748 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
2749 variable.
2750
2751 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
2752 (F_ULOCK): Likewise.
2753 (F_TEST): Likewise.
2754 (F_TLOCK): Likewise.
2755 (useconds_t): Likewise.
2756 (intptr_t): Do not expect for [XPG3] or [XPG4].
2757 (brk): Do not expect for [XPG3]
2758 (fchown): Likewise.
2759 (fchdir): Likewise.
2760 (ftruncate): Likewise.
2761 (getdtablesize): Likewise.
2762 (gethostid): Likewise.
2763 (getpagesize): Likewise.
2764 (getpgid): Likewise.
2765 (getsid): Likewise.
2766 (getwd): Likewise.
2767 (lchown): Likewise.
2768 (lockf): Likewise.
2769 (readlink): Likewise.
2770 (sbrk): Likewise.
2771 (setpgrp): Likewise.
2772 (setregid): Likewise.
2773 (setreuid): Likewise.
2774 (symlink): Likewise.
2775 (sync): Likewise.
2776 (truncate): Likewise.
2777 (ualarm): Likewise.
2778 (usleep): Likewise.
2779 (vfork): Likewise.
2780 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
2781 variable.
2782
2783 [BZ #20054]
2784 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
2785 not [__USE_UNIX98].
2786 * conform/data/unistd.h-data (gethostname): Do not expect for
2787 [XPG3].
2788
2789 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
2790 [!POSIX] (S_IFBLK): Likewise.
2791 [!POSIX] (S_IFCHR): Likewise.
2792 [!POSIX] (S_IFIFO): Likewise.
2793 [!POSIX] (S_IFREG): Likewise.
2794 [!POSIX] (S_IFDIR): Likewise.
2795 [!POSIX] (S_IFLNK): Likewise.
2796 [!POSIX] (S_IFSOCK): Likewise.
2797 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
2798 variable.
2799 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2800
2801 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
2802
2803 * sysdeps/aarch64/memset.S (__memset):
2804 Rewrite of optimized memset.
2805
2806 2016-05-12 Florian Weimer <fweimer@redhat.com>
2807
2808 [BZ #19703]
2809 Partially async-signal-safe fork for single-threaded processes.
2810 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
2811 variable. Do not acquire and reset/release malloc and libio locks
2812 in single-threaded processes.
2813 * malloc/tst-mallocfork2.c: New file.
2814 * malloc/Makefile (tests): Add it.
2815
2816 2016-05-12 Florian Weimer <fweimer@redhat.com>
2817
2818 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
2819 argument. Use scratch buffer instead of extend_alloca.
2820 (gethosts): Use scratch buffer instead of extend_alloca.
2821 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
2822 extend_alloca.
2823 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
2824
2825 2016-05-11 Joseph Myers <joseph@codesourcery.com>
2826
2827 [BZ #20055]
2828 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2829 instead of [__USE_UNIX98].
2830 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2831 [__USE_UNIX98].
2832 * conform/data/termios.h-data (tcgetsid): Do not expect for
2833 [XPG3].
2834 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2835 variable.
2836 (test-xfail-XPG4/termios.h/conform): Likewise.
2837
2838 2016-05-11 Florian Weimer <fweimer@redhat.com>
2839
2840 Do not use mcheck in localedef.
2841 * locale/programs/localedef.c (turn_on_mcheck)
2842 (__malloc_initialize_hook): Remove.
2843
2844 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2845
2846 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2847 * sysdeps/s390/s390-64/Makefile: Likewise.
2848
2849 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2852 Remove ifunc-defines.sym.
2853 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2854 Likewise.
2855 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2856 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2857 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2858 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2859 rtld-global-offsets.sym.
2860 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2861 * sysdeps/x86/cpu-features-offsets.sym: This.
2862 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2863 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2864
2865 2016-05-10 Joseph Myers <joseph@codesourcery.com>
2866
2867 [BZ #20073]
2868 * io/sys/stat.h (fchmod): Declare for
2869 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2870 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2871 variable.
2872
2873 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2874 [XPG3] (S_IFSOCK): Likewise.
2875 [XPG3] (S_ISVTX): Likewise.
2876 [XPG3] (S_ISLNK): Likewise.
2877 [XPG3] (S_ISSOCK): Likewise.
2878 [XPG3] (fchmod): Likewise.
2879 [XPG3] (lstat): Likewise.
2880 [XPG3] (mknod): Likewise.
2881
2882 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2883 [XPG3]. Expect type long and XFAIL for [XPG4].
2884 (st_blocks): Likewise.
2885
2886 [BZ #20044]
2887 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2888 (pthread_atfork): New prototype.
2889 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2890 variable.
2891
2892 [BZ #20043]
2893 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2894 prototype.
2895
2896 2016-05-10 Florian Weimer <fweimer@redhat.com>
2897
2898 [BZ #20017]
2899 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2900 gmtime.
2901
2902 2016-05-10 Florian Weimer <fweimer@redhat.com>
2903
2904 [BZ #19994]
2905 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2906 flag in _res.options.
2907
2908 2016-05-09 Joseph Myers <joseph@codesourcery.com>
2909
2910 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2911 [XPG3 || XPG4].
2912 (blksize_t): Likewise.
2913 (clockid_t): Likewise.
2914 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2915 variable.
2916 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2917
2918 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2919
2920 * sysdeps/unix/sysv/linux/s390/init-first.c:
2921 Add VDSO_SYMBOL(getcpu).
2922 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2923 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2924 Add VDSO_SYMBOL(getcpu).
2925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2926 New define HAVE_GETCPU_VSYSCALL.
2927 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2928
2929 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
2930
2931 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2932 instead of <sysdeps/x86_64/cacheinfo.c>.
2933 * sysdeps/x86_64/cacheinfo.c: Moved to ...
2934 * sysdeps/x86/cacheinfo.c: Here.
2935
2936 2016-05-04 Florian Weimer <fweimer@redhat.com>
2937
2938 * malloc/malloc-internal.h: Adjust header file guard.
2939
2940 2016-05-04 Florian Weimer <fweimer@redhat.com>
2941
2942 [BZ #19787]
2943 * inet/getnameinfo.c (check_sprintf_result): New function.
2944 (CHECKED_SNPRINTF): New macro.
2945 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2946 to the host buffer.
2947 (gni_host_local): Use checked_copy to copy the host name.
2948 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2949 (gni_serv_local): Use checked_copy to copy the service name.
2950 (getnameinfo): Remove unnecessary truncation of result buffers.
2951
2952 2016-05-04 Florian Weimer <fweimer@redhat.com>
2953
2954 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2955 in case of inet_ntop failure.
2956
2957 2016-05-04 Florian Weimer <fweimer@redhat.com>
2958
2959 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2960 avoid long lines.
2961 (gni_host_inet_numeric): Likewise. Reduce scope of local
2962 variables.
2963 (gni_host_inet, gni_host_local): Add comment.
2964 (gni_host): Add comment. Use temporary to avoid long lines.
2965
2966 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2967
2968 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2969 registers specifiers where general purpose registers specifiers should
2970 have been used.
2971
2972 2016-05-04 Florian Weimer <fweimer@redhat.com>
2973
2974 [BZ #19779]
2975 CVE-2016-1234
2976 Avoid copying names of directory entries.
2977 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2978 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2979 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2980 (struct readdir_result): New type.
2981 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2982 (GL_READDIR): New macros.
2983 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2984 (convert_dirent, convert_dirent64): New functions.
2985 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
2986 convert_dirent64. Adjust references to the readdir result.
2987 * sysdeps/unix/sysv/linux/i386/glob64.c:
2988 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2989 * posix/bug-glob2.c (LONG_NAME): Define.
2990 (filesystem): Add LONG_NAME.
2991 (my_DIR): Increase the size of room_for_dirent.
2992
2993 2016-05-03 Joseph Myers <joseph@codesourcery.com>
2994
2995 [BZ #20041]
2996 * misc/sys/select.h (__need_timespec): Only define if
2997 [__USE_XOPEN2K].
2998 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2999 variable.
3000 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3001 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3002 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3003
3004 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3005 Segher Boessenkool <segher@gcc.gnu.org>
3006
3007 [BZ #20004]
3008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3009 (__novec_swapcontext): Add missing load.
3010
3011 2016-05-02 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #20023]
3014 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3015 <time.h>.
3016 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3017 variable.
3018 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3019
3020 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3021
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3023 flags CLONE_VM compare.
3024
3025 2016-05-02 Florian Weimer <fweimer@redhat.com>
3026
3027 [BZ #20031]
3028 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3029 completely empty.
3030
3031 2016-05-02 Florian Weimer <fweimer@redhat.com>
3032
3033 [BZ #19573]
3034 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3035 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3036 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3037 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3038 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3039 (hesiod_free_list): Mark as hidden.
3040 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3041 res_set, res_get.
3042 * hesiod/hesiod.c: Remove unnecessary forward declarations.
3043 (init, __hesiod_res_get, __hesiod_res_set): Remove.
3044 (hesiod_init): Remove obsolete res_ninit call.
3045 (hesiod_end): Do not free resolver state. Do not invoke callback.
3046 (hesiod_bind): Do not call init.
3047 (get_txt_records): Use res_mkquery, res_send instead of
3048 res_nmkquery, res_nsend.
3049 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3050 instead of _nss_hesiod_init.
3051 (_nss_hesiod_initgroups_dyn): Likewise.
3052 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3053 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3054 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3055
3056 2016-05-02 Florian Weimer <fweimer@redhat.com>
3057
3058 * hesiod/hesiod_p.h (DEF_RHS): Remove.
3059 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3060
3061 2016-05-02 Florian Weimer <fweimer@redhat.com>
3062
3063 * hesiod/hesiod.h: Remove RCS keyword.
3064 * hesiod/hesiod_p.h: Likewise.
3065
3066 * hesiod/hesiod.c: Likewise.
3067
3068 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
3069
3070 [BZ #12450]
3071 * locale/iso-639.def: Add Samogitian/sgs.
3072
3073 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
3074
3075 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3076
3077 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3078
3079 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
3080 Carlos O'Donell <carlos@redhat.com>
3081
3082 [BZ #19072]
3083 * grp/Makefile (headers): Add grp-merge.h
3084 (routines): Add grp-merge.
3085 * grp/getgrgid_r.c: Include grp-merge.h.
3086 (DEEPCOPY_FN): Define.
3087 (MERGE_FN): Define.
3088 * grp/getgrname_r.c: Include grp-merge.h.
3089 (DEEPCOPY_FN): Define.
3090 (MERGE_FN): Define.
3091 * grp/grp-merge.c: New file.
3092 * grp/grp-merge.h: New file.
3093 * include/grp-merge.h: New file.
3094 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3095 __copy_grp@GLIBC_PRIVATE.
3096 * manual/nss.texi (Actions in the NSS configuration): Describe
3097 return, continue, and merge.
3098 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3099 (DEEPCOPY_FN): Define.
3100 (MERGE_FN): Define.
3101 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3102 (DEEPCOPY_FN): Define.
3103 (MERGE_FN): Define.
3104 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3105 [!MERGE_FN]: Define __merge_einval.
3106 (CHECK_MERGE): Define.
3107 (REENTRANT_NAME): Process merge if do_merge is true.
3108 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3109 (__nss_getent_r): Likewise.
3110 * nss/nsswitch.c (nss_parse_service_list): Likewise.
3111 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3112
3113 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3114
3115 [BZ #20012]
3116 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3117 length to calculate the buffer to read.
3118 (fmemopen_write): Set the buffer position based on bytes written.
3119 (fmemopen_seek): Return EINVAL for invalid whence modes.
3120
3121 [BZ #19957]
3122 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3123 tst-getpid2.
3124 (test): Add tst-clone2.
3125 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3126 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3127 pid/tid fields for CLONE_VM.
3128 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3129 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3130 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3131 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3132 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3133 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3134 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3135 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3137 Likewise.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3139 Likewise.
3140 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3141 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3142 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3143 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3144 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3145 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3146 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3147 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3148
3149 2016-04-29 Florian Weimer <fweimer@redhat.com>
3150
3151 [BZ #19642]
3152 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3153 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3154 (gni_serv_local, gni_serv): New functions extracted from
3155 getnameinfo.
3156 (getnameinfo): Call gni_host and gni_serv to perform the
3157 processing. Always free scratch buffer.
3158
3159 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3160
3161 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3162 remaining bytes in the dest string, with zeros.
3163
3164 2016-04-29 Florian Weimer <fweimer@redhat.com>
3165
3166 [BZ #20010]
3167 CVE-2016-3706
3168 * sysdeps/posix/getaddrinfo.c
3169 (convert_hostent_to_gaih_addrtuple): New function.
3170 (gethosts): Call convert_hostent_to_gaih_addrtuple.
3171 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3172 AF_INET data.
3173
3174 2016-04-29 Florian Weimer <fweimer@redhat.com>
3175
3176 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3177 callback function gl_readdir.
3178 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3179 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3180 (glob_in_dir): Remove len. Use strdup instead of malloc and
3181 memcpy to copy the name.
3182 * manual/pattern.texi (Calling Glob): Document requirements for
3183 implementations of the gl_readdir callback function.
3184 * manual/examples/mkdirent.c: New example.
3185 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3186 per the manual guidance.
3187 * posix/tst-gnuglob.c (my_readdir): Likewise.
3188
3189 2016-04-28 Joseph Myers <joseph@codesourcery.com>
3190
3191 [BZ #20014]
3192 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3193 not [__USE_POSIX].
3194 (getchar_unlocked): Likewise.
3195 (putc_unlocked): Likewise.
3196 (putchar_unlocked): Likewise.
3197 (flockfile): Likewise.
3198 (ftrylockfile): Likewise.
3199 (funlockfile): Likewise.
3200 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3201 variable.
3202 (test-xfail-XPG4/stdio.h/conform): Likewise.
3203
3204 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3205 Expect constant.
3206 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3207 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3208 variable.
3209 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3210 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3211
3212 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3213 [__USE_LARGEFILE64] (off64_t): Likewise.
3214 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3215 variable.
3216
3217 2016-04-28 Florian Weimer <fweimer@redhat.com>
3218
3219 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3220
3221 2016-04-28 Florian Weimer <fweimer@redhat.com>
3222
3223 * resolv/inet_addr.c: Reindent preprocessor conditionals.
3224 * resolv/res_init.c: Likewise.
3225 * resolv/res_mkquery.c: Likewise.
3226
3227 2016-04-28 Florian Weimer <fweimer@redhat.com>
3228
3229 * resolv/res_init.c (isascii): Do not define. Use definition in
3230 <ctype.h>.
3231 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3232 (LOG_AUTH): Remove.
3233 (SPRINTF): Remove, adjust caller.
3234 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3235
3236 2016-04-28 Florian Weimer <fweimer@redhat.com>
3237
3238 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3239 SUNSECURITY conditional.
3240 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3241
3242 2016-04-28 Florian Weimer <fweimer@redhat.com>
3243
3244 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3245 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3246 Remove BSD-related preprocessor conditionals.
3247 * conf/portability.h: Remove.
3248
3249 2016-04-28 Florian Weimer <fweimer@redhat.com>
3250
3251 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3252 * resolv/res_data.c: Likewise.
3253
3254 2016-04-28 Florian Weimer <fweimer@redhat.com>
3255
3256 * resolv/res_comp.c: Remove code conditional on __ultrix__.
3257 * resolv/res_data.c: Remove code conditional on ultrix.
3258
3259 2016-04-28 Florian Weimer <fweimer@redhat.com>
3260
3261 * resolv/res_init.c (RFC1535): Do not define. Remove
3262 RFC1535 preprocessor conditionals.
3263 * resolv/README: Update. Do not claim strict RFC 1535 compliance
3264 because there configuration options which make the resolver
3265 behavior different.
3266
3267 2016-04-28 Florian Weimer <fweimer@redhat.com>
3268
3269 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
3270 RESOLVSORT preprocessor conditionals.
3271 * resolv/nss_dns/dns-host.c: Likewise.
3272 * resolv/res_init.c: Likewise.
3273
3274 2016-04-28 Florian Weimer <fweimer@redhat.com>
3275
3276 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
3277 is never defined.
3278
3279 2016-04-28 Florian Weimer <fweimer@redhat.com>
3280
3281 * inet/inet_lnaof.c: Remove SCSS keyword.
3282 * inet/inet_mkadr.c: Likewise.
3283 * inet/inet_net.c: Likewise.
3284 * inet/inet_netof.c: Likewise.
3285 * inet/rcmd.c: Likewise.
3286 * inet/rexec.c: Likewise.
3287 * inet/ruserpass.c: Likewise.
3288
3289 2016-04-28 Florian Weimer <fweimer@redhat.com>
3290
3291 * resolv/inet_addr.c: Remove _LIBC conditionals.
3292 * resolv/res_data.c: Likewise.
3293 * resolv/res_init.c: Likewise.
3294 * resolv/res_mkquery.c: Likewise.
3295 * resolv/res_libc.c: Update comment.
3296 * resolv/README: Update.
3297
3298 2016-04-28 Florian Weimer <fweimer@redhat.com>
3299
3300 * resolv/gethnamaddr.c: Remove SCSS keyword.
3301 * resolv/herror.c: Likewise.
3302 * resolv/inet_addr.c: Likewise.
3303 * resolv/inet_net_ntop.c: Likewise.
3304 * resolv/inet_net_pton.c: Likewise.
3305 * resolv/inet_neta.c: Likewise.
3306 * resolv/inet_ntop.c: Likewise.
3307 * resolv/inet_pton.c: Likewise.
3308 * resolv/ns_date.c: Remove RCS keyword.
3309 * resolv/ns_name.c: Likewise.
3310 * resolv/ns_netint.c: Likewise.
3311 * resolv/ns_parse.c: Likewise.
3312 * resolv/ns_print.c: Likewise.
3313 * resolv/ns_samedomain.c: Likewise.
3314 * resolv/ns_ttl.c: Likewise.
3315 * resolv/nsap_addr.c: Likewise.
3316 * resolv/res_comp.c: Remove SCSS and RCS keyword.
3317 * resolv/res_data.c: Remove RCS keyword.
3318 * resolv/res_debug.c: Remove SCSS and RCS keyword.
3319 * resolv/res_init.c: Likewise.
3320 * resolv/res_mkquery.c: Likewise.
3321 * resolv/res_query.c: Likewise.
3322 * resolv/res_send.c: Likewise.
3323
3324 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3325
3326 * conform/data/stdio.h-data (fdopen): Expect also for
3327 [XPG3 || XPG4].
3328
3329 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3330 (fseeko): Likewise.
3331 (ftello): Likewise.
3332 (ftrylockfile): Likewise.
3333 (funlockfile): Likewise.
3334 (getc_unlocked): Likewise.
3335 (getchar_unlocked): Likewise.
3336 (putc_unlocked): Likewise.
3337 (putchar_unlocked): Likewise.
3338
3339 2016-04-27 Florian Weimer <fweimer@redhat.com>
3340
3341 [BZ #19868]
3342 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3343 DNS packet syntax checks (which were not needed before). Skip
3344 over non-PTR records.
3345
3346 2016-04-27 Florian Weimer <fweimer@redhat.com>
3347
3348 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
3349 definition. Include <stddef.h> instead.
3350
3351 2016-04-27 Florian Weimer <fweimer@redhat.com>
3352
3353 [BZ #19831]
3354 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
3355 function.
3356 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
3357 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
3358
3359 2016-04-27 Florian Weimer <fweimer@redhat.com>
3360
3361 [BZ #19862]
3362 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
3363 (getanswer_r): Do not call syslog.
3364 (gaih_getanswer_slice): Likewise.
3365 * resolv/gethnamaddr.c (AskedForGot): Remove.
3366 (getanswer): Do not call syslog.
3367 (gethostbyaddr): Likewise.
3368
3369 2016-04-27 Joseph Myers <joseph@codesourcery.com>
3370
3371 * conform/data/signal.h-data (union sigval): Expect also if
3372 [XOPEN2K].
3373 (struct sigevent): Likewise.
3374 (SIGEV_NONE): Likewise.
3375 (SIGEV_SIGNAL): Likewise.
3376 (SIGEV_THREAD): Likewise.
3377 (SIGRTMIN): Likewise.
3378 (SIGRTMAX): Likewise.
3379 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
3380 variable.
3381 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3382
3383 2016-04-27 Florian Weimer <fweimer@redhat.com>
3384
3385 [BZ #19830]
3386 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
3387 (gaih_getanswer_slice): Likewise.
3388 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
3389 Also check for availability of RR metadata.
3390
3391 2016-04-27 Florian Weimer <fweimer@redhat.com>
3392
3393 [BZ #19825]
3394 * resolv/res_send.c (send_vc): Remove early *resplen2
3395 initialization. Set *resplen2 on socket error. Call
3396 close_and_return_error for other errors.
3397
3398 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3399
3400 * sysdeps/unix/sysv/linux/netiucv/iucv.h
3401 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
3402 (SCM_IUCV_TRGCLS): New define.
3403
3404 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3405
3406 [BZ #20005]
3407 * libio/fmemopen.c (fmemopen_write): Update internal position after
3408 write.
3409 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
3410 * stdio-common/tst-fmemopen4.c: New file..
3411
3412 2016-04-26 Joseph Myers <joseph@codesourcery.com>
3413
3414 [BZ #19996]
3415 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
3416 not [__USE_XOPEN2K].
3417 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
3418 variable.
3419
3420 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
3421 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
3422 variable.
3423
3424 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
3425 [__USE_XOPEN2K8].
3426 [__USE_LARGEFILE64] (off64_t): Likewise.
3427 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
3428 variable.
3429
3430 2016-04-25 Joseph Myers <joseph@codesourcery.com>
3431
3432 [BZ #19989]
3433 * libio/stdio.h (cuserid): Do not declare if
3434 [__USE_XOPEN2K && !__USE_GNU].
3435 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
3436 variable.
3437
3438 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3439
3440 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3441 (sysdep_routines): Add P8 and PPC64 strcspn targets.
3442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3443 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3444 ifunc'ed strcspn.
3445 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3446 [EALIGN]: Removed.
3447 [END]: Likewise
3448 [STRSPN]: Define instead of the above to control symbol name.
3449 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
3450 New file.
3451 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
3452 Likewise.
3453 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
3454 Likewise.
3455 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
3456 Likewise.
3457 * sysdeps/powerpc/powerpc64/power8/strspn.S:
3458 [INITIAL_MASK]: New macro.
3459 [STRCSPN]: Likewise.
3460 [UPDATE_MASK]: Likewise.
3461 [USE_AS_STRCSPN]: Lisewise.
3462
3463 2016-04-25 Florian Weimer <fweimer@redhat.com>
3464
3465 [BZ #19931]
3466 * stdio-common/tst-vfprintf-width-prec.c: New file.
3467 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
3468 (tests-special): Add tst-vfprintf-width-prec-mem.out.
3469 (generated): Add mtrace-related files.
3470 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
3471 (tst-%-mem.out): New pattern rule, replaces
3472 tst-printf-bz18872-mem.out.
3473 * stdio-common/vfprintf.c (vfprintf): When handling a precision
3474 specifier, deallocate any previously allocated work buffer.
3475
3476 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3477
3478 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
3479 Add nop before __startcontext, add explaining comments.
3480
3481 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
3482
3483 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
3484 any more. Notably since IPV6_PKTINFO has been reintroduced with a
3485 completely different API.
3486
3487 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
3488 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
3489 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
3490 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
3491 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
3492 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
3493 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
3494 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
3495 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
3496 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
3497
3498 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
3499
3500 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
3501
3502 2016-04-23 Mike Frysinger <vapier@gentoo.org>
3503
3504 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
3505 when it is the default of 0.
3506
3507 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3508
3509 * sysdeps/powerpc/locale-defines.sym: Add new macros.
3510 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3511 (sysdep_routines): Add new strcasestr targets.
3512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3513 (__libc_ifunc_impl_list): Likewise.
3514 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
3515 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
3516 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
3517 * sysdeps/powerpc/powerpc64/power8/Makefile:
3518 New file to add strcasestr-ppc64 to sysdep_routines.
3519 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
3520 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
3521
3522 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
3523
3524 * benchtests/Makefile (wcsmbs-benchset): Include only for
3525 native builds and runs.
3526 (LOCALES): Likewise.
3527 (bench-build): Build timing-type here instead of the bench
3528 target. Generate locale only for native builds.
3529 * benchtests/README: Add note for cross-building.
3530
3531 * benchtests/Makefile (bench-clean): Clean up extra-objs.
3532
3533 * benchtests/README: Update README to include instructions on
3534 using bench-build.
3535
3536 * Makefile.in (bench-build): New target.
3537 * Rules (PHONY): Add bench-build target.
3538 * benchtests/Makefile (bench): Depend on bench-build.
3539 (bench-build): New target.
3540
3541 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3542
3543 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
3544 profil_reply_port.
3545 (profile_waiter): Do not initialize profil_reply_port.
3546 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
3547 frequency instead of tick length in us.
3548
3549 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
3550
3551 [BZ #18712]
3552 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
3553 (__old_mempcpy_small): Likewise.
3554 (__old_strcpy_small): Likewise.
3555 (__old_stpcpy_small): Likewise.
3556 (__old_strpbrk_c2): Fix compat symbol name.
3557 (__old_strpbrk_c3): Likewise.
3558 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
3559 (__mempcpy_small): Remove.
3560 (__strcpy_small): Remove.
3561 (__stpcpy_small): Remove.
3562
3563 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
3564
3565 [BZ #19400]
3566 * locale/iso-639.def: Add the Talossan/tzl language.
3567
3568 2016-04-16 Mike Frysinger <vapier@gentoo.org>
3569
3570 [BZ #16983]
3571 * locale/programs/ld-address.c (address_finish): Update postal_fmt
3572 comment. Add "ln" to strchr check on postal_fmt.
3573
3574 2016-04-16 Mike Frysinger <vapier@gentoo.org>
3575
3576 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
3577 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
3578 tel_dom_fmt.
3579
3580 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3581
3582 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3583 (sysdep_routines): Added __strlen_power8.
3584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
3585 __strlen_power8 entry.
3586 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
3587 Implementation for POWER8.
3588 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
3589 for __strlen_power8.
3590 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
3591 Implementation for POWER8.
3592
3593 2016-04-15 Mike Frysinger <vapier@gentoo.org>
3594
3595 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
3596
3597 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
3598
3599 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
3600 Goldmont and Airmont processors.
3601
3602 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
3603
3604 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
3605 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
3606 (__STRING2_SMALL_GET32): Remove.
3607 (memset): Remove.
3608 (__memset_1): Remove.
3609 (__memset_gc): Remove.
3610 (__mempcpy): Remove.
3611 (mempcpy): Remove.
3612 (__mempcpy_args): Remove.
3613 (strchr): Remove.
3614 (strcpy): Remove.
3615 (strcpy_args): Remove.
3616 (__stpcpy_args): Remove.
3617 (__strcmp_cc): Remove.
3618 (__strcmp_gc): Remove.
3619 (strstr): Remove.
3620
3621 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
3622
3623 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
3624 * nis/nis_call.c (nis_server_cache_add): Likewise.
3625
3626 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3627
3628 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
3629
3630 2016-04-14 Florian Weimer <fweimer@redhat.com>
3631
3632 * malloc/arena.c (__malloc_fork_lock_parent)
3633 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
3634 internal_function attribute.
3635
3636 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
3637
3638 * stdio-common/printf_fp.c (__printf_fp_l):
3639 Rename ___printf_fp_l to __printf_fp_l and
3640 remove strong alias. Use libc_hidden_def instead
3641 of ldbl_hidden_def macro.
3642
3643 2016-04-14 Florian Weimer <fweimer@redhat.com>
3644
3645 Remove malloc hooks from fork handler. They are no longer needed
3646 because malloc runs right before fork, and no malloc calls from
3647 other fork handlers are not possible anymore.
3648 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
3649 declarations.
3650 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
3651 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
3652 (atfork_recursive_cntr): Remove.
3653 (__malloc_fork_lock_parent): Do not override malloc hooks and
3654 thread_arena.
3655 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
3656 thread_arena.
3657 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
3658 thread_arena instead of save_arena.
3659
3660 2016-04-14 Florian Weimer <fweimer@redhat.com>
3661
3662 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
3663 (thread_atfork, thread_atfork_static): Remove.
3664 * sysdeps/mach/hurd/malloc-machine.h:
3665 (thread_atfork, thread_atfork_static): Remove.
3666
3667 2016-04-14 Florian Weimer <fweimer@redhat.com>
3668
3669 [BZ #19431]
3670 Run the malloc fork handler as late as possible to avoid deadlocks.
3671 * malloc/malloc-internal.h: New file.
3672 * malloc/malloc.c: Include it.
3673 * malloc/arena.c (ATFORK_MEM): Remove.
3674 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
3675 Update comment.
3676 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
3677 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
3678 Remove outdated comment.
3679 (ptmalloc_init): Do not call thread_atfork. Remove
3680 thread_atfork_static.
3681 * malloc/tst-malloc-fork-deadlock.c: New file.
3682 * Makefile (tests): Add tst-malloc-fork-deadlock.
3683 (tst-malloc-fork-deadlock): Link against libpthread.
3684 * manual/memory.texi (Aligned Memory Blocks): Update safety
3685 annotation comments.
3686 * sysdeps/nptl/fork.c (__libc_fork): Call
3687 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3688 __malloc_fork_unlock_child.
3689 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
3690
3691 2016-04-14 Florian Weimer <fweimer@redhat.com>
3692
3693 [BZ #19613]
3694 Remove union wait.
3695 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
3696 (w_stopsig, w_stopval): Remove.
3697 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
3698 stat_loc argument.
3699 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
3700 (__WAIT_STATUS_DEFN): Remove.
3701 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3702 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
3703 (wait, wait3, wait4): Use int * for the stat_loc argument.
3704 * posix/wait.c (__wait): Likewise.
3705 * posix/wait3.c (__wait3): Likewise.
3706 * posix/wait4.c (__wait4): Likewise.
3707 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
3708 (__WAIT_STATUS_DEFN): Remove.
3709 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
3710 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
3711 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
3712 argument.
3713 * sysdeps/posix/wait.c (__libc_wait): Likewise.
3714 * sysdeps/posix/wait3.c (__wait3): Likewise.
3715 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
3716 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3717 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
3718 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
3719 stat_loc argument.
3720 * manual/process.texi (BSD Wait Functions): Remove union wait.
3721
3722 2016-04-13 Andreas Schwab <schwab@suse.de>
3723
3724 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
3725 (test-extras): Add tst-tlsalign-vars.
3726 * math/Makefile: Wrap long lines.
3727 (libm-vec-test-wrappers): Define.
3728 (test-extras): Add $(libm-vec-test-wrappers).
3729 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
3730 * nss/Makefile (extra-test-objs): Add nss_test1.os.
3731 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
3732 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
3733 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
3734 (extra-test-objs): Add corresponding objects.
3735
3736 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
3737
3738 [BZ #19928]
3739 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
3740 New.
3741 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
3742 times of shared cache size.
3743 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
3744 (VMOVNT): New.
3745 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
3746 (VMOVNT): Likewise.
3747 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
3748 (VMOVNT): Likewise.
3749 (VMOVU): Changed to movups for smaller code sizes.
3750 (VMOVA): Changed to movaps for smaller code sizes.
3751 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
3752 comments.
3753 (PREFETCH): New.
3754 (PREFETCH_SIZE): Likewise.
3755 (PREFETCHED_LOAD_SIZE): Likewise.
3756 (PREFETCH_ONE_SET): Likewise.
3757 Rewrite to use forward and backward loops, which move 4 vector
3758 registers at a time, to support overlapping addresses and use
3759 non temporal store if size is above the threshold and there is
3760 no overlap between destination and source.
3761
3762 2016-04-12 Alex Smith <alex.smith@imgtec.com>
3763
3764 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
3765 Include dl-vdso.
3766 * sysdeps/unix/sysv/linux/mips/Versions: Add
3767 __vdso_clock_gettime.
3768 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
3769 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
3770 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
3771 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
3772 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
3773 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3774 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3775 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3776 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3777
3778 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3779
3780 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
3781 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
3782 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3783 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3784 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3785 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3788 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
3789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
3790 syscalls generation.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3792 [__NR_pwrite64] (__NR_write): Remove define.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3794 [__NR_pwrite64] (__NR_write): Remove define.
3795 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
3796 Remove define.
3797 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
3798 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
3799 Remove define.
3800 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
3801 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
3802 Linux implementation as base.
3803 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3804
3805 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
3806 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
3807 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3808 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3811 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
3812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
3813 syscall generation.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3815 [__NR_pread64] (__NR_pread): Remove define.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3817 [__NR_pread64] (__NR_pread): Likewise.
3818 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
3819 define.
3820 (__libc_pread): Use SYSCALL_LL macro on offset argument.
3821 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
3822 Remove define.
3823 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
3824 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
3825 Linux implementation as base.
3826 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3827 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3828 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3829
3830 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3831 definition.
3832 (__ALIGNMENT_COUNT): Likewise.
3833 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3834 (__ALIGNMENT_COUNT): Likewise.
3835 (SYSCALL_LL): New define.
3836 (SYSCALL_LL64): Likewise.
3837 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3838 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3839 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3840 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3841
3842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3843 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3844 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3845 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3847 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3848
3849 2016-04-11 Florian Weimer <fweimer@redhat.com>
3850
3851 [BZ #19865]
3852 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3853 original buffer before retry.
3854
3855 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3856
3857 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3858 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3859 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3860 GLRO(dl_auxv) list.
3861 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3862 including <ldsodefs.h>.
3863 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3864
3865 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
3866
3867 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3868 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3869 $(CPPFLAGS).
3870
3871 2016-04-09 Khem Raj <raj.khem@gmail.com>
3872
3873 [BZ #17950]
3874 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3875 Add -mfpmath=387.
3876
3877 2016-04-09 Mike Frysinger <vapier@gentoo.org>
3878
3879 * sysdeps/i386/configure.ac: Change == to = when calling test.
3880 * sysdeps/x86_64/configure.ac: Likewise.
3881 * sysdeps/i386/configure: Regenerated.
3882 * sysdeps/x86_64/configure: Likewise.
3883
3884 2016-04-08 Mike Frysinger <vapier@gentoo.org>
3885
3886 [BZ #16137]
3887 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3888 * benchtests/bench-strcoll.c (input_files): Likewise.
3889 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3890 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3891 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3892
3893 2016-04-08 Joseph Myers <joseph@codesourcery.com>
3894
3895 [BZ #19929]
3896 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3897 [__USE_XOPEN2K8 && !__USE_GNU].
3898 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3899 variable.
3900
3901 [BZ #19925]
3902 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3903 define if [!__USE_MISC && __USE_XOPEN2K].
3904 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3905 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3907 Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3909 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3910 variable.
3911 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3912
3913 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3914
3915 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3916 (sysdep_routines): Add new strspn targets.
3917 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3918 (__libc_ifunc_impl_list): Add strspn.
3919 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3920 New file.
3921 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3922 Likewise.
3923 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3924 Likewise.
3925 * sysdeps/powerpc/powerpc64/power8/strspn.S:
3926 Likewise.
3927
3928 2016-04-07 Florian Weimer <fweimer@redhat.com>
3929
3930 * misc/hsearch_r.c: Include <limits.h>.
3931
3932 2016-04-07 Florian Weimer <fweimer@redhat.com>
3933
3934 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3935
3936 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
3937
3938 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3939 (MEMCPY_SYMBOL): New.
3940 (MEMPCPY_SYMBOL): Likewise.
3941 (MEMMOVE_CHK_SYMBOL): Likewise.
3942 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3943 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3944 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
3945 Provide alias for memcpy in libc.a and ld.so.
3946
3947 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
3948
3949 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3950 (MEMSET_CHK_SYMBOL): New. Define if not defined.
3951 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3952 Disabled fro now.
3953 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3954 symbols. Properly check USE_MULTIARCH on __memset symbols.
3955
3956 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
3957
3958 * benchtests/Makefile (string-benchset): Add memcpy-large,
3959 memmove-large and memset-large.
3960 * benchtests/bench-memcpy-large.c: New file.
3961 * benchtests/bench-memmove-large.c: Likewise.
3962 * benchtests/bench-memmove-large.c: Likewise.
3963 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3964
3965 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3968 32-bit displacement to avoid long nop between instructions.
3969
3970 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3973 a comment on VMOVU and VMOVA.
3974
3975 2016-04-04 Florian Weimer <fweimer@redhat.com>
3976
3977 [BZ #19633]
3978 Use specified locale for number formatting in strfmon_l.
3979 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3980 (__nl_lookup_word): New inline functions.
3981 * include/printf.h (__print_fp_l): Declare.
3982 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3983 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
3984 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3985 (___printf_fp): New function.
3986 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3987 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3988 * stdlib/tst-strfmon_l.c (do_test): New test.
3989 * stdlib/Makefile (tests): Add kt.
3990 (LOCALES): Build additional locales.
3991 (tst-strfmon_l.out): Require locales.
3992
3993 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3996 if not in libc.
3997 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3998 Likewise.
3999 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4000 Likewise.
4001 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4002 Likewise.
4003
4004 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4005
4006 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4007 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4008 with unaligned_erms.
4009 (__memmove_erms): Skip if source == destination.
4010 (__memmove_unaligned_erms): Don't check source == destination
4011 first.
4012
4013 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4016 bit_arch_Fast_Copy_Backward for Intel Core proessors.
4017
4018 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4019
4020 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4021 * string/strspn.c (strspn): Likewise.
4022
4023 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 * benchtests/bench-memset.c (do_test): Support 64-byte
4026 alignment.
4027 (test_main): Test 64-byte alignment.
4028
4029 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4030
4031 * benchtests/bench-memmove.c (test_main): Test 64-byte
4032 alignment.
4033
4034 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4037
4038 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4039
4040 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4041 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4042 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4043
4044 * string/strpbrk.c (strpbrk): Rewrite function.
4045 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4046 (__strpbrk_c2): Likewise.
4047 (__strpbrk_c3): Likewise.
4048 * string/string-inlines.c
4049 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4050 Likewise.
4051 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4052 Likewise.
4053
4054 * string/strspn.c (strcspn): Rewrite function.
4055 * string/bits/string2.h (strspn): Use __builtin_strcspn.
4056 (__strspn_c1): Remove inline function.
4057 (__strspn_c2): Likewise.
4058 (__strspn_c3): Likewise.
4059 * string/string-inlines.c
4060 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4061 compatibility symbol.
4062 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4063 Likewise.
4064 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4065 Likewise.
4066 * string/string-inlines.c: Include generic version.
4067
4068 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
4069 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4070
4071 * string/Version (libc): Add GLIBC_2.24.
4072 * string/strcspn.c (strcspn): Rewrite function.
4073 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4074 (__strcspn_c1): Remove inline function.
4075 (__strcspn_c2): Likewise.
4076 (__strcspn_c3): Likewise.
4077 * string/string-inline.c
4078 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4079 compatibility symbol.
4080 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4081 Likewise.
4082 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4083 Likewise.
4084 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4085
4086 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4087
4088 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4089 Use ahi instead of aghi to adjust stack pointer.
4090
4091 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4092
4093 [BZ #19853]
4094 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4095 TEST to take significant digits as second parameter.
4096 [TEST]: Redefine in terms of TEST_N taking 30
4097 significant digits.
4098 (do_test): Add test case to demonstrate precision
4099 failure in the ldbl-128ibm printf.
4100 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4101 (__mpn_extract_long_double): Carry 7 extra intermediate
4102 bits of precision to aide computing difference when
4103 signs differ.
4104
4105 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4106
4107 [BZ #19881]
4108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4109 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4110 memset-avx512-unaligned-erms.
4111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4112 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4113 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4114 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4115 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4116 __memset_sse2_unaligned_erms, __memset_erms,
4117 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4118 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4119 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4120 file.
4121 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4122 Likewise.
4123 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4124 Likewise.
4125 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4126 Likewise.
4127
4128 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4129
4130 [BZ #19776]
4131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4132 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4133 memmove-avx512-unaligned-erms.
4134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4135 (__libc_ifunc_impl_list): Test
4136 __memmove_chk_avx512_unaligned_2,
4137 __memmove_chk_avx512_unaligned_erms,
4138 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4139 __memmove_chk_sse2_unaligned_2,
4140 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4141 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4142 __memmove_avx512_unaligned_erms, __memmove_erms,
4143 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4144 __memcpy_chk_avx512_unaligned_2,
4145 __memcpy_chk_avx512_unaligned_erms,
4146 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4147 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4148 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4149 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4150 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4151 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4152 __mempcpy_chk_avx512_unaligned_erms,
4153 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4154 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4155 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4156 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4157 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4158 __mempcpy_erms.
4159 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4160 file.
4161 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4162 Likwise.
4163 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4164 Likwise.
4165 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4166 Likwise.
4167
4168 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4169
4170 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4171 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4172 (La_s390_64_regs): Likewise.
4173 (La_s390_32_retval): Append vector register lrv_v24.
4174 (La_s390_64_retval): Likeweise.
4175 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4176 Handle extended structs La_s390_32_regs and La_s390_32_retval.
4177 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4178 Handle extended structs La_s390_64_regs and La_s390_64_retval.
4179
4180 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4181
4182 [BZ #19916]
4183 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4184 to create a non-vector/vector version for _dl_runtime_resolve and
4185 _dl_runtime_profile. Move implementation to ...
4186 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4187 (_dl_runtime_resolve) Save and restore fpr/vrs.
4188 (_dl_runtime_profile) Save and restore vrs and fix some issues
4189 if _dl_call_pltexit is called.
4190 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4191 Choose the correct resolver function if running on a machine with vx.
4192 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4193 to create a non-vector/vector version for _dl_runtime_resolve and
4194 _dl_runtime_profile. Move implementation to ...
4195 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4196 (_dl_runtime_resolve) Save and restore fpr/vrs.
4197 (_dl_runtime_profile) Save and restore vrs and fix some issues
4198 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4199 Choose the correct resolver function if running on a machine with vx.
4200
4201 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4202
4203 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4204
4205 2016-03-31 Florian Weimer <fweimer@redhat.com>
4206
4207 [BZ #19509]
4208 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4209 skip_map != NULL.
4210 * elf/tst-dlsym-error.c: New file.
4211 * elf/Makefile (tests): Add tst-dlsym-error.
4212 (tst-dlsym-error): Link against libdl.
4213
4214 2016-03-29 Joseph Myers <joseph@codesourcery.com>
4215
4216 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4217 (__ASSUME_FUTIMESAT): Remove macro.
4218 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4219
4220 2016-03-29 Florian Weimer <fweimer@redhat.com>
4221
4222 [BZ #19879]
4223 CVE-2016-3075
4224 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4225 copy name.
4226
4227 2016-03-29 Florian Weimer <fweimer@redhat.com>
4228
4229 [BZ #19837]
4230 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4231 error if parse_line fails.
4232
4233 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4234
4235 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4236 (index_cpu_ERMS): Likewise.
4237 (reg_ERMS): Likewise.
4238
4239 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
4240
4241 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4242 PER_LINUX_FDPIC): Add.
4243
4244 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4245
4246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4247 memcpy-avx512-no-vzeroupper.
4248 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4249 to ...
4250 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4251 (MEMCPY): Don't define.
4252 (MEMCPY_CHK): Likewise.
4253 (MEMPCPY): Likewise.
4254 (MEMPCPY_CHK): Likewise.
4255 (MEMPCPY_CHK): Renamed to ...
4256 (__mempcpy_chk_avx512_no_vzeroupper): This.
4257 (MEMPCPY_CHK): Renamed to ...
4258 (__mempcpy_chk_avx512_no_vzeroupper): This.
4259 (MEMCPY_CHK): Renamed to ...
4260 (__memmove_chk_avx512_no_vzeroupper): This.
4261 (MEMCPY): Renamed to ...
4262 (__memmove_avx512_no_vzeroupper): This.
4263 (__memcpy_avx512_no_vzeroupper): New alias.
4264 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4265
4266 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 [BZ #18858]
4269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4270 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4271 and mempcpy-avx512-no-vzeroupper.
4272 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4273 New.
4274 (MEMPCPY): Likewise.
4275 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4276 (MEMPCPY_CHK): New.
4277 (MEMPCPY): Likewise.
4278 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4279 (MEMPCPY): Likewise.
4280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4281 (MEMPCPY): Likewise.
4282 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4283 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4284 Likewise.
4285 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4286 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4287
4288 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
4289 Amit Pawar <Amit.Pawar@amd.com>
4290
4291 [BZ #19583]
4292 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4293 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4294 processors. Set Fast_Copy_Backward for AMD Excavator
4295 processors.
4296 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4297 New.
4298 (index_arch_Fast_Unaligned_Copy): Likewise.
4299 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4300 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4301
4302 2016-03-25 Florian Weimer <fweimer@redhat.com>
4303
4304 [BZ #19791]
4305 * resolv/res_send.c (close_and_return_error): New function.
4306 (send_dg): Initialize *resplen2 after reopen failure. Call
4307 close_and_return_error for error returns. On error paths without
4308 __res_iclose, initialze *resplen2 explicitly. Update comment for
4309 successful return.
4310
4311 2016-03-25 Florian Weimer <fweimer@redhat.com>
4312
4313 [BZ# 19860]
4314 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4315 zero if the compiler does not provide the AVX512F bit.
4316
4317 2016-03-24 Joseph Myers <joseph@codesourcery.com>
4318
4319 [BZ #19848]
4320 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4321 from 8 to 4.
4322 (__ieee754_powl): Compare integer exponent against 4 not 8.
4323 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4324 from 8 to 4.
4325 (__ieee754_powl): Compare integer exponent against 4 not 8.
4326 * math/auto-libm-test-in: Add more tests of pow.
4327 * math/auto-libm-test-out: Regenerated.
4328 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4330
4331 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4332
4333 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4334 Make code unconditional.
4335 [!__NR_utimensat]: Remove conditional code.
4336 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4337 Make code unconditional.
4338 [!__NR_utimensat]: Remove conditional code.
4339 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4340 Make code unconditional.
4341 [!__NR_utimensat]: Remove conditional code.
4342
4343 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
4344
4345 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
4346 Make code unconditional.
4347
4348 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
4349
4350 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
4351 call-clobbered %eax on retry path.
4352 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4353
4354 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
4357 Don't set %rcx twice before "rep movsb".
4358
4359 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 [BZ #19583]
4362 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
4363 inline. Check family before setting family, model and
4364 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
4365 bits here.
4366 (init_cpu_features): Replace HAS_CPU_FEATURE and
4367 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
4368 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
4369 for Intel processors with usable AVX2. Call get_common_indeces
4370 for other processors with family == NULL.
4371 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
4372 (CPU_FEATURES_ARCH_P): Likewise.
4373 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
4374 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
4375
4376 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4377
4378 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
4379 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
4380 $(shared-thread-library) instead of hardcoding the path to libpthread.
4381
4382 2016-03-22 Joseph Myers <joseph@codesourcery.com>
4383
4384 * sysdeps/unix/sysv/linux/kernel-features.h
4385 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
4386 * sysdeps/unix/sysv/linux/getdents.c
4387 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
4388 [!have_no_getdents64_defined]: Likewise.
4389 (__GETDENTS): Remove __have_no_getdents64 conditional.
4390
4391 2016-03-21 Joseph Myers <joseph@codesourcery.com>
4392
4393 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
4394 Remove macro.
4395 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
4396 <kernel-features.h>.
4397 (signalfd) [__NR_signalfd4]: Make code unconditional.
4398 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
4399
4400 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4401
4402 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
4403 style.
4404
4405 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
4406
4407 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
4408 (__pthread_enable_asynccancel): Use JUMPTARGET to call
4409 __pthread_unwind.
4410 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4411 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
4412 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4413 (__condvar_cleanup1): Likewise.
4414
4415 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
4416
4417 [BZ #19822]
4418 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
4419 move it to the final $@ location.
4420
4421 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4422
4423 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
4424 access where posix_spawn success and pid argument is null.
4425 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
4426 success case.
4427
4428 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
4429
4430 * sysdeps/mach/hurd/i386/c++-types.data: New file.
4431
4432 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
4433
4434 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
4435 and __fcntl.
4436 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
4437 __fcntl only.
4438 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
4439 adding attribute_hidden to __open and __fcntl.
4440
4441 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
4442 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
4443 depend on libc-modules.h,
4444 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
4445
4446 2016-03-17 Joseph Myers <joseph@codesourcery.com>
4447
4448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
4449 Remove macro.
4450 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
4451 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
4452 entry.
4453
4454 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
4455 Remove macro.
4456 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
4457 include <kernel-features.h>.
4458 [!__ASSUME_FALLOCATE]: Remove conditional code.
4459 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
4460
4461 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
4462
4463 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
4464 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
4465 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
4466 (_ZGVdN4v_cos_avx2): Likewise.
4467 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
4468 (_ZGVdN4v_cos): Likewise.
4469 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
4470 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
4471 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
4472 (_ZGVdN4v_exp_avx2): Likewise.
4473 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
4474 (_ZGVdN4v_exp): Likewise.
4475 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
4476 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
4477 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
4478 (_ZGVdN4v_log_avx2): Likewise.
4479 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
4480 (_ZGVdN4v_log): Likewise.
4481 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
4482 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
4483 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
4484 (_ZGVdN4vv_pow_avx2): Likewise.
4485 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
4486 (_ZGVdN4vv_pow): Likewise.
4487 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
4488 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
4489 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
4490 (_ZGVdN4v_sin_avx2): Likewise.
4491 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
4492 (_ZGVdN4v_sin): Likewise.
4493 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
4494 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
4495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
4496 (_ZGVdN4vvv_sincos_avx2): Likewise.
4497 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
4498 (_ZGVdN4vvv_sincos): Likewise.
4499 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
4500 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
4501 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
4502 (_ZGVbN4v_cosf_sse4): Likewise.
4503 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
4504 (_ZGVdN8v_cosf_avx2): Likewise.
4505 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
4506 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
4507 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
4508 (_ZGVbN4v_expf_sse4): Likewise.
4509 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
4510 (_ZGVdN8v_expf_avx2): Likewise.
4511 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
4512 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
4513 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
4514 (_ZGVbN4v_logf_sse4): Likewise.
4515 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
4516 (_ZGVdN8v_logf_avx2): Likewise.
4517 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
4518 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
4519 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
4520 (_ZGVbN4vv_powf_sse4): Likewise.
4521 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
4522 (_ZGVdN8vv_powf_avx2): Likewise.
4523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4524 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
4525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4526 (_ZGVbN4vvv_sincosf_sse4): Likewise.
4527 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4528 (_ZGVdN8vvv_sincosf_avx2): Likewise.
4529 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
4530 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
4531 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
4532 (_ZGVbN4v_sinf_sse4): Likewise.
4533 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
4534 (_ZGVdN8v_sinf_avx2): Likewise.
4535 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4536 Use JUMPTARGET to call callee.
4537 (WRAPPER_IMPL_SSE2_ff): Likewise.
4538 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4539 (WRAPPER_IMPL_AVX): Likewise.
4540 (WRAPPER_IMPL_AVX_ff): Likewise.
4541 (WRAPPER_IMPL_AVX_fFF): Likewise.
4542 (WRAPPER_IMPL_AVX512): Likewise.
4543 (WRAPPER_IMPL_AVX512_ff): Likewise.
4544 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
4545 Likewise.
4546 (WRAPPER_IMPL_SSE2_ff): Likewise.
4547 (WRAPPER_IMPL_SSE2_fFF): Likewise.
4548 (WRAPPER_IMPL_AVX): Likewise.
4549 (WRAPPER_IMPL_AVX_ff): Likewise.
4550 (WRAPPER_IMPL_AVX_fFF): Likewise.
4551 (WRAPPER_IMPL_AVX512): Likewise.
4552 (WRAPPER_IMPL_AVX512_ff): Likewise.
4553 (WRAPPER_IMPL_AVX512_fFF): Likewise.
4554
4555 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4556
4557 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
4558 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
4559 qualifier.
4560 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
4561 internal_function qualifiers.
4562
4563 2016-03-15 Carlos O'Donell <carlos@redhat.com>
4564
4565 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
4566 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
4567 * math/atest-exp.c (exp_mpn): Mark chk unused.
4568 * math/atest-exp2.c (exp_mpn): Likwise.
4569 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
4570 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
4571
4572 2016-03-15 Joseph Myers <joseph@codesourcery.com>
4573
4574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
4575 Remove macro.
4576 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
4577 <kernel-features.h>.
4578 [__NR_ppoll]: Make code unconditional.
4579 [!__ASSUME_PPOLL]: Remove conditional code.
4580
4581 * sysdeps/unix/sysv/linux/kernel-features.h
4582 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
4583 (__ASSUME_ACCEPT4): Likewise.
4584 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4585 Define.
4586 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
4587 Likewise.
4588 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4589 Likewise.
4590 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
4591 Likewise.
4592 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
4593 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
4594 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4595 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4596 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4597 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4599 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4600 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4601 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4602 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4603 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4604 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4605 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4606 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4607 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4608 Likewise.
4609 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4610 Likewise.
4611 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4612 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4613 0x040300].
4614 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4615 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4616 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4617 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4618 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4619 0x030300].
4620 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
4621 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4622 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4623 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4624 0x040300].
4625 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4626 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4627 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4628 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4629 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4630 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4631 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
4632 0x030300].
4633 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4634 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4635 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4636 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4637 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4638 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4639 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4640 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4641 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4642 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
4643 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
4644 0x040300].
4645 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4646 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4647 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4648 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4649 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4650 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4652 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4653 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4654 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4655 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4656 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4657 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4658 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4659 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4660 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4661 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4662 Likewise.
4663 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4664 Likewise.
4665
4666 2016-03-15 Andreas Schwab <schwab@suse.de>
4667
4668 [BZ #19257]
4669 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
4670 statp->_u._ext.nscount as loop count.
4671
4672 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 * math/test-signgam-finite-c99.c: Also #undef
4675 __LIBC_INTERNAL_MATH_INLINES.
4676 * math/test-signgam-main.c: Likewise.
4677
4678 2016-03-14 Joseph Myers <joseph@codesourcery.com>
4679
4680 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
4681 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
4682 (MADV_FREE): Likewise.
4683 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
4684 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
4685 EPOLLEXCLUSIVE.
4686
4687 2016-03-14 Carlos O'Donell <carlos@redhat.com>
4688
4689 * timezone/README: Remove mention of checktab.awk. Mention wiki
4690 SharedSourceFiles.
4691
4692 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
4693
4694 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
4695 WUNTRACED.
4696
4697 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4698
4699 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
4700 order to match the type of p when calling atomic_exchange_acq().
4701
4702 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4703
4704 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
4705 cfi_offset calls.
4706 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
4707 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
4708 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
4709 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
4710 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
4711
4712 2016-03-10 Carlos O'Donell <carlos@redhat.com>
4713
4714 * timezone/checktab.awk: Removed.
4715
4716 2016-03-10 Joseph Myers <joseph@codesourcery.com>
4717
4718 * manual/math.texi (Errors in Math Functions): Document relaxed
4719 accuracy goals for IBM long double.
4720 * math/libm-test.inc (test_exceptions): Always allow spurious
4721 "underflow" and "inexact" exceptions for IBM long double.
4722
4723 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
4724
4725 [BZ #19762]
4726 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4727 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
4728 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
4729 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
4730 (bit_arch_*): This for feature array.
4731 (bit_*): Renamed to ...
4732 (bit_cpu_*): This for cpu array.
4733 (index_*): Renamed to ...
4734 (index_arch_*): This for feature array.
4735 (index_*): Renamed to ...
4736 (index_cpu_*): This for cpu array.
4737 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
4738 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
4739 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
4740 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
4741 bit_##name with index_cpu_##name and bit_cpu_##name.
4742 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
4743 bit_##name with index_arch_##name and bit_arch_##name.
4744
4745 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
4746
4747 [BZ #19792]
4748 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4749 Terminate FDE before return label.
4750
4751 2016-03-09 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #19790]
4754 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
4755 (rintl): Define as macro.
4756 [USE_AS_NEARBYINTL] (__rintl): Likewise.
4757 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
4758 of fesetround. Ensure results are evaluated before end of scope.
4759 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
4760 USE_AS_NEARBYINTL and include s_rintl.c.
4761 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
4762 Disable exception traps in new environment.
4763 (libc_feholdsetround_ppc_ctx): Likewise.
4764
4765 2016-03-08 Roland McGrath <roland@hack.frob.com>
4766
4767 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
4768 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
4769 (tst_audit10_aux) [__AVX512F__]: ... here.
4770
4771 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
4772
4773 * include/sys/auxv.h: New file.
4774
4775 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
4776
4777 [BZ #19759]
4778 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
4779
4780 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4781
4782 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
4783 operand modifier.
4784 (feclearexcept): Likewise.
4785
4786 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4787
4788 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
4789 to reflect the entire 32-bit HWCAP.
4790 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
4791 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
4792
4793 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 [BZ #19783]
4796 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
4797 $(test-via-rtld-prefix).
4798 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
4799
4800 2016-03-08 Florian Weimer <fweimer@redhat.com>
4801
4802 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
4803 union wait. Report any non-zero exit status as error.
4804
4805 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4806
4807 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
4808 configured with --enable-hardcoded-path-in-tests.
4809
4810 2016-03-08 Joseph Myers <joseph@codesourcery.com>
4811
4812 [BZ #19677]
4813 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4814 (__ieee754_remainderl): Put zero low parts in canonical form.
4815 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
4816 file. Based on
4817 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
4818 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
4819 with wrapper round test-fmodrem-ldbl-128ibm.c.
4820 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
4821 file.
4822 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
4823 Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4825 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
4826
4827 2016-03-07 Florian Weimer <fweimer@redhat.com>
4828
4829 [BZ #19610]
4830 * elf/ldconfig.c (opt_link): Update comment.
4831 (options): Update help string for option -X.
4832 (search_dir): Unlink stale symbolic link only if updating symbolic
4833 links.
4834 * elf/tst-ldconfig-X.sh: New file.
4835 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4836 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4837
4838 2016-03-07 Andreas Schwab <schwab@suse.de>
4839
4840 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4841 needed arguments.
4842
4843 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
4844
4845 [BZ #15333]
4846 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4847 to lstat64.
4848
4849 2016-03-07 Florian Weimer <fweimer@redhat.com>
4850
4851 * libio/filedoalloc.c (isatty): Remove.
4852 (local_isatty): Add comment. Call __isatty directly.
4853 (_IO_file_doallocate): Update comment. Assume _LIBC.
4854 * libio/wfiledoalloc.c (isatty): Remove.
4855 (_IO_wfile_doallocate): Update comment.
4856
4857 2016-03-07 Florian Weimer <fweimer@redhat.com>
4858
4859 [BZ #19269]
4860 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4861 tst-audit4-aux.o.
4862 (tst-audit10): Depend on tst-audit10-aux.o.
4863 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4864 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4865 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4866 instead of inline AVX code.
4867 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4868 instead of inline AVX512 code.
4869 * sysdeps/x86_64/tst-audit4-aux.c: New file
4870 * sysdeps/x86_64/tst-audit10-aux.c: New file
4871
4872 [BZ #19648]
4873 * test-skeleton.c (main): Do not set RLIMIT_DATA.
4874
4875 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4876
4877 [BZ #14750]
4878 [BZ #10354]
4879 [BZ #18433]
4880 * include/sched.h (__clone): Add hidden prototype.
4881 (__clone2): Likewise.
4882 * include/unistd.h (__dup): Likewise.
4883 * posix/Makefile (tests): Add tst-spawn2.
4884 * posix/tst-spawn2.c: New file.
4885 * sysdeps/posix/dup.c (__dup): Add hidden definition.
4886 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4887 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4888 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4889 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4890 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4891 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4892 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4893 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4894 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4895 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4899 Likewise.
4900 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4902 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4903 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4904 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4905 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4906 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4907 * sysdeps/unix/sysv/linux/nptl-signals.h
4908 (____nptl_is_internal_signal): New function.
4909 * sysdeps/unix/sysv/linux/spawni.c: New file.
4910
4911 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4912 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4913 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4914 * posix/tst-execvp2.c (do_test): Likewise.
4915 * posix/tst-execvp3.c (do_test): Likewise.
4916 * posix/tst-execvp4.c (do_test): Likewise.
4917 * posix/tst-execvpe1.c: New file.
4918 * posix/tst-execvpe2.c: Likewise.
4919 * posix/tst-execvpe3.c: Likewise.
4920 * posix/tst-execvpe4.c: Likewise.
4921 * posix/tst-execvpe5.c: Likewise.
4922 * posix/tst-execvpe6.c: Likewise.
4923
4924 [BZ #19534]
4925 * posix/execl.c (execl): Remove dynamic memory allocation.
4926 * posix/execle.c (execle): Likewise.
4927 * posix/execlp.c (execlp): Likewise.
4928
4929 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
4930
4931 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4932 Replace .text with .text.avx512.
4933 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4934 Likewise.
4935
4936 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
4937
4938 * sysdeps/generic/libnsl.abilist: New file.
4939 * sysdeps/generic/libutil.abilist: New file.
4940
4941 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
4942
4943 [BZ #19762]
4944 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4945 HAS_ARCH_FEATURE with Fast_Rep_String.
4946 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4947 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4948 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4949 Likewise.
4950 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4951 Likewise.
4952 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4953 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4954 Likewise.
4955 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4956 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4957 Likewise.
4958
4959 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
4960
4961 [BZ #19745]
4962 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4963 with *%rax in call.
4964
4965 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
4966
4967 [BZ #19745]
4968 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4969 with *__libc_start_main@GOTPCREL(%rip) in call.
4970
4971 2016-03-04 Roland McGrath <roland@hack.frob.com>
4972
4973 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4974 inside conditional for nonempty $(CXX).
4975
4976 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4977 nonempty.
4978
4979 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4980 to test for empty $(CXX) rather than $(CXX) of "no".
4981
4982 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
4983
4984 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4985
4986 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
4987 H.J. Lu <hongjiu.lu@intel.com>
4988
4989 [BZ #18880]
4990 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4991 instead of Slow_BSF, and also check for Fast_Copy_Backward to
4992 enable __memcpy_ssse3_back.
4993
4994 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
4995
4996 [BZ #19758]
4997 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4998 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4999
5000 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5001
5002 [BZ #19490]
5003 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5004 (__fentry__): Likewise.
5005
5006 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5007
5008 * gmon/Makefile (noprof): Add $(sysdep_noprof).
5009 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5010
5011 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5012
5013 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5014 __mcount_internal directly.
5015 (C_LABEL(__fentry__)): Likewise.
5016 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5017 directly.
5018
5019 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5020
5021 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5022 (__start_context): Call __setcontext directly.
5023
5024 2016-02-26 Joseph Myers <joseph@codesourcery.com>
5025
5026 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5027 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5028 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5029 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5031 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5032 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5033 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5034 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5035 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5036 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5037 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5038 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5039 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5040 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5041 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5042 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5043 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5044 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5045 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5046 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5047 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5048 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5049 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5050 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5051 Remove conditional code.
5052 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5053 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5054 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5055 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5056 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5057 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5058 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5059 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5060 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5061 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5062 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5063 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5064
5065 2016-02-24 Marko Myllynen <myllynen@redhat.com>
5066
5067 * NEWS (2.23): Fix typo in bug 19048 text.
5068
5069 2016-02-24 Carlos O'Donell <carlos@redhat.com>
5070
5071 [BZ #14259]
5072 * Makeconfig: Rename msgcatdir to localedir.
5073 Rename inst_msgcatdir to inst_localedir.
5074 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5075 * config.make.in: Add localedir.
5076 * elf/Makefile ($(objpfx)sotruss): Use localedir.
5077 (ldd-rewrite): Likewise.
5078 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5079 (install-others): Use inst_localedir.
5080 (CPPFLAGS): Use localedir.
5081 * locale/Makefile (locale-CPPFLAGS): Likewise.
5082 * po/Makefile (mo-installed): Use inst_localedir.
5083
5084 [BZ #19575]
5085 * localedata/charmaps/GB18030: Update comments regarding PAU to
5086 non-PUA mappings.
5087
5088 2016-02-24 Joseph Myers <joseph@codesourcery.com>
5089
5090 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5091 test for header.
5092 * sysdeps/unix/sysv/linux/configure: Regenerated.
5093 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5094 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5095 Remove conditional code.
5096 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5097
5098 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5099 Define to 3.2.0.
5100 (arch_minimum_kernel): Likewise.
5101 * sysdeps/unix/sysv/linux/configure: Regenerated.
5102 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5103 Define to 2.6.32.
5104 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5105 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5106 (arch_minimum_kernel): Define to 2.6.32.
5107 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5108 * README: Document Linux 3.2 requirement.
5109 * manual/install.texi (Linux): Document Linux 3.2 headers
5110 requirement.
5111 * INSTALL: Regenerated.
5112
5113 2016-02-24 Andreas Schwab <schwab@suse.de>
5114
5115 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5116 if !NO_LONG_DOUBLE.
5117
5118 2016-02-22 Roland McGrath <roland@hack.frob.com>
5119
5120 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5121 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5122
5123 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
5124
5125 [BZ #19512]
5126 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5127
5128 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5129
5130 * posix/tst-dir.c: Include libc-internal.h.
5131
5132 2016-02-20 Florian Weimer <fweimer@redhat.com>
5133
5134 [BZ #19056]
5135 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5136 * manual/filesys.texi (Reading/Closing Directory): Mention
5137 deprecaion.
5138 * posix/tst-dir.c (main): Disable deprecation warning in test.
5139
5140 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
5141
5142 [BZ #19679]
5143 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5144 Renamed to ...
5145 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
5146 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5147 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
5148 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5149 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5150 * sysdeps/x86_64/dl-trampoline.h
5151 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5152 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5153
5154 2016-02-19 Mark Wielaard <mjw@redhat.com>
5155
5156 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5157
5158 2016-02-19 Mark Wielaard <mjw@redhat.com>
5159
5160 * elf/elf.h (R_386_GOT32X): New.
5161 (R_386_NUM): Update.
5162 (R_X86_64_GOTPCRELX: New.
5163 (R_X86_64_REX_GOTPCRELX): New.
5164 (R_X86_64_NUM): Update.
5165
5166 2016-02-19 Mike Frysinger <vapier@gentoo.org>
5167
5168 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5169
5170 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
5171
5172 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5173 assign attr->stackaddr to it, and adjust it down when
5174 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
5175 [_STACK_GROWS_UP]: Delete assert.
5176 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5177 Implement stack grows up logic.
5178 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5179 stack grows up logic.
5180
5181 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5182
5183 * NEWS: Update with 2.24 template.
5184
5185 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5186
5187 [BZ #19678]
5188 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5189 Ensure +0.0 is returned when taking the next value below the least
5190 positive value.
5191
5192 2016-02-19 Florian Weimer <fweimer@redhat.com>
5193
5194 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5195 available. Do not define NO_THREADS.
5196 * malloc/malloc.c: Do not check NO_THREADS.
5197 * malloc/arena.c: Likewise.
5198
5199 2016-02-19 Florian Weimer <fweimer@redhat.com>
5200
5201 * malloc/malloc.c (__libc_mallinfo): Update comment.
5202 (struct malloc_par): Remove max_total_mem member, it was always 0.
5203 (int_mallinfo): Store 0 into usmblks (no functional change).
5204 * malloc/hooks.c (struct malloc_state): Document that
5205 max_total_mem is always 0.
5206 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5207 always 0.
5208 * manual/memory.texi (Statistics of Malloc): Likewise.
5209
5210 2016-02-19 Florian Weimer <fweimer@redhat.com>
5211
5212 * malloc/malloc.c (sysmalloc): Do not update arena_max.
5213 * malloc/arena.c (arena_max): Remove.
5214 (heap_trim, _int_new_arena): Do not update arena_max.
5215
5216 2016-02-19 Florian Weimer <fweimer@redhat.com>
5217
5218 * resolv/res_init.c (res_ninit): Update comment.
5219
5220 2016-02-19 Florian Weimer <fweimer@redhat.com>
5221
5222 [BZ #19505]
5223 * posix/spawn_int.h: Add headers and include guard.
5224 (__spawn_valid_fd): New function.
5225 * posix/spawn_faction_addopen.c
5226 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5227 * posix/spawn_faction_addclose.c
5228 (posix_spawn_file_actions_addclose): Likewise.
5229 * posix/spawn_faction_adddup2.c
5230 (posix_spawn_file_actions_adddup2): Likewise. Add check for
5231 second file descriptor.
5232 * posix/spawn_valid_fd.c: New file.
5233 * posix/tst-posix_spawn-fd.c: New file.
5234 * posix/Makefile (routines): Add spawn_valid_fd.
5235 (tests): Add tst-posix_spawn-fd.
5236
5237 2016-02-19 Florian Weimer <fweimer@redhat.com>
5238
5239 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5240 (do_test): Limit the number of arenas, so that we can use fewer
5241 outer threads. Limit timeout to 3 seconds, in preparation for a
5242 larger TIMEOUT value.
5243
5244 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5245
5246 [BZ #19674]
5247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5248 sign in overflowing and underflowing results when overflow or
5249 underflow is detected early. Include sign in result before rather
5250 than after scaling.
5251
5252 [BZ #19603]
5253 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5254 (__ieee754_remainderl): Adjust sign of integer version of low part
5255 when taking absolute value of high part.
5256 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5257 * math/libm-test.inc (remainder_test_data): Add another test.
5258 (remquo_test_data): Likewise.
5259
5260 2016-02-18 Joseph Myers <joseph@codesourcery.com>
5261
5262 [BZ #19602]
5263 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5264 equal high parts and both low parts zero specially.
5265 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5266 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5267 Add test-fmodl-ldbl-128ibm.
5268
5269 [BZ #19595]
5270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5271 common logic for all cases of shifting subnormal results. Do not
5272 insert sign bit in shifted mantissa. Always pass -1023 as biased
5273 exponent to ldbl_insert_mantissa in subnormal case.
5274
5275 [BZ #19594]
5276 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5277 on high and low parts then adjust result and use
5278 ldbl_canonicalize_int if needed.
5279
5280 [BZ #19593]
5281 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5282 on high part and __floor or __ceil on low part then use
5283 ldbl_canonicalize_int if needed.
5284
5285 [BZ #19592]
5286 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5287 high and low parts then use ldbl_canonicalize_int if needed.
5288
5289 [BZ #17899]
5290 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5291 New function.
5292 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5293 on high and low parts then use ldbl_canonicalize_int if needed.
5294
5295 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5296
5297 * configure: Regenerated.
5298
5299 * po/libc.pot: Regenerated.
5300
5301 * po/be.po: Updated translation.
5302 * po/bg.po: Likewise.
5303 * po/ca.po: Likewise.
5304 * po/cs.po: Likewise.
5305 * po/da.po: Likewise.
5306 * po/el.po: Likewise.
5307 * po/eo.po: Likewise.
5308 * po/es.po: Likewise.
5309 * po/fi.po: Likewise.
5310 * po/fr.po: Likewise.
5311 * po/gl.po: Likewise.
5312 * po/hr.po: Likewise.
5313 * po/hu.po: Likewise.
5314 * po/ia.po: Likewise.
5315 * po/id.po: Likewise.
5316 * po/it.po: Likewise.
5317 * po/ja.po: Likewise.
5318 * po/lt.po: Likewise.
5319 * po/nb.po: Likewise.
5320 * po/nl.po: Likewise.
5321 * po/pt_BR.po: Likewise.
5322 * po/rw.po: Likewise.
5323 * po/sk.po: Likewise.
5324 * po/sl.po: Likewise.
5325 * po/sv.po: Likewise.
5326 * po/tr.po: Likewise.
5327 * po/zh_CN.po: Likewise.
5328 * po/zh_TW.po: Likewise.
5329
5330 * version.h (RELEAES): Set to "development".
5331 (VERSION): Set to 2.23.90.
5332
5333 * version.h (RELEASE): Set to "stable".
5334 (VERSION): Set to 2.23.
5335 * include/feature.h (__GLIBC_MINOR__): Set to 23.
5336
5337 * NEWS: Updated fixed bugs.
5338
5339 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
5340 Wilco Dijkstra <wdijkstr@arm.com>
5341
5342 [BZ #19462]
5343 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5344 (_STRING_INLINE_unaligned): This.
5345 * include/string.h: Include <string_private.h>.
5346 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
5347 _STRING_INLINE_unaligned.
5348 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
5349 (_STRING_INLINE_unaligned): New.
5350 * sysdeps/aarch64/string_private.h: New file.
5351 * sysdeps/generic/string_private.h: Likewise.
5352 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
5353 * sysdeps/s390/string_private.h: Likewise.
5354 * sysdeps/x86/string_private.h: Likewise.
5355 * sysdeps/m68k/m680x0/m68020/bits/string.h
5356 (_STRING_ARCH_unaligned): Renamed to ...
5357 (_STRING_INLINE_unaligned): This.
5358 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
5359 to ...
5360 (_STRING_INLINE_unaligned): This.
5361 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
5362 to ...
5363 (_STRING_INLINE_unaligned): This.
5364 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
5365 to ...
5366 (_STRING_INLINE_unaligned): This.
5367
5368 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
5369 H.J. Lu <hongjiu.lu@intel.com>
5370
5371 [BZ #19590]
5372 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
5373 relocation.
5374
5375 2016-02-15 Carlos O'Donell <carlos@redhat.com>
5376
5377 [BZ #18665]
5378 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
5379 *herrno_p.
5380 (gaih_getanswer): Document functional behviour. Return tryagain
5381 if any result is tryagain.
5382 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
5383 when freed.
5384 * resolv/res_send.c: Add copyright text.
5385 (__libc_res_nsend): Document that MAXPACKET is expected.
5386 (send_vc): Document. Remove buffer reuse.
5387 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
5388 size of the buffer. Add Dprint for truncated UDP buffer.
5389
5390 2016-02-14 Carlos O'Donell <carlos@redhat.com>
5391
5392 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
5393 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
5394 * INSTALL: Regenerate.
5395
5396 2016-02-14 Jakub Jelinek <jakub@redhat.com>
5397 Jonathan Wakely <jwakely@redhat.com>
5398 Carlos O'Donell <carlos@redhat.com>
5399
5400 [BZ 19439]
5401 * math/Makefile (tests): Add test-math-isinff.
5402 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
5403 * math/bits/mathcalls.h [__USE_MISC]: Use
5404 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
5405 functions not in C++11 and which don't conflict e.g. isinff,
5406 isinfl etc.
5407 * math/test-math-isinff.cc: New file.
5408
5409 2016-02-12 Florian Weimer <fweimer@redhat.com>
5410
5411 * misc/bug18240.c (do_test): Set RLIMIT_AS.
5412
5413 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5414
5415 [BZ #19529]
5416 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
5417
5418 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5419
5420 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5421
5422 2016-02-01 Joseph Myers <joseph@codesourcery.com>
5423
5424 [BZ #19550]
5425 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
5426 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
5427 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
5428 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
5429 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
5430 New syscall entry.
5431 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
5432 New syscall entry.
5433 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
5434 syscall entry.
5435
5436 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
5437
5438 [BZ #18240]
5439 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
5440 unsigned int wraparound.
5441
5442 2016-01-27 Florian Weimer <fweimer@redhat.com>
5443
5444 [BZ #18240]
5445 * misc/bug18240.c: New test.
5446 * misc/Makefile (tests): Add it.
5447
5448 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
5449 Joseph Myers <joseph@codesourcery.com>
5450
5451 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
5452 load in branch delay slot when less than a word of input left.
5453
5454 2016-01-27 Andreas Schwab <schwab@suse.de>
5455
5456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
5457 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
5458 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
5459 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
5460
5461 2016-01-26 David S. Miller <davem@davemloft.net>
5462
5463 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
5464
5465 2016-01-25 David S. Miller <davem@davemloft.net>
5466
5467 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
5468 __sqrtl_finite.
5469 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
5470 instead using versioned_symbol.
5471 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
5472 of entries.
5473
5474 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
5475 __sqrtl_finite to GLIBC_2.23
5476
5477 2016-01-25 Ricchard Henderson <rth@redhat.com>
5478
5479 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5480
5481 2016-01-25 Andreas Schwab <schwab@suse.de>
5482
5483 [BZ #17514]
5484 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
5485 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
5486 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
5487 * nptl/tst-mutex-errorcheck.c: New file.
5488
5489 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5490
5491 [BZ #18560]
5492 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
5493 (IPCOP_semop): Likewise.
5494 (IPCOP_semget): Likewise.
5495 (IPCOP_semctl): Likewise.
5496 (IPCOP_msgsnd): Likewise.
5497 (IPCOP_msgrcv): Likewise.
5498 (IPCOP_msgget): Likewise.
5499 (IPCOP_msgctl): Likewise.
5500 (IPCOP_shmat): Likewise.
5501 (IPCOP_shmdt): Likewise.
5502 (IPCOP_shmget): Likewise.
5503 (IPCOP_shmctl): Likewise.
5504
5505 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5506
5507 * string/tst-endian.c: Include <libc-internal.h>.
5508 (do_test): Ignore tautological-compare warnings around
5509 "htobeXX (beXXtoh (i)) != i" and
5510 "htoleXX (leXXtoh (i)) != i" if-statements.
5511
5512 2016-01-24 David S. Miller <davem@davemloft.net>
5513
5514 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
5515 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
5516 alias.
5517 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
5518 __sqrtl_finite.
5519
5520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5521
5522 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
5523
5524 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
5525 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
5526 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5527
5528 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5529
5530 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
5531 (thread_func): Use new function to simplify barrier check.
5532 (do_test): Use new function to simplify checking barrier exit
5533 code, and actually join the child thread.
5534
5535 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5536
5537 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
5538 semicolon.
5539 (__libc_tend): Likewise.
5540 (__libc_tabort): Likewise.
5541
5542 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
5543
5544 * sysdeps/nios2/libm-test-ulps: Update.
5545 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
5546 (__gtsf2): Likewise.
5547 (__unorddf2): Likewise.
5548 (__unordsf2): Likewise.
5549 (__ledf2): Likewise.
5550
5551 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
5552
5553 * nis/nis_table.c (__follow_path): Disable diagnostic for
5554 uninitialized variable that is a false positive for gcc 4.7.
5555 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
5556
5557 2016-01-20 Roland McGrath <roland@hack.frob.com>
5558
5559 * sysdeps/nacl/lowlevellock-futex.h
5560 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
5561 Always evaluate PRIVATE argument.
5562
5563 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
5564
5565 [BZ #19490]
5566 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
5567 (pthread_cond_broadcast): Use ENTRY/END
5568 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
5569 (pthread_cond_signal): Likewise.
5570 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
5571 Likewise.
5572 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
5573 Likewise.
5574 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
5575 Likewise.
5576
5577 2016-01-20 Joseph Myers <joseph@codesourcery.com>
5578
5579 * sysdeps/ieee754/dbl-64/s_finite.c
5580 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
5581 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
5582 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
5583 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
5584 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
5585
5586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5587 (__gtsf2): Add as optional for libc.so.
5588 (__unordsf2): Likewise.
5589 (__signbit): Remove for libc.so.
5590 (__signbitl): Likewise.
5591
5592 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5593
5594 * iconvdata/bug-iconv11.c (test_ibm93x):
5595 Use %zu printf format specifier for size_t argument.
5596
5597 2016-01-19 Joseph Myers <joseph@codesourcery.com>
5598
5599 * math/gen-libm-test.pl (parse_ulps): Do not reduce
5600 already-recorded ulps.
5601 * sysdeps/arm/libm-test-ulps: Regenerated.
5602 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5603 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5604 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5605
5606 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
5607 Paul Pluzhnikov <ppluzhnikov@google.com>
5608
5609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
5610 assembler not supporting AVX-512.
5611
5612 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
5613
5614 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5615
5616 2016-01-18 Joseph Myers <joseph@codesourcery.com>
5617
5618 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5619 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5620
5621 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5622
5623 * sysdeps/arm/libm-test-ulps: Regenerated.
5624
5625 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5626
5627 [BZ #19451]
5628 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
5629
5630 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
5631
5632 [BZ #19486]
5633 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
5634 * sysdeps/generic/fix-fp-int-convert-overflow.h
5635 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
5636 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
5637 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
5638 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
5639 Likewise.
5640 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
5641 Avoid conversions to long int where inexact exceptions
5642 could be raised.
5643 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
5644 Likewise.
5645 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
5646 Avoid conversions to long long int where inexact exceptions
5647 could be raised.
5648 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
5649 Likewise.
5650
5651 2016-01-17 Mike Frysinger <vapier@gentoo.org>
5652
5653 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
5654 * configure: Regenerated.
5655
5656 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
5657
5658 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
5659
5660 2016-01-16 Mike Frysinger <vapier@gentoo.org>
5661
5662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
5663 outside of comment.
5664
5665 2016-01-15 Torvald Riegel <triegel@redhat.com>
5666
5667 * nptl/tst-barrier1.c: Add description on first line.
5668 * nptl/tst-barrier2.c: Likewise.
5669 * nptl/tst-barrier3.c: Likewise.
5670 * nptl/tst-barrier4.c: Likewise.
5671 * nptl/tst-barrier5.c: Likewise.
5672
5673 2016-01-15 Torvald Riegel <triegel@redhat.com>
5674
5675 [BZ #18868]
5676 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
5677
5678 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
5679
5680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
5681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5682 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
5683 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
5684 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
5685 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
5686 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5687 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5688 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5689 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5690 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5691
5692 2016-01-15 Torvald Riegel <triegel@redhat.com>
5693
5694 [BZ #13065]
5695 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
5696 new implementation.
5697 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
5698 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
5699 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
5700 (BARRIER_IN_THRESHOLD): New macro.
5701 * nptl/pthread_barrierattr_setpshared.c
5702 (pthread_barrierattr_setpshared): Clean up.
5703 * nptl/tst-barrier4.c: Correct comment.
5704 * nptl/tst-barrier5.c: New file.
5705 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
5706 (gen-as-const-headers): Remove lowlevelbarrier.sym.
5707 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
5708 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
5709 * nptl/lowlevelbarrier.sym: Remove.
5710 * nptl/DESIGN-barrier.txt: Remove.
5711 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
5712 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
5713 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
5714 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
5715 error.
5716 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
5717 implementation.
5718
5719 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5720
5721 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
5722 (do_child): Mask SIGRTMIN while thr is running.
5723
5724 2016-01-15 Martin Sebor <msebor@redhat.com>
5725
5726 [BZ #19432]
5727 * iconvdata/Makefile: Add bug-iconv11.
5728 * iconvdata/bug-iconv11.c: New test.
5729 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
5730 * iconvdata/ibm933.c: Same.
5731 * iconvdata/ibm935.c: Same.
5732 * iconvdata/ibm937.c: Same.
5733 * iconvdata/ibm939.c: Same.
5734
5735 2016-01-15 Martin Sebor <msebor@redhat.com>
5736
5737 [BZ #19443]
5738 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
5739 [DEBUG] (_ufc_set_bits): Declare used.
5740 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
5741 [DEBUG] (print_all): Declare used.
5742 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
5743 operands of the ternary ?: expression to target type.
5744 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
5745 calling the undeclared abort.
5746 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
5747
5748 2016-01-15 Martin Sebor <msebor@redhat.com>
5749
5750 [BZ #18755]
5751 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
5752 warnings.
5753 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
5754 (__gai_create_helper_thread): Same.
5755 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
5756 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
5757 to suppress -Wmaybe-uninitialized warnings.
5758
5759 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 [BZ #19465]
5762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
5763 inside if.
5764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5765 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5766 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5767
5768 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
5769
5770 [BZ #19466]
5771 * time/tst-mktime2.c (time_t_max): Removed.
5772 (time_t_min): Likewise.
5773 (TYPE_SIGNED): New.
5774 (TYPE_MINIMUM): Likewise.
5775 (TYPE_MAXIMUM): Likewise.
5776 (TIME_T_MIN): Likewise.
5777 (TIME_T_MAX): Likewise.
5778 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
5779 and TIME_T_MIN.
5780 (do_test): Likewise.
5781
5782 2016-01-14 Amit Pawar <amit.pawar@amd.com>
5783
5784 [BZ #19467]
5785 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5786 index_Fast_Unaligned_Load flag for Excavator family CPUs.
5787
5788 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
5789
5790 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
5791
5792 2016-01-13 Carlos O'Donell <carlos@redhat.com>
5793
5794 * benchtests/Makefile (PYTHON): Define.
5795 (bench-func): Use $(PYTHON) to run python scripts.
5796 ($(objpfx)bench-%.c): Likewise.
5797
5798 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
5799
5800 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
5801 leading slash when `file_name' is "/".
5802
5803 2016-01-12 Joseph Myers <joseph@codesourcery.com>
5804
5805 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
5806 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
5807 Likewise.
5808 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
5809 Likewise.
5810 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
5811 Likewise.
5812 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
5813 enum constant and macro.
5814 (PTRACE_SETSIGMASK): Likewise.
5815 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5816 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5817 (PTRACE_GETSIGMASK): Likewise.
5818 (PTRACE_SETSIGMASK): Likewise.
5819 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5820 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
5821 Likewise.
5822 (PTRACE_SETSIGMASK): Likewise.
5823 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5825 (PTRACE_GETSIGMASK): Likewise.
5826 (PTRACE_SETSIGMASK): Likewise.
5827 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5829 Likewise.
5830 (PTRACE_SETSIGMASK): Likewise.
5831 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5833 Likewise.
5834 (PTRACE_SETSIGMASK): Likewise.
5835 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5836 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5837 Likewise.
5838 (PTRACE_SETSIGMASK): Likewise.
5839 (PTRACE_SECCOMP_GET_FILTER): Likewise.
5840
5841 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
5842 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5843
5844 [BZ #19439]
5845 * math/bits/mathcalls.h
5846 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5847 prototype.
5848 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5849
5850 2016-01-11 Andreas Schwab <schwab@suse.de>
5851
5852 [BZ #19253]
5853 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5854 cache when TZDEFRULES was used.
5855 * time/tst-tzname.c: New file.
5856 * time/Makefile (test): Add tst-tzname.
5857 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5858 * timezone/Makefile (test-zones): Add $(posixrules-file).
5859 ($(testdata)/$(posixrules-file)): New rule.
5860
5861 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
5862
5863 Fix doc quoting problems with Texinfo 5
5864 Without this change, in the info file output, Texinfo 5 quotes code
5865 in text with undirected single quotes 'like this' and generates
5866 code examples that with many PDF readers cannot be cut out of PDFs
5867 and pasted into code.
5868 * manual/libc.texinfo: Configure the libc manual like the GNU
5869 Emacs manual, by using @documentencoding and setting
5870 txicodequoteundirected and txicodequotebacktick. This way,
5871 Texinfo 5 quotes code in text with directed single quotes ‘like
5872 this’ and produces examples that can be cut out of PDFs. This
5873 change causes Texinfo 5 to generate info files that contain UTF-8
5874 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5875 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5876
5877 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5878
5879 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5880 __libc_tabort, __libc_tend): New wrappers that enforce compiler
5881 barriers to their respective compiler built-ins.
5882 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5883 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5884 * sysdeps/powerpc/sysdep.h: Likewise.
5885 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5886 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5887 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5888
5889 2016-01-08 Marko Myllynen <myllynen@redhat.com>
5890
5891 * scripts/config.guess: Revert previous shebang change.
5892 * scripts/config.sub: Likewise.
5893 * scripts/mkinstalldirs: Likewise.
5894
5895 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5896
5897 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5898 PPC_FEATURE2_HAS_IEEE128.
5899 * sysdeps/powerpc/dl-procinfo.c:
5900 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5901
5902 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
5903
5904 [BZ #19415]
5905 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5906 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
5907 (_dl_lookup_address): Rewrite using function resolver trampoline.
5908 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5909 two bits in address.
5910
5911 2016-01-07 Mike Frysinger <vapier@gentoo.org>
5912
5913 * longlong.h: Change !__SHMEDIA__ to
5914 (!defined (__SHMEDIA__) || !__SHMEDIA__).
5915 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5916
5917 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
5918 Joseph Myers <joseph@codesourcery.com>
5919 Mark Shinwell <shinwell@codesourcery.com>
5920 Andrew Stubbs <ams@codesourcery.com>
5921 Rich Felker <dalias@libc.org>
5922
5923 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5924
5925 2016-01-07 Richard Henderson <rth@redhat.com>
5926
5927 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5928
5929 2016-01-07 Mike Frysinger <vapier@gentoo.org>
5930
5931 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5932 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5933 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5934 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5935 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5936
5937 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
5938 Joseph Myers <joseph@codesourcery.com>
5939
5940 * timezone/private.h: Update from tzcode 2015g.
5941 * timezone/tzfile.h: Likewise.
5942 * timezone/tzselect.ksh: Likewise.
5943 * timezone/zdump.c: Likewise.
5944 * timezone/zic.c: Likewise.
5945 * timezone/ialloc.c: Remove file.
5946 * timezone/scheck.c: Likewise.
5947 * timezone/Makefile (extra-objs): Remove variable.
5948 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5949 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5950 -Wno-maybe-uninitialized.
5951 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5952 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5953 (CFLAGS-ialloc.c): Remove variable.
5954 (CFLAGS-scheck.c): Likewise.
5955 * timezone/README: Update list of files from tzcode.
5956
5957 2016-01-07 Khem Raj <raj.khem@gmail.com>
5958
5959 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5960 instead of __fxprintf when _LIBC is undefined.
5961
5962 2016-01-07 Marko Myllynen <myllynen@redhat.com>
5963
5964 * catgets/test-gencat.sh: Remove space after shebang.
5965 * conform/GlibcConform.pm: Likewise.
5966 * conform/check-header-lists.sh: Likewise.
5967 * conform/conformtest.pl: Likewise.
5968 * conform/linknamespace.pl: Likewise.
5969 * conform/list-header-symbols.pl: Likewise.
5970 * debug/catchsegv.sh: Likewise.
5971 * elf/genrtldtbl.awk: Likewise.
5972 * elf/tst-pathopt.sh: Likewise.
5973 * elf/tst-rtld-load-self.sh: Likewise.
5974 * grp/tst_fgetgrent.sh: Likewise.
5975 * iconvdata/gen-8bit-gap-1.sh: Likewise.
5976 * iconvdata/gen-8bit-gap.sh: Likewise.
5977 * iconvdata/gen-8bit.sh: Likewise.
5978 * iconvdata/run-iconv-test.sh: Likewise.
5979 * intl/tst-gettext.sh: Likewise.
5980 * intl/tst-gettext2.sh: Likewise.
5981 * intl/tst-gettext4.sh: Likewise.
5982 * intl/tst-gettext6.sh: Likewise.
5983 * intl/tst-translit.sh: Likewise.
5984 * io/ftwtest-sh: Likewise.
5985 * libio/test-freopen.sh: Likewise.
5986 * locale/gen-translit.pl: Likewise.
5987 * malloc/tst-mtrace.sh: Likewise.
5988 * manual/check-safety.sh: Likewise.
5989 * manual/libc-texinfo.sh: Likewise.
5990 * manual/tsort.awk: Likewise.
5991 * manual/xtract-typefun.awk: Likewise.
5992 * nptl/tst-cancel-wrappers.sh: Likewise.
5993 * nptl/tst-tls6.sh: Likewise.
5994 * posix/globtest.sh: Likewise.
5995 * posix/tst-getconf.sh: Likewise.
5996 * posix/wordexp-tst.sh: Likewise.
5997 * scripts/check-c++-types.sh: Likewise.
5998 * scripts/check-local-headers.sh: Likewise.
5999 * scripts/config.guess: Likewise.
6000 * scripts/config.sub: Likewise.
6001 * scripts/cpp: Likewise.
6002 * scripts/cross-test-ssh.sh: Likewise.
6003 * scripts/documented.sh: Likewise.
6004 * scripts/evaluate-test.sh: Likewise.
6005 * scripts/gen-libc-abis: Likewise.
6006 * scripts/gen-sorted.awk: Likewise.
6007 * scripts/list-fixed-bugs.py: Likewise.
6008 * scripts/merge-test-results.sh: Likewise.
6009 * scripts/mkinstalldirs: Likewise.
6010 * scripts/rellns-sh: Likewise.
6011 * scripts/test-installation.pl: Likewise.
6012 * scripts/update-copyrights: Likewise.
6013 * stdio-common/tst-printf.sh: Likewise.
6014 * stdio-common/tst-unbputc.sh: Likewise.
6015 * stdlib/tst-fmtmsg.sh: Likewise.
6016 * stdlib/tst-setcontext3.sh: Likewise.
6017 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6018 * sysdeps/unix/make-syscalls.sh: Likewise.
6019
6020 2016-01-06 John David Anglin <dave.anglin@bell.net>
6021
6022 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6023 asm stw with atomic_exchange_rel. Add explanatory comment.
6024 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6025 Likewise.
6026
6027 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6028
6029 [BZ #19122]
6030 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6031 * sysdeps/generic/dl-unistd.h: New file.
6032 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6033
6034 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 [BZ #19122]
6037 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6038 * sysdeps/generic/dl-mman.h: New file.
6039 * sysdeps/mach/hurd/dl-mman.h: Likewise.
6040
6041 2016-01-05 Joseph Myers <joseph@codesourcery.com>
6042
6043 * manual/texinfo.tex: Update to version 2016-01-04.21 with
6044 trailing whitespace removed.
6045 * scripts/config.guess: Update to version 2016-01-01.
6046 * scripts/config.sub: Update to version 2016-01-01.
6047 * scripts/move-if-change: Update from gnulib.
6048
6049 2016-01-04 Anton Blanchard <anton@samba.org>
6050
6051 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6052 for array indices.
6053 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6054
6055 2016-01-04 Joseph Myers <joseph@codesourcery.com>
6056
6057 * NEWS: Update copyright dates.
6058 * catgets/gencat.c (print_version): Likewise.
6059 * csu/version.c (banner): Likewise.
6060 * debug/catchsegv.sh: Likewise.
6061 * debug/pcprofiledump.c (print_version): Likewise.
6062 * debug/xtrace.sh (do_version): Likewise.
6063 * elf/ldconfig.c (print_version): Likewise.
6064 * elf/ldd.bash.in: Likewise.
6065 * elf/pldd.c (print_version): Likewise.
6066 * elf/sotruss.sh: Likewise.
6067 * elf/sprof.c (print_version): Likewise.
6068 * iconv/iconv_prog.c (print_version): Likewise.
6069 * iconv/iconvconfig.c (print_version): Likewise.
6070 * locale/programs/locale.c (print_version): Likewise.
6071 * locale/programs/localedef.c (print_version): Likewise.
6072 * login/programs/pt_chown.c (print_version): Likewise.
6073 * malloc/memusage.sh (do_version): Likewise.
6074 * malloc/memusagestat.c (print_version): Likewise.
6075 * malloc/mtrace.pl: Likewise.
6076 * manual/libc.texinfo: Likewise.
6077 * nptl/version.c (banner): Likewise.
6078 * nscd/nscd.c (print_version): Likewise.
6079 * nss/getent.c (print_version): Likewise.
6080 * nss/makedb.c (print_version): Likewise.
6081 * posix/getconf.c (main): Likewise.
6082 * scripts/test-installation.pl: Likewise.
6083 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6084
6085 * All files with FSF copyright notices: Update copyright dates
6086 using scripts/update-copyrights.
6087 * intl/plural.c: Regenerated.
6088 * locale/programs/charmap-kw.h: Likewise.
6089 * locale/programs/locfile-kw.h: Likewise.
6090
6091 2016-01-02 Helge Deller <deller@gmx.de>
6092
6093 [BZ #19285]
6094 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6095 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6096 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6097 (MADV_xxK_PAGES): Remove.
6098
6099 2016-01-01 Mike Frysinger <vapier@gentoo.org>
6100
6101 [BZ #15421]
6102 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6103 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
6104 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6105 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6106
6107 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
6108
6109 [BZ #19408]
6110 * sysdeps/unix/sysv/linux/personality.c: New file.
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6112 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6113 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6114 (sysdep_routines): Add personality.
6115 (tests): Add tst-personality.
6116 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6118 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6119 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6120 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6121 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6122 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6123 Likewise.
6124 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6125 Likewise.
6126 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6127 Likewise.
6128 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6130 Likewise.
6131
6132 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
6133
6134 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6135 (PATH_ARM_SYSTYPE): Remove.
6136 (PATH_CPUINFO): Likewise.
6137 (IO_BASE_FOOTBRIDGE): Likewise.
6138 (IO_SHIFT_FOOTBRIDGE): Likewise.
6139 (struct platform): Likewise.
6140 (init_iosys): Remove compatibility code for 2.4 kernels.
6141 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6142
6143 2015-12-29 Florian Weimer <fweimer@redhat.com>
6144
6145 * malloc/tst-malloc-thread-fail.c: New file.
6146 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6147 (tst-malloc-thread-fail): Link against libpthread.
6148
6149 2015-12-29 Mike Frysinger <vapier@gentoo.org>
6150
6151 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
6152 (get_parser): New function.
6153 (main): New function.
6154
6155 2015-12-29 Rob Wu <rob@robwu.nl>
6156
6157 [BZ #19369]
6158 * resolv/res_init.c (__res_vinit): Reset defdname before use.
6159
6160 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
6161
6162 [BZ #19270]
6163 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6164
6165 2015-12-28 Mike Frysinger <vapier@gentoo.org>
6166
6167 [BZ #15421]
6168 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6169
6170 2015-12-23 Torvald Riegel <triegel@redhat.com>
6171
6172 [BZ #13690]
6173 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6174 after releasing it.
6175 (__lll_robust_unlock): Likewise.
6176 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6177 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6178 (lll_robust_unlock): Likewise.
6179 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6180 Prevent warnings in callers.
6181
6182 2015-12-23 Florian Weimer <fweimer@redhat.com>
6183
6184 * malloc/arena.c (list_lock): Update comment.
6185
6186 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6187
6188 * sysdeps/powerpc/hwcapinfo.c: Export symbol
6189 __parse_hwcap_and_convert_at_platform to libc.a.
6190
6191 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6192
6193 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6194 platform and feature support for POWER9.
6195 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6196 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6197 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6198 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6199 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6200 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6201 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6202 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6203
6204 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6205
6206 Harmonize generic stdio-lock support with nptl
6207
6208 This fixes build when _IO_funlockfile is a macro, fixes build where
6209 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6210 stack unwind.
6211
6212 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6213 _IO_release_lock ): Use cleanup attribute on new
6214 _IO_acquire_lock_file variable instead of assuming that
6215 _IO_release_lock will be called.
6216 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6217 _IO_acquire_lock_needs_exceptions_enabled.
6218 (_IO_acquire_lock_clear_flags2): New macro.
6219
6220 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6221
6222 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6223
6224 2015-12-21 Florian Weimer <fweimer@redhat.com>
6225
6226 [BZ #19182]
6227 * malloc/arena.c (list_lock): Document lock ordering requirements.
6228 (free_list_lock): New lock.
6229 (ptmalloc_lock_all): Comment on free_list_lock.
6230 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6231 (detach_arena): Update comment. free_list_lock is now needed.
6232 (_int_new_arena): Use free_list_lock around detach_arena call.
6233 Acquire arena lock after list_lock. Add comment, including FIXME
6234 about incorrect synchronization.
6235 (get_free_list): Switch to free_list_lock.
6236 (reused_arena): Acquire free_list_lock around detach_arena call
6237 and attached threads counter update. Add two FIXMEs about
6238 incorrect synchronization.
6239 (arena_thread_freeres): Switch to free_list_lock.
6240 * malloc/malloc.c (struct malloc_state): Update comments to
6241 mention free_list_lock.
6242
6243 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
6244
6245 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6246 Remove functions.
6247 (sloww, sloww1): Accept argument to offset quadrant.
6248 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6249 quadrant.
6250 (__sin, __cos): Consolidate common code into new functions.
6251 (reduce_sincos_1, do_sincos_1): New functions.
6252 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6253
6254 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6255 code to new functions.
6256 (reduce_sincos_2, do_sincos_2): New functions.
6257 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6258
6259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6260 common code for sincos.
6261 (__cos) [!IN_SINCOS]: Likewise.
6262 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6263 New function.
6264 (__sincos): Use it.
6265
6266 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
6267
6268 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6269 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6270 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6271
6272 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
6273
6274 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6277 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6278 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6279 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6280 index_Prefer_No_VZEROUPPER): New feature.
6281 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6282 Prefer_No_VZEROUPPER for Knights Landing.
6283
6284 015-12-18 Torvald Riegel <triegel@redhat.com>
6285
6286 * math/atest-exp2.c (mp_exp_m1): Remove.
6287
6288 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6289
6290 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6291 syscalls.
6292 (__SYSCALL0): New macro.
6293 (__SYSCALL1): Likewise.
6294 (__SYSCALL2): Likewise.
6295 (__SYSCALL3): Likewise.
6296 (__SYSCALL4): Likewise.
6297 (__SYSCALL5): Likewise.
6298 (__SYSCALL6): Likewise.
6299 (__SYSCALL_CONCAT_X): Likewise.
6300 (__SYSCALL_CONCAT): Likewise.
6301 (__SYSCALL_DIST): Likewise.
6302 (__SYSCALL_CALL): Likewise.
6303
6304 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 [BZ #19363]
6307 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6308
6309 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6310
6311 [BZ #19375]
6312 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6313 negative subnormals.
6314
6315 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
6316
6317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6318 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6319 (INTERNAL_SYSCALL_NCS): Use it.
6320 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6321
6322 2015-12-16 Florian Weimer <fweimer@redhat.com>
6323
6324 [BZ #19243]
6325 * malloc/arena.c (get_free_list): Remove assert and adjust
6326 reference count handling. Add comment about reused_arena
6327 interaction.
6328 (reused_arena): Add comments abount get_free_list interaction.
6329 * malloc/tst-malloc-thread-exit.c: New file.
6330 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6331 (tst-malloc-thread-exit): Link against libpthread.
6332
6333 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6334
6335 [BZ #19367]
6336 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6337 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6338 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6339 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6340 (index_Prefer_MAP_32BIT_EXEC): Likewise.
6341
6342 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6345 Silvermont optimizations for Knights Landing.
6346
6347 2015-12-15 Andreas Schwab <schwab@suse.de>
6348
6349 [BZ #17197]
6350 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
6351 immediately after emitting SI.
6352 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
6353 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
6354 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
6355 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
6356 * iconvdata/bug-iconv10.c: New file.
6357 * iconvdata/Makefile (tests): Add bug-iconv10.
6358 ($(objpfx)bug-iconv10.out): New rule.
6359
6360 2015-12-15 Florian Weimer <fweimer@redhat.com>
6361
6362 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
6363 aliasing violation.
6364
6365 2015-12-14 Joseph Myers <joseph@codesourcery.com>
6366
6367 [BZ #18472]
6368 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
6369 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
6370 conditionals for them.
6371 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
6372 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
6373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
6374 sys/kdaemon.h.
6375 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
6376 compat-only syscall, obsoleted in glibc 2.23.
6377 (create_module): Likewise.
6378 (get_kernel_syms): Likewise.
6379 (query_module): Likewise.
6380 (uselib): Likewise.
6381 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
6382
6383 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
6384
6385 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
6386 <linux/version.h>.
6387 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
6388 conditional code.
6389 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
6390 and ioshift_name initialization.
6391
6392 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6393
6394 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6395 Fix indentation.
6396
6397 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6398
6399 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
6400
6401 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
6402
6403 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
6404
6405 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
6406 Jakub Wilk <jwilk@debian.org>
6407
6408 [BZ #19347]
6409 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
6410 to change the group of the device to the tty group.
6411
6412 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
6413
6414 Split large string section; add truncation advice
6415 * manual/examples/strncat.c: Remove.
6416 This example was misleading, as the code would have undefined
6417 behavior if "hello" was longer than SIZE. Anyway, the manual
6418 shouldn't encourage strncpy+strncat for this sort of thing.
6419 * manual/string.texi (Copying Strings and Arrays): Split into
6420 three sections Copying Strings and Arrays, Concatenating Strings,
6421 and Truncating Strings, as this section was way too long. All
6422 cross-referenced changed. Add advice about string-truncation
6423 functions. Remove misleading strncat example.
6424
6425 2015-12-10 Carlos O'Donell <carlos@redhat.com>
6426
6427 * manual/nss.texi (NSS Modules Interface): Document
6428 NSS_STATUS_NOTFOUND and SUCCESS.
6429
6430 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6431
6432 [BZ 18568]
6433 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6434 201505L, for Unicode 8.
6435
6436 2015-12-09 Carlos O'Donell <carlos@redhat.com>
6437
6438 * locale/C-translit.h: Regenerate.
6439
6440 2015-12-09 Mike FABIAN <mfabian@redhat.com>
6441
6442 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
6443 and U+0153.
6444
6445 2015-12-09 Joseph Myers <joseph@codesourcery.com>
6446
6447 [BZ #19351]
6448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
6449 expanding log(1+z), compare z rather than its square with epsilon
6450 to determine when to avoid evaluating the expansion.
6451
6452 [BZ #19350]
6453 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6454 Increase overflow threshold.
6455
6456 [BZ #19349]
6457 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
6458 when small.
6459
6460 * sysdeps/unix/sysv/linux/i386/kernel-features.h
6461 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6462 New macro.
6463 [__LINUX_KERNEL_VERSION >= 0x040300]
6464 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6465 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6466 Likewise.
6467 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6468 Likewise.
6469 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6470 Likewise.
6471 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6472 Likewise.
6473 [__LINUX_KERNEL_VERSION >= 0x040300]
6474 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6475 [__LINUX_KERNEL_VERSION >= 0x040300]
6476 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6477 [__LINUX_KERNEL_VERSION >= 0x040300]
6478 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6479 [__LINUX_KERNEL_VERSION >= 0x040300]
6480 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6481 [__LINUX_KERNEL_VERSION >= 0x040300]
6482 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6483 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6484 Likewise.
6485 [__LINUX_KERNEL_VERSION >= 0x040300]
6486 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6487 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6488 Likewise.
6489 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6490 Likewise.
6491 [__LINUX_KERNEL_VERSION >= 0x040300]
6492 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6493 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6494 Likewise.
6495 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6496 Likewise.
6497 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6498 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
6499 Likewise.
6500 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
6501 Likewise.
6502 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
6503 Likewise.
6504 [__LINUX_KERNEL_VERSION >= 0x040300]
6505 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6506 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
6507 Likewise.
6508 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
6509 Likewise.
6510 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
6511 Likewise.
6512 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
6513 Likewise.
6514 [__LINUX_KERNEL_VERSION >= 0x040300]
6515 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
6516 [__LINUX_KERNEL_VERSION >= 0x040300]
6517 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6518 [__LINUX_KERNEL_VERSION >= 0x040300]
6519 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6520 [__LINUX_KERNEL_VERSION >= 0x040300]
6521 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6522 [__LINUX_KERNEL_VERSION >= 0x040300]
6523 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6524 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
6525 Likewise.
6526 [__LINUX_KERNEL_VERSION >= 0x040300]
6527 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6528 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6529 Likewise.
6530 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
6531 Likewise.
6532 [__LINUX_KERNEL_VERSION >= 0x040300]
6533 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
6534 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6535 Likewise.
6536 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
6537 Likewise.
6538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6539 (__ASSUME_SOCKET_SYSCALL): Likewise.
6540 (__ASSUME_BIND_SYSCALL): Likewise.
6541 (__ASSUME_CONNECT_SYSCALL): Likewise.
6542 (__ASSUME_LISTEN_SYSCALL): Likewise.
6543 (__ASSUME_ACCEPT_SYSCALL): Likewise.
6544 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6545 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6546 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6547 (__ASSUME_SEND_SYSCALL): Likewise.
6548 (__ASSUME_SENDTO_SYSCALL): Likewise.
6549 (__ASSUME_RECV_SYSCALL): Likewise.
6550 (__ASSUME_RECVFROM_SYSCALL): Likewise.
6551 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
6552 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6553 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6554 (__ASSUME_SENDMSG_SYSCALL): Likewise.
6555 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6556 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6557 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
6558 Likewise.
6559 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
6560 Likewise.
6561 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
6562 Likewise.
6563 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
6564 Likewise.
6565 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
6566 Likewise.
6567 [__LINUX_KERNEL_VERSION >= 0x020625]
6568 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
6569 [__LINUX_KERNEL_VERSION >= 0x020625]
6570 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
6571 [__LINUX_KERNEL_VERSION >= 0x020625]
6572 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
6573 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
6574 Likewise.
6575 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
6576 Likewise.
6577 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
6578 Likewise.
6579 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
6580 Likewise.
6581 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
6582 Likewise.
6583 [__LINUX_KERNEL_VERSION >= 0x020625]
6584 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
6585 [__LINUX_KERNEL_VERSION >= 0x020625]
6586 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
6587 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
6588 Likewise.
6589 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
6590 Likewise.
6591
6592 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
6593
6594 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
6595 record the current if the current ABI and CPU support the FP64
6596 extension.
6597 (has-modd-spreg): Define to record the current if the current ABI and
6598 CPU support 32-bit floating point values in odd FPU registers.
6599 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6600 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
6601 $(has-modd-spreg) equals yes.
6602 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
6603 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
6604 $(has-modd-spreg) equal yes.
6605
6606 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
6607
6608 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
6609 basename.
6610
6611 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
6612
6613 * benchtests/Makefile (bench-math): Move ffs and ffsll...
6614 (bench-string): ... here.
6615 (bench): Add bench-string.
6616 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
6617 to *-benchset to reflect what they are.
6618 (benchset): Adjust.
6619
6620 * benchtests/sincos-inputs: Add inputs from sin-inputs and
6621 cos-inputs.
6622
6623 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
6624
6625 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
6626 __attribute__ ((__simd__)) for vector math function declarations.
6627
6628 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
6629
6630 Fix typo in strncat, wcsncat manual entries
6631 * manual/string.texi (Copying and Concatenation): Fix typos in
6632 sample implementations of strncat and wcsncat, by having them use
6633 the old value of the destination length, not the new one.
6634
6635 2015-12-04 Joseph Myers <joseph@codesourcery.com>
6636
6637 [BZ #16961]
6638 [BZ #16962]
6639 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
6640 string on the stack for strtod.
6641 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
6642 a string on the stack for strtof.
6643 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
6644 constructing a string on the stack for strtold.
6645 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
6646 __strtold_nan to GLIBC_PRIVATE.
6647 * math/test-nan-overflow.c: New file.
6648 * math/test-nan-payload.c: Likewise.
6649 * math/Makefile (tests): Add test-nan-overflow and
6650 test-nan-payload.
6651
6652 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
6653
6654 Consistency about byte vs character in string.texi
6655 * manual/string.texi (String and Array Utilities):
6656 Distinguish more carefully among bytes, multibyte characters,
6657 and wide characters. Use "byte" when talking about C 'char',
6658 to distinguish it more clearly from multibyte characters.
6659 Say "wide character" or "multibyte character" instead of
6660 "character", when a wide or multibyte character is intended.
6661 Similarly for "multibyte string" versus "string".
6662 Define these terms more carefully.
6663
6664 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
6665
6666 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
6667 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
6668 Likewise.
6669 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6670 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
6671 * sysdeps/sh/math_private.h: New file.
6672 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
6673 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
6674 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
6675 long double function name.
6676 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
6682 Remove __finitel, __isinfl, and __isnanl.
6683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6684 Likewise.
6685 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6687 Remove __finitel.
6688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6691
6692 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
6693
6694 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
6695 installed libmvec_nonshared.a.
6696
6697 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6698
6699 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
6700 (sysdep_routines): Likewise.
6701 (sysdep-rtld-routines): Likewise.
6702 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
6703 [$(subdir) = nptl](tests-static): test-get_hwcap-static
6704 * sysdeps/powerpc/Versions: Added new
6705 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
6706 * sysdeps/powerpc/hwcapinfo.c: New file.
6707 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
6708 and parse hwcap, hwcap2 and platform number information.
6709 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
6710 to store HWCAP+HWCAP2 and platform number.
6711 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
6712 for HWCAP+HWCAP2 and platform number in the TCB.
6713 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
6714 the HWCAP, HWCAP2 and platform number in the TCB.
6715 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
6716 (TLS_INIT_TP): Included calls to add the hwcap and
6717 at_platform values in the TCB in TP initialization.
6718 (TLS_DEFINE_INIT_TP): Likewise.
6719 (THREAD_GET_HWCAP): New macro.
6720 (THREAD_SET_HWCAP): Likewise.
6721 (THREAD_GET_AT_PLATFORM): Likewise.
6722 (THREAD_SET_AT_PLATFORM): Likewise.
6723 * sysdeps/powerpc/powerpc32/dl-machine.h:
6724 (dl_platform_init): New function that calls
6725 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
6726 powerpc32.
6727 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
6728 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
6729 this functionality, static linking case.
6730 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
6731 linking case.
6732 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
6733 __parse_hwcap_and_convert_at_platform for the static linking case.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
6735 Included the new __parse_hwcap_and_convert_at_platform symbol in the
6736 ABI list for GLIBC 2.23.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
6738 Likewise.
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
6740 Likewise.
6741
6742 2015-12-02 Ludovic Courtès <ludo@gnu.org>
6743
6744 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
6745 * configure: Regenerate.
6746 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
6747 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
6748
6749 2015-12-02 Carlos O'Donell <carlos@redhat.com>
6750
6751 * iconvdata/ibm930.c: Add comment explaining encoding uses.
6752 * iconvdata/ibm933.c: Likewise.
6753 * iconvdata/ibm935.c: Likewise.
6754 * iconvdata/ibm937.c: Likewise.
6755 * iconvdata/ibm939.c: Likewise.
6756
6757 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6758
6759 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
6760 pthread_join.
6761 * nptl/tst-cancel21.c (tf): Likewise.
6762
6763 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
6764
6765 [BZ #19313]
6766 * bits/typesizes.h (__CPU_MASK_TYPE): New.
6767 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6768 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
6769 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
6770 Likewise.
6771 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
6772 Likewise.
6773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
6774 Likewise.
6775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
6776 Likewise.
6777 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
6778 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
6779 unsigned long int with __CPU_MASK_TYPE.
6780
6781 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6782
6783 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6784
6785 2015-12-01 Joseph Myers <joseph@codesourcery.com>
6786
6787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
6788 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
6789 t512.x.
6790 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
6791
6792 2015-11-30 Amit Pawar <amit.pawar@amd.com>
6793
6794 [BZ #19214]
6795 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
6796 argument to return extended model. Update family and model
6797 with extended family and model when family == 0x0f.
6798 (init_cpu_features): Updated.
6799
6800 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6801
6802 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
6803 signed off_t, so 32bit bigger than 2GiB values are fine actually.
6804
6805 * sysdeps/mach/hurd/mmap64.c: New file.
6806
6807 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
6808
6809 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
6810 rights for its main user thread in NEWTASK.
6811
6812 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
6813
6814 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
6815 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
6816
6817 2015-11-27 Carlos O'Donell <carlos@redhat.com>
6818
6819 [BZ #14259]
6820 * Makeconfig: Rename localedir to complocaledir.
6821 Rename inst_localedir to inst_complocaledir.
6822 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
6823 * config.make.in: Use complocaledir and libc_cv_complocaledir.
6824 * configure.ac: Use libc_cv_complocaledir.
6825 * configure: Regenerate.
6826 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
6827 -DCOMPLOCALEDIR.
6828 * locale/findlocale.c: Use COMPLOCALEDIR.
6829 * locale/loadarchive.c: Likewise.
6830 * locale/programs/locale.c: Likewise.
6831 * locale/programs/localedef.c: Likewise.
6832 * locale/programs/locarchive.c: Likewise.
6833 * localedata/Makefile: Use inst_complocaledir.
6834 * sysdeps/gnu/configure: Regenerate.
6835 * sysdeps/hppa/configure: Regenerate.
6836 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6837 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6839 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6840 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6841 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6842 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6843
6844 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
6845
6846 [BZ #19058]
6847 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6848 AS_NEEDED.
6849 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6850 workaround.
6851 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6852 libmvec-static-only-routines): Added new file.
6853 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6854
6855 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
6856
6857 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6858 of interrupted RPC instead of restoring it.
6859
6860 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6861 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6862 libc_hidden_def.
6863 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6864 into initialized data instead of common. Define rtld_hidden_data_def.
6865 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6866 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6867 libc_hidden_def.
6868 (if_freenameindex): Add libc_hidden_weak.
6869 (if_nameindex): Add libc_hidden_weak.
6870 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6871 __open64.
6872 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6873 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6874 * sysdeps/mach/nanosleep.c: Include <time.h>
6875 (__nanosleep): Rename to __libc_nanosleep.
6876 (__nanosleep): Add weak_alias.
6877 (nanosleep): Update alias.
6878
6879 2015-11-24 Joseph Myers <joseph@codesourcery.com>
6880
6881 * stdlib/strtod_nan.c: New file.
6882 * stdlib/strtod_nan_double.h: Likewise.
6883 * stdlib/strtod_nan_float.h: Likewise.
6884 * stdlib/strtod_nan_main.c: Likewise.
6885 * stdlib/strtod_nan_narrow.h: Likewise.
6886 * stdlib/strtod_nan_wide.h: Likewise.
6887 * stdlib/strtof_nan.c: Likewise.
6888 * stdlib/strtold_nan.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6890 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6891 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6892 * wcsmbs/wcstod_nan.c: Likewise.
6893 * wcsmbs/wcstof_nan.c: Likewise.
6894 * wcsmbs/wcstold_nan.c: Likewise.
6895 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6896 strtold_nan.
6897 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6898 wcstof_nan.
6899 * include/stdlib.h (__strtof_nan): Declare and use
6900 libc_hidden_proto.
6901 (__strtod_nan): Likewise.
6902 (__strtold_nan): Likewise.
6903 (__wcstof_nan): Likewise.
6904 (__wcstod_nan): Likewise.
6905 (__wcstold_nan): Likewise.
6906 * include/wchar.h (____wcstoull_l_internal): Declare.
6907 * stdlib/strtod_l.c: Do not include <ieee754.h>.
6908 (____strtoull_l_internal): Remove declaration.
6909 (STRTOF_NAN): Define macro.
6910 (SET_MANTISSA): Remove macro.
6911 (STRTOULL): Likewise.
6912 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6913 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6914 (STRTOF_NAN): Define macro.
6915 (SET_MANTISSA): Remove macro.
6916 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6917 (SET_MANTISSA): Remove macro.
6918 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6919 macro.
6920 (SET_MANTISSA): Remove macro.
6921 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6922 macro.
6923 (SET_MANTISSA): Remove macro.
6924 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6925 (SET_MANTISSA): Remove macro.
6926 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6927 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6928 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6929
6930 [BZ #19266]
6931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6932 upper case and lower case letters inside NAN(), not using TOLOWER.
6933 * stdlib/tst-strtod-nan-locale-main.c: New file.
6934 * stdlib/tst-strtod-nan-locale.c: Likewise.
6935 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6936 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6937 Depend on $(gen-locales).
6938 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6939 * wcsmbs/tst-wcstod-nan-locale.c: New file.
6940 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6941 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6942 Depend on $(gen-locales).
6943 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6944
6945 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
6946
6947 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6948
6949 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6951 __finitel, __isinfl, and __isnanl.
6952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6953 Likewise.
6954 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6956 __finitel.
6957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6958 Likewise.
6959 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6960
6961 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6962
6963 * malloc/memusage.c (me): Remove redundant getenv call.
6964
6965 2015-10-24 Florian Weimer <fweimer@redhat.com>
6966
6967 [BZ #19143]
6968 [BZ #19164]
6969 * nptl/check-cpuset.h: Remove.
6970 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6971 Remove CPU set size check.
6972 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6973 Likewise.
6974 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6975 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6976 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6977 (__pthread_setaffinity_new): Remove CPU set size check.
6978 * sysdeps/unix/sysv/linux/sched_setaffinity.c
6979 (__kernel_cpumask_size): Remove.
6980 (__sched_setaffinity_new): Remove CPU set size check.
6981 * manual/threads.texi (Default Thread Attributes): Remove stale
6982 reference to check_cpuset_attr, determine_cpumask_size in comment.
6983 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6984 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
6985 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6986 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6987 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6988 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6989 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6990 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6991 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6992 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6993 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6994 skeleton test file.
6995 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
6996 tst-affinity-pid.
6997
6998 2015-11-24 Florian Weimer <fweimer@redhat.com>
6999
7000 * scripts/update-abilist.sh: New file.
7001 * Makefile (+subdir_targets): Add subdir_update-all-abi.
7002 * Makerules (update-all-abi-%, update-all-abi)
7003 (subdir_update-all-abi): New targets.
7004 * elf/Makefile (update-all-abi): New target.
7005
7006 2015-11-24 Florian Weimer <fweimer@redhat.com>
7007
7008 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7009 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7010 (__libc_lock_define_initialized): Use it.
7011 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7012 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7013 * malloc/malloc.c (main_arena): Likewise.
7014 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7015 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7016
7017 2015-11-23 Joseph Myers <joseph@codesourcery.com>
7018
7019 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7020 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7021 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7022 (PTRACE_O_MASK): Update value.
7023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7024 New value in enum __ptrace_setoptions.
7025 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7026 (PTRACE_O_MASK): Update value.
7027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7028 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7029 (PTRACE_O_MASK): Update value.
7030 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7031 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7032 (PTRACE_O_MASK): Update value.
7033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7034 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7035 (PTRACE_O_MASK): Update value.
7036 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7037 New value in enum __ptrace_setoptions.
7038 (PTRACE_O_MASK): Update value.
7039 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7040 New value in enum __ptrace_setoptions.
7041 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7042 (PTRACE_O_MASK): Update value.
7043
7044 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7045 New macro.
7046 (PACKET_AUXDATA): Likewise.
7047 (PACKET_ORIGDEV): Likewise.
7048 (PACKET_VERSION): Likewise.
7049 (PACKET_HDRLEN): Likewise.
7050 (PACKET_RESERVE): Likewise.
7051 (PACKET_TX_RING): Likewise.
7052 (PACKET_LOSS): Likewise.
7053 (PACKET_VNET_HDR): Likewise.
7054 (PACKET_TX_TIMESTAMP): Likewise.
7055 (PACKET_TIMESTAMP): Likewise.
7056 (PACKET_FANOUT): Likewise.
7057 (PACKET_TX_HAS_OFF): Likewise.
7058 (PACKET_QDISC_BYPASS): Likewise.
7059 (PACKET_ROLLOVER_STATS): Likewise.
7060 (PACKET_FANOUT_DATA): Likewise.
7061 (PACKET_MR_UNICAST): Likewise.
7062
7063 [BZ #19242]
7064 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7065 (TOUPPER): Likewise.
7066 * stdlib/tst-strtol-locale-main.c: New file.
7067 * stdlib/tst-strtol-locale.c: Likewise.
7068 * stdlib/Makefile (tests): Add tst-strtol-locale.
7069 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7070 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7071 Depend on $(gen-locales).
7072 * wcsmbs/tst-wcstol-locale.c: New file.
7073 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7074 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7075 tr_TR.ISO-8859-9.
7076 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7077 Depend on $(gen-locales).
7078
7079 2015-11-20 Roland McGrath <roland@hack.frob.com>
7080
7081 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7082 __glibc_likely instead of __builtin_expect. After falling back to
7083 dyncode_create in a non-ET_DYN case, use the allocate_code_data
7084 system interface to register the code pages as occupied.
7085
7086 2015-11-20 Joseph Myers <joseph@codesourcery.com>
7087
7088 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7089 [!ARM_MATH_PRIVATE_H].
7090 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7091 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7092 [!HPPA_MATH_PRIVATE_H].
7093 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7094 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7095 to [!I386_MATH_PRIVATE_H].
7096 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7097 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7098 Change guard to [!M68K_MATH_PRIVATE_H].
7099 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7100 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7101 guard to [!MICROBLAZE_MATH_PRIVATE_H].
7102 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7103 macro.
7104 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7105 [!MIPS_MATH_PRIVATE_H].
7106 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7107 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7108 [!NIO2_MATH_PRIVATE_H].
7109 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7110 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7111 [!TILE_MATH_PRIVATE_H].
7112 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7113
7114 [BZ #15421]
7115 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7116 initialize with 0 and define as weak alias of __signgam.
7117 * include/math.h [!_ISOMAC] (__signgam): Declare.
7118 * math/Makefile (libm-calls): Add w_lgamma_compat.
7119 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7120 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7121 test-signgam-ullong-init.
7122 (tests-static): Add test-signgam-uchar-static,
7123 test-signgam-uchar-init-static, test-signgam-uint-static,
7124 test-signgam-uint-init-static, test-signgam-ullong-static and
7125 test-signgam-ullong-init-static.
7126 (CFLAGS-test-signgam-uchar.c): New variable.
7127 (CFLAGS-test-signgam-uchar-init.c): Likewise.
7128 (CFLAGS-test-signgam-uchar-static.c): Likewise.
7129 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7130 (CFLAGS-test-signgam-uint.c): Likewise.
7131 (CFLAGS-test-signgam-uint-init.c): Likewise.
7132 (CFLAGS-test-signgam-uint-static.c): Likewise.
7133 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7134 (CFLAGS-test-signgam-ullong.c): Likewise.
7135 (CFLAGS-test-signgam-ullong-init.c): Likewise.
7136 (CFLAGS-test-signgam-ullong-static.c): Likewise.
7137 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7138 * math/Versions (libm): Add GLIBC_2.23.
7139 * math/lgamma-compat.h: New file.
7140 * math/test-signgam-main.c: Likewise.
7141 * math/test-signgam-uchar-init-static.c: Likewise.
7142 * math/test-signgam-uchar-init.c: Likewise.
7143 * math/test-signgam-uchar-static.c: Likewise.
7144 * math/test-signgam-uchar.c: Likewise.
7145 * math/test-signgam-uint-init-static.c: Likewise.
7146 * math/test-signgam-uint-init.c: Likewise.
7147 * math/test-signgam-uint-static.c: Likewise.
7148 * math/test-signgam-uint.c: Likewise.
7149 * math/test-signgam-ullong-init-static.c: Likewise.
7150 * math/test-signgam-ullong-init.c: Likewise.
7151 * math/test-signgam-ullong-static.c: Likewise.
7152 * math/test-signgam-ullong.c: Likewise.
7153 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7154 wrapper of w_lgamma_main.c.
7155 * math/w_lgamma_compat.c: New file.
7156 * math/w_lgamma_compatf.c: Likewise.
7157 * math/w_lgamma_compatl.c: Likewise.
7158 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
7159 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7160 defining compatibility symbols.
7161 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
7162 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7163 wrapper of w_lgammaf_main.c.
7164 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
7165 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7166 defining compatibility symbols.
7167 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
7168 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7169 wrapper of w_lgammal_main.c.
7170 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
7171 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7172 defining compatibility symbols.
7173 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
7174 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7175 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7176 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
7177 <lgamma-compat.h>.
7178 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
7179 (__ieee754_gamma): Define as alias.
7180 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7181 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
7182 <lgamma-compat.h>.
7183 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
7184 (__ieee754_gammaf): Define as alias.
7185 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7186 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
7187 <lgamma-compat.h>.
7188 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
7189 (__ieee754_gammal): Define as alias.
7190 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7191 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
7192 <math/w_lgamma_compat.c>.
7193 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7194 Define as alias of __lgamma_compat and use in defining lgammal.
7195 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7196 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
7197 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7198 (USE_AS_COMPAT): New macro.
7199 (LGAMMA_OLD_VER): Undefine and redefine.
7200 (lgammal): Do not define here.
7201 (gammal): Only define here if [GAMMA_ALIAS].
7202 * conform/linknamespace.pl (@whitelist): Remove signgam.
7203 * sysdeps/nacl/libm.abilist: Update.
7204 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7205 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7206 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7207 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7208 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7209 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7210 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7211 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7212 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7213 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7214 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7215 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7217 Likewise.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7219 Likewise.
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7221 Likewise.
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7223 Likewise.
7224 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7225 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7226 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7230 Likewise.
7231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7232 Likewise.
7233 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7234 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7235 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7236
7237 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7238
7239 [BZ #16364]
7240 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7241 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7242
7243 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7244
7245 * sysdeps/s390/fpu/bits/mathinline.h:
7246 Use __asm__ [__volatile__] instead of asm [volatile].
7247 * sysdeps/s390/abort-instr.h: Likewise.
7248 * sysdeps/s390/atomic-machine.h: Likewise.
7249 * sysdeps/s390/bits/string.h: Likewise.
7250 * sysdeps/s390/dl-tls.h: Likewise.
7251 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7252 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7253 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7254 * sysdeps/s390/fpu/fesetround.c: Likewise.
7255 * sysdeps/s390/fpu/fpu_control.h: Likewise.
7256 * sysdeps/s390/fpu/s_fma.c: Likewise.
7257 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7258 * sysdeps/s390/memusage.h: Likewise.
7259 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7260 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7261 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7262 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7263 * sysdeps/s390/nptl/tls.h: Likewise.
7264 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7265 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7266 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7267 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7268 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7269 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7270 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7271 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7272 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7273 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7274 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7275 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7276 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7277 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7278 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7279 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7280 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7281 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7282 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7284 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7286 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7287
7288 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7289 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7290
7291 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7292 Add lwarx hint, and use macro for acquire instruction.
7293 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7294 Likewise.
7295 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7296 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7297 update to use new atomic macros.
7298
7299 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7300
7301 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7302 (__lll_trylock_elision): Fix setting of adapt_count.
7303 * sysdeps/unix/sysv/linux/powerpc/htm.h
7304 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7305 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7306 (_ABORT_SYSCALL): Renumber, and clarify definition.
7307 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7308
7309 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7310
7311 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7312 after system headers to prevent MIN/MAX redefinition. Define
7313 HAVE_ALLOCA to preserve builtin alloca usage.
7314
7315 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7316
7317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7318 static and don't set or restore rounding.
7319 (__cos)[IN_SINCOS]: Likewise.
7320 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7321 (__sincos): Set and restore rounding mode. Remove check for infinite
7322 or NaN input.
7323
7324 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7325
7326 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7327 as used.
7328
7329 2015-11-16 Florian Weimer <fweimer@redhat.com>
7330
7331 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7332
7333 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
7334
7335 * config.make.in (have-glob-dat-reloc): New.
7336 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
7337 target supports GLOB_DAT relocaton. AC_SUBST.
7338 * configure: Regenerated.
7339 * elf/Makefile (tests): Add tst-prelink.
7340 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7341 (tst-prelink-ENV): New.
7342 ($(objpfx)tst-prelink-conflict.out): Likewise.
7343 ($(objpfx)tst-prelink-cmp.out): Likewise.
7344 * sysdeps/x86/tst-prelink.c: Moved to ...
7345 * elf/tst-prelink.c: Here.
7346 * sysdeps/x86/tst-prelink.exp: Moved to ...
7347 * elf/tst-prelink.exp: Here.
7348 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
7349 (tst-prelink-ENV): Removed.
7350 ($(objpfx)tst-prelink-conflict.out): Likewise.
7351 ($(objpfx)tst-prelink-cmp.out): Likewise.
7352 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
7353
7354 2015-11-13 Joseph Myers <joseph@codesourcery.com>
7355
7356 [BZ #14551]
7357 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
7358 (__mpn_construct_long_double): If high part overflows to infinity,
7359 set errno and recompute overflowed result of the correct sign.
7360 * sysdeps/ieee754/ldbl-128ibm/Makefile
7361 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
7362 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
7363 $(libm).
7364 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
7365
7366 2015-11-12 Joseph Myers <joseph@codesourcery.com>
7367
7368 [BZ #15479]
7369 [BZ #19238]
7370 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
7371 floating-point state after first operation on input. Restore full
7372 state rather than just rounding mode.
7373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7374 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7375 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7376
7377 [BZ #19235]
7378 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
7379 add 0.5 to integer arguments.
7380 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
7381 Likewise.
7382 (.LC2): New object.
7383
7384 2015-11-11 Mike Frysinger <vapier@gentoo.org>
7385
7386 * scripts/pylintrc (reports): Set to no.
7387
7388 2015-11-10 Roland McGrath <roland@hack.frob.com>
7389
7390 * elf/dl-load.c (open_verify): Take new argument FD.
7391 Skip __open call if passed FD is not -1.
7392 (_dl_map_object, open_path): Update callers.
7393 * elf/dl-sysdep-open.h: New file.
7394 * elf/dl-load.c: Include it.
7395 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
7396 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
7397 * sysdeps/nacl/dl-sysdep-open.h: New file.
7398 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
7399 from libc to rtld.
7400
7401 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7402
7403 [BZ #19228]
7404 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
7405 and restore full floating-point state.
7406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7407 Likewise.
7408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7409 Likewise.
7410 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7411 Likewise.
7412 * math/test-nearbyint-except-2.c: New file.
7413 * math/Makefile (tests): Add test-nearbyint-except-2.
7414
7415 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
7416
7417 [BZ #19178]
7418 * sysdeps/x86/Makefile (tests): Add tst-prelink.
7419 (tst-prelink-ENV): New.
7420 ($(objpfx)tst-prelink-conflict.out): Likewise.
7421 ($(objpfx)tst-prelink-cmp.out): Likewise.
7422 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7423 * sysdeps/x86/tst-prelink.c: New file.
7424 * sysdeps/x86/tst-prelink.exp: Likewise.
7425
7426 2015-11-10 Joseph Myers <joseph@codesourcery.com>
7427
7428 * math/auto-libm-test-in: Add another test of pow.
7429 * math/auto-libm-test-out: Regenerated.
7430 * math/libm-test.inc (pow_test_data): Add another test.
7431
7432 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7433
7434 [BZ #19219]
7435 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
7436 weak_alias to nearbyintl.
7437
7438 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7439
7440 * sysdeps/aarch64/bits/string.h: New file.
7441 (_STRING_ARCH_unaligned): Define.
7442
7443 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
7444
7445 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
7446 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7447 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7448 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
7450
7451 2015-11-09 Ulrich Drepper <drepper@gmail.com>
7452
7453 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
7454 for original name of the DSO. Add it to the name list of the DSO
7455 if it is actually given.
7456 (_dl_map_object): Keep track of whether an audit module rewrote
7457 the file name. If yes, pass the original name to
7458 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
7459 debugging is enabled, log the change of the file name.
7460 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
7461 _dl_map_object_from_fd.
7462 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
7463 * elf/tst-audit11.c: New file
7464 * elf/tst-auditmod11.c: New file.
7465 * elf/tst-audit11mod1.c: New file.
7466 * elf/tst-audit11mod2.c: New file.
7467 * elf/tst-audit11mod2.map: New file.
7468 * elf/tst-audit12.c: New file
7469 * elf/tst-auditmod12.c: New file.
7470 * elf/tst-audit12mod1.c: New file.
7471 * elf/tst-audit12mod2.c: New file.
7472 * elf/tst-audit12mod2.map: New file.
7473 * elf/tst-audit12mod3.c: New file.
7474
7475 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7476
7477 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
7478 Don't create weak aliases,
7479 because versioned symbols are created later.
7480 * sysdeps/s390/s390-32/setjmp.S
7481 (setjmp, _setjmp): Remove weak and rename to an unique name
7482 in SHARED case due to existing versioned symbols.
7483 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7484 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
7485 (getcontext): Create weak alias only in non SHARED case.
7486 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7487
7488 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
7489
7490 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
7491 (__ASSUME_*_SYSCALL) Define new macros.
7492 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
7493 Remove socketcall syscalls.
7494 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
7495 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
7496 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
7497 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
7498 * sysdeps/unix/sysv/linux/send.c (__libc_send):
7499 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
7500
7501 2015-11-09 Florian Weimer <fweimer@redhat.com>
7502
7503 [BZ #12926]
7504 Terminate process on invalid netlink response.
7505 * sysdeps/unix/sysv/linux/netlinkaccess.h
7506 (__netlink_assert_response): Declare.
7507 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
7508 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
7509 (sysdep_routines): Add netlink_assert_response.
7510 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
7511 __netlink_assert_response.
7512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7513 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7514 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
7515 __netlink_assert_response.
7516
7517 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
7518
7519 [BZ #19178]
7520 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
7521 (RTYPE_CLASS_PLT): Likewise.
7522 (RTYPE_CLASS_COPY): Likewise.
7523 (RTYPE_CLASS_TLS): Likewise.
7524 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
7525 to set relocation type class for DL_DEBUG_PRELINK. Keep only
7526 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
7527 DL_DEBUG_PRELINK.
7528
7529 2015-11-06 Joseph Myers <joseph@codesourcery.com>
7530
7531 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
7532 calls with argument -0.5.
7533 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
7534
7535 * configure.ac (libc_cv_z_nodelete): Remove configure test.
7536 (libc_cv_z_nodlopen): Likewise.
7537 (libc_cv_z_initfirst): Likewise.
7538 * configure: Regenerated.
7539
7540 2015-11-06 Florian Weimer <fweimer@redhat.com>
7541
7542 Simplify abilist format to be line-based.
7543 * scripts/abilist.awk: Collect descriptors in the descs variable.
7544 (emit): Write descs variable and sort it
7545 externally, with sort.
7546 * sysdeps/**/*.abilist: Convert to new format.
7547
7548 2015-11-06 Mark Wielaard <mjw@redhat.com>
7549
7550 [BZ #11460]
7551 * io/Makefile (routines): Add fts64.
7552 (tests): Add tst-fts and tst-fts-lfs.
7553 (CFLAGS-fts64.c): New.
7554 * io/Versions (GLIBC_2.23): New.
7555 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
7556 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
7557 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
7558 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
7559 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
7560 (FTSENT64): Likewise.
7561 (fts64_children): Likewise.
7562 (fts64_close): Likewise.
7563 (fts64_open): Likewise.
7564 (fts64_read): Likewise.
7565 (fts64_set): Likewise.
7566 * io/fts64.c: New file.
7567 * io/tst-fts.c: New test.
7568 * io/tst-fts-lfs.c: Likewise.
7569 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
7570 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
7571 fts64_set.
7572 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7573 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7574 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7575 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7576 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7577 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7578 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7579 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7580 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7581 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7582 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7583 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7584 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7588 Likewise.
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7591 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7592 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7593 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7594 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7598 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7599 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7600 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7601 * sysdeps/wordsize-64/fts.c: New file.
7602 * sysdeps/wordsize-64/fts64.c: Likewise.
7603 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
7604 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
7607
7608 2015-11-05 Joseph Myers <joseph@codesourcery.com>
7609
7610 * math/libm-test.inc (NON_FINITE): New macro.
7611 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
7612 * math/gen-libm-test.pl (show_exceptions): Add argument
7613 $non_finite.
7614 (parse_args): Update call to show_exceptions.
7615 * math/test-math-finite.h: New file.
7616 * math/test-math-no-finite.h: Likewise.
7617 * math/test-double-finite.c: Likewise.
7618 * math/test-float-finite.c: Likewise.
7619 * math/test-ldouble-finite.c: Likewise.
7620 * math/test-double.c: Include "test-math-no-finite.h".
7621 * math/test-float.c: Include "test-math-no-finite.h".
7622 * math/test-ldouble.c: Include "test-math-no-finite.h".
7623 * math/test-math-inline.h (TEST_FINITE): New macro.
7624 * math/test-math-vector.h (TEST_FINITE): Likewise.
7625 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
7626 (libm-tests): Add test-float-finite and test-double-finite.
7627 ($(objpfx)test-float-finite.o): New dependency on
7628 $(objpfx)libm-test.stmp.
7629 ($(objpfx)test-double-finite.o): Likewise.
7630 ($(objpfx)test-ldouble-finite.o): Likewise.
7631 (libm-test-no-inline-cflags): New variable.
7632 (libm-test-finite-cflags): Likewise.
7633 (CFLAGS-test-float-finite.c): Likewise.
7634 (CFLAGS-test-double-finite.c): Likewise.
7635 (CFLAGS-test-ldouble-finite.c): Likewise.
7636 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
7637 (CFLAGS-test-double.c): Likewise.
7638 (CFLAGS-test-ldouble.c): Likewise.
7639
7640 2015-11-05 Roland McGrath <roland@hack.frob.com>
7641
7642 * io/fcntl.c (__fcntl): Add ... to prototype.
7643 * misc/ioctl.c (__ioctl): Likewise.
7644 * misc/syscall.c (syscall): Likewise.
7645
7646 2015-11-05 Joseph Myers <joseph@codesourcery.com>
7647
7648 * scripts/list-fixed-bugs.py: New file.
7649
7650 [BZ #19213]
7651 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
7652 returned for argument 1.
7653 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
7654 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
7655 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
7656 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
7657 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
7658 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
7659
7660 [BZ #19211]
7661 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
7662 __USE_XOPEN], not if [!__USE_ISOC99].
7663 (lgammaf): Likewise.
7664 (lgammal): Likewise.
7665 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
7666 (gammaf): Likewise.
7667 (gammal): Likewise.
7668 * math/test-signgam-finite-c11.c: New file.
7669 * math/test-signgam-finite-c99.c: Likewise.
7670 * math/test-signgam-finite.c: Likewise.
7671 * math/Makefile (tests): Add test-signgam-finite,
7672 test-signgam-finite-c99 and test-signgam-finite-c11.
7673 (CFLAGS-test-signgam-finite.c): New variable.
7674 (CFLAGS-test-signgam-finite-c99.c): Likewise.
7675 (CFLAGS-test-signgam-finite-c11.c): Likewise.
7676
7677 [BZ #19212]
7678 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
7679 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
7680 500].
7681 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
7682 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
7683 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
7684 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
7685 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
7686 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
7687 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
7688 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
7689 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
7690 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
7691
7692 [BZ #19209]
7693 * math/bits/math-finite.h (ldexp): Remove declaration.
7694 (ldexpf): Likewise.
7695 (ldexpl): Likewise.
7696
7697 [BZ #19205]
7698 * math/bits/math-finite.h (acosf): Condition declaration on
7699 [__USE_ISOC99].
7700 (acosl): Likewise.
7701 (acoshf): Likewise.
7702 (acoshl): Likewise.
7703 (asinf): Likewise.
7704 (asinl): Likewise.
7705 (atan2f): Likewise.
7706 (atan2l): Likewise.
7707 (atanhf): Likewise.
7708 (atanhl): Likewise.
7709 (coshf): Likewise.
7710 (coshl): Likewise.
7711 (expf): Likewise.
7712 (expl): Likewise.
7713 (fmodf): Likewise.
7714 (fmodl): Likewise.
7715 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
7716 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
7717 (j0l): Likewise.
7718 (y0f): Likewise.
7719 (y0l): Likewise.
7720 (j1f): Likewise.
7721 (j1l): Likewise.
7722 (y1f): Likewise.
7723 (y1l): Likewise.
7724 (jnf): Likewise.
7725 (jnl): Likewise.
7726 (ynf): Likewise.
7727 (ynl): Likewise.
7728 (lgammaf_r): Condition declaration on [__USE_ISOC99].
7729 (lgammal_r): Likewise.
7730 (__lgamma_r_finite): New declaration.
7731 (__lgammaf_r_finite): Likewise.
7732 (__lgammal_r_finite): Likewise.
7733 (lgamma): Use __lgamma_r_finite.
7734 (lgammaf): Condition definition on [__USE_ISOC99]. Use
7735 __lgammaf_r_finite.
7736 (lgammal): Condition definition on [__USE_ISOC99]. Use
7737 __lgammal_r_finite.
7738 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
7739 __lgamma_r_finite.
7740 (gammaf): Condition definition on [__USE_ISOC99]. Use
7741 __lgammaf_r_finite.
7742 (gammal): Condition definition on [__USE_ISOC99]. Use
7743 __lgammal_r_finite.
7744 (logf): Condition declaration on [__USE_ISOC99].
7745 (logl): Likewise.
7746 (log10f): Likewise.
7747 (log10l): Likewise.
7748 (ldexpf): Likewise.
7749 (ldexpl): Likewise.
7750 (powf): Likewise.
7751 (powl): Likewise.
7752 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
7753 __USE_ISOC99].
7754 (remainderf): Condition declaration on [__USE_ISOC99].
7755 (remainderl): Likewise.
7756 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
7757 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
7758 (scalbl): Likewise.
7759 (sinhf): Condition declaration on [__USE_ISOC99].
7760 (sinhl): Likewise.
7761 (sqrtf): Likewise.
7762 (sqrtl): Likewise.
7763
7764 2015-11-04 Joseph Myers <joseph@codesourcery.com>
7765
7766 * sysdeps/arm/atomic-machine.h
7767 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7768 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7769 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
7770 Remove conditional code.
7771 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
7772 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
7773 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
7774 Change conditional to [__ASSEMBLER__].
7775 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7776 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
7777 [!__ASSEMBLER__].
7778 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
7779 code.
7780 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
7781 conditional macro definitions.
7782 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
7783 (__arch_compare_and_exchange_val_16_acq): Likewise.
7784 (__arch_compare_and_exchange_val_32_acq): Likewise.
7785 (atomic_exchange_and_add): Likewise.
7786 (atomic_add): Likewise.
7787 (atomic_add_negative): Likewise.
7788 (atomic_add_zero): Likewise.
7789 (atomic_bit_set): Likewise.
7790 (atomic_bit_test_set): Likewise.
7791 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
7792 code unconditional.
7793 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7794
7795 * math/test-math-errno.h: New file.
7796 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
7797 empty.
7798 (TEST_ERRNO): New macro.
7799 (TEST_EXCEPTIONS): Likewise.
7800 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
7801 (TEST_EXCEPTIONS): Likewise.
7802 * math/test-math-vector.h (TEST_ERRNO): Likewise.
7803 * math/test-double.c: Include "test-math-errno.h".
7804 * math/test-float.c: Likewise.
7805 * math/test-ldouble.c: Likewise.
7806 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
7807 code unconditional.
7808 (test_exceptions): Only run code if TEST_EXCEPTIONS.
7809 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
7810 unconditional.
7811 (test_errno): Only run code if TEST_ERRNO.
7812 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
7813
7814 2015-11-04 Florian Weimer <fweimer@redhat.com>
7815
7816 * nptl/tst-once5.cc: Remove attribution.
7817
7818 2015-11-04 Joseph Myers <joseph@codesourcery.com>
7819
7820 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
7821 sqrt, tan, tanh, y0, y1 and yn.
7822 * math/auto-libm-test-out: Regenerated.
7823 * math/libm-test.inc (scalb_test_data): Add more tests.
7824 (scalbn_test_data): Likewise.
7825 (scalbln_test_data): Likewise.
7826 (signbit_test_data): Likewise.
7827 (sin_test_data): Likewise.
7828 (sincos_test_data): Likewise.
7829 (sinh_test_data): Likewise.
7830 (sqrt_test_data): Likewise.
7831 (tan_test_data): Likewise.
7832 (tanh_test_data): Likewise.
7833 (tgamma_test_data): Likewise.
7834 (y0_test_data): Likewise.
7835 (y1_test_data): Likewise.
7836 (yn_test_data): Likewise.
7837 (significand_test_data): Likewise.
7838 * sysdeps/i386/fpu/libm-test-ulps: Update.
7839
7840 2015-11-03 David Kastrup <dak@gnu.org>
7841
7842 [BZ #18604]
7843 * assert/assert.h (assert): Don't macro-expand failed assertion
7844 expression in error message.
7845 * malloc/malloc.c (assert): Likewise.
7846
7847 2015-11-03 Joseph Myers <joseph@codesourcery.com>
7848
7849 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7850 test.
7851 * configure: Regenerated.
7852
7853 2015-11-02 Joseph Myers <joseph@codesourcery.com>
7854
7855 * math/libm-test.inc (modf_test_data): Add more tests.
7856 (nearbyint_test_data): Likewise.
7857 (nextafter_test_data): Likewise.
7858 (nexttoward_test_data): Likewise.
7859 (pow_test_data): Likewise.
7860 (remainder_test_data): Likewise.
7861 (remquo_test_data): Likewise.
7862 (rint_test_data): Likewise.
7863
7864 [BZ #19201]
7865 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7866 Check for zero remainder in case of large exponents and ensure
7867 correct sign of result in that case.
7868 * math/libm-test.inc (remainder_test_data): Add more tests.
7869
7870 [BZ #6799]
7871 * math/s_nextafter.c: Include <errno.h>.
7872 (__nextafter): Set errno on overflow and underflow.
7873 * math/s_nexttowardf.c: Include <errno.h>.
7874 (__nexttowardf): Set errno on overflow and underflow.
7875 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7876 (__nextafterl): Set errno on overflow and underflow.
7877 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7878 (__nexttoward): Set errno on overflow and underflow.
7879 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7880 (__nexttowardf): Set errno on overflow and underflow.
7881 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7882 (__nextafterf): Set errno on overflow and underflow.
7883 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7884 (__nextafterl): Set errno on overflow and underflow.
7885 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7886 (__nexttoward): Set errno on overflow and underflow.
7887 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7888 (__nexttowardf): Set errno on overflow and underflow.
7889 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7890 (__nextafterl): Set errno on overflow and underflow.
7891 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7892 (__nexttoward): Set errno on overflow and underflow.
7893 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7894 (__nexttowardf): Set errno on overflow and underflow.
7895 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7896 (__nexttoward): Set errno on overflow and underflow.
7897 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7898 (__nexttowardf): Set errno on overflow and underflow.
7899 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7900 (__nldbl_nexttowardf): Set errno on overflow and underflow.
7901 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7902 (__nextafterl): Set errno on overflow and underflow.
7903 * math/libm-test.inc (nextafter_test_data): Do not allow errno
7904 setting to be missing on overflow. Add more tests.
7905 (nexttoward_test_data): Likewise.
7906
7907 * configure.ac (libc_cv_initfini_array): Remove configure test.
7908 * configure: Regenerated.
7909
7910 2015-10-29 Joseph Myers <joseph@codesourcery.com>
7911
7912 [BZ #19189]
7913 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7914 non-finite argument handle arguments with negative sign.
7915
7916 * math/libm-test.inc (j0_test_data): Do not test sign of zero
7917 result from infinite argument.
7918 (j1_test_data): Likewise.
7919 (jn_test_data): Likewise.
7920 (y0_test_data): Likewise.
7921 (y1_test_data): Likewise.
7922 (yn_test_data): Likewise.
7923
7924 [BZ #16171]
7925 * math/w_remainder.c (drem): Define as weak alias of __remainder.
7926 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7927 * math/w_remainderf.c (dremf): Define as weak alias of
7928 __remainderf.
7929 * math/w_remainderl.c (dreml): Define as weak alias of
7930 __remainderl.
7931 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7932 __remainder.
7933 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7934 __remainderf.
7935 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7936 __remainderl.
7937 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7938 weak alias of remainderl.
7939 * sysdeps/ieee754/ldbl-opt/w_remainder.c
7940 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7941 alias of __remainder.
7942 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7943 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7944 strong alias of __remainderl.
7945 (dreml): Use long_double_symbol.
7946 * math/Makefile (libm-calls): Remove w_drem.
7947 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7948 (CFLAGS-nldbl-drem.c): Remove variable.
7949 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7950 * math/w_drem.c: Remove file.
7951 * math/w_dremf.c: Likewise.
7952 * math/w_dreml.c: Likewise.
7953 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7954 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7955 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7956
7957 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7958 * sysdeps/i386/configure: Regenerated.
7959 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7960 * sysdeps/x86_64/configure: Regenerated.
7961
7962 * configure.ac (libc_cv_asm_protected_directive): Remove configure
7963 test.
7964 (libc_cv_visibility_attribute): Likewise.
7965 (libc_cv_protected_data): Test unconditionally.
7966 (libc_cv_broken_visibility_attribute): Remove configure test.
7967 (libc_cv_have_sdata_section): Test unconditionally.
7968 * configure: Regenerated.
7969
7970 * include/libc-internal.h (libc_max_align_t): Remove typedef.
7971 * include/scratch_buffer.h: Include <stddef.h> instead of
7972 <libc-internal.h>.
7973 (struct scratch_buffer): Use max_align_t instead of
7974 libc_max_align_t.
7975
7976 2015-10-29 Florian Weimer <fweimer@redhat.com>
7977
7978 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7979 instead of extend_alloca. Change control flow to avoid a goto.
7980 Remove assert which is trivially always true.
7981
7982 2015-10-28 Joseph Myers <joseph@codesourcery.com>
7983
7984 [BZ #16068]
7985 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7986 (FE_ALL_EXCEPT_X86): New macro.
7987 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7988 FE_ALL_EXCEPT. Ensure precision control is included in
7989 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7990 handle "denormal operand exception" and clear FZ and DAZ bits.
7991 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7992 (FE_ALL_EXCEPT_X86): New macro.
7993 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7994 FE_ALL_EXCEPT. Ensure precision control is included in
7995 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7996 handle "denormal operand exception" and clear FZ and DAZ bits.
7997 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7998 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7999 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8000 test-fenv-x87 and test-fenv-sse-2.
8001 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8002
8003 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8004 * math/test-double.h (BUILD_COMPLEX): New macro.
8005 * math/test-float.h (BUILD_COMPLEX): Likewise.
8006 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8007
8008 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8009 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8010 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8012 instead of DBL_DENORM_MIN in comment.
8013 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8014 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8016 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8018 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8019
8020 2015-10-28 Florian Weimer <fweimer@redhat.com>
8021
8022 [BZ# 19048]
8023 * malloc/malloc.c (struct malloc_state): Update comment. Add
8024 attached_threads member.
8025 (main_arena): Initialize attached_threads.
8026 * malloc/arena.c (list_lock): Update comment.
8027 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8028 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8029 (deattach_arena): New function.
8030 (_int_new_arena): Initialize arena reference count and deattach
8031 replaced arena.
8032 (get_free_list, reused_arena): Update reference count and deattach
8033 replaced arena.
8034 (arena_thread_freeres): Update arena reference count and only put
8035 unreferenced arenas on the free list.
8036
8037 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #19181]
8040 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8041 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8042 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8043 * math/test-fenv-clear-main.c: New file.
8044 * math/test-fenv-clear.c: Likewise.
8045 * math/Makefile (tests): Add test-fenv-clear.
8046 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8047 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8048 test-fenv-clear-sse.
8049 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8050
8051 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8052 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8053 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8054
8055 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8056
8057 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8058 static libc.
8059
8060 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8061
8062 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8063 test.
8064 * sysdeps/i386/configure: Regenerated.
8065 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8066 test.
8067 * sysdeps/x86_64/configure: Regenerated.
8068 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8070 memset-avx2 unconditionally instead of conditionally on
8071 [$(config-cflags-avx2) = yes].
8072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8073 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8074 unconditional.
8075 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8076 * sysdeps/x86_64/multiarch/memset_chk.S
8077 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8078 to [IS_IN (libc) && SHARED].
8079
8080 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8081
8082 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8083 configure test.
8084 * sysdeps/arm/configure: Regenerated.
8085 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8086 Define variable if not already defined.
8087
8088 [BZ #17404]
8089 * sysdeps/mips/atomic-machine.h
8090 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8091 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8092 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8093
8094 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8095 unconditional.
8096 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8097 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8098 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8099 unconditional.
8100 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8101 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8102 unconditional.
8103 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8104 * stdlib/setenv.c
8105 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8106 code unconditional.
8107 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8108 Remove conditional code.
8109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8110 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8111 unconditional.
8112 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8113 code.
8114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8115 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8116 unconditional.
8117 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8118 code.
8119 * sysdeps/ieee754/ldbl-128/k_tanl.c
8120 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8121 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8122 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8123 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8124 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8126 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8127 unconditional.
8128 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8129 code.
8130 * sysdeps/ieee754/ldbl-96/k_tanl.c
8131 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8132 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8133
8134 * nptl/tst-initializers1-c11.c: New file.
8135 * nptl/tst-initializers1-gnu11.c: Likewise.
8136 * nptl/Makefile (tests): Add these new tests.
8137 (CFLAGS-tst-initializers1-c11.c): New variable.
8138 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8139
8140 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8141 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8142 instead of -std=gnu99.
8143 * configure.ac (systemtap): Test with -std=gnu11 instead of
8144 -std=gnu99.
8145 * configure: Regenerated.
8146 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8147 in compilation command in comment.
8148
8149 * sysdeps/nptl/configure.ac: Remove file.
8150 * sysdeps/nptl/configure: Remove generated file.
8151 * configure.ac (libc_cv_forced_unwind): Do not substitute.
8152 * configure: Regenerated.
8153 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8154 * config.make.in (have-forced-unwind): Remove variable.
8155 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8156 unconditional.
8157 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8158 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8159 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8160 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8161 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8162 unconditional.
8163
8164 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8165
8166 [BZ #19174]
8167 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8168 .skip_lock_out_of_tbegin_retries.
8169 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8170 (__lll_lock_elision): Likewise, and respect a value of
8171 try_tbegin <= 0.
8172
8173 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8174
8175 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8176 statement.
8177
8178 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8179
8180 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8181 variable.
8182 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8183 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8184
8185 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8186 of -std=c1x -D_ISOC11_SOURCE.
8187
8188 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8189 * configure: Regenerated.
8190 * manual/install.texi (Tools for Compilation): Document
8191 requirement for GCC 4.7 or later.
8192 * INSTALL: Regenerated.
8193
8194 2015-10-27 Ludovic Courtès <ludo@gnu.org>
8195
8196 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8197 on CNT to a conditional jump to 'puntdata'.
8198
8199 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8200
8201 * configure.ac (libc_cv_gcc___thread): Remove configure test.
8202 (libc_cv_gcc_tls_model_attr): Likewise.
8203 * configure: Regenerated.
8204
8205 * configure.ac (libc_cv_need_minus_P): Remove configure test.
8206 * configure: Regenerated.
8207 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8208
8209 2015-10-26 Joseph Myers <joseph@codesourcery.com>
8210
8211 * configure.ac (old_glibc_headers): Remove configure test.
8212 * configure: Regenerated.
8213 * config.make.in (old-glibc-headers): Remove variable.
8214 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8215 (install): Remove dependency on remove-old-headers.
8216 (headers2_0): Remove variable.
8217 (remove-old-headers): Remove rule.
8218
8219 * configure.ac (libc_cv_dot_text): Remove configure test.
8220 (libc_cv_asm_set_directive): Use .text instead of
8221 ${libc_cv_dot_text} in configure test.
8222 * configure: Regenerated.
8223
8224 2015-10-26 Florian Weimer <fweimer@redhat.com>
8225
8226 [BZ #19168]
8227 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8228
8229 2015-10-26 Florian Weimer <fweimer@redhat.com>
8230
8231 * configure.ac (CXX): Clear the variable if the C++ toolchain does
8232 not support static linking.
8233 * configure: Regenerate.
8234
8235 2015-10-23 Joseph Myers <joseph@codesourcery.com>
8236
8237 * math/libm-test.inc (check_float_internal): Do not special-case
8238 errors up to 0.5 ulp.
8239
8240 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8241 log2.
8242 * math/auto-libm-test-out: Regenerated.
8243 * math/libm-test.inc (MAX_EXP): New macro.
8244 (ilogb_test_data): Add more tests.
8245 (isfinite_test_data): Likewise.
8246 (isgreater_test_data): Likewise.
8247 (isgreaterequal_test_data): Likewise.
8248 (isinf_test_data): Likewise.
8249 (isless_test_data): Likewise.
8250 (islessequal_test_data): Likewise.
8251 (islessgreater_test_data): Likewise.
8252 (isnan_test_data): Likewise.
8253 (isnormal_test_data): Likewise.
8254 (issignaling_test_data): Likewise.
8255 (isunordered_test_data): Likewise.
8256 (j0_test_data): Likewise.
8257 (j1_test_data): Likewise.
8258 (jn_test_data): Likewise.
8259 (lgamma_test_data): Likewise.
8260 (log_test_data): Likewise.
8261 (log10_test_data): Likewise.
8262 (log1p_test_data): Likewise.
8263 (log2_test_data): Likewise.
8264 (logb_test_data): Likewise.
8265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8266
8267 [BZ #18611]
8268 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8269 avoid excess range and precision on underflow.
8270 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8271 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8272 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8273 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8274 underflow.
8275 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8277 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8279 * math/auto-libm-test-in: Do not allow missing errno setting for
8280 tests of j1 and jn.
8281 * math/auto-libm-test-out: Regenerated.
8282
8283 2015-10-22 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #15491]
8286 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8287 floating-point environment instead of clearing all exceptions.
8288 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8289 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8290 merging in "invalid" exceptions from frndint.
8291 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8292 * math/test-nearbyint-except.c: New file.
8293 * math/Makefile (tests): Add test-nearbyint-except.
8294
8295 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
8296
8297 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8298
8299 * sysdeps/tile/libm-test-ulps: Regenerated.
8300
8301 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8302
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8304 (__NR_sync_file_range2): Assume it is always defined.
8305 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8306 (__NR_sync_file_range): Assume it is always defined.
8307
8308 2015-10-22 Andreas Schwab <schwab@suse.de>
8309
8310 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8311 INTERNAL_SYSCALL_ERRNO.
8312 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8313 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8314 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8315 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8316 Likewise.
8317 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8318
8319 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8320
8321 * io/tst-fcntl.c (fd): New static variable.
8322 (do_prepare): Open temporary file here....
8323 (do_test): ...not here.
8324
8325 * io/ftwtest-sh: Also trap on exit to remove temporary files.
8326
8327 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8328
8329 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8330 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8331 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8332 Moved before "#ifdef __ASSEMBLER__".
8333
8334 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8335
8336 [BZ #19156]
8337 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8338 arguments very close to 0.
8339
8340 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
8341
8342 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8343 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8344
8345 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8348 New. Defined for GCC 5 and above when not compiling for
8349 profiling.
8350 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8351
8352 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8353 Renamed to ...
8354 (CFLAGS-epoll_pwait.o): This.
8355 (CFLAGS-mmap.c): Renamed to ...
8356 (CFLAGS-mmap.o): This.
8357 (CFLAGS-mmap64.c): Renamed to ...
8358 (CFLAGS-mmap64.o): This.
8359 (CFLAGS-epoll_pwait.os): New.
8360 (CFLAGS-mmap.os): Likewise.
8361 (CFLAGS-mmap64.os): Likewise.
8362 (CFLAGS-semtimedop.os): Likewise.
8363 (CFLAGS-semtimedop.c): Renamed to ...
8364 (CFLAGS-semtimedop.o): This.
8365
8366 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8367
8368 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
8369 warning message.
8370
8371 2015-10-21 Joseph Myers <joseph@codesourcery.com>
8372
8373 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
8374 * Makefile ($(objpfx)c++-types-check.out): Filter out
8375 $(+gccwarn-c) instead of -Wstrict-prototypes.
8376
8377 * io/fts.c (fts_open): Convert to prototype-style function
8378 definition.
8379 * malloc/mcheck.c (mcheck): Likewise.
8380 (mcheck_pedantic): Likewise.
8381 * posix/regexec.c (re_search_2_stub): Likewise. Use
8382 internal_function.
8383 (re_search_internal): Likewise.
8384 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
8385 prototype-style function definition.
8386 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8387 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8388 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
8389 (xdr_utmpptr): Likewise.
8390 (xdr_utmparr): Likewise.
8391 (xdr_utmpidle): Likewise.
8392 (xdr_utmpidleptr): Likewise.
8393 (xdr_utmpidlearr): Likewise.
8394
8395 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
8396 log, log10 and log2.
8397 * math/auto-libm-test-out: Regenerated.
8398 * math/libm-test.inc (fmod_test_data): Add more tests.
8399 (fpclassify_test_data): Likewise.
8400 (frexp_test_data): Likewise.
8401 (hypot_test_data): Likewise.
8402 (ilogb_test_data): Likewise.
8403
8404 2015-10-20 Joseph Myers <joseph@codesourcery.com>
8405
8406 * debug/fortify_fail.c (__fortify_fail): Convert to
8407 prototype-style function definition. Use internal_function.
8408 * libio/genops.c (save_for_backup): Convert to prototype-style
8409 function definition.
8410 * libio/wgenops.c (save_for_wbackup): Likewise.
8411 * login/grantpt.c (grantpt): Likewise.
8412 * login/ptsname.c (ptsname): Likewise.
8413 (__ptsname_r): Likewise.
8414 * login/unlockpt.c (unlockpt): Likewise.
8415 * mach/msgserver.c (__mach_msg_server): Likewise.
8416 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
8417 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
8418 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
8419 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
8420 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
8421 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
8422 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
8423 Likewise.
8424 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
8425 internal_function.
8426 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
8427 prototype-style function definition.
8428 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
8429 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
8430 (__pthread_create_2_0): Likewise.
8431 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
8432 * nptl/register-atfork.c (__register_atfork): Likewise.
8433 * posix/glob.c (glob): Likewise.
8434 * posix/regcomp.c (re_comp): Likewise.
8435 * posix/regexec.c (re_exec): Likewise.
8436 * stdlib/add_n.c [__STDC__]: Make code unconditional.
8437 [!__STDC__]: Remove conditional code.
8438 * stdlib/cmp.c [__STDC__]: Make code unconditional.
8439 [!__STDC__]: Remove conditional code.
8440 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
8441 [!__STDC__]: Remove conditional code.
8442 * stdlib/divrem.c [__STDC__]: Make code unconditional.
8443 [!__STDC__]: Remove conditional code.
8444 * stdlib/lshift.c [__STDC__]: Make code unconditional.
8445 [!__STDC__]: Remove conditional code.
8446 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
8447 [!__STDC__]: Remove conditional code.
8448 * stdlib/mul.c [__STDC__]: Make code unconditional.
8449 [!__STDC__]: Remove conditional code.
8450 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
8451 [!__STDC__]: Remove conditional code.
8452 * stdlib/rshift.c [__STDC__]: Make code unconditional.
8453 [!__STDC__]: Remove conditional code.
8454 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
8455 function definition.
8456 (STRTOF): Likewise.
8457 * stdlib/strtod_l.c (__STRTOF): Likewise.
8458 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
8459 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
8460 (__strtol_l): Likewise.
8461 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
8462 [!__STDC__]: Remove conditional code.
8463 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
8464 definition.
8465 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8466 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8467 type.
8468 (__strcasecmp): Convert to prototype-style function definition.
8469 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
8470 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8471 type.
8472 (__strncasecmp): Convert to prototype-style function definition.
8473 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
8474 * sunrpc/xdr.c (xdr_union): Likewise.
8475 * sunrpc/xdr_array.c (xdr_array): Likewise.
8476 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
8477 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
8478 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
8479 Likewise.
8480 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
8481 Likewise.
8482 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
8483 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8484 Likewise.
8485 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
8486 (LOCALE_PARAM_PROTO): Likewise.
8487 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
8488 argument type.
8489 (ut_argument_spec): Remove macro.
8490 (ut_argument_spec_iso): Rename to ut_argument_spec.
8491 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
8492 prototype-style function definition.
8493 (memcpy_uppcase): Likewise.
8494 (__strftime_internal): Likewise.
8495 (my_strftime): Likewise.
8496 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
8497 (LOCALE_PARAM_DECL): Likewise.
8498 [_LIBC] (LOCALE_PARAM): Include argument type.
8499 (__strptime_internal): Convert to prototype-style function
8500 definition.
8501 (strptime): Likewise.
8502 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
8503 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8504 type.
8505 (__wcscasecmp): Convert to prototype-style function definition.
8506 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
8507 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
8508 type.
8509 (__wcsncasecmp): Convert to prototype-style function definition.
8510
8511 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
8512 function definition.
8513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
8514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8515 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
8516 * elf/dl-minimal.c (_itoa): Likewise.
8517 * hurd/hurdmalloc.c (malloc): Likewise.
8518 (free): Likewise.
8519 (realloc): Likewise.
8520 * inet/inet6_option.c (inet6_option_space): Likewise.
8521 (inet6_option_init): Likewise.
8522 (inet6_option_append): Likewise.
8523 (inet6_option_alloc): Likewise.
8524 (inet6_option_next): Likewise.
8525 (inet6_option_find): Likewise.
8526 * io/ftw.c (FTW_NAME): Likewise.
8527 (NFTW_NAME): Likewise.
8528 (NFTW_NEW_NAME): Likewise.
8529 (NFTW_OLD_NAME): Likewise.
8530 * libio/iofwide.c (_IO_fwide): Likewise.
8531 * libio/strops.c (_IO_str_init_static_internal): Likewise.
8532 (_IO_str_init_static): Likewise.
8533 (_IO_str_init_readonly): Likewise.
8534 (_IO_str_overflow): Likewise.
8535 (_IO_str_underflow): Likewise.
8536 (_IO_str_count): Likewise.
8537 (_IO_str_seekoff): Likewise.
8538 (_IO_str_pbackfail): Likewise.
8539 (_IO_str_finish): Likewise.
8540 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
8541 (_IO_wstr_overflow): Likewise.
8542 (_IO_wstr_underflow): Likewise.
8543 (_IO_wstr_count): Likewise.
8544 (_IO_wstr_seekoff): Likewise.
8545 (_IO_wstr_pbackfail): Likewise.
8546 (_IO_wstr_finish): Likewise.
8547 * locale/programs/localedef.c (normalize_codeset): Likewise.
8548 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8549 (add_locales_to_archive): Likewise.
8550 (delete_locales_from_archive): Likewise.
8551 * malloc/malloc.c (__libc_mallinfo): Likewise.
8552 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
8553 * misc/tsearch.c (__tfind): Likewise.
8554 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
8555 * nptl/pthread_attr_getdetachstate.c
8556 (__pthread_attr_getdetachstate): Likewise.
8557 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
8558 Likewise.
8559 * nptl/pthread_attr_getinheritsched.c
8560 (__pthread_attr_getinheritsched): Likewise.
8561 * nptl/pthread_attr_getschedparam.c
8562 (__pthread_attr_getschedparam): Likewise.
8563 * nptl/pthread_attr_getschedpolicy.c
8564 (__pthread_attr_getschedpolicy): Likewise.
8565 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
8566 Likewise.
8567 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
8568 Likewise.
8569 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
8570 Likewise.
8571 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
8572 Likewise.
8573 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
8574 (__pthread_attr_init_2_0): Likewise.
8575 * nptl/pthread_attr_setdetachstate.c
8576 (__pthread_attr_setdetachstate): Likewise.
8577 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
8578 Likewise.
8579 * nptl/pthread_attr_setinheritsched.c
8580 (__pthread_attr_setinheritsched): Likewise.
8581 * nptl/pthread_attr_setschedparam.c
8582 (__pthread_attr_setschedparam): Likewise.
8583 * nptl/pthread_attr_setschedpolicy.c
8584 (__pthread_attr_setschedpolicy): Likewise.
8585 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
8586 Likewise.
8587 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
8588 Likewise.
8589 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
8590 Likewise.
8591 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
8592 Likewise.
8593 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
8594 Likewise.
8595 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
8596 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
8597 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
8598 use internal_function.
8599 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
8600 prototype-style function definition.
8601 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
8602 (__pthread_mutex_cond_lock_adjust): Likewise. Use
8603 internal_function.
8604 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
8605 Convert to prototype-style function definition.
8606 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8607 Likewise.
8608 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
8609 Likewise.
8610 (__pthread_mutex_unlock): Likewise.
8611 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
8612 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
8613 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
8614 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
8615 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
8616 * nss/makedb.c (process_input): Likewise.
8617 * posix/fnmatch.c (__strchrnul): Likewise.
8618 (__wcschrnul): Likewise.
8619 (fnmatch): Likewise.
8620 * posix/fnmatch_loop.c (FCT): Likewise.
8621 * posix/glob.c (globfree): Likewise.
8622 (__glob_pattern_type): Likewise.
8623 (__glob_pattern_p): Likewise.
8624 * posix/regcomp.c (re_compile_pattern): Likewise.
8625 (re_set_syntax): Likewise.
8626 (re_compile_fastmap): Likewise.
8627 (regcomp): Likewise.
8628 (regerror): Likewise.
8629 (regfree): Likewise.
8630 * posix/regexec.c (regexec): Likewise.
8631 (re_match): Likewise.
8632 (re_search): Likewise.
8633 (re_match_2): Likewise.
8634 (re_search_2): Likewise.
8635 (re_search_stub): Likewise. Use internal_function
8636 (re_copy_regs): Likewise.
8637 (re_set_registers): Convert to prototype-style function
8638 definition.
8639 (prune_impossible_nodes): Likewise. Use internal_function.
8640 * resolv/inet_net_pton.c (inet_net_pton): Convert to
8641 prototype-style function definition.
8642 (inet_net_pton_ipv4): Likewise.
8643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8644 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
8645 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
8646 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
8647 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8648 Make variadic.
8649 * time/strptime_l.c (localtime_r): Convert to prototype-style
8650 function definition.
8651 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8652 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8653 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8654 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8655
8656 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
8657 definition.
8658 (_ufc_doit_r): Likewise.
8659 * crypt/crypt_util.c (_ufc_copymem): Likewise.
8660 (_ufc_output_conversion_r): Likewise.
8661 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
8662 * inet/rcmd.c (rcmd_af): Likewise.
8663 (rcmd): Likewise.
8664 (ruserok_af): Likewise.
8665 (ruserok): Likewise.
8666 (ruserok2_sa): Likewise.
8667 (ruserok_sa): Likewise.
8668 (iruserok_af): Likewise.
8669 (iruserok): Likewise.
8670 (__ivaliduser): Likewise.
8671 (__validuser2_sa): Likewise.
8672 * inet/rexec.c (rexec_af): Likewise.
8673 (rexec): Likewise.
8674 * inet/ruserpass.c (ruserpass): Likewise.
8675 * locale/programs/xmalloc.c (xcalloc): Likewise.
8676 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
8677 * math/w_drem.c (__drem): Likewise.
8678 * math/w_dremf.c (__dremf): Likewise.
8679 * math/w_dreml.c (__dreml): Likewise.
8680 * misc/daemon.c (daemon): Likewise.
8681 * resolv/res_debug.c (p_fqnname): Likewise.
8682 * stdlib/div.c (div): Likewise.
8683 * string/memcmp.c (memcmp_bytes): Likewise.
8684 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
8685 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
8686
8687 * crypt/cert.c (main): Convert to prototype-style function
8688 definition.
8689 * io/pipe.c (__pipe): Likewise.
8690 * io/pipe2.c (__pipe2): Likewise.
8691 * misc/futimesat.c (futimesat): Likewise.
8692 * misc/utimes.c (__utimes): Likewise.
8693 * posix/execve.c (__execve): Likewise.
8694 * posix/execvp.c (execvp): Likewise.
8695 * posix/execvpe.c (__execvpe): Likewise.
8696 * posix/fexecve.c (fexecve): Likewise.
8697 * socket/socketpair.c (socketpair): Likewise.
8698 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8699 * stdlib/erand48.c (erand48): Likewise.
8700 * stdlib/erand48_r.c (__erand48_r): Likewise.
8701 * stdlib/jrand48.c (jrand48): Likewise.
8702 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
8703 * stdlib/lcong48.c (lcong48): Likewise.
8704 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
8705 * stdlib/nrand48.c (nrand48): Likewise.
8706 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
8707 * stdlib/seed48.c (seed48): Likewise.
8708 * stdlib/seed48_r.c (__seed48_r): Likewise.
8709 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
8710 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
8711 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
8712
8713 2015-10-19 Joseph Myers <joseph@codesourcery.com>
8714
8715 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
8716 * configure: Regenerated.
8717 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
8718 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
8719 unconditional.
8720 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8721 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8722 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8723 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
8724 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
8725 unconditional.
8726 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
8727
8728 * posix/Makefile (CFLAGS-regex.c): Remove variable.
8729 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
8730
8731 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
8732 function definition.
8733 * crypt/crypt_util.c (__encrypt_r): Likewise.
8734 * libio/genops.c (_IO_no_init): Likewise.
8735 * libio/iofopncook.c (_IO_fopencookie): Likewise.
8736 (_IO_old_fopencookie): Likewise.
8737 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8738 * libio/iogetline.c (_IO_getline): Likewise.
8739 (_IO_getline_info): Likewise.
8740 * libio/iogetwline.c (_IO_getwline): Likewise.
8741 (_IO_getwline_info): Likewise.
8742 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
8743 * libio/vswprintf.c (_IO_vswprintf): Likewise.
8744 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
8745 (find_entry): Likewise.
8746 (iterate_table): Likewise.
8747 (lookup): Likewise.
8748 * login/forkpty.c (forkpty): Likewise.
8749 * misc/hsearch_r.c (__hsearch_r): Likewise.
8750 * misc/select.c (__select): Likewise.
8751 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
8752 Likewise.
8753 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
8754 Likewise.
8755 * nptl/old_pthread_cond_timedwait.c
8756 (__pthread_cond_timedwait_2_0): Likewise.
8757 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
8758 * nptl/pthread_barrierattr_getpshared.c
8759 (pthread_barrierattr_getpshared): Likewise.
8760 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8761 Likewise.
8762 * nptl/pthread_mutex_setprioceiling.c
8763 (pthread_mutex_setprioceiling): Likewise.
8764 * nptl/pthread_mutexattr_getprioceiling.c
8765 (pthread_mutexattr_getprioceiling): Likewise.
8766 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
8767 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8768 Likewise.
8769 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8770 Likewise.
8771 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
8772 Likewise.
8773 * socket/recvfrom.c (__recvfrom): Likewise.
8774 * socket/sendto.c (__sendto): Likewise.
8775 * socket/setsockopt.c (__setsockopt): Likewise.
8776 * stdio-common/_itoa.c (_itoa): Likewise.
8777 * stdio-common/_itowa.c (_itowa): Likewise.
8778 * stdio-common/reg-printf.c (__register_printf_specifier):
8779 Likewise.
8780 (__register_printf_function): Likewise.
8781 * stdio-common/tempname.c (__path_search): Likewise.
8782 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
8783 * stdlib/mul_1.c (mpn_mul_1): Likewise.
8784 * stdlib/random_r.c (__initstate_r): Likewise.
8785 * stdlib/setenv.c (__add_to_environ): Likewise.
8786 * stdlib/submul_1.c (mpn_submul_1): Likewise.
8787 * streams/getpmsg.c (getpmsg): Likewise.
8788 * streams/putmsg.c (putmsg): Likewise.
8789 * streams/putpmsg.c (putpmsg): Likewise.
8790 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
8791 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
8792 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
8793 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
8794 * sunrpc/pm_getport.c (pmap_getport): Likewise.
8795 * sunrpc/svc_udp.c (cache_get): Likewise.
8796 * sunrpc/xdr_array.c (xdr_vector): Likewise.
8797 * sysdeps/mach/hurd/getcwd.c
8798 (__canonicalize_directory_name_internal): Likewise.
8799 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
8800 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
8801 * sysdeps/mach/hurd/select.c (__select): Likewise.
8802 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
8803 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
8804 * sysdeps/sparc/nptl/pthread_barrier_init.c
8805 (__pthread_barrier_init): Likewise.
8806 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
8807 (__pthread_cond_timedwait): Likewise.
8808 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
8809 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
8810 Likewise.
8811 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
8812 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
8813 Likewise.
8814 * sysvipc/semtimedop.c (semtimedop): Likewise.
8815 * time/setitimer.c (__setitimer): Likewise.
8816 * time/strftime_l.c (emacs_strftime): Likewise.
8817
8818 2015-10-19 Mike Frysinger <vapier@gentoo.org>
8819
8820 * config.make.in (have-ssp): Delete.
8821 (stack-protector): New variable.
8822 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
8823 cache test for -fstack-protector-strong. Export stack_protector to
8824 the best ssp flag.
8825 * configure: Regenerated.
8826 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
8827 * nscd/Makefile (CFLAGS-nscd): Likewise.
8828 * resolv/Makefile (CFLAGS-libresolv): Likewise.
8829
8830 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
8831
8832 [BZ #19122]
8833 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8834 attribute_hidden.
8835
8836 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8837
8838 [BZ #18743]
8839 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8840 code to...
8841 (ELIDE_LOCK): ...here.
8842 (__get_new_count): New function with part of the code from
8843 __elide_lock that updates the value of adapt_count after a
8844 transaction abort.
8845 (__elided_trylock): Moved this code to...
8846 (ELIDE_TRYLOCK): ...here.
8847
8848 2015-10-19 Mike Frysinger <vapier@gentoo.org>
8849
8850 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8851 * configure: Regenerate.
8852 * INSTALL: Regenerate.
8853 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8854 and tweak grammar.
8855
8856 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
8857
8858 * login/programs/pt_chown.c: Include signal.h
8859 (main): Clear any signal mask from the parent process.
8860
8861 2015-10-19 Joseph Myers <joseph@codesourcery.com>
8862
8863 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8864 * configure: Regenerated.
8865 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8866 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8867 $(gnu89-inline-CFLAGS).
8868
8869 * configure.ac (libc_cv_asm_weak_directive): Remove configure
8870 test.
8871 (libc_cv_asm_weakext_directive): Likewise.
8872 * configure: Regenerated.
8873 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8874 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8875 * include/libc-symbols.h
8876 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8877 #error.
8878 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8879 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8880
8881 * sysdeps/arm/backtrace.c (__backtrace): Convert to
8882 prototype-style function definition.
8883 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8884 * sysdeps/i386/ffs.c (__ffs): Likewise.
8885 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8886 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8887 Likewise.
8888 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8889 Likewise.
8890 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8892 Likewise.
8893 * sysdeps/m68k/ffs.c (__ffs): Likewise.
8894 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8895 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8896 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8897 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8898 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8899 * sysdeps/mach/hurd/access.c (__access): Likewise.
8900 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8901 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8902 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8903 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8904 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8905 (cthread_getspecific): Likewise.
8906 (cthread_setspecific): Likewise.
8907 (__libc_getspecific): Likewise.
8908 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8909 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8910 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8911 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8912 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8913 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8914 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8915 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8916 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8917 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8918 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8919 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8920 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8921 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8922 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8923 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8924 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8925 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8926 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8927 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8928 * sysdeps/mach/hurd/link.c (__link): Likewise.
8929 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8930 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8931 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8932 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8933 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8934 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8935 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8936 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8937 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8938 * sysdeps/mach/hurd/rename.c (rename): Likewise.
8939 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8940 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8941 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8942 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8943 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8944 * sysdeps/mach/hurd/send.c (__send): Likewise.
8945 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8946 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8947 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8948 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8949 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8950 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8951 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8952 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8953 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8954 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8955 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8956 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8957 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8958 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8959 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8960 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8961 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8962 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8963 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8964 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8965 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8966 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8967 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8968 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8969 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8970 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8971 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8972 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8973 * sysdeps/posix/alarm.c (alarm): Likewise.
8974 * sysdeps/posix/cuserid.c (cuserid): Likewise.
8975 * sysdeps/posix/dirfd.c (dirfd): Likewise.
8976 * sysdeps/posix/dup.c (__dup): Likewise.
8977 * sysdeps/posix/dup2.c (__dup2): Likewise.
8978 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8979 (main): Likewise.
8980 * sysdeps/posix/flock.c (__flock): Likewise.
8981 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8982 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8983 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8984 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8985 * sysdeps/posix/isatty.c (__isatty): Likewise.
8986 * sysdeps/posix/killpg.c (killpg): Likewise.
8987 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8988 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8989 * sysdeps/posix/raise.c (raise): Likewise.
8990 * sysdeps/posix/remove.c (remove): Likewise.
8991 * sysdeps/posix/rename.c (rename): Likewise.
8992 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8993 * sysdeps/posix/seekdir.c (seekdir): Likewise.
8994 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8995 * sysdeps/posix/sigignore.c (sigignore): Likewise.
8996 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8997 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8998 * sysdeps/posix/sigset.c (sigset): Likewise.
8999 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9000 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9001 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9002 * sysdeps/posix/time.c (time): Likewise.
9003 * sysdeps/posix/ttyname.c (getttyname): Likewise.
9004 (ttyname): Likewise.
9005 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9006 * sysdeps/posix/utime.c (utime): Likewise.
9007 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9008 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9009 Likewise.
9010 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9011 (pthread_spin_trylock): Likewise.
9012 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9013 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9014 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9015 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9016 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9017 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9018 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9019 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9020 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9021 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9022 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9023 * sysdeps/s390/ffs.c (__ffs): Likewise.
9024 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9025 Likewise.
9026 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9027 Likewise.
9028 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9029 Likewise.
9030 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9031 (pthread_barrier_destroy): Likewise.
9032 * sysdeps/sparc/nptl/pthread_barrier_wait.c
9033 (__pthread_barrier_wait): Likewise.
9034 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9035 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9036 (__pthread_barrier_wait): Likewise.
9037 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9038 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9039 (memcmp_not_common_alignment): Likewise.
9040 (MEMCMP): Likewise.
9041 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9042 (_wordcopy_fwd_dest_aligned): Likewise.
9043 (_wordcopy_bwd_aligned): Likewise.
9044 (_wordcopy_bwd_dest_aligned): Likewise.
9045 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9046 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9047 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9048 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9049 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9050 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9051 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9052 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9053 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9054 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9055 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9056 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9057 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9058 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9059 * sysdeps/unix/stime.c (stime): Likewise.
9060 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9061 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9062 Likewise. Use internal_function.
9063 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9064 Convert to prototype-style function definition.
9065 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9066 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9068 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9069 Likewise. Use internal_function.
9070 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9071 prototype-style function definition
9072 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9073 Likewise.
9074 (__getlogin_r): Likewise.
9075 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9076 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9077 (__pthread_cond_broadcast): Likewise.
9078 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9079 (__pthread_cond_destroy): Likewise.
9080 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9081 (__pthread_cond_init): Likewise.
9082 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9083 (__pthread_cond_signal): Likewise.
9084 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9085 (__pthread_cond_wait): Likewise.
9086 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9087 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9088 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9089 Likewise.
9090 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9091 Likewise.
9092 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9093 Likewise.
9094 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9095 Likewise.
9096 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9098 (__ftruncate64): Likewise.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9100 (truncate64): Likewise.
9101 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9102 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9103 (pthread_getcpuclockid): Likewise.
9104 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9105 Likewise.
9106 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9107 Likewise.
9108 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9109 Likewise.
9110 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9111 Likewise.
9112 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9113 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9114 (__libc_sigaction): Likewise.
9115 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9116 Likewise.
9117 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9118 (__sigprocmask): Likewise.
9119 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9120 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9121 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9122 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9123 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9124 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9125 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9126 Likewise.
9127 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9128 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9129 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9130 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9131 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9132 Likewise.
9133 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9134 (__sigprocmask): Likewise.
9135 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9136 (cfgetispeed): Likewise.
9137 (cfsetospeed): Likewise.
9138 (cfsetispeed): Likewise.
9139 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9140 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9141 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9142 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9143 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9144 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9145 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9146 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9147 Likewise.
9148 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9149 Likewise.
9150 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9151 Likewise.
9152 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9153 Likewise.
9154 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9155
9156 2015-10-17 Florian Weimer <fweimer@redhat.com>
9157
9158 sunrpc: Rewrite with explicit TLS access using __thread.
9159 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9160 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9161 directly.
9162 (__rpc_thread_variables): Access thread_rpc_vars directly.
9163 Eliminate redundant assignment of the tvp variable.
9164
9165 2015-10-17 Florian Weimer <fweimer@redhat.com>
9166
9167 malloc: Rewrite with explicit TLS access using __thread.
9168 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9169 (tsd_setspecific, tsd_getspecific): Remove.
9170 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9171 (tsd_setspecific, tsd_getspecific): Likewise.
9172 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9173 (tsd_setspecific, tsd_getspecific): Likewise.
9174 * malloc/arena.c (thread_arena): New TLS variable.
9175 (arena_key): Remove variable.
9176 (arena_get): Use thread_arena.
9177 (arena_lookup): Remove macro.
9178 (malloc_atfork, free_atfork, ptmalloc_lock_all)
9179 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9180 (_int_new_arena, get_free_list, reused_arena)
9181 (arena_thread_freeres): Use thread_arena.
9182 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9183 tsd_getspecific, tsd_setspecific from safety annotations.
9184 (Allocating Cleared Space): Remove arena_lookup from safety
9185 annotations.
9186
9187 2015-10-17 Florian Weimer <fweimer@redhat.com>
9188
9189 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9190 struct scratch_buffer instead of extend_alloca.
9191
9192 2015-10-17 Florian Weimer <fweimer@redhat.com>
9193
9194 * sysdeps/unix/sysv/linux/kernel-features.h
9195 (__ASSUME_SOCK_CLOEXEC): Remove.
9196 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9197 (__have_paccept): Remove unused macro.
9198 * include/unistd.h (__have_sock_cloexec): Remove declaration.
9199 * misc/syslog.c (openlog_internal): Remove fallback code for
9200 !__ASSUME_SOCK_CLOEXEC.
9201 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9202 missing SOCK_CLOEXEC.
9203 * nscd/connections.c (have_sock_cloexec): Remove definition.
9204 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9205 * nscd/nscd_helper.c (open_socket): Remove fallback code for
9206 !__ASSUME_SOCK_CLOEXEC.
9207 * resolv/res_send.c (__have_o_nonblock): Remove definition.
9208 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9209 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9210 definition.
9211 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9212 code for !__ASSUME_SOCK_CLOEXEC.
9213
9214 2015-10-17 Florian Weimer <fweimer@redhat.com>
9215
9216 [BZ #18982]
9217 * manual/stdio.texi (Variable Arguments Output): Add portability
9218 note, explaining that vfprintf clobbers the va_list pointer.
9219
9220 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9221
9222 * math/libm-test.inc (fabs_test_data): Add more tests.
9223 (fdim_test_data): Likewise.
9224 (fma_test_data): Likewise.
9225 (fmax_test_data): Likewise.
9226 (fmin_test_data): Likewise.
9227 (fmod_test_data): Likewise.
9228
9229 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
9230
9231 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
9232 data.
9233
9234 2015-10-16 Joseph Myers <joseph@codesourcery.com>
9235
9236 * math/libm-test.inc (ceil_test_data): Add more tests and more
9237 expectations for "inexact".
9238 (floor_test_data): Add more tests.
9239 (round_test_data): Likewise.
9240 (trunc_test_data): Likewise.
9241
9242 * crypt/cert.c (good_bye): Convert to prototype-style function
9243 definition.
9244 (get8): Likewise.
9245 (put8): Likewise.
9246 * crypt/crypt-entry.c (crypt): Likewise.
9247 (__fcrypt): Likewise.
9248 * crypt/crypt_util.c (_ufc_prbits): Likewise.
9249 (_ufc_set_bits): Likewise.
9250 (_ufc_clearmem): Likewise.
9251 (__init_des_r): Likewise.
9252 (shuffle_sb): Likewise.
9253 (shuffle_sb): Likewise.
9254 (_ufc_setup_salt_r): Likewise.
9255 (_ufc_mk_keytab_r): Likewise.
9256 (_ufc_dofinalperm_r): Likewise.
9257 (encrypt): Likewise.
9258 (__setkey_r): Likewise.
9259 (setkey): Likewise.
9260 * crypt/md5.c (md5_init_ctx): Likewise.
9261 (md5_read_ctx): Likewise.
9262 (md5_finish_ctx): Likewise.
9263 (md5_stream): Likewise.
9264 (md5_buffer): Likewise.
9265 (md5_process_bytes): Likewise.
9266 * crypt/sha256.c (__sha256_init_ctx): Likewise.
9267 (__sha256_finish_ctx): Likewise.
9268 (__sha256_process_bytes): Likewise.
9269 * crypt/sha512.c (__sha512_init_ctx): Likewise.
9270 (__sha512_finish_ctx): Likewise.
9271 (__sha512_process_bytes): Likewise.
9272 * ctype/isctype.c (__isctype): Likewise.
9273 * debug/backtrace.c (__backtrace): Likewise.
9274 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9275 * debug/fgets_chk.c (__fgets_chk): Likewise.
9276 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9277 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9278 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9279 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9280 * debug/memset_chk.c (__memset_chk): Likewise.
9281 * debug/strcat_chk.c (__strcat_chk): Likewise.
9282 * debug/strncat_chk.c (__strncat_chk): Likewise.
9283 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9284 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9285 * dirent/dirfd.c (dirfd): Likewise.
9286 * dirent/getdents.c (__getdirentries): Likewise.
9287 * dirent/getdents64.c (getdirentries64): Likewise.
9288 * dirent/rewinddir.c (__rewinddir): Likewise.
9289 * dirent/seekdir.c (seekdir): Likewise.
9290 * dirent/telldir.c (telldir): Likewise.
9291 * elf/sln.c (makesymlinks): Likewise.
9292 (makesymlink): Likewise.
9293 * gmon/gmon.c (__moncontrol): Likewise.
9294 (__monstartup): Likewise.
9295 (write_hist): Likewise.
9296 (write_call_graph): Likewise.
9297 (write_bb_counts): Likewise.
9298 * grp/setgroups.c (setgroups): Likewise.
9299 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9300 * inet/inet_net.c (inet_network): Likewise.
9301 * inet/inet_netof.c (inet_netof): Likewise.
9302 * inet/rcmd.c (rresvport_af): Likewise.
9303 (rresvport): Likewise.
9304 * io/access.c (__access): Likewise.
9305 * io/chdir.c (__chdir): Likewise.
9306 * io/chmod.c (__chmod): Likewise.
9307 * io/chown.c (__chown): Likewise.
9308 * io/close.c (__close): Likewise.
9309 * io/creat.c (creat): Likewise.
9310 * io/creat64.c (creat64): Likewise.
9311 * io/dup.c (__dup): Likewise.
9312 * io/dup2.c (__dup2): Likewise.
9313 * io/dup3.c (__dup3): Likewise.
9314 * io/euidaccess.c (__euidaccess): Likewise.
9315 * io/faccessat.c (faccessat): Likewise.
9316 * io/fchmod.c (__fchmod): Likewise.
9317 * io/fchmodat.c (fchmodat): Likewise.
9318 * io/fchown.c (__fchown): Likewise.
9319 * io/fchownat.c (fchownat): Likewise.
9320 * io/fcntl.c (__fcntl): Likewise.
9321 * io/flock.c (__flock): Likewise.
9322 * io/fts.c (fts_load): Likewise.
9323 (fts_close): Likewise.
9324 (fts_read): Likewise.
9325 (fts_set): Likewise.
9326 (fts_children): Likewise.
9327 (fts_build): Likewise.
9328 (fts_stat): Likewise.
9329 (fts_sort): Likewise.
9330 (fts_alloc): Likewise.
9331 (fts_lfree): Likewise.
9332 (fts_palloc): Likewise.
9333 (fts_padjust): Likewise.
9334 (fts_maxarglen): Likewise.
9335 (fts_safe_changedir): Likewise.
9336 * io/getwd.c (getwd): Likewise.
9337 * io/isatty.c (__isatty): Likewise.
9338 * io/lchown.c (__lchown): Likewise.
9339 * io/link.c (__link): Likewise.
9340 * io/linkat.c (linkat): Likewise.
9341 * io/lseek.c (__libc_lseek): Likewise.
9342 * io/mkdir.c (__mkdir): Likewise.
9343 * io/mkdirat.c (mkdirat): Likewise.
9344 * io/mkfifo.c (mkfifo): Likewise.
9345 * io/mkfifoat.c (mkfifoat): Likewise.
9346 * io/open.c (__libc_open): Likewise.
9347 * io/open64.c (__libc_open64): Likewise.
9348 * io/readlink.c (__readlink): Likewise.
9349 * io/readlinkat.c (readlinkat): Likewise.
9350 * io/rmdir.c (__rmdir): Likewise.
9351 * io/symlink.c (__symlink): Likewise.
9352 * io/symlinkat.c (symlinkat): Likewise.
9353 * io/ttyname.c (ttyname): Likewise.
9354 * io/ttyname_r.c (__ttyname_r): Likewise.
9355 * io/umask.c (__umask): Likewise.
9356 * io/unlink.c (__unlink): Likewise.
9357 * io/unlinkat.c (unlinkat): Likewise.
9358 * io/utime.c (utime): Likewise.
9359 * libio/clearerr.c (clearerr): Likewise.
9360 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
9361 * libio/feof.c (_IO_feof): Likewise.
9362 * libio/feof_u.c (feof_unlocked): Likewise.
9363 * libio/ferror.c (_IO_ferror): Likewise.
9364 * libio/ferror_u.c (ferror_unlocked): Likewise.
9365 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9366 * libio/fileno.c (__fileno): Likewise.
9367 * libio/fputc.c (fputc): Likewise.
9368 * libio/fputc_u.c (fputc_unlocked): Likewise.
9369 * libio/fputwc.c (fputwc): Likewise.
9370 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
9371 * libio/freopen.c (freopen): Likewise.
9372 * libio/freopen64.c (freopen64): Likewise.
9373 * libio/fseek.c (fseek): Likewise.
9374 * libio/fseeko.c (fseeko): Likewise.
9375 * libio/fseeko64.c (fseeko64): Likewise.
9376 * libio/ftello.c (__ftello): Likewise.
9377 * libio/ftello64.c (ftello64): Likewise.
9378 * libio/fwide.c (fwide): Likewise.
9379 * libio/genops.c (_IO_un_link): Likewise.
9380 (_IO_link_in): Likewise.
9381 (_IO_least_marker): Likewise.
9382 (_IO_switch_to_main_get_area): Likewise.
9383 (_IO_switch_to_backup_area): Likewise.
9384 (_IO_switch_to_get_mode): Likewise.
9385 (_IO_free_backup_area): Likewise.
9386 (_IO_switch_to_put_mode): Likewise.
9387 (__overflow): Likewise.
9388 (__underflow): Likewise.
9389 (__uflow): Likewise.
9390 (_IO_setb): Likewise.
9391 (_IO_doallocbuf): Likewise.
9392 (_IO_default_underflow): Likewise.
9393 (_IO_default_uflow): Likewise.
9394 (_IO_default_xsputn): Likewise.
9395 (_IO_sgetn): Likewise.
9396 (_IO_default_xsgetn): Likewise.
9397 (_IO_sync): Likewise.
9398 (_IO_default_setbuf): Likewise.
9399 (_IO_default_seekpos): Likewise.
9400 (_IO_default_doallocate): Likewise.
9401 (_IO_init): Likewise.
9402 (_IO_old_init): Likewise.
9403 (_IO_default_sync): Likewise.
9404 (_IO_default_finish): Likewise.
9405 (_IO_default_seekoff): Likewise.
9406 (_IO_sputbackc): Likewise.
9407 (_IO_sungetc): Likewise.
9408 (_IO_set_column): Likewise.
9409 (_IO_set_column): Likewise.
9410 (_IO_adjust_column): Likewise.
9411 (_IO_get_column): Likewise.
9412 (_IO_init_marker): Likewise.
9413 (_IO_remove_marker): Likewise.
9414 (_IO_marker_difference): Likewise.
9415 (_IO_marker_delta): Likewise.
9416 (_IO_seekmark): Likewise.
9417 (_IO_unsave_markers): Likewise.
9418 (_IO_nobackup_pbackfail): Likewise.
9419 (_IO_default_pbackfail): Likewise.
9420 (_IO_default_seek): Likewise.
9421 (_IO_default_stat): Likewise.
9422 (_IO_default_read): Likewise.
9423 (_IO_default_write): Likewise.
9424 (_IO_default_showmanyc): Likewise.
9425 (_IO_default_imbue): Likewise.
9426 (_IO_iter_next): Likewise.
9427 (_IO_iter_file): Likewise.
9428 * libio/getc.c (_IO_getc): Likewise.
9429 * libio/getwc.c (_IO_getwc): Likewise.
9430 * libio/iofclose.c (_IO_new_fclose): Likewise.
9431 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9432 * libio/iofflush.c (_IO_fflush): Likewise.
9433 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
9434 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
9435 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
9436 * libio/iofgets.c (_IO_fgets): Likewise.
9437 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
9438 * libio/iofgetws.c (fgetws): Likewise.
9439 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9440 * libio/iofopen64.c (_IO_fopen64): Likewise.
9441 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9442 (_IO_cookie_write): Likewise.
9443 (_IO_cookie_seek): Likewise.
9444 (_IO_cookie_close): Likewise.
9445 (_IO_cookie_seekoff): Likewise.
9446 (_IO_old_cookie_seek): Likewise.
9447 * libio/iofputs.c (_IO_fputs): Likewise.
9448 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
9449 * libio/iofputws.c (fputws): Likewise.
9450 * libio/iofputws_u.c (fputws_unlocked): Likewise.
9451 * libio/iofread.c (_IO_fread): Likewise.
9452 * libio/iofread_u.c (__fread_unlocked): Likewise.
9453 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
9454 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
9455 * libio/ioftell.c (_IO_ftell): Likewise.
9456 * libio/iofwrite.c (_IO_fwrite): Likewise.
9457 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9458 * libio/iogets.c (_IO_gets): Likewise.
9459 * libio/iopadn.c (_IO_padn): Likewise.
9460 * libio/iopopen.c (_IO_new_proc_open): Likewise.
9461 (_IO_new_popen): Likewise.
9462 (_IO_new_proc_close): Likewise.
9463 * libio/ioputs.c (_IO_puts): Likewise.
9464 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
9465 (_IO_seekoff): Likewise.
9466 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
9467 (_IO_seekpos): Likewise.
9468 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
9469 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
9470 * libio/ioungetc.c (_IO_ungetc): Likewise.
9471 * libio/ioungetwc.c (ungetwc): Likewise.
9472 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9473 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
9474 * libio/iowpadn.c (_IO_wpadn): Likewise.
9475 * libio/libc_fatal.c (__libc_fatal): Likewise.
9476 * libio/memstream.c (__open_memstream): Likewise.
9477 (_IO_mem_sync): Likewise.
9478 (_IO_mem_finish): Likewise.
9479 * libio/oldfileops.c (_IO_old_file_init): Likewise.
9480 (_IO_old_file_close_it): Likewise.
9481 (_IO_old_file_finish): Likewise.
9482 (_IO_old_file_fopen): Likewise.
9483 (_IO_old_file_attach): Likewise.
9484 (_IO_old_file_setbuf): Likewise.
9485 (_IO_old_do_write): Likewise.
9486 (old_do_write): Likewise.
9487 (_IO_old_file_underflow): Likewise.
9488 (_IO_old_file_overflow): Likewise.
9489 (_IO_old_file_sync): Likewise.
9490 (_IO_old_file_seekoff): Likewise.
9491 (_IO_old_file_write): Likewise.
9492 (_IO_old_file_xsputn): Likewise.
9493 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
9494 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9495 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
9496 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
9497 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9498 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
9499 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
9500 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
9501 (_IO_old_popen): Likewise.
9502 (_IO_old_proc_close): Likewise.
9503 * libio/oldpclose.c (__old_pclose): Likewise.
9504 * libio/pclose.c (__new_pclose): Likewise.
9505 * libio/peekc.c (_IO_peekc_locked): Likewise.
9506 * libio/putc.c (_IO_putc): Likewise.
9507 * libio/putc_u.c (putc_unlocked): Likewise.
9508 * libio/putchar.c (putchar): Likewise.
9509 * libio/putchar_u.c (putchar_unlocked): Likewise.
9510 * libio/putwc.c (putwc): Likewise.
9511 * libio/putwc_u.c (putwc_unlocked): Likewise.
9512 * libio/putwchar.c (putwchar): Likewise.
9513 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
9514 * libio/rewind.c (rewind): Likewise.
9515 * libio/setbuf.c (setbuf): Likewise.
9516 * libio/setlinebuf.c (setlinebuf): Likewise.
9517 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9518 * libio/vscanf.c (_IO_vscanf): Likewise.
9519 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
9520 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
9521 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
9522 * libio/wgenops.c (_IO_least_wmarker): Likewise.
9523 (_IO_switch_to_main_wget_area): Likewise.
9524 (_IO_switch_to_wbackup_area): Likewise.
9525 (_IO_wsetb): Likewise.
9526 (_IO_wdefault_pbackfail): Likewise.
9527 (_IO_wdefault_finish): Likewise.
9528 (_IO_wdefault_uflow): Likewise.
9529 (__woverflow): Likewise.
9530 (__wuflow): Likewise.
9531 (__wunderflow): Likewise.
9532 (_IO_wdefault_xsputn): Likewise.
9533 (_IO_wdefault_xsgetn): Likewise.
9534 (_IO_wdoallocbuf): Likewise.
9535 (_IO_wdefault_doallocate): Likewise.
9536 (_IO_switch_to_wget_mode): Likewise.
9537 (_IO_free_wbackup_area): Likewise.
9538 (_IO_switch_to_wput_mode): Likewise.
9539 (_IO_sputbackwc): Likewise.
9540 (_IO_sungetwc): Likewise.
9541 (_IO_adjust_wcolumn): Likewise.
9542 (_IO_init_wmarker): Likewise.
9543 (_IO_wmarker_delta): Likewise.
9544 (_IO_seekwmark): Likewise.
9545 (_IO_unsave_wmarkers): Likewise.
9546 * libio/wmemstream.c (open_wmemstream): Likewise.
9547 (_IO_wmem_sync): Likewise.
9548 (_IO_wmem_finish): Likewise.
9549 * locale/nl_langinfo.c (nl_langinfo): Likewise.
9550 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
9551 * locale/programs/simple-hash.c (init_hash): Likewise.
9552 (delete_hash): Likewise.
9553 (insert_entry): Likewise.
9554 (set_entry): Likewise.
9555 (next_prime): Likewise.
9556 (is_prime): Likewise.
9557 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
9558 (xmalloc): Likewise.
9559 (xrealloc): Likewise.
9560 * locale/programs/xstrdup.c (xstrdup): Likewise.
9561 * localedata/collate-test.c (xstrcoll): Likewise.
9562 * localedata/xfrm-test.c (xstrcmp): Likewise.
9563 * login/getlogin_r.c (__getlogin_r): Likewise.
9564 * login/getpt.c (__posix_openpt): Likewise.
9565 * login/login_tty.c (login_tty): Likewise.
9566 * login/setlogin.c (setlogin): Likewise.
9567 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
9568 (mach_msg_destroy_port): Likewise.
9569 (mach_msg_destroy_memory): Likewise.
9570 * malloc/mcheck.c (flood): Likewise.
9571 * misc/acct.c (acct): Likewise.
9572 * misc/brk.c (__brk): Likewise.
9573 * misc/chflags.c (chflags): Likewise.
9574 * misc/chroot.c (chroot): Likewise.
9575 * misc/fchflags.c (fchflags): Likewise.
9576 * misc/fstab.c (getfsspec): Likewise.
9577 (getfsfile): Likewise.
9578 * misc/fsync.c (fsync): Likewise.
9579 * misc/ftruncate.c (__ftruncate): Likewise.
9580 * misc/ftruncate64.c (__ftruncate64): Likewise.
9581 * misc/getdomain.c (getdomainname): Likewise.
9582 (getdomainname): Likewise.
9583 * misc/gethostname.c (__gethostname): Likewise.
9584 * misc/getpass.c (getpass): Likewise.
9585 * misc/getttyent.c (skip): Likewise.
9586 (value): Likewise.
9587 * misc/gtty.c (gtty): Likewise.
9588 * misc/hsearch.c (hsearch): Likewise.
9589 (hcreate): Likewise.
9590 * misc/hsearch_r.c (__hcreate_r): Likewise.
9591 (__hdestroy_r): Likewise.
9592 * misc/ioctl.c (__ioctl): Likewise.
9593 * misc/mkdtemp.c (mkdtemp): Likewise.
9594 * misc/mkostemp.c (mkostemp): Likewise.
9595 * misc/mkostemp64.c (mkostemp64): Likewise.
9596 * misc/mkostemps.c (mkostemps): Likewise.
9597 * misc/mkostemps64.c (mkostemps64): Likewise.
9598 * misc/mkstemp.c (mkstemp): Likewise.
9599 * misc/mkstemp64.c (mkstemp64): Likewise.
9600 * misc/mkstemps.c (mkstemps): Likewise.
9601 * misc/mkstemps64.c (mkstemps64): Likewise.
9602 * misc/mktemp.c (__mktemp): Likewise.
9603 * misc/preadv.c (preadv): Likewise.
9604 * misc/preadv64.c (preadv64): Likewise.
9605 * misc/pwritev.c (pwritev): Likewise.
9606 * misc/pwritev64.c (pwritev64): Likewise.
9607 * misc/readv.c (__readv): Likewise.
9608 * misc/revoke.c (revoke): Likewise.
9609 * misc/setdomain.c (setdomainname): Likewise.
9610 * misc/setegid.c (setegid): Likewise.
9611 * misc/seteuid.c (seteuid): Likewise.
9612 * misc/sethostid.c (sethostid): Likewise.
9613 * misc/sethostname.c (sethostname): Likewise.
9614 * misc/setregid.c (__setregid): Likewise.
9615 * misc/setreuid.c (__setreuid): Likewise.
9616 * misc/sstk.c (sstk): Likewise.
9617 * misc/stty.c (stty): Likewise.
9618 * misc/syscall.c (syscall): Likewise.
9619 * misc/syslog.c (setlogmask): Likewise.
9620 * misc/truncate.c (__truncate): Likewise.
9621 * misc/truncate64.c (truncate64): Likewise.
9622 * misc/ualarm.c (ualarm): Likewise.
9623 * misc/usleep.c (usleep): Likewise.
9624 * misc/ustat.c (ustat): Likewise.
9625 * misc/writev.c (__writev): Likewise.
9626 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
9627 * nptl/old_pthread_cond_broadcast.c
9628 (__pthread_cond_broadcast_2_0): Likewise.
9629 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
9630 Likewise.
9631 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
9632 Likewise.
9633 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
9634 Likewise.
9635 * nptl/pt-raise.c (raise): Likewise.
9636 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
9637 Likewise.
9638 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
9639 * nptl/pthread_barrierattr_destroy.c
9640 (pthread_barrierattr_destroy): Likewise.
9641 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
9642 Likewise.
9643 * nptl/pthread_barrierattr_setpshared.c
9644 (pthread_barrierattr_setpshared): Likewise.
9645 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9646 Likewise.
9647 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
9648 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
9649 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
9650 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
9651 Likewise.
9652 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
9653 Likewise.
9654 * nptl/pthread_condattr_getpshared.c
9655 (pthread_condattr_getpshared): Likewise.
9656 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
9657 Likewise.
9658 * nptl/pthread_condattr_setpshared.c
9659 (pthread_condattr_setpshared): Likewise.
9660 * nptl/pthread_detach.c (pthread_detach): Likewise.
9661 * nptl/pthread_equal.c (__pthread_equal): Likewise.
9662 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
9663 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
9664 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
9665 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
9666 Likewise.
9667 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
9668 Likewise.
9669 * nptl/pthread_mutex_getprioceiling.c
9670 (pthread_mutex_getprioceiling): Likewise.
9671 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
9672 Likewise.
9673 * nptl/pthread_mutexattr_getprotocol.c
9674 (pthread_mutexattr_getprotocol): Likewise.
9675 * nptl/pthread_mutexattr_getpshared.c
9676 (pthread_mutexattr_getpshared): Likewise.
9677 * nptl/pthread_mutexattr_getrobust.c
9678 (pthread_mutexattr_getrobust): Likewise.
9679 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
9680 Likewise.
9681 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
9682 Likewise.
9683 * nptl/pthread_mutexattr_setprioceiling.c
9684 (pthread_mutexattr_setprioceiling): Likewise.
9685 * nptl/pthread_mutexattr_setprotocol.c
9686 (pthread_mutexattr_setprotocol): Likewise.
9687 * nptl/pthread_mutexattr_setpshared.c
9688 (pthread_mutexattr_setpshared): Likewise.
9689 * nptl/pthread_mutexattr_setrobust.c
9690 (pthread_mutexattr_setrobust): Likewise.
9691 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
9692 Likewise.
9693 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
9694 Likewise.
9695 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
9696 Likewise.
9697 * nptl/pthread_rwlockattr_getkind_np.c
9698 (pthread_rwlockattr_getkind_np): Likewise.
9699 * nptl/pthread_rwlockattr_getpshared.c
9700 (pthread_rwlockattr_getpshared): Likewise.
9701 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
9702 Likewise.
9703 * nptl/pthread_rwlockattr_setkind_np.c
9704 (pthread_rwlockattr_setkind_np): Likewise.
9705 * nptl/pthread_rwlockattr_setpshared.c
9706 (pthread_rwlockattr_setpshared): Likewise.
9707 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
9708 Likewise.
9709 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
9710 Likewise.
9711 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
9712 Likewise.
9713 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9714 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
9715 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
9716 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
9717 * nptl/sem_close.c (sem_close): Likewise.
9718 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
9719 * nptl/sem_init.c (__old_sem_init): Likewise.
9720 * nptl/sigaction.c (__sigaction): Likewise.
9721 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9722 * posix/_exit.c (_exit): Likewise.
9723 * posix/alarm.c (alarm): Likewise.
9724 * posix/confstr.c (confstr): Likewise.
9725 * posix/fpathconf.c (__fpathconf): Likewise.
9726 * posix/getgroups.c (__getgroups): Likewise.
9727 * posix/getpgid.c (__getpgid): Likewise.
9728 * posix/group_member.c (__group_member): Likewise.
9729 * posix/pathconf.c (__pathconf): Likewise.
9730 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
9731 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
9732 * posix/setgid.c (__setgid): Likewise.
9733 * posix/setpgid.c (__setpgid): Likewise.
9734 * posix/setuid.c (__setuid): Likewise.
9735 * posix/sleep.c (__sleep): Likewise.
9736 * posix/sysconf.c (__sysconf): Likewise.
9737 * posix/times.c (__times): Likewise.
9738 * posix/uname.c (__uname): Likewise.
9739 * posix/waitid.c (__waitid): Likewise.
9740 * pwd/getpw.c (__getpw): Likewise.
9741 * resolv/base64.c (b64_pton): Likewise.
9742 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
9743 * resolv/gethnamaddr.c (Dprintf): Likewise.
9744 (gethostbyname): Likewise.
9745 (gethostbyname2): Likewise.
9746 (gethostbyaddr): Likewise.
9747 (_sethtent): Likewise.
9748 (_gethtbyname): Likewise.
9749 (_gethtbyname2): Likewise.
9750 (_gethtbyaddr): Likewise.
9751 (map_v4v6_address): Likewise.
9752 (map_v4v6_hostent): Likewise.
9753 (addrsort): Likewise.
9754 (ht_sethostent): Likewise.
9755 (ht_gethostbyname): Likewise.
9756 (ht_gethostbyaddr): Likewise.
9757 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
9758 (inet_net_ntop_ipv4): Likewise.
9759 * resolv/inet_neta.c (inet_neta): Likewise.
9760 * resolv/inet_ntop.c (inet_ntop): Likewise.
9761 (inet_ntop4): Likewise.
9762 (inet_ntop6): Likewise.
9763 * resolv/inet_pton.c (__inet_pton): Likewise.
9764 (inet_pton4): Likewise.
9765 (inet_pton6): Likewise.
9766 * resolv/res_debug.c (loc_aton): Likewise.
9767 (loc_ntoa): Likewise.
9768 * resource/getpriority.c (__getpriority): Likewise.
9769 * resource/getrusage.c (__getrusage): Likewise.
9770 * resource/nice.c (nice): Likewise.
9771 * resource/setpriority.c (__setpriority): Likewise.
9772 * resource/setrlimit64.c (setrlimit64): Likewise.
9773 * resource/vlimit.c (vlimit): Likewise.
9774 * resource/vtimes.c (vtimes): Likewise.
9775 * rt/aio_error.c (aio_error): Likewise.
9776 * rt/aio_return.c (aio_return): Likewise.
9777 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
9778 * signal/kill.c (__kill): Likewise.
9779 * signal/killpg.c (killpg): Likewise.
9780 * signal/raise.c (raise): Likewise.
9781 * signal/sigaction.c (__sigaction): Likewise.
9782 * signal/sigaddset.c (sigaddset): Likewise.
9783 * signal/sigaltstack.c (sigaltstack): Likewise.
9784 * signal/sigandset.c (sigandset): Likewise.
9785 * signal/sigblock.c (__sigblock): Likewise.
9786 * signal/sigdelset.c (sigdelset): Likewise.
9787 * signal/sigempty.c (sigemptyset): Likewise.
9788 * signal/sigfillset.c (sigfillset): Likewise.
9789 * signal/sighold.c (sighold): Likewise.
9790 * signal/sigignore.c (sigignore): Likewise.
9791 * signal/sigintr.c (siginterrupt): Likewise.
9792 * signal/sigisempty.c (sigisemptyset): Likewise.
9793 * signal/sigismem.c (sigismember): Likewise.
9794 * signal/signal.c (signal): Likewise.
9795 * signal/sigorset.c (sigorset): Likewise.
9796 * signal/sigpause.c (__sigpause): Likewise.
9797 * signal/sigpending.c (sigpending): Likewise.
9798 * signal/sigprocmask.c (__sigprocmask): Likewise.
9799 * signal/sigrelse.c (sigrelse): Likewise.
9800 * signal/sigreturn.c (__sigreturn): Likewise.
9801 * signal/sigset.c (sigset): Likewise.
9802 * signal/sigsetmask.c (__sigsetmask): Likewise.
9803 * signal/sigstack.c (sigstack): Likewise.
9804 * signal/sigsuspend.c (__sigsuspend): Likewise.
9805 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
9806 * signal/sysv_signal.c (__sysv_signal): Likewise.
9807 * socket/accept.c (accept): Likewise.
9808 * socket/accept4.c (__libc_accept4): Likewise.
9809 * socket/bind.c (__bind): Likewise.
9810 * socket/connect.c (__connect): Likewise.
9811 * socket/getpeername.c (getpeername): Likewise.
9812 * socket/getsockname.c (__getsockname): Likewise.
9813 * socket/getsockopt.c (getsockopt): Likewise.
9814 * socket/listen.c (__listen): Likewise.
9815 * socket/recv.c (__recv): Likewise.
9816 * socket/recvmsg.c (__recvmsg): Likewise.
9817 * socket/send.c (__send): Likewise.
9818 * socket/sendmsg.c (__sendmsg): Likewise.
9819 * socket/shutdown.c (shutdown): Likewise.
9820 * socket/sockatmark.c (sockatmark): Likewise.
9821 * socket/socket.c (__socket): Likewise.
9822 * stdio-common/ctermid.c (ctermid): Likewise.
9823 * stdio-common/cuserid.c (cuserid): Likewise.
9824 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
9825 * stdio-common/remove.c (remove): Likewise.
9826 * stdio-common/rename.c (rename): Likewise.
9827 * stdio-common/renameat.c (renameat): Likewise.
9828 * stdio-common/tempname.c (__gen_tempname): Likewise.
9829 * stdio-common/xbug.c (InitBuffer): Likewise.
9830 (AppendToBuffer): Likewise.
9831 (ReadFile): Likewise.
9832 * stdlib/a64l.c (a64l): Likewise.
9833 * stdlib/drand48_r.c (drand48_r): Likewise.
9834 * stdlib/getcontext.c (getcontext): Likewise.
9835 * stdlib/getenv.c (getenv): Likewise.
9836 * stdlib/l64a.c (l64a): Likewise.
9837 * stdlib/llabs.c (llabs): Likewise.
9838 * stdlib/lldiv.c (lldiv): Likewise.
9839 * stdlib/lrand48_r.c (lrand48_r): Likewise.
9840 * stdlib/mrand48_r.c (mrand48_r): Likewise.
9841 * stdlib/putenv.c (putenv): Likewise.
9842 * stdlib/random.c (__srandom): Likewise.
9843 (__initstate): Likewise.
9844 (__setstate): Likewise.
9845 * stdlib/random_r.c (__srandom_r): Likewise.
9846 (__setstate_r): Likewise.
9847 (__random_r): Likewise.
9848 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9849 * stdlib/setcontext.c (setcontext): Likewise.
9850 * stdlib/setenv.c (setenv): Likewise.
9851 (unsetenv): Likewise.
9852 * stdlib/srand48.c (srand48): Likewise.
9853 * stdlib/srand48_r.c (__srand48_r): Likewise.
9854 * stdlib/swapcontext.c (swapcontext): Likewise.
9855 * stdlib/system.c (__libc_system): Likewise.
9856 * stdlib/tst-strtod.c (expand): Likewise.
9857 * stdlib/tst-strtol.c (expand): Likewise.
9858 * stdlib/tst-strtoll.c (expand): Likewise.
9859 * streams/fattach.c (fattach): Likewise.
9860 * streams/fdetach.c (fdetach): Likewise.
9861 * streams/getmsg.c (getmsg): Likewise.
9862 * streams/isastream.c (isastream): Likewise.
9863 * string/ffs.c (__ffs): Likewise.
9864 * string/ffsll.c (ffsll): Likewise.
9865 * string/memcmp.c (memcmp_common_alignment): Likewise.
9866 (memcmp_not_common_alignment): Likewise.
9867 (MEMCMP): Likewise.
9868 * string/memcpy.c (memcpy): Likewise.
9869 * string/memmove.c (MEMMOVE): Likewise.
9870 * string/memset.c (memset): Likewise.
9871 * string/rawmemchr.c (RAWMEMCHR): Likewise.
9872 * string/strchrnul.c (STRCHRNUL): Likewise.
9873 * string/strerror.c (strerror): Likewise.
9874 * string/strndup.c (__strndup): Likewise.
9875 * string/strverscmp.c (__strverscmp): Likewise.
9876 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9877 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9878 (clnttcp_freeres): Likewise.
9879 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9880 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9881 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9882 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9883 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9884 (xdr_callhdr): Likewise.
9885 * sunrpc/rpcinfo.c (udpping): Likewise.
9886 (tcpping): Likewise.
9887 (pstatus): Likewise.
9888 (pmapdump): Likewise.
9889 (brdcst): Likewise.
9890 (deletereg): Likewise.
9891 (getprognum): Likewise.
9892 (getvers): Likewise.
9893 (get_inet_address): Likewise.
9894 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9895 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9896 (svcudp_stat): Likewise.
9897 (svcudp_recv): Likewise.
9898 (svcudp_reply): Likewise.
9899 (svcudp_getargs): Likewise.
9900 (svcudp_freeargs): Likewise.
9901 (svcudp_destroy): Likewise.
9902 * sunrpc/xdr.c (xdr_bytes): Likewise.
9903 (xdr_netobj): Likewise.
9904 (xdr_string): Likewise.
9905 (xdr_wrapstring): Likewise.
9906 * sunrpc/xdr_float.c (xdr_float): Likewise.
9907 (xdr_double): Likewise.
9908 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9909 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9910 * sysvipc/ftok.c (ftok): Likewise.
9911 * sysvipc/msgctl.c (msgctl): Likewise.
9912 * sysvipc/msgget.c (msgget): Likewise.
9913 * sysvipc/msgrcv.c (msgrcv): Likewise.
9914 * sysvipc/msgsnd.c (msgsnd): Likewise.
9915 * sysvipc/semget.c (semget): Likewise.
9916 * sysvipc/semop.c (semop): Likewise.
9917 * sysvipc/shmat.c (shmat): Likewise.
9918 * sysvipc/shmctl.c (shmctl): Likewise.
9919 * sysvipc/shmdt.c (shmdt): Likewise.
9920 * sysvipc/shmget.c (shmget): Likewise.
9921 * termios/cfmakeraw.c (cfmakeraw): Likewise.
9922 * termios/speed.c (cfgetospeed): Likewise.
9923 (cfgetispeed): Likewise.
9924 (cfsetospeed): Likewise.
9925 (cfsetispeed): Likewise.
9926 * termios/tcflow.c (tcflow): Likewise.
9927 * termios/tcflush.c (tcflush): Likewise.
9928 * termios/tcgetattr.c (__tcgetattr): Likewise.
9929 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9930 * termios/tcgetsid.c (tcgetsid): Likewise.
9931 * termios/tcsendbrk.c (tcsendbreak): Likewise.
9932 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9933 * time/adjtime.c (__adjtime): Likewise.
9934 * time/dysize.c (dysize): Likewise.
9935 * time/ftime.c (ftime): Likewise.
9936 * time/getitimer.c (__getitimer): Likewise.
9937 * time/gettimeofday.c (__gettimeofday): Likewise.
9938 * time/gmtime.c (__gmtime_r): Likewise.
9939 (gmtime): Likewise.
9940 * time/localtime.c (__localtime_r): Likewise.
9941 (localtime): Likewise.
9942 * time/offtime.c (__offtime): Likewise.
9943 * time/settimeofday.c (__settimeofday): Likewise.
9944 * time/stime.c (stime): Likewise.
9945 * time/strftime_l.c (tm_diff): Likewise.
9946 (iso_week_days): Likewise.
9947 * time/strptime.c (strptime): Likewise.
9948 * time/time.c (time): Likewise.
9949 * time/timespec_get.c (timespec_get): Likewise.
9950 * time/tzset.c (tzset_internal): Likewise.
9951 (compute_change): Likewise.
9952 (__tz_compute): Likewise.
9953 * wcsmbs/btowc.c (__btowc): Likewise.
9954 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9955 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9956 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9957 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9958 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9959 * wcsmbs/wcscat.c (__wcscat): Likewise.
9960 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9961 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9962 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9963 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9964 * wcsmbs/wcsdup.c (wcsdup): Likewise.
9965 * wcsmbs/wcslen.c (__wcslen): Likewise.
9966 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9967 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9968 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9969 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9970 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9971 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9972 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9973 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9974 * wcsmbs/wcstok.c (wcstok): Likewise.
9975 * wcsmbs/wctob.c (wctob): Likewise.
9976 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9977 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9978 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9979 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9980 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9981 * wcsmbs/wmemset.c (__wmemset): Likewise.
9982 * wctype/wcfuncs.c (__towlower): Likewise.
9983 (__towupper): Likewise.
9984
9985 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9986 (lll_unlock_elision): Add adapt_count parameter.
9987
9988 2015-10-15 Joseph Myers <joseph@codesourcery.com>
9989
9990 * sysdeps/nptl/configure.ac: Do not give errors based on the
9991 results of top-level configure tests.
9992 * sysdeps/nptl/configure: Regenerated.
9993
9994 * configure.ac (libc_cv_Bgroup): Remove configure test.
9995 * configure: Regenerated.
9996 * config.make.in (have-Bgroup): Remove variable.
9997
9998 * configure.ac (sizeof_long_double): Remove configure test.
9999 * configure: Regenerated.
10000 * config.make.in (sizeof-long-double): Remove variable.
10001
10002 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10003 * configure: Regenerated.
10004 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10005 variable.
10006 (exceptions): Likewise.
10007 * sysdeps/arm/configure: Regenerated.
10008 * config.make.in (exceptions): Remove variable.
10009 * Makeconfig (uses-callbacks): Use -fexceptions instead of
10010 $(exceptions).
10011 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10012 (CFLAGS-vdprintf_chk.c): Likewise.
10013 (CFLAGS-printf_chk.c): Likewise.
10014 (CFLAGS-fprintf_chk.c): Likewise.
10015 (CFLAGS-vprintf_chk.c): Likewise.
10016 (CFLAGS-vfprintf_chk.c): Likewise.
10017 (CFLAGS-gets_chk.c): Likewise.
10018 (CFLAGS-fgets_chk.c): Likewise.
10019 (CFLAGS-fgets_u_chk.c): Likewise.
10020 (CFLAGS-fread_chk.c): Likewise.
10021 (CFLAGS-fread_u_chk.c): Likewise.
10022 (CFLAGS-wprintf_chk.c): Likewise.
10023 (CFLAGS-fwprintf_chk.c): Likewise.
10024 (CFLAGS-vwprintf_chk.c): Likewise.
10025 (CFLAGS-vfwprintf_chk.c): Likewise.
10026 (CFLAGS-fgetws_chk.c): Likewise.
10027 (CFLAGS-fgetws_u_chk.c): Likewise.
10028 * libio/Makefile (CFLAGS-fileops.c): Likewise.
10029 (CFLAGS-fputc.c): Likewise.
10030 (CFLAGS-fputwc.c): Likewise.
10031 (CFLAGS-freopen64.c): Likewise.
10032 (CFLAGS-freopen.c): Likewise.
10033 (CFLAGS-fseek.c): Likewise.
10034 (CFLAGS-fseeko64.c): Likewise.
10035 (CFLAGS-fseeko.c): Likewise.
10036 (CFLAGS-ftello64.c): Likewise.
10037 (CFLAGS-ftello.c): Likewise.
10038 (CFLAGS-fwide.c): Likewise.
10039 (CFLAGS-genops.c): Likewise.
10040 (CFLAGS-getc.c): Likewise.
10041 (CFLAGS-getchar.c): Likewise.
10042 (CFLAGS-getwc.c): Likewise.
10043 (CFLAGS-getwchar.c): Likewise.
10044 (CFLAGS-iofclose.c): Likewise.
10045 (CFLAGS-iofflush.c): Likewise.
10046 (CFLAGS-iofgetpos64.c): Likewise.
10047 (CFLAGS-iofgetpos.c): Likewise.
10048 (CFLAGS-iofgets.c): Likewise.
10049 (CFLAGS-iofgetws.c): Likewise.
10050 (CFLAGS-iofputs.c): Likewise.
10051 (CFLAGS-iofputws.c): Likewise.
10052 (CFLAGS-iofread.c): Likewise.
10053 (CFLAGS-iofsetpos64.c): Likewise.
10054 (CFLAGS-iofsetpos.c): Likewise.
10055 (CFLAGS-ioftell.c): Likewise.
10056 (CFLAGS-iofwrite.c): Likewise.
10057 (CFLAGS-iogetdelim.c): Likewise.
10058 (CFLAGS-iogetline.c): Likewise.
10059 (CFLAGS-iogets.c): Likewise.
10060 (CFLAGS-iogetwline.c): Likewise.
10061 (CFLAGS-ioputs.c): Likewise.
10062 (CFLAGS-ioseekoff.c): Likewise.
10063 (CFLAGS-ioseekpos.c): Likewise.
10064 (CFLAGS-iosetbuffer.c): Likewise.
10065 (CFLAGS-iosetvbuf.c): Likewise.
10066 (CFLAGS-ioungetc.c): Likewise.
10067 (CFLAGS-ioungetwc.c): Likewise.
10068 (CFLAGS-oldfileops.c): Likewise.
10069 (CFLAGS-oldiofclose.c): Likewise.
10070 (CFLAGS-oldiofgetpos64.c): Likewise.
10071 (CFLAGS-oldiofgetpos.c): Likewise.
10072 (CFLAGS-oldiofsetpos64.c): Likewise.
10073 (CFLAGS-oldiofsetpos.c): Likewise.
10074 (CFLAGS-peekc.c): Likewise.
10075 (CFLAGS-putc.c): Likewise.
10076 (CFLAGS-putchar.c): Likewise.
10077 (CFLAGS-putwc.c): Likewise.
10078 (CFLAGS-putwchar.c): Likewise.
10079 (CFLAGS-rewind.c): Likewise.
10080 (CFLAGS-wfileops.c): Likewise.
10081 (CFLAGS-wgenops.c): Likewise.
10082 (CFLAGS-oldiofopen.c): Likewise.
10083 (CFLAGS-iofopen.c): Likewise.
10084 (CFLAGS-iofopen64.c): Likewise.
10085 (CFLAGS-oldtmpfile.c): Likewise.
10086 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10087 (CFLAGS-fprintf.c): Likewise.
10088 (CFLAGS-printf.c): Likewise.
10089 (CFLAGS-vfwprintf.c): Likewise.
10090 (CFLAGS-vfscanf.c): Likewise.
10091 (CFLAGS-vfwscanf.c): Likewise.
10092 (CFLAGS-fscanf.c): Likewise.
10093 (CFLAGS-scanf.c): Likewise.
10094 (CFLAGS-isoc99_vfscanf.c): Likewise.
10095 (CFLAGS-isoc99_vscanf.c): Likewise.
10096 (CFLAGS-isoc99_fscanf.c): Likewise.
10097 (CFLAGS-isoc99_scanf.c): Likewise.
10098 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10099 (CFLAGS-isoc99_fwscanf.c): Likewise.
10100 (CFLAGS-isoc99_vwscanf.c): Likewise.
10101 (CFLAGS-isoc99_vfwscanf.c): Likewise.
10102
10103 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10104 after mkstemp64.
10105 * login/tst-utmp.c (do_prepare): Likewise.
10106 * rt/tst-aio.c (do_prepare): Likewise.
10107 * rt/tst-aio64.c (do_prepare): Likewise.
10108
10109 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10110
10111 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10112 (__lll_lock_elision): Remove adapt_count decrement...
10113 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10114 (__lll_trylock_elision): Likewise.
10115 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10116 (__lll_unlock_elision): ... to here. And utilize
10117 new adapt_count parameter.
10118 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10119 (__lll_unlock_elision): Update to include adapt_count
10120 parameter.
10121 (lll_unlock_elision): Pass pointer to adapt_count
10122 variable.
10123
10124 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10125
10126 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10127 Add elision adapt_count parameter to list of arguments.
10128 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10129 (lll_unlock_elision): Update with new parameter list
10130 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10131 (lll_unlock_elision): Likewise.
10132 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10133 (lll_unlock_elision): Likewise.
10134
10135 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10136
10137 [BZ #19122]
10138 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10139 attribute_hidden.
10140
10141 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10142 attribute_hidden.
10143 [IS_IN (rtld)] (__strdup): Likewise.
10144 [IS_IN (rtld)] (__strerror_r): Likewise.
10145 [IS_IN (rtld)] (__strsep_g): Likewise.
10146 [IS_IN (rtld)] (memchr): Likewise.
10147 [IS_IN (rtld)] (memcmp): Likewise.
10148 [IS_IN (rtld)] (memcpy): Likewise.
10149 [IS_IN (rtld)] (memmove): Likewise.
10150 [IS_IN (rtld)] (memset): Likewise.
10151 [IS_IN (rtld)] (rawmemchr): Likewise.
10152 [IS_IN (rtld)] (stpcpy): Likewise.
10153 [IS_IN (rtld)] (strchr): Likewise.
10154 [IS_IN (rtld)] (strcmp): Likewise.
10155 [IS_IN (rtld)] (strlen): Likewise.
10156 [IS_IN (rtld)] (strnlen): Likewise.
10157 [IS_IN (rtld)] (strsep): Likewise.
10158
10159 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10160 attribute_hidden.
10161 [IS_IN (rtld)] (__strtoul_internal): Likewise.
10162
10163 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10164 attribute_hidden.
10165 [IS_IN (rtld)] (__libc_sigaction): Likewise.
10166
10167 * include/setjmp.h (__longjmp): Add attribute_hidden.
10168 [IS_IN (rtld)] (__sigsetjmp): Likewise.
10169
10170 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10171 Add attribute_hidden.
10172
10173 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10174 [IS_IN (rtld)] (__open): Likewise.
10175 [IS_IN (rtld)] (__fcntl): Likewise.
10176
10177 * include/dirent.h (__opendirat): Add attribute_hidden.
10178 (__getdents): Likewise.
10179 (__getdents64): Likewise.
10180 (__alloc_dir): Likewise.
10181 [IS_IN (rtld)] (__closedir): Likewise.
10182 [IS_IN (rtld)] (__fdopendir): Likewise.
10183 [IS_IN (rtld)] (__readdir): Likewise.
10184 [IS_IN (rtld)] (__readdir64): Likewise.
10185 [IS_IN (rtld)] (__rewinddir): Likewise.
10186
10187 * include/dlfcn.h (_dl_catch_error): Moved to ...
10188 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10189 attribute_hidden.
10190
10191 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10192 (_itoa_word): Likewise.
10193
10194 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10195 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10196 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10197 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10198 (_dl_higher_prime_number): Likewise.
10199 (_dl_debug_printf_c): Likewise.
10200 (_dl_signal_cerror): Likewise.
10201 (_dl_receive_error): Likewise.
10202 (_dl_reloc_bad_type): Likewise.
10203 (_dl_resolve_conflicts): Likewise.
10204 (_dl_check_all_versions): Likewise.
10205 (_dl_check_map_versions): Likewise.
10206 (_dl_sort_fini): Likewise.
10207 (_dl_debug_initialize): Likewise.
10208 (_dl_init_paths): Likewise.
10209 (_dl_show_auxv): Likewise.
10210 (_dl_next_ld_env_entry): Likewise.
10211 (_dl_important_hwcaps): Likewise.
10212 (_dl_load_cache_lookup): Likewise.
10213 (_dl_update_slotinfo): Likewise.
10214 (_dl_show_scope): Likewise.
10215
10216 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10217 attribute_hidden.
10218 (_wordcopy_fwd_dest_aligned): Likewise.
10219 (_wordcopy_bwd_aligned): Likewise.
10220 (_wordcopy_bwd_dest_aligned): Likewise.
10221
10222 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10223 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10224 Likewise.
10225 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10226 Likewise.
10227 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10228
10229 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10230
10231 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10232 GCC 5 requirement.
10233
10234 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10235
10236 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10237 test.
10238 * sysdeps/i386/configure: Regenerated.
10239 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10240 code unconditional.
10241
10242 * configure.ac (libc_cv_asm_previous_directive): Remove configure
10243 test.
10244 (libc_cv_asm_popsection_directive): Likewise.
10245 * configure: Regenerated.
10246 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10247 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10248 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10249 (__make_section_unallocated): Make definition unconditional.
10250 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10251 Remove conditional definition.
10252 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10253 (__make_section_unallocated): Likewise.
10254
10255 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10256 * configure: Regenerated.
10257 * config.make.in (static-libgcc): Remove variable.
10258 * Makerules (build-shlib-helper): Use -static-libgcc instead of
10259 $(static-libgcc).
10260 (build-module-helper): Likewise.
10261
10262 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10263 * configure: Regenerated.
10264
10265 2015-10-15 Florian Weimer <fweimer@redhat.com>
10266
10267 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10268 (struct char_buffer): New type.
10269 (char_buffer_start, char_buffer_size, char_buffer_error)
10270 (char_buffer_rewind, char_buffer_add): New functions.
10271 (ADDW): Remove macro, replaced by the char_buffer_add function.
10272 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10273 of extend_alloca. Make control flow more explicit.
10274
10275 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10276
10277 [BZ #19137]
10278 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10279 Add -fomit-frame-pointer.
10280 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10281
10282 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10283
10284 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10285 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10287 only if !__GNUC_PREREQ (5,0).
10288 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10289 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10290 (INTERNAL_SYSCALL_NCS): Likewise.
10291 (LOADREGS_0): New macro for GCC 5.
10292 (ASMARGS_0): Likewise.
10293 (LOADREGS_1): Likewise.
10294 (ASMARGS_1): Likewise.
10295 (LOADREGS_2): Likewise.
10296 (ASMARGS_2): Likewise.
10297 (LOADREGS_3): Likewise.
10298 (ASMARGS_3): Likewise.
10299 (LOADREGS_4): Likewise.
10300 (ASMARGS_4): Likewise.
10301 (LOADREGS_5): Likewise.
10302 (ASMARGS_5): Likewise.
10303 (LOADREGS_6): Likewise.
10304 (ASMARGS_6): Likewise.
10305
10306 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10309 -fomit-frame-pointer.
10310 (CFLAGS-mmap64.c): Likewise.
10311 (CFLAGS-semtimedop.c): Likewise.
10312 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10313 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10314 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10315 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10316
10317 2015-10-15 Florian Weimer <fweimer@redhat.com>
10318
10319 [BZ #18928]
10320 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10321 _dl_pointer_guard member.
10322 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10323 initializer.
10324 (security_init): Always set up pointer guard.
10325 (process_envvars): Do not process LD_POINTER_GUARD.
10326
10327 2015-10-14 Joseph Myers <joseph@codesourcery.com>
10328
10329 [BZ #19134]
10330 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10331 (.LC2): Likewise.
10332 (.LC3): Likewise.
10333 (__lround): Do not add 0.5 to integer or out-of-range arguments.
10334
10335 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
10336
10337 [BZ #19129]
10338 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10339 r0 and r1.
10340
10341 2015-10-14 Namhyung Kim <namhyung@gmail.com>
10342
10343 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10344
10345 2015-10-14 Carlos O'Donell <carlos@redhat.com>
10346
10347 * include/stap-probe.h: Fix macro definition formatting.
10348
10349 2015-10-14 Florian Weimer <fweimer@redhat.com>
10350
10351 [BZ #19074]
10352 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
10353 load and store num_ifs.
10354
10355 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10356
10357 [BZ #18822]
10358 * sysdeps/unix/sysv/linux/sched_getaffinity.c
10359 (__sched_getaffinity_new): Add libc_hidden_proto and
10360 libc_hidden_def.
10361
10362 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 [BZ #19007]
10365 * scripts/localplt.awk: Also allow GOT references.
10366 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
10367 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
10368 with "+ REL R_386_GLOB_DAT".
10369 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
10370 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
10371
10372 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
10373
10374 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
10375 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
10377 Likewise.
10378 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10379 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
10380 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10381 INTERNAL_SYSCALLINTERNAL_SYSCALL and
10382 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10383 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10384 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10385 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10386 Likewise.
10387 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10388
10389 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10390
10391 [BZ #19125]
10392 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
10393 <math_private.h> and <stdint.h>.
10394 (__llround): Avoid conversions to and from long long int, and
10395 subtractions, where those might raise spurious exceptions.
10396 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
10397 <math_private.h> and <stdint.h>.
10398 (__llroundf): Avoid conversions to and from long long int, and
10399 subtractions, where those might raise spurious exceptions.
10400
10401 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10402
10403 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
10404 INLINE_SYSCALL_ERROR_RETURN_VALUE.
10405 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10406 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
10407 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10408 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10409 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
10410 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
10411 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
10412 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10413 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10414 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10415 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
10416 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10417 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10418 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
10419 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
10420 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10421 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
10422 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
10423 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10424 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
10425 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
10426 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10427 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
10428 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10429 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
10430 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10431 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10432 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
10433 (__xstat64_conv): Likewise.
10434 (__xstat32_conv): Likewise.
10435
10436 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10437
10438 * sysdeps/unix/sysv/linux/sysdep.h: New file.
10439 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
10440 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
10441 <sysdeps/unix/sysv/linux/sysdep.h>.
10442 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10443 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
10444 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
10445 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10446 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10447 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
10448 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
10449 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
10450 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10455 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10456 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10458 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
10459 (sysdep-dl-routines): Add sysdep.
10460 [$(subdir) == nptl] (libpthread-routines): Likewise.
10461 [$(subdir) == rt] (librt-routines): Likewise.
10462 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
10463 PIC when branching to SYSCALL_ERROR_LABEL.
10464 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
10465 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
10466 <sysdeps/unix/sysv/linux/sysdep.h>.
10467 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
10468 (SYSCALL_ERROR_ERRNO): Removed.
10469 (SYSCALL_ERROR_HANDLER): Changed to empty.
10470 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
10471 (__syscall_error): New prototype.
10472 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
10473 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
10474
10475 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
10476
10477 [BZ #19124]
10478 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
10479 (_dl_runtime_resolve_avx512): Make it a hidden alias of
10480 _dl_runtime_resolve_avx.
10481 (_dl_runtime_profile_avx512): Make it a hidden alias of
10482 _dl_runtime_profile_avx.
10483
10484 2015-10-13 Joseph Myers <joseph@codesourcery.com>
10485
10486 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
10487 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
10488 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
10489 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
10490
10491 [BZ #16422]
10492 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10493 New configure test.
10494 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
10495 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
10496 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
10497 <math_private.h> and <stdint.h>.
10498 (__llrint): Avoid conversions to long long int where those might
10499 raise spurious exceptions.
10500 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
10501 <math_private.h> and <stdint.h>.
10502 (__llrintf): Avoid conversions to long long int where those might
10503 raise spurious exceptions.
10504
10505 2015-10-12 Andreas Schwab <schwab@suse.de>
10506
10507 [BZ #18969]
10508 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
10509 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
10510 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
10511 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
10512 $(gen-locales).
10513 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
10514 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
10515 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
10516 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
10517 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
10518 $(gen-locales).
10519 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
10520 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
10521 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
10522 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
10523 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
10524 ($(objpfx)tst-ftell-active-handler.out)
10525 ($(objpfx)tst-ftell-append.out)
10526 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
10527 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
10528 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
10529 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
10530 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
10531 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
10532 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
10533 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
10534 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
10535 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
10536 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
10537 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
10538 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
10539 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
10540 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
10541 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
10542 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
10543 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
10544 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
10545 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
10546 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
10547 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
10548 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
10549 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
10550 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
10551 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
10552 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
10553 $(gen-locales).
10554 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
10555 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
10556 $(gen-locales).
10557 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
10558 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
10559 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
10560 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
10561 $(gen-locales).
10562 * libio/tst_wprintf2.c (main): Use explicit locale.
10563 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
10564
10565 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10566
10567 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
10568 __msg_sig_post.
10569 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
10570
10571 2015-10-09 Joseph Myers <joseph@codesourcery.com>
10572
10573 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10574 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10575
10576 * sysdeps/arm/libm-test-ulps: Regenerated.
10577
10578 [BZ #15470]
10579 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
10580
10581 [BZ #16399]
10582 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
10583 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
10584 and <fix-fp-int-convert-overflow.h>.
10585 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10586 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10587 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
10588 and <fix-fp-int-convert-overflow.h>.
10589 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
10590 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10591 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
10592 <fix-fp-int-convert-overflow.h>.
10593 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
10594 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10595 * sysdeps/ieee754/dbl-64/s_lround.c: Include
10596 <fix-fp-int-convert-overflow.h>.
10597 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
10598 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10599 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
10600 and <fix-fp-int-convert-overflow.h>.
10601 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10602 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10603 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
10604 <limits.h> and <fix-fp-int-convert-overflow.h>.
10605 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10606 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10607 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
10608 and <fix-fp-int-convert-overflow.h>.
10609 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
10610 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10611 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
10612 and <fix-fp-int-convert-overflow.h>.
10613 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
10614 FIX_DBL_LLONG_CONVERT_OVERFLOW.
10615 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
10616
10617 2015-10-09 Carlos O'Donell <carlos@redhat.com>
10618
10619 [BZ #18589]
10620 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
10621 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
10622 $(gen-locales).
10623
10624 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10625 Phil Blundell <pb@pbcl.net>
10626
10627 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
10628 * nptl/tst-cancel26.c: New file.
10629 * nptl/tst-cancel27.c: Likewise.
10630
10631 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
10634 __ILP32__ isn't defined.
10635 (lrint): Likewise.
10636 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
10637 (lrintf): Likewise.
10638 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
10639 (lrintl): Likewise.
10640 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
10641 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
10642 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
10643
10644 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10645
10646 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10647 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10648
10649 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
10650 file.
10651 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
10652 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10653
10654 2015-10-09 Joseph Myers <joseph@codesourcery.com>
10655
10656 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
10657 configure test.
10658 * sysdeps/i386/configure: Regenerated.
10659 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
10660 configure test.
10661 * sysdeps/x86_64/configure: Regenerated.
10662 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
10663 Make code unconditional.
10664
10665 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
10666 test.
10667 * sysdeps/i386/configure: Regenerated.
10668 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
10669 test.
10670 * sysdeps/x86_64/configure: Regenerated.
10671 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
10672 Make code unconditional.
10673 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
10674 Likewise.
10675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
10676 Likewise.
10677 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10678 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
10679 code unconditional.
10680 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10681 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
10682 code unconditional.
10683 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10684 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
10685 code unconditional.
10686 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
10687 code unconditional.
10688 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10689 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
10690 code unconditional.
10691 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10692 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
10693 code unconditional.
10694 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10695 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
10696 code unconditional.
10697 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10698 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
10699 code unconditional.
10700 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
10701 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
10702
10703 [BZ #19095]
10704 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
10705 mantissa to long int before shifting left.
10706
10707 2015-10-08 Joseph Myers <joseph@codesourcery.com>
10708
10709 [BZ #19094]
10710 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
10711 <limits.h>.
10712 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10713 when result overflows but exception would not result from cast.
10714 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
10715 <limits.h>.
10716 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10717 when result overflows but exception would not result from cast.
10718 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
10719 <limits.h>.
10720 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10721 when result overflows but exception would not result from cast.
10722 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
10723 <limits.h>.
10724 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10725 when result overflows but exception would not result from cast.
10726 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
10727 <limits.h>.
10728 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
10729 when result overflows but exception would not result from cast.
10730 * math/libm-test.inc (lrint_test_data): Add more tests.
10731 (llrint_test_data): Likewise.
10732
10733 2015-10-08 Roland McGrath <roland@hack.frob.com>
10734
10735 [BZ #18872]
10736 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
10737 Move out from under [$(run-built-tests) = yes] conditional.
10738 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
10739 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
10740
10741 2015-10-08 Carlos O'Donell <carlos@redhat.com>
10742
10743 [BZ #18589]
10744 * string/Makefile (tests): Add bug-strcoll2.
10745 (LOCALES): Add cs_CZ.UTF-8.
10746 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
10747
10748 [BZ #18589]
10749 * string/bug-strcoll2.c: New file.
10750 * locale/categories.def: Revert commit
10751 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
10752 * locale/langinfo.h: Likewise.
10753 * locale/localeinfo.h: Likewise.
10754 * locale/C-collate.c: Likewise.
10755 * locale/programs/ld-collate.c (collate_output): Likewise.
10756 * string/strcoll_l.c (STRDIFF): Likewise.
10757 (STRCOLL): Likewise.
10758 * wcsmbs/wcscoll_l.c: Likewise.
10759
10760 2015-10-08 Joseph Myers <joseph@codesourcery.com>
10761
10762 * math/libm-test.inc (lround_test_data): Do not expect the absence
10763 of "inexact" for some tests with non-integer arguments.
10764 (llround_test_data): Likewise.
10765
10766 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
10767 test.
10768 (libc_cv_cc_sse2avx): Likewise.
10769 * sysdeps/i386/configure: Regenerated.
10770 * sysdeps/i386/i686/multiarch/Makefile
10771 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
10772 [$(subdir) = math].
10773 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
10774 code unconditional.
10775 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10776 Likewise.
10777 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
10778 Likewise.
10779 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10780 Likewise.
10781 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
10782 test.
10783 (libc_cv_cc_sse2avx): Likewise.
10784 * sysdeps/x86_64/configure: Regenerated.
10785 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
10786 unconditional.
10787 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
10788 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
10789 unconditional.
10790 (_dl_runtime_profile)
10791 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
10792 conditional code.
10793 * sysdeps/x86_64/fpu/multiarch/Makefile
10794 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
10795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10796 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10797 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10798 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10799 * sysdeps/x86_64/fpu/multiarch/e_log.c
10800 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10801 * sysdeps/x86_64/fpu/multiarch/s_atan.c
10802 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10803 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
10804 Likewise.
10805 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
10806 Likewise.
10807 * sysdeps/x86_64/fpu/multiarch/s_sin.c
10808 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10809 * sysdeps/x86_64/fpu/multiarch/s_tan.c
10810 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10811 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
10812 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
10813 (HAVE_SSE2AVX_SUPPORT): Likewise.
10814
10815 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
10816
10817 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
10818 instead of #pragma optimize.
10819
10820 2015-10-07 Carlos O'Donell <carlos@redhat.com>
10821
10822 [BZ #17195]
10823 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
10824 as is similarly done in systrim and _int_free already.
10825
10826 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10827
10828 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10829
10830 2015-10-07 Joseph Myers <joseph@codesourcery.com>
10831
10832 [BZ #19088]
10833 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10834 <limits.h>.
10835 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10836 overflows but exception would not result from cast.
10837 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10838 and <limits.h>.
10839 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10840 overflows but exception would not result from cast.
10841 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10842 <limits.h>.
10843 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10844 overflows but exception would not result from cast.
10845 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10846 <limits.h>.
10847 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10848 overflows but exception would not result from cast.
10849 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10850 <limits.h>.
10851 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10852 overflows but exception would not result from cast.
10853 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10854 <limits.h>.
10855 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10856 overflows but exception would not result from cast.
10857 * math/libm-test.inc (lround_test_data): Add more tests.
10858 (llround_test_data): Likewise.
10859
10860 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
10861
10862 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10863 (CFLAGS-ialloc.c): Ditto.
10864 (CFLAGS-scheck.c): Ditto.
10865
10866 2015-10-07 Carlos O'Donell <carlos@redhat.com>
10867
10868 [BZ #19086]
10869 * manual/filesys.texi (Storage Allocation): Fix argument order for
10870 posix_fallocate64.
10871
10872 2015-10-07 Joseph Myers <joseph@codesourcery.com>
10873
10874 [BZ #19085]
10875 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10876 exponent below 48 inside case for non-overflowing exponent.
10877 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10878
10879 2015-10-07 Florian Weimer <fweimer@redhat.com>
10880
10881 * iconvdata/cp737.h (from_idx): Add const.
10882 * iconvdata/cp775.h (from_idx): Likewise.
10883
10884 2015-10-07 Joseph Myers <joseph@codesourcery.com>
10885
10886 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10887 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10888 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10889
10890 [BZ #19079]
10891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10892 file, conditioned on [!_LP64].
10893 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10894 [!_LP64] (__lround): Do not define as function or alias.
10895 [!_LP64] (lround): Likewise.
10896 [!_LP64] (__lroundl): Likewise.
10897 [!_LP64] (lroundl): Likewise.
10898 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10899 macro.
10900 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10901 Likewise.
10902
10903 2015-10-06 Joseph Myers <joseph@codesourcery.com>
10904
10905 * math/libm-test.inc (lrint_test_data): Add more tests.
10906 (llrint_test_data): Likewise.
10907 (lround_test_data): Likewise.
10908 (llround_test_data): Likewise.
10909
10910 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10911 (llrint_test_data): Add tests used for lrint.
10912
10913 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10914 test.
10915 * sysdeps/i386/configure: Regenerated.
10916 * sysdeps/i386/i686/multiarch/Makefile
10917 [$(config-cflags-sse4) = yes]: Make code unconditional.
10918 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10919 Likewise.
10920 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10921 Likewise.
10922 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10923 test.
10924 * sysdeps/x86_64/configure: Regenerated.
10925 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10926 Make code unconditional.
10927 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10928 Likewise.
10929 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10930 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10931
10932 * scripts/rpm2dynsym.sh: Remove file.
10933
10934 2015-10-06 Florian Weimer <fweimer@redhat.com>
10935
10936 * configure.ac (libc_cv_cxx_thread_local): Define.
10937 * configure: Regenerate.
10938 * config.make.in (have-cxx-thread_local): Define.
10939 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10940 (LDLIBS-tst-thread_local1): Define.
10941 (tests): Add tst-thread_local1.
10942 [have-cxx-thread_local != yes] (tests-unsupported): Add
10943 tst-thread_local1.
10944 * nptl/tst-thread_local1.cc: New file.
10945
10946 2015-10-06 Joseph Myers <joseph@codesourcery.com>
10947
10948 [BZ #19078]
10949 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10950 (u_thres): Likewise.
10951 (__expl): Determine whether to call __kernel_standard_l based on
10952 value of result, not argument.
10953
10954 * math/libm-test.inc (scalb_test_data): Add more expectations for
10955 the "inexact" exception.
10956
10957 [BZ #19077]
10958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10959 0.0L for argument 1.0L.
10960
10961 [BZ #19076]
10962 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10963 constant 0.0L when computing infinite result.
10964
10965 2015-10-06 Florian Weimer <fweimer@redhat.com>
10966
10967 [BZ #10432]
10968 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10969 malloc_usable_size.
10970
10971 2015-10-06 Florian Weimer <fweimer@redhat.com>
10972
10973 [BZ #19018]
10974 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10975 Mangle function pointer before storing it.
10976 (__call_tls_dtors): Demangle function pointer before calling it.
10977
10978 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10979
10980 [BZ #19012]
10981 * iconv/gconv_db.c (gen_steps): Check for additional errors.
10982 Clean up on failure.
10983
10984 2015-10-05 Joseph Myers <joseph@codesourcery.com>
10985
10986 [BZ #19071]
10987 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10988 long int variable to store possibly incremented high part of
10989 mantissa.
10990 * math/libm-test.inc (lround_test_data): Add tests used for
10991 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
10992 for tests requiring 64-bit long. Do not condition tests on
10993 [TEST_FLOAT] unnecessarily.
10994 (llround_test_data): Add tests used for lround. Add another
10995 expectation for the "inexact" exception. Do not condition tests
10996 on [TEST_FLOAT] unnecessarily.
10997
10998 [BZ #887]
10999 [BZ #19049]
11000 [BZ #19050]
11001 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11002 * sysdeps/ieee754/dbl-64/e_log10.c: Include
11003 <fix-int-fp-convert-zero.h>.
11004 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11005 * sysdeps/ieee754/dbl-64/e_log2.c: Include
11006 <fix-int-fp-convert-zero.h>.
11007 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11008 * sysdeps/ieee754/dbl-64/s_erf.c: Include
11009 <fix-int-fp-convert-zero.h>.
11010 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11011 * sysdeps/ieee754/dbl-64/s_logb.c: Include
11012 <fix-int-fp-convert-zero.h>.
11013 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11014 * sysdeps/ieee754/flt-32/e_log10f.c: Include
11015 <fix-int-fp-convert-zero.h>.
11016 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11017 * sysdeps/ieee754/flt-32/e_log2f.c: Include
11018 <fix-int-fp-convert-zero.h>.
11019 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11020 * sysdeps/ieee754/flt-32/s_erff.c: Include
11021 <fix-int-fp-convert-zero.h>.
11022 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11023 * sysdeps/ieee754/flt-32/s_logbf.c: Include
11024 <fix-int-fp-convert-zero.h>.
11025 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11027 <fix-int-fp-convert-zero.h>.
11028 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11029 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11030 <fix-int-fp-convert-zero.h>.
11031 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11032 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11033 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11034 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11035 file.
11036 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11037
11038 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11039
11040 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11041
11042 2015-10-02 Joseph Myers <joseph@codesourcery.com>
11043
11044 [BZ #19059]
11045 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11046 overflowing computation.
11047 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11048 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11050 Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11052 Likewise.
11053 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11054 Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11056 Likewise.
11057 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11058 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11059 Likewise.
11060 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11061 Likewise.
11062 * math/libm-test.inc (nexttoward_test_data): Add more tests.
11063
11064 * nss/rewrite_field.c (__nss_rewrite_field): Use
11065 internal_function.
11066 * nss/valid_field.c (__nss_valid_field): Likewise.
11067 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11068
11069 2015-10-02 Florian Weimer <fweimer@redhat.com>
11070
11071 [BZ #18724]
11072 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11073 (__nss_invalid_field_characters, __nss_valid_field)
11074 (__nss_valid_list_field, __nss_rewrite_field): Declare.
11075 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11076 tst-field.c: New file.
11077 * nss/Makefile (routines): Add valid_field, rewrite_field.
11078 (tests-static): Define unconditionally.
11079 (tests): Include tests-static.
11080 [build-static-nss] (tests-static): Use append.
11081 [build-static-nss] (tests): Remove modification.
11082 * nss/getent.c (print_group): Call putgrent. Report error.
11083 (print_gshadow): Call putsgent. Report error.
11084 (print_passwd): Call putpwent. Report error.
11085 (print_shadow): Call putspent. Report error.
11086 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11087 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11088 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
11089 name, password, directory, shell fields for valid syntax. Rewrite
11090 GECOS field to match syntax.
11091 * pwd/Makefile (tests): Add tst-putpwent.
11092 * pwd/tst-putpwent.c: New file.
11093 * grp/putgrent.c (putgrent): Convert to ISO function definition.
11094 Check grName, grpasswd, gr_mem fields for valid syntax.
11095 Change loop variable i to size_t.
11096 * grp/Makefile (tests): Add tst-putgrent.
11097 * grp/tst-putgrent.c: New file.
11098 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11099 valid syntax.
11100 * shadow/Makefile (tests): Add tst-putspent.
11101 * shadow/tst-putspent.c: New file.
11102 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11103 sg_mem fields for valid syntax.
11104 * gshadow/Makefile (tests): Add tst-putsgent.
11105 * gshadow/tst-putsgent.c: New file.
11106
11107 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11108
11109 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11110 assembly instructions.
11111
11112 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11113
11114 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11115 prefix from operands.
11116
11117 2015-10-01 Joseph Myers <joseph@codesourcery.com>
11118
11119 [BZ #16347]
11120 [BZ #19046]
11121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11122 <libc-internal.h>.
11123 (MAXLGM): Do not use diagnostic control macros.
11124 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11125 threshold for ldbl-128ibm.
11126 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11127 instead of multiplying by log then subtracting.
11128 * math/auto-libm-test-in: Add more tests of lgamma.
11129 * math/auto-libm-test-out: Regenerated.
11130
11131 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11132 (TYPE_HEX_DIG): Likewise.
11133 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11134 precisions when printing floating-point numbers.
11135 (check_float_internal): Likewise.
11136
11137 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11138
11139 [BZ #16620]
11140 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11141 of log (10) rounded downward to 48 bits.
11142 (log10_low): Use corresponding low part of log (10).
11143
11144 [BZ #19032]
11145 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11146 compute result as (x - x) / (x - x) not as 0 / 0.
11147 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11148 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11149
11150 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11151 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11152 and expm1.
11153 * math/auto-libm-test-out: Regenerated.
11154 * math/libm-test.inc (acos_test_data): Add more tests.
11155 (asin_test_data): Likewise.
11156 (asinh_test_data): Likewise.
11157 (atan_test_data): Likewise.
11158 (atanh_test_data): Likewise.
11159 (atan2_test_data): Likewise.
11160 (cbrt_test_data): Likewise.
11161 (ceil_test_data): Likewise.
11162 (copysign_test_data): Likewise.
11163 (cos_test_data): Likewise.
11164 (cosh_test_data): Likewise.
11165 (erf_test_data): Likewise.
11166 (erfc_test_data): Likewise.
11167 (exp_test_data): Likewise.
11168 (exp10_test_data): Likewise.
11169 (exp2_test_data): Likewise.
11170 (expm1_test_data): Likewise.
11171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11172
11173 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
11174
11175 [BZ #19006]
11176 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11177 to ...
11178 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11179 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11180 to ...
11181 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11182 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11183 to ...
11184 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11185 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11186 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11187 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11188 to ...
11189 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11190 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11191 Moved to ...
11192 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11193 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11194 Moved to ...
11195 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11196 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11197 to ...
11198 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11199 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11200 Moved to ...
11201 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11202 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11203 to ...
11204 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11205 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11206 Removed.
11207 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11208 Likewise.
11209 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11210 Likewise.
11211 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11212 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11213 Likewise.
11214 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11215 Likewise.
11216 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11217 Likewise.
11218 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11219 Likewise.
11220 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11221 Likewise.
11222 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11223 Likewise.
11224 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11225 Likewise.
11226 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11227 Likewise.
11228 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11229 Likewise.
11230 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11231 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11232 Likewise.
11233 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11234 Likewise.
11235 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11236 Likewise.
11237 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11238 Likewise.
11239 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11240 Likewise.
11241 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11242 Replace ../i486/pthread_cond_timedwait.S with
11243 ../pthread_cond_timedwait.S.
11244
11245 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11246
11247 * math/libm-test.inc (acos_test_data): Refine expectations for
11248 errno and "inexact" exceptions.
11249 (acosh_test_data): Likewise.
11250 (asin_test_data): Likewise.
11251 (asinh_test_data): Likewise.
11252 (atan_test_data): Likewise.
11253 (atanh_test_data): Likewise.
11254 (atan2_test_data): Likewise.
11255 (cbrt_test_data): Likewise.
11256 (ceil_test_data): Likewise.
11257 (copysign_test_data): Likewise.
11258 (cosh_test_data): Likewise.
11259 (erf_test_data): Likewise.
11260 (erfc_test_data): Likewise.
11261 (exp_test_data): Likewise.
11262 (exp10_test_data): Likewise.
11263 (exp2_test_data): Likewise.
11264 (expm1_test_data): Likewise.
11265 (fabs_test_data): Likewise.
11266 (floor_test_data): Likewise.
11267 (fma_test_data): Likewise.
11268 (fmax_test_data): Likewise.
11269 (fmin_test_data): Likewise.
11270 (fmod_test_data): Likewise.
11271 (fpclassify_test_data): Likewise.
11272 (frexp_test_data): Likewise.
11273 (hypot_test_data): Likewise.
11274 (ilogb_test_data): Likewise.
11275 (isgreater_test_data): Likewise.
11276 (isgreaterequal_test_data): Likewise.
11277 (isinf_test_data): Likewise.
11278 (isless_test_data): Likewise.
11279 (islessequal_test_data): Likewise.
11280 (islessgreater_test_data): Likewise.
11281 (isnan_test_data): Likewise.
11282 (isnormal_test_data): Likewise.
11283 (issignaling_test_data): Likewise.
11284 (isunordered_test_data): Likewise.
11285 (j0_test_data): Likewise.
11286 (j1_test_data): Likewise.
11287 (jn_test_data): Likewise.
11288 (lgamma_test_data): Likewise.
11289 (lrint_test_data): Likewise.
11290 (llrint_test_data): Likewise.
11291 (log_test_data): Likewise.
11292 (log10_test_data): Likewise.
11293 (log1p_test_data): Likewise.
11294 (log2_test_data): Likewise.
11295 (logb_test_data): Likewise.
11296 (lround_test_data): Likewise.
11297 (llround_test_data): Likewise.
11298 (modf_test_data): Likewise.
11299 (nearbyint_test_data): Likewise.
11300 (nextafter_test_data): Likewise.
11301 (nexttoward_test_data): Likewise.
11302 (pow_test_data): Likewise.
11303 (remainder_test_data): Likewise.
11304 (remquo_test_data): Likewise.
11305 (rint_test_data): Likewise.
11306 (round_test_data): Likewise.
11307 (signbit_test_data): Likewise.
11308 (sinh_test_data): Likewise.
11309 (sqrt_test_data): Likewise.
11310 (tanh_test_data): Likewise.
11311 (tgamma_test_data): Likewise.
11312 (trunc_test_data): Likewise.
11313 (y0_test_data): Likewise.
11314 (y1_test_data): Likewise.
11315 (yn_test_data): Likewise.
11316 (significand_test_data): Likewise.
11317
11318 2015-09-29 Carlos O'Donell <carlos@redhat.com>
11319
11320 * manual/filesys.texi (Storage Allocation): Document that
11321 posix_fallocate emulation fails when fd is open with O_WRONLY.
11322
11323 2015-09-28 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #19016]
11326 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11327 allow more cases with X^2 + Y^2 >= 0.5.
11328 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
11329 normal element in sum instead of special-casing based on values of
11330 arguments.
11331 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11332 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
11333 -1 as normal element in sum instead of special-casing based on
11334 values of arguments.
11335 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11336 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11337 (__x2y2m1): Update comment.
11338 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
11339 as normal element in sum instead of special-casing based on values
11340 of arguments.
11341 * math/s_clog.c (__clog): Handle more cases using log1p without
11342 hypot.
11343 * math/s_clog10.c (__clog10): Likewise.
11344 * math/s_clog10f.c (__clog10f): Likewise.
11345 * math/s_clog10l.c (__clog10l): Likewise.
11346 * math/s_clogf.c (__clogf): Likewise.
11347 * math/s_clogl.c (__clogl): Likewise.
11348 * math/auto-libm-test-in: Add more tests of clog and clog10.
11349 * math/auto-libm-test-out: Regenerated.
11350 * sysdeps/i386/fpu/libm-test-ulps: Update.
11351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11352
11353 2015-09-28 Martin Sebor <msebor@redhat.com>
11354
11355 [BZ #18969]
11356 * string/Makefile (LOCALES): Define.
11357 (gen-locales.mk): Include.
11358 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
11359 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
11360 * string/tst-strxfrm2.c (do_test): Print the name of the locale
11361 on setlocale failure.
11362
11363 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11364
11365 [BZ #18985]
11366 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
11367 (__strftime_internal): Likewise.
11368 * time/tst-strftime.c (do_bz18985): New test.
11369 (do_test): Call it.
11370
11371 2015-09-26 Joseph Myers <joseph@codesourcery.com>
11372
11373 [BZ #18956]
11374 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
11375 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
11376 extracting high part.
11377 * math/auto-libm-test-in: Add another test of pow.
11378 * math/auto-libm-test-out: Regenerated.
11379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11380
11381 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11382
11383 [BZ #18825]
11384 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
11385 New macro.
11386 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
11387 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11388 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
11389 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
11390 DBL_NARROW_EVAL, reloading the PIC register as needed.
11391 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
11392 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
11393 FLT_NARROW_EVAL. Use separate return path for case when first
11394 argument is NaN.
11395 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
11396 DEFINE_LDBL_MIN.
11397 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
11398 PIC register.
11399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
11400 math_check_force_underflow_nonneg.
11401 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
11402 underflow for subnormal result.
11403 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
11405 math_check_force_underflow_nonneg.
11406 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
11407 math_check_force_underflow.
11408 * sysdeps/x86_64/fpu/x86_64-math-asm.h
11409 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
11410 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
11411 DEFINE_LDBL_MIN.
11412 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
11413 * math/auto-libm-test-in: Add more tests of pow.
11414 * math/auto-libm-test-out: Regenerated.
11415
11416 2015-09-25 Florian Weimer <fweimer@redhat.com>
11417
11418 * nss/bug17079.c (init_test_items): Add diagnostic for
11419 inconsistent entries.
11420 (test_buffer_size): Skip inconsistent entries.
11421
11422 2015-09-25 Joseph Myers <joseph@codesourcery.com>
11423
11424 [BZ #13304]
11425 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
11426 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
11427 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
11428
11429 [BZ #13304]
11430 * sysdeps/microblaze/s_fma.c: New file.
11431 * sysdeps/microblaze/s_fmaf.c: Likewise.
11432 * sysdeps/microblaze/sfp-machine.h: Likewise.
11433
11434 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
11435
11436 [BZ #17250]
11437 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
11438 member.
11439
11440 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11441
11442 [BZ #18803]
11443 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
11444 (MO): New macro.
11445 (__ieee754_hypot) [PIC]: Load PIC register.
11446 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
11447 DBL_NARROW_EVAL.
11448 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
11449 math_check_force_underflow_nonneg in case where result might be
11450 tiny.
11451 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11452 Likewise.
11453 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11454 Likewise.
11455 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11456 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11457 * math/auto-libm-test-in: Add more tests of hypot.
11458 * math/auto-libm-test-out: Regenerated.
11459
11460 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
11461
11462 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
11463
11464 2015-09-24 Joseph Myers <joseph@codesourcery.com>
11465
11466 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
11467 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
11468 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11469 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11470 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
11471 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11472 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11473
11474 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
11475 LOAD_PIC_REG.
11476
11477 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
11478 (FLT_CHECK_FORCE_UFLOW): Likewise.
11479 (DBL_CHECK_FORCE_UFLOW): Likewise.
11480 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
11481 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
11482 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
11483 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11484 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
11485 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11486 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11487 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
11488 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
11489 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11490 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
11491 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
11492 (flt_min): Replace with use of DEFINE_FLT_MIN.
11493 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
11494 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
11495 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11496 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
11497 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
11498 (flt_min): Replace with use of DEFINE_FLT_MIN.
11499 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
11500 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
11501 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11502 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
11503 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
11504 (flt_min): Replace with use of DEFINE_FLT_MIN.
11505 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
11506 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
11507 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
11508 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
11509 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
11510 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
11511 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
11512 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
11513 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11514 (__atan): Use DBL_CHECK_FORCE_UFLOW.
11515 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
11516 (flt_min): Replace with use of DEFINE_FLT_MIN.
11517 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
11518 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
11519 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11520 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
11521 main computation.
11522 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
11523 (flt_min): Replace with use of DEFINE_FLT_MIN.
11524 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
11525 main computation.
11526 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
11527 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11528 (MO): New macro.
11529 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
11530 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
11531 (flt_min): Replace with use of DEFINE_FLT_MIN.
11532 (MO): New macro.
11533 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
11534 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
11535 (__log1pl): Use MO.
11536
11537 [BZ #19003]
11538 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
11539 $(config-cflags-nofma).
11540
11541 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
11542
11543 * sysdeps/aarch64/libm-test-ulps: Regenerated.
11544
11545 2015-09-23 Joseph Myers <joseph@codesourcery.com>
11546
11547 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
11548 (TWO127): Likewise.
11549
11550 * sysdeps/generic/math_private.h (fabs_tg): New macro.
11551 (min_of_type): Likewise.
11552 (math_check_force_underflow): Likewise.
11553 (math_check_force_underflow_nonneg): Likewise.
11554 (math_check_force_underflow_complex): Likewise.
11555 * math/e_exp2l.c (__ieee754_exp2l): Use
11556 math_check_force_underflow_nonneg.
11557 * math/k_casinh.c (__kernel_casinh): Likewise.
11558 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11559 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11560 * math/s_catan.c (__catan): Use
11561 math_check_force_underflow_complex.
11562 * math/s_catanf.c (__catanf): Likewise.
11563 * math/s_catanh.c (__catanh): Likewise.
11564 * math/s_catanhf.c (__catanhf): Likewise.
11565 * math/s_catanhl.c (__catanhl): Likewise.
11566 * math/s_catanl.c (__catanl): Likewise.
11567 * math/s_ccosh.c (__ccosh): Likewise.
11568 * math/s_ccoshf.c (__ccoshf): Likewise.
11569 * math/s_ccoshl.c (__ccoshl): Likewise.
11570 * math/s_cexp.c (__cexp): Likewise.
11571 * math/s_cexpf.c (__cexpf): Likewise.
11572 * math/s_cexpl.c (__cexpl): Likewise.
11573 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
11574 * math/s_clog10.c (__clog10): Likewise.
11575 * math/s_clog10f.c (__clog10f): Likewise.
11576 * math/s_clog10l.c (__clog10l): Likewise.
11577 * math/s_clogf.c (__clogf): Likewise.
11578 * math/s_clogl.c (__clogl): Likewise.
11579 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
11580 * math/s_csinf.c (__csinf): Likewise.
11581 * math/s_csinh.c (__csinh): Likewise.
11582 * math/s_csinhf.c (__csinhf): Likewise.
11583 * math/s_csinhl.c (__csinhl): Likewise.
11584 * math/s_csinl.c (__csinl): Likewise.
11585 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
11586 * math/s_csqrtf.c (__csqrtf): Likewise.
11587 * math/s_csqrtl.c (__csqrtl): Likewise.
11588 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
11589 * math/s_ctanf.c (__ctanf): Likewise.
11590 * math/s_ctanh.c (__ctanh): Likewise.
11591 * math/s_ctanhf.c (__ctanhf): Likewise.
11592 * math/s_ctanhl.c (__ctanhl): Likewise.
11593 * math/s_ctanl.c (__ctanl): Likewise.
11594 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
11595 instead of volatile.
11596 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
11597 math_check_force_underflow.
11598 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11599 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
11600 volatile when forcing underflow.
11601 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
11602 math_check_force_underflow_nonneg.
11603 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11604 Likewise.
11605 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
11606 math_check_force_underflow.
11607 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11608 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11609 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11610 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
11611 math_check_force_underflow_nonneg.
11612 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
11613 math_check_force_underflow.
11614 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
11615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
11616 instead of volatile.
11617 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
11618 math_check_force_underflow.
11619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11620 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11621 math_check_force_underflow_nonneg.
11622 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
11623 math_check_force_underflow.
11624 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11625 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11626 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
11627 math_check_force_underflow_nonneg.
11628 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11629 Likewise.
11630 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
11631 math_check_force_underflow.
11632 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11633 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11634 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
11635 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
11636 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11637 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
11638 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
11639 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
11640 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11641 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
11642 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11643 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
11644 Likewise.
11645 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
11646 math_check_force_underflow_nonneg.
11647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11648 Likewise.
11649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
11650 math_check_force_underflow.
11651 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11652 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
11653 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11654 Likewise.
11655 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
11656 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
11657 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
11658 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
11659 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
11660 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
11661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
11662 instead of volatile.
11663 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
11664 math_check_force_underflow.
11665 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
11666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
11667 math_check_force_underflow.
11668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
11669 Likewise.
11670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11671 Use math_check_force_underflow_nonneg.
11672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
11673 math_check_force_underflow.
11674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11675 Likewise.
11676 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11677 Likewise.
11678 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11679 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11680 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
11683 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11684 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11685 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
11686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
11687 math_check_force_underflow_nonneg.
11688 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
11689 math_check_force_underflow.
11690 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11691 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
11692 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
11693 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
11694 math_check_force_underflow_nonneg.
11695 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
11696 math_check_force_underflow.
11697 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
11698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
11699 instead of volatile.
11700 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
11701 math_check_force_underflow.
11702
11703 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
11704 * stdlib/strtod_l.c: Include <math_private.h>.
11705 (overflow_value): Use math_narrow_eval.
11706 (underflow_value): Likewise.
11707 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11708 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11709 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11710 (__ieee754_gamma_r): Likewise.
11711 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
11712 Likewise.
11713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11714 Likewise.
11715 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
11716 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
11717 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
11718 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
11719 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11720 (__ieee754_gammaf_r): Likewise.
11721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11722 Likewise.
11723 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
11724 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
11725 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
11726 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
11727 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
11728 volatile.
11729 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
11730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
11731 math_narrow_eval.
11732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11733 Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11735 Likewise.
11736 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
11737 Likewise.
11738 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
11739 volatile.
11740 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
11741 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
11742 math_narrow_eval.
11743 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11744 Likewise.
11745 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11746 Likewise.
11747
11748 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * nptl/Versions: Remove ignored symbols.
11751
11752 2015-09-22 Florian Weimer <fweimer@redhat.com>
11753
11754 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
11755 * nss/Makefile (tests): Update.
11756
11757 2015-09-22 Florian Weimer <fweimer@redhat.com>
11758
11759 * nss/bug18287.c: New file.
11760 * nss/Makefile (tests): Add bug18287.
11761
11762 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11763
11764 * mach/Versions (__mach_host_self_): Add symbol.
11765
11766 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
11767
11768 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
11769 vm_page_size.
11770
11771 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11772
11773 Really fix sysdeps/i386/fpu/s_scalbn.S build
11774
11775 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
11776 (libc: GLIBC_2_22): Remove unused version set.
11777
11778 2015-09-18 Mike Frysinger <vapier@gentoo.org>
11779
11780 * config.make.in (enable-timezone-tools): New variable.
11781 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
11782 (enable_timezone_tools): Export to generated files.
11783 * configure: Regenerate.
11784 * INSTALL: Regenerate.
11785 * manual/install.texi (--disable-timezone-tools): Document new flag.
11786 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
11787 ifeq ($(enable-timezone-tools),yes) check.
11788
11789 2015-09-18 Joseph Myers <joseph@codesourcery.com>
11790
11791 * timezone/Makefile: Revert previous change.
11792
11793 [BZ #18980]
11794 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
11795 (DEFINE_DBL_MIN): Likewise.
11796 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11797 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
11798 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11799 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
11800 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
11801 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11802 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11803 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
11804 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
11805 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11806 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11807 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
11808 (flt_min): Replace with use of DEFINE_FLT_MIN.
11809 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11810 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
11811 (dbl_min): Replace with use of DEFINE_DBL_MIN.
11812 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
11813 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
11814 (flt_min): Replace with use of DEFINE_FLT_MIN.
11815 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11816 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
11817 (flt_min): Replace with use of DEFINE_FLT_MIN.
11818 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
11819 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
11820 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
11821 (__ieee754_hypot): Use DBL_NARROW_EVAL.
11822 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
11823 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
11824 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
11825 (__ieee754_pow): Use DBL_NARROW_EVAL.
11826 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
11827 (__ieee754_powf): Use FLT_NARROW_EVAL.
11828 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11829 (__ieee754_expf_sse2): Convert double-precision result to single
11830 precision.
11831 * sysdeps/i386/fpu/libm-test-ulps: Update.
11832
11833 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11834
11835 * timezone/Makefile: Ignore unused variable errors due to private.h
11836 (time_t_min) and (time_t_max).
11837 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
11838 Likewise.
11839
11840 2015-09-18 Joseph Myers <joseph@codesourcery.com>
11841
11842 [BZ #18981]
11843 * sysdeps/i386/fpu/i386-math-asm.h: New file.
11844 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11845 (__ieee754_scalb): Use DBL_NARROW_EVAL.
11846 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11847 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11848 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11849 (__scalbn): Use DBL_NARROW_EVAL.
11850 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11851 (__scalbnf): Use FLT_NARROW_EVAL.
11852
11853 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11854
11855 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11856 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11857 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11858 * stdio-common/printf_fp.c (___printf_fp):
11859 Use signbit to get the sign. Use isinf macro to allow inlining.
11860 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11861 * stdio-common/printf_size.c (__printf_size): Likewise.
11862
11863 2015-09-18 Mike Frysinger <vapier@gentoo.org>
11864
11865 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11866
11867 2015-09-18 Joseph Myers <joseph@codesourcery.com>
11868
11869 [BZ #18980]
11870 * sysdeps/generic/math_private.h: Include <float.h>.
11871 (math_narrow_eval): New macro.
11872 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11873 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11874 math_narrow_eval on overflowing return value.
11875 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11876 Likewise.
11877 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11878 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11879 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11880 Likewise.
11881 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11882
11883 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11884
11885 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11886 * math/Makefile: Remove isinf_ns.c.
11887 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11888 * math/multc3.c (__multc3): Likewise.
11889 * math/s_casin.c (__casin): Likewise.
11890 * math/s_casinf.c (__casinf): Likewise.
11891 * math/s_casinl.c (__casinl): Likewise.
11892 * math/s_cproj.c (__cproj): Likewise.
11893 * math/s_cprojf.c (__cprojf): Likewise.
11894 * math/s_cprojl.c (__cprofl): Likewise.
11895 * math/s_ctan.c (__ctan): Likewise.
11896 * math/s_ctanf.c (__ctanf): Likewise.
11897 * math/s_ctanh.c (__ctanh): Likewise.
11898 * math/s_ctanhf.c (__ctanhf): Likewise.
11899 * math/s_ctanhl.c (__ctanhl): Likewise.
11900 * math/s_ctanl.c (__ctanl): Likewise.
11901 * math/w_fmod.c (__fmod): Likewise.
11902 * math/w_fmodf.c (__fmodf): Likewise.
11903 * math/w_fmodl.c (_fmodl): Likewise.
11904 * math/w_remainder.c (__remainder): Likewise.
11905 * math/w_remainderf.c (__remainderf): Likewise.
11906 * math/w_remainderl.c (__remainderl): Likewise.
11907 * math/w_scalb.c (__scalb): Likewise.
11908 * math/w_scalbf.c (__scalbf): Likewise.
11909 * math/w_scalbl.c (__scalbl): Likewise.
11910 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11911 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11912 with isinf.
11913 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11915 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11916 __isinf_nsf with isinf.
11917 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11918 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11919 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11920 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11921 with isinf.
11922 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11923 __isinf_nsl with isinf.
11924 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11925 with isinf.
11926 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11928 __isinf_nsl with isinf.
11929 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11930 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11931 with isinf.
11932
11933 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11934
11935 * resolv/base64.c (rcsid): Remove unused static.
11936 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11937 static. (tqpi1): Likewise.
11938 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11939 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11940 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11941 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11942 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11943 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11945 * timezone/private.h (time_t_min): Likewise. (time_t_max):
11946 Likewise.
11947
11948 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
11949
11950 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11951 <nptl/pthreadP.h>.
11952 (_longjmp_unwind): Use __libc_ptf_call.
11953 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11954
11955 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
11956
11957 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11958 * sysdeps/arm/__longjmp.S: Likewise.
11959
11960 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11961
11962 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11963 Use __builtin_signbit.
11964 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11965 Use __builtin_signbitf.
11966 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11967 Use __builtin_signbitl.
11968 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11969 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11970
11971 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11972
11973 [BZ #15367]
11974 [BZ #17441]
11975
11976 * math/Makefile: Build test-snan.c with -fsignaling-nans.
11977 * math/math.h (fpclassify): Use __builtin_fpclassify when
11978 available. (signbit): Use __builtin_signbit(f/l).
11979 (isfinite): Use__builtin_isfinite. (isnormal): Use
11980 __builtin_isnormal. (isnan): Use __builtin_isnan.
11981 (isinf): Use __builtin_isinf_sign.
11982
11983 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
11984
11985 * benchtests/Makefile: Add bench-math-inlines, link with libm.
11986 * benchtests/bench-math-inlines.c: New benchmark.
11987 * benchtests/bench-util.h: New file.
11988 * benchtests/bench-util.c: New file.
11989 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11990
11991 2015-09-18 Carlos O'Donell <carlos@redhat.com>
11992
11993 * elf/tst-dlmopen1.c: Define TEST_SO.
11994 (do_test): Use TEST_SO.
11995
11996 * elf/dl-load.c: Include libc-internal.h.
11997 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11998
11999 2015-09-18 Vincent Bernat <vincent@bernat.im>
12000
12001 [BZ #17887]
12002 * time/strptime_l.c (__strptime_internal): Make %z accept
12003 [+-]HH:MM time zones.
12004
12005 2015-09-18 Vincent Bernat <vincent@bernat.im>
12006
12007 [BZ #17886]
12008 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12009 valid time zone.
12010
12011 2015-09-17 Mike Frysinger <vapier@gentoo.org>
12012
12013 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12014 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12015 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12016 (__ASSUME_FDATASYNC): Delete.
12017
12018 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12019
12020 * conform/linknamespace.pl: Require weak undefined symbols to be
12021 in the standard namespace.
12022 (%strong_syms): Rename to %seen_syms.
12023 (%strong_seen): Rename to %seen_where.
12024
12025 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
12026
12027 [BZ #18970]
12028 * misc/error.c (error): Replace pthread_setcancelstate with
12029 __pthread_setcancelstate.
12030 (error_at_line): Likewise.
12031 * posix/wordexp.c (parse_comm): Likewise.
12032 * stdlib/fmtmsg.c (fmtmsg): Likewise.
12033 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12034 (__pthread_setcancelstate): This.
12035 (pthread_setcancelstate): Add an alias.
12036 * nptl/nptl-init.c (pthread_functions): Replace
12037 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12038 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12039 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12040 hidden_proto.
12041 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12042 it with hidden_def.
12043 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12044 (pthread_setcancelstate): Renamed to ...
12045 (__pthread_setcancelstate): This.
12046 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12047 __libc_ptf_call with __pthread_setcancelstate.
12048
12049 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12050 Andreas Schwab <schwab@suse.de>
12051
12052 [BZ #17118]
12053 * math/s_ctan.c (__ctan): Determine sign of zero real part of
12054 result when imaginary part of argument is infinite using sine and
12055 cosine.
12056 * math/s_ctanf.c (__ctanf): Likewise.
12057 * math/s_ctanl.c (__ctanl): Likewise.
12058 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12059 of result when real part of argument is infinite using sine and
12060 cosine.
12061 * math/s_ctanhf.c (__ctanhf): Likewise.
12062 * math/s_ctanhl.c (__ctanhl): Likewise.
12063 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12064 (ctanh_test_data): Add more tests of ctanh.
12065
12066 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12067
12068 [BZ #15384]
12069 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12070 bit-mask as in subtraction.
12071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12072 Likewise.
12073 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12074 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12075 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12076
12077 [BZ #18951]
12078 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12079 underflow exception for small results.
12080 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12081 Likewise.
12082 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12083 Likewise.
12084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12085 Likewise.
12086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12087 Likewise.
12088 * math/auto-libm-test-in: Add more tests of tgamma.
12089 * math/auto-libm-test-out: Regenerated.
12090
12091 2015-09-17 Andreas Schwab <schwab@suse.de>
12092
12093 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12094
12095 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12096
12097 [BZ #18977]
12098 * math/bits/mathcalls.h
12099 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12100 not declare.
12101 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12102 Likewise.
12103 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12104 Likewise.
12105 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12106 Likewise.
12107 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12108 Likewise.
12109 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12110 Likewise.
12111 * conform/data/math.h-data
12112 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12113 function.
12114 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12115 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12116 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12117 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12118 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12119 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12120 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12121 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12122 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12123 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12124 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12125
12126 [BZ #6803]
12127 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12128 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12129 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12130 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12131 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12132 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12133 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12134 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12135 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12137 Likewise.
12138 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12139 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12140 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12141 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12142 long_double_symbol calls.
12143 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12144 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12145 strong alias of __ldexpl.
12146 (scalbnl): Define using long_double_symbol.
12147 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12148 Remove alias.
12149 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12150 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12151 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12152 (scalbln_test_data): Add more errno expectations.
12153
12154 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
12155
12156 Cache the host port like we cache the task port. This way we do not
12157 need to call the kernel just to get the port. Furthermore, we no
12158 longer increase the reference count on every invocation of
12159 `mach_host_self'.
12160
12161 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12162 Protect declarations against the macro expansion.
12163 * mach/mach_init.c (__mach_host_self_): New variable.
12164 (mach_init): Initialize `__mach_host_self_'.
12165 * mach/mach_init.h (__mach_host_self_): New declaration.
12166 (__mach_host_self, mach_host_self): New macros.
12167 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12168 Release reference.
12169
12170 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12171
12172 [BZ #4404]
12173 * po/de.po: Update from Translation Project.
12174
12175 [BZ #16415]
12176 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12177 (__expm1l): Remove code to handle positive infinity and overflow.
12178 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12179 variable.
12180 (__expm1l): Remove code to handle positive infinity and overflow.
12181
12182 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
12183 Paul Pluzhnikov <ppluzhnikov@google.com>
12184
12185 [BZ #18872]
12186 * stdio-common/Makefile (tst-printf-bz18872): New test.
12187 (tst-printf-bz18872-mem.out): Likewise.
12188 * stdio-common/tst-printf-bz18872.sh: Generate new test.
12189 * stdio-common/vfprintf.c: Fix memory leaks.
12190
12191 2015-09-16 Andreas Schwab <schwab@suse.de>
12192
12193 [BZ #17244]
12194 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12195 Remove extra va_start/va_end calls.
12196
12197 [BZ #17243]
12198 * posix/execl.c (execl): Add missing va_end.
12199 * posix/execle.c (execle): Likewise.
12200 * posix/execlp.c (execlp): Likewise.
12201
12202 2015-09-15 Roland McGrath <roland@hack.frob.com>
12203
12204 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12205 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12206
12207 2015-09-15 Joseph Myers <joseph@codesourcery.com>
12208
12209 [BZ #18967]
12210 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
12211 undefine around includes of <bits/mathcalls.h>.
12212 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12213 not declare function.
12214 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12215 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12216 (scalb): Likewise.
12217 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12218 not define macro.
12219 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12220 variable.
12221 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12222 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12223 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12224
12225 [BZ #18857]
12226 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12227 return non-finite argument without doing ordered comparisons on
12228 it.
12229
12230 [BZ #16296]
12231 * math/fenv.h (fegetround): Use __attribute_pure__.
12232 * include/fenv.h (__fegetround): Likewise.
12233
12234 [BZ #18595]
12235 * math/s_ctan.c (__ctan): Force underflow exception for results
12236 whose real or imaginary part has small absolute value.
12237 * math/s_ctanf.c (__ctanf): Likewise.
12238 * math/s_ctanh.c (__ctanh): Likewise.
12239 * math/s_ctanhf.c (__ctanhf): Likewise.
12240 * math/s_ctanhl.c (__ctanhl): Likewise.
12241 * math/s_ctanl.c (__ctanl): Likewise.
12242 * math/auto-libm-test-in: Do not allow missing underflow for ctan
12243 and ctanh. Add more tests of ctan and ctanh.
12244
12245 [BZ #15918]
12246 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12247 handling of cases where one argument is an infinity.
12248
12249 [BZ #18875]
12250 [BZ #18966]
12251 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12252 (MO): New macro.
12253 (__ieee754_exp10): For small results, force underflow exception
12254 and remove excess range and precision from return value.
12255 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12256 (MO): New macro.
12257 (__ieee754_exp10f): For small results, force underflow exception
12258 and remove excess range and precision from return value.
12259 * math/auto-libm-test-in: Add more tests of exp10.
12260 * math/auto-libm-test-out: Regenerated.
12261
12262 2015-09-14 Joseph Myers <joseph@codesourcery.com>
12263
12264 [BZ #18875]
12265 [BZ #18961]
12266 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12267 (MO): New macro.
12268 (__ieee754_exp): For small results, force underflow exception and
12269 remove excess range and precision from return value.
12270 (__exp_finite): Likewise.
12271 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12272 (MO): New macro.
12273 (__ieee754_expf): For small results, force underflow exception and
12274 remove excess range and precision from return value.
12275 (__expf_finite): Likewise.
12276 * math/auto-libm-test-in: Add more tests of exp.
12277 * math/auto-libm-test-out: Regenerated.
12278
12279 [BZ #16521]
12280 [BZ #18875]
12281 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12282 small results.
12283 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12284 (MO): New macro.
12285 (__ieee754_exp2): For small results, force underflow exception and
12286 remove excess range and precision from return value.
12287 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12288 (MO): New macro.
12289 (__ieee754_exp2f): For small results, force underflow exception
12290 and remove excess range and precision from return value.
12291 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12292 (MO): New macro.
12293 (__ieee754_exp2l): Force underflow exception for small results.
12294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12295 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12296 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12297 (MO): New macro.
12298 (__ieee754_exp2l): Force underflow exception for small results.
12299 * math/auto-libm-test-in: Add more tests or exp2.
12300 * math/auto-libm-test-out: Regenerated.
12301
12302 2015-09-14 Carlos O'Donell <carlos@redhat.com>
12303
12304 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12305
12306 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12307 /dev/null.
12308
12309 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12310
12311 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12312 io fs process)): Drop spurious backslash.
12313
12314 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12315
12316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12317 Use sysinfo system call instead of parsing /proc/meminfo.
12318 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12319 Likewise.
12320
12321 2015-09-11 Mike Frysinger <vapier@gentoo.org>
12322
12323 [BZ #16985]
12324 * programs/localedef.c (main): Display argv[remaining] when
12325 output_path is NULL.
12326
12327 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12328
12329 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12330 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12331 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12332 tanh.
12333 * math/auto-libm-test-out: Regenerated.
12334 * sysdeps/i386/fpu/libm-test-ulps: Update.
12335 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12336 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12338
12339 2015-09-11 Roland McGrath <roland@hack.frob.com>
12340
12341 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12342 Use 'override' keyword to freeze the value here, preventing
12343 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12344
12345 2015-09-11 Joseph Myers <joseph@codesourcery.com>
12346
12347 [BZ #14912]
12348 * sysdeps/aarch64/bits/atomic.h: Move to ...
12349 * sysdeps/aarch64/atomic-machine.h: ...here.
12350 (_AARCH64_BITS_ATOMIC_H): Rename macro to
12351 _AARCH64_ATOMIC_MACHINE_H.
12352 * sysdeps/alpha/bits/atomic.h: Move to ...
12353 * sysdeps/alpha/atomic-machine.h: ...here.
12354 * sysdeps/arm/bits/atomic.h: Move to ...
12355 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
12356 * bits/atomic.h: Move to ...
12357 * sysdeps/generic/atomic-machine.h: ...here.
12358 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12359 * sysdeps/i386/bits/atomic.h: Move to ...
12360 * sysdeps/i386/atomic-machine.h: ...here.
12361 * sysdeps/ia64/bits/atomic.h: Move to ...
12362 * sysdeps/ia64/atomic-machine.h: ...here.
12363 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
12364 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
12365 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12366 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
12367 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
12368 * sysdeps/microblaze/bits/atomic.h: Move to ...
12369 * sysdeps/microblaze/atomic-machine.h: ...here.
12370 * sysdeps/mips/bits/atomic.h: Move to ...
12371 * sysdeps/mips/atomic-machine.h: ...here.
12372 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
12373 * sysdeps/powerpc/bits/atomic.h: Move to ...
12374 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
12375 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
12376 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
12377 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
12378 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
12379 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
12380 <atomic-machine.h> instead of <bits/atomic.h>.
12381 * sysdeps/s390/bits/atomic.h: Move to ...
12382 * sysdeps/s390/atomic-machine.h: ...here.
12383 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
12384 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
12385 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12386 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
12387 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
12388 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
12389 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
12390 * sysdeps/tile/bits/atomic.h: Move to ...
12391 * sysdeps/tile/atomic-machine.h: ...here.
12392 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
12393 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
12394 <sysdeps/tile/atomic-machine.h> instead of
12395 <sysdeps/tile/bits/atomic.h>.
12396 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12397 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
12398 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
12399 <sysdeps/tile/atomic-machine.h> instead of
12400 <sysdeps/tile/bits/atomic.h>.
12401 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12402 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
12403 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
12404 <sysdeps/arm/atomic-machine.h> instead of
12405 <sysdeps/arm/bits/atomic.h>.
12406 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
12407 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
12408 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12409 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
12410 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
12411 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
12412 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
12413 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
12414 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
12415 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
12416 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
12417 * sysdeps/x86_64/bits/atomic.h: Move to ...
12418 * sysdeps/x86_64/atomic-machine.h: ...here.
12419 * include/atomic.h: Include <atomic-machine.h> instead of
12420 <bits/atomic.h>.
12421
12422 * sysdeps/mips/mips32/libm-test-ulps: Update.
12423 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12424
12425 [BZ #18952]
12426 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
12427 not convert non-integer negative arguments to int to determine the
12428 value of signgam.
12429 * math/auto-libm-test-in: Add more tests of lgamma.
12430 * math/auto-libm-test-out: Regenerated.
12431
12432 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
12433 cosh, csqrt, erfc, expm1 and lgamma.
12434 * math/auto-libm-test-out: Regenerated.
12435 * sysdeps/i386/fpu/libm-test-ulps: Update.
12436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12437
12438 2015-09-10 Joseph Myers <joseph@codesourcery.com>
12439
12440 [BZ #2542]
12441 [BZ #2543]
12442 [BZ #2558]
12443 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
12444 __lgamma_neg for arguments from -28.0 to -2.0.
12445 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
12446 __lgamma_negf for arguments from -15.0 to -2.0.
12447 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12448 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
12449 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
12450 Call __lgamma_negl for arguments from -33.0 to -2.0.
12451 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
12452 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12453 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12454 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
12455 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12456 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12457 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
12459 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12460 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12461 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
12462 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
12463 (__lgamma_neg): Likewise.
12464 (__lgamma_negl): Likewise.
12465 (__lgamma_product): Likewise.
12466 (__lgamma_productl): Likewise.
12467 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
12468 * math/auto-libm-test-in: Add more tests of lgamma.
12469 * math/auto-libm-test-out: Regenerated.
12470 * sysdeps/i386/fpu/libm-test-ulps: Update.
12471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12472
12473 2015-09-09 Justin Maggard <jmaggard@netgear.com>
12474
12475 [BZ #18675]
12476 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
12477
12478 2015-09-08 Joseph Myers <joseph@codesourcery.com>
12479
12480 [BZ #14912]
12481 * bits/libc-lock.h: Move to ...
12482 * sysdeps/generic/libc-lock.h: ...here.
12483 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12484 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
12485 * sysdeps/mach/hurd/libc-lock.h: ...here.
12486 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12487 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
12488 * sysdeps/mach/bits/libc-lock.h: Move to ...
12489 * sysdeps/mach/libc-lock.h: ...here.
12490 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12491 * sysdeps/nptl/bits/libc-lock.h: Move to ...
12492 * sysdeps/nptl/libc-lock.h: ...here.
12493 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
12494 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
12495 * sysdeps/nptl/libc-lockP.h: ...here.
12496 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
12497 * crypt/crypt_util.c: Include <libc-lock.h> instead of
12498 <bits/libc-lock.h>.
12499 * dirent/scandir-tail.c: Likewise.
12500 * dlfcn/dlerror.c: Likewise.
12501 * elf/dl-close.c: Likewise.
12502 * elf/dl-iteratephdr.c: Likewise.
12503 * elf/dl-lookup.c: Likewise.
12504 * elf/dl-open.c: Likewise.
12505 * elf/dl-support.c: Likewise.
12506 * elf/dl-writev.h: Likewise.
12507 * elf/rtld.c: Likewise.
12508 * grp/fgetgrent.c: Likewise.
12509 * gshadow/fgetsgent.c: Likewise.
12510 * gshadow/sgetsgent.c: Likewise.
12511 * iconv/gconv_conf.c: Likewise.
12512 * iconv/gconv_db.c: Likewise.
12513 * iconv/gconv_dl.c: Likewise.
12514 * iconv/gconv_int.h: Likewise.
12515 * iconv/gconv_trans.c: Likewise.
12516 * include/link.h: Likewise.
12517 * inet/getnameinfo.c: Likewise.
12518 * inet/getnetgrent.c: Likewise.
12519 * inet/getnetgrent_r.c: Likewise.
12520 * intl/bindtextdom.c: Likewise.
12521 * intl/dcigettext.c: Likewise.
12522 * intl/finddomain.c: Likewise.
12523 * intl/gettextP.h: Likewise.
12524 * intl/loadmsgcat.c: Likewise.
12525 * intl/localealias.c: Likewise.
12526 * intl/textdomain.c: Likewise.
12527 * libidn/idn-stub.c: Likewise.
12528 * libio/libioP.h: Likewise.
12529 * locale/duplocale.c: Likewise.
12530 * locale/freelocale.c: Likewise.
12531 * locale/newlocale.c: Likewise.
12532 * locale/setlocale.c: Likewise.
12533 * login/getutent_r.c: Likewise.
12534 * login/getutid_r.c: Likewise.
12535 * login/getutline_r.c: Likewise.
12536 * login/utmp-private.h: Likewise.
12537 * login/utmpname.c: Likewise.
12538 * malloc/mtrace.c: Likewise.
12539 * misc/efgcvt.c: Likewise.
12540 * misc/error.c: Likewise.
12541 * misc/fstab.c: Likewise.
12542 * misc/getpass.c: Likewise.
12543 * misc/mntent.c: Likewise.
12544 * misc/syslog.c: Likewise.
12545 * nis/nis_call.c: Likewise.
12546 * nis/nis_callback.c: Likewise.
12547 * nis/nss-default.c: Likewise.
12548 * nis/nss_compat/compat-grp.c: Likewise.
12549 * nis/nss_compat/compat-initgroups.c: Likewise.
12550 * nis/nss_compat/compat-pwd.c: Likewise.
12551 * nis/nss_compat/compat-spwd.c: Likewise.
12552 * nis/nss_nis/nis-alias.c: Likewise.
12553 * nis/nss_nis/nis-ethers.c: Likewise.
12554 * nis/nss_nis/nis-grp.c: Likewise.
12555 * nis/nss_nis/nis-hosts.c: Likewise.
12556 * nis/nss_nis/nis-network.c: Likewise.
12557 * nis/nss_nis/nis-proto.c: Likewise.
12558 * nis/nss_nis/nis-pwd.c: Likewise.
12559 * nis/nss_nis/nis-rpc.c: Likewise.
12560 * nis/nss_nis/nis-service.c: Likewise.
12561 * nis/nss_nis/nis-spwd.c: Likewise.
12562 * nis/nss_nisplus/nisplus-alias.c: Likewise.
12563 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
12564 * nis/nss_nisplus/nisplus-grp.c: Likewise.
12565 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
12566 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
12567 * nis/nss_nisplus/nisplus-network.c: Likewise.
12568 * nis/nss_nisplus/nisplus-proto.c: Likewise.
12569 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
12570 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
12571 * nis/nss_nisplus/nisplus-service.c: Likewise.
12572 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
12573 * nis/ypclnt.c: Likewise.
12574 * nptl/libc_pthread_init.c: Likewise.
12575 * nss/getXXbyYY.c: Likewise.
12576 * nss/getXXent.c: Likewise.
12577 * nss/getXXent_r.c: Likewise.
12578 * nss/nss_db/db-XXX.c: Likewise.
12579 * nss/nss_db/db-netgrp.c: Likewise.
12580 * nss/nss_db/nss_db.h: Likewise.
12581 * nss/nss_files/files-XXX.c: Likewise.
12582 * nss/nss_files/files-alias.c: Likewise.
12583 * nss/nsswitch.c: Likewise.
12584 * posix/regex_internal.h: Likewise.
12585 * posix/wordexp.c: Likewise.
12586 * pwd/fgetpwent.c: Likewise.
12587 * resolv/res_hconf.c: Likewise.
12588 * resolv/res_libc.c: Likewise.
12589 * shadow/fgetspent.c: Likewise.
12590 * shadow/lckpwdf.c: Likewise.
12591 * shadow/sgetspent.c: Likewise.
12592 * socket/opensock.c: Likewise.
12593 * stdio-common/reg-modifier.c: Likewise.
12594 * stdio-common/reg-printf.c: Likewise.
12595 * stdio-common/reg-type.c: Likewise.
12596 * stdio-common/vfprintf.c: Likewise.
12597 * stdio-common/vfscanf.c: Likewise.
12598 * stdlib/abort.c: Likewise.
12599 * stdlib/cxa_atexit.c: Likewise.
12600 * stdlib/fmtmsg.c: Likewise.
12601 * stdlib/random.c: Likewise.
12602 * stdlib/setenv.c: Likewise.
12603 * string/strsignal.c: Likewise.
12604 * sunrpc/auth_none.c: Likewise.
12605 * sunrpc/bindrsvprt.c: Likewise.
12606 * sunrpc/create_xid.c: Likewise.
12607 * sunrpc/key_call.c: Likewise.
12608 * sunrpc/rpc_thread.c: Likewise.
12609 * sysdeps/arm/backtrace.c: Likewise.
12610 * sysdeps/generic/ldsodefs.h: Likewise.
12611 * sysdeps/generic/stdio-lock.h: Likewise.
12612 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
12613 * sysdeps/i386/backtrace.c: Likewise.
12614 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12615 * sysdeps/m68k/backtrace.c: Likewise.
12616 * sysdeps/mach/hurd/cthreads.c: Likewise.
12617 * sysdeps/mach/hurd/dirstream.h: Likewise.
12618 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12619 * sysdeps/nptl/malloc-machine.h: Likewise.
12620 * sysdeps/nptl/stdio-lock.h: Likewise.
12621 * sysdeps/posix/dirstream.h: Likewise.
12622 * sysdeps/posix/getaddrinfo.c: Likewise.
12623 * sysdeps/posix/system.c: Likewise.
12624 * sysdeps/pthread/aio_suspend.c: Likewise.
12625 * sysdeps/s390/s390-32/backtrace.c: Likewise.
12626 * sysdeps/s390/s390-64/backtrace.c: Likewise.
12627 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12628 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12629 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
12630 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
12631 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
12632 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12633 * sysdeps/unix/sysv/linux/system.c: Likewise.
12634 * sysdeps/x86_64/backtrace.c: Likewise.
12635 * time/alt_digit.c: Likewise.
12636 * time/era.c: Likewise.
12637 * time/tzset.c: Likewise.
12638 * wcsmbs/wcsmbsload.c: Likewise.
12639 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
12640 instead of <bits/libc-lock.h> in comment.
12641
12642 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
12643
12644 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
12645 Only use .set mips2 if the current ISA is below mips2.
12646 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
12647 Likewise.
12648 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
12649 mips32r2 if the current ISA is below mips32r2.
12650 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
12651 (TLS_IE): Updated to use the TLD_RDHWR macro.
12652 (TLS_LE): Likewise.
12653 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
12654 __ASSEMBLER__ condition.
12655
12656 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
12657
12658 Fix parallel build of before-compile targets.
12659
12660 * sysdeps/mach/Makefile ($(patsubst
12661 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
12662 mach-before-compile target.
12663 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12664 io fs process)): Move rule to dedicated hurd-before-compile target.
12665
12666 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12667
12668 Fix rules generating headers in hurd/ and mach/ when initial make call
12669 has subdir= explicitly set.
12670
12671 * sysdeps/mach/Makefile ($(patsubst
12672 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
12673 calling $(MAKE).
12674 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12675 io fs process)): Force subdir to hurd when calling $(MAKE).
12676 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
12677 subdir to mach when calling $(MAKE).
12678
12679 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
12680
12681 Check sysheaders when looking for Mach and Hurd headers
12682
12683 * sysdeps/mach/configure.ac: Add sysheaders check.
12684 * sysdeps/mach/configure: Regenerate.
12685 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
12686 * sysdeps/mach/hurd/configure: Regenerate.
12687
12688 2015-09-04 Roland McGrath <roland@hack.frob.com>
12689
12690 [BZ #18921]
12691 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
12692 Fix inverted sense of test of 'o_directory_works' value.
12693 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
12694 Bernhard Voelker <mail@bernhard-voelker.de>.
12695
12696 2015-09-04 Joseph Myers <joseph@codesourcery.com>
12697
12698 [BZ #14912]
12699 * bits/linkmap.h: Move to ...
12700 * sysdeps/generic/linkmap.h: ...here.
12701 * sysdeps/aarch64/bits/linkmap.h: Move to ...
12702 * sysdeps/aarch64/linkmap.h: ...here.
12703 * sysdeps/arm/bits/linkmap.h: Move to ...
12704 * sysdeps/arm/linkmap.h: ...here.
12705 * sysdeps/hppa/bits/linkmap.h: Move to ...
12706 * sysdeps/hppa/linkmap.h: ...here.
12707 * sysdeps/ia64/bits/linkmap.h: Move to ...
12708 * sysdeps/ia64/linkmap.h: ...here.
12709 * sysdeps/mips/bits/linkmap.h: Move to ...
12710 * sysdeps/mips/linkmap.h: ...here.
12711 * sysdeps/s390/bits/linkmap.h: Move to ...
12712 * sysdeps/s390/linkmap.h: ...here.
12713 * sysdeps/sh/bits/linkmap.h: Move to ...
12714 * sysdeps/sh/linkmap.h: ...here.
12715 * sysdeps/x86/bits/linkmap.h: Move to ...
12716 * sysdeps/x86/linkmap.h: ...here.
12717 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
12718
12719 2015-09-04 Andreas Schwab <schwab@suse.de>
12720
12721 [BZ #18635]
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
12723 (__makecontext): Terminate FDE before return label.
12724 (__novec_makecontext): Likewise.
12725
12726 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12727
12728 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
12729 first member of struct sv in syscall macro.
12730
12731 2015-09-04 Joseph Myers <joseph@codesourcery.com>
12732
12733 [BZ #14912]
12734 * bits/stdio-lock.h: Move to ...
12735 * sysdeps/generic/stdio-lock.h: ...here.
12736 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12737 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
12738 * sysdeps/nptl/stdio-lock.h: ...here.
12739 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
12740 * include/libio.h: Include <stdio-lock.h> instead of
12741 <bits/stdio-lock.h>.
12742 * sysdeps/nptl/fork.c: Likewise.
12743 * sysdeps/pthread/flockfile.c: Likewise.
12744 * sysdeps/pthread/ftrylockfile.c: Likewise.
12745 * sysdeps/pthread/funlockfile.c: Likewise.
12746
12747 [BZ #14912]
12748 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
12749 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
12750 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
12751 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
12752 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
12753 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12754 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
12755
12756 2015-09-03 Roland McGrath <roland@hack.frob.com>
12757
12758 * elf/Makefile (test-xfail-tst-protected1a): New variable.
12759 (test-xfail-tst-protected1b): New variable.
12760
12761 2015-09-03 Joseph Myers <joseph@codesourcery.com>
12762
12763 [BZ #14912]
12764 * bits/libc-tsd.h: Move to ...
12765 * sysdeps/generic/libc-tsd.h: ...here.
12766 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
12767 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
12768 * sysdeps/mach/hurd/libc-tsd.h: ...here.
12769 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
12770 * include/ctype.h: Include <libc-tsd.h> instead of
12771 <bits/libc-tsd.h>.
12772 * include/rpc/rpc.h: Likewise.
12773 * locale/localeinfo.h: Likewise.
12774 * sunrpc/rpc_thread.c: Likewise.
12775 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
12776 * sysdeps/nptl/malloc-machine.h: Likewise.
12777
12778 * Makefile (headers): Remove bits/libc-lock.h.
12779 * libio/Makefile (headers): Remove bits/stdio-lock.h.
12780
12781 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
12782 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
12783 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
12784 <bits/stdio-lock.h>.
12785 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
12786 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
12787
12788 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12789
12790 [BZ #18757]
12791 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
12792 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
12793 BZ #18757.
12794
12795 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12796
12797 * malloc/mtrace.pl: Filter out NULL entries.
12798
12799 2015-09-01 Joseph Myers <joseph@codesourcery.com>
12800
12801 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
12802 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
12803 macro.
12804
12805 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
12806 (TCP_CC_INFO): Likewise.
12807 (TCP_SAVE_SYN): Likewise.
12808 (TCP_SAVED_SYN): Likewise.
12809
12810 2015-08-31 Brett Neumeier <brett@neumeier.us>
12811
12812 [BZ #18870]
12813 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
12814
12815 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
12816
12817 [BZ #18873]
12818 Fix broken overflow check in posix_fallocate
12819 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
12820 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
12821 Fix parenthesization typo.
12822
12823 2015-08-28 Mike Frysinger <vapier@gentoo.org>
12824
12825 [BZ #18887]
12826 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
12827 tst-mntent-blank-passno.
12828 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12829 * misc/tst-mntent-blank-corrupt.c: New test.
12830 * misc/tst-mntent-blank-passno.c: New test ripped from ...
12831 * misc/tst-mntent.c (do_test): ... here.
12832
12833 2015-08-29 Mike Frysinger <vapier@gentoo.org>
12834
12835 [BZ #4404]
12836 * po/de.po: Fix SIGALRM typo.
12837
12838 2015-08-28 James Perkins <james@loowit.net>
12839
12840 * time/tst-strptime2.c (tests): Replace short list of test
12841 strings for strptime %z specifier with code which exhaustively
12842 tests every combination of sign and 0 to 5 digits. Tests for
12843 rejection of invalid strings.
12844
12845 2015-08-28 James Perkins <james@loowit.net>
12846
12847 [BZ #16141]
12848 * time/strptime_l.c (__strptime_internal): Fix %z minutes
12849 calculation, removing incorrect decimal time rounding, so that
12850 all minute values result in a valid seconds value.
12851 * time/strptime_l.c (__strptime_internal): Extend %z time zone
12852 offset range limits to UTC-99:59 through UTC+99:59 to parse
12853 current and historical use cases.
12854 * time/tst-strptime2.c (tests): Modify and add tests for the
12855 strptime %z input field descriptor, specifically conversion of
12856 minutes to seconds and validating an offset range of -9959 to
12857 +9959.
12858
12859 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12860 Dmitry V. Levin <ldv@altlinux.org>
12861
12862 [BZ #18877]
12863 * posix/Makefile (tests): Add tst-mmap-offset.
12864 * posix/tst-mmap.c: New file.
12865 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12866 offset calculation for negative values.
12867
12868 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12869
12870 * sysdeps/i386/init-arch.h: New file.
12871 * sysdeps/i386/i586/init-arch.h: Likewise.
12872 * sysdeps/i386/i686/init-arch.h: Likewise.
12873 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12874 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
12875 * sysdeps/x86/cpu-features.h (bit_I586): New.
12876 (bit_I686): Likewise.
12877 (bit_CX8): Likewise.
12878 (bit_CMOV): Likewise.
12879 (index_CX8): Likewise.
12880 (index_CMOV): Likewise.
12881 (index_I586): Likewise.
12882 (index_I686): Likewise.
12883 (reg_CX8): Likewise.
12884 (reg_CMOV): Likewise.
12885 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12886 available at compile-time.
12887 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12888 available at compile-time.
12889 * sysdeps/x86/init-arch.h (USE_I586): New macro.
12890 (USE_I686): Likewise.
12891
12892 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 * sysdeps/i386/bcopy.S: New file.
12895 * sysdeps/i386/bzero.S: Likewise.
12896 * sysdeps/i386/memcpy.S: Likewise.
12897 * sysdeps/i386/memmove.S: Likewise.
12898 * sysdeps/i386/mempcpy.S: Likewise.
12899 * sysdeps/i386/memset.S: Likewise.
12900 * sysdeps/i386/bzero.c: Removed.
12901 * sysdeps/i386/memset.c: Likewise.
12902 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12903 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12904 * sysdeps/i386/i586/memset_chk.S: Likewise.
12905 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12906 * sysdeps/i386/memcpy_chk.S: Here.
12907 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12908 * sysdeps/i386/memmove_chk.S: Here.
12909 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12910 * sysdeps/i386/mempcpy_chk.S: Likewise.
12911 * sysdeps/i386/i686/memset_chk.S: Moved to ...
12912 * sysdeps/i386/memset_chk.S: Likewise.
12913
12914 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
12915
12916 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12917 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12918 file, move DIAG_POP_NEEDS_COMMENT to end of file.
12919 * soft-fp/fmadf4.c: Ditto.
12920 * soft-fp/fmatf4.c: Ditto.
12921
12922 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * sysdeps/i386/i586/Implies: Removed.
12925 * sysdeps/i386/i686/Implies: Likewise.
12926
12927 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12928
12929 * sysdeps/i386/i486/strlen.S: Moved to ...
12930 * sysdeps/i386/strlen.S: Here.
12931
12932 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12933
12934 * sysdeps/i386/i486/strcat.S: Moved to ...
12935 * sysdeps/i386/strcat.S: Here.
12936
12937 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12938
12939 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12940 * sysdeps/i386/pthread_spin_trylock.S: Here.
12941 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12942 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12943
12944 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * sysdeps/i386/i486/string-inlines.c: Moved to ...
12947 * sysdeps/i386/string-inlines.c: Here.
12948
12949 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12950
12951 * sysdeps/i386/i486/htonl.S: Moved ...
12952 * sysdeps/i386/htonl.S: here.
12953
12954 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12955
12956 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12957 * sysdeps/i386/bits/atomic.h: Here.
12958
12959 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
12960
12961 * sysdeps/i386/i486/Versions: Removed.
12962
12963 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
12964
12965 [BZ #2898]
12966 * misc/mktemp.c: Add mkdtemp to the link_warning message.
12967 Based on patch by Aurelien Jarno.
12968
12969 2015-08-26 Stan Shebs <stanshebs@google.com>
12970
12971 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12972 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12973
12974 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12975
12976 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12977 * sysdeps/powerpc/dl-procinfo.c:
12978 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12979 feature so it shows when LD_SHOW_AUXV=1.
12980
12981 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12982
12983 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12984 (__arch_compare_and_exchange_val_32_acq): Remove and use common
12985 definition. ISA 2.07B no longer requires full sync.
12986
12987 2015-08-26 Mike Frysinger <vapier@gentoo.org>
12988
12989 [BZ #18863]
12990 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12991 (si_call_addr): Define.
12992 (si_syscall): Define.
12993 (si_arch): Define.
12994
12995 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
12996
12997 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12998 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12999 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13000 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13001 (__memset_zero_constant_len_parameter): New.
13002 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13003 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13004 (__memset_zero_constant_len_parameter): Don't define if
13005 __memset_chk or USE_AS_BZERO are defined.
13006
13007 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13008 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13009 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13010
13011 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13012 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13013 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13014 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
13015 comments.
13016 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13017 -mno-mmx for $(all-rtld-routines).
13018 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13019 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
13020 i386.
13021
13022 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13023
13024 * sysdeps/generic/unwind.h
13025 (_Unwind_Word): Use __mode__(__unwind_word__)
13026 instead of __mode__(__word__).
13027 (_Unwind_Sword): Likewise.
13028
13029 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13030 (MAX_NEEDED_INPUT): New define.
13031 (MAX_NEEDED_OUTPUT): New define.
13032
13033 * NEWS: New item for IBM z13 string optimizations.
13034
13035 * sysdeps/s390/multiarch/memrchr-c.c: New File.
13036 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13037 * sysdeps/s390/multiarch/memrchr.c: Likewise.
13038 * sysdeps/s390/multiarch/Makefile
13039 (sysdep_routines): Add memrchr functions.
13040 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13041 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13042
13043 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13044 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13045 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13046 * sysdeps/s390/multiarch/Makefile
13047 (sysdep_routines): Add wmemcmp functions.
13048 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13049 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13050 * benchtests/bench-wmemcmp.c: New File.
13051 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13052
13053 * sysdeps/s390/multiarch/wmemset-c.c: New File.
13054 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13055 * sysdeps/s390/multiarch/wmemset.c: Likewise.
13056 * sysdeps/s390/multiarch/Makefile
13057 (sysdep_routines): Add wmemset functions.
13058 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13059 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13060 * wcsmbs/wmemset.c: Use WMEMSET if defined.
13061 * string/test-memset.c: Add wmemset support.
13062 * wcsmbs/test-wmemset.c: New File.
13063 * wcsmbs/Makefile (strop-tests): Add wmemset.
13064 * benchtests/bench-memset.c: Add wmemset support.
13065 * benchtests/bench-wmemset.c: New File.
13066 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13067
13068 * sysdeps/s390/multiarch/memccpy-c.c: New File.
13069 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13070 * sysdeps/s390/multiarch/memccpy.c: Likewise.
13071 * sysdeps/s390/multiarch/Makefile
13072 (sysdep_routines): Add memccpy functions.
13073 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13074 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13075 * string/memccpy.c: Use MEMCCPY if defined.
13076
13077 * sysdeps/s390/multiarch/memchr-vx.S: New File.
13078 * sysdeps/s390/multiarch/memchr.c: Likewise.
13079 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13080 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13081 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13082 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13083 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13084 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13085 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13086 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13087 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13088 and rawmemchr functions.
13089 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13090 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13091 and wmemchr.
13092 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13093 * string/test-memchr.c: Add wmemchr support.
13094 * wcsmbs/test-wmemchr.c: New File.
13095 * wcsmbs/Makefile (strop-tests): Add wmemchr.
13096 * benchtests/bench-memchr.c: Add wmemchr support.
13097 * benchtests/bench-wmemchr.c: New File.
13098 * benchtests/Makefile (wcsmbs-bench): wmemchr.
13099
13100 * sysdeps/s390/multiarch/strcspn-c.c: New File.
13101 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13102 * sysdeps/s390/multiarch/strcspn.c: Likewise.
13103 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13104 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13105 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13106 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13107 wcscspn functions.
13108 * sysdeps/s390/multiarch/ifunc-impl-list.c
13109 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13110 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13111 * string/test-strcspn.c: Add wcscspn support.
13112 * wcsmbs/test-wcscspn.c: New File.
13113 * wcsmbs/Makefile (strop-tests): Add wcscspn.
13114 * benchtests/bench-strcspn.c: Add wcscspn support.
13115 * benchtests/bench-wcscspn.c: New File.
13116 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13117
13118 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13119 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13120 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13121 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13122 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13123 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13124 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13125 wcspbrk functions.
13126 * sysdeps/s390/multiarch/ifunc-impl-list.c
13127 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13128 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13129 * string/test-strpbrk.c: Add wcspbrk support.
13130 * wcsmbs/test-wcspbrk.c: New File.
13131 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13132 * benchtests/bench-strpbrk.c: Add wcspbrk support.
13133 * benchtests/bench-wcspbrk.c: New File.
13134 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13135
13136 * sysdeps/s390/multiarch/strspn-c.c: New File.
13137 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13138 * sysdeps/s390/multiarch/strspn.c: Likewise.
13139 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13140 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13141 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13142 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13143 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13144 wcsspn functions.
13145 * sysdeps/s390/multiarch/ifunc-impl-list.c
13146 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13147 * string/test-strspn.c: Add wcsspn support.
13148 * wcsmbs/test-wcsspn.c: New File.
13149 * wcsmbs/Makefile (strop-tests): Add wcsspn.
13150 * benchtests/bench-strspn.c: Add wcsspn support.
13151 * benchtests/bench-wcsspn.c: New File.
13152 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13153
13154 * sysdeps/s390/multiarch/strrchr-c.c: New File.
13155 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13156 * sysdeps/s390/multiarch/strrchr.c: Likewise.
13157 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13158 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13159 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13160 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13161 wcsrchr functions.
13162 * sysdeps/s390/multiarch/ifunc-impl-list.c
13163 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13164 * benchtests/bench-wcsrchr.c: New File.
13165 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13166
13167 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13168 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13169 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13170 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13171 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13172 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13173 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13174 wcschrnul functions.
13175 * sysdeps/s390/multiarch/ifunc-impl-list.c
13176 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13177 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13178 * string/test-strchr.c: Add wcschrnul support.
13179 * wcsmbs/test-wcschrnul.c: New File.
13180 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13181 * benchtests/bench-strchr.c: Add wcschrnul support.
13182 * benchtests/bench-wcschrnul.c: New File.
13183 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13184
13185 * sysdeps/s390/multiarch/strchr-c.c: New File.
13186 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13187 * sysdeps/s390/multiarch/strchr.c: Likewise.
13188 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13189 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13190 * sysdeps/s390/multiarch/wcschr.c: Likewise.
13191 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13192 wcschr functions.
13193 * sysdeps/s390/multiarch/ifunc-impl-list.c
13194 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13195 * string/strchr.c (STRCHR): Define and use macro.
13196 * benchtests/bench-wcschr.c: New File.
13197 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13198
13199 * sysdeps/s390/multiarch/strncmp-c.c: New File.
13200 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13201 * sysdeps/s390/multiarch/strncmp.c: Likewise.
13202 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13203 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13204 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13205 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13206 wcsncmp functions.
13207 * sysdeps/s390/multiarch/ifunc-impl-list.c
13208 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13209 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13210 * benchtests/bench-strncmp.c: Add wcsncmp support.
13211 * benchtests/bench-wcsncmp.c: New File.
13212 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13213
13214 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13215 * sysdeps/s390/multiarch/strcmp.c: Likewise.
13216 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13217 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13218 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13219 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13220 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13221 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13222 wcscmp functions.
13223 * sysdeps/s390/multiarch/ifunc-impl-list.c
13224 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13225 * string/strcmp.c (STRCMP): Define and use macro.
13226 * benchtests/bench-wcscmp.c: New File.
13227 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13228 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13229 instead of _HAVE_STRING_ARCH_memchr.
13230
13231 * sysdeps/s390/multiarch/strncat-c.c: New File.
13232 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13233 * sysdeps/s390/multiarch/strncat.c: Likewise.
13234 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13235 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13236 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13237 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13238 wcsncat functions.
13239 * sysdeps/s390/multiarch/ifunc-impl-list.c
13240 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13241 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13242 * string/test-strncat.c: Add wcsncat support.
13243 * wcsmbs/test-wcsncat.c: New File.
13244 * wcsmbs/Makefile (strop-tests): Add wcsncat.
13245 * benchtests/bench-strncat.c: Add wcsncat support.
13246 * benchtests/bench-wcsncat.c: New File.
13247 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13248
13249 * sysdeps/s390/multiarch/strcat-c.c: New File.
13250 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13251 * sysdeps/s390/multiarch/strcat.c: Likewise.
13252 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13253 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13254 * sysdeps/s390/multiarch/wcscat.c: Likewise.
13255 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13256 wcscat functions.
13257 * sysdeps/s390/multiarch/ifunc-impl-list.c
13258 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13259 * string/strcat.c (STRCAT): Define and use macro.
13260 * wcsmbs/wcscat.c: Use WCSCAT if defined.
13261 * string/test-strcat.c: Add wcscat support.
13262 * wcsmbs/test-wcscat.c: New File.
13263 * wcsmbs/Makefile (strop-tests): Add wcscat.
13264 * benchtests/bench-strcat.c: Add wcscat support.
13265 * benchtests/bench-wcscat.c: New File.
13266 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13267
13268 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13269 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13270 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13271 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13272 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13273 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13274 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13275 wcpncpy functions.
13276 * sysdeps/s390/multiarch/ifunc-impl-list.c
13277 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13278 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13279 * string/test-stpncpy.c: Add wcpncpy support.
13280 * wcsmbs/test-wcpncpy.c: New File.
13281 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13282 * benchtests/bench-stpncpy.c: Add wcpncpy support.
13283 * benchtests/bench-wcpncpy.c: New File.
13284 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13285
13286 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13287 * sysdeps/s390/multiarch/strncpy.c: Likewise.
13288 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13289 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13290 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13291 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13292 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13293 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13294 wcsncpy functions.
13295 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13296 * sysdeps/s390/multiarch/ifunc-impl-list.c
13297 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13298 * string/test-strncpy.c: Add wcsncpy support.
13299 * wcsmbs/test-wcsncpy.c: New File.
13300 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13301 * benchtests/bench-strncpy.c: Add wcsncpy support.
13302 * benchtests/bench-wcsncpy.c: New File.
13303 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13304
13305 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13306 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13307 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13308 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13309 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13310 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13312 wcpcpy functions.
13313 * string/stpcpy.c: Use STPCPY if defined.
13314 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13315 * sysdeps/s390/multiarch/ifunc-impl-list.c
13316 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13317 * string/test-stpcpy.c: Add wcpcpy support.
13318 * wcsmbs/test-wcpcpy.c: New File.
13319 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13320 * benchtests/bench-stpcpy.c: Add wcpcpy support.
13321 * benchtests/bench-wcpcpy.c: New File.
13322 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13323
13324 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13325 * sysdeps/s390/multiarch/strcpy.c: Likewise.
13326 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13327 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13328 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13329 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13330 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13331 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13332 wcscpy functions.
13333 * sysdeps/s390/multiarch/ifunc-impl-list.c
13334 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13335 * benchtests/bench-wcscpy.c: New File.
13336 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13337
13338 * sysdeps/s390/multiarch/strnlen-c.c: New File.
13339 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13340 * sysdeps/s390/multiarch/strnlen.c: Likewise.
13341 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13342 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13343 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13344 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13345 wcsnlen functions.
13346 * sysdeps/s390/multiarch/ifunc-impl-list.c
13347 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13348 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
13349 * string/test-strnlen.c: Add wcsnlen support.
13350 * wcsmbs/test-wcsnlen.c: New File.
13351 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
13352 * benchtests/bench-strnlen.c: Add wcsnlen support.
13353 * benchtests/bench-wcsnlen.c: New File.
13354 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
13355
13356 * sysdeps/s390/multiarch/Makefile: New File.
13357 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
13358 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
13359 * sysdeps/s390/multiarch/strlen.c: Likewise.
13360 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
13361 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
13362 * sysdeps/s390/multiarch/wcslen.c: Likewise.
13363 * string/strlen.c (STRLEN): Define and use macro.
13364 * sysdeps/s390/multiarch/ifunc-impl-list.c
13365 (IFUNC_VX_IMPL): New macro function.
13366 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
13367 * benchtests/Makefile (wcsmbs-bench): New variable.
13368 (string-bench-all): Added wcsmbs-bench.
13369 * benchtests/bench-wcslen.c: New File.
13370
13371 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
13372 s390_vx_libc_ifunc2): New macro function.
13373
13374 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
13375 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
13376 assembler support.
13377 * sysdeps/s390/configure: Regenerated.
13378
13379 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
13380 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
13381
13382 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
13383 * sysdeps/s390/dl-procinfo.h: Add vector capability.
13384 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
13385
13386 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
13387 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
13388 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
13389 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13390 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
13391 (memcmp, bcmp): Use __memcmp_default as alias source.
13392 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
13393 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
13394 Rename to __memcmp_default.
13395 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
13396 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
13397 (memcpy): Use __memcpy_default as alias source.
13398 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
13399 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
13400 Rename to __memcpy_default.
13401 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
13402 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
13403 (memset): Use __memset_default as alias source.
13404 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
13405 * sysdeps/s390/s390-32/memset.S (__memset_g5):
13406 Rename to __memset_default.
13407 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
13408 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
13409 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
13410 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
13411 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
13412 (memcmp, bcmp): Use __memcmp_default as alias source.
13413 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
13414 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
13415 Rename to __memcmp_default.
13416 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
13417 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
13418 (memcpy): Use __memcpy_default as alias source.
13419 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
13420 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
13421 Rename to __memcpy_default.
13422 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
13423 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
13424 (memset): Use __memset_default as alias source.
13425 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
13426 * sysdeps/s390/s390-64/memset.S (__memset_z900):
13427 Rename to __memset_default.
13428 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
13429 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
13430
13431 [BZ #18610]
13432 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
13433 __ieee_instruction_pointer to __unused.
13434 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
13435 __ieee_instruction_pointer.
13436 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
13437 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
13438 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13439 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13440 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
13441 Mark dxc-field as reserved.
13442
13443 2015-08-25 Roland McGrath <roland@hack.frob.com>
13444
13445 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
13446 if the weak reference is not null.
13447
13448 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13449
13450 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
13451
13452 [BZ #11214]
13453 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
13454
13455 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13456
13457 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
13458 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
13459 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
13460 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
13461 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
13462 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
13463 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
13464 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
13465 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
13466 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
13467 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
13468 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
13469 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
13470 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
13471 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
13472 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
13473 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
13474 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
13475
13476 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13477
13478 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
13479 register other than r0 for tabort, it has special meaning.
13480 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
13481 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
13482 transaction before starting syscall.
13483
13484 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13485
13486 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
13487
13488 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
13491
13492 * sysdeps/x86_64/rtld-memcmp.c: Removed.
13493 * sysdeps/x86_64/rtld-memset.S: Likewise.
13494 * sysdeps/x86_64/rtld-strchr.S: Likewise.
13495 * sysdeps/x86_64/rtld-strlen.S: Likewise.
13496 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
13497 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13498
13499 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
13500
13501 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
13502
13503 * debug/strcpy_chk.c: Improve performance.
13504 * debug/stpcpy_chk.c: Likewise.
13505 * sysdeps/x86_64/strcpy_chk.S: Remove.
13506 * sysdeps/x86_64/stpcpy_chk.S: Remove.
13507
13508 [BZ #18240]
13509 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
13510
13511 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
13512
13513 [BZ #15128]
13514 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
13515 ifuncmain8.
13516 (modules-names): Add ifuncmod8.
13517 ($(objpfx)ifuncmain8): New rule.
13518 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
13519 <cpuid.h>.
13520 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
13521 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
13522 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
13523 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
13524 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
13525 * sysdeps/x86_64/dl-trampoline.h: Likewise.
13526 * sysdeps/x86_64/ifuncmain8.c: New file.
13527 * sysdeps/x86_64/ifuncmod8.c: Likewise.
13528 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
13529 Removed.
13530 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
13531 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
13532 Change rtld_savespace_sse to __glibc_unused2.
13533 (RTLD_CHECK_FOREIGN_CALL): Removed.
13534 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
13535 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
13536 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
13537
13538 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13539
13540 * sysdeps/aarch64/bzero.S (__bzero): Remove.
13541
13542 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13543
13544 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
13545 Unconditionally set __fpcr to avoid uninialized warning.
13546 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
13547
13548 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13549
13550 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
13551 is corrupt.
13552
13553 * malloc/arena.c (arena_get2): Drop unused argument.
13554 (arena_lock): Adjust.
13555 (arena_get_retry): Likewise.
13556
13557 2015-08-24 Andreas Schwab <schwab@suse.de>
13558
13559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
13560 Don't define.
13561 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13562 (__ASSUME_IPC64): Don't undef.
13563 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
13564 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13565 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13566 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
13567 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
13568 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
13569 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
13570 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
13571 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
13572 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
13573 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
13574 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
13575 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
13576 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
13577 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
13578 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
13579 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
13580 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
13581 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
13582 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
13583 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
13584
13585 2015-08-21 Mike Frysinger <vapier@gentoo.org>
13586
13587 * manual/Makefile (install): Only build manual when perl is available.
13588
13589 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13590
13591 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
13592 '#undef memcpy' by '#undef memchr'.
13593
13594 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13595
13596 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
13597 memchr not point to the internal __GI_memchr implementation.
13598
13599 2015-08-20 Joseph Myers <joseph@codesourcery.com>
13600
13601 * timezone/Makefile (CFLAGS-zdump.c): Remove
13602 -Wno-strict-prototypes.
13603 (CFLAGS-zic.c): Likewise.
13604 (CFLAGS-ialloc.c): Likewise.
13605 (CFLAGS-scheck.c): Likewise.
13606
13607 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
13608 -Wno-error=undef.
13609
13610 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * i386/i686/multiarch/strcasestr-c.c: Removed.
13613 * x86_64/multiarch/strcasestr.c: Likewise.
13614 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13615 Remove strcasestr.
13616
13617 2015-08-20 Joseph Myers <joseph@codesourcery.com>
13618
13619 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
13620
13621 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
13622 variables for high and low parts before possibly modifying them.
13623
13624 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13625
13626 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
13627 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
13628 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
13629 of "multiarch/init-arch.h".
13630 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
13631 * sysdeps/x86/init-arch.h: This.
13632
13633 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
13634
13635 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
13636 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
13637
13638 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
13639
13640 [BZ #17787]
13641 * manual/macros.texi: Add twoexp macro.
13642 * manual/filesys.texi: Fix exponents.
13643 * manual/llio.texi: Likewise.
13644 * manual/stdio.texi: Likewise.
13645
13646 2015-08-20 Florian Weimer <fweimer@redhat.com>
13647
13648 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
13649 incorrect use.
13650
13651 2015-08-19 Joseph Myers <joseph@codesourcery.com>
13652
13653 [BZ #18370]
13654 * math/s_csqrt.c (__csqrt): Force underflow exception for results
13655 whose real or imaginary part has small absolute value.
13656 * math/s_csqrtf.c (__csqrtf): Likewise.
13657 * math/s_csqrtl.c (__csqrtl): Likewise.
13658 * math/auto-libm-test-in: Add more tests of csqrt.
13659 * math/auto-libm-test-out: Regenerated.
13660 * sysdeps/i386/fpu/libm-test-ulps: Update.
13661
13662 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13663
13664 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
13665 __ppc_set_ppr_very_low): New functions.
13666 * manual/platform.texi: Add documentation about
13667 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
13668
13669 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
13670
13671 * string/stpncpy.c (stpncpy): Improve performance using
13672 __strnlen/memcpy/memset.
13673
13674 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
13675
13676 [BZ #18796]
13677 * scripts/test-installation.pl: Don't add -lmvec to build options if
13678 libmvec wasn't built.
13679
13680 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
13681
13682 [BZ #14341]
13683 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
13684 case when there is a gap between DT_REL and DT_JMPREL sections.
13685 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
13686 (LDFLAGS-tst-split-dynreloc): New.
13687 (tst-split-dynreloc-ENV): Likewise.
13688 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
13689 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
13690
13691 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13692
13693 [BZ #18822]
13694 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
13695 attribute_hidden.
13696 (__xstat64_conv): Likewise.
13697 (__xstat32_conv): Likewise.
13698
13699 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 [BZ #18822]
13702 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
13703 Don't load %ebx when calling __setcontext. Call __setcontext
13704 with HIDDEN_JUMPTARGET.
13705 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
13706 libc_hidden_def.
13707
13708 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 * sysdeps/i386/i686/Makefile
13711 [$(subdir) == string] (sysdep_routines): Moved to ...
13712 * sysdeps/i386/Makefile: Here.
13713 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
13714 * sysdeps/i386/cacheinfo.c: Here.
13715 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
13716 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
13717 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
13718 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
13719
13720 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
13721
13722 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
13723 __i586__ is defined.
13724 (HAS_I686): Defined to 1 if __i686__ is defined.
13725
13726 2015-08-19 Joseph Myers <joseph@codesourcery.com>
13727
13728 * elf/Makefile [$(have-z-execstack) = yes]
13729 (CPPFLAGS-tst-execstack.c): New variable.
13730
13731 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
13732 conditional to [defined UTMPX || _HAVE_UT_TYPE].
13733 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
13734 UTMPX || _HAVE_UT_TV].
13735 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
13736 UTMPX || _HAVE_UT_TV - 0].
13737
13738 2015-08-18 Joseph Myers <joseph@codesourcery.com>
13739
13740 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
13741 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
13742 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
13743
13744 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13745
13746 * sysdeps/powerpc/dl-procinfo.c:
13747 (_dl_powerpc_cap_flags): Added missing strings for some
13748 hwcap features.
13749 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
13750
13751 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
13752
13753 Port the 0x7efe...feff pattern to GCC 6.
13754 See Steve Ellcey's bug report in:
13755 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
13756 * string/memrchr.c (MEMRCHR):
13757 * string/rawmemchr.c (RAWMEMCHR):
13758 * string/strchr.c (strchr):
13759 * string/strchrnul.c (STRCHRNUL):
13760 Rewrite code to avoid issues with signed shift overflow.
13761
13762 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
13763
13764 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
13765 whether cpuid is available only if HAS_CPUID is 0.
13766 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
13767 (HAS_I586): Likewise.
13768 (HAS_I686): Likewise.
13769
13770 2015-08-18 Zack Weinberg <zackw@panix.com>
13771
13772 * misc/Versions (libc): Add GLIBC_2.23.
13773
13774 2015-08-18 Alan Modra <amodra@gmail.com>
13775
13776 [BZ #18421]
13777 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
13778 .Lp__global.
13779 (_start): Load %dp via .Lp__global.
13780 [!SHARED]: Use .section .rodata.
13781
13782 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13783
13784 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
13785 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
13786
13787 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13788
13789 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
13790 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
13791
13792 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13793
13794 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
13795 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
13796
13797 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13798
13799 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
13800 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
13801
13802 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13803
13804 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
13805 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
13806
13807 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13808
13809 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
13810 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
13811
13812 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13813
13814 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
13815
13816 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13817
13818 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
13819 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
13820 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13821 (__ASSUME_LWS_CAS): Delete.
13822
13823 2015-08-18 Mike Frysinger <vapier@gentoo.org>
13824
13825 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
13826 * sysdeps/hppa/configure: Regenerated.
13827 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13828 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13829 * sysdeps/hppa/nptl/tls.h: Likewise.
13830
13831 2015-08-17 Joseph Myers <joseph@codesourcery.com>
13832
13833 [BZ #18823]
13834 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13835 for scaling up small arguments.
13836 * math/s_csqrtf.c (__csqrtf): Likewise.
13837 * math/s_csqrtl.c (__csqrtl): Likewise.
13838 * math/auto-libm-test-in: Add more tests of csqrt.
13839 * math/auto-libm-test-out: Regenerated.
13840
13841 2015-08-17 Andreas Schwab <schwab@suse.de>
13842
13843 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13844 version set GLIBC_2.19.
13845
13846 2015-08-16 Zack Weinberg <zackw@panix.com>
13847
13848 [BZ #18681]
13849 * misc/regexp.h: This interface is no longer supported.
13850 Remove all contents, leaving only an #error directive.
13851 * misc/regexp.c (loc1, loc2, locs, step, advance):
13852 Demote to compatibility symbols.
13853
13854 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
13855
13856 [BZ #18084]
13857 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13858 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13859 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13860 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13861 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13862 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13863 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13864 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13865 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13866
13867 2015-08-15 Zack Weinberg <zackw@panix.com>
13868
13869 [BZ #18795]
13870 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13871 buffer length is known to be too large, not if it's known to be
13872 small enough.
13873 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13874 overflow at runtime, involving a length parameter, twice: once
13875 with a compile-time constant length parameter, once without.
13876
13877 2015-08-14 Joseph Myers <joseph@codesourcery.com>
13878
13879 [BZ #18824]
13880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13881 scaling x * y up instead of down.
13882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13884 * math/auto-libm-test-in: Add more tests of fma.
13885 * math/auto-libm-test-out: Regenerated.
13886
13887 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13888
13889 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13890
13891 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13892
13893 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13894 unnecessary movq.
13895 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13896 Likewise.
13897
13898 2015-08-13 Joseph Myers <joseph@codesourcery.com>
13899
13900 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13901 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13902 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13903 and tgamma.
13904 * math/auto-libm-test-out: Regenerated.
13905 * sysdeps/i386/fpu/libm-test-ulps: Update.
13906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13907
13908 [BZ #16520]
13909 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13910 (__tanh): Force underflow exception for arguments with small
13911 absolute value.
13912 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13913 (__tanhf): Force underflow exception for arguments with small
13914 absolute value.
13915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13916 (__tanhl): Force underflow exception for arguments with small
13917 absolute value.
13918 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13919 (__tanhl): Force underflow exception for arguments with small
13920 absolute value.
13921 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13922 (__tanhl): Force underflow exception for arguments with small
13923 absolute value.
13924 * math/auto-libm-test-in: Add more tests of tanh.
13925 * math/auto-libm-test-out: Regenerated.
13926 * sysdeps/i386/fpu/libm-test-ulps: Update.
13927
13928 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13929
13930 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13931 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13932
13933 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13936 <cpuid.h>.
13937
13938 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13939
13940 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13941 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13942
13943 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13944
13945 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13946 Remove $(objpfx)init-arch.o.
13947 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13948 init-arch.
13949 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13950 (INIT_ARCH_EXT): Defined as empty.
13951 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13952 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13953 __init_cpu_features call. Replace HAS_XXX with
13954 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13955 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13956 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13957 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13958 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13959 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13960 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13961 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13962 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13963 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13964 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13966 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13967 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13968 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13969 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13971 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13972 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13973 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13974 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13975 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13976 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13977 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13978 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13979 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13980 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13981 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13982 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13983 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13984 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13985 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13986 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13987 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13988 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13989 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13990
13991 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
13992
13993 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13994 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13995 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13996 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13997 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13998 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13999 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14000 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14001 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14002 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14003 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14004 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
14005 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14006 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14007 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14008 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14019 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14020 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14021 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14022 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14023 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14024 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14025 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14028 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14029 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14030 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14031 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14032 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14033 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14034 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14035 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14036
14037 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14038
14039 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14040 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14044 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14046 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14047 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14049 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14050 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14051 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14052 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14053 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14054 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14055 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14056 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14057 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14058 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14060 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14061 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14062 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14063 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14064 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14065 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14066 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
14067 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14068 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14069 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14070 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14071 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14072 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14073 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14074 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14075 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14076 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14077 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14078 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14079 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14080 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14081 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14082
14083 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14084
14085 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14086 (dl_platform_init): Call init_cpu_features.
14087 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14088 * sysdeps/i386/i686/cacheinfo.c
14089 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14090 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14091 * sysdeps/i386/i686/multiarch/Versions: Removed.
14092 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14093 Removed.
14094 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14095 * sysdeps/unix/sysv/linux/x86/Makefile
14096 (libpthread-sysdep_routines): Remove init-arch.
14097 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14098 <sysdeps/x86_64/dl-procinfo.c> instead of
14099 sysdeps/generic/dl-procinfo.c>.
14100 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14101 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14102 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14103 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14104 [$(subdir) == elf] (tests-static): Add
14105 tst-get-cpu-features-static.
14106 * sysdeps/x86/Versions: New file.
14107 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14108 * sysdeps/x86/cpu-features.c: Likewise.
14109 * sysdeps/x86/cpu-features.h: Likewise.
14110 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14111 * sysdeps/x86/libc-start.c: Likewise.
14112 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14113 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14114 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14115 * sysdeps/x86_64/dl-procinfo.c: Likewise.
14116 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14117 Assume USE_MULTIARCH is defined and don't check it.
14118 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14119 (is_amd): Likewise.
14120 (max_cpuid): Likewise.
14121 (intel_check_word): Likewise.
14122 (__cache_sysconf): Don't call __init_cpu_features.
14123 (__x86_preferred_memory_instruction): Removed.
14124 (init_cacheinfo): Don't call __init_cpu_features. Replace
14125 __cpu_features with GLRO(dl_x86_cpu_features).
14126 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14127 (dl_platform_init): Call init_cpu_features.
14128 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14129 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14130 * sysdeps/x86_64/multiarch/Versions: Removed.
14131 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14132 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14133 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14134 Removed.
14135 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14136
14137 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14138
14139 [BZ #18820]
14140 * libio/Makefile (test-fmemopen-mem): New test.
14141 * libio/test-fmemopen.c (do_bz18820): New test.
14142 * libio/fmemopen.c (__fmemopen): Fix memory leak.
14143 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14144
14145 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14146
14147 [BZ #16734]
14148 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14149 (FREE_BUF): Delete.
14150 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14151 * libio/genops.c (_IO_setb): Use malloc and free directly.
14152 (_IO_default_doallocate, _IO_default_finish): Likewise.
14153 ( _IO_unbuffer_all): Likewise.
14154 ( libc_freeres_fn): Likewise.
14155 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14156 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14157 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14158 (_IO_wdefault_doallocate): Likewise.
14159
14160 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14161
14162 [BZ #18086]
14163 * sysdeps/posix/nice.c (nice): Restore old errno.
14164 * posix/tst-nice.c (do_test): Add test for BZ #18086.
14165
14166 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
14167
14168 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14169
14170 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14171
14172 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14173 __bcopy and add a weak_alias to bcopy.
14174 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14175 for static build.
14176
14177 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14178 cleanup macro usage.
14179 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14180 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14183 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14184 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14185 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14186 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14187 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14188 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14189 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14190 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14192 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14193 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14194 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14195 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14196 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14197 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14198
14199 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14200 libc_hidden_def.
14201 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14202
14203 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14204 (sysdep_routines): Add strstr-ppc64.
14205 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14206
14207 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
14208
14209 [BZ #18778]
14210 * elf/Makefile (tests): Add Add tst-nodelete2.
14211 (modules-names): Add tst-nodelete2mod.
14212 (tst-nodelete2mod.so-no-z-defs): New.
14213 ($(objpfx)tst-nodelete2): Likewise.
14214 ($(objpfx)tst-nodelete2.out): Likewise.
14215 (LDFLAGS-tst-nodelete2): Likewise.
14216 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14217 out of loop through all loaded libraries.
14218 * elf/tst-nodelete2.c: New file.
14219 * elf/tst-nodelete2mod.c: Likewise.
14220 * elf/tst-znodelete-zlib.cc: Delete.
14221
14222 2015-08-11 Andreas Schwab <schwab@suse.de>
14223
14224 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14225 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14226 (__openat64_nocancel): Likewise.
14227
14228 2015-08-11 Joseph Myers <joseph@codesourcery.com>
14229
14230 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14231 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14232 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14233 * math/auto-libm-test-out: Regenerated.
14234 * sysdeps/i386/fpu/libm-test-ulps: Update.
14235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14236
14237 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14238
14239 [BZ #18790]
14240 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14241 threshold for returning +/- 1.
14242 * math/auto-libm-test-in: Add more tests of tanh.
14243 * math/auto-libm-test-out: Regenerated.
14244 * sysdeps/i386/fpu/libm-test-ulps: Update.
14245
14246 2015-08-10 Andreas Schwab <schwab@suse.de>
14247
14248 [BZ #18781]
14249 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14250 MORE_OFLAGS to oflag.
14251 * io/test-lfs.c (do_test): Test openat64.
14252
14253 2015-08-10 Joseph Myers <joseph@codesourcery.com>
14254
14255 [BZ #18789]
14256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14257 smaller threshold for returning the argument.
14258 * math/auto-libm-test-in: Add more tests of sinh.
14259 * math/auto-libm-test-out: Regenerated.
14260 * sysdeps/i386/fpu/libm-test-ulps: Update.
14261
14262 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
14263
14264 [BZ #18674]
14265 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14266 break.
14267
14268 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
14269
14270 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14271 (generated): Don't add $(addprefix z.,$(tzfiles)).
14272
14273 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14274
14275 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14276 * scripts/sysd-rules.awk: Likewise.
14277
14278 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14279
14280 * iconvdata/tst-tables.sh: Change echo -n to printf.
14281 * nss/db-Makefile: Likewise.
14282 * posix/tst-getconf.sh: Likewise.
14283 * stdio-common/tst-unbputc.sh: Likewise.
14284
14285 2015-08-09 Mike Frysinger <vapier@gentoo.org>
14286
14287 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14288 MADV_*_PAGES defines behind this feature check.
14289
14290 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
14291
14292 [BZ #18480]
14293 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14294 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14295 Define.
14296 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14297 LOAD_REGS_5, LOAD_REGS_6): Update.
14298 (INTERNAL_SYSCALL): Update using new LOAD defines.
14299 (INTERNAL_SYSCALL_NCS): Likewise.
14300 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14301
14302 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14303
14304 [BZ #16734]
14305 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14306
14307 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14308
14309 [BZ #17905]
14310 * catgets/Makefile (tst-catgets-mem): New test.
14311 * catgets/catgets.c (catopen): Don't use unbounded alloca.
14312 * catgets/open_catalog.c (__open_catalog): Likewise.
14313 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14314
14315 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
14316
14317 [BZ #18787]
14318 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14319 clobber registers.
14320 (atomic_compare_and_exchange_val_acq): Use register asms to assign
14321 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
14322 Cast return to __typeof (oldval).
14323
14324 2015-08-08 Mike Frysinger <vapier@gentoo.org>
14325
14326 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14327 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
14328 and delete sys/syscall.h include.
14329
14330 2015-08-07 Joseph Myers <joseph@codesourcery.com>
14331
14332 [BZ #16517]
14333 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14334 (tan): Force underflow exception for arguments with small absolute
14335 value.
14336 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14337 (__kernel_tanf): Force underflow exception for arguments with
14338 small absolute value.
14339 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14340 (__kernel_tanl): Force underflow exception for arguments with
14341 small absolute value.
14342 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14343 (__kernel_tanl): Force underflow exception for arguments with
14344 small absolute value.
14345 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
14346 (__kernel_tanl): Force underflow exception for arguments with
14347 small absolute value.
14348 * math/auto-libm-test-in: Add more tests of tan.
14349 * math/auto-libm-test-out: Regenerated.
14350
14351 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14352
14353 Fix sysdeps/i386/fpu/s_scalbn.S build
14354
14355 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
14356
14357 2015-08-07 Mike Frysinger <vapier@gentoo.org>
14358
14359 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14360
14361 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
14362
14363 Fix gcrt0.o compilation
14364
14365 When static-start-installed-name is different from
14366 start-installed-name, we must not use the shared objects.
14367
14368 * csu/Makefile
14369 (extra-objs): Add gmon-start.o when building shared library and
14370 $(static-start-installed-name) is different from
14371 $(start-installed-name).
14372 $(objpfx)g$(static-start-installed-name): When building shared
14373 library and $(static-start-installed-name) is different from
14374 $(static-start-installed-name), revert to non-shared rule,
14375 i.e. using $(objpfx)% and gmon-start.o.
14376
14377 2015-08-06 Joseph Myers <joseph@codesourcery.com>
14378
14379 [BZ #16519]
14380 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
14381 (__ieee754_sinh): Force underflow exception for arguments with
14382 small absolute value.
14383 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
14384 (__ieee754_sinhf): Force underflow exception for arguments with
14385 small absolute value.
14386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
14387 (__ieee754_sinhl): Force underflow exception for arguments with
14388 small absolute value.
14389 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
14390 (__ieee754_sinhl): Force underflow exception for arguments with
14391 small absolute value.
14392 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
14393 (__ieee754_sinhl): Force underflow exception for arguments with
14394 small absolute value.
14395 * math/auto-libm-test-in: Add more tests of sinh.
14396 * math/auto-libm-test-out: Regenerated.
14397 * sysdeps/i386/fpu/libm-test-ulps: Update.
14398
14399 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14400
14401 * libio/oldfileops.c: Include unistd.h.
14402
14403 2015-08-06 Mike Frysinger <vapier@gentoo.org>
14404
14405 * stdlib/isomac.c: Include ctype.h.
14406
14407 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
14408
14409 * dirent/tst-seekdir.c (main): Converted to ...
14410 (do_test): ... this.
14411 (TEST_FUNCTION): New macro.
14412 Include test-skeleton.c.
14413 * elf/tst-dlmodcount.c (main): Converted to ...
14414 (do_test): ... this.
14415 (TEST_FUNCTION): New macro.
14416 Include test-skeleton.c.
14417 * elf/tst-order-main.c (main): Converted to ...
14418 (do_test): ... this.
14419 (TEST_FUNCTION): New macro.
14420 Include test-skeleton.c.
14421 * elf/tst-pie2.c (main): Converted to ...
14422 (do_test): ... this.
14423 (TEST_FUNCTION): New macro.
14424 Include test-skeleton.c.
14425 * inet/tst-ether_aton.c (main): Converted to ...
14426 (do_test): ... this.
14427 (TEST_FUNCTION): New macro.
14428 Include test-skeleton.c.
14429 * misc/tst-mntent.c (main): Converted to ...
14430 (do_test): ... this.
14431 (TEST_FUNCTION): New macro.
14432 Include test-skeleton.c.
14433 * misc/tst-tsearch.c (main): Converted to ...
14434 (do_test): ... this.
14435 (TEST_FUNCTION): New macro.
14436 Include test-skeleton.c.
14437 * posix/tst-regexloc.c (main): Converted to ...
14438 (do_test): ... this.
14439 (TEST_FUNCTION): New macro.
14440 Include test-skeleton.c.
14441 * resolv/tst-aton.c (main): Converted to ...
14442 (do_test): ... this.
14443 (TEST_FUNCTION): New macro.
14444 Include test-skeleton.c.
14445 * stdio-common/test-fwrite.c (main): Converted to ...
14446 (do_test): ... this.
14447 (TEST_FUNCTION): New macro.
14448 Include test-skeleton.c.
14449 * stdio-common/tst-ferror.c (main): Converted to ...
14450 (do_test): ... this.
14451 (TEST_FUNCTION): New macro.
14452 Include test-skeleton.c.
14453 * stdio-common/tst-printf.c (main): Converted to ...
14454 (do_test): ... this.
14455 (TEST_FUNCTION): New macro.
14456 Include test-skeleton.c.
14457 * stdio-common/tst-printfsz.c (main): Converted to ...
14458 (do_test): ... this.
14459 (TEST_FUNCTION): New macro.
14460 Include test-skeleton.c.
14461 * stdlib/tst-strtod.c (main): Converted to ...
14462 (do_test): ... this.
14463 (TEST_FUNCTION): New macro.
14464 Include test-skeleton.c.
14465 * string/tst-strlen.c (main): Converted to ...
14466 (do_test): ... this.
14467 (TEST_FUNCTION): New macro.
14468 Include test-skeleton.c.
14469 * string/tst-svc.c (main): Converted to ...
14470 (do_test): ... this.
14471 (TEST_FUNCTION): New macro.
14472 Include test-skeleton.c.
14473 * time/tst-strptime.c (main): Converted to ...
14474 (do_test): ... this.
14475 (TEST_FUNCTION): New macro.
14476 Include test-skeleton.c.
14477 * timezone/tst-timezone.c (main): Converted to ...
14478 (do_test): ... this.
14479 (TEST_FUNCTION): New macro.
14480 Include test-skeleton.c.
14481
14482 2015-08-05 Zack Weinberg <zackw@panix.com>
14483
14484 * misc/regexp.h: Update comments.
14485
14486 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
14487
14488 [BZ #18635]
14489 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
14490 before return label.
14491
14492 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14493
14494 [BZ #18661]
14495 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
14496 when calling __errno_location.
14497 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
14498 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
14499
14500 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14501
14502 [BZ #18661]
14503 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
14504 (__lll_timedwait_tid): Align stack to 16 bytes when calling
14505 __gettimeofday.
14506
14507 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14508
14509 [BZ #18661]
14510 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14511 (__start_context): Don't use pop to restore %rdi so that stack
14512 is aligned to 16 bytes when calling __setcontext.
14513
14514 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14515
14516 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
14517 only for libc.
14518 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14519
14520 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14521
14522 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
14523 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
14524 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
14525
14526 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14527
14528 * string/memccpy.c (memccpy):
14529 Improve performance by using memchr/memcpy/__mempcpy.
14530
14531 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14532
14533 * string/strncpy.c (strncpy):
14534 Improve performance by using __strnlen/memcpy.
14535
14536 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14537
14538 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14539 Optimize to avoid an unnecessary FPCR read.
14540
14541 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
14542
14543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14544 Optimize to reduce FPCR/FPSR accesses.
14545
14546 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
14547
14548 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
14549 dead->data[category] != NULL.
14550
14551 2015-08-05 Joseph Myers <joseph@codesourcery.com>
14552
14553 [BZ #18647]
14554 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
14555 and |x| close to 1, use absolute value of x when computing log.
14556 * math/auto-libm-test-in: Add more tests of pow.
14557 * math/auto-libm-test-out: Regenerated.
14558
14559 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14560
14561 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
14562 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
14563 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
14564
14565 2015-08-05 Marko Myllynen <myllynen@redhat.com>
14566
14567 [BZ #18525]
14568 * locales/km_KH: Remove timezone definition.
14569 * locales/lo_LA: Likewise.
14570 * locales/my_MM: Likewise.
14571 * locales/nan_TW@latin: Likewise.
14572 * locales/th_TH: Likewise.
14573 * locales/uk_UA: Likewise.
14574
14575 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
14576
14577 [BZ #18265]
14578 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
14579 (wcsncat): Likewise.
14580 (wcscmp): Likewise.
14581 (wcsncmp): Likewise.
14582
14583 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14584
14585 * test-skeleton.c (usage): New function.
14586 (main): Call usage when opt is '?'.
14587
14588 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14589
14590 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
14591 before first use.
14592
14593 2015-08-05 Mike Frysinger <vapier@gentoo.org>
14594
14595 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
14596 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
14597 in there too.
14598
14599 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
14600
14601 * version.h (RELEASE): Set to "development".
14602 (VERSION): Set to "2.22.90"
14603
14604 * version.h (RELEASE): Set to "stable".
14605 (VERSION): Set to "2.22"
14606 * include/features.h (__GLIBC_MINOR__): Set to 22.
14607
14608 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
14609
14610 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
14611 Restructure macro to avoid "value computed is not used" warning.
14612 (atomic_compare_and_exchange_val_acq): Likewise.
14613
14614 2015-08-04 Andreas Schwab <schwab@suse.de>
14615
14616 [BZ #18635]
14617 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
14618 ret.
14619 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
14620
14621 2015-08-01 Carlos O'Donell <carlos@redhat.com>
14622
14623 * po/pl.po: Updated translation.
14624 * po/uk.po: Likewise.
14625 * po/fi.po: Likewise.
14626 * po/ko.po: Likewise.
14627 * po/ru.po: Likewise.
14628 * po/vi.po: Likewise.
14629
14630 2015-07-31 Zack Weinberg <zackw@panix.com>
14631
14632 [BZ #18681]
14633 * regexp.h: Add unconditional #warning stating that this header
14634 will be removed soon. Revise banner comment to match.
14635 (compile): Consistently use ERROR instead of RETURN to report
14636 errors (partial fix for bz#18681).
14637 * regexp.c: Don't include regexp.h. Remove some unnecessary
14638 declarations.
14639
14640 2015-07-31 Carlos O'Donell <carlos@redhat.com>
14641
14642 * po/libc.pot: Regenerated.
14643
14644 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
14645
14646 [BZ #18740]
14647 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
14648 float-vlen4-arch-ext-cflags): Removed.
14649 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
14650 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
14651
14652 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14653
14654 [BZ #14113]
14655 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
14656 aligned to __aligned__.
14657 (pthread_cond_t, pthread_rwlock_t): Likewise.
14658
14659 2015-07-30 Torvald Riegel <triegel@redhat.com>
14660
14661 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
14662
14663 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14664
14665 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
14666 (struct sigaction): Change sa_flags from a long to an int, and add
14667 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
14668
14669 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14670
14671 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
14672 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
14673 sysdeps/generic/sysdep.h include.
14674 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
14675 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
14676 sysdeps/hppa/sysdep.h.
14677 (ENTRY, PSEUDO): Undefine before defining.
14678
14679 2015-07-30 Mike Frysinger <vapier@gentoo.org>
14680
14681 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
14682 from scratch to use INTERNAL_SYSCALL.
14683
14684 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
14685
14686 [BZ #18078]
14687 * scripts/check-localplt.awk: Support alternate relocations.
14688 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
14689 sections.
14690 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
14691 malloc entries with + REL R_386_GLOB_DAT.
14692 * sysdeps/x86_64/localplt.data: New file.
14693
14694 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
14695
14696 [BZ #18731]
14697 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
14698 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14699 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14700
14701 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14702
14703 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
14704
14705 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14706
14707 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
14708 directly in terms of __sync_fetch_and_add and delete (int) cast.
14709
14710 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14711
14712 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
14713 the -D_ASM_IA64_CURRENT_H flag.
14714
14715 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14716
14717 [BZ #18641]
14718 * pwd/pwd.h (putpwent): Delete __nonnull markings.
14719
14720 2015-07-27 Andreas Schwab <schwab@suse.de>
14721
14722 * conform/conformtest.pl (checknamespace): Filter out string
14723 literals while tokenizing.
14724
14725 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
14726
14727 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14728 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
14729 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14730
14731 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
14732
14733 * nptl/tst-join7mod.c: Add #include <string.h>.
14734
14735 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
14736
14737 * sysdeps/nios2/libm-test-ulps: Update.
14738
14739 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
14740
14741 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
14742 Fix order of arguments to the rt_sigprocmask syscall.
14743 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
14744 Likewise.
14745
14746 2015-07-24 Roland McGrath <roland@hack.frob.com>
14747
14748 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
14749
14750 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14751
14752 [BZ #18457]
14753 * nptl/Makefile (tests): New test case tst-join7.
14754 (modules-names): New test case module tst-join7mod.
14755 * nptl/tst-join7.c: New file.
14756 * nptl/tst-join7mod.c: New file.
14757 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
14758 all translation units in libc.so, libpthread.so and rtld.
14759
14760 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14761
14762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14763
14764 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
14765
14766 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
14767 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14768 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14769 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14771 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14772 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14773 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14774 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14775 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14776 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14777 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14778 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
14779 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
14780 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
14781 implementation.
14782
14783 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14784
14785 [BZ #17711]
14786 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14787 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
14788 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14789 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
14790 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
14791 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
14792
14793 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14794
14795 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
14796 instead of just saying load lock in the comments.
14797
14798 2015-07-23 Roland McGrath <roland@hack.frob.com>
14799
14800 * sysdeps/unix/Subdirs: Moved ...
14801 * sysdeps/posix/Subdirs: ... here.
14802 * login/pty.h (struct termios, struct winsize): Add forward decls.
14803 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
14804 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
14805 * sysdeps/arm/nacl/libc.abilist: Updated.
14806 * sysdeps/nacl/libutil.abilist: New file.
14807
14808 * bits/signum.h: Update comments to mention 1003.1-2013 too.
14809 (SIGWINCH): New macro.
14810
14811 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
14812 * sysdeps/arm/nacl/libc.abilist: Add it.
14813
14814 2015-07-23 Mike Frysinger <vapier@gentoo.org>
14815
14816 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
14817
14818 2015-07-23 Mike Frysinger <vapier@gentoo.org>
14819
14820 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14821 Swap __glibc_reserved0 and sa_flags order.
14822
14823 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14824
14825 [BZ #18657]
14826 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
14827 are pending TLS destructor calls.
14828 * include/link.h (struct link_map): Add concurrency note for
14829 L_TLS_DTOR_COUNT.
14830 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14831 Don't touch the link map flag. Atomically increment
14832 l_tls_dtor_count.
14833 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14834 Avoid taking the load lock and don't touch the link map flag.
14835 * stdlib/tst-tls-atexit-nodelete.c: New test case.
14836 * stdlib/Makefile (tests): Use it.
14837 * stdlib/tst-tls-atexit.c (do_test): dlopen
14838 tst-tls-atexit-lib.so again before dlclose. Add conditionals
14839 to allow tst-tls-atexit-nodelete test case to use it.
14840
14841 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14842
14843 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14844 to bits/types.h.
14845 (msgqnum_t): New typedef.
14846 (msglen_t): Likewise.
14847 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
14848 and msg_qbytes type to msglen_t.
14849
14850 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14851
14852 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14853 pad0 to __glibc_reserved0.
14854 (struct stat64): Likewise.
14855
14856 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14857
14858 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14859 Change sa_flags from a long to an int and add __glibc_reserved0 before
14860 it for padding.
14861
14862 2015-07-22 Mike Frysinger <vapier@gentoo.org>
14863
14864 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14865 anonymous by deleting "siginfo" name.
14866
14867 2015-07-21 Roland McGrath <roland@hack.frob.com>
14868
14869 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14870 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14871 rather than __nacl_irt_filename.
14872 * sysdeps/nacl/xstat.c (__xstat): Likewise.
14873
14874 * NEWS: New item for arm-nacl port.
14875 * sysdeps/arm/nacl/libc.abilist: New file.
14876 * sysdeps/nacl/ld.abilist: New file.
14877 * sysdeps/nacl/libBrokenLocale.abilist: New file.
14878 * sysdeps/nacl/libanl.abilist: New file.
14879 * sysdeps/nacl/libcrypt.abilist: New file.
14880 * sysdeps/nacl/libdl.abilist: New file.
14881 * sysdeps/nacl/libm.abilist: New file.
14882 * sysdeps/nacl/libpthread.abilist: New file.
14883 * sysdeps/nacl/libresolv.abilist: New file.
14884 * sysdeps/nacl/librt.abilist: New file.
14885
14886 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
14887
14888 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14889 __startcontext to initialize the new context.
14890 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14891 up CFI directive to forbid further backtracing.
14892
14893 2015-07-21 Marko Myllynen <myllynen@redhat.com>
14894
14895 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14896 reference.
14897 * charmaps/ANSI_X3.4-1968: Likewise.
14898 * charmaps/BS_4730: Likewise.
14899 * charmaps/BS_VIEWDATA: Likewise.
14900 * charmaps/CP1250: Likewise.
14901 * charmaps/CP1251: Likewise.
14902 * charmaps/CP1252: Likewise.
14903 * charmaps/CP1253: Likewise.
14904 * charmaps/CP1254: Likewise.
14905 * charmaps/CP1255: Likewise.
14906 * charmaps/CP1256: Likewise.
14907 * charmaps/CSN_369103: Likewise.
14908 * charmaps/EBCDIC-DK-NO: Likewise.
14909 * charmaps/GB_1988-80: Likewise.
14910 * charmaps/GREEK-CCITT: Likewise.
14911 * charmaps/GREEK7: Likewise.
14912 * charmaps/INIS-8: Likewise.
14913 * charmaps/ISIRI-3342: Likewise.
14914 * charmaps/ISO_2033-1983: Likewise.
14915 * charmaps/ISO_5427-EXT: Likewise.
14916 * locales/POSIX: Likewise.
14917 * locales/ar_SA: Likewise.
14918 * locales/be_BY: Likewise.
14919 * locales/be_BY@latin: Likewise.
14920 * locales/ca_ES: Likewise.
14921 * locales/cs_CZ: Likewise.
14922 * locales/da_DK: Likewise.
14923 * locales/de_BE: Likewise.
14924 * locales/de_CH: Likewise.
14925 * locales/de_LU: Likewise.
14926 * locales/en_AU: Likewise.
14927 * locales/en_BW: Likewise.
14928 * locales/en_CA: Likewise.
14929 * locales/en_DK: Likewise.
14930 * locales/en_GB: Likewise.
14931 * locales/en_IE: Likewise.
14932 * locales/en_NZ: Likewise.
14933 * locales/en_ZA: Likewise.
14934 * locales/en_ZW: Likewise.
14935 * locales/es_AR: Likewise.
14936 * locales/es_BO: Likewise.
14937 * locales/es_CL: Likewise.
14938 * locales/es_CO: Likewise.
14939 * locales/es_DO: Likewise.
14940 * locales/es_EC: Likewise.
14941 * locales/es_ES: Likewise.
14942 * locales/es_HN: Likewise.
14943 * locales/es_MX: Likewise.
14944 * locales/es_PA: Likewise.
14945 * locales/es_PE: Likewise.
14946 * locales/es_PY: Likewise.
14947 * locales/es_SV: Likewise.
14948 * locales/es_US: Likewise.
14949 * locales/es_UY: Likewise.
14950 * locales/es_VE: Likewise.
14951 * locales/et_EE: Likewise.
14952 * locales/fa_IR: Likewise.
14953 * locales/fo_FO: Likewise.
14954 * locales/fr_CA: Likewise.
14955 * locales/fr_CH: Likewise.
14956 * locales/gv_GB: Likewise.
14957 * locales/he_IL: Likewise.
14958 * locales/hr_HR: Likewise.
14959 * locales/id_ID: Likewise.
14960 * locales/is_IS: Likewise.
14961 * locales/it_CH: Likewise.
14962 * locales/iw_IL: Likewise.
14963 * locales/kl_GL: Likewise.
14964 * locales/ko_KR: Likewise.
14965 * locales/kw_GB: Likewise.
14966 * locales/lg_UG: Likewise.
14967 * locales/lt_LT: Likewise.
14968 * locales/lv_LV: Likewise.
14969 * locales/mi_NZ: Likewise.
14970 * locales/nhn_MX: Likewise.
14971 * locales/nl_BE: Likewise.
14972 * locales/pl_PL: Likewise.
14973 * locales/sk_SK: Likewise.
14974 * locales/sl_SI: Likewise.
14975 * locales/sv_FI: Likewise.
14976 * locales/tl_PH: Likewise.
14977 * locales/tr_TR: Likewise.
14978 * locales/vi_VN: Likewise.
14979
14980 2015-07-21 Khem Raj <raj.khem@gmail.com>
14981
14982 [BZ #17475]
14983 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14984 of tu_IN and bh_IN.
14985
14986 2015-07-21 Mike Frysinger <vapier@gentoo.org>
14987
14988 [BZ #18694]
14989 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14990 bits/wordsize.h.
14991 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14992
14993 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14994
14995 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14996 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14997 (spawn_thread): New function.
14998 (load): Rename to reg_dtor_and_close. Move dlopen to...
14999 (do_test): ... here. Use IS_LOADED to test for its
15000 availability.
15001
15002 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
15003
15004 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15005
15006 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
15007
15008 [BZ #18696]
15009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15010 si_addr_bnd.
15011 (si_lower): New.
15012 (si_upper): Likewise.
15013
15014 2015-07-16 David S. Miller <davem@davemloft.net>
15015
15016 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15017
15018 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15019
15020 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15021 buffer.
15022 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15023 fail output information.
15024
15025 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15026
15027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15028 and strstr-ppc64..
15029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15030 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15031 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15032 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15033 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15034
15035 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15036
15037 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15038 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15039 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15040 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15041
15042 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15043
15044 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15045 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15046 rtld_hidden_proto.
15047 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15048
15049 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15050
15051 * tst-nodelete-opened.c (do_test): Add comment to clarify how
15052 the test can fail.
15053
15054 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15055
15056 [BZ #18676]
15057 * elf/tst-nodelete-opened.c: New test case.
15058 * elf/tst-nodelete-opened-lib.c: New test case module.
15059 * elf/Makefile (tests, modules-names): Use them.
15060 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15061 early.
15062
15063 2015-07-15 David S. Miller <davem@davemloft.net>
15064
15065 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15066 futex-intenal.h
15067 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15068 * sysdeps/sparc/sparc64/Makefile: Likewise.
15069 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15070 Remove space from macro define.
15071 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15072
15073 2015-07-15 Pravin Satpute <psatpute@redhat.com>
15074
15075 [BZ #17475]
15076 * locale/iso-639.def: Update Bhili and Tulu language codes as
15077 per iso639-3.
15078
15079 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
15080
15081 * elf/tst-leaks1.c (main): Converted to ...
15082 (do_test): ... this.
15083 (TEST_FUNCTION): New macro.
15084 Include test-skeleton.c.
15085 * localedata/tst-langinfo.c (main): Converted to ...
15086 (do_test): ... this.
15087 (TEST_FUNCTION): New macro.
15088 Include test-skeleton.c.
15089 * math/test-fpucw.c (main): Converted to ...
15090 (do_test): ... this.
15091 (TEST_FUNCTION): New macro.
15092 Include test-skeleton.c.
15093 * math/test-tgmath.c (main): Converted to ...
15094 (do_test): ... this.
15095 (TEST_FUNCTION): New macro.
15096 Include test-skeleton.c.
15097 * math/test-tgmath2.c (main): Converted to ...
15098 (do_test): ... this.
15099 (TEST_FUNCTION): New macro.
15100 Include test-skeleton.c.
15101 * setjmp/tst-setjmp.c (main): Converted to ...
15102 (do_test): ... this.
15103 (TEST_FUNCTION): New macro.
15104 Include test-skeleton.c.
15105 * stdio-common/tst-sscanf.c (main): Converted to ...
15106 (do_test): ... this.
15107 (TEST_FUNCTION): New macro.
15108 Include test-skeleton.c.
15109 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15110 (do_test): ... this.
15111 (TEST_FUNCTION): New macro.
15112 Include test-skeleton.c.
15113
15114 * elf/tst-audit9.c (main): Converted to ...
15115 (do_test): ... this.
15116 (TEST_FUNCTION): New macro.
15117 Include test-skeleton.c.
15118
15119 2015-07-15 Mike Frysinger <vapier@gentoo.org>
15120
15121 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15122
15123 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15124
15125 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15126 New variable.
15127
15128 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15129
15130 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15131
15132 2015-07-14 Roland McGrath <roland@hack.frob.com>
15133
15134 * sysdeps/generic/dl-fileid.h: New file.
15135 * sysdeps/posix/dl-fileid.h: New file.
15136 * sysdeps/nacl/dl-fileid.h: New file.
15137 * include/link.h: Include <dl-fileid.h>.
15138 (struct link_map): Replace l_dev and l_ino with l_file_id.
15139 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15140 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
15141 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
15142
15143 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15144
15145 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15146
15147 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15148
15149 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15150 Add iff $CXX is set.
15151 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15152 Likewise.
15153 (tst-nodelete-zmodiff): Likewise.
15154 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15155
15156 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15157
15158 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15159
15160 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15161
15162 * sysdeps/aarch64/fpu/math_private.h
15163 (define math_opt_barrier): Add AArch64 version.
15164 (math_force_eval): Likewise.
15165
15166 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15167
15168 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15169
15170 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
15171
15172 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15173 %ld with %jd and cast to intmax_t.
15174 (do_test_length_zero): Likewise.
15175
15176 2015-07-10 Roland McGrath <roland@hack.frob.com>
15177
15178 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15179
15180 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
15181
15182 * sysdeps/tile/libm-test-ulps: Regenerated.
15183
15184 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15185 Comment out the whole function, not just its body.
15186
15187 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15188
15189 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15190 locks.
15191
15192 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15193
15194 2015-07-10 Torvald Riegel <triegel@redhat.com>
15195
15196 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15197 (sem_assume_only_signals_cause_futex_EINTR): Remove.
15198
15199 2015-07-10 Torvald Riegel <triegel@redhat.com>
15200
15201 * sysdeps/nptl/futex-internal.h: New file.
15202 * sysdeps/nacl/futex-internal.h: New file.
15203 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15204 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15205 error checking.
15206 (setxid_unmark_thread): Likewise.
15207 (__nptl_setxid): Likewise.
15208 (__wait_lookup_done): Likewise.
15209 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15210 * nptl/nptl-init.c (sighandler_setxid): Likewise.
15211 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15212 * nptl/pthread_once.c (clear_once_control): Likewise.
15213 (__pthread_once_slow): Likewise.
15214 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15215 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15216 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15217 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15218 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15219 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15220 Likewise.
15221 (__pthread_rwlock_rdlock): Likewise.
15222 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15223 Likewise.
15224 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15225 Likewise.
15226 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15227 Likewise.
15228 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15229 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15230 Likewise.
15231 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15232 __ASSUME_PRIVATE_FUTEX check.
15233 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15234 Check that shared futexes are supported.
15235 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15236 wrappers with error checking.
15237 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15238 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15239 * nptl/pthread_barrierattr_setpshared.c
15240 (pthread_barrierattr_setpshared): Check that shared futexes are
15241 supported.
15242 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15243 Likewise.
15244 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15245 Likewise.
15246 * nptl/sem_init.c (futex_private_if_supported): Remove.
15247 (__new_sem_init): Adapt and check that shared futexes are supported.
15248 * nptl/sem_open.c (sem_open): Likewise.
15249 * nptl/sem_post.c (futex_wake): Remove.
15250 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15251 (do_futex_wait): Use futex wrappers with error checking.
15252 * nptl/sem_wait.c: Include lowlevellock.h.
15253 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15254 Use futex_supports_pshared.
15255 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15256 Use futex wrappers with error checking.
15257 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15258 Likewise.
15259 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15260 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15261 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15262 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15263 (futex_wake): Likewise.
15264 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15265 (do_futex_wait): Use futex wrappers with error checking.
15266 (__new_sem_wait_slow): Update EINTR handling.
15267 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15268
15269 2015-07-09 Martin Sebor <msebor@redhat.com>
15270
15271 [BZ #18435]
15272 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15273 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15274 * nptl/Makefile (test-xfail-tst-once5): Define.
15275
15276 2015-07-09 Roland McGrath <roland@hack.frob.com>
15277
15278 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15279 * elf/dl-minimal.c: For readability, reorder some definitions and
15280 introduce more page breaks. Include <stdio.h>.
15281 (__libc_fatal): New function.
15282
15283 * include/unistd.h: Add rtld_hidden_proto for _exit.
15284 * posix/_exit.c: Add rtld_hidden_def.
15285 * sysdeps/mach/hurd/_exit.c: Likewise.
15286 * sysdeps/nacl/_exit.c: Likewise.
15287 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15288 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15289
15290 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
15291
15292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15293 bndmov encoding with zero displacement.
15294
15295 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
15296 H.J. Lu <hongjiu.lu@intel.com>
15297
15298 [BZ #18134]
15299 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15300 * sysdeps/i386/configure: Regenerated.
15301 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15302 (_dl_runtime_profile): Save and restore Intel MPX return bound
15303 registers when calling _dl_call_pltexit. Add
15304 PRESERVE_BND_REGS_PREFIX before return.
15305 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15306 (LRV_BND1_OFFSET): Likewise.
15307 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15308 lrv_bnd1.
15309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15310 typo in bndmov encoding.
15311 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15312 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
15313 branch instructions to preserve bounds.
15314
15315 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15316
15317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15318 [GLIBC_2.22]: Add fmemopen.
15319
15320 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
15321
15322 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15323 returns an error, also try to use host port from __mach_host_self for
15324 the __vm_wire call.
15325 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15326
15327 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
15328
15329 [BZ #18400]
15330 [BZ #18648]
15331 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15332 Fix pr_uid and pr_gid members.
15333 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15334 definition to elf_greg_t.
15335
15336 2015-07-08 Roland McGrath <roland@hack.frob.com>
15337
15338 [BZ #18383]
15339 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15340 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15341 * sysdeps/arm/configure: Regenerated.
15342 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15343 (test-xfail-tst-tlsalign-static): Variable removed.
15344
15345 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
15346 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
15347 rather than explicit 'ln -s'.
15348
15349 * resolv/rpc/netdb.h: New file.
15350 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
15351
15352 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15353
15354 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
15355 length buffers.
15356 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15357 test-skeleton.c.
15358
15359 [BZ #6544]
15360 [BZ #11216]
15361 [BZ #12836]
15362 [BZ #13151]
15363 [BZ #13152]
15364 [BZ #14292]
15365 * include/stdio.h (fmemopen): Remove hidden prototype.
15366 (__fmemopen): Add new hidden prototype.
15367 * libio/Makefile: Add oldfmemopen object.
15368 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
15369 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
15370 compliance.
15371 * libio/oldfmemopen.c: New file: old fmemopen implementation for
15372 symbol compatibility.
15373 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
15374 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
15375 fmemopen.
15376 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
15377 on append and read mode.
15378 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
15379 fmemopen.
15380 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
15381 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
15382 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
15383 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
15384 Likewise.
15385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15386 [GLIBC_2.22]: Likewise.
15387 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
15388 Likewise.
15389 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
15390 Likewise.
15391 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15392 [GLIBC_2.22]: Likewise.
15393 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15394 [GLIBC_2.22]: Likewise.
15395 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15396 [GLIBC_2.22]: Likewise.
15397 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15398 [GLIBC_2.22]: Likewise.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15400 [GLIBC_2.22]: Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15402 [GLIBC_2.22]: Likewise.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15404 [GLIBC_2.22]: Likewise.
15405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
15406 Likewise.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
15408 Likewise.
15409 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
15410 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15411 [GLIBC_2.22]: Likewise.
15412 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15413 [GLIBC_2.22]: Likewise.
15414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15415 [GLIBC_2.22]: Likewise.
15416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15417 [GLIBC_2.22]: Likewise.
15418 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
15419 Likewise.
15420 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
15421 Likewise.
15422 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
15423 Likewise.
15424 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
15425 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
15426
15427 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15428
15429 [BZ #18643]
15430 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
15431 IPV6_PATHMTU, and IPV6_DONTFRAG.
15432
15433 2015-07-08 Feng Gao <gfree.wind@gmail.com>
15434
15435 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
15436 and _IO_UNBUFFERED.
15437 * libio/oldfileops.c: Likewise.
15438 * libio/wfileops.c: Likewise.
15439
15440 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15441
15442 * nscd/selinux.c: Delete selinux/flask.h include.
15443
15444 2015-07-08 Mike Frysinger <vapier@gentoo.org>
15445
15446 [BZ #18641]
15447 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
15448 (putpwent): Likewise.
15449 (getpwnam): Likewise.
15450 (getpwent_r): Likewise.
15451 (getpwuid_r): Likewise.
15452 (getpwnam_r): Likewise.
15453 (fgetpwent_r): Likewise.
15454
15455 2015-07-08 Carlos O'Donell <carlos@redhat.com>
15456
15457 [BZ #18557]
15458 * inet/rcmd.c (__validuser2_sa): Check user first to
15459 short-circuit host check.
15460
15461 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
15462 Mikhail Ilin <m.ilin@samsung.com>
15463
15464 [BZ #17833]
15465 * elf/Makefile (tests): Add tst-nodelete.
15466 (modules-names): Add tst-nodelete-uniquemod.
15467 (tst-nodelete-uniquemod.so-no-z-defs): New.
15468 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
15469 (tst-nodelete-zmod.so-no-z-defs): Likewise.
15470 ($(objpfx)tst-nodelete): Likewise.
15471 ($(objpfx)tst-nodelete.out): Likewise.
15472 (LDFLAGS-tst-nodelete): Likewise.
15473 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
15474 * elf/dl-close.c (_dl_close_worker): Add a parameter to
15475 implement forced object deletion.
15476 (_dl_close): Pass false to _dl_close_worker.
15477 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
15478 * elf/tst-nodelete.cc: New file.
15479 * elf/tst-nodeletelib.cc: Likewise.
15480 * elf/tst-znodeletelib.cc: Likewise.
15481 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
15482
15483 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15484
15485 [BZ #18508]
15486 * stdlib/Makefile ($(objpfx)tst-makecontext3):
15487 Depend on $(libdl).
15488 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
15489 is not called infinitely times.
15490 (backtrace_helper): New function.
15491 (trace_arg): New struct.
15492 (st1): Enlarge stack size.
15493 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15494 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
15495 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15496 Likewise.
15497
15498 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15499
15500 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15501
15502 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15503
15504 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
15505 Include sys/types.h instead of bits/types.h.
15506 Remove inclusion of bits/wordsize.h.
15507
15508 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15509
15510 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
15511 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
15512 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
15513 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
15514 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
15515 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
15516
15517 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15518
15519 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
15520 link-defines.sym.
15521 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
15522 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
15523 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
15524 and LR_SIZE.
15525 * sysdeps/i386/link-defines.sym: New file.
15526
15527 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
15530 (modules-names): Add tst-auditmod3a tst-auditmod3b.
15531 ($(objpfx)tst-audit3): New rule.
15532 ($(objpfx)tst-audit3.out): Likewise.
15533 * sysdeps/i386/tst-audit3.c: New file.
15534 * sysdeps/i386/tst-audit3.h: Likewise.
15535 * sysdeps/i386/tst-auditmod3a.c: Likewise.
15536 * sysdeps/i386/tst-auditmod3b.c: Likewise.
15537
15538 2015-07-07 Torvald Riegel <triegel@redhat.com>
15539
15540 [BZ #18633]
15541 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
15542 pointer in C code.
15543 (__strcat_c): Likewise.
15544 (__strcat_g): Likewise.
15545
15546 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
15547
15548 [BZ #18592]
15549 * misc/sbrk.c: Set errno to ENOMEM on overflow.
15550
15551 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
15552
15553 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
15554 New function. (__ieee754_sqrtf): New function.
15555 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
15556 New function.
15557 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
15558 New function.
15559
15560 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
15561
15562 * sysdeps/ieee754/support.c: Remove unused file.
15563
15564 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15565
15566 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
15567 registers instead of d ones so the layout is kernel abi compatible.
15568 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
15569 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
15570 Likewise.
15571
15572 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15573
15574 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15575
15576 2015-07-01 Joseph Myers <joseph@codesourcery.com>
15577
15578 [BZ #18619]
15579 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
15580 and return argument in case of subnormal argument.
15581
15582 2015-07-01 Martin Sebor <msebor@redhat.com>
15583
15584 [BZ #18435]
15585 * nptl/Makefile: Add tst-once5.cc.
15586 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15587 Remove macro redefinitions.
15588 * nptl/tst-once5.cc: New test.
15589
15590 2015-07-01 Joseph Myers <joseph@codesourcery.com>
15591
15592 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15593
15594 * sysdeps/arm/libm-test-ulps: Regenerated.
15595
15596 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15597 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15598
15599 2015-06-30 Torvald Riegel <triegel@redhat.com>
15600
15601 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
15602 lll_lock_wait_private and lll_futex_wake probes.
15603
15604 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
15606 Likewise.
15607 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
15608 atomic_spin_nop.
15609 * sysdeps/x86_64/bits/atomic.h: Likewise.
15610 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
15611 to atomic_spin_nop and move ...
15612 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15613 ... here and ...
15614 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
15615 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
15616 atomic_spin_nop instead of BUSY_WAIT_NOP.
15617 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
15618 Likewise.
15619 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
15620 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
15621 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
15622 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
15623 instead of atomic_delay.
15624
15625 2015-06-29 Joseph Myers <joseph@codesourcery.com>
15626
15627 [BZ #18613]
15628 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
15629 X_ADJ not X when adjusting exponent.
15630 (__ieee754_gamma_r): Do intermediate computations in
15631 round-to-nearest then adjust overflowing and underflowing results
15632 as needed.
15633 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
15634 of X_ADJ not X when adjusting exponent.
15635 (__ieee754_gammaf_r): Do intermediate computations in
15636 round-to-nearest then adjust overflowing and underflowing results
15637 as needed.
15638 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
15639 log of X_ADJ not X when adjusting exponent.
15640 (__ieee754_gammal_r): Do intermediate computations in
15641 round-to-nearest then adjust overflowing and underflowing results
15642 as needed. Use 1.0L not 1.0f as numerator of division.
15643 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
15644 log of X_ADJ not X when adjusting exponent.
15645 (__ieee754_gammal_r): Do intermediate computations in
15646 round-to-nearest then adjust overflowing and underflowing results
15647 as needed. Use 1.0L not 1.0f as numerator of division.
15648 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
15649 of X_ADJ not X when adjusting exponent.
15650 (__ieee754_gammal_r): Do intermediate computations in
15651 round-to-nearest then adjust overflowing and underflowing results
15652 as needed. Use 1.0L not 1.0f as numerator of division.
15653 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
15654 to auto-libm-test-in.
15655 (tgamma_test): Use ALL_RM_TEST.
15656 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
15657 tests of tgamma with spurious-overflow.
15658 * math/auto-libm-test-out: Regenerated.
15659 * math/gen-libm-have-vector-test.sh: Do not check for START.
15660 * sysdeps/i386/fpu/libm-test-ulps: Update.
15661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15662
15663 [BZ #18612]
15664 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
15665 arguments, just return 0.5 times the argument, with underflow
15666 forced as needed.
15667 * math/auto-libm-test-in: Add more tests of j1.
15668 * math/auto-libm-test-out: Regenerated.
15669
15670 [BZ #16559]
15671 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
15672 (__ieee754_j1): Force underflow exception for small results.
15673 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15674 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
15675 (__ieee754_j1f): Force underflow exception for small results.
15676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15677 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15679 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
15680 (__ieee754_j1l): Force underflow exception for small results.
15681 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15682 * math/auto-libm-test-in: Add more tests of j1 and jn.
15683 * math/auto-libm-test-out: Regenerated.
15684
15685 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
15686 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
15687 (PF_MPLS): Likewise.
15688 (AF_IB): Likewise.
15689 (AF_MPLS): Likewise.
15690 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
15691 value and macro.
15692 (MS_RMT_MASK): Include MS_LAZYTIME.
15693
15694 2015-06-26 Mel Gorman <mgorman@suse.de>
15695
15696 [BZ #18502]
15697 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
15698 already minimal.
15699
15700 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
15701
15702 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
15703 (DT_MIPS_NUM): Update.
15704 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
15705 DT_MIPS_RLD_MAP_REL.
15706
15707 2015-06-25 Joseph Myers <joseph@codesourcery.com>
15708
15709 [BZ #16559]
15710 [BZ #18602]
15711 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
15712 round-to-nearest internally then recompute results that
15713 underflowed to zero in the original rounding mode.
15714 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15715 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15717 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15718 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
15719 * sysdeps/i386/fpu/libm-test-ulps: Update.
15720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15721
15722 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
15723
15724 * NEWS: Fixed description of link with vector math library.
15725
15726 2015-06-25 Andreas Schwab <schwab@suse.de>
15727
15728 [BZ #18549]
15729 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
15730 * libio/test-fmemopen.c (do_test): Add test for it.
15731
15732 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
15733
15734 [BZ #17841]
15735 * Makeconfig (no-pie-ldflag): New.
15736 (+link): Set to $(+link-pie) if default to PIE.
15737 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
15738 * config.make.in (build-pie-default): New.
15739 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
15740 is default. AC_SUBST.
15741 * configure: Regenerated.
15742 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
15743
15744 2015-06-24 Roland McGrath <roland@hack.frob.com>
15745
15746 * nptl/descr.h (struct pthread): Change type of field setxid_futex
15747 to 'unsigned int'.
15748
15749 * resolv/gai_misc.h (struct waitlist): Change type of field
15750 counterp to 'volatile unsigned int *'.
15751 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
15752 FUTEXADDR and OLDVAL.
15753 * resolv/getaddrinfo_a.c (getaddrinfo_a):
15754 Give local variable TOTAL type 'volatile unsigned int'.
15755 (struct async_waitlist): Change type of field counter to 'unsigned int'.
15756 * resolv/gai_suspend.c (gai_suspend):
15757 Give local variable CNTR type 'unsigned int'.
15758
15759 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
15760 counterp to 'volatile unsigned int *'.
15761 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
15762 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
15763 (aio_suspend): Give local variable CNTR type 'unsigned int'.
15764 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
15765 Give local variable TOTAL type 'volatile unsigned int'.
15766 (struct async_waitlist): Change type of field counter to 'unsigned int'.
15767
15768 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
15769
15770 [BZ #18383]
15771 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
15772 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
15773 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
15774 comment for i386/x86-64.
15775 (test-xfail-tst-tlsalign-extern-static): Removed.
15776
15777 2015-06-24 Joseph Myers <joseph@codesourcery.com>
15778
15779 * math/test-double.h: New file.
15780 * math/test-float.h: Likewise.
15781 * math/test-ldouble.h: Likewise.
15782 * math/test-math-inline.h: Likewise.
15783 * math/test-math-no-inline.h: Likewise.
15784 * math/test-math-scalar.h: Likewise.
15785 * math/test-math-vector.h: Likewise.
15786 * math/test-vec-loop.h: Remove file. Contents moved into
15787 test-math-vector.h.
15788 * math/libm-test.inc (MATHCONST): Do not document macro.
15789 * math/test-double.c: Include test-double.h, test-math-no-inline.h
15790 and test-math-scalar.h.
15791 (FUNC): Remove macro.
15792 (FUNC_TEST): Likewise.
15793 (FLOAT): Likewise.
15794 (MATHCONST): Likewise.
15795 (PRINTF_EXPR): Likewise.
15796 (PRINTF_XEXPR): Likewise.
15797 (PRINTF_NEXPR): Likewise.
15798 (TEST_DOUBLE): Likewise.
15799 (TEST_MATHVEC): Likewise.
15800 (__NO_MATH_INLINES): Likewise.
15801 * math/test-float.c: Include test-float.h, test-math-no-inline.h
15802 and test-math-scalar.h.
15803 (FUNC): Remove macro.
15804 (FUNC_TEST): Likewise.
15805 (FLOAT): Likewise.
15806 (MATHCONST): Likewise.
15807 (PRINTF_EXPR): Likewise.
15808 (PRINTF_XEXPR): Likewise.
15809 (PRINTF_NEXPR): Likewise.
15810 (TEST_FLOAT): Likewise.
15811 (TEST_MATHVEC): Likewise.
15812 (__NO_MATH_INLINES): Likewise.
15813 * math/test-idouble.c: Include test-double.h, test-math-inline.h
15814 and test-math-scalar.h.
15815 (FUNC): Remove macro.
15816 (FUNC_TEST): Likewise.
15817 (FLOAT): Likewise.
15818 (MATHCONST): Likewise.
15819 (PRINTF_EXPR): Likewise.
15820 (PRINTF_XEXPR): Likewise.
15821 (PRINTF_NEXPR): Likewise.
15822 (TEST_DOUBLE): Likewise.
15823 (TEST_MATHVEC): Likewise.
15824 (TEST_INLINE): Likewise.
15825 (__NO_MATH_INLINES): Likewise.
15826 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
15827 test-math-scalar.h.
15828 (FUNC): Remove macro.
15829 (FUNC_TEST): Likewise.
15830 (FLOAT): Likewise.
15831 (MATHCONST): Likewise.
15832 (PRINTF_EXPR): Likewise.
15833 (PRINTF_XEXPR): Likewise.
15834 (PRINTF_NEXPR): Likewise.
15835 (TEST_FLOAT): Likewise.
15836 (TEST_MATHVEC): Likewise.
15837 (TEST_INLINE): Likewise.
15838 (__NO_MATH_INLINES): Likewise.
15839 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15840 and test-math-scalar.h.
15841 (FUNC): Remove macro.
15842 (FUNC_TEST): Likewise.
15843 (FLOAT): Likewise.
15844 (MATHCONST): Likewise.
15845 (PRINTF_EXPR): Likewise.
15846 (PRINTF_XEXPR): Likewise.
15847 (PRINTF_NEXPR): Likewise.
15848 (TEST_LDOUBLE): Likewise.
15849 (TEST_MATHVEC): Likewise.
15850 (TEST_INLINE): Likewise.
15851 (__NO_MATH_INLINES): Likewise.
15852 * math/test-ldouble.c: Include test-ldouble.h,
15853 test-math-no-inline.h and test-math-scalar.h.
15854 (FUNC): Remove macro.
15855 (FUNC_TEST): Likewise.
15856 (FLOAT): Likewise.
15857 (MATHCONST): Likewise.
15858 (PRINTF_EXPR): Likewise.
15859 (PRINTF_XEXPR): Likewise.
15860 (PRINTF_NEXPR): Likewise.
15861 (TEST_LDOUBLE): Likewise.
15862 (TEST_MATHVEC): Likewise.
15863 (__NO_MATH_INLINES): Likewise.
15864 * math/test-double-vlen2.h: Include test-double.h,
15865 test-math-no-inline.h and test-math-vector.h.
15866 (FLOAT): Remove macro.
15867 (FUNC): Likewise.
15868 (MATHCONST): Likewise.
15869 (PRINTF_EXPR): Likewise.
15870 (PRINTF_XEXPR): Likewise.
15871 (PRINTF_NEXPR): Likewise.
15872 (TEST_DOUBLE): Likewise.
15873 (TEST_MATHVEC): Likewise.
15874 (__NO_MATH_INLINES): Likewise.
15875 (CNCT): Likewise.
15876 (CONCAT): Likewise.
15877 (WRAPPER_NAME): Likewise.
15878 (WRAPPER_DECL): Likewise.
15879 (WRAPPER_DECL_ff): Likewise.
15880 (WRAPPER_DECL_fFF): Likewise.
15881 (VECTOR_WRAPPER): Likewise.
15882 (VECTOR_WRAPPER_ff): Likewise.
15883 (VECTOR_WRAPPER_fFF): Likewise.
15884 (VEC_LEN): New macro.
15885 * math/test-double-vlen4.h: Include test-double.h,
15886 test-math-no-inline.h and test-math-vector.h.
15887 (FLOAT): Remove macro.
15888 (FUNC): Likewise.
15889 (MATHCONST): Likewise.
15890 (PRINTF_EXPR): Likewise.
15891 (PRINTF_XEXPR): Likewise.
15892 (PRINTF_NEXPR): Likewise.
15893 (TEST_DOUBLE): Likewise.
15894 (TEST_MATHVEC): Likewise.
15895 (__NO_MATH_INLINES): Likewise.
15896 (CNCT): Likewise.
15897 (CONCAT): Likewise.
15898 (WRAPPER_NAME): Likewise.
15899 (WRAPPER_DECL): Likewise.
15900 (WRAPPER_DECL_ff): Likewise.
15901 (WRAPPER_DECL_fFF): Likewise.
15902 (VECTOR_WRAPPER): Likewise.
15903 (VECTOR_WRAPPER_ff): Likewise.
15904 (VECTOR_WRAPPER_fFF): Likewise.
15905 (VEC_LEN): New macro.
15906 * math/test-double-vlen8.h: Include test-double.h,
15907 test-math-no-inline.h and test-math-vector.h.
15908 (FLOAT): Remove macro.
15909 (FUNC): Likewise.
15910 (MATHCONST): Likewise.
15911 (PRINTF_EXPR): Likewise.
15912 (PRINTF_XEXPR): Likewise.
15913 (PRINTF_NEXPR): Likewise.
15914 (TEST_DOUBLE): Likewise.
15915 (TEST_MATHVEC): Likewise.
15916 (__NO_MATH_INLINES): Likewise.
15917 (CNCT): Likewise.
15918 (CONCAT): Likewise.
15919 (WRAPPER_NAME): Likewise.
15920 (WRAPPER_DECL): Likewise.
15921 (WRAPPER_DECL_ff): Likewise.
15922 (WRAPPER_DECL_fFF): Likewise.
15923 (VECTOR_WRAPPER): Likewise.
15924 (VECTOR_WRAPPER_ff): Likewise.
15925 (VECTOR_WRAPPER_fFF): Likewise.
15926 (VEC_LEN): New macro.
15927 * math/test-float-vlen4.h: Include test-float.h,
15928 test-math-no-inline.h and test-math-vector.h.
15929 (FLOAT): Remove macro.
15930 (FUNC): Likewise.
15931 (MATHCONST): Likewise.
15932 (PRINTF_EXPR): Likewise.
15933 (PRINTF_XEXPR): Likewise.
15934 (PRINTF_NEXPR): Likewise.
15935 (TEST_FLOAT): Likewise.
15936 (TEST_MATHVEC): Likewise.
15937 (__NO_MATH_INLINES): Likewise.
15938 (CNCT): Likewise.
15939 (CONCAT): Likewise.
15940 (WRAPPER_NAME): Likewise.
15941 (WRAPPER_DECL): Likewise.
15942 (WRAPPER_DECL_ff): Likewise.
15943 (WRAPPER_DECL_fFF): Likewise.
15944 (VECTOR_WRAPPER): Likewise.
15945 (VECTOR_WRAPPER_ff): Likewise.
15946 (VECTOR_WRAPPER_fFF): Likewise.
15947 (VEC_LEN): New macro.
15948 * math/test-float-vlen8.h: Include test-float.h,
15949 test-math-no-inline.h and test-math-vector.h.
15950 (FLOAT): Remove macro.
15951 (FUNC): Likewise.
15952 (MATHCONST): Likewise.
15953 (PRINTF_EXPR): Likewise.
15954 (PRINTF_XEXPR): Likewise.
15955 (PRINTF_NEXPR): Likewise.
15956 (TEST_FLOAT): Likewise.
15957 (TEST_MATHVEC): Likewise.
15958 (__NO_MATH_INLINES): Likewise.
15959 (CNCT): Likewise.
15960 (CONCAT): Likewise.
15961 (WRAPPER_NAME): Likewise.
15962 (WRAPPER_DECL): Likewise.
15963 (WRAPPER_DECL_ff): Likewise.
15964 (WRAPPER_DECL_fFF): Likewise.
15965 (VECTOR_WRAPPER): Likewise.
15966 (VECTOR_WRAPPER_ff): Likewise.
15967 (VECTOR_WRAPPER_fFF): Likewise.
15968 (VEC_LEN): New macro.
15969 * math/test-float-vlen16.h: Include test-float.h,
15970 test-math-no-inline.h and test-math-vector.h.
15971 (FLOAT): Remove macro.
15972 (FUNC): Likewise.
15973 (MATHCONST): Likewise.
15974 (PRINTF_EXPR): Likewise.
15975 (PRINTF_XEXPR): Likewise.
15976 (PRINTF_NEXPR): Likewise.
15977 (TEST_FLOAT): Likewise.
15978 (TEST_MATHVEC): Likewise.
15979 (__NO_MATH_INLINES): Likewise.
15980 (CNCT): Likewise.
15981 (CONCAT): Likewise.
15982 (WRAPPER_NAME): Likewise.
15983 (WRAPPER_DECL): Likewise.
15984 (WRAPPER_DECL_ff): Likewise.
15985 (WRAPPER_DECL_fFF): Likewise.
15986 (VECTOR_WRAPPER): Likewise.
15987 (VECTOR_WRAPPER_ff): Likewise.
15988 (VECTOR_WRAPPER_fFF): Likewise.
15989 (VEC_LEN): New macro.
15990 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15991 test-vec-loop.h.
15992 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15993 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15994 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15995 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15996 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15997 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15998 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15999
16000 2015-06-24 Roland McGrath <roland@hack.frob.com>
16001
16002 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16003 (__getlogin_r): ... this.
16004
16005 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16006
16007 [BZ #18594]
16008 * math/s_ccosh.c (__ccosh): Compare with least normal value
16009 instead of comparing class with FP_SUBNORMAL.
16010 * math/s_ccoshf.c (__ccoshf): Likewise.
16011 * math/s_ccoshl.c (__ccoshl): Likewise.
16012 * math/s_cexp.c (__cexp): Likewise.
16013 * math/s_cexpf.c (__cexpf): Likewise.
16014 * math/s_cexpl.c (__cexpl): Likewise.
16015 * math/s_csin.c (__csin): Likewise.
16016 * math/s_csinf.c (__csinf): Likewise.
16017 * math/s_csinh.c (__csinh): Likewise.
16018 * math/s_csinhf.c (__csinhf): Likewise.
16019 * math/s_csinhl.c (__csinhl): Likewise.
16020 * math/s_csinl.c (__csinl): Likewise.
16021 * math/s_ctan.c (__ctan): Likewise.
16022 * math/s_ctanf.c (__ctanf): Likewise.
16023 * math/s_ctanh.c (__ctanh): Likewise.
16024 * math/s_ctanhf.c (__ctanhf): Likewise.
16025 * math/s_ctanhl.c (__ctanhl): Likewise.
16026 * math/s_ctanl.c (__ctanl): Likewise.
16027 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16028 csin, csinh, ctan and ctanh.
16029 * math/auto-libm-test-out: Regenerated.
16030 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16031 * sysdeps/i386/fpu/libm-test-ulps: Update.
16032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16033
16034 2015-06-24 Roland McGrath <roland@hack.frob.com>
16035
16036 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16037 return value is wrong, print the expected value too.
16038
16039 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16040
16041 [BZ #18585]
16042 * elf/readlib.c (is_gdb_python_file): New.
16043 (process_file): Don't issue errors on filenames with -gdb.py
16044 suffix.
16045
16046 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16047
16048 * math/auto-libm-test-in: Add more tests of csin and csinh.
16049 * math/auto-libm-test-out: Regenerated.
16050 * math/libm-test.inc (csin_test_data): Remove tests moved to
16051 auto-libm-test-in.
16052 (csinh_test_data): Likewise.
16053
16054 [BZ #18593]
16055 * math/s_csin.c (__csin): Negate before rather than after possibly
16056 overflowing multiplication.
16057 * math/s_csinf.c (__csinf): Likewise.
16058 * math/s_csinh.c (__csinh): Likewise.
16059 * math/s_csinhf.c (__csinhf): Likewise.
16060 * math/s_csinhl.c (__csinhl): Likewise.
16061 * math/s_csinl.c (__csinl): Likewise.
16062 * math/auto-libm-test-in: Add some tests of csin and csinh.
16063 * math/auto-libm-test-out: Regenerated.
16064 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16065 (csinh_test_data): Likewise.
16066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16067
16068 [BZ #18586]
16069 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16070 underflow exception for small results.
16071
16072 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
16073
16074 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16075 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16076 variable and included header.
16077 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16078 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16079 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16080 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16081 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16082 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16083 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16084 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16085 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16086 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16087 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16088 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16089 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16090 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16091 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16092 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16093
16094 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16095
16096 [BZ #16526]
16097 [BZ #16538]
16098 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16099 (__sin): Force underflow exception for arguments with small
16100 absolute value.
16101 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16102 (__kernel_sinf): Force underflow exception for arguments with
16103 small absolute value.
16104 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16105 (__kernel_sincosl): Force underflow exception for arguments with
16106 small absolute value.
16107 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16108 (__kernel_sinl): Force underflow exception for arguments with
16109 small absolute value.
16110 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16111 (__kernel_sincosl): Force underflow exception for arguments with
16112 small absolute value.
16113 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16114 (__kernel_sinl): Force underflow exception for arguments with
16115 small absolute value.
16116 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16117 (__kernel_sinl): Force underflow exception for arguments with
16118 small absolute value.
16119 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16120 (__kernel_sinf): Force underflow exception for arguments with
16121 small absolute value.
16122 * math/auto-libm-test-in: Add more tests of sin and sincos.
16123 * math/auto-libm-test-out: Regenerated.
16124
16125 [BZ #18245]
16126 [BZ #18583]
16127 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16128 (__kernel_standard_l): Use feholdexcept and fesetenv around
16129 conversion to double instead of special-casing overflow and
16130 underflow.
16131 * math/libm-test.inc (fmod_test_data): Add more tests.
16132 (remainder_test_data): Likewise.
16133 (sqrt_test_data): Likewise.
16134
16135 2015-06-23 Torvald Riegel <triegel@redhat.com>
16136
16137 [BZ #17403]
16138 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16139 atomic_read_barrier, atomic_write_barrier): Define.
16140 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16141 atomic_read_barrier, atomic_write_barrier): Define.
16142
16143 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16144
16145 * math/Makefile [$(PERL) != no]
16146 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16147 dependency on libm-test.stmp below the inclusion of Rules.
16148
16149 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
16150
16151 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16153 and included header.
16154 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16155 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16156 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16157 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16158 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16161 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16162 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16163 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16164 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16165 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16166 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16167 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16168 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16169 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16170 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16171 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16172 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16173
16174 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16175
16176 [BZ #18371]
16177 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16178 intermediate but not final result might underflow.
16179 * math/s_csqrtf.c (__csqrtf): Likewise.
16180 * math/s_csqrtl.c (__csqrtl): Likewise.
16181 * math/auto-libm-test-in: Add more tests of csqrt.
16182 * math/auto-libm-test-out: Regenerated.
16183 * sysdeps/i386/fpu/libm-test-ulps: Update.
16184
16185 [BZ #18219]
16186 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16187 threshold on absolute value of exponent for which scaling is used.
16188 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16189 * math/auto-libm-test-in: Add more tests of exp2.
16190 * math/auto-libm-test-out: Regenerated.
16191
16192 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
16193
16194 [BZ #17977]
16195 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16196 when initializing interface list, based on the bug analysis
16197 and the patch proposed by Eric Newton.
16198 * resolv/tst-res_hconf_reorder.c: New test.
16199 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16200 tst-res_hconf_reorder.
16201 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16202 and $(shared-thread-library).
16203 (tst-res_hconf_reorder-ENV): New variable.
16204
16205 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16206 in comment.
16207
16208 2015-06-22 Joseph Myers <joseph@codesourcery.com>
16209
16210 [BZ #16353]
16211 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16212 (__expm1): Force underflow exception for arguments with small
16213 absolute value.
16214 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16215 (__expm1f): Force underflow exception for arguments with small
16216 absolute value.
16217 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16218 (__expm1): Force underflow exception for arguments with small
16219 absolute value.
16220 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16221 (__expm1f): Force underflow exception for arguments with small
16222 absolute value.
16223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16224 Check for small arguments before calling __expm1.
16225 * math/auto-libm-test-in: Do not mark underflow exceptions as
16226 possibly missing for bug 16353.
16227 * math/auto-libm-test-out: Regenerated.
16228
16229 2015-06-22 Andreas Schwab <schwab@suse.de>
16230
16231 [BZ #18513]
16232 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16233 PTR queries.
16234
16235 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
16236
16237 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16238
16239 * string/strcoll_l.c: Remove unused struct element idxnow.
16240
16241 2015-06-21 Joseph Myers <joseph@codesourcery.com>
16242
16243 [BZ #18569]
16244 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16245 underflow and return argument in case of subnormal argument.
16246 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16247 Likewise.
16248 * math/auto-libm-test-in: Add more tests of expm1.
16249 * math/auto-libm-test-out: Regenerated.
16250
16251 [BZ #16361]
16252 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16253 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16254 tiny results.
16255 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16256 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16257 tiny results.
16258 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
16259 mark underflow exceptions as possibly missing for bug 16361.
16260 * math/auto-libm-test-out: Regenerated.
16261
16262 2015-06-19 Joseph Myers <joseph@codesourcery.com>
16263
16264 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16265 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16266 Remove variable.
16267 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16268 (test-xfail-XOPEN2K8/utmpx.h/conform).
16269
16270 * conform/conformtest.pl ($xerrors): New variable.
16271 (note_error): New function.
16272 (compiletest): New argument $xfail. Use not_error.
16273 (runtest): Likewise.
16274 (top level): Handle xfail- lines. Update calls to compiletest and
16275 runtest. Handle xfail- and optional- in headers listed with
16276 allow-header.
16277 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16278 (O_EXEC): Likewise.
16279 (O_SEARCH): Likewise.
16280 * conform/data/stropts.h-data (ioctl): Likewise.
16281 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16282 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16283 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16284 (msghdr.msg_controllen): Likewise.
16285 (cmsghdr.cmsg_len): Likewise.
16286 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16287 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16288 variable.
16289 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16290 (test-xfail-XPG4/stropts.h/conform): Likewise.
16291 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16292 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16293 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16294 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16295 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16296 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16297 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16298 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16299 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16300 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16301 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16302 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16303 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16304 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16305 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16306 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16307 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16308 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16309 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16310
16311 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
16312
16313 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16314 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16315 definitions for proper unfolding of __MATHDECL_VEC.
16316
16317 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16318
16319 * benchtests/bench-strcoll.c:
16320 Include string.h.
16321 (main): Remove unused variable res.
16322
16323 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16324
16325 * timezone/Makefile (%/UTC %/Universal):
16326 Generate test-result files for UTC and Universal.
16327
16328 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
16329
16330 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16331
16332 2015-06-18 Joseph Myers <joseph@codesourcery.com>
16333
16334 [BZ #16350]
16335 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16336 for arguments with small absolute value.
16337 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16338 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16339 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16340 (__asinh): Force underflow exception for arguments with small
16341 absolute value.
16342 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16343 (__asinhf): Force underflow exception for arguments with small
16344 absolute value.
16345 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
16346 (__asinhl): Force underflow exception for arguments with small
16347 absolute value.
16348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
16349 (__asinhl): Force underflow exception for arguments with small
16350 absolute value.
16351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
16352 (__asinhl): Force underflow exception for arguments with small
16353 absolute value.
16354 * math/auto-libm-test-in: Do not mark underflow exceptions as
16355 possibly missing for bug 16350.
16356 * math/auto-libm-test-out: Regenerated.
16357
16358 * include/bits/ipc.h: Remove file.
16359 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
16360 variable.
16361 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16362 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16363 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16364 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16365 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16366 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16367 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16368 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16369 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16370
16371 * math/auto-libm-test-in: Remove spurious underflow allowance for
16372 tests of cexp.
16373 * math/auto-libm-test-out: Regenerated.
16374
16375 [BZ #18558]
16376 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
16377 unconditional definition.
16378 (MCAST_BLOCK_SOURCE): Likewise.
16379 (MCAST_UNBLOCK_SOURCE): Likewise.
16380 (MCAST_LEAVE_GROUP): Likewise.
16381 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16382 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16383 (MCAST_MSFILTER): Likewise.
16384 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
16385 Remove variable.
16386 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16387 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16388 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16389 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16390 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16391
16392 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
16393
16394 * NEWS: Mention addition of x86_64 vector sincosf.
16395 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
16396 * math/test-float-vlen4.h: Likewise.
16397 * math/test-float-vlen8.h: Likewise.
16398 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16399 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
16400 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16401 * sysdeps/x86_64/fpu/Versions: New versions added.
16402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16403 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16404 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16405 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
16406 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16407 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
16408 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
16410 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16411 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
16412 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
16413 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
16414 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
16415 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
16416 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
16417 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
16418 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
16419 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16420 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16421 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16422 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16423 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16424 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16425 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16426
16427 * NEWS: Mention addition of x86_64 vector sincos.
16428 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
16429 * math/math.h (__MATHDECL_VEC): New macro.
16430 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
16431 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
16432 declaration under condition.
16433 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
16434 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
16435 TEST_VEC_LOOP change.
16436 * math/test-double-vlen4.h: Likewise.
16437 * math/test-double-vlen8.h: Likewise.
16438 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
16439 * math/test-float-vlen4.h: Likewise.
16440 * math/test-float-vlen8.h: Likewise.
16441 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16442 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
16443 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16444 * sysdeps/x86_64/fpu/Versions: New versions added.
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16446 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16447 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16448 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
16449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
16450 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
16451 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
16452 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
16453 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
16454 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
16455 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
16456 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
16457 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
16458 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
16459 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
16460 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
16461 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
16462 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16463 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16464 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16465 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16466 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16467 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16468 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16469
16470 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16471 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16472 redirections for powf.
16473 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16474 * sysdeps/x86_64/fpu/Versions: New versions added.
16475 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16476 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16477 Added build of SSE, AVX2 and AVX512 IFUNC versions.
16478 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
16479 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
16480 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
16481 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
16482 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
16483 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
16484 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
16485 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
16486 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
16487 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
16488 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
16489 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
16490 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
16491 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
16492 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16493 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16494 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16495 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16496 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16497 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16498 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16499 * math/test-float-vlen16.h: Fixed 2 argument macro.
16500 * math/test-float-vlen4.h: Likewise.
16501 * math/test-float-vlen8.h: Likewise.
16502 * NEWS: Mention addition of x86_64 vector powf.
16503
16504 2015-06-17 Joseph Myers <joseph@codesourcery.com>
16505
16506 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16507 and redefine.
16508 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16509 and redefine.
16510 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
16511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16513
16514 [BZ #18553]
16515 * resource/getpriority.c (getpriority): Rename to __getpriority
16516 and define as weak alias of __getpriority.
16517 * resource/setpriority.c (setpriority): Rename to __setpriority
16518 and define as weak alias of __setpriority.
16519 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
16520 __getpriority and define as weak alias of __getpriority.
16521 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
16522 __setpriority and define as weak alias of __setpriority.
16523 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
16524 strong name.
16525 (setpriority): Use __setpriority as strong name.
16526 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
16527 __getpriority and define as weak alias of __getpriority.
16528 * include/sys/resource.h (__getpriority): Declare. Use
16529 libc_hidden_proto.
16530 (__setpriority): Likewise.
16531 (getpriority): Don't use libc_hidden_proto.
16532 (setpriority): Likewise.
16533 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
16534 getpriority. Call __setpriority instead of setpriority.
16535 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
16536 Remove variable.
16537
16538 [BZ #18547]
16539 * misc/getttyent.c (getttynam): Rename to __getttynam and define
16540 as weak alias of __getttynam. Use prototype function definition.
16541 Call __setttyent, __getttyent and __endttyent instead of
16542 setttyent, getttyent and endttyent.
16543 (getttyent): Rename to __getttyent and define as weak alias of
16544 __getttyent. Call __setttyent instead of setttyent. Call
16545 __fgets_unlocked instead of fgets_unlocked.
16546 (setttyent): Rename to __setttyent and define as weak alias of
16547 __setttyent.
16548 (endttyent): Rename to __endttyent and define as weak alias of
16549 __endttyent.
16550 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
16551 (__setttyent): Likewise.
16552 (__endttyent): Likewise.
16553 (getttyent): Don't use libc_hidden_proto.
16554 (setttyent): Likewise.
16555 (endttyent): Likewise.
16556 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
16557 __endttyent instead of setttyent, getttyent and endttyent.
16558 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
16559 Remove variable.
16560
16561 [BZ #18546]
16562 * socket/recv.c (__recv): Use libc_hidden_def.
16563 * socket/socket.c (__socket): Likewise.
16564 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16565 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16566 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
16567 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
16568 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
16569 libc_hidden_def.
16570 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
16571 libc_hidden_weak.
16572 * include/sys/socket.h (__socket): Do not use attribute_hidden.
16573 Use libc_hidden_proto.
16574 (__recv): Likewise.
16575 * socket/Versions (libc): Export __recv and __socket at version
16576 GLIBC_PRIVATE.
16577 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
16578 instead of recv.
16579 (init_mq_netlink): Call __socket instead of socket.
16580 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
16581 Remove variable.
16582
16583 [BZ #18545]
16584 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
16585 __mq_timedreceive and define as alias of __mq_timedreceive. Use
16586 hidden_weak.
16587 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
16588 define as alias of __mq_timedsend. Use hidden_weak.
16589 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
16590 __mq_timedsend as strong name.
16591 (mq_timedreceive): Use __mq_timedreceive as strong name.
16592 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
16593 (__mq_timedreceive): Likewise.
16594 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
16595 __mq_timedreceive instead of mq_timedreceive.
16596 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
16597 instead of mq_timedsend.
16598 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
16599 Remove variable.
16600
16601 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
16602 hidden_def and hidden_weak instead of libc_hidden_def and
16603 libc_hidden_weak.
16604 (top level): Refer to hidden_def in comment.
16605 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
16606 macro. Use it instead of libc_hidden_def.
16607 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
16608 specify __GI_* name explicitly.
16609 (mq_timedreceive): Likewise.
16610 (mq_setattr): Likewise.
16611
16612 [BZ #18544]
16613 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
16614 __pthread_barrier_init and define as weak alias of
16615 __pthread_barrier_init.
16616 * sysdeps/sparc/nptl/pthread_barrier_init.c
16617 (pthread_barrier_init): Likewise.
16618 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
16619 __pthread_barrier_wait and define as weak alias of
16620 __pthread_barrier_wait.
16621 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16622 (pthread_barrier_wait): Likewise.
16623 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16624 (pthread_barrier_wait): Likewise.
16625 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
16626 (pthread_barrier_wait): Likewise.
16627 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
16628 (pthread_barrier_wait): Likewise.
16629 * nptl/Versions (libpthread): Export __pthread_barrier_init and
16630 __pthread_barrier_wait at version GLIBC_PRIVATE.
16631 * include/pthread.h (__pthread_barrier_init): Declare.
16632 (__pthread_barrier_wait): Likewise.
16633 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
16634 Call __pthread_barrier_wait instead of pthread_barrier_wait.
16635 (helper_thread): Likewise.
16636 (init_mq_netlink): Call __pthread_barrier_init instead of
16637 pthread_barrier_init.
16638
16639 [BZ #18542]
16640 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
16641 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
16642 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
16643 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
16644 vswscanf.
16645 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
16646 Remove variable.
16647
16648 [BZ #18540]
16649 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
16650 strong alias of _IO_fflush. Use libc_hidden_def.
16651 * libio/iofflush_u.c (fflush_unlocked): Rename to
16652 __fflush_unlocked and define as weak alias of __fflush_unlocked.
16653 Use libc_hidden_weak.
16654 * include/stdio.h (__fflush_unlocked): Declare. Use
16655 libc_hidden_proto.
16656 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
16657 fflush_unlocked.
16658 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
16659 Remove variable.
16660
16661 [BZ #18539]
16662 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
16663 define as weak alias of __addseverity.
16664 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
16665 Remove variable.
16666 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
16667 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
16668 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
16669
16670 [BZ #18536]
16671 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
16672 (__tfind): Likewise.
16673 (__tdelete): Likewise.
16674 (__twalk): Likewise.
16675 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
16676 __twalk to GLIBC_PRIVATE.
16677 * include/search.h (__tsearch): Use libc_hidden_proto.
16678 (__tfind): Likewise.
16679 (__tdelete): Likewise.
16680 (__twalk): Likewise.
16681 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
16682 Call __tdelete instead of tdelete.
16683 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
16684 tfind. Call __tsearch instead of tsearch.
16685 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
16686 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
16687 Remove variable.
16688 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
16689
16690 [BZ #18534]
16691 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
16692 (dprintf): Define as a weak alias of __dprintf, not a strong
16693 alias.
16694 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
16695 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
16696 dprintf.
16697 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
16698 Remove variable.
16699 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
16700 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
16701
16702 [BZ #18533]
16703 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
16704 not a strong alias.
16705 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
16706 Remove variable.
16707
16708 [BZ #18532]
16709 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
16710 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
16711 (in6addr_loopback): Rename to __in6addr_loopback and define as
16712 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
16713 * include/netinet/in.h (__in6addr_loopback): Declare. Use
16714 libc_hidden_proto.
16715 (__in6addr_any): Likewise.
16716 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
16717 in6addr_any.
16718 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
16719 variable.
16720 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
16721
16722 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
16723
16724 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
16725 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
16726 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16727 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16728 redirections for pow.
16729 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16730 * sysdeps/x86_64/fpu/Versions: New versions added.
16731 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16732 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16733 build of SSE, AVX2 and AVX512 IFUNC versions.
16734 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
16735 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
16736 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
16737 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
16738 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
16739 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
16740 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
16741 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
16742 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
16743 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
16744 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
16745 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
16746 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
16747 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
16748 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16749 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16750 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16751 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16752 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16753 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16754 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16755 * NEWS: Mention addition of x86_64 vector pow.
16756
16757 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16758 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16759 redirections for expf.
16760 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16761 * sysdeps/x86_64/fpu/Versions: New versions added.
16762 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16763 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16764 build of SSE, AVX2 and AVX512 IFUNC versions.
16765 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
16766 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
16767 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
16768 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
16769 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
16770 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
16771 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
16772 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
16773 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
16774 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
16775 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
16776 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
16777 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
16778 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16779 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16780 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16781 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16782 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16783 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16784 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16785 * NEWS: Mention addition of x86_64 vector expf.
16786
16787 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
16788 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
16789 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16790 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16791 redirections for exp.
16792 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16793 * sysdeps/x86_64/fpu/Versions: New versions added.
16794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16795 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16796 build of SSE, AVX2 and AVX512 IFUNC versions.
16797 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
16798 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
16799 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
16800 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
16801 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
16802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
16803 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
16804 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
16805 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
16806 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
16807 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
16808 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
16809 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
16810 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16811 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16812 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16813 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16814 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16815 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16816 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16817 * NEWS: Mention addition of x86_64 vector exp.
16818
16819 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16820 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16821 redirections for logf.
16822 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16823 * sysdeps/x86_64/fpu/Versions: New versions added.
16824 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16825 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16826 build of SSE, AVX2 and AVX512 IFUNC versions.
16827 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
16828 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16829 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16830 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16831 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16832 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16833 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16834 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16835 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16836 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16837 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16838 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16839 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16840 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16841 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16842 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16843 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16844 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16845 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16846 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16847 * NEWS: Mention addition of x86_64 vector logf.
16848
16849 * bits/libm-simd-decl-stubs.h: Added stubs for log.
16850 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16851 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16852 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16853 redirections for log.
16854 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16855 * sysdeps/x86_64/fpu/Versions: New versions added.
16856 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16857 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16858 build of SSE, AVX2 and AVX512 IFUNC versions.
16859 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16860 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16861 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16862 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16863 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16864 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16865 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16866 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16867 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16868 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16869 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16870 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16871 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16872 test.
16873 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16874 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16875 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16876 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16877 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16878 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16879 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16880 * NEWS: Mention addition of x86_64 vector log.
16881
16882 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
16883
16884 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16885 cfi_adjust_cfa_offset argument.
16886 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16887 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16888
16889 [BZ #18034]
16890 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16891 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16892 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16893 ordering using ldar.
16894 (_dl_tlsdesc_dynamic): Likewise.
16895 (_dl_tlsdesc_return_lazy): Likewise.
16896 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16897 relaxed atomics instead of volatile and synchronize with release store.
16898 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16899 volatile.
16900 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16901
16902 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
16903
16904 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16905 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16906 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16907 * sysdeps/x86_64/fpu/Versions: New versions added.
16908 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16909 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16910 build of SSE, AVX2 and AVX512 IFUNC versions.
16911 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16912 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16913 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16914 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16915 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16916 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16917 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16918 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16919 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16920 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16921 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16922 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16923 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16924 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16925 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16926 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16927 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16928 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16929 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16930 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16931 * NEWS: Mention addition of x86_64 vector sinf.
16932
16933 2015-06-14 Joseph Myers <joseph@codesourcery.com>
16934
16935 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16936 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16937 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16938 Remove variable.
16939 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16940 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16941
16942 2015-06-12 Joseph Myers <joseph@codesourcery.com>
16943
16944 [BZ #18530]
16945 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16946 strong alias of _IO_fputs. Use libc_hidden_def.
16947 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16948 and define as weak alias of __fputs_unlocked. Use
16949 libc_hidden_weak.
16950 * include/stdio.h (__fputs_unlocked): Declare. Use
16951 libc_hidden_proto.
16952 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16953 fputs_unlocked.
16954
16955 [BZ #18529]
16956 * resolv/netdb.h [__USE_POSIX]: Change condition to
16957 [__USE_XOPEN2K].
16958 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16959 not expect.
16960 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16961 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16962 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16963 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16964 [XPG4 || UNIX98] (AI_ALL): Likewise.
16965 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16966 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16967 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16968 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16969 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16970 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16971 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16972 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16973 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16974 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16975 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16976 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16977 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16978 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16979 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16980 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16981 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16982 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16983 [XPG4 || UNIX98] (gai_strerror): Likewise.
16984 [XPG4 || UNIX98] (getaddrinfo): Likewise.
16985 [XPG4 || UNIX98] (getnameinfo): Likewise.
16986
16987 [BZ #18528]
16988 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16989 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16990 __USE_XOPEN2K8].
16991 (getgrent): Likewise.
16992 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16993 expect.
16994 [XPG3 || POSIX2008] (endgrent): Likewise.
16995 [XPG3] (setgrent): Likewise.
16996 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16997 variable.
16998 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16999
17000 [BZ #18527]
17001 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17002 define as weak alias of __getlogin_r. Use libc_hidden_weak.
17003 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17004 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17005 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17006 * include/unistd.h (__getlogin_r): Declare. Use
17007 libc_hidden_proto.
17008 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17009 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17010 variable.
17011 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17012 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17013 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17014
17015 2015-06-12 Martin Sebor <msebor@redhat.com>
17016
17017 [BZ #18512]
17018 * Makerules (check-install-supported): New target.
17019 (install): Add check-install-supported as a dependency.
17020 * manual/install.texi (Installing the C Library): Document
17021 that overriding prefix and exec_prefix is not supported.
17022 Mention DESTDIR.
17023 * INSTALL: Regenerate from the above.
17024
17025 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17026
17027 [BZ #18519]
17028 * posix/Versions (libc): Export __libc_pread at version
17029 GLIBC_PRIVATE.
17030 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17031 instead of pread.
17032 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17033 variable.
17034
17035 [BZ #18522]
17036 * misc/efgcvt_r.c
17037 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17038 (cvt_symbol): Use weak_alias instead of strong_alias.
17039 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17040 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17041 Remove variable.
17042 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17043 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17044
17045 [BZ #18520]
17046 * inet/herrno.c (h_errno): Rename to __h_errno.
17047 (__libc_h_errno): Define as alias of __h_errno not h_errno.
17048 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17049 to __h_errno instead of h_errno.
17050 * nptl/herrno.c (h_errno): Rename to __h_errno.
17051 (__h_errno_location): Refer to __h_errno not h_errno.
17052 * resolv/Versions (h_errno): Rename to __h_errno.
17053 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17054 Remove variable.
17055 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17056
17057 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
17058
17059 * configure.ac: More strict check for AVX512 assembler support.
17060 * configure: Regenerated.
17061
17062 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17063 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17064 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17065 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17066 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17067 * sysdeps/x86_64/fpu/Versions: New versions added.
17068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17069 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17070 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17071 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17072 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17073 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17075 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17076 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17077 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17078 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17079 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17080 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17081 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17082 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17083 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17084 test.
17085 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17086 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17087 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17088 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17089 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17090 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17091 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17092 * NEWS: Mention addition of x86_64 vector sin.
17093
17094 2015-06-11 Florian Weimer <fweimer@redhat.com>
17095
17096 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17097 comment.
17098
17099 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
17100
17101 [BZ #18479]
17102 * nptl/pt-interp.c: New file.
17103 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17104 Add pt-interp.
17105 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17106 $(common-objpfx)runtime-linker.h.
17107
17108 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
17109
17110 * Makeconfig (+interp): Remove unused variable.
17111 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17112 only. Depend on $(common-objpfx)runtime-linker.h instead of
17113 $(elf-objpfx)runtime-linker.h.
17114 ($(elf-objpfx)runtime-linker.h): Rename to
17115 $(common-objpfx)runtime-linker.h and move ...
17116 * Makerules [$(build-shared) = yes]: ... here.
17117 * elf/interp.c: Include <runtime-linker.h> instead of
17118 <elf/runtime-linker.h>.
17119
17120 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17121
17122 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17123 (__gettimeofday_syscall): Remove vsyscall fallback.
17124 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17125 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17126 Add syscall fallback function.
17127 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17128 if vDSO is not present.
17129 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17130 fallback function.
17131 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17132 present.
17133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17134 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17135
17136 2015-06-09 Joseph Myers <joseph@codesourcery.com>
17137
17138 [BZ #18497]
17139 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17140 of wcscmp.
17141 (wcscmp): Define as weak alias of WCSCMP.
17142 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17143 wcscoll.
17144 (USE_HIDDEN_DEF): Define.
17145 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17146 __wcscoll. Don't use libc_hidden_weak.
17147 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17148 wcscmp.
17149 * sysdeps/i386/i686/multiarch/wcscmp-c.c
17150 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17151 __GI_wcscmp.
17152 (weak_alias): Undefine and redefine.
17153 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17154 __wcscmp and define as weak alias of __wcscmp.
17155 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17156 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
17157 (__wcscoll): Likewise.
17158 (wcscmp): Don't use libc_hidden_proto.
17159 (wcscoll): Likewise.
17160 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17161 wcscoll.
17162 * posix/regexec.c (check_node_accept_bytes): Likewise.
17163 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17164 variable.
17165 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17166 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17167
17168 [BZ #18507]
17169 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17170 __fstatvfs and define as weak alias of __fstatvfs. Use
17171 libc_hidden_weak.
17172 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17173 and define as weak alias of __statvfs. Use libc_hidden_weak.
17174 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17175 Define as alias of __fstatvfs, not fstatvfs.
17176 (fstatvfs64): Likewise.
17177 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17178 Define as alias of __statvfs, not statvfs.
17179 (statvfs64): Likewise.
17180 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17181 Remove variable.
17182
17183 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17184
17185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17186 (HAVE_GETCPU_VSYSCALL): Define.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17188 (HAVE_GETCPU_VSYSCALL): Likewise.
17189 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17190 * sysdeps/unix/sysv/linux/sched_getcpu.c
17191 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17192 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17193 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17194 prototype.
17195 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17196 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17199 Define.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17201 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17202 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17204
17205 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
17206
17207 * sysdeps/x86_64/fpu/Makefile: New file.
17208 * sysdeps/x86_64/fpu/Versions: New file.
17209 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17210 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17211 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17212 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17213 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17214 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17215 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17216 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17217 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17218 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17219 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17220 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17221 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17222 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17223 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17224 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17225 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17226 * sysdeps/x86_64/configure.ac: Options for libmvec build.
17227 * sysdeps/x86_64/configure: Regenerated.
17228 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17229 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17230 * manual/install.texi (Configuring and compiling): Document
17231 --disable-mathvec.
17232 * INSTALL: Regenerated.
17233 * NEWS: Mention addition of libmvec and x86_64 vector cos.
17234
17235 * math/Makefile: Added rules for vector tests.
17236 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17237 declaration under condition.
17238 * math/test-double-vlen2.h: New file.
17239 * math/test-double-vlen4.h: New file.
17240 * math/test-double-vlen8.h: New file.
17241 * math/test-vec-loop.h: Added initialization macro.
17242 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17243 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17244 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17245 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17246 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17247 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17248 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17249 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17250 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17251 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17252 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17253
17254 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17255 * sysdeps/x86_64/fpu/Versions: New versions added.
17256 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17257 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17258 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17259 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17260 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17261 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17262 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17263 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17264 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17265 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17266 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17267 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17268 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17269 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17270 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17271 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17272 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17273 * NEWS: Mention addition of x86_64 vector cosf.
17274
17275 * math/Makefile: Added CFLAGS for new tests.
17276 * math/test-float-vlen16.h: New file.
17277 * math/test-float-vlen4.h: New file.
17278 * math/test-float-vlen8.h: New file.
17279 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17280 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17281 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17282 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17283 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17284 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17285 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17286 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17287 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17288 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17289 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17290
17291 2015-06-09 Marko Myllynen <myllynen@redhat.com>
17292
17293 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17294 * locale/programs/ld-ctype.c: Likewise.
17295
17296 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
17297
17298 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17299 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17300 bit_ZMM16_31_state): New macro.
17301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17302 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17303
17304 2015-06-08 Joseph Myers <joseph@codesourcery.com>
17305
17306 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17307
17308 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
17309
17310 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17311
17312 2015-06-05 Joseph Myers <joseph@codesourcery.com>
17313
17314 [BZ #18498]
17315 * libio/memstream.c (open_memstream): Rename to __open_memstream
17316 and define as weak alias of __open_memstream.
17317 * include/stdio.h (__open_memstream): Declare. Use
17318 libc_hidden_proto.
17319 (open_memstream): Don't use libc_hidden_proto.
17320 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17321 open_memstream.
17322 * posix/getopt.c (_getopt_internal_r): Likewise.
17323 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17324 variable.
17325 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17326 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17327 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17328
17329 [BZ #18496]
17330 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17331 instead of wcrtomb.
17332
17333 [BZ #18483]
17334 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17335 [__USE_XOPEN2K8]. Remove redundant #endif.
17336 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17337 Remove redundant #if.
17338 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17339 Remove variable.
17340 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17341 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17342
17343 [BZ #18495]
17344 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17345 (__iswlower): Likewise.
17346 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
17347 (__iswlower): Likewise.
17348 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
17349 instead of towlower.
17350 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
17351 instead of iswlower. Call __towupper instead of towupper.
17352 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
17353 instead of iswalnum.
17354
17355 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17356
17357 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
17358 errors to stderr.
17359
17360 2015-06-05 Florian Weimer <fweimer@redhat.com>
17361
17362 [BZ #15661]
17363 [BZ #17322]
17364 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17365 Check for overflow properly. Check for O_APPEND. Ignore large
17366 file system block sizes. Add comments about problems.
17367 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
17368 * manual/filesys.texi (Storage Allocation): New node.
17369
17370 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17371
17372 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
17373 cancellable syscalls.
17374 (SYS_ify): Add guard to no redefine it.
17375 (INLINE_SYSCALL): Likewise.
17376 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
17377 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
17378 SYSCALL_CANCEL instead.
17379 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
17380 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
17381 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
17382 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
17383 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
17384 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
17385 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
17386 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
17387 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17388 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17389 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
17390 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
17391 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
17392 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
17393 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
17394 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
17395 Likewise.
17396 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
17397 (__libc_pread64): Likewise.
17398 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
17399 (__libc_preadv): Likewise.
17400 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
17401 (__libc_readv64): Likewise.
17402 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
17403 (__libc_pwrite): Likewise.
17404 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
17405 (__libc_pwrite64): Likewise.
17406 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
17407 (__libc_pwritev): Likewise.
17408 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
17409 (__libc_pwritev64): Likewise.
17410 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
17411 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17412 (sync_file_range): Likewise.
17413 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
17414 Likewise.
17415 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
17416 Likewise.
17417 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
17418 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
17419 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
17420 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
17421 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
17422 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
17423 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17424 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
17426 Likewise.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17428 (__libc_read64): Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
17430 Likewise.
17431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
17432 Likewise.
17433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
17434 Likewise.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
17436 Likewise.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17438 (__libc_pread64): Likewise.
17439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
17440 Likewise.
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17442 (__libc_pwrite64): Likewise.
17443 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
17444 (sync_file_range): Likewise.
17445 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
17446 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
17447 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
17448 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
17449 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
17450 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
17451 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
17452 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
17453 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
17454 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17455 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17456 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
17457 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
17458 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
17459 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
17460 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
17461 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
17462 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
17463 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
17464 Likewise.
17465 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
17466 Likewise.
17467 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
17468 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
17469 Likewise.
17470 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
17471 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
17472 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
17473 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
17474 Likewise.
17475 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
17476 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
17477 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
17478 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
17479 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
17480
17481 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
17482
17483 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
17484 Include dl-vdso.
17485 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
17486 Use VDSO routines for gettimeofday, clock_gettime if
17487 available.
17488 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
17489 Declare VDSO symbols.
17490 * sysdeps/unix/sysv/linux/arm/sysdep.h:
17491 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
17492 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17493 * sysdeps/unix/sysv/linux/arm/Versions: Add
17494 __vdso_clock_gettime.
17495
17496 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17497
17498 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
17499 be an inline implementation regardless of library is built within.
17500 (open_not_cancel_2): Likewise.
17501 (__read_nocancel): Likewise.
17502 (__write_nocancel): Likewise.
17503 (openat_not_cancel): Likewise.
17504 (openat_not_cancel_3): Likewise.
17505 (openat64_not_cancel): Likewise.
17506 (openat64_not_cancel_3): Likewise.
17507 (__close_nocancel): Likewise.
17508 (pause_not_cancel): Likewise.
17509 (nanosleep_not_cancel): Likewise.
17510 (sigsuspend_not_cancel): Likewise.
17511
17512 2015-06-04 Torvald Riegel <triegel@redhat.com>
17513
17514 [BZ #14958]
17515 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
17516 wake-up.
17517 (__pthread_rwlock_rdlock_slow): Likewise.
17518 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17519 Likewise.
17520 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17521 Likewise.
17522 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
17523 * nptl/tst-rwlock16.c: New file.
17524 * nptl/Makefile (tests): Add new test.
17525
17526 2015-06-04 Torvald Riegel <triegel@redhat.com>
17527
17528 [BZ #18324]
17529 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
17530 missing wake-up of readers.
17531 * nptl/tst-rwlock15.c: New file.
17532 * nptl/Makefile (tests): Add new test.
17533
17534 2015-06-03 Roland McGrath <roland@hack.frob.com>
17535
17536 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
17537 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
17538 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
17539 and __nacl_supply_interface_rtld.
17540 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
17541 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
17542 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
17543 Add __nacl_supply_interface_rtld.
17544 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
17545
17546 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
17547
17548 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
17549 isfinite.
17550 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17551 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
17552
17553 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
17554
17555 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
17556 __signbit* with standard C99 macros.
17557 * math/e_exp10l.c: Likewise.
17558 * math/e_exp2l.c: Likewise.
17559 * math/e_scalb.c: Likewise.
17560 * math/e_scalbf.c: Likewise.
17561 * math/e_scalbl.c: Likewise.
17562 * math/s_ldexp.c: Likewise.
17563 * math/s_ldexpf.c: Likewise.
17564 * math/s_ldexpl.c: Likewise.
17565 * math/w_atan2.c: Likewise.
17566 * math/w_atan2f.c: Likewise.
17567 * math/w_atan2l.c: Likewise.
17568 * math/w_cosh.c: Likewise.
17569 * math/w_coshf.c: Likewise.
17570 * math/w_coshl.c: Likewise.
17571 * math/w_exp10.c: Likewise.
17572 * math/w_exp10f.c: Likewise.
17573 * math/w_exp10l.c: Likewise.
17574 * math/w_exp2.c: Likewise.
17575 * math/w_exp2f.c: Likewise.
17576 * math/w_exp2l.c: Likewise.
17577 * math/w_fmod.c: Likewise.
17578 * math/w_fmodf.c: Likewise.
17579 * math/w_fmodl.c: Likewise.
17580 * math/w_hypot.c: Likewise.
17581 * math/w_hypotf.c: Likewise.
17582 * math/w_hypotl.c: Likewise.
17583 * math/w_jnl.c: Likewise.
17584 * math/w_lgamma.c: Likewise.
17585 * math/w_lgamma_r.c: Likewise.
17586 * math/w_lgammaf.c: Likewise.
17587 * math/w_lgammaf_r.c: Likewise.
17588 * math/w_lgammal.c: Likewise.
17589 * math/w_lgammal_r.c: Likewise.
17590 * math/w_pow.c: Likewise.
17591 * math/w_powf.c: Likewise.
17592 * math/w_powl.c: Likewise.
17593 * math/w_remainder.c: Likewise.
17594 * math/w_remainderf.c: Likewise.
17595 * math/w_remainderl.c: Likewise.
17596 * math/w_scalb.c: Likewise.
17597 * math/w_scalbf.c: Likewise.
17598 * math/w_scalbl.c: Likewise.
17599 * math/w_scalbln.c: Likewise.
17600 * math/w_scalblnf.c: Likewise.
17601 * math/w_scalblnl.c: Likewise.
17602 * math/w_sinh.c: Likewise.
17603 * math/w_sinhf.c: Likewise.
17604 * math/w_sinhl.c: Likewise.
17605 * math/w_tgamma.c: Likewise.
17606 * math/w_tgammaf.c: Likewise.
17607 * math/w_tgammal.c: Likewise.
17608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17609 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17612 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17615 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17616 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17617 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17618 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17619 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17620 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17622 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17625 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17636 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17637 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
17639 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
17640 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
17641 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
17642 * stdio-common/printf_fp.c: Likewise.
17643 * stdio-common/printf_fphex.c: Likewise.
17644 * stdio-common/printf_size.c: Likewise.
17645
17646 2015-06-03 Joseph Myers <joseph@codesourcery.com>
17647
17648 [BZ #18470]
17649 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
17650 strnlen.
17651 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
17652 Remove variable.
17653 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17654 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17655 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17656 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17657 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17658 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17659 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17660 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17661 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17662 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17663
17664 [BZ #18468]
17665 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
17666 weak alias of __wmemchr. Use libc_hidden_weak.
17667 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
17668 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
17669 instead of wmemchr.
17670
17671 2015-06-02 Roland McGrath <roland@hack.frob.com>
17672
17673 [BZ #18383]
17674 * elf/tst-tlsalign-extern.c: New file.
17675 * elf/tst-tlsalign-extern-static.c: New file.
17676 * elf/tst-tlsalign-vars.c: New file.
17677 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
17678 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
17679 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
17680 ($(objpfx)tst-tlsalign-extern-static): Likewise.
17681 (test-xfail-tst-tlsalign-extern-static): New variable.
17682
17683 2015-06-02 Joseph Myers <joseph@codesourcery.com>
17684
17685 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
17686 Use variable name _sc_err instead of err.
17687 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
17688 instead of ret.
17689 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
17690 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
17691 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
17692 (INLINE_SYSCALL): Likewise.
17693
17694 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
17695 * include/string.h (__strnlen): Use libc_hidden_proto.
17696 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
17697 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
17698 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
17699 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
17700 (libc_hidden_def): Undefine and redefine.
17701 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
17702 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
17703 __GI_strnlen.
17704 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
17705 libc_hidden_def.
17706 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
17707
17708 [BZ #18469]
17709 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
17710 weak alias of __towlower. Use libc_hidden_weak.
17711 (towupper): Rename to __towupper and define as weak alias of
17712 __towupper. Use libc_hidden_weak.
17713 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
17714 (__towupper): Likewise.
17715 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
17716 __towlower instead of towlower.
17717
17718 2015-06-02 Roland McGrath <roland@hack.frob.com>
17719
17720 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
17721 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
17722
17723 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
17724
17725 * sysdeps/aarch64/libm-test-ulps: Update.
17726
17727 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17728
17729 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
17730 Define.
17731 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17733 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17734 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17735 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
17736 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
17737 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
17738
17739 2015-06-01 Martin Sebor <msebor@redhat.com>
17740
17741 [BZ #18116]
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17743 (__setcontext): Use extended four-operand version of mtsf whenever
17744 possible.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17746 (__novec_swapcontext): Likewise.
17747
17748 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17749
17750 * benchtests/scripts/compare_bench.py: New file.
17751 * benchtests/scripts/import_bench.py (mean): New function.
17752 (split_list): Likewise.
17753 (do_for_all_timings): Likewise.
17754 (compress_timings): Likewise.
17755
17756 * benchtests/scripts/import_bench.py: New file.
17757 * benchtests/scripts/validate_benchout.py: Import import_bench
17758 instead of jsonschema.
17759 (validate_bench): Remove function.
17760 (main): Use import_bench.
17761
17762 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
17763
17764 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
17765 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
17766
17767 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17768
17769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17770
17771 2015-05-28 Roland McGrath <roland@hack.frob.com>
17772
17773 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
17774 set THREAD_SELF->tid to a magic value and futex-wake it.
17775 Pass its address to the thread_exit system call.
17776 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
17777 bit is clear.
17778 * sysdeps/nacl/lowlevellock.h: New file.
17779 * sysdeps/nacl/lll_timedwait_tid.c: New file.
17780
17781 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
17782 Add TIMEOUT to current time, don't subtract it.
17783
17784 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 [BZ #2981]
17787 [BZ #18422]
17788 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
17789 ($(objpfx)tst-audit2.out): Also depend on
17790 $(objpfx)tst-auditmod9b.so.
17791 * elf/tst-audit2.c: Include <dlfcn.h>.
17792 (calloc_called): New.
17793 (calloc): Allow to be called more than once.
17794 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
17795
17796 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
17797
17798 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
17799 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
17800
17801 2015-05-27 Marko Myllynen <myllynen@redhat.com>
17802
17803 * stdlib/monetary.h: Fix comment.
17804
17805 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
17806
17807 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
17808 Avoid using variables in #defines that might cause shadowing.
17809 (INTERNAL_VSYSCALL_CALL): Likewise.
17810
17811 2015-05-26 Roland McGrath <roland@hack.frob.com>
17812
17813 * sysdeps/nacl/lll_timedlock_wait.c: New file.
17814
17815 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
17816 * nptl/lll_timedlock_wait.c: ... to this new file.
17817 * nptl/Makefile (libpthread-routines): Add it.
17818 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
17819 * nptl/lll_timedwait_tid.c: ... to this new file.
17820 * nptl/Makefile (libpthread-routines): Add it.
17821 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
17822 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
17823 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
17824 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
17825 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
17826 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
17827 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
17828 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17829 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17830 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17831
17832 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17833
17834 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17835 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17836 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17838 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17839 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17840 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17842 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17843 * sysdeps/unix/sysv/linux/tile/sysdep.h
17844 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17845 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17846 using vDSO syscall macro.
17847
17848 2015-05-26 Andriy Rysin <arysin@gmail.com>
17849
17850 [BZ #17293]
17851 * uk_UA: Fix sorting order for Ukrainian locale
17852
17853 2015-05-26 Marko Myllynen <myllynen@redhat.com>
17854
17855 * stdlib/monetary.h: Fix comment.
17856
17857 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
17858
17859 [BZ #18234]
17860 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17861 st_mtim and st_ctim members.
17862 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17863 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17864 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17865 (struct stat64): Likewise.
17866 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17867 (struct stat64): Likewise.
17868 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17869 (struct stat64): Likewise.
17870
17871 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17872
17873 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17874 Define and include sysdep-vdso.h.
17875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17876 Likewise.
17877 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17878 Likewise.
17879 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17880 Define with VDSO_SYMBOL and use PTR_MANGLE.
17881 (__vdso_clock_gettime): Likewise.
17882 (__vdso_clock_getres): Likewise.
17883 (_libc_vdso_platform_setup): Likewise.
17884 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17885 Likewise.
17886 (_libc_vdso_platform_setup): Likewise.
17887 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17888 Likewise.
17889 (__vdso_clock_gettime): Likewise.
17890 (__vdso_clock_getres): Likewise.
17891 (__vdso_get_tbfreq): Likewise.
17892 (__vdso_getcpu): Likewise.
17893 (__vdso_time): Likewise.
17894 (__vdso_sigtramp_rt64): Likewise.
17895 (__vdso_signtramp32): Likewise.
17896 (__vdso_sigtramp_rt32): Likewise.
17897 (_libc_vdso_platform_setup): Likewise.
17898 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17899 Likewise.
17900 (__vdso_clock_gettime): Likewise.
17901 (__vdso_clock_getres): Likewise.
17902 (_libc_vdso_platform_setup): Likewise.
17903 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17904 Likewise.
17905 (__vdso_clock_gettime): Likewise.
17906 (_libc_vdso_platform_setup): Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17908 Likewise.
17909 (__vdso_getcpu): Likewise.
17910 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17911 Use VDSO_SYMBOL macro to define.
17912 (__vdso_clock_gettime): Likewise.
17913 (__vdso_clock_getres): Likewise.
17914 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17915 Likewise.
17916 (__vdso_clock_gettime): Likewise.
17917 (__vdso_clock_getres): Likewise.
17918 (__vdso_get_tbfreq): Likewise.
17919 (__vdso_getcpu): Likewise.
17920 (__vdso_time): Likewise.
17921 (__vdso_sigtramp_rt64): Likewise.
17922 (__vdso_signtramp32): Likewise.
17923 (__vdso_sigtramp_rt32): Likewise.
17924 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17925 Likewise.
17926 (__vdso_clock_gettime): Likewise.
17927 (__vdso_clock_getres): Likewise.
17928 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17929 Likewise.
17930 (__vdso_clock_gettime): Likewise.
17931 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17932 Likewise.
17933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
17934 macro.
17935 (INTERNAL_VSYSCALL): Likewise.
17936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17937 Remove macro.
17938 (INTERNAL_VSYSCALL): Likewise.
17939 (INTERNAL_VSYSCALL_NCS): Likewise.
17940 (INTERNAL_VSYSCALL_CALL): New macro.
17941 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17943 Likewise.
17944 (INTERNAL_VSYSCALL): Likewise.
17945 (INTERNAL_VSYSCALL_NCS): Likewise.
17946 (INTERNAL_VSYSCALL_CALL): New macro.
17947 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17949 (INLINE_VSYSCALL): Remove macro.
17950 (INTERNAL_VSYSCALL): Remove macro.
17951 (INTERNAL_VSYSCALL_NCS): Remove macro.
17952 (INTERNAL_VSYSCALL_CALL): New macro.
17953 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17954 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17955 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17956 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17957 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17959 (INLINE_VSYSCALL): Remove macro.
17960 (INTERNAL_VSYSCALL): Likewise.
17961 (INTERNAL_VSYSCALL_NCS): Likewise.
17962 (INTERNAL_VSYSCALL_CALL): New macro.
17963 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17964 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17965 PTR_DEMANGLE on vDSO pointer.
17966 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17967 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17968 macro.
17969 (INTERNAL_SYSCALL): Likewise.
17970 (INTERNAL_VSYSCALL_NCS): Remove macro.
17971 (INTERNAL_VSYSCALL_CALL): New macro.
17972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17973 Remove macro.
17974 (INTERNAL_VSYSCALL): Likewise.
17975 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17976 sysdep-vdso.h instead of libc-vdso.h.
17977 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17978 definition.
17979 (INLINE_VSYSCALL): Likewise.
17980 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17981 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17982 definition.
17983 (INLINE_VSYSCALL): Likewise.
17984 (INTERNAL_VSYSCALL): Likewise.
17985 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17986 * sysdeps/unix/sysv/linux/timespec_get.c
17987 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17988 (timespec_get): Use ANSI prototype.
17989 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17990 and definition for Linux.
17991
17992 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
17993
17994 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17995 * include/libc-symbols.h: libmvec_hidden_* macro series added.
17996
17997 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
17998
17999 [BZ #2981]
18000 [BZ #18410]
18001 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18002 for missing DT_PLTRELSZ.
18003
18004 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
18005
18006 Remove obsolete aliases that broke 'locale -a'
18007 [BZ #18412]
18008 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18009 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18010 breaking some applications that use 'locale -a' output.
18011 Change the encoding of this file from Latin-1 to ASCII to avoid
18012 other potential problems with people grepping this file.
18013
18014 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18015
18016 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18017 -fasynchronous-unwind-tables.
18018 (CFLAGS-sendto.c): Likewise.
18019 (CFLAGS-sendmsg.c): Likewise.
18020 (CFLAGS-connect.c): Likewise.
18021 (CFLAGS-recvmsg.c): Likewise.
18022 (CFLAGS-recvfrom.c): Likewise.
18023 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18024 (SOCKETCALL): New macro: non-cancellable socketcall.
18025 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18026 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18027 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18028 * sysdeps/unix/sysv/linux/accept.c: New file.
18029 * sysdeps/unix/sysv/linux/bind.c: Likewise.
18030 * sysdeps/unix/sysv/linux/connect.c: Likewise.
18031 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18032 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18033 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18034 * sysdeps/unix/sysv/linux/listen.c: Likewise.
18035 * sysdeps/unix/sysv/linux/recv.c: Likewise.
18036 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18037 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18038 * sysdeps/unix/sysv/linux/send.c: Likewise.
18039 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18040 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18041 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18042 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18043 * sysdeps/unix/sysv/linux/socket.c: Likewise.
18044 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18045 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18046 prototype.
18047 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18048 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18049 instead of __internal_xxx function.
18050 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18051 prototype.
18052 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18053 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18054 instead of __internal_xxx function.
18055 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18056 prototype.
18057 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18058 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18059 instead of __internal_xxx function.
18060 * sysdeps/unix/sysv/linux/accept.S: Remove file.
18061 * sysdeps/unix/sysv/linux/bind.S: Likewise.
18062 * sysdeps/unix/sysv/linux/connect.S: Likewise.
18063 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18064 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18065 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18066 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18067 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18068 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18069 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18070 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18071 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18072 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18073 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18074 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18075 * sysdeps/unix/sysv/linux/listen.S: Likewise.
18076 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18077 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18078 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18079 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18082 * sysdeps/unix/sysv/linux/recv.S: Likewise.
18083 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18084 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18085 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18086 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18087 * sysdeps/unix/sysv/linux/send.S: Likewise.
18088 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18089 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18090 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18091 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18092 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18093 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18094 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18095 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18096 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18097 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18098 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18099 socketcall is implemented in GLIBC.
18100
18101 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18102
18103 * soft-fp/fmadf4.c: Include <libc-internal.h>.
18104 (__fma): Ignore uninitialized warnings around packing.
18105 * soft-fp/fmasf4.c: Include <libc-internal.h>.
18106 (__fmaf): Ignore uninitialized warnings around packing.
18107 * soft-fp/fmatf4.c: Include <libc-internal.h>.
18108 (__fmal): Ignore uninitialized warnings around packing.
18109
18110 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18111 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18113 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18114
18115 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18116 switch statement into default case.
18117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18118
18119 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18120 a conditional in forcing "inexact".
18121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18122 Likewise.
18123
18124 2015-05-22 Roland McGrath <roland@hack.frob.com>
18125
18126 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18127 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18128 for each INTERNAL_SYSCALL use.
18129
18130 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18131
18132 [BZ #438]
18133 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18134 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18135 variable.
18136
18137 [BZ #18444]
18138 * string/basename.c (basename): Rename to __basename and define as
18139 weak alias of __basename. Use libc_hidden_weak.
18140 * include/string.h (__basename): Declare. Use libc_hidden_proto.
18141 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18142 __basename instead of basename.
18143 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18144 Remove variable.
18145 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18146
18147 2015-05-18 Florian Weimer <fweimer@redhat.com>
18148
18149 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18150 (_IO_JUMPS_FILE_plus): New.
18151 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18152 _IO_CAST_FIELD_ACCESS.
18153 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18154 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18155 * libio/freopen.c (freopen): Likewise.
18156 * libio/freopen64.c (freopen64): Likewise.
18157 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18158 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18159 * libio/iofwide.c (_IO_fwide): Likewise.
18160 * libio/memstream.c (open_memstream): Likewise.
18161 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18162 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18163 * libio/oldiopopen.c (_IO_old_popen): Likewise.
18164
18165 2015-05-21 Joseph Myers <joseph@codesourcery.com>
18166
18167 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18168 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18169 NADJ.
18170 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18171 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18172 NADJ.
18173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18174 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18175 NADJ.
18176
18177 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18178 (p == 4) case.
18179
18180 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18181 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18182 Remove variable.
18183 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18184 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18185 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18186
18187 2015-05-21 Florian Weimer <fweimer@redhat.com>
18188
18189 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18190 Adjust jump table label generation macros.
18191
18192 2015-05-21 Florian Weimer <fweimer@redhat.com>
18193
18194 * stdio-common/vfprintf.c (vfprintf): Move local variables
18195 args_malloced, specs, specs_malloced, and the code after
18196 do_positional to the printf_positional function.
18197 (printf_positional): New function.
18198
18199 2015-05-21 Florian Weimer <fweimer@redhat.com>
18200
18201 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18202 function.
18203 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18204 STEP4_TABLE, process_arg): Move macro definitions
18205 out of the vfprintf function. (Cosmetic change only.)
18206
18207 2015-05-21 Carlos O'Donell <carlos@redhat.com>
18208
18209 * benchtests/Makefile (stdio-common-bench): Define.
18210 (benchset): Add stdio-common-bench.
18211 * sprintf-inputs: New file.
18212 * sprintf-source.c: New file.
18213
18214 2015-05-21 Andreas Schwab <schwab@suse.de>
18215
18216 [BZ #13028]
18217 [BZ #17053]
18218 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18219 of struct __res_state.
18220 * resolv/res_send.c (__libc_res_nsend): Likewise.
18221 (get_nsaddr): New function.
18222 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18223 statp directly.
18224
18225 2015-05-20 Joseph Myers <joseph@codesourcery.com>
18226
18227 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18228 -D_POSIX_C_SOURCE=199506L.
18229
18230 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18231
18232 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18233 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18234 Do not mention otherwise.
18235 [POSIX] (_XOPEN_VERSION): Do not expect.
18236 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18237 [POSIX] (_POSIX2_C_BIND): Likewise.
18238 [POSIX] (_POSIX2_VERSION): Likewise.
18239 [POSIX] (_XOPEN_XPG2): Likewise.
18240 [POSIX] (_XOPEN_XPG3): Likewise.
18241 [POSIX] (_XOPEN_XPG4): Likewise.
18242 [POSIX] (_XOPEN_UNIX): Likewise.
18243 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18244 [POSIX] (_POSIX_BARRIERS): Likewise.
18245 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18246 [POSIX] (_POSIX_CPUTIME): Likewise.
18247 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18248 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18249 [POSIX] (_POSIX_SHELL): Likewise.
18250 [POSIX] (_POSIX_SPAWN): Likewise.
18251 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18252 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18253 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18254 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18255 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18256 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18257 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18258 [POSIX] (_XBS5_LP64_OFF64): Likewise.
18259 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18260 [POSIX] (_POSIX_TIMEOUTS): Likewise.
18261 [POSIX] (_POSIX2_PBS): Likewise.
18262 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18263 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18264 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18265 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18266 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18267 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18268 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18269 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18270 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18271 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18272 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18273 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18274 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18275 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18276 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18277 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18278 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18279 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18280 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18281 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18282 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18283 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18284 [POSIX] (_SC_2_C_BIND): Likewise.
18285 [POSIX] (_SC_2_C_VERSION): Likewise.
18286 [POSIX] (_SC_2_PBS): Likewise.
18287 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18288 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18289 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18290 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18291 [POSIX] (_SC_2_PBS_TRACK): Likewise.
18292 [POSIX] (_SC_ATEXIT_MAX): Likewise.
18293 [POSIX] (_SC_BARRIERS): Likewise.
18294 [POSIX] (_SC_BASE): Likewise.
18295 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18296 [POSIX] (_SC_DEVICE_IO): Likewise.
18297 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18298 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18299 [POSIX] (_SC_FD_MGMT): Likewise.
18300 [POSIX] (_SC_FIFO): Likewise.
18301 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18302 [POSIX] (_SC_FILE_LOCKING): Likewise.
18303 [POSIX] (_SC_FILE_SYSTEM): Likewise.
18304 [POSIX] (_SC_IOV_MAX): Likewise.
18305 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18306 [POSIX] (_SC_NETWORKING): Likewise.
18307 [POSIX] (_SC_PAGE_SIZE): Likewise.
18308 [POSIX] (_SC_PASS_MAX): Likewise.
18309 [POSIX] (_SC_PIPE): Likewise.
18310 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18311 [POSIX] (_SC_REGEXP): Likewise.
18312 [POSIX] (_SC_SHELL): Likewise.
18313 [POSIX] (_SC_SIGNALS): Likewise.
18314 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18315 [POSIX] (_SC_SPIN_LOCKS): Likewise.
18316 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18317 [POSIX] (_SC_USER_GROUPS): Likewise.
18318 [POSIX] (_SC_USER_GROUPS_R): Likewise.
18319 [POSIX] (_SC_STREAMS): Likewise.
18320 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18321 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18322 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18323 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18324 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18325 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18326 [POSIX] (_PC_FILESIZEBITS): Likewise.
18327 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18328 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18329 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18330 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18331 [POSIX] (uid_t): Likewise.
18332 [POSIX] (gid_t): Likewise.
18333 [POSIX] (off_t): Likewise.
18334 [POSIX] (pid_t): Likewise.
18335 [POSIX] (cuserid): Allow.
18336 (_SC_2_CHAR_TERM): Require constant.
18337 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18338 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18339 variable.
18340
18341 2015-05-20 Roland McGrath <roland@hack.frob.com>
18342
18343 * sysdeps/nacl/pthread-pids.h: New file.
18344 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18345 (create_thread): Use __nacl_get_tid to initialize PD->tid.
18346
18347 * nptl/pthread-pids.h: New file.
18348 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
18349 * nptl/nptl-init.c: Include <pthread-pids.h>.
18350 (__pthread_initialize_minimal_internal):
18351 Call __pthread_initialize_pids instead of set_tid_address syscall.
18352
18353 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
18354 * sysdeps/posix/usleep.c: ... here.
18355
18356 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18357
18358 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
18359 call_pselect6 object.
18360 [$(subdir) = io]: Remove call_sync_file_range object.
18361 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
18362 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
18363 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
18364 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
18365
18366 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
18367
18368 * math/s_cproj.c: Add include "math_private.h".
18369 * math/s_cprojf.c: Likewise.
18370 * math/s_cprojl.c: Likewise.
18371
18372 2015-05-19 Joseph Myers <joseph@codesourcery.com>
18373
18374 [BZ #18244]
18375 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
18376 high mantissa bit when testing whether P is a NaN.
18377 * math/libm-test.inc (remainder_test_data): Add more tests.
18378 (remquo_test_data): Likewise.
18379
18380 [BZ #18049]
18381 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
18382 below -32, return the argument, with underflow if subnormal.
18383 * math/auto-libm-test-in: Add more tests of atanh.
18384 * math/auto-libm-test-out: Regenerated.
18385
18386 2015-05-19 Roland McGrath <roland@hack.frob.com>
18387
18388 [BZ #18434]
18389 * nptl/tst-sem15.c: New file.
18390 * nptl/Makefile (tests): Add it.
18391 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
18392 s/<</>>/ to fix typo in EOVERFLOW check.
18393 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
18394
18395 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18396
18397 * manual/strings.texi (envz_remove): Fix typo in safety
18398 annotations.
18399
18400 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
18401 Steve Ellcey <sellcey@imgtec.com>
18402
18403 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
18404 in order to avoid strict alias warnings.
18405 (iruserok_af): Ditto for ra.
18406
18407 2015-05-19 James Lemke <jwlemke@codesourcery.com>
18408
18409 [BZ #17581]
18410 * malloc/hooks.c
18411 (magicbyte): Convert to a function and avoid returning 0x01.
18412 (mem2mem_check): Avoid using a length byte equal to the magic byte.
18413 (mem2chunk_check): Fix unsigned comparisons to zero.
18414 Hoist defs of sz and magic.
18415
18416 2015-05-19 Richard Henderson <rth@redhat.com>
18417
18418 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
18419
18420 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18421
18422 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18423
18424 [BZ #16159]
18425 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
18426 * malloc/arena.c (arena_lock): Check if arena is corrupt.
18427 (reused_arena): Find a non-corrupt arena.
18428 (heap_trim): Pass arena to unlink.
18429 * malloc/hooks.c (malloc_check_get_size): Pass arena to
18430 malloc_printerr.
18431 (top_check): Likewise.
18432 (free_check): Likewise.
18433 (realloc_check): Likewise.
18434 * malloc/malloc.c (malloc_printerr): Add arena argument.
18435 (unlink): Likewise.
18436 (munmap_chunk): Adjust.
18437 (ARENA_CORRUPTION_BIT): New macro.
18438 (arena_is_corrupt): Likewise.
18439 (set_arena_corrupt): Likewise.
18440 (sysmalloc): Use mmap if there are no usable arenas.
18441 (_int_malloc): Likewise.
18442 (__libc_malloc): Don't fail if arena_get returns NULL.
18443 (_mid_memalign): Likewise.
18444 (__libc_calloc): Likewise.
18445 (__libc_realloc): Adjust for additional argument to
18446 malloc_printerr.
18447 (_int_free): Likewise.
18448 (malloc_consolidate): Likewise.
18449 (_int_realloc): Likewise.
18450 (_int_memalign): Don't touch corrupt arenas.
18451 * malloc/tst-malloc-backtrace.c: New test case.
18452
18453 * Makefile (summarize-tests): Fix return value on success.
18454
18455 * manual/string.texi (Envz Functions): Add envz_remove.
18456
18457 2015-05-18 Roland McGrath <roland@hack.frob.com>
18458
18459 * sysdeps/posix/opendir.c: Include <stdbool.h>.
18460 (invalid_name): New function, broken out of ...
18461 (__opendirat): ... here. Call it.
18462 (need_isdir_precheck): New function, broken out of ...
18463 (__opendirat): ... here. Call it.
18464 Use __fxstatat64, not __xstatat64.
18465 (opendir_oflags): New function, broken out of ...
18466 (__opendirat): ... here. Call it.
18467 (opendir_tail): New function, broken out of ...
18468 (__opendirat): ... here. Call it.
18469 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
18470 opendir_tail, rather than punting to __opendirat.
18471 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
18472
18473 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18474
18475 * .gitignore: Ignore generated *.pyc.
18476
18477 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
18478
18479 * include/stdio.h: Define __need_wint_t.
18480 * test-skeleton.c: Avoid `for' loop initial declaration.
18481 * nptl/tst-initializers1.c: Use test-skeleton.c.
18482
18483 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18484
18485 [BZ #18418]
18486 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
18487
18488 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18489
18490 [BZ #16352]
18491 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
18492 (__ieee754_atanh): Force underflow exception for results with
18493 small absolute value.
18494 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
18495 (__ieee754_atanhf): Force underflow exception for results with
18496 small absolute value.
18497 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
18498 (__ieee754_atanh): Force underflow exception for results with
18499 small absolute value.
18500 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
18501 (__ieee754_atanhf): Force underflow exception for results with
18502 small absolute value.
18503 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
18504 (__ieee754_atanhl): Force underflow exception for results with
18505 small absolute value.
18506 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
18507 (__ieee754_atanhl): Force underflow exception for results with
18508 small absolute value.
18509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
18510 (__ieee754_atanhl): Force underflow exception for results with
18511 small absolute value.
18512 * math/auto-libm-test-in: Do not allow missing underflow
18513 exceptions from atanh.
18514 * math/auto-libm-test-out: Regenerated.
18515
18516 [BZ #18221]
18517 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
18518 2**-28 as threshold for returning x or +/- 1/x.
18519 * math/auto-libm-test-in: Add more tests of tan.
18520 * math/auto-libm-test-out: Regenerated.
18521
18522 [BZ #18220]
18523 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18524 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
18525 * math/auto-libm-test-in: Add another test of lgamma.
18526 * math/auto-libm-test-out: Regenerated.
18527
18528 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
18529
18530 * stdio-common/printf_fp.c (___printf_fp): Use abs.
18531 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
18532 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
18533 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
18534 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
18535 (ADD2A): Use fabs. (SUB2A): Use fabs.
18536 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
18537 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
18538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
18539 (log1): Use fabs. (my_log2): Use fabs.
18540 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
18541 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
18542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
18543 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
18544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
18545 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
18546 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
18547 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
18548 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
18549 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
18550 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
18551
18552 2015-05-15 Joseph Myers <joseph@codesourcery.com>
18553
18554 [BZ #18217]
18555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
18556 as threshold for returning 1 - x.
18557 * math/auto-libm-test-in: Add more tests of erfc.
18558 * math/auto-libm-test-out: Regenerated.
18559
18560 2015-05-14 Joseph Myers <joseph@codesourcery.com>
18561
18562 [BZ #18196]
18563 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
18564 threshold for large arguments.
18565 * math/auto-libm-test-in: Add another test of atan.
18566 * math/auto-libm-test-out: Regenerated.
18567
18568 [BZ #16339]
18569 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
18570 (__log1p): Force underflow exception for results with small
18571 absolute value.
18572 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
18573 (__log1pf): Force underflow exception for results with small
18574 absolute value.
18575 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
18576 (__log1p): Force underflow exception for results with small
18577 absolute value.
18578 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
18579 (__log1pf): Force underflow exception for results with small
18580 absolute value.
18581 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
18582 (__log1pl): Force underflow exception for results with small
18583 absolute value.
18584 * math/auto-libm-test-in: Do not allow missing underflow
18585 exceptions from log1p.
18586 * math/auto-libm-test-out: Regenerated.
18587
18588 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
18589 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18590
18591 [BZ #16704]
18592 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
18593
18594 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
18595
18596 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
18597 (libmvec): New variable.
18598 * configure.ac: Added option for mathvec build.
18599 * configure: Regenerated.
18600 * mathvec/Depend: New file.
18601 * mathvec/Makefile: New file.
18602 * shlib-versions: Added libmvec.
18603 * math/Makefile: Added rule for libm.so installation.
18604
18605 * bits/math-vector.h: New file.
18606 * bits/libm-simd-decl-stubs.h: New header.
18607 * math/Makefile (headers): Added new header
18608 libm-simd-decl-stubs.h.
18609 * math/math.h (__MATHCALL_VEC): New macro.
18610
18611 * math/gen-libm-have-vector-test.sh: Script generates series of macros
18612 for conditions in testing functions.
18613 * math/Makefile: Added call of libm-have-vector-test.sh.
18614 * math/libm-test.inc (HAVE_VECTOR): New macros.
18615
18616 * math/libm-test.inc: START refactored.
18617 * math/test-double.c (TEST_MATHVEC): Add define.
18618 * math/test-float.c: Likewise.
18619 * math/test-idouble.c: Likewise.
18620 * math/test-ifloat.c: Likewise.
18621 * math/test-ildoubl.c: Likewise.
18622 * math/test-ldouble.c: Likewise.
18623 * sysdeps/generic/math-tests-arch.h
18624 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
18625 architecture check.
18626
18627 * math/test-double.c (FUNC_TEST): New macro.
18628 * math/test-float.c: Likewise.
18629 * math/test-idouble.c: Likewise.
18630 * math/test-ifloat.c: Likewise.
18631 * math/test-ildoubl.c: Likewise.
18632 * math/test-ldouble.c: Likewise.
18633 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
18634
18635 2015-05-13 Roland McGrath <roland@hack.frob.com>
18636
18637 * sysdeps/nacl/fdopendir.c: New file.
18638
18639 * dirent/scandir-tail.c: New file.
18640 * dirent/scandir64-tail.c: New file.
18641 * dirent/Makefile (routines): Add them.
18642 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
18643 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
18644 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
18645 [!SCANDIR] (SCANDIR_TAIL): New macro.
18646 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
18647 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
18648 (SCANDIRAT): Macro removed.
18649 (SCANDIR_TAIL): New macro.
18650 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
18651 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18652 (SCANDIRAT): Just call __opendirat and __scandir_tail.
18653 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
18654 (READDIR): Macro removed.
18655 (SCANDIR_TAIL): New macro.
18656 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
18657 (SCANDIR_TAIL): New macro.
18658
18659 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
18660 * dirent/scandir-cancel.c: ... to this new file.
18661 * dirent/Makefile (routines): Add it.
18662 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
18663 * sysdeps/unix/sysv/linux/i386/scandir64.c
18664 (SKIP_SCANDIR_CANCEL): Macro removed.
18665 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
18666
18667 * dirent/tst-scandir.c: New file.
18668 * dirent/tst-scandir64.c: New file.
18669 * dirent/Makefile (tests): Add them.
18670
18671 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 [BZ #18409]
18674 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
18675
18676 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
18677
18678 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
18679 list.
18680
18681 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
18682
18683 * benchtests/bench-strcoll.c: New benchmark.
18684 * benchtests/Makefile: Generate locales and run benchmark.
18685 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
18686 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
18687 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
18688 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
18689 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
18690 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
18691 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
18692 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
18693 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
18694 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
18695 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
18696 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
18697 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
18698 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
18699 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
18700 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
18701 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
18702 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
18703 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
18704 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
18705 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
18706 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
18707 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
18708 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
18709
18710 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
18711
18712 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
18713 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18714
18715 2015-05-12 Roland McGrath <roland@hack.frob.com>
18716
18717 * posix/uname-values.h: New file.
18718 * posix/uname.c: Include that instead of <config-name.h>.
18719 * sysdeps/nacl/uname-values.h: New file.
18720 * sysdeps/arm/nacl/uname-values.h: New file.
18721
18722 2015-05-12 Joseph Myers <joseph@codesourcery.com>
18723
18724 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
18725 splitting into fields.
18726
18727 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
18728
18729 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
18730 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
18731 * locale/localeinfo.h: Add enum collation_encoding_type.
18732 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
18733 * programs/ld-collate.c (collate_output): Add encoding type info.
18734 * string/strcoll_l.c (STRDIFF): New function.
18735 * (STRCOLL): Use STRDIFF to skip over equal prefix.
18736 * wcsmbs/wcscoll_l.c: Define STRDIFF.
18737
18738 2015-05-11 Joseph Myers <joseph@codesourcery.com>
18739
18740 [BZ #18397]
18741 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
18742 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
18743 <fpu_control.h> instead of <math/fpu_control.c>.
18744 * sysdeps/mips/mips32/fpu/Makefile: New file.
18745
18746 2015-05-11 Andreas Schwab <schwab@suse.de>
18747
18748 [BZ #18007]
18749 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
18750 nss_endgrent.
18751 (_nss_compat_endgrent): Call nss_endgrent.
18752 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
18753 nss_endpwent.
18754 (_nss_compat_endpwent): Call nss_endpwent.
18755 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
18756 needent, call nss_setspent only if non-zero.
18757 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
18758 (internal_endspent): Don't call nss_endspent.
18759 (_nss_compat_endspent): Call nss_endspent.
18760 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
18761 Remove. All uses removed.
18762 (internal_setent): Remove parameter stayopen, add parameter
18763 stream. Use it instead of global variable.
18764 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
18765 (internal_endent, internal_getent): Add parameter stream. Use it
18766 instead of global variable.
18767 (CONCAT(_nss_files_end,ENTNAME))
18768 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
18769 (_nss_files_get##name##_r): Pass local stream. Remove locking.
18770 * nss/nss_files/files-alias.c (position, last_use): Remove. All
18771 uses removed.
18772 (internal_setent, internal_endent): Add parameter stream. Use it
18773 instead of global variable.
18774 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
18775 stream.
18776 (get_next_alias): Add parameter stream.
18777 (_nss_files_getaliasent_r): Pass global stream.
18778 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
18779 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
18780 (_nss_files_gethostbyname4_r): Pass local stream to
18781 internal_setent, internal_getent and internal_endent. Remove
18782 locking.
18783
18784 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18785
18786 * tst-strfmon1.c (tests): Update expected currency symbol.
18787
18788 2015-05-08 Roland McGrath <roland@hack.frob.com>
18789
18790 * sysdeps/nacl/gethostname.c: New file.
18791
18792 2015-05-08 Joseph Myers <joseph@codesourcery.com>
18793
18794 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
18795 and sinh.
18796 * math/auto-libm-test-out: Regenerated.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18799
18800 2015-05-08 Carlos O'Donell <carlos@redhat.com>
18801
18802 [BZ #18125]
18803 * stdlib/tst-setcontext3.c: New file.
18804 * stdlib/tst-setcontext3.sh: New file.
18805 * stdlib/Makefile (tests): Add tst-setcontext3.
18806 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
18807 to verify test program created output file.
18808 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18809 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
18810 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
18811 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
18812
18813 2015-05-06 Roland McGrath <roland@hack.frob.com>
18814
18815 [BZ #18383]
18816 * elf/tst-tlsalign.c: New file.
18817 * elf/tst-tlsalign-static.c: New file.
18818 * elf/tst-tlsalign-lib.c: New file.
18819 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
18820 (tests-static): Add tst-tlsalign-static.
18821 (modules-names): Add tst-tlsalign-lib.
18822 (test-xfail-tst-tlsalign): New variable.
18823 (test-xfail-tst-tlsalign-static): New variable.
18824
18825 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
18826 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
18827
18828 2015-05-06 Joseph Myers <joseph@codesourcery.com>
18829
18830 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18831 csqrt, erfc, sin and sincos.
18832 * math/auto-libm-test-out: Regenerated.
18833 * sysdeps/i386/fpu/libm-test-ulps: Update.
18834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18835
18836 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
18837
18838 * sysdeps/aarch64/libm-test-ulps: Update.
18839
18840 2015-05-05 Joseph Myers <joseph@codesourcery.com>
18841
18842 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18843 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18844 * math/auto-libm-test-out: Regenerated.
18845 * sysdeps/i386/fpu/libm-test-ulps: Update.
18846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847
18848 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
18849
18850 [BZ #18265]
18851 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18852 (wcsncpy): Likewise.
18853
18854 2015-05-05 Florian Weimer <fweimer@redhat.com>
18855
18856 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18857 Assume __ASSUME_FALLOCATE is always true.
18858 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18859 (__posix_fallocate64_l64): Likweise.
18860 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18861 (posix_fallocate): Likewise.
18862 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18863 (__posix_fallocate64_l64): Likewise.
18864 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18865 [!__ASSUME_FALLOCATE]: Add comment.
18866
18867 2015-05-05 Florian Weimer <fweimer@redhat.com>
18868
18869 * sysdeps/unix/sysv/linux/i386/Makefile
18870 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18871 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18872 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18873 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18874 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18875 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18876 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18877
18878 2015-05-02 Joseph Myers <joseph@codesourcery.com>
18879
18880 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18881 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18882 tgamma.
18883 * math/auto-libm-test-out: Regenerated.
18884 * sysdeps/i386/fpu/libm-test-ulps: Update.
18885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18886
18887 2015-05-01 Joseph Myers <joseph@codesourcery.com>
18888
18889 * math/auto-libm-test-in: Add more tests of tgamma.
18890 * math/auto-libm-test-out: Regenerated.
18891 * sysdeps/i386/fpu/libm-test-ulps: Update.
18892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18893
18894 * math/auto-libm-test-in: Add more tests of tanh.
18895 * math/auto-libm-test-out: Regenerated.
18896 * sysdeps/i386/fpu/libm-test-ulps: Update.
18897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18898
18899 * math/auto-libm-test-in: Add more tests of tan.
18900 * math/auto-libm-test-out: Regenerated.
18901 * sysdeps/i386/fpu/libm-test-ulps: Update.
18902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18903
18904 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18905 * math/auto-libm-test-out: Regenerated.
18906 * sysdeps/i386/fpu/libm-test-ulps: Update.
18907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18908
18909 * math/auto-libm-test-in: Add another test of pow.
18910 * math/auto-libm-test-out: Regenerated.
18911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18912
18913 * math/auto-libm-test-in: Add more tests of lgamma.
18914 * math/auto-libm-test-out: Regenerated.
18915 * sysdeps/i386/fpu/libm-test-ulps: Update.
18916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18917
18918 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18919 log1p.
18920 * math/auto-libm-test-out: Regenerated.
18921 * sysdeps/i386/fpu/libm-test-ulps: Update.
18922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923
18924 2015-05-01 Mark Wielaard <mjw@redhat.com>
18925
18926 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18927 Elf64_Chdr structs and ELFCOMPRESS constants.
18928
18929 2015-05-01 Joseph Myers <joseph@codesourcery.com>
18930
18931 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18932 expm1.
18933 * math/auto-libm-test-out: Regenerated.
18934 * sysdeps/i386/fpu/libm-test-ulps: Update.
18935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18936
18937 * math/auto-libm-test-in: Add more tests of erf and erfc.
18938 * math/auto-libm-test-out: Regenerated.
18939 * sysdeps/i386/fpu/libm-test-ulps: Update.
18940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18941
18942 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
18943
18944 * config.h.in (HAVE_AARCH64_BE): Add.
18945
18946 2015-04-30 Joseph Myers <joseph@codesourcery.com>
18947
18948 * math/auto-libm-test-in: Add more tests of csqrt.
18949 * math/auto-libm-test-out: Regenerated.
18950 * sysdeps/i386/fpu/libm-test-ulps: Update.
18951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18952
18953 * math/auto-libm-test-in: Add more tests of cosh and sinh.
18954 * math/auto-libm-test-out: Regenerated.
18955 * sysdeps/i386/fpu/libm-test-ulps: Update.
18956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18957
18958 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18959
18960 2015-04-29 Roland McGrath <roland@hack.frob.com>
18961
18962 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18963 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18964
18965 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18966 (euidaccess, eaccess): Define as weak aliases.
18967
18968 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18969 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
18970 but __suseconds_t is often 'long int' so some sources assume that
18971 type is being used (e.g. they use %ld to print tv_usec).
18972
18973 2015-04-29 Florian Weimer <fweimer@redhat.com>
18974
18975 [BZ #18007]
18976 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18977 (CVE-2014-8121)
18978 * nss/tst-nss-getpwent.c: New file.
18979 * nss/Makefile (tests): Add new test.
18980
18981 2015-04-28 Joseph Myers <joseph@codesourcery.com>
18982
18983 [BZ #18346]
18984 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18985 exponents less than 48 as cases where high part of mantissa needs
18986 examining to determine whether argument is integral.
18987 * math/libm-test.inc (round_test_data): Add more tests.
18988
18989 2015-04-28 Mark Wielaard <mjw@redhat.com>
18990
18991 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18992
18993 2015-04-27 David S. Miller <davem@davemloft.net>
18994
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18996 __tls_get_addr.
18997 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18998
18999 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
19000
19001 [BZ#18333]
19002 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19003
19004 2015-04-27 Florian Weimer <fweimer@redhat.com>
19005
19006 [BZ#18333]
19007 * time/tzset.c (parse_tzname): Return error on memory allocation
19008 failure.
19009 * test-skeleton.c (struct temp_name_list): Change type of name
19010 member to non-const.
19011 (add_temp_file): Create a copy of the file name.
19012 (delete_temp_files): Deallocate memory.
19013 (create_temp_file): Add comment.
19014
19015 2015-04-24 Florian Weimer <fweimer@redhat.com>
19016
19017 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19018 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19019
19020 2015-04-24 Roland McGrath <roland@hack.frob.com>
19021
19022 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19023 * sysdeps/arm/configure: Regenerated.
19024
19025 2015-04-24 Florian Weimer <fweimer@redhat.com>
19026
19027 [BZ #17715]
19028 * time/tzfile.c (__tzfile_read): Check for large values of
19029 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
19030 * time/tzset.c (__tzstring_len): New function, based on the old
19031 __tzstring function.
19032 (__tzstring): Call __tzstring_len.
19033 (parse_tzname): New helper function extracted from
19034 __tzset_parse_tz. Call __tzstring_len, without making a copy of
19035 the input string.
19036 (parse_offset): New helper function extracted from
19037 __tzset_parse_tz. Replace switch with fallthrough with
19038 initialization before sscanf.
19039 (parse_rule): Likewise.
19040 (__tzset_parse_tz): Rewrite using the new helper functions. Use
19041 new-style function definition.
19042 * timezone/Makefile (tests): Add tst-tzset.
19043 (tst-tzset.out): Dependencies on time zone files.
19044 (tst-tzset-ENV): Set TZDIR.
19045 (testdata/XT%): Copy crafted time zone files.
19046 * timezone/README: Mention crafted time zone files.
19047 * timezone/testdata/XT1, timezone/testdata/XT2,
19048 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19049 files.
19050 * timezone/tst-tzset.c: New test.
19051
19052 2015-04-24 Florian Weimer <fweimer@redhat.com>
19053
19054 * Makeconfig (+gccwarn): Remove -Winline.
19055
19056 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19057
19058 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19059
19060 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19061
19062 * NEWS: Mention sysconf() cache information support for s390.
19063 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19064
19065 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
19066
19067 * math/k_casinh.c (__kernel_casinh): Use __copysign.
19068 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19069 (__nearbyint): Likewise.
19070 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19071 (copysignl): Likewise.
19072
19073 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
19074
19075 [BZ #18287]
19076 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19077 based on padding. (CVE-2015-1781)
19078
19079 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19080
19081 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19082 libc-vdso.h.
19083 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19084 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19085 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19086 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19087 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19088 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19089 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19090 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19091 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19094 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19095 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19096 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19097 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19098 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19099 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19101 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19102 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19103 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19104 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19105 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19106
19107 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
19108
19109 * stdlib/setenv.c (__add_to_environ):
19110 Dump core quickly if setenv (..., NULL, ...) is called.
19111 This time, do it the right way, and pacify GCC with a pragma.
19112
19113 2015-04-17 Roland McGrath <roland@hack.frob.com>
19114
19115 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19116 IMAP->l_prev cannot be null, and #if out the code for the contrary
19117 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19118 believe that NS (&_dl_ns[NSID]) could point outside the array.
19119
19120 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19121 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19122 before using NSID as an index.
19123
19124 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
19125
19126 [BZ #17825]
19127 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19128 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19129 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19130
19131 2015-04-17 Roland McGrath <roland@hack.frob.com>
19132
19133 Add preliminary port to Google Native Client on ARM.
19134 * abi-tags (.*-.*-nacl.*): New entry.
19135 * sysdeps/arm/nacl: New directory.
19136 * sysdeps/nacl: New directory.
19137
19138 2015-04-16 David S. Miller <davem@davemloft.net>
19139
19140 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19141 lowlevellock-futex.h
19142
19143 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
19144
19145 * sysdeps/tile/configure.ac: New file.
19146 * sysdeps/tile/configure: Regenerated.
19147
19148 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19149
19150 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
19151 conditionals for weak_alias and libc_hidden_weak.
19152 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19153 libc_hidden_weak and weak_alias.
19154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19155 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19156 and weak_alias for static one.
19157
19158 2015-04-15 David S. Miller <davem@davemloft.net>
19159
19160 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19161
19162 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19163
19164 [BZ #18206]
19165 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19166 Use signed comparision instead of substraction to avoid
19167 overflow bug.
19168 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19169 Take the sign of ret.
19170 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19171 Do not expect precise return values. Only the sign matters.
19172 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19173 * wcsmbs/test-wcsncmp.c: New File.
19174 * string/test-strncmp.c: Add wcsncmp support.
19175
19176 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19177
19178 [BZ #6792]
19179 * math/w_log1p.c: New file.
19180 * math/w_log1pf.c: Likewise.
19181 * math/w_log1pl.c: Likewise.
19182 * math/Makefile (libm-calls): Add w_log1p.
19183 * math/s_log1pl.c (log1pl): Remove weak_alias.
19184 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19185 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19186 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19187 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19188 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19189 [NO_LONG_DOUBLE] (log1pl): Likewise.
19190 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19191 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19192 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19193 (log1p): Remove long_double_symbol.
19194 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19195 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19196 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19197 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19198 remove weak_alias for corresponding log1p function.
19199 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19200 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19201 * sysdeps/ia64/fpu/w_log1p.c: New file.
19202 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19203 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19204 * math/libm-test.inc (log1p_test_data): Add errno expectations.
19205
19206 2015-04-10 Joseph Myers <joseph@codesourcery.com>
19207
19208 [BZ #18247]
19209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19210 decimal exponent by 1.
19211 * stdlib/tst-strtod-round-data: Add more tests.
19212 * stdlib/tst-strtod-round.c (tests): Regenerated.
19213
19214 2015-04-09 Joseph Myers <joseph@codesourcery.com>
19215
19216 * math/auto-libm-test-in: Add more tests of clog and clog10.
19217 * math/auto-libm-test-out: Regenerated.
19218 * sysdeps/i386/fpu/libm-test-ulps: Update.
19219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19220
19221 2015-04-09 Roland McGrath <roland@hack.frob.com>
19222
19223 * Makeconfig (module-cppflags): Exclude all .v.i files.
19224 (skip-module-cppflags): Variable removed.
19225
19226 * configure.ac (libc_config_ok): Initialize before reading
19227 preconfigure scripts, not after.
19228 * configure: Regenerated.
19229
19230 * test-skeleton.c (TIMEOUT): Move #define to top level.
19231 (main): Grok environment variable TEST_DIRECT. If set, print
19232 test expectation details into that file and then behave as if
19233 given --direct.
19234
19235 2015-04-09 Florian Weimer <fweimer@redhat.com>
19236
19237 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19238 warning on 32-bit.
19239
19240 2015-04-08 David S. Miller <davem@davemloft.net>
19241
19242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19243
19244 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19245
19246 * math/auto-libm-test-in: Add more tests of atanh.
19247 * math/auto-libm-test-out: Regenerated.
19248 * sysdeps/i386/fpu/libm-test-ulps: Update.
19249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19250
19251 * math/auto-libm-test-in: Add more tests of atan.
19252 * math/auto-libm-test-out: Regenerated.
19253 * sysdeps/i386/fpu/libm-test-ulps: Update.
19254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19255
19256 2015-04-08 Florian Weimer <fweimer@redhat.com>
19257
19258 * elf/pldd.c (main): Rewrite to use struct
19259 scratch_buffer instead of extend_alloca.
19260 * elf/pldd-xx.c (find_maps): Likewise.
19261 * grp/initgroups.c: Include <scratch_buffer.h> instead of
19262 <alloca.h>.
19263 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19264 scratch_buffer instead of extend_alloca.
19265 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19266 grp/compat-initgroups.c.
19267 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19268 Rewrite to use struct scratch_buffer instead of extend_alloca.
19269 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19270 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19271
19272 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19273
19274 * math/auto-libm-test-in: Add more tests of cbrt.
19275 * math/auto-libm-test-out: Regenerated.
19276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19277
19278 * math/auto-libm-test-in: Add more tests of cabs.
19279 * math/auto-libm-test-out: Regenerated.
19280 * sysdeps/i386/fpu/libm-test-ulps: Update.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19282
19283 [BZ #18210]
19284 [BZ #18211]
19285 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19286 (__ieee754_atan2): Set FE_TONEAREST mode for internal
19287 computations.
19288 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19289 clog10.
19290 * math/auto-libm-test-out: Regenerated.
19291 * sysdeps/i386/fpu/libm-test-ulps: Update.
19292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293
19294 [BZ #18197]
19295 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19296 (atan): Set FE_TONEAREST mode for internal computations.
19297 * math/auto-libm-test-in: Add more tests of atan.
19298 * math/auto-libm-test-out: Regenerated.
19299
19300 2015-04-07 James Cowgill <james410@cowgill.org.uk>
19301
19302 [BZ #17930]
19303 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19304
19305 2015-04-07 Florian Weimer <fweimer@redhat.com>
19306
19307 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19308
19309 2015-04-07 Florian Weimer <fweimer@redhat.com>
19310
19311 * include/scratch_buffer.h: New file.
19312 * malloc/scratch_buffer_grow.c: Likewise.
19313 * malloc/scratch_buffer_grow_preserve.c: Likewise.
19314 * malloc/scratch_buffer_set_array_size.c: Likewise.
19315 * malloc/tst-scratch_buffer.c: Likewise.
19316 * malloc/Makefile (routines): Add scratch_buffer_grow.
19317 (tests): Add test case.
19318 * malloc/Versions (GLIBC_PRIVATE): Export
19319 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19320 __libc_scratch_buffer_set_array_size.
19321
19322 2015-04-06 Richard Henderson <rth@redhat.com>
19323
19324 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19325 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19326
19327 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19328 unsigned int before printing.
19329
19330 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19331
19332 [BZ #17596]
19333 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19334 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19335
19336 2015-04-02 Florian Weimer <fweimer@redhat.com>
19337
19338 * include/libc-internal.h (libc_max_align_t): Define.
19339
19340 2015-04-02 Andreas Schwab <schwab@suse.de>
19341
19342 [BZ #16850]
19343 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19344
19345 2015-04-02 Mel Gorman <mgorman@suse.de>
19346
19347 [BZ #17195]
19348 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
19349 as well as the main arena.
19350
19351 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19352
19353 [BZ #18185]
19354 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
19355 sharing L2 cache to 2 for Silvermont/Knights Landing.
19356
19357 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19358
19359 [BZ #17711]
19360 * config.make.in (have-protected-data): New.
19361 * configure.ac: Check linker support for protected data symbol.
19362 * configure: Regenerated.
19363 * elf/Makefile (modules-names): Add tst-protected1moda and
19364 tst-protected1modb if $(have-protected-data) is yes.
19365 (tests): Add tst-protected1a and tst-protected1b if
19366 $(have-protected-data) is yes.
19367 ($(objpfx)tst-protected1a): New.
19368 ($(objpfx)tst-protected1b): Likewise.
19369 (tst-protected1modb.so-no-z-defs): Likewise.
19370 * elf/tst-protected1a.c: New file.
19371 * elf/tst-protected1b.c: Likewise.
19372 * elf/tst-protected1mod.h: Likewise.
19373 * elf/tst-protected1moda.c: Likewise.
19374 * elf/tst-protected1modb.c: Likewise.
19375
19376 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
19377
19378 [BZ #17711]
19379 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
19380 indicates it is called from do_lookup_x on relocation against
19381 protected data, skip the data definion in the executable from
19382 copy reloc.
19383 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
19384 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
19385 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
19386 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
19387 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
19388 otherwise to 0.
19389 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19390 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
19391 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
19392 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
19393 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
19394 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
19395
19396 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
19397
19398 * sysdeps/nptl/pthread.h: Remove duplicate definition of
19399 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
19400
19401 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
19402
19403 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
19404 THREAD_SETMEM_NC.
19405 * sysdeps/x86_64/nptl/tls.h: Ditto.
19406
19407 2015-03-27 Roland McGrath <roland@hack.frob.com>
19408
19409 * dlfcn/tststatic.c (main): Converted to ...
19410 (do_test): ... this.
19411 (TEST_FUNCTION): New macro.
19412 Include test-skeleton.c.
19413
19414 2015-03-26 Alan Modra <amodra@gmail.com>
19415
19416 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
19417 Don't segfault if ifunc resolver returns a NULL. Do set plt to
19418 zero for undefined weak.
19419 (elf_machine_plt_conflict): Similarly.
19420
19421 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19422
19423 * math/auto-libm-test-in: Add more tests of acosh, asinh and
19424 atanh.
19425 * math/auto-libm-test-out: Regenerated.
19426 * sysdeps/i386/fpu/libm-test-ulps: Update.
19427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19428
19429 * math/auto-libm-test-in: Add another test of asin.
19430 * math/auto-libm-test-out: Regenerated.
19431 * sysdeps/i386/fpu/libm-test-ulps: Update.
19432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19433
19434 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
19435 Remove macro.
19436 (LLL_EBX_REG): Likewise.
19437 (LLL_ENTER_KERNEL): Likewise.
19438
19439 * math/auto-libm-test-in: Add more tests of asin.
19440 * math/auto-libm-test-out: Regenerated.
19441 * sysdeps/i386/fpu/libm-test-ulps: Update.
19442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19443
19444 [BZ #18138]
19445 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
19446 libc_do_syscall_args): New structure.
19447 (INTERNAL_SYSCALL_MAIN_0): New macro.
19448 (INTERNAL_SYSCALL_MAIN_1): Likewise.
19449 (INTERNAL_SYSCALL_MAIN_2): Likewise.
19450 (INTERNAL_SYSCALL_MAIN_3): Likewise.
19451 (INTERNAL_SYSCALL_MAIN_4): Likewise.
19452 (INTERNAL_SYSCALL_MAIN_5): Likewise.
19453 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
19454 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
19455 Replace conditional definitions by conditional definitions of ....
19456 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
19457 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
19458 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
19459 (libpthread-sysdep_routines): Add libc-do-syscall.
19460 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
19461 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
19462 to __NR_futex not 240.
19463
19464 2015-03-25 Alan Modra <amodra@gmail.com>
19465
19466 * NEWS: Advertise TLS optimization.
19467 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
19468 (DT_PPC_NUM): Increment.
19469 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
19470 (CHECK_STATIC_TLS): Use here.
19471 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
19472 TLS descriptors.
19473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19474 * sysdeps/powerpc/dl-tls.c: New file.
19475 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
19476 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
19477 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
19478 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
19482
19483 2015-03-25 Alan Modra <amodra@gmail.com>
19484
19485 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
19486 for overlapping .opd entries" to "support...".
19487 * sysdeps/powerpc/powerpc64/configure: Regenerate
19488
19489 2015-03-25 Joseph Myers <joseph@codesourcery.com>
19490
19491 * math/auto-libm-test-in: Add more tests of acos.
19492 * math/auto-libm-test-out: Regenerated.
19493 * sysdeps/i386/fpu/libm-test-ulps: Update.
19494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19495
19496 * math/auto-libm-test-in: Add more tests of expm1.
19497 * math/auto-libm-test-out: Regenerated.
19498 * sysdeps/i386/fpu/libm-test-ulps: Update.
19499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500
19501 2015-03-24 Joseph Myers <joseph@codesourcery.com>
19502
19503 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19504 * math/auto-libm-test-out: Regenerated.
19505 * sysdeps/i386/fpu/libm-test-ulps: Update.
19506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19507
19508 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19510
19511 * math/auto-libm-test-in: Add more tests of log2.
19512 * math/auto-libm-test-out: Regenerated.
19513 * sysdeps/i386/fpu/libm-test-ulps: Update.
19514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19515
19516 2015-03-23 Roland McGrath <roland@hack.frob.com>
19517
19518 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
19519 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
19520 _IO_IS_APPENDING bit in READ_WRITE instead.
19521
19522 2015-03-23 Florian Weimer <fweimer@redhat.com>
19523
19524 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19525 (__determine_cpumask_size): Replace extend_alloca with a
19526 variable-length array. Do not treat res == 0 as an error.
19527
19528 2015-03-23 Florian Weimer <fweimer@redhat.com>
19529
19530 [BZ #18100]
19531 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
19532 and integer overflow.
19533 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
19534 (main): Add integer overflow tests.
19535 * manual/pattern.texi (Calling Wordexp): Document additional use
19536 for WRDE_SYNTAX.
19537
19538 2015-03-23 Alan Modra <amodra@gmail.com>
19539
19540 * config.h.in: Remove HAVE_ASM_PPC_REL16.
19541 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
19542 and false branch of conditional.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19544 Likewise.
19545
19546 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
19547
19548 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
19549 libc-modules.h
19550 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
19551 unused declaration of _hurd_intr_rpc_msg_in_trap.
19552 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
19553 defined instead of whether it is non-zero.
19554 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
19555 input constraint instead of both input and output constraint. Use ecx
19556 clobber instead of %ecx.
19557 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
19558 mutex_unlock): Use a statement expression instead of an expression list.
19559 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
19560 type to vm_size_t instead of vm_address_t.
19561 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
19562 defined instead of whether it is non-zero.
19563 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
19564 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
19565 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
19566 comparisons with mapaddr.
19567 * nscd/nscd-client.h: Include <time.h>.
19568 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
19569 9th parameter to __vm_region instead of int.
19570 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
19571 * scripts/check-local-headers.sh (exclude): Add device/,
19572 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
19573 cthreads.h.
19574
19575 2015-03-19 Roland McGrath <roland@hack.frob.com>
19576
19577 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
19578 to account for alignment padding.
19579 * sysdeps/arm/memmove.S: Likewise.
19580
19581 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
19582
19583 * sysdeps/unix/sysv/linux/generic/README: New file.
19584
19585 2015-03-18 Joseph Myers <joseph@codesourcery.com>
19586
19587 [BZ #18138]
19588 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
19589 (futex_abstimed_wait)
19590 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
19591 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
19592 of lll_futex_timed_wait.
19593
19594 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
19595
19596 [BZ #17542]
19597 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
19598
19599 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
19600
19601 [BZ #17090]
19602 [BZ #17620]
19603 [BZ #17621]
19604 [BZ #17628]
19605 * NEWS: Update.
19606 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
19607 entries with Static TLS too. Skip entries past the end of the
19608 allocated DTV, from Alan Modra.
19609 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
19610 Static TLS DTV entry set up from...
19611 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19612 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
19613 * nptl/allocatestack.c (init_one_static_tls): ... and here...
19614 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
19615 for Static TLS.
19616 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
19617 that the slot we find is associated with the given map before
19618 using its generation count.
19619 * nptl_db/db_info.c: Include ldsodefs.h.
19620 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
19621 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
19622 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
19623 (link_map::l_tls_offset): New struct field.
19624 (dtv_t::counter): Likewise.
19625 (rtld_global): New struct.
19626 (_rtld_global): New rtld variable.
19627 (dl_tls_dtv_slotinfo_list): New rtld global field.
19628 (dtv_slotinfo_list): New struct.
19629 (dtv_slotinfo): Likewise.
19630 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
19631 (td_lookup): Rename to...
19632 (td_mod_lookup): ... this. Use new mod parameter instead of
19633 LIBPTHREAD_SO.
19634 * nptl_db/td_thr_tlsbase.c: Include link.h.
19635 (dtv_slotinfo_list, dtv_slotinfo): New functions.
19636 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
19637 addresses even if the DTV is out of date or missing them.
19638 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
19639 index zero-length arrays.
19640 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
19641 (td_lookup): Make it a macro implemented in terms of...
19642 (td_mod_lookup): ... this declaration.
19643 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
19644 (DB_MAIN_VARIABLE): Likewise.
19645
19646 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
19647
19648 [BZ #18134]
19649 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19650
19651 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
19652
19653 * stdlib/setenv.c (__add_to_environ): Revert previous change.
19654
19655 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
19656
19657 [BZ #18128]
19658 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
19659 (atomic_add, atomic_increment_and_test)
19660 (atomic_decrement_and_test): Fix 64-bit arithmetic.
19661
19662 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
19663
19664 * stdlib/setenv.c (__add_to_environ):
19665 Dump core quickly if setenv (..., NULL, ...) is called.
19666
19667 2015-03-13 Roland McGrath <roland@hack.frob.com>
19668
19669 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
19670 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
19671 all the necessary asm magic in one place.
19672 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
19673 using those.
19674
19675 2015-03-13 Carlos O'Donell <carlos@redhat.com>
19676
19677 [BZ #14906]
19678 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
19679 traced file mtime. Use consistent log message.
19680 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
19681 (register_traced_file): Call install_watches. Always set mtime.
19682 (invalidate_cache): Iterate over all trace files. Call install_watches.
19683 (inotify_check_files): Don't inline. Handle watching parent
19684 directories and configuration file movement in and out.
19685 (handle_inotify_events): New function.
19686 (main_loop_poll): Call handle_inotify_events.
19687 (main_loop_epoll): Likewise.
19688 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
19689 (struct traced_file): Use array of inotify fds. Add parent directory,
19690 and basename.
19691 (struct database_dyn): Remove unused file_mtime.
19692 (init_traced_file): New inline function.
19693 (define_traced_file): New macro.
19694 * nss/nss_db/db-init.c: Use define_traced_file.
19695 (_nss_db_init): Use init_traced_file.
19696 * nss/nss_files/files-init.c: Use define_traced_file.
19697 (_nss_files_init): Use init_traced_file.
19698
19699 2015-03-12 Joseph Myers <joseph@codesourcery.com>
19700
19701 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
19702 [_LIBC]: Do not include <stdlib.h>.
19703 [!_LIBC] (abort): Remove declaration.
19704 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
19705 _FP_STATIC_ASSERT instead of conditionally calling abort.
19706 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
19707 (_FP_EXTEND_CNAN): Likewise.
19708 (FP_TRUNC): Likewise.
19709 (__FP_CLZ): Likewise.
19710 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
19711
19712 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
19713
19714 * manual/string.texi (XPG basename): Fix prototype.
19715
19716 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19717
19718 [BZ #18080]
19719 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
19720 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19721 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
19722 (__setcontext): Likewise.
19723 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
19724 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
19725 Call rt_sigprocmask syscall one time to set new signal mask
19726 and retrieve the current signal mask instead of two calls.
19727 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
19728 (__swapcontext): Likewise.
19729 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
19730 * stdlib/tst-setcontext2.c: New file.
19731
19732 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19733
19734 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19735
19736 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
19737
19738 [BZ #18093]
19739 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
19740 the wrong size.
19741
19742 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19743
19744 [BZ #18043]
19745 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
19746
19747 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
19748
19749 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
19750 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
19751 Remove define.
19752 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
19753 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
19754 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
19755 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
19756 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
19757 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
19758 define.
19759 * nptl_db/td_symbol_list.c (td_lookup): Remove
19760 HAVE_ASM_GLOBAL_DOT_NAME code.
19761 * sysdeps/powerpc/powerpc64/configure.ac: Remove
19762 HAVE_ASM_GLOBAL_DOT_NAME check.
19763 * sysdeps/powerpc/powerpc64/configure: Regenerate.
19764 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
19765 (DOT_LABEL): Remove define.
19766 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
19767 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
19768 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
19769 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
19770 (__TLS_GET_ADDR): Likewise.
19771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
19772 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
19773
19774 2015-03-11 Carlos O'Donell <carlos@redhat.com>
19775
19776 [BZ #18111]
19777 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
19778 (_FPU_SETCW): Initialize cw from fpsr before storing.
19779 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
19780 (fesetexceptflag): Rewrite using fpu_control.h.
19781 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
19782
19783 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
19784
19785 [BZ #18110]
19786 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
19787 asms.
19788 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19789
19790 2015-03-11 Joseph Myers <joseph@codesourcery.com>
19791
19792 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
19793 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
19794 abort.
19795 (_FP_FMA): Likewise.
19796 (_FP_DIV): Likewise.
19797
19798 2015-03-10 Roland McGrath <roland@hack.frob.com>
19799
19800 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
19801 with 0 in that case.
19802 * Makefile (summarize-tests): New canned sequence, factored out of
19803 commands for targets tests and xtests. Display summary lines that
19804 don't start with PASS: or XFAIL: rather than ones that do start with
19805 ERROR: or FAIL:. Make the commands fail if any summary lines fail
19806 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
19807 do start with ERROR: or FAIL:.
19808 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
19809 (except for [$(build-shared) = yes]).
19810 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
19811 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
19812 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
19813 * nptl/Makefile: Revert 2015-03-04 changes.
19814 [$(CXX) empty] (tests-unsupported): New variable.
19815 * debug/Makefile: Likewise.
19816
19817 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
19818 gnulib file. Replace __attribute with __attribute__ throughout.
19819
19820 2015-03-10 Carlos O'Donell <carlos@redhat.com>
19821
19822 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19823
19824 2015-03-10 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #18104]
19827 * math/auto-libm-test-in: Add another test of pow.
19828 * math/auto-libm-test-out: Regenerated.
19829
19830 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19831
19832 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19833 $(config-cflags-nofma).
19834
19835 2015-03-10 Joseph Myers <joseph@codesourcery.com>
19836
19837 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19838 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19839 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19840 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19841 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19842 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19843 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19844 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19845 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19846 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19847 Add comment on closing #endif.
19848
19849 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19850
19851 * posix/wordexp.c (CHAR_IN_SET): New macro.
19852 (parse_param): Use it.
19853
19854 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19855
19856 * sysdeps/powerpc/fpu/libm-test-ulps: update.
19857
19858 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19859
19860 [BZ #18043]
19861 * posix/wordexp.c (parse_param): Fix buffer overflow.
19862 * posix/wordexp-test.c (test_case): Add test case.
19863
19864 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19865
19866 [BZ #18042]
19867 * posix/wordexp.c (parse_backtick): Fix off-by-one.
19868 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19869
19870 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19871
19872 [BZ #18043]
19873 * posix/wordexp-test.c (test_case): Add test for BZ #18043
19874 (do_bz18043): Delete.
19875 (at_page_end): New.
19876 (testit): Refactor to have words at the edge of unreadable page.
19877
19878 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19879
19880 [BZ #16734]
19881 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19882 Cleanup read-only streams as well.
19883 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19884
19885 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19886
19887 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19888 <bits/libc-lockP.h>
19889
19890 2015-03-07 Joseph Myers <joseph@codesourcery.com>
19891
19892 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
19893 on [__KERNEL__].
19894 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19895 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19896 * soft-fp/op-common.h (_FP_DECL): Likewise.
19897
19898 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
19899
19900 * elf/ifuncdep2.c (global): Replace
19901 __attribute__((visibility("protected"))) with
19902 asm (".protected global").
19903 * elf/ifuncmod1.c (global): Likewise.
19904 * elf/ifuncmod5.c (global): Likewise.
19905
19906 2015-03-06 Joseph Myers <joseph@codesourcery.com>
19907
19908 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19909 <asm/sfp-machine.h> instead of <sfp-machine.h>.
19910
19911 2015-03-06 Roland McGrath <roland@hack.frob.com>
19912
19913 * manual/install.texi (Configuring and compiling):
19914 Document test-wrapper-env-only.
19915 * INSTALL: Regenerated.
19916
19917 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19918
19919 [BZ #18043]
19920 * posix/wordexp.c (parse_param): Fix buffer overflow.
19921 * posix/wordexp-test.c (do_bz18043): Add test case.
19922
19923 2015-03-06 Vincent Bernat <vincent@bernat.im>
19924
19925 * time/tst-strptime2.c (do_test): Ensure failing tests are
19926 reported correctly.
19927 * time/tst-strptime3.c (do_test): Likewise.
19928
19929 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
19930
19931 Fix aio_error thread-safety.
19932 * sysdeps/pthread/aio_error.c: New file
19933 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19934 synchronization.
19935
19936 2015-03-06 Florian Weimer <fweimer@redhat.com>
19937
19938 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19939 (group_number, vfprintf): Use it.
19940 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19941 (JUMP, REF): Use it.
19942 (WORK_BUFFER_SIZE): New enum constant.
19943 (process_arg, vfprintf): Use it.
19944
19945 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
19946
19947 * manual/errno.texi (Error Messages): Complete example function
19948 by adding missing #define.
19949 (program_invocation_name): Add statement indicating GNU
19950 extension and reference which header file declares the variable.
19951 (program_invocation_short_name): Likewise.
19952
19953 2015-03-06 Mike Frysinger <vapier@gentoo.org>
19954
19955 * manual/errno.texi (Error Messages): Delete strerror ISO C89
19956 compatibility note.
19957
19958 2015-03-05 Roland McGrath <roland@hack.frob.com>
19959
19960 * Makeconfig (test-wrapper-env-only): New variable.
19961 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19962 then use that with $(test-wrapper-env-only) rather than using
19963 $(test-wrapper-env) $(run-program-env) $($*-ENV).
19964
19965 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
19966
19967 [BZ #18082]
19968 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19969 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19970 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19971 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19972 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19973 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19974 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19975 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19976 Likewise.
19977 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19978 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19979 Likewise.
19980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19981 Likewise.
19982 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19983 Likewise.
19984 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19985 Likewise.
19986 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19987 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19988 Likewise.
19989 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19990 Likewise.
19991 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19992 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19993
19994 2015-03-04 Roland McGrath <roland@hack.frob.com>
19995
19996 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19997 (ETH_ALEN): New macro.
19998 (struct ether_addr): Use it for length of ether_addr_octet.
19999
20000 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20001 (setdb): Don't call __nss_configure_lookup for "rpc".
20002 (do_test): Don't call test_rpc.
20003 (output_rpcent, test_rpc): Functions moved ...
20004 * sunrpc/test-rpcent.c: ... to this new file.
20005 * sunrpc/Makefile (tests): Add it.
20006
20007 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20008 __xpg_sigpause.
20009 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20010 * nptl/tst-signal6.c: Likewise.
20011 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20012 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20013
20014 * configure.ac (libc_cv_cxx_link_ok): New check.
20015 Reset CXX to empty if it fails to link.
20016 * configure: Regenerated.
20017 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20018 bug-atexit3-lib only if $(CXX) is nonempty.
20019 * nptl/Makefile (tests): Likewise for tst-cancel24.
20020 (tests, tests-static): Likewise for tst-cancel24-static.
20021 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20022 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20023 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20024 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20025
20026 2015-03-04 Andreas Schwab <schwab@suse.de>
20027
20028 [BZ #17631]
20029 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20030 for non-GCC compilers.
20031 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20032 Likewise.
20033
20034 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20035
20036 [BZ #17776]
20037 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20038 integer before bitwise and assembly operations.
20039 (feclearexcept): Likewise.
20040 * math/test-fenvinline.c: New file.
20041 * math/Makefile: Add test-fenvinline test.
20042
20043 2015-03-03 Alan Modra <amodra@gmail.com>
20044
20045 [BZ #16512]
20046 * scripts/localplt.awk: Strip off symbol version.
20047 * NEWS: Mention bug fix.
20048
20049 2015-03-02 Roland McGrath <roland@hack.frob.com>
20050
20051 * sysdeps/pthread/timer_routines.c
20052 (timer_free_list, thread_free_list, thread_active_list): Make static.
20053
20054 2015-03-02 Joseph Myers <joseph@codesourcery.com>
20055
20056 [BZ #17779]
20057 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20058 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20059 Undefine.
20060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20061 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20062 Likewise.
20063 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20064 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20065 Likewise.
20066
20067 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20068
20069 [BZ #18036]
20070 * posix/fnmatch_loop.c (END): Detect invalid pattern.
20071 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20072
20073 2015-03-02 Andreas Schwab <schwab@suse.de>
20074
20075 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20076 variable name.
20077
20078 2015-03-02 Florian Weimer <fweimer@redhat.com>
20079
20080 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20081 Return error status.
20082
20083 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
20084
20085 [BZ #15969]
20086 * locale/findlocale.c (_nl_find_locale): Introduce const
20087 version of loc_name and drop unsafe type casts.
20088
20089 2015-02-27 Roland McGrath <roland@hack.frob.com>
20090
20091 * dlfcn/tststatic2.c (main): Converted to ...
20092 (do_test): ... this.
20093 (TEST_FUNCTION): New macro.
20094 Include test-skeleton.c.
20095
20096 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
20097
20098 [BZ #17711]
20099 * elf/Makefile (tests): Add vismain only if PIE is enabled.
20100 (tests-pie): Add vismain.
20101 (CFLAGS-vismain.c): New.
20102 * elf/vismain.c: Add comments for PIE requirement.
20103
20104 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20105
20106 [BZ #18046]
20107 [BZ #18047]
20108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20109 0x1p-56L as threshold for just returning the argument.
20110 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20111 0x1p-32L as threshold for just returning the argument.
20112 * math/auto-libm-test-in: Add more tests of atanh.
20113 * math/auto-libm-test-out: Regenerated.
20114 * sysdeps/i386/fpu/libm-test-ulps: Update.
20115 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20116
20117 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20118
20119 * string/bcopy.c (bcopy): Call memmove for performance.
20120
20121 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20122
20123 * string/bzero.c (__bzero): Call memset for performance.
20124
20125 2015-02-27 John David Anglin <dave.anglin@bell.net>
20126
20127 [BZ #18068]
20128 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20129 to 00100000.
20130
20131 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20132
20133 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20134
20135 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20136
20137 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20138 (__kernel_standard): Use CSTR macro when setting exc.name.
20139 * sysdeps/ieee754/Makefile [$(subdir) = math]
20140 (CFLAGS-k_standard.c): Remove variable.
20141
20142 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20143 setting p and q from "else if" to "else".
20144 (qzero): Likewise.
20145 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20146 (qone): Likewise.
20147 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20148 (qzerof): Likewise.
20149 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20150 (qonef): Likewise.
20151 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20152 (qzero): Likewise.
20153 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20154 (qone): Likewise.
20155
20156 [BZ #18038]
20157 [BZ #18039]
20158 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20159 return pi/2 for arguments below 0x1p-113L.
20160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20161 return pi/2 for arguments below 0x1p-106L.
20162 * math/auto-libm-test-in: Add more tests of acos.
20163 * math/auto-libm-test-out: Regenerated.
20164
20165 [BZ #16351]
20166 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20167 (MO): New macro.
20168 (__ieee754_asin): Force underflow exception for results with small
20169 absolute value.
20170 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20171 (MO): New macro.
20172 (__ieee754_asinf): Force underflow exception for results with
20173 small absolute value.
20174 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20175 (__ieee754_asin): Force underflow exception for results with small
20176 absolute value.
20177 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20178 (__ieee754_asinf): Force underflow exception for results with
20179 small absolute value.
20180 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20181 (__ieee754_asinl): Force underflow exception for results with
20182 small absolute value.
20183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20184 (__ieee754_asinl): Force underflow exception for results with
20185 small absolute value.
20186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20187 (__ieee754_asinl): Force underflow exception for results with
20188 small absolute value.
20189 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20190 Include <math.h>.
20191 * math/auto-libm-test-in: Do not mark underflow exceptions as
20192 possibly missing for bug 16351.
20193 * math/auto-libm-test-out: Regenerated.
20194
20195 [BZ #18030]
20196 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20197 of power of 2 down when low part has opposite sign.
20198 * math/libm-test.inc (logb_test_data): Add more tests.
20199
20200 2015-02-26 Andreas Schwab <schwab@suse.de>
20201
20202 [BZ #18032]
20203 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20204 over collating symbol inside a bracket expression. Minor cleanup.
20205 * posix/tst-fnmatch3.c (do_test): Add test case.
20206
20207 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20208
20209 [BZ #18029]
20210 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20211 Adjust exponent of power of 2 down when low part has opposite
20212 sign.
20213 * math/libm-test.inc (ilogb_test_data): Add more tests.
20214
20215 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
20216
20217 [BZ #15969]
20218 * locale/findlocale.c (_nl_find_locale): Fix constness error in
20219 the previous change.
20220
20221 [BZ #15969]
20222 * locale/findlocale.c (_nl_find_locale): Retry archive search
20223 after alias expansion.
20224
20225 2015-02-25 Roland McGrath <roland@hack.frob.com>
20226
20227 * iconv/tst-iconv3.c (main): Converted to ...
20228 (do_test): ... this.
20229 (TEST_FUNCTION): New macro.
20230 Include test-skeleton.c.
20231
20232 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20233 (convert): Make function static.
20234 (test_unalign): Likewise. Add const to argument pointee types.
20235 (main): Replace with static function do_test.
20236 Print "Succeeded." only if RET is zero.
20237 (TEST_FUNCTION): New macro.
20238 Include test-skeleton.c.
20239
20240 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20241 returns a null pointer.
20242
20243 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20244
20245 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20246 to __memcpy_ppc only for static builds.
20247
20248 2015-02-25 Joseph Myers <joseph@codesourcery.com>
20249
20250 [BZ #18020]
20251 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20252 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20253 * math/auto-libm-test-in: Add more tests of asinh.
20254 * math/auto-libm-test-out: Regenerated.
20255 * sysdeps/i386/fpu/libm-test-ulps: Update.
20256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20257
20258 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
20259
20260 [BZ #15850]
20261 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20262 and ip6_mtuinfo definitions here.
20263 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20264 in this define too. Update comment.
20265
20266 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
20267
20268 * elf/sprof.c (load_shobj): Tweak error message to match others.
20269
20270 2015-02-24 Kevin Easton <kevin@guarana.org>
20271
20272 [BZ #16145] (partial fix)
20273 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20274 to reduce lock contention.
20275
20276 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
20277
20278 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20279 (struct timex): Update time comment.
20280 (ADJ_SETOFFSET): Define.
20281
20282 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20283
20284 [BZ #18019]
20285 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20286 2**56 not 2**28 as threshold for log (2x) formula.
20287 * math/auto-libm-test-in: Add more tests of acosh.
20288 * math/auto-libm-test-out: Regenerated.
20289 * sysdeps/i386/fpu/libm-test-ulps: Update.
20290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20291
20292 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20293
20294 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20295 parenthesis around the buf assignment.
20296 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20297
20298 2015-02-24 Joseph Myers <joseph@codesourcery.com>
20299
20300 [BZ #16783]
20301 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20302 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20303 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20304 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20305 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20306 * math/libm-test.inc (scalb_test_data): Add more tests.
20307
20308 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20309
20310 [BZ #17916]
20311 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20312 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20313
20314 2015-02-24 Eric Rannaud <e@nanocritical.com>
20315
20316 [BZ #17523]
20317 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20318 * io/bits/fcntl2.h (open): Use it.
20319 (openat): Likewise.
20320 * io/open.c (__libc_open): Likewise.
20321 * io/open64.c (__libc_open64): Likewise.
20322 * io/open64_2.c (__open64_2): Likewise.
20323 * io/open_2.c (__open_2): Likewise.
20324 * io/openat.c (__openat): Likewise.
20325 * io/openat64.c (__openat64): Likewise.
20326 * io/openat64_2.c (__openat64_2): Likewise.
20327 * io/openat_2.c (__openat_2): Likewise.
20328 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20329 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20330 * sysdeps/posix/open64.c (__libc_open64): Likewise.
20331 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20332 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20333 (__open_nocancel): Likewise.
20334 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20335 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20336 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20337
20338 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20339
20340 [BZ #14841]
20341 * resolv/gethnamaddr.c (getanswer): Skip logging if
20342 RES_USE_DNSSEC is set.
20343 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20344
20345 2015-02-24 Mike Frysinger <vapier@gentoo.org>
20346
20347 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
20348
20349 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
20350
20351 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
20352 201304L, for Unicode 7.
20353
20354 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
20355
20356 [BZ #17836]
20357 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
20358 shared library. Add gmon-start.os otherwise.
20359 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
20360 $(objpfx)gmon-start.os if builing shared library.
20361 ($(objpfx)g$(static-start-installed-name)): Likewise.
20362
20363 2015-02-23 Andreas Schwab <schwab@suse.de>
20364
20365 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
20366
20367 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20368
20369 [BZ #17269]
20370 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
20371 (enlarge_userbuf): Likewise.
20372
20373 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
20374
20375 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
20376 * math/atest-exp.c (TIMEOUT): Adjust to 200.
20377 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
20378 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
20379
20380 2015-02-20 Joseph Myers <joseph@codesourcery.com>
20381
20382 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
20383 expression inside statement expression.
20384
20385 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20386
20387 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
20388 <sysdeps/nptl/lowlevellock.h> and remove macros and
20389 functions that are now defined there.
20390 (SYS_futex): Remove.
20391 (lll_compare_and_swap): Remove.
20392 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
20393
20394 2015-02-19 Joseph Myers <joseph@codesourcery.com>
20395
20396 [BZ #17999]
20397 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
20398 instead of scandirat.
20399 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
20400 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
20401 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
20402 __scandirat.
20403 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
20404 (__scandirat): Declare. Use libc_hidden_proto.
20405 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
20406 Remove variable.
20407 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
20408
20409 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20410
20411 [BZ #15319]
20412 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
20413 (MO): New macro.
20414 (__ieee754_atan2): For results with small absolute value, force
20415 underflow exception and remove excess range and precision from
20416 return value.
20417 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
20418 (MO): New macro.
20419 (__ieee754_atan2f): For results with small absolute value, force
20420 underflow exception and remove excess range and precision from
20421 return value.
20422 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
20423 (MO): New macro.
20424 (__atan): For results with small absolute value, force underflow
20425 exception and remove excess range and precision from return value.
20426 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
20427 (MO): New macro.
20428 (__atanf): For results with small absolute value, force underflow
20429 exception and remove excess range and precision from return value.
20430 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
20431 <math.h>.
20432 (__ieee754_atan2): Force underflow exception for results with
20433 small absolute value.
20434 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
20435 <math_private.h>.
20436 (atan): Force underflow exception for results with small absolute
20437 value.
20438 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
20439 (__atanf): Force underflow exception for results with small
20440 absolute value.
20441 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
20442 <math.h>.
20443 (__atanl): Force underflow exception for results with small
20444 absolute value.
20445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
20446 (__atanl): Force underflow exception for results with small
20447 absolute value.
20448 * sysdeps/x86/fpu/bits/mathinline.h
20449 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
20450 (__ieee754_atan2): Only define inline for long double.
20451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
20452 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
20453 * math/auto-libm-test-in: Do not mark underflow exceptions as
20454 possibly missing for bug 15319. Add more tests of atan2.
20455 * math/auto-libm-test-out: Regenerated.
20456 * math/libm-test.inc (casin_test_data): Do not mark underflow
20457 exceptions as possibly missing for bug 15319.
20458 (casinh_test_data): Likewise.
20459 * sysdeps/i386/fpu/libm-test-ulps: Update.
20460
20461 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
20462
20463 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
20464 * sysdeps/mips/bits/endian.h: Fix comments.
20465
20466 2015-02-18 Joseph Myers <joseph@codesourcery.com>
20467
20468 [BZ #17996]
20469 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
20470 (hdestroy_r): Likewise.
20471 (hsearch_r): Likewise.
20472 (__hcreate_r): Declare and use libc_hidden_proto.
20473 (__hdestroy_r): Likewise.
20474 (__hsearch_r): Likewise.
20475 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
20476 (hcreate): Call __hcreate_r instead of hcreate_r.
20477 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
20478 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
20479 as weak alias of __hcreate_r.
20480 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
20481 __hdestroy_r.
20482 (hsearch_r): Rename to __hsearch_r and define as weak alias of
20483 __hsearch_r.
20484 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
20485 Remove variable.
20486 (test-xfail-XPG4/search.h/linknamespace): Likewise.
20487 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
20488 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
20489 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
20490
20491 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20492
20493 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
20494 arena_lock into a single arena_get.
20495
20496 2015-02-17 Carlos O'Donell <carlos@redhat.com>
20497
20498 * dl-reloc.c: Inlucde libc-internal.h.
20499 (_dl_try_allocate_static_tls): Call ALIGN_UP.
20500 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
20501 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
20502 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
20503 (grow_heap): Likewise.
20504 * malloc/malloc.c: Include libc-internal.h.
20505 (do_check_malloc): Call powerof2.
20506 (sysmalloc): Use pagesize. Call ALIGN_UP.
20507 (systrim): Use pagesize.
20508 (mremap_chunk): Use pagesize. Call ALIGN_UP.
20509 (__libc_valloc): Use pagesize.
20510 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
20511
20512 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20513
20514 [BZ #17991]
20515 * include/sys/resource.h (__getrlimit64): Declare. Use
20516 libc_hidden_proto.
20517 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
20518 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
20519 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
20520 getrlimit64.
20521 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
20522 __getrlimit64.
20523 [!getrlimit64] (getrlimit64): Define as weak alias of
20524 __getrlimit64. Use libc_hidden_weak.
20525 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
20526 using __getrlimit64 not __new_getrlimit64.
20527 (__GI_getrlimit64): Likewise.
20528 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
20529 Likewise.
20530 (__GI_getrlimit64): Likewise.
20531 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
20532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
20533 (getrlimit): Add __getrlimit64 alias.
20534 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
20535 Likewise.
20536 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
20537 Remove variable.
20538 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
20539 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
20540
20541 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
20542
20543 * libio/fileops.c: Add missing sys/mman.h
20544 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
20545
20546 2015-02-17 Joseph Myers <joseph@codesourcery.com>
20547
20548 * manual/math.texi (Errors in Math Functions): Clarify goals
20549 regarding inexact and underflow exceptions.
20550
20551 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
20552
20553 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
20554 * sysdeps/mips/memset.S: Ditto.
20555
20556 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
20557
20558 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
20559
20560 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
20561
20562 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
20563 (__v1longjmp): Remove versioned symbol.
20564 (__v1siglongjmp): Remove alias and versioned symbol.
20565 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
20566 (__v2siglongjmp): Likewise.
20567
20568 2015-02-16 Torvald Riegel <triegel@redhat.com>
20569
20570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
20571
20572 2015-02-16 Mike Frysinger <vapier@gentoo.org>
20573
20574 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
20575
20576 2015-02-16 Joseph Myers <joseph@codesourcery.com>
20577
20578 [BZ #17987]
20579 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
20580 zero result does not depend on the sign resulting from
20581 subtraction.
20582 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20583 Likewise.
20584 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20585 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20586 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20587 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20588 * math/libm-test.inc (remquo_test_data): Add more tests.
20589
20590 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
20591
20592 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
20593 Problem reported by J William Piggott.
20594
20595 2015-02-16 Joseph Myers <joseph@codesourcery.com>
20596
20597 [BZ #17978]
20598 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
20599 products 4 * y and 2 * y where those would overflow.
20600 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20601 Likewise.
20602 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
20603 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
20604 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20605 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
20606 * math/libm-test.inc (remquo_test_data): Add more tests.
20607
20608 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
20609
20610 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
20611 [defined _COMPILING_NEWLIB].
20612 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
20613 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
20614
20615 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
20616 [!defined __mips_isa_rev || __mips_isa_rev < 6].
20617
20618 2015-02-16 Torvald Riegel <triegel@redhat.com>
20619
20620 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
20621 acquired.
20622
20623 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
20624
20625 [BZ #17792]
20626 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
20627 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
20628 HOST_STACK_END_ADDR): Likewise.
20629
20630 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
20631
20632 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
20633 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
20634 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
20635
20636 2015-02-13 Roland McGrath <roland@hack.frob.com>
20637
20638 * sysdeps/generic/c++-types.data: New file.
20639 * sysdeps/generic/ld.abilist: New file.
20640 * sysdeps/generic/libBrokenLocale.abilist: New file.
20641 * sysdeps/generic/libanl.abilist: New file.
20642 * sysdeps/generic/libc.abilist: New file.
20643 * sysdeps/generic/libcrypt.abilist: New file.
20644 * sysdeps/generic/libdl.abilist: New file.
20645 * sysdeps/generic/libm.abilist: New file.
20646 * sysdeps/generic/libpthread.abilist: New file.
20647 * sysdeps/generic/libresolv.abilist: New file.
20648 * sysdeps/generic/librt.abilist: New file.
20649
20650 2015-02-13 Joseph Myers <joseph@codesourcery.com>
20651
20652 [BZ #17569]
20653 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
20654 Compute absolute value of x as modified by fmod, not original
20655 value of x.
20656 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
20657 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
20658 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
20659 RUN_TEST_ffI_f1_mod8.
20660 (remquo_test_data): Add more tests.
20661
20662 2015-02-13 Roland McGrath <roland@hack.frob.com>
20663
20664 * sysdeps/init_array/pt-crti.S: New file.
20665
20666 2015-02-13 Joseph Myers <joseph@codesourcery.com>
20667
20668 [BZ #17967]
20669 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
20670 __builtin_fmaf instead of relying on contraction of a * b + c.
20671
20672 2015-02-12 J William Piggott <elseifthen@gmx.com>
20673
20674 [BZ #17969]
20675 * manual/time.texi: correct the zoneinfo path in the TZ Variable
20676 node.
20677
20678 2015-02-12 Joseph Myers <joseph@codesourcery.com>
20679
20680 [BZ #17964]
20681 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
20682 __builtin_fma instead of relying on contraction of a * b + c.
20683
20684 2015-02-12 Roland McGrath <roland@hack.frob.com>
20685
20686 * Makeconfig (ASFLAGS): Add -Werror=undef.
20687 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
20688 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
20689 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
20690
20691 * Makeconfig (after-link): New variable.
20692 (+link-pie, +link-pie-tests): Use it.
20693 (+link-static, +link-static-tests): Likewise.
20694 (+link, +link-tests): Likewise.
20695 * Makerules (build-module, build-module-asneeded): Likewise.
20696 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20697 Likewise.
20698 * elf/Makefile ($(objpfx)ld.so): Likewise.
20699
20700 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
20701
20702 [BZ #17965]
20703 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
20704 both struct timeval and struct timespec.
20705
20706 2015-02-12 Joseph Myers <joseph@codesourcery.com>
20707
20708 [BZ #16560]
20709 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20710 and redefine.
20711 (__ieee754_exp2l): Do not multiply small fractional parts by
20712 M_LN2l.
20713 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
20714 small argument.
20715 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20716 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20717 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
20718 * math/auto-libm-test-in: Add more tests of exp2.
20719 * math/auto-libm-test-out: Regenerated.
20720
20721 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20722
20723 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
20724 unaligned path.
20725
20726 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20727
20728 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
20729 little endian.
20730
20731 2015-02-12 Andreas Schwab <schwab@suse.de>
20732
20733 [BZ #15790]
20734 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20735 Filter out elision flags from value returned in kind.
20736 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
20737 * nptl/tst-pthread-mutexattr.c: New file.
20738
20739 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
20740
20741 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
20742 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
20743 into gnu-gnu, and update comment to refer to abi-tags.
20744
20745 2015-02-11 Joseph Myers <joseph@codesourcery.com>
20746
20747 [BZ #15467]
20748 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
20749 (__sincos): Set errno to EDOM for infinite argument.
20750 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
20751 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
20752 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
20753 (__sincosl): Set errno to EDOM for infinite argument.
20754 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
20755 (__sincosl): Set errno to EDOM for infinite argument.
20756 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
20757 (__sincosl): Set errno to EDOM for infinite argument.
20758 * math/libm-test.inc (sincos_test_data): Test errno setting.
20759
20760 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
20761
20762 * string/strxfrm_l.c: Remove #define STRCMP.
20763 * string/strcoll_l.c: Remove #define STRLEN.
20764 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
20765 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
20766
20767 2015-02-10 Joseph Myers <joseph@codesourcery.com>
20768
20769 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
20770 * sysdeps/mips/mips32/sfp-machine.h: ... here.
20771 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
20772 * sysdeps/mips/mips64/Makefile: ... here.
20773 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
20774 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
20775 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
20776 * sysdeps/mips/mips64/sfp-machine.h: ... here.
20777 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
20778 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20779 * sysdeps/mips/mips64/n64/Implies: Likewise.
20780
20781 2015-02-10 Roland McGrath <roland@hack.frob.com>
20782
20783 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
20784 <sys/time.h>, <string.h>, and <errno.h>.
20785 (dest_offset, dest_address, value, zero): Remove unused variables.
20786 (ldouble): Remove typedef.
20787 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
20788 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
20789 1). Fix code style.
20790 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
20791 (check): Function removed.
20792 (CHECK): New macro.
20793 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
20794 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
20795 Don't call set_sigaction_FP and remove_sigaction_FP here.
20796 (ldouble_test): Just use 'long double' as macro argument, no need for
20797 the 'ldouble' typedef.
20798 (do_test): Set up SIGFPE handler at start, using plain signal rather
20799 than sigaction. Fix code style.
20800
20801 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
20802
20803 [BZ #17949]
20804 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
20805 jump label.
20806
20807 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20808
20809 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
20810 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20811
20812 * sysdeps/powerpc/configure.ac: Remove file.
20813 * sysdeps/powerpc/configure: Likewise.
20814
20815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20816 [sysdep_routines]: Remove wordcopy-power6 object.
20817 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20818 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
20819 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
20820 (__memmove_ppc32): Likewise.
20821 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
20822 file.
20823 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
20824 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
20825 Remove preprocessor.
20826
20827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
20828 [sysdep_routines]: Remove wide chars objects.
20829 [wcsmbs]: New rule for wide char objects.
20830
20831 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20832 Remove wordcopy-power6 obejct.
20833 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20834 Use local call for wordcopy and memcpy symbols.
20835 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20836 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20837 implementation for loader.
20838 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20839
20840 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20841 Remove wordcopy-power7 object.
20842 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20843 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20844 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20845 (_wordcopy_fwd_dest_aligned): Likewise.
20846 (_wordcopy_bwd_aligned): Likewise.
20847 (_wordcopy_bwd_dest_aligned): Likewise.
20848
20849 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20850 Rewrite to call __memmove_ppc instead of include default
20851 implementation.
20852
20853 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20854 Remove wide chars objects.
20855 [wcsmbs]: New rule for wide char objects.
20856
20857 2015-02-09 Andreas Schwab <schwab@suse.de>
20858
20859 [BZ #17912]
20860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20861 in terms of __O_DIRECTORY.
20862
20863 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20864
20865 * time/getdate.c: Include <stdbool.h>.
20866 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20867 call PTR_MANGLE.
20868 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20869 PTR_DEMANGLE.
20870
20871 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
20872
20873 Add ersatz _Static_assert on older C hosts
20874 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20875 pre-C11 C platform that is not known to support _Static_assert.
20876
20877 2015-02-07 Richard Braun <rbraun@sceen.net>
20878
20879 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20880 sigstate.
20881 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20882
20883 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
20884
20885 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20886 priority against unexistent AIO_PRIO_DELTA_MAX.
20887 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20888 instead of int.
20889 * misc/fchflags.c (fchflags): Likewise.
20890 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20891 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20892 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20893 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20894 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20895 Declare macros.
20896 [__USE_MISC] (chflags, fchflags): Declare functions.
20897 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20898 EINVAL when nfds is greater than FD_SETSIZE.
20899 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20900 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20901 45.
20902 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20903 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20904 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20905 MACH_RCV_TIMED_OUT.
20906 * hurd/hurd/signal.h (_hurd_self_sigstate,
20907 _hurd_critical_section_lock, _hurd_critical_section_unlock):
20908 Explicit casts from void *.
20909 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20910 * abi-tags: Rename gnu-gnu os into gnu.
20911
20912 [BZ #4719]
20913 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20914 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20915 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20916 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20917 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20918 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20919
20920 [BZ #17944]
20921 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20922 duplicates ADDR->sun_path with sockaddr LEN limitation.
20923 * sysdeps/mach/hurd/connect.c: Include <string.h>
20924 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20925 * sysdeps/mach/hurd/sendmsg.c: Likewise.
20926 * sysdeps/mach/hurd/sendto.c: Likewise.
20927 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20928 implementing it by hand.
20929
20930 2015-02-06 Roland McGrath <roland@hack.frob.com>
20931
20932 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20933 Use sfi_breg on ldr.
20934 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20935 Likewise.
20936
20937 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20938 it's defined.
20939 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20940 Test SIGSETXID only if it's defined.
20941
20942 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20943
20944 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20945 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
20946
20947 * nptl/tst-align2.c: Moved ...
20948 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20949 * nptl/Makefile (tests): Remove tst-align2.
20950 * sysdeps/unix/sysv/linux/Makefile
20951 [$(subdir) = nptl] (tests): Add tst-align-clone.
20952 * nptl/tst-getpid1.c: Moved ...
20953 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20954 * nptl/tst-getpid2.c: Moved ...
20955 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20956 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20957 * sysdeps/unix/sysv/linux/Makefile
20958 [$(subdir) = nptl] (tests): ... here.
20959 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20960 * sysdeps/unix/sysv/linux/Makefile
20961 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20962
20963 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20964 Drop trailing \n from perror argument. Use return rather than exit.
20965
20966 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20967 on [SA_SIGINFO].
20968 * nptl/tst-cancel21.c (do_test): Likewise.
20969 * debug/tst-backtrace6.c: Include <signal.h> first thing.
20970 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20971 [!SA_SIGINFO]: Make it a stub test.
20972
20973 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20974 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20975
20976 * posix/tst-getlogin.c: Move to ...
20977 * login/tst-getlogin.c: ... here.
20978 * posix/Makefile (tests): Move tst-getlogin to ...
20979 * login/Makefile (tests): ... here.
20980
20981 * libio/tst-atime.c (do_test): Move local variables SV and E
20982 inside [ST_NOATIME] conditional.
20983
20984 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20985
20986 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20987
20988 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20989 (wait_code): New function replaces macro.
20990 Call nanosleep rather than syscall.
20991
20992 * nptl/pt-system.c: Rewritten. Put everything under
20993 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20994 Use IFUNC to redirect when possible.
20995
20996 * nptl/pt-longjmp.c: Rewritten. Put everything under
20997 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20998 Use IFUNC to redirect when possible.
20999
21000 * nptl/pt-fork.c: Rewritten. Put everything under
21001 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21002 Use IFUNC to redirect when possible.
21003 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21004
21005 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21006 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21007 unconditionally nowadays. This included the only reference to
21008 __vdso_clock_gettime that appears outside libc proper.
21009 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21010 Remove version set (containing only __vdso_clock_gettime).
21011 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21012 Add attribute_hidden.
21013 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21014 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21015 libc_hidden_data_def.
21016 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21017 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21018
21019 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21020 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21021 setrpcent, and getrpcport to ...
21022 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21023 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21024 getrpcbynumber_r, and getrpcent_r to ...
21025 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21026 * inet/getrpcbyname.c: Moved ...
21027 * sunrpc/getrpcbyname.c: ... here.
21028 * inet/getrpcbyname_r.c: Moved ...
21029 * sunrpc/getrpcbyname_r.c: ... here.
21030 * inet/getrpcbynumber.c: Moved ...
21031 * sunrpc/getrpcbynumber.c: ... here.
21032 * inet/getrpcbynumber_r.c: Moved ...
21033 * sunrpc/getrpcbynumber_r.c: ... here.
21034 * inet/getrpcent.c: Moved ...
21035 * sunrpc/getrpcent.c: ... here.
21036 * inet/getrpcent_r.c: Moved ...
21037 * sunrpc/getrpcent_r.c: ... here.
21038 * inet/Makefile (routines): Move those to ...
21039 * sunrpc/Makefile (routines): ... here.
21040 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21041 the $(subdirs) list.
21042 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
21043 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21044 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21045 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21046
21047 * elf/Makefile (routines): Include $(all-dl-routines), not just
21048 $(dl-routines).
21049 (rtld-routines): Likewise. Use = rather than :=.
21050 * sysdeps/aarch64/Makefile [$(subdir) = elf]
21051 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21052 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21053 * sysdeps/arm/Makefile: Likewise.
21054 * sysdeps/i386/Makefile: Likewise.
21055 * sysdeps/x86_64/Makefile: Likewise.
21056 * sysdeps/hppa/Makefile [$(subdir) = elf]
21057 (sysdep_routines, sysdep-rtld-routines): Don't add
21058 $(sysdep-dl-routines) to these.
21059 * sysdeps/ia64/Makefile: Likewise.
21060 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21061 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21062 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21063 Don't add dl-static to these; sysdep-dl-routines alone is enough.
21064 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21065 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21066 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21067 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21068 * sysdeps/powerpc/Makefile [$(subdir) = elf]
21069 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21070 these; sysdep-dl-routines alone is enough.
21071
21072 2015-02-06 Joseph Myers <joseph@codesourcery.com>
21073
21074 [BZ #17932]
21075 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21076 where multiplication results in zero and third argument is finite
21077 and nonzero.
21078 * math/auto-libm-test-in: Add more tests of fma.
21079 * math/auto-libm-test-out: Regenerated.
21080
21081 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21082 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21083 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21084 (_FP_CMP_EQ): Likewise.
21085 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21086
21087 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21088 extra argument CHECK_NAN. Redefine as wrapper around
21089 _FP_EXTEND_CNAN.
21090
21091 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
21092
21093 * version.h (RELEASE): Set to "stable".
21094 (VERSION): Set to "2.21"
21095 * include/features.h (__GLIBC_MINOR__): Set to 21.
21096
21097 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21098
21099 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21100 Paul Eggert <eggert@cs.ucla.edu>
21101
21102 [BZ #16618]
21103 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21104 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21105 size in bytes. Store needed elements in wpmax. Use needed size
21106 in bytes for extend_alloca.
21107
21108 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
21109
21110 * manual/install.texi: Latest tested versions are GCC 4.9.2,
21111 binutls 2.25, and texinfo 5.2.
21112 * INSTALL: Regenerate.
21113 * sysdeps/nios2/configure: Regenerate.
21114 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21115 * manual/contrib.texi: Update.
21116 * po/be.po: Update.
21117 * po/bg.po: Update.
21118 * po/ca.po: Update.
21119 * po/cs.po: Update.
21120 * po/da.po: Update.
21121 * po/de.po: Update.
21122 * po/el.po: Update.
21123 * po/eo.po: Update.
21124 * po/es.po: Update.
21125 * po/fi.po: Update.
21126 * po/fr.po: Update.
21127 * po/gl.po: Update.
21128 * po/hr.po: Update.
21129 * po/hu.po: Update.
21130 * po/ia.po: Update.
21131 * po/id.po: Update.
21132 * po/it.po: Update.
21133 * po/ja.po: Update.
21134 * po/ko.po: Update.
21135 * po/lt.po: Update.
21136 * po/nb.po: Update.
21137 * po/nl.po: Update.
21138 * po/pl.po: Update.
21139 * po/pt_BR.po: Update.
21140 * po/ru.po: Update.
21141 * po/rw.po: Update.
21142 * po/sk.po: Update.
21143 * po/sl.po: Update.
21144 * po/sv.po: Update.
21145 * po/tr.po: Update.
21146 * po/uk.po: Update.
21147 * po/vi.po: Update.
21148 * po/zh_CN.po: Update.
21149 * po/zh_TW.po: Update.
21150
21151 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21152 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21153 * sysdeps/hppa/dl-irel.h: Remove #warning.
21154 * sysdeps/hppa/entry.h: Provide prototype for
21155 __canonicalize_funcptr_for_compare and cast argument.
21156 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21157 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21158 * sysdeps/hppa/sotruss-lib.c: New file.
21159 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21160 (atomic_compare_and_exchange_val_acq): Use __typeof__.
21161 (atomic_compare_and_exchange_bool_acq): Likewise.
21162 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21163 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21164
21165 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21166 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21167 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21168
21169 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
21170
21171 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21172 called function in non-PIC case.
21173
21174 2015-01-31 David S. Miller <davem@davemloft.net>
21175
21176 * sysdeps/sparc/sparc32/bits/atomic.h
21177 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21178 unlock not after it.
21179 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21180 volatile register usage warnings from the compiler.
21181
21182 * sysdeps/sparc/nptl/sem_init.c: Delete.
21183 * sysdeps/sparc/nptl/sem_post.c: Delete.
21184 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21185 * sysdeps/sparc/nptl/sem_wait.c: Delete.
21186 * sysdeps/sparc/sparc32/sem_init.c: New file.
21187 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21188 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21189 padding explicitly initialized.
21190 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21191 padding for in-semaphore spinlock.
21192 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21193 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21194 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21195 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21196 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21197 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21198 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21199 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21200 version.
21201 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21202 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21203
21204 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
21205
21206 [BZ #17801]
21207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21208 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21209 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21210 New.
21211 (index_AVX_Fast_Unaligned_Load): Likewise.
21212 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21213 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21214 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21215 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21216 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21217 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21218 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21219 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21220 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21221
21222 2015-01-29 Andreas Schwab <schwab@suse.de>
21223
21224 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21225
21226 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21227
21228 [BZ #17892]
21229 * nscd/nscd_stat.c (send_stats): Initialize DATA.
21230
21231 2015-01-28 Martin Sebor <msebor@redhat.com>
21232
21233 * math/README.libm-test: Clarify. Add "How to read the test output."
21234
21235 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
21236
21237 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21238 Define to 0.
21239
21240 2015-01-28 Joseph Myers <joseph@codesourcery.com>
21241
21242 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21243 (__HAVE_64B_ATOMICS): Define to 0.
21244
21245 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21246
21247 [BZ #17885]
21248 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21249 value to set as new flag.
21250
21251 [BZ #16576]
21252 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21253 and use _ARCH_PPCSQ instead.
21254 (__ieee754_sqrt): Likewise.
21255 (__ieee754_sqrtf): Likewise.
21256 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21257 _ARCH_PPCSQ is defined.
21258 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21259 fsqrt instruction.
21260 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21261 _ARCH_PPCSQ is defined.
21262 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21263 fsqrts instruction.
21264 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21265
21266 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21267
21268 * iconv/loop.c: Suppress array out of bound warning caused by GCC
21269 bug (GCC BZ #64739).
21270
21271 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
21272
21273 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21274 Mark _retval as used.
21275 (lll_futex_wake_unlock): Likewise.
21276 (lll_futex_timed_wait_requeue_pi): Likewise.
21277
21278 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21279 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21280 register variables.
21281
21282 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21283 libm_hidden_def.
21284
21285 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21286 (__bswap_64): Mark as __always_inline.
21287
21288 2015-01-25 Bram <bug_rh@spam.wizbit.be>
21289
21290 [BZ #15378]
21291 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21292 when none of the search directories exist.
21293
21294 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21295
21296 [BZ #17869]
21297 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21298 power8 in .machine directive.
21299
21300 [BZ #17868]
21301 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21302 set dependency from opd value.
21303
21304 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21305
21306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21307 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21308 architecture.
21309
21310 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
21311
21312 [BZ #17870]
21313 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21314 with uint64_t.
21315 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21316 (uint64_t) 1.
21317 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21318 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21319 Replace 1UL with (uint64_t) 1.
21320 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21321 int with uint64_t.
21322
21323 2015-01-23 Roland McGrath <roland@hack.frob.com>
21324
21325 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21326 (if_freenameindex): Likewise.
21327
21328 * resource/getrlimit64.c: Add missing libc_hidden_def.
21329
21330 2015-01-22 Joseph Myers <joseph@codesourcery.com>
21331
21332 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21333 __label__.
21334 (_FP_FMA): Likewise.
21335 (_FP_TO_INT_ROUND): Likewise.
21336 (_FP_FROM_INT): Likewise.
21337
21338 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21339
21340 [BZ #16418]
21341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21342 Make code racy and cancel safe.
21343
21344 2015-01-21 Carlos O'Donell <carlos@redhat.com>
21345
21346 * sysdeps/arm/unwind-resume.h: Fix copyright year.
21347 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
21348 attribution.
21349
21350 * pwd/tst-getpw.c: Rewrite.
21351
21352 [BZ #17702]
21353 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
21354 (modules-names): Add moddummy1 and moddummy2.
21355 ($(objpfx)tst-rec-dlopen): Define.
21356 * dlfcn/moddummy1.c: New file.
21357 * dlfcn/moddummy2.c: New file.
21358 * dlfcn/tst-rec-dlopen.c: New file.
21359 * elf/dl-cache.c (_dl_load_cache_lookup):
21360 Return char*. Copy result with alloca/strcpy/strdup.
21361 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
21362 returns char*. Free cached. If not saving realname
21363 free cached.
21364 * elf/dl-open.c (dl_open_worker): Do not assert that
21365 _r_debug->r_state is RT_CONSISTENT.
21366 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
21367 returns char*.
21368
21369 2015-01-21 Torvald Riegel <triegel@redhat.com>
21370 Carlos O'Donell <carlos@redhat.com>
21371
21372 [BZ #12674]
21373 * nptl/sem_waitcommon.c: New file.
21374 * nptl/sem_wait.c: Include sem_waitcommon.c.
21375 (__sem_wait_cleanup, do_futex_wait): Remove.
21376 (__new_sem_wait): Adapt.
21377 (__new_sem_trywait): New function.
21378 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
21379 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
21380 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
21381 (sem_timedwait): Adapt.
21382 * nptl/sem_post.c (__new_sem_post): Adapt.
21383 (futex_wake): New function.
21384 (__old_sem_post): Add release MO fence.
21385 * nptl/sem_open.c (sem_open): Adapt.
21386 * nptl/sem_init.c (__new_sem_init): Adapt.
21387 (futex_private_if_supported): New function.
21388 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
21389 (__old_sem_getvalue): Add using previous code.
21390 * sysdeps/nptl/internaltypes.h: Adapt.
21391 * nptl/tst-sem13.c (do_test): Adapt.
21392 * nptl/tst-sem11.c (main): Adapt.
21393 * nptl/sem_trywait.c: Remove.
21394 * nptl/DESIGN-sem.txt: Remove.
21395 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
21396 (gen-as-const-headers): Remove structsem.sym.
21397 * nptl/structsem.sym: Remove.
21398 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
21399 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
21400 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
21401 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
21402 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
21403 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
21404 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
21405 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
21406 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
21407 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
21408 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
21409 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
21410 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
21411 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
21412 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
21413 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
21414 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
21415 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
21416 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
21417 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
21418 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
21419 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
21420
21421 2015-01-20 Carlos O'Donell <carlos@redhat.com>
21422
21423 * INSTALL: Regenerated.
21424
21425 * po/libc.pot: Regenerated.
21426
21427 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
21428 Sandra Loosemore <sandra@codesourcery.com>
21429 Andrew Jenner <andrew@codesourcery.com>
21430 Joseph Myers <joseph@codesourcery.com>
21431 Nathan Sidwell <nathan@codesourcery.com>
21432
21433 * NEWS: Mention new Nios II port.
21434 * sysdeps/nios2/Implies: New file.
21435 * sysdeps/nios2/Makefile: New file.
21436 * sysdeps/nios2/Subdirs: New file.
21437 * sysdeps/nios2/Versions: New file.
21438 * sysdeps/nios2/__longjmp.S: New file.
21439 * sysdeps/nios2/abort-instr.h: New file.
21440 * sysdeps/nios2/backtrace.c: New file.
21441 * sysdeps/nios2/bits/endian.h: New file.
21442 * sysdeps/nios2/bits/fenv.h: New file.
21443 * sysdeps/nios2/bits/link.h: New file.
21444 * sysdeps/nios2/bits/setjmp.h: New file.
21445 * sysdeps/nios2/bsd-_setjmp.S: New file.
21446 * sysdeps/nios2/bsd-setjmp.S: New file.
21447 * sysdeps/nios2/configure: New generated file.
21448 * sysdeps/nios2/configure.ac: New file.
21449 * sysdeps/nios2/crti.S: New file.
21450 * sysdeps/nios2/crtn.S: New file.
21451 * sysdeps/nios2/dl-init.c: New file.
21452 * sysdeps/nios2/dl-machine.h: New file.
21453 * sysdeps/nios2/dl-sysdep.h: New file.
21454 * sysdeps/nios2/dl-tls.h: New file.
21455 * sysdeps/nios2/dl-trampoline.S: New file.
21456 * sysdeps/nios2/gccframe.h: New file.
21457 * sysdeps/nios2/gmp-mparam.h: New file.
21458 * sysdeps/nios2/jmpbuf-offsets.h: New file.
21459 * sysdeps/nios2/jmpbuf-unwind.h: New file.
21460 * sysdeps/nios2/ldsodefs.h: New file.
21461 * sysdeps/nios2/libc-tls.c: New file.
21462 * sysdeps/nios2/libm-test-ulps: New file.
21463 * sysdeps/nios2/machine-gmon.h: New file.
21464 * sysdeps/nios2/math-tests.h: New file.
21465 * sysdeps/nios2/math_private.h: New file.
21466 * sysdeps/nios2/memusage.h: New file.
21467 * sysdeps/nios2/nptl/Makefile: New file.
21468 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
21469 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
21470 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
21471 * sysdeps/nios2/nptl/pthreaddef.h: New file.
21472 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
21473 * sysdeps/nios2/nptl/tls.h: New file.
21474 * sysdeps/nios2/preconfigure: New file.
21475 * sysdeps/nios2/s_fma.c: New file.
21476 * sysdeps/nios2/s_fmaf.c: New file.
21477 * sysdeps/nios2/setjmp.S: New file.
21478 * sysdeps/nios2/sfp-machine.h: New file.
21479 * sysdeps/nios2/sotruss-lib.c: New file.
21480 * sysdeps/nios2/stackguard-macros.h: New file.
21481 * sysdeps/nios2/stackinfo.h: New file.
21482 * sysdeps/nios2/start.S: New file.
21483 * sysdeps/nios2/sysdep.h: New file.
21484 * sysdeps/nios2/tls-macros.h: New file.
21485 * sysdeps/nios2/tst-audit.h: New file.
21486 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
21487 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
21488 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
21489 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
21490 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
21491 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
21492 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
21493 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
21494 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
21495 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
21496 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
21497 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
21498 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
21499 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
21500 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
21501 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
21502 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
21503 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
21504 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
21505 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
21506 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
21507 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
21508 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
21509 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
21510 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
21511 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
21512 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
21513 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
21514 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
21515 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
21516 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
21517 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
21518 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
21519 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
21520 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
21521 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
21522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
21523 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
21524 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
21525 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
21526 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
21527 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
21528 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
21529 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
21530
21531 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21532
21533 [BZ #17844]
21534 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
21535 (getutent): Use weak_alias in non SHARED case
21536 and default_symbol_version in SHARED case.
21537 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
21538 (getutent_r, pututline): Likewise.
21539 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
21540 (getutid): Likewise.
21541 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
21542 (getutid_r): Likewise.
21543 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
21544 (getutline): Likewise.
21545 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
21546 (getutline_r): Likewise.
21547 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
21548 (updwtmp): Likewise.
21549
21550 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21551
21552 [BZ #17848]
21553 * sysdeps/s390/s390-32/memcmp.S
21554 (memcmp_g5): Rename to __memcmp_g5.
21555 * sysdeps/s390/s390-32/memcpy.S
21556 (memcpy_g5): Rename to __memcpy_g5.
21557 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21558 (memcpy_mvcle) Rename to __memcpy_mvcle.
21559 * sysdeps/s390/s390-32/memset.S
21560 (memset_g5): Rename to __memset_g5.
21561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21562 (IFUNC_RESOLVE): Prefix ifunc-resolve function
21563 and use prefixed functions.
21564 * sysdeps/s390/s390-32/multiarch/memcmp.S
21565 (memcmp_z196): Rename to __memcmp_z196.
21566 (memcmp_z10): Rename to __memcmp_z10.
21567 (memcmp): Set alias to __memcmp_g5.
21568 (bcmp): Set alias to __memcmp_g5.
21569 * sysdeps/s390/s390-32/multiarch/memcpy.S
21570 (memcpy_z196): Rename to __memcpy_z196.
21571 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21572 (memcpy_z10): Rename to __memcpy_z10.
21573 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21574 (memcpy): Set alias to __memcpy_g5.
21575 * sysdeps/s390/s390-32/multiarch/memset.S
21576 (memset_z196): Rename to __memset_z196.
21577 Jump to __memset_mvcle instead of memset_mvcle.
21578 (memset_z10): Rename to __memset_z10.
21579 Jump to __memset_mvcle instead of memset_mvcle.
21580 (memset_mvcle) Rename to __memset_mvcle.
21581 (memset): Set alias to __memset_g5.
21582 * sysdeps/s390/s390-64/memcmp.S
21583 (memcmp_z900): Rename to __memcmp_z900.
21584 * sysdeps/s390/s390-64/memcpy.S
21585 (memcpy_z900): Rename to __memcpy_z900.
21586 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21587 (memcpy_mvcle) Rename to __memcpy_mvcle.
21588 * sysdeps/s390/s390-64/memset.S
21589 (memset_z900): Rename to __memset_z900.
21590 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
21591 (IFUNC_RESOLVE): Prefix ifunc-resolve function
21592 and use prefixed functions.
21593 * sysdeps/s390/s390-64/multiarch/memcmp.S
21594 (memcmp_z196): Rename to __memcmp_z196.
21595 (memcmp_z10): Rename to __memcmp_z10.
21596 (memcmp): Set alias to __memcmp_z900.
21597 (bcmp): Set alias to __memcmp_z900.
21598 * sysdeps/s390/s390-64/multiarch/memcpy.S
21599 (memcpy_z196): Rename to __memcpy_z196.
21600 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21601 (memcpy_z10): Rename to __memcpy_z10.
21602 Jump to __memcpy_mvcle instead of memcpy_mvcle.
21603 (memcpy): Set alias to __memcpy_z900.
21604 * sysdeps/s390/s390-64/multiarch/memset.S
21605 (memset_z196): Rename to __memset_z196.
21606 Jump to __memset_mvcle instead of memset_mvcle.
21607 (memset_z10): Rename to __memset_z10.
21608 Jump to __memset_mvcle instead of memset_mvcle.
21609 (memset_mvcle) Rename to __memset_mvcle.
21610 (memset): Set alias to __memset_z900.
21611
21612 2015-01-14 Joseph Myers <joseph@codesourcery.com>
21613
21614 [BZ #17748]
21615 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
21616 __fesetenv instead of fesetenv.
21617
21618 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21619
21620 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
21621 macro.
21622
21623 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21624
21625 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
21626 regression on LE.
21627
21628 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
21629 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
21630 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21631 strncmp-power8 object.
21632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21633 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
21634 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
21635 * NEWS: Update.
21636
21637 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21638 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21639
21640 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
21641 trailing byte check.
21642
21643 2015-01-13 David S. Miller <davem@davemloft.net>
21644
21645 * include/signal.h (__sigreturn): Guard with __USE_MISC.
21646
21647 2015-01-13 Roland McGrath <roland@hack.frob.com>
21648
21649 * login/logout.c (logout): Use memset rather than bzero.
21650 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
21651 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
21652 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
21653 (_gethtbyaddr): Likewise.
21654 * locale/programs/simple-hash.c (bcopy): Macro removed.
21655
21656 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21657
21658 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21659 Add strcmp-power8 object.
21660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21661 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
21662 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
21663 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
21664 __strcmp_power8 implementation.
21665 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
21666 * NEWS: Update.
21667
21668 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21669 Add strncpy-power8 and stpncpy-power8 objects.
21670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21671 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
21672 implementations.
21673 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
21674 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
21675 __stpncpy_power8 implementation.
21676 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
21677 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
21678 __strncpy_power8 implementation.
21679 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
21680 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
21681 * NEWS: Update.
21682
21683 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
21684 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
21685 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
21686
21687 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21688 strncat-power8 object.
21689 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
21690 __strcat_power8 implementation.
21691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21692 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
21693 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
21694 optimized strcat for power8.
21695
21696 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
21697 strcpy-power8 and stpcpy-power8 objects.
21698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21699 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
21700 implementations.
21701 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
21702 multiarch stpcpy implementation for POWER8.
21703 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
21704 multiarch strcpy implementation for POWER8.
21705 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
21706 __strcpy_power8 function.
21707 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
21708 stpcpy for POWER8.
21709 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
21710 strcpy for POWER8.
21711 * NEWS: Update.
21712
21713 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
21714
21715 [BZ #16009]
21716 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
21717 weights and rules. Use do_xfrm_cached if data fits in cache,
21718 do_xfrm otherwise. Moved former main loop to...
21719 * (do_xfrm_cached): New function.
21720 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
21721 find_idx, find_position and stack_push.
21722 * (find_idx): New function.
21723 * (find_position): Likewise.
21724 * localedata/sort-test.sh: Added test run for do_xfrm.
21725 * localedata/xfrm-test.c (main): Added command line option
21726 -nocache to run the test with strings that are too large for
21727 the STRXFRM cache.
21728
21729 2015-01-13 Torvald Riegel <triegel@redhat.com>
21730
21731 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
21732 variable to lll_futex_wake call, not the value itself.
21733
21734 2015-01-12 Joseph Myers <joseph@codesourcery.com>
21735
21736 [BZ #17803]
21737 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
21738 twom64. Adjust value to 0x1p-64L.
21739 (__scalblnl): Only return standard underflowing result for K <=
21740 -64 not K <= -63; adjust exponent for underflowing result by 64
21741 not 63.
21742 * math/libm-test.inc (scalbn_test_data): Add more tests.
21743 (scalbln_test_data): Likewise.
21744
21745 [BZ #17834]
21746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
21747 0x1p63L.
21748 (__scalblnl): Get new exponent of adjusted subnormal value from ES
21749 not HX.
21750 * math/libm-test.inc (scalbn_test_data): Add more tests.
21751 (scalbln_test_data): Likewise.
21752
21753 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21754 Stefani Seibold <stefani@seibold.net>
21755
21756 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
21757 (sysdep_routines): Add dl-vdso here, ...
21758 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
21759 (sysdep_routines): ... not here.
21760 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
21761 fallback when vDSO is not presented.
21762 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21763 Define with libc_hidden_proto/libc_hidden_data_def definitions.
21764 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
21765 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
21766 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
21767 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
21768 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
21769 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
21770 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
21771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
21772 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
21773 fallback configurable symbol when vDSO is not available.
21774 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
21775 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
21776 be able to redefine fallback symbol when vDSO is not available.
21777 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
21778 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
21779
21780 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21781
21782 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
21783 (TLS_INIT_TP): Add tm_capable initialization.
21784 (TLS_DEFINE_INIT_TP): Likewise.
21785 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
21786 TCB.
21787 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
21788 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
21789 calculation.
21790 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
21791 transactoion is lock elision is built and TCB tm_capable is set.
21792 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21794 (INTERNAL_SYSCALL_NCS): Likewise.
21795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21796 (INTERNAL_SYSCALL_NCS): Likewise.
21797 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
21798
21799 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
21800 for powerpc.
21801 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21802 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
21803 and remove it for 32 bits case.
21804 [pthread_rwlock_t] (__rwelision): New field for lock elision.
21805 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
21806 initialization.
21807 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
21808 Disable lock elision with rdlocks if elision is not available.
21809
21810 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
21811 (sysdep_routines): Add lock elision objects.
21812 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21813 [pthread_mutex_t] (__spins): Rework to add lock elision field.
21814 [pthread_mutex_t] (__elision): Add field.
21815 [__PTHREAD_SPINS]: Adjust to init lock elision field.
21816 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21817 elision definitions for powerpc.
21818 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
21819 implementation of lock elision for powerpc.
21820 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
21821 implementation of timed lock elision for powerpc.
21822 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
21823 implementation of trylock with lock elision for powerpc.
21824 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
21825 implementaion of unlock for lock elision for powerpc.
21826 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
21827 automatic enable lock elision for mutexes.
21828 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21829 transaction execution definitions for powerpc.
21830 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21831 definitions.
21832 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21833 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21834 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21835 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21836 * NEWS: Update.
21837
21838 2015-01-09 Roland McGrath <roland@hack.frob.com>
21839
21840 * sysdeps/posix/shm-directory.c: Use <> rather than ""
21841 for #include of <shm-directory.h>.
21842
21843 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
21844
21845 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21846 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21847
21848 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
21849
21850 [BZ #17791]
21851 * NEWS: Mention bug fix.
21852 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21853 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21854 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21855
21856 2015-01-09 Torvald Riegel <triegel@redhat.com>
21857
21858 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21859
21860 2015-01-09 Torvald Riegel <triegel@redhat.com>
21861
21862 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21863
21864 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
21865
21866 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21867 pointer and cast to uintptr_t.
21868
21869 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
21870
21871 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21872 removed.
21873 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21874
21875 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
21876
21877 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21878 of 0.
21879
21880 2015-01-08 Roland McGrath <roland@hack.frob.com>
21881
21882 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21883 <nptl/pthreadP.h> instead.
21884 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21885
21886 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21887 already defined.
21888 [__SIGRTMIN] (init): Function removed.
21889 [__SIGRTMIN] (initialized): Variable removed.
21890 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21891 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21892 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21893 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21894 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21895 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21896 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21897 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21898 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21899 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21900 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21901 * sysdeps/nptl/allocrtsig.c: New file.
21902 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21903 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21904 * sysdeps/generic/testrtsig.h: File removed.
21905
21906 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21907 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21908
21909 * nptl/nptl-init.c (pthread_functions): Conditionalize
21910 .ptr__nptl_setxid initialization on [SIGSETXID].
21911
21912 * sysdeps/nptl/sys/procfs.h: New file.
21913 * nptl_db/Makefile (headers): Add it.
21914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21915
21916 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21917 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21918 * nptl/pthread_attr_setaffinity.c: Include it.
21919 * nptl/pthread_setattr_default_np.c: Likewise.
21920 * nptl/check-cpuset.h: New file.
21921
21922 2015-01-08 Richard Henderson <rth@redhat.com>
21923
21924 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21925 (CFLAGS-tst-execstack-prog.c): Likewise.
21926 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21927
21928 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
21929 Sandra Loosemore <sandra@codesourcery.com>
21930 Andrew Jenner <andrew@codesourcery.com>
21931 Joseph Myers <joseph@codesourcery.com>
21932 Nathan Sidwell <nathan@codesourcery.com>
21933
21934 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21935 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21936 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21937 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21938 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21939 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21940 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21941 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21942 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21943 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21944 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21945 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21946 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21947 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21948 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21949 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21950 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21951
21952 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21953
21954 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21955 timespec struct member in syscall macro.
21956 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21957 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21958 first timeval struct member in syscall macro.
21959 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21960
21961 2015-01-07 Joseph Myers <joseph@codesourcery.com>
21962
21963 [BZ #17748]
21964 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21965 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21966 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21967 __feupdateenv and define as weak alias of __feupdateenv. Use
21968 libm_hidden_weak.
21969 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21970 libm_hidden_def.
21971 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21972 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
21973 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21974 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21975 libm_hidden_def.
21976 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21977 __feupdateenv and define as weak alias of __feupdateenv. Use
21978 libm_hidden_weak.
21979 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21980 libm_hidden_def.
21981 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21982 __feupdateenv and define as weak alias of __feupdateenv. Use
21983 libm_hidden_weak.
21984 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21985 libm_hidden_def.
21986 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21987 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21988 (__feupdateenv): Likewise.
21989 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21990 __feupdateenv and define as weak alias of __feupdateenv. Use
21991 libm_hidden_weak.
21992 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21993 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21994 libm_hidden_def.
21995 * sysdeps/tile/math_private.h (__feupdateenv): New inline
21996 function.
21997 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21998 libm_hidden_def.
21999 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22000 __feupdateenv instead of feupdateenv.
22001 (default_libc_feupdateenv_test): Likewise.
22002 (libc_feresetround_ctx): Likewise.
22003
22004 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22005
22006 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22007 prototype.
22008
22009 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
22010
22011 * posix/regcomp.c (parse_bracket_exp): Initialize type to
22012 COLL_SYM in a couple of places to avoid uninitialized variable
22013 wanings on tilegx gcc 4.8.2.
22014
22015 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22016
22017 * sysdeps/aarch64/strcpy.S: New file.
22018 * sysdeps/aarch64/stpcpy.S: New file.
22019 * NEWS: Updated.
22020
22021 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22022
22023 * sysdeps/aarch64/strrchr.S: New file.
22024 * NEWS: Updated.
22025
22026 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
22027
22028 [BZ #17658]
22029 * stdlib/setenv.c: Fix memory leak when setting large,
22030 duplicate string.
22031
22032 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
22033
22034 [BZ #17273]
22035 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22036 and tabs from buffer before parsing fstab entry.
22037 * misc/tst-mntent.c (main): Add test for mount entry with
22038 trailing spaces and tabs.
22039
22040 2015-01-06 Joseph Myers <joseph@codesourcery.com>
22041
22042 [BZ #17748]
22043 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
22044 * math/fesetround.c (fesetround): Rename to __fesetround and
22045 define as weak alias of __fesetround. Use libm_hidden_weak.
22046 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22047 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22048 * sysdeps/arm/fesetround.c (fesetround): Likewise.
22049 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22050 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22051 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22052 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22053 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22054 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22055 __fesetround_inline.
22056 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22057 __fesetround_inline instead of __fesetround.
22058 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22059 __fesetround and define as weak alias of __fesetround. Use
22060 libm_hidden_weak. Call __fesetround_inline instead of
22061 __fesetround.
22062 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22063 __fesetround and define as weak alias of __fesetround. Use
22064 libm_hidden_weak.
22065 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22066 Likewise.
22067 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22068 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22069 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22070 * sysdeps/tile/math_private.h (__fesetround): New inline function.
22071 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22072 __fesetround and define as weak alias of __fesetround. Use
22073 libm_hidden_weak.
22074 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22075 __fesetround instead of fesetround.
22076 (default_libc_feholdexcept_setround): Likewise.
22077 (libc_feholdsetround_ctx): Likewise.
22078 (libc_feholdsetround_noex_ctx): Likewise.
22079
22080 [BZ #17748]
22081 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22082 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22083 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22084 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22085 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22086 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22087 define as weak alias of __fesetenv. Use libm_hidden_weak.
22088 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22089 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22090 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22091 define as weak alias of __fesetenv. Use libm_hidden_weak.
22092 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22093 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22094 define as weak alias of __fesetenv. Use libm_hidden_weak.
22095 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22096 libm_hidden_def.
22097 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22098 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22099 Likewise.
22100 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22101 define as weak alias of __fesetenv. Use libm_hidden_weak.
22102 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22103 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22104 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22105 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22106 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22107 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22108 __fesetenv instead of fesetenv.
22109 (libc_feresetround_noex_ctx): Likewise.
22110 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22111 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22112 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22114 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22115 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22116 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22117 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22118 (__feupdateenv): Likewise.
22119 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22120 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22121 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22122 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22123
22124 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22125
22126 [BZ #17806]
22127 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22128 addresses have been freed.
22129
22130 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22131
22132 * resolv/res_init.c (__res_vinit): Improve comments about nserv
22133 and nservall.
22134
22135 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
22136
22137 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22138 Clean up check_pf allocation pattern. addresses
22139
22140 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22141
22142 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22143 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22144 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22145 * nptl/pthread_exit.c (__pthread_exit): Likewise.
22146 * nptl/pthread_join.c (pthread_join): Likewise.
22147 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22148 * sysdeps/posix/waitid.c (__waitid): Likewise.
22149 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22150 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22151 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22152 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22153 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22154 Likewise.
22155 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22156 (__libc_pread64): Likewise.
22157 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22158 (__libc_pwrite): Likewise.
22159 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22160 (__libc_pwrite64): Likewsie.
22161 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22162 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22163 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22164 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22165 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22166 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22167 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22169 Likewise.
22170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22171 (__libc_pread64): Likewise.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22173 Likewise.
22174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22175 (__libc_pwrite64): Likewise.
22176 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22177 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22178 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22179 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22180 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22181 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22182 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22183 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22184 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22185 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22186 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22187 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22188 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22189 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22190 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22191 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22192 Likewise.
22193
22194 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
22195
22196 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22197 (CFLAGS-test-double.c): Likewise.
22198 (CFLAGS-test-ldouble.c): Likewise.
22199 (CPPFLAGS-test-ifloat.c): Likewise.
22200 (CPPFLAGS-test-idouble.c): Likewise.
22201 (CPPFLAGS-test-ildoubl.c): Likewise.
22202 (CFLAGS-test-test-fenv.c): Remove variable.
22203 (CFLAGS-test-misc.c): Likewise.
22204
22205 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
22206
22207 [BZ #17797]
22208 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22210 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22211 CLOCKS_PER_SEC == 1000000.
22212 * time/clocktest.c (main): Replace %ld with %jd and cast to
22213 intmax_t.
22214
22215 2015-01-05 Roland McGrath <roland@hack.frob.com>
22216
22217 * sysdeps/generic/unwind-resume.h: New file.
22218 * sysdeps/gnu/unwind-resume.c: Include it.
22219 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22220 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22221 argument list.
22222 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22223 global rather than static.
22224 (_Unwind_Resume): Update user.
22225 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22226 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
22227 rather than static. Add __attribute__ ((cold)).
22228 (_Unwind_Resume, __gcc_personality_v0): Update callers.
22229 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22230 * sysdeps/arm/arm-unwind-resume.S: New file.
22231 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22232 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22233 * sysdeps/arm/Makefile [$(subdir) = csu]
22234 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22235 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22236 Add rt-arm-unwind-resume.
22237 [$(subdir) = nptl]
22238 (libpthread-sysdep_routines, libpthread-shared-only-routines):
22239 Add pt-arm-unwind-resume.
22240 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22241 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22242
22243 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22244
22245 [BZ #17748]
22246 * include/fenv.h (__feholdexcept): Declare. Use
22247 libm_hidden_proto.
22248 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22249 define as weak alias of __feholdexcept. Use libm_hidden_weak.
22250 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22251 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22252 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22253 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22254 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22255 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22256 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22257 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22258 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22259 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22260 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22261 (feholdexcept): Likewise.
22262 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22263 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22264 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22265 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22266 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22267 __feholdexcept instead of feholdexcept.
22268 (default_libc_feholdexcept_setround): Likewise.
22269
22270 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22271
22272 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22273 to avoid using stl/str to align destination.
22274
22275 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22276
22277 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22278
22279 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22280
22281 [BZ #17796]
22282 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22283 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22284 Define as weak alias not strong alias.
22285
22286 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
22287
22288 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22289 bltzal with addiupc.
22290 (RTLD_START): Ditto.
22291
22292 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
22293
22294 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22295 for __vdso_* functions in declarations.
22296 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22297 definitions.
22298 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22299 INTERNAL_VSYSCALL): Use struct return types to check for error.
22300
22301 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22302 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22303 function with cast from llround().
22304 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22305 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22306 Define.
22307
22308 2015-01-05 Joseph Myers <joseph@codesourcery.com>
22309
22310 [BZ #17793]
22311 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22312 Define as weak alias not strong alias.
22313
22314 [BZ #17635]
22315 * ctype/ctype-c99.c: New file. isblank implementation moved from
22316 ...
22317 * ctype/ctype-extn.c: ... here.
22318 (__isblank_l): Move to ...
22319 * ctype/ctype-c99_l.c: ... here. New file.
22320 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22321 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22322 Remove variable.
22323 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22324 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22325 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22326 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22327 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22328
22329 [BZ #17777]
22330 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22331 (posix_fadvise64): Define as weak alias not strong alias.
22332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22333 (posix_fallocate64): Likewise.
22334 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22335 Remove variable.
22336 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22337 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22338 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22339 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22340 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22341
22342 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
22343
22344 [BZ #16191]
22345 * NEWS: Mention bug fix.
22346 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
22347 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
22348 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
22349 (HOST_STACK_END_ADDR): Likewise.
22350
22351 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22352
22353 [BZ #17748]
22354 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
22355 * math/fegetround.c (fegetround): Rename to __fegetround and
22356 define as weak alias of __fegetround. Use libm_hidden_weak.
22357 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
22358 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
22359 * sysdeps/arm/fegetround.c (fegetround): Likewise.
22360 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
22361 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22362 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
22363 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
22364 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
22365 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22366 Undefine after rather than before function definition; use
22367 parentheses around function name in definition.
22368 (__fegetround): Also undefine macro after function definition.
22369 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
22370 __fegetround and define as weak alias of __fegetround. Use
22371 libm_hidden_weak. Do not undefine as macro.
22372 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22373 Likewise.
22374 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
22375 __fegetround and define as weak alias of __fegetround. Use
22376 libm_hidden_weak.
22377 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22378 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22379 * sysdeps/tile/math_private.h (__fegetround): New inline function.
22380 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
22381 __fegetround and define as weak alias of __fegetround. Use
22382 libm_hidden_weak.
22383 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
22384 __fegetround instead of fegetround.
22385
22386 [BZ #17782]
22387 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
22388 Condition macro definition on [__USE_MISC].
22389
22390 [BZ #17781]
22391 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
22392 (struct sigaction): Change type of sa_flags field to int.
22393
22394 [BZ #17780]
22395 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
22396 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
22397 __glibc_reserved0.
22398
22399 * nptl/version.c (banner): Use single year in copyright notice.
22400
22401 * NEWS: Update copyright dates.
22402 * catgets/gencat.c (print_version): Likewise.
22403 * csu/version.c (banner): Likewise.
22404 * debug/catchsegv.sh: Likewise.
22405 * debug/pcprofiledump.c (print_version): Likewise.
22406 * debug/xtrace.sh (do_version): Likewise.
22407 * elf/ldconfig.c (print_version): Likewise.
22408 * elf/ldd.bash.in: Likewise.
22409 * elf/pldd.c (print_version): Likewise.
22410 * elf/sotruss.sh: Likewise.
22411 * elf/sprof.c (print_version): Likewise.
22412 * iconv/iconv_prog.c (print_version): Likewise.
22413 * iconv/iconvconfig.c (print_version): Likewise.
22414 * locale/programs/locale.c (print_version): Likewise.
22415 * locale/programs/localedef.c (print_version): Likewise.
22416 * login/programs/pt_chown.c (print_version): Likewise.
22417 * malloc/memusage.sh (do_version): Likewise.
22418 * malloc/memusagestat.c (print_version): Likewise.
22419 * malloc/mtrace.pl: Likewise.
22420 * manual/libc.texinfo: Likewise.
22421 * nptl/version.c (banner): Likewise.
22422 * nscd/nscd.c (print_version): Likewise.
22423 * nss/getent.c (print_version): Likewise.
22424 * nss/makedb.c (print_version): Likewise.
22425 * posix/getconf.c (main): Likewise.
22426 * scripts/test-installation.pl: Likewise.
22427 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22428
22429 2015-01-02 Will Newton <will.newton@linaro.org>
22430
22431 * sysdeps/arm/armv7/configure: Removed.
22432 * sysdeps/arm/armv7/configure.ac: Likewise.
22433
22434 2015-01-02 Joseph Myers <joseph@codesourcery.com>
22435
22436 * All files with FSF copyright notices: Update copyright dates
22437 using scripts/update-copyrights.
22438 * intl/plural.c: Regenerated.
22439 * locale/programs/charmap-kw.h: Likewise.
22440 * locale/programs/locfile-kw.h: Likewise.
22441
22442 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22443
22444 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
22445
22446 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22447
22448 [BZ #17748]
22449 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
22450 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
22451 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22452 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22453 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22454 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22455 define as weak alias of __fegetenv. Use libm_hidden_weak.
22456 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
22457 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22458 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22459 define as weak alias of __fegetenv. Use libm_hidden_weak.
22460 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22461 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22462 define as weak alias of __fegetenv. Use libm_hidden_weak.
22463 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
22464 libm_hidden_def.
22465 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
22466 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
22467 Likewise.
22468 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
22469 define as weak alias of __fegetenv. Use libm_hidden_weak.
22470 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22471 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
22472 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
22473 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
22474 and define as weak alias of __fegetenv. Use libm_hidden_weak.
22475 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
22476 __fegetenv instead of fegetenv.
22477 (libc_feholdsetround_noex_ctx): Likewise.
22478
22479 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
22480
22481 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
22482 (Elf_MIPS_ABIFlags_v0): New structure.
22483 (EF_MIPS_FP64): Define.
22484 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
22485 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
22486 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
22487 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
22488 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
22489 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
22490 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
22491 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
22492 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
22493 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
22494 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
22495 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
22496 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
22497 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
22498 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
22499 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
22500 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
22501 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
22502 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
22503 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
22504 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
22505 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
22506 field.
22507 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
22508 EF_MIPS_FP64.
22509 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
22510 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
22511 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
22512 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
22513 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
22514 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
22515 * sysdeps/mips/tst-abi-interlink.c: Likewise.
22516 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
22517 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
22518 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
22519 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
22520 record the current FP ABI extension.
22521 (mips-mode-switch): Define to show if kernel headers support mode
22522 switching.
22523 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22524 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
22525 supported SYSV ABI version to 3.
22526 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
22527 feature.
22528
22529 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22530 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22531
22532 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
22533 path.
22534 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
22535
22536 2014-12-31 Joseph Myers <joseph@codesourcery.com>
22537
22538 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
22539 __fegetround and redefine to call __fegetround. Remove condition
22540 on [!__NO_MATH_INLINES].
22541 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
22542 function.
22543 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
22544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22545 Remove macro.
22546 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
22547 instead of <fenv_libc.h>.
22548 (__llrintl): Call fegetround instead of __fegetround.
22549 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
22550 instead of <fenv_libc.h>.
22551 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
22552 (__lrintl): Call fegetround instead of __fegetround.
22553 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
22554 instead of <fenv_libc.h>.
22555 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
22556 (__rintl): Call fegetround instead of __fegetround.
22557
22558 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22559
22560 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
22561 arrays.
22562
22563 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
22564
22565 [BZ #17775]
22566 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
22567 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
22568 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
22569
22570 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
22571
22572 * sysdeps/i386/tls-macros.h: Include <features.h>.
22573 (TLS_LE): Use non-PIC version for GCC >= 5.0.
22574 (TLS_IE): Likewise.
22575 (TLS_LD): Likewise.
22576 (TLS_GD): Likewise.
22577 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
22578 define for GCC >= 5.0.
22579
22580 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
22581
22582 * math/test-fenv.c (test_single_exception, set_single_exc,
22583 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
22584 feexcp_mask_test, feenable_test, fe_single_test): Add
22585 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
22586 case where they are not used.
22587 * math/libm-test.inc: Likewise.
22588 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
22589 unused in the absence of FP rounding/exception support.
22590 * stdio-common/tst-printf-round.c: Likewise.
22591 * stdlib/tst-strtod-round.c: Likewise.
22592 * stdlib/tst-strtod-underflow.c: Likewise.
22593
22594 2014-12-30 Joseph Myers <joseph@codesourcery.com>
22595
22596 [BZ #17723]
22597 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
22598 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
22599 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22600 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22601 libm_hidden_weak.
22602 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
22603 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22604 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
22605 libm_hidden_def.
22606 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22607 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22608 libm_hidden_weak.
22609 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
22610 Likewise.
22611 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
22612 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22613 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22614 libm_hidden_weak.
22615 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22616 libm_hidden_def.
22617 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22618 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
22619 (__feraiseexcept): Likewise.
22620 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
22621 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22622 libm_hidden_weak.
22623 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
22624 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
22625 libm_hidden_def.
22626 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
22627 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
22628 Use libm_hidden_def.
22629 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
22630 libm_hidden_def.
22631 (feraiseexcept): Define as weak not strong alias. Use
22632 libm_hidden_weak.
22633 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
22634 New inline function. Factored out of ...
22635 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
22636 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
22637 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
22638 feraiseexcept.
22639 * math/w_acos.c (__acos): Likewise.
22640 * math/w_asin.c (__asin): Likewise.
22641 * math/w_ilogb.c (__ilogb): Likewise.
22642 * math/w_j0.c (y0): Likewise.
22643 * math/w_j1.c (y1): Likewise.
22644 * math/w_jn.c (yn): Likewise.
22645 * math/w_log.c (__log): Likewise.
22646 * math/w_log10.c (__log10): Likewise.
22647 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
22648 * sysdeps/aarch64/fpu/math_private.h
22649 (libc_feupdateenv_test_aarch64): Likewise.
22650 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22651 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
22652 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
22653 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22654 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22655 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22656 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
22657 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22658 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22659 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22660
22661 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 [BZ #17732]
22664 * io/test-utime.c (main): Replace %ld with %jd and cast to
22665 intmax_t.
22666 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
22667 * nptl/tst-mutex5.c: Include <stdint.h>.
22668 (do_test): Replace %ld with %jd and cast to intmax_t.
22669 * posix/tst-regex.c (run_test): Likewise.
22670 (run_test_backwards): Likewise.
22671 * rt/tst-clock.c: Include <stdint.h>.
22672 (clock_test): Replace %ld with %jd and cast to intmax_t.
22673 * rt/tst-cpuclock1.c: Include <stdint.h>.
22674 (do_test): Replace %lu with %ju and cast to uintmax_t.
22675 * rt/tst-cpuclock2.c: Include <stdint.h>.
22676 (do_test): Replace %lu with %ju and cast to uintmax_t.
22677 * rt/tst-mqueue1.c: Include <stdint.h>.
22678 (check_attrs): Replace %ld with %jd and cast to intmax_t.
22679 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
22680 intmax_t.
22681 * rt/tst-mqueue4.c (do_test): Likewise.
22682 * rt/tst-timer4.c: Include <stdint.h>.
22683 (check_ts): Replace %ld with %jd and cast to intmax_t.
22684 (do_test): Likewise.
22685 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
22686 and cast to intmax_t.
22687 * sysdeps/pthread/tst-timer.c (main): Likewise.
22688 * time/clocktest.c (main): Likewise.
22689 * time/tst-posixtz.c (do_test): Likewise.
22690 * timezone/tst-timezone.c (main): Likewise.
22691
22692 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
22693 H.J. Lu <hongjiu.lu@intel.com>
22694
22695 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
22696 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
22697 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
22698 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
22699 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
22700 version if bit_Fast_Unaligned_Load is set.
22701 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22702 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22703 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22704 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22705 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22706 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22708 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
22709 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
22710 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
22711 to 4.
22712 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
22713 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
22714 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
22715 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
22716
22717 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
22718
22719 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
22720 instead of #if to avoid a Wundef warning.
22721 * stdlib/tst-limits.c (do_test): Likewise.
22722
22723 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
22724 parallel other exception macros.
22725 (fegetenv): Convert from macro to extern inline so that it applies
22726 retroactively to inline functions already seen by the compiler.
22727 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
22728
22729 * posix/Makefile (before-compile): Use $(objpfx) for
22730 posix-conf-vars-def.h.
22731
22732 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22733
22734 * posix/getconf.c (main): Use size_t for type of I.
22735 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
22736 NSPEC.
22737
22738 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
22739 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
22740 * posix/posix-envs.def: Likewise.
22741 * sysdeps/posix/sysconf.c: Likewise.
22742 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
22743 (specs): Remove array.
22744 * scripts/gen-posix-conf-vars.awk: Support generation of specs
22745 array.
22746
22747 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
22748 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
22749 (__sysconf): Use CONF_IS_* macros.
22750
22751 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
22752 ($(objpfx)posix-conf-vars-def.h): New target.
22753 * posix/posix-conf-vars.list: New file.
22754 * posix/posix-conf-vars.h: New file.
22755 * posix/confstr.c: Include posix-conf-vars.h.
22756 (confstr): Use CONF_IS_* macros.
22757 * posix/posix-envs.def: Include posix-conf-vars.h. Use
22758 CONF_IS_* macros.
22759 * scripts/gen-posix-conf-vars.awk: New file.
22760
22761 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
22762
22763 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
22764 fegetround): Add no-op macros to avoid linknamespace issues.
22765
22766 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
22767 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
22768
22769 * sysdeps/unix/sysv/linux/tile/sysdep.h
22770 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
22771 assembly-specific section to avoid a redefinition warning.
22772
22773 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
22774 long before casting to pointer to avoid a cast warning.
22775
22776 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
22777
22778 * sysdeps/tile/tilegx/Implies: New file.
22779
22780 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
22781
22782 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
22783
22784 2014-12-23 Florian Weimer <fweimer@redhat.com>
22785
22786 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
22787
22788 2014-12-22 Joseph Myers <joseph@codesourcery.com>
22789
22790 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
22791 not define.
22792 * sysdeps/unix/sysv/linux/utimes.c: Do not include
22793 <kernel-features.h>.
22794 (__utimes) [__NR_utimes]: Make code unconditional.
22795 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
22796 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22797 (__ASSUME_UTIMES): Do not undefine.
22798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22799 (__ASSUME_UTIMES): Likewise.
22800 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22801 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
22802 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
22803 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
22804
22805 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
22806
22807 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
22808
22809 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
22810
22811 [BZ #17747]
22812 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
22813 alias to weak alias for j0l, y0l.
22814 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
22815 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
22816
22817 [BZ #17746]
22818 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
22819 conversion.
22820
22821 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
22822
22823 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
22824 to zero if not already defined.
22825
22826 2014-12-22 Joseph Myers <joseph@codesourcery.com>
22827
22828 [BZ #17724]
22829 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22830 (__kernel_standard_f): Remove. Moved to k_standardf.c.
22831 (__kernel_standard_l): Remove. Moved to k_standardl.c with
22832 (char *) casts added.
22833 * sysdeps/ieee754/k_standardf.c: New file.
22834 * sysdeps/ieee754/k_standardl.c: Likewise.
22835 * math/Makefile (libm-support): Remove k_standard.
22836 (libm-calls): Add k_standard.
22837
22838 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22839
22840 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22841 Optimize to avoid an unnecessary FPCR read.
22842
22843 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22844
22845 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22846 Optimize to reduce FPCR/FPSR accesses.
22847
22848 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22849
22850 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22851 Call libc_fetestexcept_aarch64.
22852
22853 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
22854
22855 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22856 Call libc_fesetround_aarch64.
22857
22858 2014-12-22 Joseph Myers <joseph@codesourcery.com>
22859
22860 [BZ #17733]
22861 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22862 (__bind): Do not define as weak alias.
22863 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22864 define.
22865 (__getsockname): Do not define as weak alias.
22866
22867 2014-12-22 Will Newton <will.newton@linaro.org>
22868
22869 * manual/install.texi: Document that we require bison 2.7
22870 or above.
22871 * INSTALL: Regenerate.
22872 * configure.ac: Use AC_CHECK_PROG_VER instead of
22873 AC_PATH_PROG when checking for bison and check for
22874 version 2.7 or above.
22875 * configure: Regenerate.
22876
22877 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
22878
22879 [BZ #17745]
22880 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22881 * sysdeps/tile/ffsll.c (ffsll): To here.
22882
22883 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22884
22885 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
22886
22887 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22888 if not defined.
22889 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22890 definition.
22891 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22892 hidden ___tls_get_addr.
22893 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22894 hidden __tls_get_addr.
22895 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22896 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22897 Likewise.
22898
22899 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
22900
22901 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22902 _dl_init call.
22903
22904 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
22905
22906 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22907 from "call _dl_init@PLT".
22908 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22909
22910 2014-12-21 Anders Kaseorg <andersk@mit.edu>
22911
22912 * manual/search.texi: (Array Sort Function): Clarify stable sorting
22913 guarantees.
22914
22915 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
22916
22917 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22918
22919 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
22920
22921 [BZ #17744]
22922 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22923 strnlen.
22924
22925 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
22926
22927 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22928 of multu on MIPSr6.
22929 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22930 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22931 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22932 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22933 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22934
22935 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
22936
22937 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22938 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22939 (PTR_SUBU): Use subu for mips32r6/mips64r6.
22940 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22941 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22942 mips32r6/mips64r6.
22943 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22944
22945 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
22946
22947 * string/strncat.c (STRNCAT): Simplify implementation.
22948
22949 2014-12-19 David S. Miller <davem@davemloft.net>
22950
22951 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22952 access the quad as both a long double and as a series of 4 words.
22953
22954 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22955 link_map->l_info array access.
22956
22957 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
22958
22959 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22960
22961 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22962 * math/atest-exp2.c (TIMEOUT): Likewise.
22963 * math/atest-sincos.c (TIMEOUT): Likewise.
22964
22965 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
22966
22967 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22968 -Wno-error with -fno-builtin-lround.
22969
22970 2014-12-19 Torvald Riegel <triegel@redhat.com>
22971
22972 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22973 Contains futex constants and functions moved over from ...
22974 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
22975 <lowlevellock-futex.h>.
22976 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22977 (lll_timedwait_tid): Add comments and parentheses around macro
22978 arguments.
22979
22980 2014-12-19 Torvald Riegel <triegel@redhat.com>
22981
22982 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22983 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
22984 (__lll_private_flag): Remove.
22985 (lll_futex_wait): Likewise.
22986 (lll_futex_timed_wait): Likewise.
22987 (lll_futex_wake): Likewise.
22988 (lll_futex_requeue): Likewise.
22989 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22990 (__lll_timedwait_tid): Spell out argument names.
22991 (lll_timedwait_tid): Add comments and parentheses around macro
22992 arguments.
22993 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22994 LLL_SHARED and LLL_PRIVATE usable from assembly code.
22995
22996 2014-12-19 Torvald Riegel <triegel@redhat.com>
22997
22998 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22999 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23000 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23001 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23002 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23003 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23004 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23005 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23006 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23007 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23008 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23009 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23010 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23011 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23012 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23013 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23014 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23015 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23016 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23017
23018 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23019
23020 * sysdeps/x86_64/x32/Makefile: New file.
23021
23022 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23023
23024 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23025 1L with (mp_limb_t) 1.
23026
23027 2014-12-17 Roland McGrath <roland@hack.frob.com>
23028
23029 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23030 * nptl/libc_pthread_init.c: ... here.
23031 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23032 * nptl/register-atfork.c: ... here.
23033
23034 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23035 Use pthread_sigmask rather than INTERNAL_SYSCALL.
23036 Use assert_perror to check its return value.
23037 (__gai_create_helper_thread): Likewise.
23038
23039 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23040
23041 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23042
23043 2014-12-17 Joseph Myers <joseph@codesourcery.com>
23044
23045 [BZ #17725]
23046 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23047 __profil_counter.
23048 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23049 Likewise.
23050 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23051 Likewise.
23052 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23053 Likewise.
23054 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23055 (profil_counter): Likewise.
23056 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23057 (profil_counter): Likewise.
23058 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23059 Likewise.
23060 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23061 Likewise.
23062 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23063 (profil_counter): Likewise.
23064 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23065 Likewise.
23066 [!__profil_counter] (profil_counter): Define as weak alias of
23067 __profil_counter.
23068 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23069 (profil_counter): Rename to __profil_counter.
23070 [!__profil_counter] (profil_counter): Define as weak alias of
23071 __profil_counter.
23072 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23073 (profil_counter): Rename to __profil_counter.
23074 [!__profil_counter] (profil_counter): Define as weak alias of
23075 __profil_counter.
23076 * sysdeps/posix/profil.c: Update comment referring to
23077 profil_counter.
23078 (__profil): Use __profil_counter instead of profil_counter.
23079 * sysdeps/posix/sprofil.c (profil_counter): Rename to
23080 __profil_counter. Use __profil_counter_ushort and
23081 __profil_counter_uint in definitions.
23082 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23083 instead of profil_counter_uint and profil_counter_ushort.
23084
23085 [BZ #17722]
23086 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23087 define as weak alias of __inet_makeaddr.
23088 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23089 as weak alias of __inet_addr.
23090 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23091 as weak alias of __inet_pton. Use libc_hidden_weak.
23092 * include/arpa/inet.h (__inet_pton): Declare. Use
23093 libc_hidden_proto.
23094 (inet_makeaddr): Don't use libc_hidden_proto.
23095 (__inet_makeaddr): Declare. Use libc_hidden_proto.
23096 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23097 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
23098 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23099 Remove variable.
23100 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23101 (test-xfail-POSIX/time.h/linknamespace): Likewise.
23102
23103 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
23104
23105 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23106
23107 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23108
23109 * stdio-common/bug-vfprintf-nargs.c (do_test):
23110 Cast value to intptr_t to avoid format warning
23111 for usage with PRIdPTR printing macro.
23112
23113 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23114
23115 * libio/tst-widetext.c (do_test):
23116 Use format type %td instead of %Zd for ptrdiff_t
23117 in order to avoid format warning.
23118
23119 2014-12-17 Andreas Schwab <schwab@suse.de>
23120
23121 * nscd/mem.c (gc): Add size_t cast to match printf format.
23122
23123 2014-12-16 Roland McGrath <roland@hack.frob.com>
23124
23125 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23126 (init): Apply PTR_MANGLE to pointers before storing them.
23127 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23128 before using them.
23129
23130 2014-12-16 Joseph Myers <joseph@codesourcery.com>
23131
23132 [BZ #17719]
23133 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23134 define as weak alias of __memrchr.
23135 (__memrchr): Do not define as strong alias of memrchr.
23136 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23137 Remove variable.
23138 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23139 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23140 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23141
23142 [BZ #17717]
23143 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23144 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
23145 (if_indextoname): Rename to __if_indextoname and define as weak
23146 alias of __if_indextoname. Use libc_hidden_weak.
23147 (if_freenameindex): Rename to __if_freenameindex and define as
23148 weak alias of __if_freenameindex.
23149 (if_nameindex): Rename to __if_nameindex and define as weak alias
23150 of __if_nameindex.
23151 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23152 __if_nametoindex and define as weak alias of __if_nametoindex.
23153 Use libc_hidden_weak.
23154 (if_freenameindex): Rename to __if_freenameindex and define as
23155 weak alias of __if_freenameindex.
23156 (if_nameindex): Rename to __if_nameindex and define as weak alias
23157 of __if_nameindex.
23158 (if_indextoname): Rename to __if_indextoname and define as weak
23159 alias of __if_indextoname. Use libc_hidden_weak.
23160 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23161 __if_nametoindex and define as weak alias of __if_nametoindex.
23162 Use libc_hidden_weak.
23163 (if_freenameindex): Rename to __if_freenameindex and define as
23164 weak alias of __if_freenameindex. Use libc_hidden_weak.
23165 (if_nameindex_netlink): Use __if_freenameindex instead of
23166 if_freenameindex.
23167 (if_nameindex): Rename to __if_nameindex and define as weak alias
23168 of __if_nameindex. Use libc_hidden_weak.
23169 (if_indextoname): Rename to __if_indextoname and define as weak
23170 alias of __if_indextoname. Use libc_hidden_weak.
23171 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23172 libc_hidden_proto.
23173 [!_ISOMAC] (__if_freenameindex): Likewise.
23174 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23175 if_nametoindex.
23176 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23177 variable.
23178 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23179 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23180 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23181 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23182 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23183 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23184 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23185
23186 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23187 Remove variable.
23188 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23189 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23190
23191 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23192
23193 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23194 subscript above bounds'
23195
23196 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23197 bounds.
23198
23199 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
23200
23201 * libio/tst-fopenloc.c: Use test-skeleton.c.
23202
23203 * stdlib/tst-bsearch.c: Use test-skeleton.c.
23204 (entry): Rename to ITEM.
23205 (do_test, comp): Adjust.
23206
23207 * stdio-common/tst-fseek.c: Use test-skeleton.c.
23208
23209 2014-12-16 Torvald Riegel <triegel@redhat.com>
23210
23211 * string/tester.c: Include <libc-internal.h>.
23212 (test_memset): Ignore -Wmemset-transposed-args.
23213
23214 2014-12-16 Torvald Riegel <triegel@redhat.com>
23215
23216 * misc/tst-mntent2.c (do_test): Fix warning.
23217
23218 2014-12-16 Torvald Riegel <triegel@redhat.com>
23219
23220 * elf/tst-unique4lib.cc(a): Mark as used.
23221
23222 2014-12-16 Florian Weimer <fweimer@redhat.com>
23223
23224 [BZ #17630]
23225 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23226 names.
23227
23228 2014-12-16 Allan McRae <allan@archlinux.org>
23229
23230 * stdio-common/Makefile (tests): Re-add bug26.
23231
23232 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
23233
23234 [BZ #17657]
23235 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23236 static array.
23237
23238 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
23239
23240 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23241 (__lll_lock_wait): Likewise.
23242 (__lll_timedlock_wait): Likewise.
23243 (__lll_timedwait_tid): Likewise.
23244 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23245 (__lll_robust_timedlock_wait): Likewise.
23246 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23247 (lll_cond_trylock): Likewise.
23248 (__lll_lock): Likewise.
23249 (__lll_robust_lock): Likewise.
23250 (__lll_cond_lock): Likewise.
23251 (lll_robust_cond_lock): Likewise.
23252 (__lll_timedlock): Likewise.
23253 (__lll_robust_timedlock): Likewise.
23254 (__lll_unlock): Likewise.
23255 (__lll_robust_unlock): Likewise.
23256 (lll_wait_tid): Likewise.
23257 (lll_timedwait_tid): Likewise.
23258
23259 2014-12-15 Torvald Riegel <triegel@redhat.com>
23260
23261 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23262
23263 2014-12-15 Torvald Riegel <triegel@redhat.com>
23264
23265 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23266
23267 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23268
23269 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23270 * stdio-common/tst-sprintf.c: Likewise.
23271
23272 2014-12-15 Torvald Riegel <triegel@redhat.com>
23273
23274 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23275
23276 2014-12-15 Jeff Law <law@redhat.com>
23277
23278 [BZ #16617]
23279 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23280 on the heap. (CVE-2012-3406)
23281 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23282 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
23283 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23284
23285 2014-12-15 Will Newton <will.newton@linaro.org>
23286
23287 * manual/install.texi: Bump required version of texinfo
23288 to 4.7 from 4.5.
23289 * INSTALL: Regenerated.
23290 * configure.ac: Check for makeinfo version 4.7 and above.
23291 * configure: Regenerated.
23292
23293 2014-12-12 Roland McGrath <roland@hack.frob.com>
23294
23295 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23296 PREFIX, string constant to insert between directory and name.
23297 * sysdeps/posix/shm_open.c: Update caller.
23298 * sysdeps/posix/shm_unlink.c: Likewise.
23299 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23300 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23301 (SEM_SHM_PREFIX): New macro.
23302 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23303 [$(have-thread-library) = no].
23304 * nptl/Makefile (libpthread-routines): Add shm-directory.
23305 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23306 * sysdeps/nptl/shm-directory.h: New file.
23307 * sysdeps/posix/shm-directory.c
23308 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23309 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23310 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23311 INTERNAL_SYSCALL.
23312 (__where_is_shmfs): Function removed.
23313 (mountpoint, defaultmount, defaultdir, __namedsem_once):
23314 Variables removed.
23315 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23316 Use SHM_GET_NAME.
23317 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
23318
23319 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23320 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23321 unconditional for use inside libpthread.
23322 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23323
23324 2014-12-12 Roland McGrath <roland@hack.frob.com>
23325
23326 * nptl/pthread_getaffinity.c: New file.
23327 * nptl/pthread_setaffinity.c: New file.
23328 * nptl/pthread_getname.c: New file.
23329 * nptl/pthread_setname.c: New file.
23330
23331 * nptl/pthread_create.c (START_THREAD_DEFN)
23332 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23333
23334 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23335 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23336
23337 * resolv/res_send.c (send_vc): Disable warning resplen may
23338 be used uninitialized.
23339
23340 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23341
23342 * nptl/tst-mutex6.c
23343 (ATTR_NULL): New define checks ATTR against NULL.
23344 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23345 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
23346
23347 2014-12-11 James Lemke <jwlemke@codesourcery.com>
23348
23349 [BZ #17581]
23350 * malloc/hooks.c
23351 (mem2mem_check): Revert my previous change.
23352 (malloc_check_get_size): Revert my previous change.
23353 (mem2chunk_check): Revert my previous change.
23354
23355 2014-12-11 Roland McGrath <roland@hack.frob.com>
23356
23357 * sysdeps/posix/shm-directory.c: New file.
23358 * sysdeps/posix/shm-directory.h: New file.
23359 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
23360 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
23361 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
23362 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
23363 Transmute EPERM to EACCES.
23364 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
23365 from ...
23366 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
23367 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
23368
23369 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23370
23371 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
23372 pointer and cast to uintptr_t.
23373 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
23374 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
23375 Add cast to avoid warning.
23376 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
23377
23378 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23379
23380 * nptl/semaphore.h: Move to ...
23381 * sysdeps/pthread/semaphore.h: ... here.
23382 * Makefile (installed-headers): Change nptl/semaphore.h to
23383 sysdeps/pthread/semaphore.h.
23384
23385 2014-12-11 Roland McGrath <roland@hack.frob.com>
23386
23387 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
23388 generated error format strings.
23389
23390 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
23391 -Wformat-extra-args warnings for scanf formats.
23392 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
23393 test of zero-length format (duh).
23394 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
23395 corner-case scanf format test.
23396 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
23397 generated fprintf format string.
23398 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
23399 corner-case sprintf format tests.
23400 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
23401 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
23402 -Wformat-extra-args warnings throughout.
23403 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
23404 (CFLAGS-scanf4.c): Likewise.
23405 (CFLAGS-scanf7.c): Likewise.
23406 (CFLAGS-tst-sprintf.c): Likewise.
23407 (CFLAGS-tst-printf.c): Likewise.
23408 (CFLAGS-tst-printfsz.c): Likewise.
23409
23410 2014-12-11 Joseph Myers <joseph@codesourcery.com>
23411
23412 * include/cpio.h: New file.
23413 * include/fmtmsg.h: Likewise.
23414
23415 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
23416 corresponding format argument to size_t.
23417 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
23418 arguments.
23419 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
23420 corresponding format argument to size_t.
23421 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
23422 arguments.
23423 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
23424 corresponding format argument to size_t.
23425 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
23426 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
23427 (CFLAGS-tst-mbswcs2.c): Likewise.
23428 (CFLAGS-tst-mbswcs3.c): Likewise.
23429 (CFLAGS-tst-mbswcs4.c): Likewise.
23430 (CFLAGS-tst-mbswcs5.c): Likewise.
23431 (CFLAGS-tst-trans.c): Likewise.
23432
23433 2014-12-11 Roland McGrath <roland@hack.frob.com>
23434
23435 * posix/regexbug1.c (main): Use "%s" format with regerror results,
23436 rather than assuming they won't contain any '%'s.
23437
23438 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
23439
23440 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
23441 inhibit_loop_to_libcall to avoid recursive calls.
23442 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
23443 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
23444
23445 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
23446
23447 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
23448 prototype.
23449
23450 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23451
23452 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
23453 integer value instead of boolean.
23454
23455 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
23456
23457 * malloc/malloc.c: Fix powerof2 check.
23458
23459 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23460
23461 * locale/programs/locfile.h (maybe_swap_uint32):
23462 Remove inline and add unused attribute.
23463
23464 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23465
23466 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23467 Truncating assembler expression to a .long expression.
23468
23469 2014-12-11 Andreas Schwab <schwab@suse.de>
23470
23471 * elf/rtld.c (struct map_args): Constify str member.
23472 (do_preload): Constify fname argument.
23473
23474 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23475
23476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
23477 constants definition.
23478
23479 2014-12-11 Andreas Schwab <schwab@suse.de>
23480
23481 [BZ #16657]
23482 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
23483 FORCE_ELISION instead of DO_ELISION.
23484 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
23485 Remove.
23486 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
23487 Likewise.
23488
23489 * iconvdata/gconv-modules: Remove duplicate entry.
23490
23491 2014-12-11 Will Newton <will.newton@linaro.org>
23492
23493 Merge gettext 0.19.3 into intl/.
23494
23495 This involves a number of cosmetic changes to comments
23496 and ANSI function definitions and prototypes throughout
23497 all the files. The gettext copyright header is used but
23498 with the date ranges taken from the glibc copy.
23499
23500 * NEWS: Add gettext merge to 2.21.
23501 * intl/bindtextdom.c: Switch to gettext copyright.
23502 Use ANSI definitions and prototypes.
23503 Use gl_* locking primitives rather than __libc_* ones.
23504 Use __builtin_expect rather than __glibc_likely/unlikely.
23505 * intl/dcgettext.c: Switch to gettext copyright.
23506 Use ANSI definitions and prototypes.
23507 * intl/dcigettext.c: Switch to gettext copyright.
23508 Use ANSI definitions and prototypes.
23509 (INTDIV0_RAISES_SIGFPE): New define.
23510 Use gl_* locking primitives rather than __libc_* ones.
23511 Include eval-plural.h instead of plural-eval.c.
23512 Use __builtin_expect rather than __glibc_likely/unlikely.
23513 * intl/dcngettext.c: Switch to gettext copyright.
23514 Use ANSI definitions and prototypes.
23515 * intl/dgettext.c: Likewise.
23516 * intl/dngettext.c: Likewise.
23517 * intl/plural-eval.c: Renamed to...
23518 * intl/eval-plural.h: ...this.
23519 * intl/explodename.c: Switch to gettext copyright.
23520 Use ANSI definitions and prototypes.
23521 (_nl_explode_name): Use strchr instead of __rawmemchr.
23522 * intl/finddomain.c: Switch to gettext copyright.
23523 Use ANSI definitions and prototypes.
23524 Use gl_* locking primitives rather than __libc_* ones.
23525 (_nl_find_domain): Use malloc rather than alloca for
23526 allocation of temporary locale name.
23527 * intl/gettext.c: Switch to gettext copyright.
23528 Use ANSI definitions and prototypes.
23529 * intl/gettextP.h: Switch to gettext copyright.
23530 Use ANSI definitions and prototypes.
23531 Use gl_* locking primitives rather than __libc_* ones.
23532 * intl/gmo.h: Switch to gettext copyright.
23533 (struct sysdep_string): Move struct segment_pair outside of
23534 struct definition.
23535 * intl/hash-string.c: Use ANSI definitions and prototypes.
23536 * intl/hash-string.h: Switch to gettext copyright.
23537 Use ANSI definitions and prototypes.
23538 * intl/l10nflist.c: Switch to gettext copyright.
23539 Use ANSI definitions and prototypes.
23540 (_nl_normalize_codeset): Avoid integer overflow.
23541 * intl/loadinfo.h: Switch to gettext copyright.
23542 Use ANSI definitions and prototypes.
23543 (LIBINTL_DLL_EXPORTED): New define.
23544 (PATH_SEPARATOR): New define.
23545 * intl/loadmsgcat.c: Switch to gettext copyright.
23546 * intl/localealias.c: Switch to gettext copyright.
23547 Use ANSI definitions and prototypes.
23548 (_nl_expand_alias): Use PATH_SEPARATOR.
23549 * intl/ngettext.c: Switch to gettext copyright.
23550 Use ANSI definitions and prototypes.
23551 * intl/plural-exp.c: Likewise.
23552 * intl/plural-exp.h: Switch to gettext copyright.
23553 Use ANSI definitions and prototypes.
23554 (struct expression): Move definition of enum operator outside
23555 of struct definition.
23556 * intl/plural.c: Regenerate.
23557 * intl/plural.y: Switch to gettext copyright.
23558 Use ANSI definitions and prototypes.
23559 Port to bison 3.0.
23560 * intl/textdomain.c: Switch to gettext copyright.
23561 Use ANSI definitions and prototypes.
23562 Use gl_* locking primitives rather than __libc_* ones.
23563
23564 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
23565
23566 * debug/warning-nop.c: Add used atrribute.
23567
23568 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23569
23570 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
23571
23572 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
23573 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
23574 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
23575
23576 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23577 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23578
23579 [BZ #17634]
23580 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
23581 Undefine after defining function. Define as weak alias of
23582 __wcschr. Use libc_hidden_weak.
23583 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
23584 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
23585 (libc_hidden_def): Also define __GI___wcschr alias.
23586 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
23587 __wcschr and define as weak alias of __wcschr.
23588 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
23589 __wcschr.
23590 [!WCSCHR] (DEFAULT_WCSCHR): Define.
23591 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
23592 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
23593 libc_hidden_weak. Do not use libc_hidden_def.
23594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
23595 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
23596 __GI___wcschr alias.
23597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
23598 [IS_IN (libc)] (wcschr): Define as macro expanding to
23599 __redirect_wcschr.
23600 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
23601 [IS_IN (libc)] (__wcschr_power6): Likewise.
23602 [IS_IN (libc)] (__wcschr_power7): Likewise.
23603 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
23604 instead of wcschr.
23605 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
23606 __libc_wcschr.
23607 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
23608 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
23609 __wcschr and define as weak alias of __wcschr. Use
23610 libc_hidden_builtin_def.
23611 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
23612 as weak alias of __wcschr. Use libc_hidden_weak.
23613 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
23614 wcschr.
23615 * time/era.c (_nl_init_era_entries): Likewise.
23616 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
23617 variable.
23618 (test-xfail-XPG3/time.h/linknamespace): Likewise.
23619 (test-xfail-XPG4/time.h/linknamespace): Likewise.
23620
23621 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23622
23623 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
23624 format for long int variable.
23625
23626 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
23627
23628 [BZ #10672]
23629 * manual/search.texi: (Array Sort Function): Remove claim how to make
23630 qsort stable.
23631
23632 2014-12-10 Andreas Schwab <schwab@suse.de>
23633
23634 [BZ #12847]
23635 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
23636 user-controlled locks.
23637
23638 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
23639
23640 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
23641 register.
23642
23643 2014-12-10 Joseph Myers <joseph@codesourcery.com>
23644
23645 * configure.ac (--disable-werror): New configure option.
23646 (enable_werror): New AC_SUBST.
23647 * configure: Regenerated.
23648 * config.make.in (enable-werror): New variable.
23649 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
23650 -Wno-error=undef.
23651 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
23652 * manual/install.texi (Configuring and compiling): Document
23653 --disable-werror.
23654 * INSTALL: Regenerated.
23655 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
23656 (CFLAGS-tst-chk2.c): Likewise.
23657 (CFLAGS-tst-chk3.c): Likewise.
23658 (CFLAGS-tst-chk4.cc): Likewise.
23659 (CFLAGS-tst-chk5.cc): Likewise.
23660 (CFLAGS-tst-chk6.cc): Likewise.
23661 (CFLAGS-tst-lfschk1.c): Likewise.
23662 (CFLAGS-tst-lfschk2.c): Likewise.
23663 (CFLAGS-tst-lfschk3.c): Likewise.
23664 (CFLAGS-tst-lfschk4.cc): Likewise.
23665 (CFLAGS-tst-lfschk5.cc): Likewise.
23666 (CFLAGS-tst-lfschk6.cc): Likewise.
23667
23668 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
23669 (main): Disable -Wdeprecated-declarations around calls to
23670 register_printf_function.
23671
23672 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
23673 (do_test): Disable -Wdiv-by-zero around some calls to
23674 fwrite_unlocked and fread_unlocked.
23675
23676 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
23677 (DIAG_POP_NEEDS_COMMENT): Likewise.
23678 (_DIAG_STR1): Likewise.
23679 (_DIAG_STR): Likewise.
23680 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
23681 * stdio-common/bug21.c: Include <libc-internal.h>.
23682 (do_test): Disable -Wformat around call to sscanf.
23683 * stdio-common/scanf14.c: Include <libc-internal.h>.
23684 (main): Disable -Wformat around some calls to scanf functions.
23685
23686 2014-12-09 Torvald Riegel <triegel@redhat.com>
23687
23688 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
23689
23690 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23691
23692 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
23693 stack variable alignment.
23694
23695 2014-12-06 Joseph Myers <joseph@codesourcery.com>
23696
23697 [BZ #17682]
23698 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
23699 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
23700 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
23701 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
23702 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
23703 __getrlimit instead of getrlimit.
23704 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
23705 __gettimeofday instead of gettimeofday.
23706 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23707 Likewise.
23708 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23709 Likewise.
23710 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23711 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
23712 Remove variable.
23713 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23714 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23715
23716 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717
23718 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
23719 for wide-character tests.
23720
23721 2014-12-04 Roland McGrath <roland@hack.frob.com>
23722
23723 * io/openat64.c: #include <libc-internal.h>
23724 (__openat64): Prototypify. Use ignore_value on MODE.
23725 * io/openat.c: Likewise.
23726 * misc/reboot.c: #include <libc-internal.h>
23727 (reboot): Prototypify. Use ignore_value on HOWTO.
23728 * misc/ptrace.c: #include <libc-internal.h>
23729 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
23730
23731 2014-12-04 Joseph Myers <joseph@codesourcery.com>
23732
23733 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
23734 XPG4, UNIX98 and XOPEN2K.
23735 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
23736 Remove variable.
23737 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23738
23739 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23740
23741 * libio/fileops.c: Use ISO C style for function definitions.
23742 * libio/iofopen.c: Likewise.
23743 * libio/wfileops.c: Likewise.
23744
23745 [BZ #17653]
23746 * libio/fileops.c (_IO_new_file_underflow): Unset cached
23747 offset on EOF.
23748 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
23749 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
23750 (fgets_func): Function pointer to fgets and fgetws.
23751 (do_ftell_test): Add test to verify ftell value after read
23752 EOF.
23753 (do_test): Set fgets_func.
23754
23755 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
23756 O_TRUNC flag for w and w+ modes.
23757 (do_rewind_test): Likewise.
23758 (do_ftell_test): Likewise.
23759 (do_write_test): Likewise.
23760
23761 [BZ #17647]
23762 * libio/fileops.c (do_ftell): Seek only when there are
23763 unflushed writes.
23764 * libio/wfileops.c (do_ftell_wide): Likewise.
23765 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
23766 test case.
23767 (do_one_test): Call it.
23768
23769 2014-12-03 Joseph Myers <joseph@codesourcery.com>
23770
23771 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
23772 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
23773 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
23774 Remove variable.
23775 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23776 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23777 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23778
23779 2014-12-02 Joseph Myers <joseph@codesourcery.com>
23780
23781 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
23782 Remove variable.
23783 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23784
23785 [BZ #17668]
23786 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
23787 as weak alias of __getifaddrs. Use libc_hidden_weak.
23788 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23789 __freeifaddrs. Use libc_hidden_weak.
23790 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
23791 define as weak alias of __getifaddrs. Use libc_hidden_weak.
23792 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23793 __freeifaddrs. Use libc_hidden_weak.
23794 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
23795 __getifaddrs and define as weak alias of __getifaddrs. Use
23796 libc_hidden_weak.
23797 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
23798 __freeifaddrs. Use libc_hidden_weak.
23799 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
23800 Remove variable.
23801 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23802 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23803
23804 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
23805
23806 [BZ #17601]
23807 * sysdeps/mips/start.S (__start): Use indirect jump to call
23808 __libc_start_main.
23809
23810 2014-12-02 Joseph Myers <joseph@codesourcery.com>
23811
23812 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
23813
23814 * nptl/tst-mutex1.c: Include <stdbool.h>.
23815 [!ATTR] (ATTR_NULL): New macro.
23816 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
23817 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
23818 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
23819
23820 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
23821 to char *.
23822
23823 [BZ #17665]
23824 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
23825 Change conditional to [__USE_MISC].
23826
23827 [BZ #17664]
23828 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23829 fgets_unlocked.
23830 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23831 __fgets_unlocked.
23832 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23833 fgets_unlocked.
23834 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23835 Remove variable.
23836 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23837 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23838 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23839 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23840 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23841 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23842 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23843 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23844 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23845
23846 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23847
23848 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23849
23850 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23851 Remove strpbrk objects.
23852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23853 (__libc_ifunc_impl_list): Remove strpbrk implementation.
23854 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23855 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23856 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23857 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23858
23859 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23860 Remove strcspn objects.
23861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23862 (__libc_ifunc_impl_list): Remove strcspn implementation.
23863 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23864 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23865 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23866 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23867
23868 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23869 Remove strspn objetcs.
23870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23871 (__libc_ifunc_impl_list): Remove strspn implementation.
23872 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23873 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23874 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23875 * sysdeps/powerpc/powerpc64/strspn.S: New file.
23876
23877 2014-12-01 James Lemke <jwlemke@codesourcery.com>
23878
23879 [BZ #17581]
23880 * malloc/hooks.c
23881 (mem2mem_check): Add a terminator to the chain of checking blocks.
23882 (malloc_check_get_size): Use it here.
23883 (mem2chunk_check): Ditto.
23884
23885 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23886
23887 * sysdeps/powerpc/powerpc64/strtok.S: New file.
23888 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23889
23890 2014-11-29 Carlos O'Donell <carlos@redhat.com>
23891
23892 * bits/ioctl-types.h: Indent preprocessor directives correctly.
23893
23894 * nptl/nptl-init.c: Include libc-internal.h.
23895 (__pthread_initialize_minimal_internal): Use ROUND_UP.
23896
23897 * elf/ldconfig.c (search_dir): Expand comment.
23898
23899 2014-11-29 Joseph Myers <joseph@codesourcery.com>
23900
23901 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23902 variable.
23903 (linknamespace-symlist-stdlibs-tests): Likewise.
23904 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23905 instead of $(objpfx)symlist-stdlibs.
23906 (linknamespace-libs-isoc): New variable.
23907 (linknamespace-libs): Use $(linknamespace-libs-isoc).
23908 (linknamespace-libs-ISO): New variable.
23909 (linknamespace-libs-ISO99): Likewise.
23910 (linknamespace-libs-ISO11): Likewise.
23911 (linknamespace-libs-XPG3): Likewise.
23912 (linknamespace-libs-XPG4): Likewise.
23913 (linknamespace-libs-POSIX): Likewise.
23914 (linknamespace-libs-UNIX98): Likewise.
23915 (linknamespace-libs-XOPEN2K): Likewise.
23916 (linknamespace-libs-POSIX2008): Likewise.
23917 (linknamespace-libs-XOPEN2K8): Likewise.
23918 ($(objpfx)symlist-stdlibs): Replace by
23919 $(linknamespace-symlist-stdlibs-tests). Use
23920 $(linknamespace-libs-$*) as set of libraries.
23921 ($(linknamespace-header-tests)): Update dependencies. Use
23922 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23923 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23924 * conform/linknamespace.pl: Remove comment about considering
23925 definitions of symbols from irrelevant libraries.
23926
23927 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
23928
23929 [BZ #13862]
23930 * elf/dl-tls.c: Include <atomic.h>.
23931 (oom): Remove #ifdef SHARED/#endif.
23932 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23933 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
23934 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23935 big enough.
23936 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23937 * nptl/Makefile (tests): Add tst-stack4.
23938 (modules-names): Add tst-stack4mod.
23939 ($(objpfx)tst-stack4): New.
23940 (tst-stack4mod.sos): Likewise.
23941 ($(objpfx)tst-stack4.out): Likewise.
23942 ($(tst-stack4mod.sos)): Likewise.
23943 (clean): Likewise.
23944 * nptl/tst-stack4.c: New file.
23945 * nptl/tst-stack4mod.c: Likewise.
23946
23947 2014-11-27 J. Brown <jb999@gmx.de>
23948
23949 * sysdeps/x86/bits/string.h: Add recent CPUs.
23950
23951 2014-11-27 Joseph Myers <joseph@codesourcery.com>
23952
23953 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23954 sigblock.
23955
23956 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23957 feof.
23958
23959 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23960 variable.
23961
23962 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
23963
23964 * nscd/connections.c: Include libc-internal.h because of macro
23965 usage ignore_value.
23966
23967 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23968
23969 * string/bits/string3.h (__warn_memset_zero_len): Don't
23970 declare for gcc newer than 5.0.
23971 (memset): Don't test for zero-length __LEN for gcc newer than
23972 5.0.
23973
23974 2014-11-27 Joseph Myers <joseph@codesourcery.com>
23975
23976 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23977 size_t for %zu format.
23978
23979 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23980 difference, not %ju.
23981
23982 2014-11-26 Joseph Myers <joseph@codesourcery.com>
23983
23984 * include/libc-internal.h (ignore_value): New macro.
23985 * nscd/connections.c (restart): Wrap calls to setuid and setgid
23986 with ignore_value.
23987
23988 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23989 definition.
23990
23991 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23992 pthread_cleanup_push to void *.
23993
23994 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23995 Undefine.
23996
23997 [BZ #16619]
23998 [BZ #16740]
23999 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24000 instead of 1L << 52.
24001
24002 * libio/bug-rewind.c (do_test): Check fwscanf return values.
24003 * libio/bug-rewind2.c (do_test): Likewise.
24004
24005 * debug/test-stpcpy_chk-ifunc.c: Remove file.
24006 * debug/test-strcpy_chk-ifunc.c: Likewise.
24007 * wcsmbs/test-wcschr-ifunc.c: Likewise.
24008 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24009 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24010 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24011 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24012 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24013 * Rules [$(multi-arch) = no] (tests): Do not filter out
24014 $(tests-ifunc).
24015 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24016 * debug/Makefile (tests-ifunc): Remove variable.
24017 (tests): Do not add $(tests-ifunc).
24018 * wcsmbs/Makefile (tests-ifunc): Remove variable.
24019 (tests): Do not add $(tests-ifunc).
24020 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24021 [TEST_IFUNC]: Remove conditionals.
24022 * string/test-string.h (TEST_IFUNC): Remove macro.
24023 [TEST_IFUNC]: Remove conditionals.
24024
24025 * string/test-strchr.c [!WIDE] (L): New macro.
24026 [WIDE] (L): Likewise.
24027 (check1): Use CHAR instead of char. Use L on string and character
24028 constants.
24029
24030 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
24031
24032 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24033 tests.
24034 * sysdeps/powerpc/bits/atomic.h
24035 (__arch_atomic_exchange_and_add_32_acq): Add definition.
24036 (__arch_atomic_exchange_and_add_32_rel): Likewise.
24037 (atomic_exchange_and_add_acq): Likewise.
24038 (atomic_exchange_and_add_rel): Likewise.
24039 * sysdeps/powerpc/powerpc32/bits/atomic.h
24040 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24041 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24042 * sysdeps/powerpc/powerpc64/bits/atomic.h
24043 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24044 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24045
24046 2014-11-26 Torvald Riegel <triegel@redhat.com>
24047
24048 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24049 Change synchronization of __sched_fifo_min_prio and
24050 __sched_fifo_max_prio.
24051 * nptl/pthread_mutexattr_getprioceiling.c
24052 (pthread_mutexattr_getprioceiling): Likewise.
24053 * nptl/pthread_mutexattr_setprioceiling.c
24054 (pthread_mutexattr_setprioceiling): Likewise.
24055 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24056 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24057 Likewise.
24058
24059 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24060
24061 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24062 void.
24063
24064 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24065
24066 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24067 third argument const.
24068
24069 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
24070
24071 fnmatch: work around GCC compiler warning bug with uninit var
24072 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24073 This works around a bug with x86-64 GCC 4.9.2 and earlier
24074 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24075 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24076 used uninitialized in this function [-Wmaybe-uninitialized]".
24077
24078 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24079
24080 * posix/bug-regex31.c (main): Return RES not 0.
24081
24082 2014-11-25 Anton Blanchard <anton@samba.org>
24083
24084 * sysdeps/powerpc/bits/atomic.h
24085 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24086
24087 2014-11-24 Sterling Augustine <saugustine@google.com>
24088
24089 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24090
24091 2014-11-24 Ryan Cumming <etaoins@gmail.com>
24092
24093 [BZ #17608]
24094 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24095
24096 2014-11-24 Joseph Myers <joseph@codesourcery.com>
24097
24098 [BZ #17633]
24099 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24100 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24101 variable.
24102 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24103 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24104
24105 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24106
24107 * string/strncpy.c (strncpy): Improve performance by using memset.
24108
24109 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24110
24111 * string/strcpy.c (strcpy):
24112 Improve performance by using strlen and memcpy.
24113
24114 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
24115
24116 * string/strcoll_l.c (get_next_seq): __always_inline.
24117 * string/strcoll_l.c (do_compare): __always_inline.
24118
24119 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24120
24121 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24122 defined.
24123 * include/mqueue.h: Likewise.
24124 * include/stdlib.h: Likewise.
24125
24126 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24127 (get_null_defines): Adjust.
24128 * sunrpc/Makefile: Adjust comment.
24129 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24130 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24131 (CFLAGS-interp.c): Likewise.
24132 (CFLAGS-ldconfig.c): Likewise.
24133 (CPPFLAGS-.os): Likewise.
24134 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24135 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24136 * extra-modules.mk (extra-modules.mk): Likewise.
24137 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24138 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24139 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24140 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24141 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24142 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24143 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24144 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24145 * iconvdata/Makefile (CPPFLAGS): Likewise.
24146 (cpp-srcs-left): Add libof for all iconvdata routines.
24147 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24148 * include/assert.h: Likewise.
24149 * include/ctype.h: Likewise.
24150 * include/errno.h: Likewise.
24151 * include/libc-symbols.h: Likewise.
24152 * include/math.h: Likewise.
24153 * include/netdb.h: Likewise.
24154 * include/resolv.h: Likewise.
24155 * include/stdio.h: Likewise.
24156 * include/stdlib.h: Likewise.
24157 * include/string.h: Likewise.
24158 * include/sys/stat.h: Likewise.
24159 * include/wctype.h: Likewise.
24160 * intl/l10nflist.c: Likewise.
24161 * libidn/idn-stub.c: Likewise.
24162 * libio/libioP.h: Likewise.
24163 * nptl/libc_multiple_threads.c: Likewise.
24164 * nptl/pthreadP.h: Likewise.
24165 * posix/regex_internal.h: Likewise.
24166 * resolv/res_hconf.c: Likewise.
24167 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24168 * sysdeps/arm/memmove.S: Likewise.
24169 * sysdeps/arm/sysdep.h: Likewise.
24170 * sysdeps/generic/_itoa.h: Likewise.
24171 * sysdeps/generic/symbol-hacks.h: Likewise.
24172 * sysdeps/gnu/errlist.awk: Likewise.
24173 * sysdeps/gnu/errlist.c: Likewise.
24174 * sysdeps/i386/i586/memcpy.S: Likewise.
24175 * sysdeps/i386/i586/memset.S: Likewise.
24176 * sysdeps/i386/i686/memcpy.S: Likewise.
24177 * sysdeps/i386/i686/memmove.S: Likewise.
24178 * sysdeps/i386/i686/mempcpy.S: Likewise.
24179 * sysdeps/i386/i686/memset.S: Likewise.
24180 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24181 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24182 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24183 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24184 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24186 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24187 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24188 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24190 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24191 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24192 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24193 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24194 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24195 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24196 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24197 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24198 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24199 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24200 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24201 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24206 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24207 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24208 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24209 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24210 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24211 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24214 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24215 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24216 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24217 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24218 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24219 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24220 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24221 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24222 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24223 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24224 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24225 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24226 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24227 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24228 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24229 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24230 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24231 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24232 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24233 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24234 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24235 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24236 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24237 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24238 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24239 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24240 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24241 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24242 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24243 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24244 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24245 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24246 * sysdeps/posix/closedir.c: Likewise.
24247 * sysdeps/posix/opendir.c: Likewise.
24248 * sysdeps/posix/readdir.c: Likewise.
24249 * sysdeps/posix/rewinddir.c: Likewise.
24250 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24251 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24252 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24253 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24254 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24255 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24256 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24261 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24262 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24263 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24264 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24265 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24266 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24267 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24269 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24271 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24278 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24285 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24286 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24287 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24288 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24289 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24290 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24291 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24292 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24294 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24295 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24296 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24297 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24298 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24299 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24300 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24301 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24302 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24303 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24305 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24307 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24308 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24309 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24310 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24311 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24312 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24313 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24314 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24315 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24316 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24317 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24318 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24319 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24320 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24321 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24322 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24323 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24324 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24326 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24327 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24328 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24329 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24330 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24331 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24332 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24333 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24334 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24336 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24337 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24338 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24339 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24340 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24341 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24342 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
24346 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24347 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24348 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
24349 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
24350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24351 * sysdeps/unix/alpha/sysdep.S: Likewise.
24352 * sysdeps/unix/alpha/sysdep.h: Likewise.
24353 * sysdeps/unix/make-syscalls.sh: Likewise.
24354 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24355 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24356 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24357 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
24358 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24359 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
24360 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
24361 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24362 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24363 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
24364 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24365 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24367 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24368 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24369 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24370 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24371 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24372 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24373 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24374 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
24375 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24376 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24377 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24378 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24379 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24380 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24383 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
24384 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24385 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24388 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24392 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24393 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24394 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24395 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24396 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24397 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24398 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24404 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24405 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24406 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24407 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24408 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
24409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24410 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24412 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
24413 * sysdeps/x86_64/memcpy.S: Likewise.
24414 * sysdeps/x86_64/memmove.c: Likewise.
24415 * sysdeps/x86_64/memset.S: Likewise.
24416 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
24417 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24418 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24419 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
24420 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
24421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24423 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24424 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24425 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24426 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24428 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
24429 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24430 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24431 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
24432 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24433 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24434 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24435 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24436 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
24437 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24438 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24440 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24441 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24442 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24443 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
24444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24445 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24446 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
24447 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24448 * sysdeps/x86_64/strcmp.S: Likewise.
24449
24450 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
24451
24452 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
24453 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
24454 * elf/rtld-Rules: Likewise.
24455 * elf/setup-vdso.h: Likewise.
24456 * include/assert.h: Likewise.
24457 * include/bits/stdlib-float.h: Likewise.
24458 * include/errno.h: Likewise.
24459 * include/sys/stat.h: Likewise.
24460 * include/unistd.h: Likewise.
24461 * sysdeps/aarch64/setjmp.S: Likewise.
24462 * sysdeps/alpha/setjmp.S: Likewise.
24463 * sysdeps/arm/__longjmp.S: Likewise.
24464 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
24465 * sysdeps/arm/setjmp.S: Likewise.
24466 * sysdeps/arm/sysdep.h: Likewise.
24467 * sysdeps/generic/_itoa.h: Likewise.
24468 * sysdeps/generic/dl-sysdep.h: Likewise.
24469 * sysdeps/generic/ldsodefs.h: Likewise.
24470 * sysdeps/i386/dl-tls.h: Likewise.
24471 * sysdeps/i386/setjmp.S: Likewise.
24472 * sysdeps/m68k/setjmp.c: Likewise.
24473 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
24474 * sysdeps/mach/hurd/opendir.c: Likewise.
24475 * sysdeps/posix/getcwd.c: Likewise.
24476 * sysdeps/posix/opendir.c: Likewise.
24477 * sysdeps/posix/profil.c: Likewise.
24478 * sysdeps/powerpc/dl-procinfo.h: Likewise.
24479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24481 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24482 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24483 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
24484 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
24485 * sysdeps/s390/dl-tls.h: Likewise.
24486 * sysdeps/s390/s390-32/setjmp.S: Likewise.
24487 * sysdeps/s390/s390-64/setjmp.S: Likewise.
24488 * sysdeps/sh/sh3/setjmp.S: Likewise.
24489 * sysdeps/sh/sh4/setjmp.S: Likewise.
24490 * sysdeps/unix/alpha/sysdep.h: Likewise.
24491 * sysdeps/unix/arm/sysdep.S: Likewise.
24492 * sysdeps/unix/i386/sysdep.S: Likewise.
24493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24494 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24495 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24496 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24497 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24498 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
24499 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
24500 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24501 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
24502 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
24503 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24504 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24508 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24511 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24512 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24513 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24516 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24517 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24518 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24520 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24521 * sysdeps/x86_64/setjmp.S: Likewise.
24522
24523 * include/math.h: Use IS_IN instead of IS_IN_libm.
24524 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
24536 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
24544 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
24545 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
24546 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
24547 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
24548 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
24549 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
24551 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
24552 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
24553 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
24554 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
24555 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24556 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
24558 Likewise.
24559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
24560 Likewise.
24561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
24562 Likewise.
24563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
24564 Likewise.
24565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
24566 Likewise.
24567 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24568 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
24569 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24570 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24571 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24572 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
24574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
24575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
24576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
24577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
24578 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
24579 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
24580 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24581 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24583 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24584 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24585 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24586 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24587 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
24588 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
24589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
24590 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
24591 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
24592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24593 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
24594
24595 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
24596 * nptl/pthreadP.h: Likewise.
24597 * nptl_db/structs.def: Likewise.
24598 * sysdeps/arm/sysdep.h: Likewise.
24599 * sysdeps/nptl/bits/libc-lock.h: Likewise.
24600 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24601 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
24602 * sysdeps/unix/alpha/sysdep.h: Likewise.
24603 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
24605 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24606 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24607 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24608 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24609 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24610 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24611 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24612 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24613 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24614 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24615 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24616 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
24618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
24619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24621 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24623 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24624 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24625 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
24626 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24627 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
24628 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24629
24630 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
24631 * nptl/pthreadP.h: Likewise.
24632 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
24633 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24634 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24635 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
24636 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
24637 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
24638 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
24639 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
24640 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
24641 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
24642 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24643 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
24644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24645 Likewise.
24646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24647 Likewise.
24648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24650 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
24652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
24653 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24654 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
24655 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24656
24657 * dlfcn/dladdr.c: Use IS_IN.
24658 * dlfcn/dladdr1.c: Likewise.
24659 * dlfcn/dlclose.c: Likewise.
24660 * dlfcn/dlerror.c: Likewise.
24661 * dlfcn/dlinfo.c: Likewise.
24662 * dlfcn/dlmopen.c: Likewise.
24663 * dlfcn/dlopen.c: Likewise.
24664 * dlfcn/dlsym.c: Likewise.
24665 * dlfcn/dlvsym.c: Likewise.
24666
24667 * include/ifaddrs.h: Use IS_IN.
24668 * inet/check_pf.c: Likewise.
24669 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24670 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
24671
24672 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
24673 IS_IN_ldconfig.
24674 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
24675 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
24676
24677 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24678 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
24679 IS_IN (libc).
24680
24681 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
24682
24683 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
24684 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24685 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24686 * include/libc-symbols.h (IS_IN_LIB): New macro.
24687 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24688 * include/netdb.h: Likewise.
24689 * include/stap-probe.h: Remove all uses of IN_LIB.
24690
24691 * Makeconfig (module-cppflags-real): Define MODULE_NAME
24692 instead of IN_MODULE.
24693 * include/libc-symbols.h (IN_MODULE): Define using
24694 MODULE_NAME.
24695 (PASTE_NAME, PASTE_NAME1): New macros.
24696 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
24697 of IN_LIB.
24698 (STAP_PROBE_ASM): Likewise.
24699
24700 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
24701
24702 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
24703 __mach_init in dlopened libc.
24704
24705 2014-11-22 Mike Frysinger <vapier@gentoo.org>
24706
24707 * sysdeps/arm/preconfigure.ac: Delete EABI check.
24708 * sysdeps/arm/preconfigure: Regenerate.
24709
24710 2014-11-21 Roland McGrath <roland@hack.frob.com>
24711
24712 * nptl/pthread_create.c (__pthread_create_2_1): Set
24713 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
24714 when copying values from IATTR into PD.
24715
24716 2014-11-21 Will Newton <will.newton@linaro.org>
24717 Andrew Pinski <andrew.pinski@caviumnetworks.com>
24718
24719 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
24720 Refactor inline-asm. Also add comment.
24721
24722 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
24723 ElfW macro instead of hardcoded Elf64 types.
24724 (la_aarch64_gnu_pltenter): Likewise.
24725 * sysdeps/aarch64/dl-machine.h
24726 (elf_machine_runtime_setup): Use ElfW(Addr).
24727
24728 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
24729 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
24730 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
24731 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
24732 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
24733 (R_AARCH64_TLS_DTPMOD64): Rename to ..
24734 (R_AARCH64_TLS_DTPMOD): This.
24735 (R_AARCH64_TLS_DTPREL64): Rename to ...
24736 (R_AARCH64_TLS_DTPREL): This.
24737 (R_AARCH64_TLS_TPREL64): Rename to ...
24738 (R_AARCH64_TLS_TPREL): This.
24739 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
24740 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
24741 R_AARCH64_TLS_TPREL64.
24742 (elf_machine_rela): Likewise.
24743
24744 2014-11-21 Torvald Riegel <triegel@redhat.com>
24745
24746 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
24747 by setting it to 0. 64b atomics are not supported currently.
24748
24749 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24750
24751 [BZ #16469]
24752 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
24753 search domain names.
24754
24755 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24756
24757 [BZ #16469]
24758 * NEWS: Update.
24759 * resolv/res_query.c (__libc_res_nquerydomain): Retain
24760 trailing dot.
24761 * posix/tst-getaddrinfo5.c: New.
24762 * posix/Makefile (tests): Add it.
24763
24764 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24765
24766 [BZ #14498]
24767 * NEWS: Fixed.
24768 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
24769 after parsing line but before break_if_match.
24770 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
24771 if there is a protocol mismatch.
24772
24773 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
24774
24775 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
24776 because the potential race is on the user-supplied stream.
24777
24778 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24779
24780 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
24781 string literal if not passed a buffer.
24782 * manual/job.texi (ctermid): Update reasoning, note deviation
24783 from posix, suggest mtasurace when not passed a buffer, for
24784 future non-preliminary safety notes.
24785
24786 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24787
24788 * manual/users.texi (cuserid): Fix MT-Safety note for the case
24789 of not passing it a buffer.
24790 Reported by Peng Haitao.
24791
24792 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
24793
24794 * manual/Makefile ($(objpfx)stamp-summary): Require
24795 check-safety.sh to pass.
24796 * manual/check-safety.sh: Wish for verification that every
24797 @deftypefn and @deftypefun is followed by a @safety remark.
24798
24799 2014-11-20 Roland McGrath <roland@hack.frob.com>
24800
24801 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
24802
24803 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
24804 PTHREAD_CANCEL_ASYNCHRONOUS.
24805 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
24806 send SIGCANCEL.
24807
24808 * nptl/default-sched.h: New file.
24809 * sysdeps/unix/sysv/linux/default-sched.h: New file.
24810 * nptl/pthread_create.c: Include it.
24811 (__pthread_create_2_1): Use collect_default_sched instead of making
24812 Linux syscalls here directly.
24813
24814 2014-11-20 Torvald Riegel <triegel@redhat.com>
24815
24816 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
24817 __pthread_once): Use C11 atomics.
24818
24819 2014-11-20 Torvald Riegel <triegel@redhat.com>
24820
24821 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
24822
24823 2014-11-20 Torvald Riegel <triegel@redhat.com>
24824
24825 * include/atomic.h (__atomic_link_error, __atomic_check_size,
24826 atomic_thread_fence_acquire, atomic_thread_fence_release,
24827 atomic_thread_fence_seq_cst, atomic_load_relaxed,
24828 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24829 atomic_compare_exchange_weak_relaxed,
24830 atomic_compare_exchange_weak_acquire,
24831 atomic_compare_exchange_weak_release,
24832 atomic_exchange_acquire, atomic_exchange_release,
24833 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24834 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24835 atomic_fetch_and_acquire,
24836 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24837
24838 2014-11-20 Torvald Riegel <triegel@redhat.com>
24839
24840 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24841 USE_ATOMIC_COMPILER_BUILTINS): Define.
24842 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24843 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24844 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24845 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24846 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24847 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24848 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24849 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24850 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24851 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24852 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24853 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24854 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24855 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24856 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24857 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24858 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24859 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24860 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24861 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24862 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24863 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24864 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24865 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24866 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24868 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24869 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24870 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24871 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24872 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24873 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24874 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24875 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24876 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24877 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24878 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24879 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24880 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24881 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24882
24883 2014-11-19 Roland McGrath <roland@hack.frob.com>
24884
24885 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24886 the sched_priority value here. It was already checked when the user
24887 called pthread_attr_setschedparam.
24888
24889 * nptl/tst-bad-schedattr.c: New file.
24890 * nptl/Makefile (tests): Add it.
24891
24892 2014-11-19 Carlos O'Donell <carlos@redhat.com>
24893 Florian Weimer <fweimer@redhat.com>
24894 Joseph Myers <joseph@codesourcery.com>
24895 Adam Conrad <adconrad@0c3.net>
24896 Andreas Schwab <schwab@suse.de>
24897 Brooks <bmoses@google.com>
24898
24899 [BZ #17625]
24900 * wordexp-test.c (__dso_handle): Add prototype.
24901 (__register_atfork): Likewise.
24902 (__app_register_atfork): New function.
24903 (registered_forks): New global.
24904 (register_fork): New function.
24905 (test_case): Add 3 new tests for WRDE_CMDSUB.
24906 (main): Call __app_register_atfork.
24907 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24908 fork count is non-zero fail the test.
24909 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24910 is set.
24911 (parse_dollars): Remove check for WRDE_NOCMD.
24912 (parse_dquote): Likewise.
24913
24914 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24915
24916 * Makeconfig (built-modules): List non-library modules to be
24917 built.
24918 (module-cppflags): Include libc-modules.h for
24919 everything except shlib-versions.v.i.
24920 (CPPFLAGS): Use it.
24921 (before-compile): Add libc-modules.h.
24922 ($(common-objpfx)libc-modules.h,
24923 $(common-objpfx)libc-modules.stmp): New targets.
24924 (common-generated): Add libc-modules.h and libc-modules.stmp.
24925 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24926 * include/libc-symbols.h: Don't include libc-modules.h.
24927 * include/libc-modules.h: Remove file.
24928 * scripts/gen-libc-modules.awk: New script to generate
24929 libc-modules.h.
24930 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24931 Depend on libc-modules.stmp.
24932
24933 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24934
24935 * Makeconfig (in-module): Get value of libof set for the
24936 translation unit.
24937 (CPPFLAGS): Use $(in-module).
24938 * Makerules: Don't suffix routine names for nonlib.
24939 * include/libc-modules.h: New file.
24940 * include/libc-symbols.h: Include libc-modules.h
24941 (IS_IN): New macro to replace IS_IN_* macros.
24942 * elf/Makefile: Set libof-* for each routine.
24943 * elf/rtld-Rules: Likewise.
24944 * extra-modules.mk: Likewise.
24945 * iconv/Makefile: Likewise.
24946 * iconvdata/Makefile: Likewise.
24947 * locale/Makefile: Likewise.
24948 * malloc/Makefile: Likewise.
24949 * nss/Makefile: Likewise.
24950 * sysdeps/gnu/Makefile: Likewise.
24951 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24952 * sysdeps/unix/sysv/linux/Makefile: Likewise.
24953 * sysdeps/s390/s390-64/Makefile: Likewise.
24954 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
24955 CPPFLAGS for nscd instead of nonlib.
24956
24957 2014-11-18 Roland McGrath <roland@hack.frob.com>
24958
24959 * nptl/createthread.c: New file.
24960
24961 * nptl/createthread.c: Moved ...
24962 * sysdeps/unix/sysv/linux/createthread.c: ... here.
24963
24964 * nptl/createthread.c: Add proper top-line comment.
24965 (do_clone): Folded into ...
24966 (create_thread): ... here. Take new arguments STOPPED_START and
24967 THREAD_RAN. Always set PD->stopped_start to something here. Don't
24968 increment __nptl_threads, do event-reporting logic, do
24969 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24970 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
24971 resource cleanup if sched_setaffinity or sched_setscheduler fails,
24972 just send SIGCANCEL.
24973 * nptl/pthread_create.c: Forward-declare create_thread before
24974 including createthread.c.
24975 (start_thread): Use new macro START_THREAD_DEFN to replace defining
24976 declaration, and new macro START_THREAD_SELF to replace argument.
24977 Remove return statement.
24978 (report_thread_creation): New function.
24979 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
24980 synchronization logic, and __nptl_nthreads increment here, around
24981 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
24982 PD->parent_cancelhandling here, before create_thread. When
24983 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24984 __deallocate_stack, and ENOMEM translation here.
24985
24986 2014-11-18 Joseph Myers <joseph@codesourcery.com>
24987
24988 [BZ #17616]
24989 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24990 (mptwo): Rename to __mptwo.
24991 (__inv): Use __mptwo instead of mptwo.
24992 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24993 (mptwo): Rename to __mptwo.
24994 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24995 of mpone and __mptwo instead of mptwo.
24996 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24997 instead of mpone.
24998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24999 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25000 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25001 of mpone and __mptwo instead of mptwo.
25002 (__mpranred): Use __mpone instead of mpone.
25003 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25004 variable.
25005 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25006 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25007 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25008 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25009 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25010 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25011 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25012 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25013 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25014 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25015 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25016 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25017 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25018 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25019 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25020 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25021 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25022 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25023 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25024
25025 2014-11-18 Tom de Vries <tom@codesoucery.com>
25026
25027 * manual/signal.texi (Primitives Interrupted by Signals): In section,
25028 replace BSD Handler xref with BSD Signal Handling.
25029
25030 2014-11-17 Richard Henderson <rth@redhat.com>
25031
25032 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25033 (_FP_PACK_RAW_2): Remove.
25034 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25035 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25036 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25037 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25038 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25039 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25040 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25041 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25042 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25043 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25044 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25045 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25046 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25047 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25048 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25049 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25050
25051 2014-11-14 Roland McGrath <roland@hack.frob.com>
25052
25053 * signal/signal.h [__USE_MISC]
25054 (struct sigvec): Remove type.
25055 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25056 (sigvec): Remove declaration.
25057 * sysdeps/posix/sigvec.c: Moved ...
25058 * signal/sigvec.c: ... here, replacing old file.
25059 (struct sigvec): New type, copied from old signal.h definition.
25060 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25061 (__sigvec): Convert definition to prototype.
25062 (sigvec): Replace weak_alias with compat_symbol.
25063 * signal/Versions (libc: GLIBC_2.21): New version set.
25064 * include/signal.h: Remove __sigvec declaration.
25065 * sysdeps/unix/bsd/sigvec.c: Remove file.
25066 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25067 * manual/signal.texi (BSD Handler): Remove subsection.
25068 Move siginterrupt up to ...
25069 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
25070 (Blocking in BSD): Fold subsection into its parent.
25071 * NEWS: Mention sigvec removal.
25072
25073 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25074
25075 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25076 (DLA_FMS): Make definition conditional only on [__FMA4__].
25077 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25078 definition.
25079
25080 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25081 Make definition conditional only on [PROF].
25082 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25083 definition.
25084 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25085 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25086
25087 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25088 !__GNUC__].
25089 * include/signal.h (__sigpause): Move declaration above call to
25090 libc_hidden_proto.
25091 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25092 variable.
25093 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25094 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25095
25096 2014-11-14 David S. Miller <davem@davemloft.net>
25097
25098 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25099 Define before including <string/memcpy.c> and <string/mempcpy.c>.
25100
25101 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25102
25103 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25104 * configure: Regenerated.
25105 * manual/install.texi (Tools for Compilation): Document a
25106 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25107 compiler verified to work.
25108 * INSTALL: Regenerated.
25109
25110 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25111 redeclare with asm name.
25112 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25113 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25114 including <string.h>.
25115 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25116 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25117 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25118 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25119 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25120 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25121 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25122
25123 2014-11-13 Joseph Myers <joseph@codesourcery.com>
25124
25125 * stdlib/strtol.c (__strtol): Use prototype definition.
25126
25127 [BZ #17594]
25128 * stdlib/strtol.c (SYM__): New macro.
25129 (SYM__1): Likewise.
25130 (__strtol): Likewise.
25131 (strtol): Rename to __strtol and define as weak alias of
25132 __strtol. Use libc_hidden_weak.
25133
25134 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25135
25136 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25137 Use numbered labels in inline assembly.
25138
25139 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25140
25141 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25142 Add setjmp LIBC_PROBE.
25143 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25144 Likewise.
25145 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25146 Add longjmp, longjmp_target LIBC_PROBE.
25147 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25148 Likewise.
25149
25150 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25151
25152 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25153 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25154 to get rid of unused variable warning.
25155
25156 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25157
25158 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25159 Check for unwind_backtrace == NULL only in SHARED case.
25160 (__backchain_backtrace): Compile only in SHARED case.
25161 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25162 Likewise.
25163 (__backchain_backtrace): Declare as static.
25164
25165 2014-11-12 Roland McGrath <roland@hack.frob.com>
25166
25167 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25168 (__libc_multiple_threads_ptr): Variable moved ...
25169 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25170
25171 2014-11-12 Joseph Myers <joseph@codesourcery.com>
25172
25173 * conform/GlibcConform.pm: New file.
25174 * conform/conformtest.pl: Use GlibcConform module.
25175 * conform/linknamespace.pl: New file.
25176 * conform/list-header-symbols.pl: Likewise.
25177 * conform/Makefile (linknamespace-symlists-base): New variable.
25178 (linknamespace-symlists-tests): Likewise.
25179 (linknamespace-header-base): Likewise.
25180 (linknamespace-header-tests): Likewise.
25181 (tests-special): Add new tests.
25182 ($(linknamespace-symlists-tests)): New rule.
25183 (linknamespace-libs): New variable.
25184 ($(objpfx)symlist-stdlibs): New rule.
25185 ($(linknamespace-header-tests)): Likewise.
25186 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25187 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25188 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25189 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25190 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25191 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25192 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25193 (test-xfail-ISO/math.h/linknamespace): Likewise.
25194 (test-xfail-ISO/signal.h/linknamespace): Likewise.
25195 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25196 (test-xfail-ISO/time.h/linknamespace): Likewise.
25197 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25198 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25199 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25200 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25201 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25202 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25203 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25204 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25205 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25206 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25207 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25208 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25209 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25210 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25211 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25212 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25213 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25214 (test-xfail-XPG3/search.h/linknamespace): Likewise.
25215 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25216 (test-xfail-XPG3/time.h/linknamespace): Likewise.
25217 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25218 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25219 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25220 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25221 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25222 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25223 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25224 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25225 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25226 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25227 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25228 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25229 (test-xfail-XPG4/search.h/linknamespace): Likewise.
25230 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25231 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25232 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25233 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25234 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25235 (test-xfail-XPG4/time.h/linknamespace): Likewise.
25236 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25237 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25238 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25239 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25240 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25241 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25242 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25243 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25244 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25245 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25246 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25247 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25248 (test-xfail-POSIX/time.h/linknamespace): Likewise.
25249 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25250 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25251 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25252 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25253 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25254 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25255 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25256 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25257 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25258 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25259 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25260 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25261 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25262 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25263 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25264 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25265 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25266 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25267 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25268 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25269 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25270 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25271 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25272 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25273 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25274 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25275 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25276 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25277 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25278 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25279 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25280 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25281 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25282 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25283 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25284 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25285 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25286 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25287 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25288 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25289 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25290 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25291 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25292 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25293 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25294 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25295 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25296 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25297 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25298 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25299 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25300 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25301 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25302 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25303 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25304 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25305 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25306 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25307 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25308 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25309 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25310 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25311 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25312 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25313 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25314 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25315 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25316 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25317 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25318 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25319 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25320 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25321 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25322 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25323 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25324 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25325 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25326 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25327 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25328 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25329 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25330 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25331 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25332 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25333 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25334 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25335 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25336 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25337 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25338 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25339 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25340 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25341 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25342 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25343 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25344 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25345 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25346 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25347
25348 [BZ #17589]
25349 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
25350 of fgets_unlocked.
25351
25352 [BZ #17585]
25353 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
25354 (memmem): Rename to __memmem and define as weak alias of
25355 __memmem. Use libc_hidden_weak.
25356 (__memmem): Use libc_hidden_def.
25357 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
25358 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
25359 memmem.
25360
25361 [BZ #17582]
25362 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
25363 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
25364 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
25365 and define as weak alias of __fgets_unlocked. Use
25366 libc_hidden_weak.
25367 (__fgets_unlocked): Use libc_hidden_def.
25368 * include/stdio.h (__fgets_unlocked): Declare. Use
25369 libc_hidden_proto.
25370 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
25371 __fgets_unlocked instead of fgets_unlocked.
25372 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
25373 (GET_NPROCS_CONF_PARSER): Likewise.
25374 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
25375 (GET_NPROCS_CONF_PARSER): Likewise.
25376
25377 [BZ #17574]
25378 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
25379 weak alias of __wmemset. Use libc_hidden_weak.
25380 (__wmemset): Use libc_hidden_def.
25381 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
25382 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
25383 of wmemset.
25384
25385 [BZ #17573]
25386 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
25387 with asm name __mempcpy.
25388 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
25389
25390 [BZ #17572]
25391 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
25392 and define as weak alias of __rawmemchr.
25393 (__rawmemchr): Do not define as strong alias of rawmemchr.
25394
25395 [BZ #17571]
25396 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
25397 alias of __qsort_r.
25398 (qsort): Call __qsort_r instead of qsort_r.
25399 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
25400 (__qsort_r): Declare. Call libc_hidden_proto.
25401 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
25402 instead of qsort_r.
25403 * nscd/gai.c (__qsort_r): Define to qsort_r.
25404 * posix/tst-rfc3484.c (__qsort_r): Likewise.
25405 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
25406 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
25407
25408 [BZ #17570]
25409 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
25410 define as weak alias of __malloc_info.
25411
25412 [BZ #17584]
25413 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
25414 as weak alias of __rewinddir. Don't use libc_hidden_def.
25415 (__rewinddir): Use libc_hidden_def.
25416 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25417 as weak alias of __rewinddir. Don't use libc_hidden_def.
25418 (__rewinddir): Use libc_hidden_def.
25419 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
25420 weak alias of __rewinddir. Don't use libc_hidden_def.
25421 (__rewinddir): Use libc_hidden_def.
25422 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
25423 (__rewinddir): Use libc_hidden_proto.
25424 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
25425 rewinddir.
25426 (__getcwd): Use __rewinddir instead of rewinddir.
25427
25428 [BZ #17583]
25429 * libio/fileno.c (fileno): Rename to __fileno and define as weak
25430 alias of __fileno. Use libc_hidden_weak.
25431 (__fileno): Use libc_hidden_def.
25432 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
25433 * libio/ftello.c (ftello): Rename to __ftello and define as weak
25434 alias of __ftello.
25435 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
25436 __ftello.
25437 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
25438 (__fread_unlocked): Define as strong alias of _IO_fread. Use
25439 libc_hidden_def.
25440 (fread_unlocked): Don't use libc_hidden_ver.
25441 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
25442 and define as weak alias of __fread_unlocked. Don't use
25443 libc_hidden_def.
25444 (__fread_unlocked): Use libc_hidden_def.
25445 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
25446 (ftello): Don't use libc_hidden_proto.
25447 (__ftello): Declare. Use libc_hidden_proto.
25448 (fread_unlocked): Don't use libc_hidden_proto.
25449 (__fread_unlocked): Declare. Use libc_hidden_proto.
25450 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
25451 and __ftello instead of fileno, fread_unlocked and ftello.
25452
25453 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25454
25455 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
25456 GOT12.
25457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25458 Likewise.
25459 (_dl_start_user): Likewise.
25460 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
25461
25462 2014-11-12 Carlos O'Donell <carlos@redhat.com>
25463 Siddhesh Poyarekar <siddhesh@redhat.com>
25464
25465 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
25466 Move argv and envp down instead of moving argc up.
25467 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
25468
25469 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
25470
25471 [BZ #17506]
25472 * test-skeleton.c (main): Return successful if one of
25473 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
25474 * string/tst-strcoll-overflow.c: Define expected status.
25475
25476 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
25477
25478 [BZ #17475]
25479 * locale/iso-639.def: Define Bhili and Tulu language codes.
25480
25481 2014-11-11 Alan Hayward <alan.hayward@arm.com>
25482
25483 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
25484
25485 2014-11-10 Renlin Li <Renlin.Li@arm.com>
25486
25487 [BZ #17555]
25488 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
25489
25490 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
25491
25492 * configure.ac: Updated check of minimal required version to
25493 2.22.
25494 * manual/install.texi (Tools for Compilation): Updated version
25495 number.
25496 * configure: Regenerated.
25497 * INSTALL: Likewise.
25498
25499 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
25500
25501 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
25502 __tls_get_addr.
25503
25504 2014-11-07 Joseph Myers <joseph@codesourcery.com>
25505
25506 * include/sys/wait.h (__libc_waitpid): Remove declaration.
25507 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
25508 (__waitpid): Don't define as alias. Use libc_hidden_def not
25509 libc_hidden_weak.
25510 (waitpid): Define as alias of __waitpid.
25511 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
25512 __waitpid.
25513 (__waitpid): Don't define as alias. Use libc_hidden_def not
25514 libc_hidden_weak.
25515 (waitpid): Define as alias of __waitpid.
25516 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
25517 __libc_waitpid alias.
25518 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
25519 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
25520 Likewise.
25521 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
25522 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25523 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
25524 alias.
25525 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
25526 __waitpid.
25527 (__waitpid): Don't define as alias. Use libc_hidden_def not
25528 libc_hidden_weak.
25529 (waitpid): Define as alias of __waitpid.
25530
25531 2014-11-06 Carlos O'Donell <carlos@redhat.com>
25532
25533 * manual/llio.texi: Add comment that write safety has been
25534 fixed in Linux.
25535
25536 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
25537 (localplt-build-dso): Add elf/ld.so.
25538 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
25539 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
25540 and free for ld.so.
25541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
25542 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
25544 Likewise.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
25546 Likewise.
25547 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
25548 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
25549 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
25550 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
25551 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25552 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
25553 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
25554 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25555 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25556 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
25557 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25558
25559 2014-11-05 Joseph Myers <joseph@codesourcery.com>
25560
25561 [BZ #14132]
25562 * include/libc-symbols.h (INTUSE): Remove macro.
25563 (INTDEF): Likewise.
25564 (INTVARDEF): Likewise.
25565 (_INTVARDEF): Likewise.
25566 (INTDEF2): Likewise.
25567 (INTVARDEF2): Likewise.
25568 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
25569 rtld_hidden_def instead of INTVARDEF.
25570 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
25571 (_dl_starting_up_internal): Remove declaration.
25572 (_dl_starting_up): Use rtld_hidden_proto.
25573 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
25574 declaration.
25575 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
25576 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
25577 _dl_starting_up.
25578 * elf/dl-writev.h (_dl_writev): Likewise.
25579 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
25580 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
25581 _dl_starting_up_internal.
25582
25583 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25584
25585 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
25586 test-skeleton.c.
25587
25588 2014-11-05 Will Newton <will.newton@linaro.org>
25589
25590 * benchtests/Makefile: (bench-malloc): Add malloc thread
25591 scalability benchmark.
25592 * benchtests/bench-malloc-threads.c: New file.
25593
25594 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
25595
25596 * sysdeps/aarch64/strchrnul.S: New file.
25597
25598 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25599
25600 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
25601 definition.
25602 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
25603 Likwise.
25604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
25605 Likewise.
25606 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
25607 Likewise.
25608 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
25609 Likewise.
25610 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
25611 Likewise.
25612
25613 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
25614
25615 * catgets/test-gencat.c: Use test-skeleton.c.
25616 * catgets/tst-catgets.c: Likewise.
25617 * csu/tst-empty.c: Likewise.
25618 * elf/tst-audit2.c: Likewise.
25619 * elf/tst-global1.c: Likewise.
25620 * elf/tst-pathopt.c: Likewise.
25621 * elf/tst-piemod1.c: Likewise.
25622 * elf/tst-tls10.c: Likewise.
25623 * elf/tst-tls11.c: Likewise.
25624 * elf/tst-tls12.c: Likewise.
25625 * gnulib/tst-gcc.c: Likewise.
25626 * iconvdata/tst-e2big.c: Likewise.
25627 * iconvdata/tst-loading.c: Likewise.
25628 * iconv/tst-iconv1.c: Likewise.
25629 * iconv/tst-iconv2.c: Likewise.
25630 * inet/test-inet6_opt.c: Likewise.
25631 * inet/tst-gethnm.c: Likewise.
25632 * inet/tst-network.c: Likewise.
25633 * inet/tst-ntoa.c: Likewise.
25634 * intl/tst-codeset.c: Likewise.
25635 * intl/tst-gettext2.c: Likewise.
25636 * intl/tst-gettext3.c: Likewise.
25637 * intl/tst-ngettext.c: Likewise.
25638 * intl/tst-translit.c: Likewise.
25639 * io/test-stat.c: Likewise.
25640 * libio/test-fmemopen.c: Likewise.
25641 * libio/tst-freopen.c: Likewise.
25642 * libio/tst-sscanf.c: Likewise.
25643 * libio/tst-ungetwc1.c: Likewise.
25644 * libio/tst-ungetwc2.c: Likewise.
25645 * libio/tst-widetext.c: Likewise.
25646 * localedata/tst-ctype.c: Likewise.
25647 * localedata/tst-digits.c: Likewise.
25648 * localedata/tst-leaks.c: Likewise.
25649 * localedata/tst-mbswcs1.c: Likewise.
25650 * localedata/tst-mbswcs2.c: Likewise.
25651 * localedata/tst-mbswcs3.c: Likewise.
25652 * localedata/tst-mbswcs4.c: Likewise.
25653 * localedata/tst-mbswcs5.c: Likewise.
25654 * localedata/tst-setlocale.c: Likewise.
25655 * localedata/tst-trans.c: Likewise.
25656 * localedata/tst-wctype.c: Likewise.
25657 * localedata/tst-xlocale1.c: Likewise.
25658 * login/tst-grantpt.c: Likewise.
25659 * malloc/tst-calloc.c: Likewise.
25660 * malloc/tst-malloc.c: Likewise.
25661 * malloc/tst-mallocstate.c: Likewise.
25662 * malloc/tst-mcheck.c: Likewise.
25663 * malloc/tst-mtrace.c: Likewise.
25664 * malloc/tst-obstack.c: Likewise.
25665 * math/atest-exp2.c: Likewise.
25666 * math/atest-exp.c: Likewise.
25667 * math/atest-sincos.c: Likewise.
25668 * math/test-matherr.c: Likewise.
25669 * math/test-misc.c: Likewise.
25670 * math/test-powl.c: Likewise.
25671 * math/tst-definitions.c: Likewise.
25672 * misc/tst-dirname.c: Likewise.
25673 * misc/tst-efgcvt.c: Likewise.
25674 * misc/tst-fdset.c: Likewise.
25675 * misc/tst-hsearch.c: Likewise.
25676 * misc/tst-mntent2.c: Likewise.
25677 * nptl/tst-sem7.c: Likewise.
25678 * nptl/tst-sem8.c: Likewise.
25679 * nptl/tst-sem9.c: Likewise.
25680 * nss/test-netdb.c: Likewise.
25681 * posix/tst-fnmatch.c: Likewise.
25682 * posix/tst-getlogin.c: Likewise.
25683 * posix/tst-gnuglob.c: Likewise.
25684 * posix/tst-mmap.c: Likewise.
25685 * pwd/tst-getpw.c: Likewise.
25686 * resolv/tst-inet_ntop.c: Likewise.
25687 * rt/tst-timer.c: Likewise.
25688 * stdio-common/test-fseek.c: Likewise.
25689 * stdio-common/test-popen.c: Likewise.
25690 * stdio-common/test-vfprintf.c: Likewise.
25691 * stdio-common/tst-cookie.c: Likewise.
25692 * stdio-common/tst-fileno.c: Likewise.
25693 * stdio-common/tst-gets.c: Likewise.
25694 * stdio-common/tst-obprintf.c: Likewise.
25695 * stdio-common/tst-perror.c: Likewise.
25696 * stdio-common/tst-sprintf2.c: Likewise.
25697 * stdio-common/tst-sprintf3.c: Likewise.
25698 * stdio-common/tst-sprintf.c: Likewise.
25699 * stdio-common/tst-swprintf.c: Likewise.
25700 * stdio-common/tst-tmpnam.c: Likewise.
25701 * stdio-common/tst-unbputc.c: Likewise.
25702 * stdio-common/tst-wc-printf.c: Likewise.
25703 * stdlib/tst-environ.c: Likewise.
25704 * stdlib/tst-fmtmsg.c: Likewise.
25705 * stdlib/tst-limits.c: Likewise.
25706 * stdlib/tst-rand48-2.c: Likewise.
25707 * stdlib/tst-rand48.c: Likewise.
25708 * stdlib/tst-random2.c: Likewise.
25709 * stdlib/tst-random.c: Likewise.
25710 * stdlib/tst-strtol.c: Likewise.
25711 * stdlib/tst-strtoll.c: Likewise.
25712 * stdlib/tst-tls-atexit.c: Likewise.
25713 * stdlib/tst-xpg-basename.c: Likewise.
25714 * string/test-ffs.c: Likewise.
25715 * string/tst-bswap.c: Likewise.
25716 * string/tst-inlcall.c: Likewise.
25717 * string/tst-strtok.c: Likewise.
25718 * string/tst-strxfrm.c: Likewise.
25719 * sysdeps/x86_64/tst-audit10.c: Likewise.
25720 * sysdeps/x86_64/tst-audit3.c: Likewise.
25721 * sysdeps/x86_64/tst-audit4.c: Likewise.
25722 * sysdeps/x86_64/tst-audit5.c: Likewise.
25723 * time/tst-ftime_l.c: Likewise.
25724 * time/tst-getdate.c: Likewise.
25725 * time/tst-mktime3.c: Likewise.
25726 * time/tst-mktime.c: Likewise.
25727 * time/tst-posixtz.c: Likewise.
25728 * time/tst-strptime2.c: Likewise.
25729 * time/tst-strptime3.c: Likewise.
25730 * wcsmbs/tst-btowc.c: Likewise.
25731 * wcsmbs/tst-mbrtowc.c: Likewise.
25732 * wcsmbs/tst-mbsrtowcs.c: Likewise.
25733 * wcsmbs/tst-wchar-h.c: Likewise.
25734 * wcsmbs/tst-wcpncpy.c: Likewise.
25735 * wcsmbs/tst-wcrtomb.c: Likewise.
25736 * wcsmbs/tst-wcsnlen.c: Likewise.
25737 * wcsmbs/tst-wcstof.c: Likewise.
25738
25739 2014-11-04 Joseph Myers <joseph@codesourcery.com>
25740
25741 [BZ #14132]
25742 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
25743 INTDEF.
25744 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
25745 declaration.
25746 (_dl_mcount): Use rtld_hidden_proto.
25747 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
25748 _dl_mcount.
25749 * elf/rtld.c (_rtld_global_ro): Likewise.
25750
25751 [BZ #14132]
25752 * elf/dl-init.c (_dl_init): Don't use INTDEF.
25753 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
25754 of _dl_init_internal.
25755 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
25756 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
25757 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
25758 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
25759 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
25760 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
25761 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
25762 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
25763 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
25764 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
25765 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
25766 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
25767 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25768 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25769 * sysdeps/tile/dl-start.S (_start): Likewise.
25770 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
25771 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
25772
25773 [BZ #14132]
25774 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
25775 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
25776 (rtld_progname): Make macro definition unconditional.
25777 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
25778 INTDEF.
25779 (dlmopen_doit): Do not use INTUSE with _dl_argv.
25780 (dl_main): Likewise.
25781 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25782 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
25783 instead of _dl_argv_internal.
25784 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25785 __GI__dl_argv instead of INTUSE(_dl_argv).
25786 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
25787 __GI__dl_argv instead of _dl_argv_internal.
25788
25789 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
25790 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
25791 macro.
25792 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
25793 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
25794 New macro.
25795 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
25796 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
25797 macro.
25798 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
25799 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
25800
25801 2014-11-04 Andreas Schwab <schwab@suse.de>
25802
25803 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
25804
25805 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25806
25807 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
25808 mtvsrd instruction in binary form.
25809
25810 2014-11-03 Andreas Schwab <schwab@suse.de>
25811
25812 [BZ #17522]
25813 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
25814 for less than MB_LEN_MAX use a local buffer of that size.
25815 * libio/tst-fputws.c: New file.
25816 * libio/Makefile (tests): Add tst-fputws.
25817
25818 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
25819
25820 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
25821 the size of the fpu_fr.fpu_dregs[] array.
25822
25823 2014-11-01 Joseph Myers <joseph@codesourcery.com>
25824
25825 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
25826 (__nanosleep): Do not define as alias.
25827 (nanosleep): Define as alias of __nanosleep.
25828 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25829 __libc_nanosleep name.
25830
25831 2014-10-31 Joseph Myers <joseph@codesourcery.com>
25832
25833 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25834 install.texi in comment.
25835
25836 2014-10-31 Torvald Riegel <triegel@redhat.com>
25837
25838 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25839 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25840 ... add here and use lwsync or sync ...
25841 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25842 ... and add here using lwsync.
25843
25844 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
25845
25846 * elf/dl-machine-reject-phdr.h: New file.
25847 * elf/dl-load.c: #include that.
25848 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25849 if that returned true.
25850
25851 2014-10-31 Roland McGrath <roland@hack.frob.com>
25852
25853 [BZ #17496]
25854 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25855 gen-as-const-headers chunk. Add a big scare comment after the last
25856 safe place to touch before-compile.
25857
25858 2014-10-31 Joseph Myers <joseph@codesourcery.com>
25859
25860 * manual/install.texi (Tools for Compilation): Update autoconf
25861 version requirements.
25862 * INSTALL: Regenerated.
25863
25864 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25865 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25866 (__libc_pselect): Likewise.
25867
25868 [BZ #14138]
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25873
25874 2014-10-31 Torvald Riegel <triegel@redhat.com>
25875
25876 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25877 correct barrier instruction.
25878 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25879 Likewise.
25880 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25881 Likewise.
25882
25883 2014-10-30 Roland McGrath <roland@hack.frob.com>
25884
25885 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25886 after defining inlines. Instead, just use parens to defeat macro
25887 expansion of __isctype in its declaration.
25888
25889 2014-10-30 Joseph Myers <joseph@codesourcery.com>
25890
25891 * include/sys/uio.h (__libc_readv): Remove declaration.
25892 (__libc_writev): Likewise.
25893 * misc/readv.c (__libc_readv): Rename to __readv.
25894 (__readv): Do not define as alias.
25895 (readv): Define as alias of __readv.
25896 * misc/writev.c (__libc_writev): Rename to __writev.
25897 (__writev): Do not define as alias.
25898 (writev): Define as alias of __writev.
25899 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25900 (__readv): Do not define as alias.
25901 (readv): Define unconditionally as alias of __readv.
25902 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25903 (__writev): Do not define as alias.
25904 (writev): Define unconditionally as alias of __writev.
25905 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25906 name.
25907 (writev): Do not define __libc_writev name.
25908
25909 2014-10-30 Roland McGrath <roland@hack.frob.com>
25910
25911 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25912 (convert_charseq): New function, broken out of ...
25913 (use_from_charmap): ... here. Call it.
25914 (use_to_charmap): Use convert_charseq and free instead of duplicating
25915 its code with a variable-length stack struct.
25916
25917 2014-10-30 Joseph Myers <joseph@codesourcery.com>
25918
25919 * include/fcntl.h (__libc_creat): Remove declaration.
25920 * io/creat.c (__libc_creat): Rename to creat.
25921 (creat): Do not define as alias.
25922 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25923 of creat instead of __libc_creat.
25924 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25925 to creat.
25926 (creat): Do not define as alias.
25927 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25928 __libc_creat.
25929 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25930 __libc_creat name.
25931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25932 Likewise.
25933
25934 2014-10-29 Carlos O'Donell <carlos@redhat.com>
25935
25936 * manual/llio.texi: Add comments discussing why write() may be
25937 considered MT-unsafe on Linux.
25938
25939 2014-10-28 Carlos O'Donell <carlos@redhat.com>
25940
25941 * dl-load.c (local_strdup): Remove.
25942 (expand_dynamic_string_token): Use __strdup.
25943 (decompose_rpath): Likewise.
25944 (_dl_map_object): Likewise.
25945
25946 2014-10-28 Joseph Myers <joseph@codesourcery.com>
25947
25948 [BZ #14132]
25949 * sysdeps/generic/unwind-dw2-fde.c
25950 (__register_frame_info_bases_internal): Do not declare.
25951 (__register_frame_info_table_bases_internal): Likewise.
25952 (__deregister_frame_info_bases_internal): Likewise.
25953 (__register_frame_info_bases): Declare and use hidden_proto before
25954 definition. Use hidden_def instead of INTDEF.
25955 (__register_frame_info_table_bases): Likewise.
25956 (__deregister_frame_info_bases): Likewise.
25957 (__register_frame_info): Do not use INTUSE.
25958 (__register_frame): Likewise.
25959 (__register_frame_info_table): Likewise.
25960 (__register_frame_table): Likewise.
25961 (__deregister_frame_info): Likewise.
25962 (__deregister_frame): Likewise.
25963
25964 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
25965
25966 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25967 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25968 not undefine.
25969 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25970 Likewise.
25971 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25972 Likewise.
25973
25974 2014-10-27 Joseph Myers <joseph@codesourcery.com>
25975
25976 [BZ #14138]
25977 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25978 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25979 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25980 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25981 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25982 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25983 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25984 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25985 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25986 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25987 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25988 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25989 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25990 syscall.
25991 (setfsuid): Likewise.
25992 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25993 (setfsuid): Likewise.
25994 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25995 (setfsuid): Likewise.
25996 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25997 Likewise.
25998 (setfsuid): Likewise.
25999 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26000 (setfsuid): Likewise.
26001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26002 Likewise.
26003 (setfsuid): Likewise.
26004
26005 2014-10-27 Andreas Schwab <schwab@suse.de>
26006
26007 [BZ #17501]
26008 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26009 check for Slow_SSE4_2 feature bit.
26010 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26011 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26012 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26013 Likewise. Fix check for Fast_Unaligned_Load feature bit.
26014
26015 2014-10-24 Roland McGrath <roland@hack.frob.com>
26016
26017 * configure.ac: Validate compiler version with a empirical test of
26018 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26019 $CC -v output.
26020 * configure: Regenerated.
26021
26022 * inet/htons.c (htons): Prototypify.
26023 * inet/htonl.c (htonl): Likewise.
26024
26025 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26026
26027 * string/strncat.c (strncat): Improve performance by using strlen.
26028
26029 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26030
26031 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26032
26033 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26034
26035 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26036 Call libc_fetestexcept_aarch64.
26037
26038 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26039
26040 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26041 Call libc_feholdexcept_aarch64.
26042
26043 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26044
26045 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26046 Call get_rounding_mode.
26047
26048 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26049
26050 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26051 Simplify logic.
26052
26053 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26054
26055 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26056 Simplify logic.
26057
26058 2014-10-24 Joseph Myers <joseph@codesourcery.com>
26059
26060 [BZ #14138]
26061 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26062 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26063 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26064 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26065 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26066 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26067 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26068 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26069 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26070 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26071 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26072 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26073 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26074 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26075 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26076 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26077 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26078 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26079 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26080 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26081 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26082 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26083 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26085 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26086 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26087 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26088 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26089 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26090 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26091 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26092 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26093 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26094 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26095 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26096 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26097 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26098 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26099 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26100 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26101 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26102 syscall.
26103 (geteuid): Likewise.
26104 (getgid): Likewise.
26105 (getuid): Likewise.
26106 (getresgid): Likewise.
26107 (getresuid): Likewise.
26108 (getgroups): Likewise.
26109 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26110 (geteuid): Likewise.
26111 (getgid): Likewise.
26112 (getuid): Likewise.
26113 (getresgid): Likewise.
26114 (getresuid): Likewise.
26115 (getgroups): Likewise.
26116 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26117 (geteuid): Likewise.
26118 (getgid): Likewise.
26119 (getuid): Likewise.
26120 (getresgid): Likewise.
26121 (getresuid): Likewise.
26122 (getgroups): Likewise.
26123 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26124 Likewise.
26125 (geteuid): Likewise.
26126 (getgid): Likewise.
26127 (getuid): Likewise.
26128 (getresgid): Likewise.
26129 (getresuid): Likewise.
26130 (getgroups): Likewise.
26131 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26132 (geteuid): Likewise.
26133 (getgid): Likewise.
26134 (getuid): Likewise.
26135 (getresgid): Likewise.
26136 (getresuid): Likewise.
26137 (getgroups): Likewise.
26138 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26139 Likewise.
26140 (geteuid): Likewise.
26141 (getgid): Likewise.
26142 (getuid): Likewise.
26143 (getgroups): Likewise.
26144
26145 [BZ #14138]
26146 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26147 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26148 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26150 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26151 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26152 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26153 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26154 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26155 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26156 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26157 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26158 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26159 __chown.
26160 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26161 (lchown): Likewise.
26162 (fchown): Likewise.
26163 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26164 Likewise.
26165 (lchown): Likewise.
26166 (fchown): Likewise.
26167 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26168 (lchown): Likewise.
26169 (fchown): Likewise.
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26171 Likewise.
26172 (lchown): Likewise.
26173 (fchown): Likewise.
26174
26175 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26176
26177 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26178 Simplify logic.
26179
26180 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26181
26182 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26183 Cleanup logic.
26184
26185 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26186
26187 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26188 Remove unused include.
26189
26190 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26191
26192 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26193 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26194 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26195 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26196
26197 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
26198 Helge Deller <deller@gmx.de>
26199
26200 [BZ #17508]
26201 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26202 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26203 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26204
26205 2014-10-23 Joseph Myers <joseph@codesourcery.com>
26206
26207 [BZ #14132]
26208 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26209 Remove macro definition.
26210 (__ashrdi3_v_glibc20): Likewise.
26211 (__lshrdi3_v_glibc20): Likewise.
26212 (__cmpdi2_v_glibc20): Likewise.
26213 (__ucmpdi2_v_glibc20): Likewise.
26214 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26215 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26216 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26217 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26218 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26219 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26220
26221 2014-10-22 Roland McGrath <roland@hack.frob.com>
26222
26223 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26224 old GNU extension [0] syntax.
26225 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26226 alloca rather than an array member with variable length.
26227 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26228 * nscd/nscd.c (invalidate_db): New function, broken out of ...
26229 (parse_opt): ... here. Likewise use alloca there.
26230 Validate the -i argument before checking for rootness.
26231 (send_shutdown): New function, broken out of ...
26232 (parse_opt): ... here.
26233
26234 2014-10-22 Roland McGrath <roland@hack.frob.com>
26235
26236 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26237 macro to get at the _rt_local_ro field.
26238 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26239 ([PIC] case) or _dl_hwcap ([!PIC] case).
26240 * sysdeps/arm/setjmp.S: Likewise.
26241
26242 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26243 * sysdeps/arm/configure.ac: New check to define it.
26244 * sysdeps/arm/configure: Regenerated.
26245 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26246 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26247 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26248 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26249 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26250 Use move/movt pair instead of a load.
26251 (LDST_GLOBAL): Macro removed.
26252 (LDR_GLOBAL): New macro replaces it.
26253 (LDR_HIDDEN): New macro.
26254 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26255 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26256
26257 * setjmp/tst-setjmp-static.c: New file.
26258 * setjmp/Makefile (tests): Add it.
26259 (tests-static): New variable.
26260
26261 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
26262
26263 [BZ #17485]
26264 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26265
26266 2014-10-21 Joseph Myers <joseph@codesourcery.com>
26267
26268 [BZ #14132]
26269 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26270
26271 2014-10-21 Roland McGrath <roland@hack.frob.com>
26272
26273 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26274
26275 2014-10-20 Roland McGrath <roland@hack.frob.com>
26276
26277 * io/fts.c (dirent_not_directory): New function.
26278 (fts_build): Call it.
26279
26280 2014-10-20 Roland McGrath <roland@hack.frob.com>
26281
26282 * nptl/version.c (__nptl_main): Use normal __write rather than
26283 INTERNAL_SYSCALL.
26284 (banner): Update copyright years.
26285
26286 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26287 gettimeofday.
26288 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26289 * nptl/pthread_cond_timedwait.c: Likewise.
26290 * nptl/pthread_mutex_timedlock.c: Likewise.
26291 * nptl/sem_timedwait.c: Likewise.
26292
26293 * sysdeps/nptl/bits/libc-lock.h
26294 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26295 (__libc_lock_init_recursive): Return void, not 0.
26296 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26297 (__libc_rwlock_init): Likewise.
26298 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26299
26300 2014-10-20 Torvald Riegel <triegel@redhat.com>
26301
26302 [BZ #15215]
26303 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26304 (__pthread_once_slow): ... here.
26305 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26306 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26307
26308 2014-10-20 Torvald Riegel <triegel@redhat.com>
26309
26310 [BZ #15215]
26311 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26312 __PTHREAD_ONCE_FORK_GEN_INCR): New.
26313 * sysdeps/nptl/fork.c (__libc_fork): Use them.
26314 * nptl/pthread_once.c (__pthread_once): Likewise.
26315 Update comments.
26316
26317 2014-10-20 Joseph Myers <joseph@codesourcery.com>
26318
26319 [BZ #14138]
26320 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26321 name.
26322 (writev): Use __libc_writev as strong name.
26323 * sysdeps/unix/sysv/linux/readv.c: Remove file.
26324 * sysdeps/unix/sysv/linux/writev.c: Likewise.
26325
26326 2014-10-17 Roland McGrath <roland@hack.frob.com>
26327
26328 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26329
26330 * sysdeps/i386/nptl/tls.h
26331 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26332 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26333 New macros.
26334 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26335 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26336 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26337 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26338 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26339 Call CHECK_THREAD_SYSINFO instead of doing an assert.
26340
26341 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26342 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26343 on [__NR_futex].
26344 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26345 broken out of ...
26346 (__pthread_mutex_init): ... here. Call it.
26347 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
26348 Conditionalize PI cases on [__NR_futex].
26349 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
26350 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
26351 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
26352
26353 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
26354 conditional on [SIGSETXID].
26355 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
26356 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
26357 is defined. Likewise for SIGSETXID.
26358 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
26359 Conditionalize definitions on [SIGSETXID].
26360 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
26361 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
26362 unblocking on [SIGCANCEL].
26363
26364 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
26365 [__NR_set_robust_list].
26366
26367 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26368
26369 * string/strcoll_l.c (get_next_seq): Fix up formatting.
26370 (do_compare): Likewise.
26371
26372 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
26373
26374 [BZ #15884]
26375 * string/strcoll_l.c: Don't include stdio.h.
26376 (coll_seq): Remove members idxarr and rulearr.
26377 (get_next_seq_cached): Remove function.
26378 (get_next_seq): Likewise.
26379 (get_next_seq_nocache): Rename to get_next_seq.
26380 (do_compare): Remove function.
26381 (do_compare_nocache): Rename to do_compare.
26382 (STRCOLL): Remove weight and rules cache.
26383
26384 2014-10-16 Roland McGrath <roland@hack.frob.com>
26385
26386 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
26387 * sysdeps/arm/sfp-machine.h: ... to here.
26388 * sysdeps/arm/Implies: Remove arm/soft-fp.
26389
26390 2014-10-14 Joseph Myers <joseph@codesourcery.com>
26391
26392 * conform/data/sys/utsname.h-data (*_t): Allow.
26393 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
26394 [POSIX] (WEXITED): Do not expect constant.
26395 [POSIX] (WSTOPPED): Likewise.
26396 [POSIX] (WNOHANG): Likewise.
26397 [POSIX] (WNOWAIT): Likewise.
26398 [POSIX] (siginfo_t): Do not expect type or elements.
26399 [POSIX] (pid_t): Do not expect type.
26400 [POSIX] (signal.h): Do not allow header.
26401 [POSIX] (sys/resource.h): Likewise.
26402 [POSIX] (si_*): Do not allow pattern.
26403 [POSIX] (W*): Likewise.
26404 [POSIX] (P_*): Likewise.
26405 [POSIX] (BUS_*): Likewise.
26406 [POSIX] (CLD_*): Likewise.
26407 [POSIX] (FPE_*): Likewise.
26408 [POSIX] (ILL_*): Likewise.
26409 [POSIX] (POLL_*): Likewise.
26410 [POSIX] (SEGV_*): Likewise.
26411 [POSIX] (SI_*): Likewise.
26412 [POSIX] (TRAP_*): Likewise.
26413 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
26414 variable.
26415
26416 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
26417
26418 [BZ #12926]
26419 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
26420 infinite loop when __recvmsg returns 0.
26421
26422 2014-10-10 Joseph Myers <joseph@codesourcery.com>
26423
26424 * CANCEL-FCT-WAIVE: Remove file.
26425 * CANCEL-FILE-WAIVE: Likewise.
26426
26427 [BZ #14132]
26428 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
26429 instead of INTVARDEF.
26430 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26431 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
26432 rtld_hidden_data_def instead of INTVARDEF.
26433 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
26434 * elf/dl-deps.c (expand_dst): Likewise.
26435 * elf/dl-load.c (_dl_dst_count): Likewise.
26436 (_dl_dst_substitute): Likewise.
26437 (decompose_rpath): Likewise.
26438 (_dl_init_paths): Likewise.
26439 (open_path): Likewise.
26440 (_dl_map_object): Likewise.
26441 * elf/rtld.c (dl_main): Likewise.
26442 (process_dl_audit): Likewise.
26443 (process_envvars): Likewise.
26444 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
26445 Remove declaration.
26446 (__libc_enable_secure): Use rtld_hidden_proto.
26447
26448 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26449
26450 * elf/dl-load.c
26451 (add_path): New function broken out of _dl_rtld_di_serinfo.
26452 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
26453
26454 2014-10-09 Joseph Myers <joseph@codesourcery.com>
26455
26456 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
26457 parentheses around macro arguments.
26458 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
26459 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
26460 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
26461 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
26462 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
26463 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26464 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26465 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
26466 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
26467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
26468 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
26469 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
26470 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
26471 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
26472 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
26473 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
26474 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
26475 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
26476 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
26477 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
26478 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
26479 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
26480 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
26481 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
26482 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
26483 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
26484 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
26485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
26486 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
26487 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
26488 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
26489 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
26490 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
26491 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
26492 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
26493 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
26494 Likewise.
26495 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
26496 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26497 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
26499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
26500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
26501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
26502 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
26503 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
26504 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
26505 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
26506 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
26507 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
26508 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
26509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
26510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
26511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
26512 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
26513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
26514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
26515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
26516 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
26517 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
26518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
26519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
26520 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
26521 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
26522 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
26523 (_FP_FRAC_SRS_1): Likewise.
26524 (_FP_FRAC_CLZ_1): Likewise.
26525 (_FP_MUL_MEAT_1_imm): Likewise.
26526 (_FP_MUL_MEAT_1_wide): Likewise.
26527 (_FP_MUL_MEAT_1_hard): Likewise.
26528 (_FP_SQRT_MEAT_1): Likewise.
26529 (_FP_FRAC_ASSEMBLE_1): Likewise.
26530 (_FP_FRAC_DISASSEMBLE_1): Likewise.
26531 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
26532 (__FP_CLZ_2): Likewise.
26533 (_FP_MUL_MEAT_2_wide): Likewise.
26534 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26535 (_FP_MUL_MEAT_2_gmp): Likewise.
26536 (_FP_MUL_MEAT_2_120_240_double): Likewise.
26537 (_FP_SQRT_MEAT_2): Likewise.
26538 (_FP_FRAC_ASSEMBLE_2): Likewise.
26539 (_FP_FRAC_DISASSEMBLE_2): Likewise.
26540 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
26541 (_FP_FRAC_CLZ_4): Likewise.
26542 (_FP_MUL_MEAT_4_wide): Likewise.
26543 (_FP_MUL_MEAT_4_gmp): Likewise.
26544 (_FP_SQRT_MEAT_4): Likewise.
26545 (_FP_FRAC_ASSEMBLE_4): Likewise.
26546 (_FP_FRAC_DISASSEMBLE_4): Likewise.
26547 * soft-fp/op-common.h (_FP_CMP): Likewise.
26548 (_FP_CMP_EQ): Likewise.
26549 (_FP_CMP_UNORD): Likewise.
26550 (_FP_TO_INT): Likewise.
26551 (_FP_FROM_INT): Likewise.
26552 [!__FP_CLZ] (__FP_CLZ): Likewise.
26553 (_FP_DIV_HELP_imm): Likewise.
26554 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
26555 Likewise.
26556 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
26557 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
26558 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
26559 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
26560 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
26561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26562 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26563 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
26564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
26565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
26566 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
26567 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
26568 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
26569 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
26570 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
26571 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
26572 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
26573 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
26574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
26575 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
26576 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
26577 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
26578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
26579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
26580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
26581 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
26582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
26583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
26584 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
26585 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
26586 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
26587 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
26588 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
26589 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
26590 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
26591 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
26592 (FP_UNPACK_RAW_SP): Likewise.
26593 (FP_PACK_RAW_S): Likewise.
26594 (FP_PACK_RAW_SP): Likewise.
26595 (FP_UNPACK_S): Likewise.
26596 (FP_UNPACK_SP): Likewise.
26597 (FP_UNPACK_SEMIRAW_S): Likewise.
26598 (FP_UNPACK_SEMIRAW_SP): Likewise.
26599 (FP_PACK_S): Likewise.
26600 (FP_PACK_SP): Likewise.
26601 (FP_PACK_SEMIRAW_S): Likewise.
26602 (FP_PACK_SEMIRAW_SP): Likewise.
26603 (_FP_SQRT_MEAT_S): Likewise.
26604 (FP_CMP_S): Likewise.
26605 (FP_CMP_EQ_S): Likewise.
26606 (FP_CMP_UNORD_S): Likewise.
26607 (FP_TO_INT_S): Likewise.
26608 (FP_FROM_INT_S): Likewise.
26609
26610 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
26611
26612 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
26613 (FP_EX_INVALID_IMZ): Likewise.
26614 (FP_EX_INVALID_IMZ_FMA): Likewise.
26615 (FP_EX_INVALID_ISI): Likewise.
26616 (FP_EX_INVALID_ZDZ): Likewise.
26617 (FP_EX_INVALID_IDI): Likewise.
26618 (FP_EX_INVALID_SQRT): Likewise.
26619 (FP_EX_INVALID_CVI): Likewise.
26620 (FP_EX_INVALID_VC): Likewise.
26621 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
26622 "invalid" exceptions.
26623 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
26624 (_FP_ADD_INTERNAL): Likewise.
26625 (_FP_MUL): Likewise.
26626 (_FP_FMA): Likewise.
26627 (_FP_DIV): Likewise.
26628 (_FP_CMP_CHECK_NAN): Likewise.
26629 (_FP_SQRT): Likewise.
26630 (_FP_TO_INT): Likewise.
26631 (FP_EXTEND): Likewise.
26632
26633 2014-10-09 Allan McRae <allan@archlinux.org>
26634
26635 * po/fr.po: Update French translation from translation project.
26636
26637 2014-10-09 Joseph Myers <joseph@codesourcery.com>
26638
26639 [BZ #14132]
26640 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
26641 of INTDEF.
26642 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
26643 (__cxa_atexit): Use libc_hidden_proto.
26644 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
26645
26646 [BZ #14132]
26647 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
26648 declaration.
26649 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
26650 [!_ISOMAC] (__iswspace_l_internal): Likewise.
26651 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
26652 [!_ISOMAC] (__iswctype_internal): Likewise.
26653 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
26654 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
26655 alias.
26656 (fcntl): Remove __fcntl_internal alias.
26657 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
26658 __connect_internal alias.
26659 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
26660 Likewise.
26661
26662 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
26663 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
26664 FP_DENORM_ZERO.
26665 (_FP_CHECK_FLUSH_ZERO): New macro.
26666 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
26667 (_FP_CMP): Likewise.
26668 (_FP_CMP_EQ): Likewise.
26669 (_FP_TO_INT): Do not set inexact for subnormal arguments if
26670 FP_DENORM_ZERO.
26671 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
26672 (FP_TRUNC): Likewise.
26673
26674 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
26675 treated as invalid conversion, not as normal exponent.
26676
26677 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
26678 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
26679 (_FP_CMP_EQ): Likewise.
26680 (_FP_CMP_UNORD): Likewise.
26681 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
26682 (FP_CMP_EQ_D): Likewise.
26683 (FP_CMP_UNORD_D): Likewise.
26684 * soft-fp/extended.h (FP_CMP_E): Likewise.
26685 (FP_CMP_EQ_E): Likewise.
26686 (FP_CMP_UNORD_E): Likewise.
26687 * soft-fp/quad.h (FP_CMP_Q): Likewise.
26688 (FP_CMP_EQ_Q): Likewise.
26689 (FP_CMP_UNORD_Q): Likewise.
26690 * soft-fp/single.h (FP_CMP_S): Likewise.
26691 (FP_CMP_EQ_S): Likewise.
26692 (FP_CMP_UNORD_S): Likewise.
26693 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
26694 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
26695 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
26696 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
26697 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
26698 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
26699 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
26700 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
26701 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
26702 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
26703 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
26704 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
26705 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
26706 to FP_CMP_Q.
26707 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
26708 FP_CMP_Q.
26709 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
26710 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
26711 FP_CMP_EQ_Q.
26712 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
26713 FP_CMP_Q.
26714 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
26715 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
26716 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
26717 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
26718 FP_CMP_EQ_Q.
26719 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
26720 FP_CMP_Q.
26721 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
26722 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
26723 FP_CMP_EQ_Q.
26724 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
26725 FP_CMP_Q.
26726 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
26727 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
26728 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
26729 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
26730 FP_CMP_EQ_Q.
26731
26732 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
26733 a subnormal result, set the underflow exception if trapping on
26734 underflow is enabled.
26735 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
26736 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
26737 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
26738 redefine to 0.
26739 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
26740 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26741 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
26742 * soft-fp/extendxftf2.c (__extendxftf2): Use
26743 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
26744
26745 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
26746 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
26747 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26748 FP_HANDLE_EXCEPTIONS.
26749 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
26750 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26751 FP_HANDLE_EXCEPTIONS.
26752 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
26753 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26754 FP_HANDLE_EXCEPTIONS.
26755 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
26756 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
26757 FP_HANDLE_EXCEPTIONS.
26758
26759 2014-10-08 Joseph Myers <joseph@codesourcery.com>
26760
26761 [BZ #14132]
26762 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
26763 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
26764 use INTUSE.
26765 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
26766 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
26767 Remove alias.
26768 (__adjtimex): Define using libc_hidden_ver.
26769 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
26770 Remove declaration.
26771 (ntp_gettime): Call __adjtimex directly.
26772 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
26773 Remove declaration.
26774 (ntp_gettimex): Call __adjtimex directly.
26775 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
26776 __adjtimex_internal alias.
26777
26778 2014-10-08 Roland McGrath <roland@hack.frob.com>
26779
26780 [BZ #17460]
26781 * nscd/nscd.c (more_help): Rewrite list of tables collection
26782 using xstrdup and asprintf.
26783
26784 * nscd/nscd_conf.c: Remove local xstrdup declaration.
26785
26786 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26787 Roland McGrath <roland@hack.frob.com>
26788
26789 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
26790 (do_lookup_unique): ... local function 'enter' here; update callers.
26791
26792 2014-10-06 Joseph Myers <joseph@codesourcery.com>
26793
26794 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
26795 compat_symbol calls on [SHARED].
26796 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
26797 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
26798 Remove.
26799 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26800 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
26801 (oldsetrlimit): Remove.
26802 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26804 (lchown): New syscall entry.
26805 (oldsetrlimit): Remove.
26806 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26807 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
26808 (oldsetrlimit): Remove.
26809 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
26810
26811 [BZ #14138]
26812 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
26813 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
26814 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
26815 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
26816 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
26817 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
26818 (fchown): Likewise.
26819 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
26820 (fchown): Likewise.
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
26822 Likewise.
26823
26824 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26825
26826 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
26827 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
26828 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26829 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26830 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26831 Likewise.
26832 (__old_sem_post): Likewise.
26833
26834 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
26835
26836 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26837 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26838 HAVE_CLOCK_GETTIME_VSYSCALL macros.
26839 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26840 Use INLINE_VSYSCALL macro.
26841 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26842 __vdso_clock_gettime.
26843 * sysdeps/unix/sysv/linux/tile/init-first.c
26844 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26845 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26846 __vdso_clock_gettime.
26847
26848 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26849 to set up frame more cleanly.
26850
26851 * sysdeps/tile/memcmp.c: New file.
26852
26853 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26854
26855 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26856 * sysdeps/tile/tilegx/strcasestr.c: New file.
26857 * sysdeps/tile/tilegx/strnlen.c: New file.
26858 * sysdeps/tile/tilegx/strstr.c: New file.
26859
26860 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26861
26862 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
26863
26864 * nptl/tst-setuid3.c: Write errors to stdout.
26865
26866 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26867
26868 * elf/dl-deps.c
26869 (preload): New functions broken out of _dl_map_object_deps.
26870 (_dl_map_object_deps): Remove a nested function. Update call sites.
26871
26872 2014-10-01 Joseph Myers <joseph@codesourcery.com>
26873
26874 [BZ #14138]
26875 * sysdeps/unix/sysv/linux/execve.c: Remove file.
26876 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26877
26878 2014-10-01 Steve Ellcey <sellcey@mips.com>
26879
26880 * sysdeps/mips/strcmp.S: New.
26881
26882 2014-09-30 Joseph Myers <joseph@codesourcery.com>
26883
26884 [BZ #14138]
26885 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26886 (linkat): Likewise.
26887 (mkdirat): Likewise.
26888 (readlinkat): Likewise.
26889 (renameat): Likewise.
26890 (symlinkat): Likewise.
26891 (unlinkat): Likewise.
26892 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26893 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26894 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26895 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26896 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26897 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26898 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26899
26900 2014-09-30 Will Newton <will.newton@linaro.org>
26901
26902 * math/math.h: Define long double math functions if
26903 _LIBC_TEST is defined.
26904 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26905
26906 * localedata/Makefile: Move assignment to tests-special
26907 into an ifdef testing run-built-tests.
26908 * timezone/Makefile: Likewise.
26909
26910 2014-09-29 Joseph Myers <joseph@codesourcery.com>
26911
26912 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26913 with $(BASH) not $(SHELL).
26914
26915 2014-09-29 Carlos O'Donell <carlos@redhat.com>
26916 Matthew LeGendre <legendre1@llnl.gov>
26917
26918 [BZ #17411]
26919 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26920 l_reloc_result.
26921
26922 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26923
26924 * stdio-common/printf_fp.c
26925 (hack_digit): New function, broken out of ...
26926 (__printf_fp): ... local function here. Update call sites.
26927 hack_digit now takes an additional parameter that is a pointer
26928 to a struct of the referenced locals. Those locals moved inside
26929 the struct and references updated.
26930
26931 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
26932
26933 * aclocal.m4: Require autoconf 2.69.
26934 * configure: Regenerated.
26935 * sysdeps/aarch64/configure: Likewise.
26936 * sysdeps/alpha/configure: Likewise.
26937 * sysdeps/arm/armv7/configure: Likewise.
26938 * sysdeps/arm/configure: Likewise.
26939 * sysdeps/ia64/configure: Likewise.
26940 * sysdeps/mach/configure: Likewise.
26941 * sysdeps/mips/configure: Likewise.
26942 * sysdeps/s390/configure: Likewise.
26943 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26945
26946 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26947 file.
26948 * sysdeps/ia64/configure.ac: Likewise.
26949
26950 2014-09-26 Joseph Myers <joseph@codesourcery.com>
26951
26952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26953 specify symbol version for ld.so. Do not include entry for
26954 libpthread.
26955 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26956 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26957 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26958
26959 [BZ #14171]
26960 * Makeconfig [$(build-shared) = yes]
26961 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26962 makefiles.
26963 [$(build-shared) = yes && $(soversions.mk-done) = t]
26964 ($(common-objpfx)gnu/lib-names.h): Remove rule.
26965 [$(build-shared) = yes && $(soversions.mk-done) = t]
26966 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
26967 to Makerules.
26968 [$(build-shared) = yes && $(soversions.mk-done) = t]
26969 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26970 here.
26971 [$(build-shared) = yes && $(soversions.mk-done) = t]
26972 (common-generated): Don't append gnu/lib-names.h and
26973 gnu/lib-names.stmp here.
26974 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26975 (lib-names-h-abi): New variable.
26976 [$(build-shared) = yes && $(soversions.mk-done) = t]
26977 (lib-names-stmp-abi): Likewise.
26978 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26979 abi-variants] (before-compile): Append
26980 $(common-objpfx)$(lib-names-h-abi).
26981 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26982 abi-variants] (common-generated): Append gnu/lib-names.h.
26983 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26984 abi-variants] (install-others-nosubdir): Depend on
26985 $(inst_includedir)/$(lib-names-h-abi).
26986 [$(build-shared) = yes && $(soversions.mk-done) = t &&
26987 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26988 [$(build-shared) = yes && $(soversions.mk-done) = t]
26989 ($(common-objpfx)$(lib-names-h-abi)): New rule.
26990 [$(build-shared) = yes && $(soversions.mk-done) = t]
26991 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26992 [$(build-shared) = yes && $(soversions.mk-done) = t]
26993 (common-generated): Append $(lib-names-h-abi) and
26994 $(lib-names-stmp-abi).
26995 * scripts/lib-names.awk: Do not handle multi being set.
26996 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26997 Remove variable.
26998 (abi-lp64_be-ld-soname): Likewise.
26999 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27000 Likewise.
27001 (abi-hard-ld-soname): Likewise.
27002 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27003 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27004 Remove variable.
27005 (abi-o32_hard-ld-soname): Likewise.
27006 (abi-o32_soft_2008-ld-soname): Likewise.
27007 (abi-o32_hard_2008-ld-soname): Likewise.
27008 (abi-n32_soft-ld-soname): Likewise.
27009 (abi-n32_hard-ld-soname): Likewise.
27010 (abi-n32_soft_2008-ld-soname): Likewise.
27011 (abi-n32_hard_2008-ld-soname): Likewise.
27012 (abi-n64_soft-ld-soname): Likewise.
27013 (abi-n64_hard-ld-soname): Likewise.
27014 (abi-n64_soft_2008-ld-soname): Likewise.
27015 (abi-n64_hard_2008-ld-soname): Likewise.
27016 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27017 Likewise.
27018 (abi-64-v2-ld-soname): Likewise.
27019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27020 ld.so entries.
27021 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27022 variable.
27023 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27024 entry.
27025 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27026 variable.
27027 (abi-64-ld-soname): Likewise.
27028 (abi-x32-ld-soname): Likewise.
27029 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27030 entry.
27031 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27032
27033 2014-09-23 Joseph Myers <joseph@codesourcery.com>
27034
27035 [BZ #14138]
27036 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27037 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27038 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27039 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27040 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27041 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27042 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27043 syscall entry for GLIBC_2.2 symbol version.
27044 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27045 Likewise.
27046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27047 (setrlimit): Likewise.
27048 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27049 Likewise.
27050
27051 2014-09-23 Will Newton <will.newton@linaro.org>
27052
27053 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27054 _LINUX_ARM_SYSDEP_H include guard too.
27055 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27056 define.
27057
27058 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27059
27060 * sysdeps/unix/sysv/linux/eventfd.c:
27061 Make first argument unsigned.
27062 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27063 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27064
27065 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
27066
27067 [BZ #16852]
27068 * socket/recvmmsg.c (recvmmsg): Drop const argument.
27069 * socket/sys/socket.h: Likewise.
27070 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27071
27072 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27073
27074 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27075
27076 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
27077
27078 * time/tst-ftime.c: New test.
27079 * time/Makefile (tests): Add tst-ftime.
27080
27081 2014-09-17 Joseph Myers <joseph@codesourcery.com>
27082
27083 * soft-fp/extended.h: Fix comment formatting.
27084 * soft-fp/op-1.h: Likewise.
27085 * soft-fp/op-2.h: Likewise.
27086 * soft-fp/op-4.h: Likewise.
27087 * soft-fp/op-8.h: Likewise.
27088 * soft-fp/op-common.h: Likewise.
27089 * soft-fp/soft-fp.h: Likewise.
27090
27091 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27092
27093 2014-09-16 Joseph Myers <joseph@codesourcery.com>
27094
27095 [BZ #6652]
27096 * Makeconfig (soversions-default-setname): Remove variable.
27097 ($(common-objpfx)soversions.i): Don't pass default_setname to
27098 soversions.awk.
27099 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27100 oldest_abi to abi-versions.awk.
27101 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27102 * config.make.in (oldest-abi): Remove variable.
27103 * configure.ac (--enable-oldest-abi): Remove configure option.
27104 * configure: Regenerated.
27105 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27106 text.
27107 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27108 * scripts/soversions.awk: Do not handle default_setname variable.
27109 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27110 variable.
27111 * sysdeps/mach/hurd/configure: Regenerated.
27112 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27113 variable.
27114 * sysdeps/unix/sysv/linux/configure: Regenerated.
27115
27116 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27117
27118 * elf/Makefile (CFLAGS-interp.c): Remove.
27119 ($(elf-objpfx)runtime-linker.h): Generate header with linker
27120 path string.
27121 * elf/interp.c: Include generated runtime-linker.h
27122
27123 * Makerules (lib%.so): Don't include $(+interp) in
27124 prerequisites.
27125 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27126 * dlfcn/eval.c: Remove file.
27127
27128 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27129 macros.
27130
27131 [BZ #17266]
27132 * misc/sys/cdefs.h: Define __extern_always_inline for clang
27133 4.2 and newer.
27134
27135 [BZ #17370]
27136 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27137
27138 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27139 Jakub Jelinek <jakub@redhat.com>
27140
27141 [BZ #17266]
27142 * libio/stdio.h: Check definition of __fortify_function
27143 instead of __extern_always_inline to include bits/stdio2.h.
27144 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27145 check if __extern_always_inline is defined.
27146 [__USE_MISC || __USE_XOPEN]: Likewise.
27147 [__USE_ISOC99] Likewise.
27148 * misc/sys/cdefs.h (__fortify_function): Define only if
27149 __extern_always_inline is defined.
27150 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27151 __extern_always_inline and __extern_inline only for g++-4.3
27152 and newer or a compatible gcc.
27153
27154 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
27155
27156 [BZ #17371]
27157 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27158 last change to handle zero prefix length.
27159
27160 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27161
27162 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27163 _SC_REGEX_VERSION.
27164
27165 * posix/getconf.c (vars): Add _POSIX_IPV6 and
27166 _POSIX_RAW_SOCKETS.
27167
27168 2014-09-13 Allan McRae <allan@archlinux.org>
27169
27170 * po/ru.po: Update Russian translation from translation project.
27171
27172 2014-09-12 Roland McGrath <roland@hack.frob.com>
27173
27174 * locale/programs/locale.c (show_locale_vars): Inline local function
27175 into its sole call site. Clean up some style nits.
27176 (print_item): New function, broken out of ...
27177 (show_info): ... local function here. Clean up style nits.
27178
27179 * locale/programs/ld-ctype.c (set_one_default): New function, broken
27180 out of ...
27181 (set_class_defaults): ... local function set_default here.
27182 Define set_default as a macro locally to pass constant parameters.
27183 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27184 rather than a shared local.
27185
27186 * stdlib/rpmatch.c (try): New function, broken out of ...
27187 (rpmatch): ... local function here. Also, prototypify definition.
27188
27189 2014-09-12 Joseph Myers <joseph@codesourcery.com>
27190
27191 * scripts/soversions.awk: Do not handle configuration names.
27192 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27193 vendor and os variables to soversions.awk.
27194 * configure.ac: Do not modify gnu-* host_os.
27195 * configure: Regenerated
27196 * shlib-versions: Remove first column with configuration names.
27197 * nptl/shlib-versions: Likewise.
27198 * nptl_db/shlib-versions: Likewise.
27199 * sysdeps/hppa/shlib-versions: Likewise.
27200 * sysdeps/m68k/shlib-versions: Likewise.
27201 * sysdeps/mach/hurd/shlib-versions: Likewise.
27202 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27203 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27204 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27205 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27206 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27207 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27208 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27209 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27211 Likewise.
27212 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27213 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27214 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27215 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27216 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27217 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27218 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27219 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27220
27221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27222 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27224 Regenerated.
27225 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27227 Condition symbol version definitions on [HAVE_ELFV2_ABI].
27228
27229 * shlib-versions: Remove OS-specific entries. Moved to files in
27230 sysdeps.
27231 * sysdeps/mach/hurd/shlib-versions: New file.
27232 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27233
27234 * nptl/shlib-versions: Remove architecture-specific entries.
27235 Moved to files in sysdeps.
27236 * shlib-versions: Likewise.
27237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27238 file.
27239 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27240 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27241 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27242 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27243
27244 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27245 (UDP_NO_CHECK6_RX): Likewise.
27246
27247 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27248
27249 * sysdeps/posix/sysconf.c (__sysconf): Spell
27250 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27251
27252 2014-08-12 Florian Weimer <fweimer@redhat.com>
27253
27254 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27255 loading.
27256 * iconv/Versions (__gconv_transliterate): Export for use from
27257 gconv modules.
27258 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27259 (struct __gconv_trans_data, __gconv_trans_fct,
27260 __gconv_trans_context_fct, __gconv_trans_query_fct,
27261 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27262 definitions.
27263 (struct __gconv_step_data): Remove __trans member.
27264 (__gconv_transliterate): Declaration moved from gconv_int.h. No
27265 longer hidden. Remove unused trans_data argument.
27266 * iconv/gconv_int.h (struct trans_struct): Remove definition.
27267 (__gconv_translit_find): Remove declaration.
27268 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
27269 prototype.
27270 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27271 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27272 trans_data argument. Add hidden definition.
27273 (__gconv_translit_find): Remove.
27274 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27275 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27276 * iconv/skeleton.c: Remove transliteration initialization.
27277 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27278 __gconv_step_data initialization.
27279 * libio/iofwide.c (__libio_translit_): Remove.
27280 (_IO_fwide): Adjust struct __gconv_step_data initialization.
27281 * wcsmbs/btowc.c (__btowc): Likewise.
27282 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27283 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27284 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27285 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27286 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27287 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27288 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27289 * wcsmbs/wctob.c (wctob): Likewise.
27290
27291 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27292
27293 [BZ #16194]
27294 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27295 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
27296 register usage.
27297 * sysdeps/x86/Makefile: Adjust.
27298
27299 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27300 Roland McGrath <roland@hack.frob.com>
27301
27302 * locale/weight.h: Add include guard.
27303 (findidx): Make static rather than auto; take new parameters
27304 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27305 * locale/weightwc.h: Likewise.
27306 * posix/fnmatch_loop.c
27307 (FCT): Change type of EXTRA from int32_t to wint_t.
27308 Don't include either header inside the function.
27309 Call FINDIDX rather than findidx, and pass new arguments.
27310 #undef FINDIDX at the end of the file.
27311 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27312 FINDIDX before including fnmatch_loop.c for the non-wide version.
27313 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27314 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27315 for the wide version.
27316 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27317 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27318 Pass new arguments to findidx.
27319 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27320 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27321 Don't #include it inside the function. Pass new arguments to findidx.
27322 * posix/regex_internal.h
27323 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27324 (re_string_elem_size_at): Don't #include it inside the function.
27325 Pass new arguments to findidx.
27326 * string/strcoll_l.c: #include WEIGHT_H at top level.
27327 (get_next_seq): Don't #include it inside the function.
27328 Pass new arguments to findidx.
27329 (get_next_seq_nocache): Likewise.
27330 * string/strxfrm_l.c: #include WEIGHT_H at top level.
27331 (STRXFRM): Don't #include it inside the function.
27332 Pass new arguments to findidx.
27333
27334 2014-09-11 Florian Weimer <fweimer@redhat.com>
27335
27336 [BZ #17344]
27337 * malloc/malloc.c (unlink): Turn asserts into a call to
27338 malloc_printerr.
27339
27340 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
27341
27342 [BZ #17370]
27343 * libio/wfileops (do_ftell_wide): Free OUT.
27344
27345 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
27346
27347 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
27348
27349 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27350
27351 [BZ #17363]
27352 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
27353 group if the current group is empty.
27354
27355 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27356
27357 * benchtests/bench-memset.c (test_main): Add more test from size
27358 from 32 to 512 bytes.
27359 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27360 Add POWER8 memset object.
27361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27362 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
27363 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
27364 implementation.
27365 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
27366 Likewise.
27367 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
27368 multiarch POWER8 memset optimization.
27369 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
27370 POWER8 memset optimization.
27371
27372 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27373 Remove bzero multiarch objects.
27374 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
27375 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
27376 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
27377 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
27378 Remove define.
27379 [__bzero]: Redefine to specific name.
27380 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
27381 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
27382 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
27383 define.
27384 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27385 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27386
27387 2014-09-10 Florian Weimer <fweimer@redhat.com>
27388
27389 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
27390 warnings into errors.
27391
27392 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
27393 __cxa_thread_atexit_impl prototype.
27394
27395 2014-09-09 Steve Ellcey <sellcey@mips.com>
27396
27397 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
27398 Fix capitalization of error message.
27399
27400 2014-09-09 Steve Ellcey <sellcey@mips.com>
27401
27402 * sysdeps/mips/preconfigure: Modify ABI tests.
27403
27404 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
27405
27406 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
27407
27408 2014-09-07 Roland McGrath <roland@hack.frob.com>
27409 Carlos O'Donell <carlos@systemhalted.org>
27410
27411 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
27412 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
27413 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
27414 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
27415 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
27416 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
27417 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
27418 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
27419 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
27420 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
27421 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
27422 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
27423 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
27424 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
27425 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
27426 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
27427 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
27428 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
27429 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
27430 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
27431 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
27432 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
27433 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
27434 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
27435 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
27436 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
27437 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
27438 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
27439 Deconditionalize the code that was previously under [RESET_PID].
27440 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
27441 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
27442 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
27443 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
27444 include sysdep.h.
27445
27446 2014-09-08 Allan McRae <allan@archlinux.org>
27447
27448 * version.h (RELEASE): Set to "development".
27449 (VERSION): Set to "2.20.90"
27450
27451 2014-09-07 Allan McRae <allan@archlinux.org
27452
27453 * version.h (RELEASE): Set to "stable".
27454 (VERSION): Set to "2.20"
27455 * include/features.h (__GLIBC_MINOR__): Set to 20.
27456
27457 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
27458 Liebler.
27459
27460 * po/ko.po: Update Korean translation from translation project.
27461
27462 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
27463
27464 [BZ #17354]
27465 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
27466 macro for handling signed relocations.
27467
27468 2014-09-03 Florian Weimer <fweimer@redhat.com>
27469
27470 [BZ #17325]
27471 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
27472 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
27473 assert.
27474 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
27475 * iconvdata/ibm935.c (BODY): Likewise.
27476 * iconvdata/ibm937.c (BODY): Likewise.
27477 * iconvdata/ibm939.c (BODY): Likewise.
27478 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
27479 assert.
27480 * iconvdata/Makefile (iconv-test.out): Pass module list to test
27481 script.
27482 * iconvdata/run-iconv-test.sh: New test loop for checking for
27483 decoder crashers.
27484
27485 2014-09-02 Khem Raj <raj.khem@gmail.com>
27486
27487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
27488 libm_hidden_ver.
27489
27490 2014-09-01 Allan McRae <allan@archlinux.org>
27491
27492 * po/eo.po: Update Esperanto translation from translation project.
27493
27494 * po/ca.po: Update Catalan translation from translation project.
27495
27496 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
27497
27498 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
27499 __proc_dostop call.
27500
27501 2014-08-27 Mark Wielaard <mjw@redhat.com>
27502
27503 [BZ #17319]
27504 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
27505 to call set_thread_area instead of hand written asm.
27506 (__NR_set_thread_area): Removed define.
27507 (TLS_FLAG_WRITABLE): Likewise.
27508 (__ASSUME_SET_THREAD_AREA): Remove check.
27509 (TLS_EBX_ARG): Remove define.
27510 (TLS_LOAD_EBX): Likewise.
27511
27512 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27513
27514 Simplify atomicity of socket creation in bind.
27515
27516 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
27517 looking up the name after linking the file.
27518
27519 2014-08-27 Allan McRae <allan@archlinux.org>
27520
27521 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27522
27523 2014-08-26 Florian Weimer <fweimer@redhat.com>
27524
27525 [BZ #17187]
27526 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
27527 trans_compare, open_translit, __gconv_translit_find):
27528 Remove module loading code.
27529
27530 2014-08-26 Allan McRae <allan@archlinux.org>
27531
27532 * po/vi.po: Update Vietnamese translation from translation project.
27533
27534 * po/uk.po: Update Ukrainian translation from translation project.
27535
27536 * po/fr.po: Update French translation from translation project.
27537
27538 * po/ru.po: Update Russian translation from translation project.
27539
27540 * po/pl.po: Update Polish translation from translation project.
27541
27542 * po/cs.po: Update Czech translation from translation project.
27543
27544 * po/de.po: Update German translation from translation project.
27545
27546 * po/bg.po: Update Bulgarian translation from translation project.
27547
27548 * po/sv.po: Update Sweedish translation from translation project.
27549
27550 * po/nl.po: Update Dutch translation from translation project.
27551
27552 * po/es.po: Update Spanish translation from translation project.
27553
27554 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27555
27556 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
27557
27558 * catgets/Makefile (CPPFLAGS-gencat): Remove.
27559 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
27560 (CPPFLAGS-iconvconfig): Likewise.
27561 * timezone/Makefile (CPPFLAGS-zic): Likewise.
27562
27563 * include/libc-symbols.h: Remove unnecessary check for
27564 NOT_IN_libc.
27565 * nptl/pthreadP.h: Likewise.
27566 * sysdeps/aarch64/setjmp.S: Likewise.
27567 * sysdeps/alpha/setjmp.S: Likewise.
27568 * sysdeps/arm/sysdep.h: Likewise.
27569 * sysdeps/i386/setjmp.S: Likewise.
27570 * sysdeps/m68k/setjmp.c: Likewise.
27571 * sysdeps/posix/getcwd.c: Likewise.
27572 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27573 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27574 * sysdeps/s390/s390-32/setjmp.S: Likewise.
27575 * sysdeps/s390/s390-64/setjmp.S: Likewise.
27576 * sysdeps/sh/sh3/setjmp.S: Likewise.
27577 * sysdeps/sh/sh4/setjmp.S: Likewise.
27578 * sysdeps/unix/alpha/sysdep.h: Likewise.
27579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27581 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27582 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27587 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27590 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27592 * sysdeps/x86_64/setjmp.S: Likewise.
27593
27594 2014-08-13 Joseph Myers <joseph@codesourcery.com>
27595
27596 [BZ #17263]
27597 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
27598 <stdint.h>.
27599 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
27600 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
27601
27602 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27603
27604 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
27605
27606 [BZ #17262]
27607 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
27608 and __x86_64__ when disabling x87 inline functions.
27609
27610 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
27611
27612 [BZ #17259]
27613 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
27614 asm statement with __cpuid_count.
27615
27616 2014-08-12 Mike Frysinger <vapier@gentoo.org>
27617
27618 * configure.ac: Change __ehdr_start code to dereference the struct.
27619 Run readelf on the output to look for relocations.
27620 * configure: Regenerated.
27621
27622 2014-08-12 Joseph Myers <joseph@codesourcery.com>
27623
27624 [BZ #17261]
27625 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
27626 value to 0.
27627 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
27628
27629 2014-08-12 Roland McGrath <roland@hack.frob.com>
27630
27631 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
27632
27633 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
27634
27635 [BZ #16892]
27636 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
27637 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
27638
27639 2014-08-12 Sean Anderson <seanga2@gmail.com>
27640
27641 * malloc/malloc.c: Fix typo in comment.
27642
27643 2014-08-09 Allan McRae <allan@archlinux.org>
27644
27645 * Regenerate libc.po.
27646
27647 2014-08-08 Mike Frysinger <vapier@gentoo.org>
27648
27649 * intl/tst-gettext2.sh: Check every lang file for creation.
27650
27651 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
27652
27653 * sysdeps/aarch64/fpu/math_private.h
27654 (libc_feholdsetround_noex_aarch64_ctx): New function.
27655
27656 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
27657
27658 * sysdeps/arm/armv6/strcpy.S (strcpy):
27659 Fix performance issue in misaligned cases.
27660
27661 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27662
27663 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
27664 Move definition from termios.h.
27665 (struct termio): Likewise.
27666 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27667 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27668 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27669 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27670 Likewise.
27671 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
27672 Move definition to ioctl-types.h
27673 (struct termio): Likewise.
27674 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27675 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
27676 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
27677 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
27678 Likewise.
27679
27680 2014-08-05 Richard Henderson <rth@redhat.com>
27681
27682 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
27683 exceptions.
27684 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
27685 Add fraiseexcpt.
27686 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
27687 Use __feraiseexcept.
27688 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
27689 Protect libm symbols with IS_IN_libm.
27690
27691 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
27692
27693 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
27694
27695 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
27696
27697 2014-08-04 Will Newton <will.newton@linaro.org>
27698
27699 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
27700 file.
27701
27702 2014-08-04 Mike Frysinger <vapier@gentoo.org>
27703
27704 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
27705 variants for each function.
27706
27707 2014-08-04 Roland McGrath <roland@hack.frob.com>
27708
27709 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
27710 appended ...
27711 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
27712 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
27713 appended ...
27714 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
27715 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
27716 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
27717 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
27718 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27719 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
27720 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
27721 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
27722 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
27723 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
27724 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
27725 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
27726 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
27727 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
27728 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
27729 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
27730 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
27731 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
27732 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
27733 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
27734 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
27735 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
27736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
27737 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
27738 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
27739 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
27740 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
27741 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
27742 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
27743 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
27744 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
27745 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
27746 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
27747 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
27748 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
27749 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
27750 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
27751 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
27752 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
27753 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
27754 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
27755 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
27756 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
27757 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
27758 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
27759 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
27760 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
27761 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
27762 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
27763 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
27764 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
27765 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
27766 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
27767 Update #include.
27768 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
27769 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
27770
27771 2014-08-04 Roland McGrath <roland@hack.frob.com>
27772
27773 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
27774 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
27775 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
27776 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
27777 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
27778 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
27779
27780 2014-08-04 Roland McGrath <roland@hack.frob.com>
27781
27782 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
27783 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
27784 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27785 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
27786
27787 2014-08-04 Roland McGrath <roland@hack.frob.com>
27788
27789 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
27790 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
27791 (__libc_vfork): Define function under this name.
27792 (__vfork): Define as an alias.
27793 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
27794 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
27795
27796 2014-08-04 Roland McGrath <roland@hack.frob.com>
27797
27798 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
27799 that was previously under [RESET_PID].
27800 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
27801
27802 2014-08-04 Andreas Schwab <schwab@suse.de>
27803
27804 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
27805
27806 2014-08-03 Mike Frysinger <vapier@gentoo.org>
27807
27808 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
27809 (main): Likewise.
27810
27811 2014-08-01 Roland McGrath <roland@hack.frob.com>
27812
27813 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
27814
27815 2014-08-01 Richard Henderon <rth@redhat.com>
27816
27817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
27818 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
27819 typo in exact zero test.
27820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27823
27824 2014-08-01 Roland McGrath <roland@hack.frob.com>
27825
27826 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
27827 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
27828 * sysdeps/arm/sysdep.h: ... here.
27829 [!__ASSEMBLER__]: Include <stdint.h>.
27830
27831 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27832
27833 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27834 (HAVE_WCTYPE_H): Likewise.
27835 (HAVE_ISWCTYPE): Likewise.
27836 (ENABLE_NLS): Likewise.
27837 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27838 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27839
27840 * posix/regex_internal.c: Check if DEBUG is defined and is
27841 set.
27842
27843 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27844 (HAVE_MBSRTOWCS): Likewise.
27845 * posix/fnmatch.c: Include string.h unconditionally.
27846
27847 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
27848
27849 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27850 reversal.
27851
27852 2014-07-31 Roland McGrath <roland@hack.frob.com>
27853
27854 * sysdeps/generic/safe-fatal.h: New file.
27855 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27856 * nptl/forward.c: Include it.
27857 (__pthread_unwind): Use __safe_fatal as default action, rather
27858 than a bogus use of INTERNAL_SYSCALL that could never work.
27859
27860 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27861 * configure.ac (libc_cv_builtin_trap): New test.
27862 * configure: Regenerated.
27863 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27864 (ABORT_INSTRUCTION): Define using __builtin_trap.
27865
27866 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27867 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27868 * sysdeps/nptl/nptl-signals.h: New file.
27869 * nptl/pthreadP.h: Include <nptl-signals.h>.
27870
27871 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
27872
27873 * sysdeps/s390/s390-64/utf16-utf32-z9.c
27874 (ONE_DIRECTION): Define.
27875 * sysdeps/s390/s390-64/utf8-utf16-z9.c
27876 (ONE_DIRECTION): Define.
27877 * sysdeps/s390/s390-64/utf8-utf32-z9.c
27878 (ONE_DIRECTION): Define.
27879
27880 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
27881
27882 * sysdeps/s390/Makefile: Delete file.
27883 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27884 * sysdeps/s390/__longjmp.c: Delete file.
27885 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27886 Remove fields __flags and __reserved.
27887 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27888 and add versioning.
27889 * sysdeps/s390/rtld-__longjmp.c: Delete file.
27890 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27891 * sysdeps/s390/rtld-setjmp.S: Likewise.
27892 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27893 * sysdeps/s390/s390-32/__longjmp.c: ... here.
27894 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27895 * sysdeps/s390/s390-32/setjmp.S: ... here.
27896 Add versioning.
27897 (__sigsetjmp): Remove setting __flags field.
27898 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27899 * sysdeps/s390/s390-64/__longjmp.c: ... here.
27900 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27901 * sysdeps/s390/s390-64/setjmp.S: ... here.
27902 Add versioning.
27903 (__sigsetjmp): Remove setting __flags field.
27904 * sysdeps/s390/setjmp.S: Delete file.
27905 * sysdeps/s390/sigjmp.c: Likewise.
27906 * sysdeps/s390/v1-longjmp.c: Likewise.
27907 * sysdeps/s390/v1-setjmp.h: Likewise.
27908 * sysdeps/s390/v1-sigjmp.c: Likewise.
27909 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27910 Remove v1-longjmp_chk.
27911 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27912 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27913 Include debug/longjmp_chk.c and add versioning.
27914 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27915 Include nptl/pt-longjmp.c and add versioning.
27916 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27917 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27918 Include __longjmp.c.
27919 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27920 Move to ...
27921 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27922 (__getcontext): Remove setting __flags field.
27923 Add versioning.
27924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27925 Don't restore upper high grps.
27926 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27927 Likewise.
27928 (__swapcontext): Remove setting uc_flags field.
27929 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27930 Delete file.
27931 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27932 Include __longjmp.c.
27933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27934 Move to ...
27935 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27936 (__getcontext): Remove setting __flags field.
27937 Add versioning.
27938 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27939 (__swapcontext): Remove setting uc_flags field.
27940 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27941 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27942 Remove fields uc_high_gprs and __reserved.
27943 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27944 New file with reverted content.
27945 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27946 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27947 Regenerated.
27948 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27949 Regenerated.
27950
27951 2014-07-31 Andreas Schwab <schwab@suse.de>
27952
27953 * config.h.in (HAVE_IFUNC): Define to 0.
27954 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27955 definedness.
27956
27957 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
27958
27959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27960 memmove-avx-unaligned, memcpy-avx-unaligned and
27961 mempcpy-avx-unaligned.
27962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27963 Add tests for AVX memcpy functions.
27964 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27965 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27966 memcpy_chk.
27967 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27968 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27969 memmove_chk.
27970 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27971 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27972 mempcpy_chk.
27973 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27974 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27975 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27976
27977 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27978
27979 [BZ #17213]
27980 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27981 powerpc64le.
27982
27983 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
27984
27985 [BZ #16839]
27986 * manual/llio.texi: Add section about open file description locks.
27987 * manual/examples/ofdlocks.c: Example of open file description
27988 lock usage.
27989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27990 F_OFD_SETLK, and F_OFD_SETLKW.
27991
27992 2014-07-23 Allan McRae <allan@archlinux.org>
27993
27994 * po/es.po: Update Spanish translation from translation project.
27995
27996 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
27997
27998 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27999
28000 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
28001
28002 [BZ #17078]
28003 * sysdeps/arm/dl-machine.h (elf_machine_rela)
28004 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28005 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28006
28007 2014-07-17 Joseph Myers <joseph@codesourcery.com>
28008
28009 [BZ #17088]
28010 * math/fesetenv.c (__fesetenv)
28011 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28012 * math/feupdateenv.c (__feupdateenv)
28013 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28014
28015 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28016 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28017 (__ASSUME_SOCKETCALL): Do not define.
28018
28019 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28020 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28021 (__ASSUME_SOCKETCALL): Do not define.
28022 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28023 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28024 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28025 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28026 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28027 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28028 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28029 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28030
28031 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28032 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28033 (__ASSUME_SOCKETCALL): Do not define.
28034 (__ASSUME_IPC64): Define unconditionally.
28035 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28036 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28037 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28038 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28039 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28040 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28041 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28042 Likewise.
28043
28044 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28045 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28046 (__ASSUME_SOCKETCALL): Do not define.
28047 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28048 (__ASSUME_FUTEX_LOCK_PI): Likewise.
28049 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28050 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28051 (__ASSUME_REQUEUE_PI): Define unconditionally.
28052 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28053 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28054 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28055 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28056 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28057 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28058
28059 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28060 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28061 (__ASSUME_SOCKETCALL): Do not define.
28062 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28063 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28064 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28065 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28066 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28067 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28068
28069 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28070 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28071 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28072 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28073 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28074 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28075 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28076 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28077 (__ASSUME_GETCPU_SYSCALL): Likewise.
28078
28079 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28080 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
28081 cases for individual architectures.
28082 * sysdeps/gnu/configure: Regenerated.
28083 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28084 LIBC_SLIBDIR_RTLDDIR.
28085 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28086 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28087 LIBC_SLIBDIR_RTLDDIR.
28088 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28090 LIBC_SLIBDIR_RTLDDIR.
28091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28092 Regenerated.
28093 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28094 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28095 file.
28096 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28097 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28098 file.
28099 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28100 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28101 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28102 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28103
28104 * sysdeps/aarch64/shlib-versions: Move to ...
28105 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28106 * sysdeps/alpha/shlib-versions: Move to ...
28107 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28108 * sysdeps/arm/shlib-versions: Move to ...
28109 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28110 * sysdeps/hppa/shlib-versions: Move all contents except for
28111 libgcc_s entry to ...
28112 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
28113 entry from ...
28114 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
28115 * sysdeps/ia64/shlib-versions: Move to ...
28116 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
28117 entry from ...
28118 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
28119 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28120 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28121 * sysdeps/microblaze/shlib-versions: Move to ...
28122 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28123 * sysdeps/mips/shlib-versions: Move to ...
28124 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
28125 entry from ...
28126 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
28127 * sysdeps/tile/shlib-versions: Move to ...
28128 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28129 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28130 from ...
28131 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
28132 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28133 entry from ...
28134 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
28135
28136 2014-07-17 Will Newton <will.newton@linaro.org>
28137
28138 * sysdeps/arm/bits/atomic.h
28139 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28140 (__arch_compare_and_exchange_bool_16_int): Likewise.
28141 (__arch_compare_and_exchange_bool_64_int): Likewise.
28142
28143 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28144 into an #else block.
28145
28146 2014-07-16 Roland McGrath <roland@hack.frob.com>
28147
28148 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28149 just Linux configurations. Test empirically that the compiler sets
28150 __ARM_EABI__, rather than using the tuple to decide.
28151 * sysdeps/arm/preconfigure: Regenerated.
28152 * sysdeps/unix/sysv/linux/arm/configure: File removed.
28153 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28154 contents appended ...
28155 * sysdeps/arm/configure.ac: ... here.
28156 * sysdeps/arm/configure: Regenerated.
28157
28158 2014-07-15 Roland McGrath <roland@hack.frob.com>
28159
28160 * nptl/pthread_kill.c: New file.
28161 * nptl/pthread_sigmask.c: New file.
28162 * nptl/pthread_sigqueue.c: New file.
28163
28164 * sysdeps/nptl/lowlevellock.h: New file.
28165 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28166 * sysdeps/nptl/lowlevellock-futex.h: New file.
28167
28168 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28169 Remove dead declarations.
28170
28171 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28174 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28175 config-cflags-avx2.
28176 * sysdeps/x86_64/configure.ac: Likewise.
28177 * sysdeps/i386/configure: Regenerated.
28178 * sysdeps/x86_64/configure: Likewise.
28179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28180 memset-avx2 only if config-cflags-avx2 is yes.
28181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28182 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28183 defined.
28184 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28185 only if HAVE_AVX2_SUPPORT is defined.
28186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28187
28188 2014-07-14 Alan Modra <amodra@gmail.com>
28189
28190 [BZ #17153]
28191 * elf/elf.h (DT_PPC64_NUM): Correct value.
28192 * NEWS: Add to fixed bug list.
28193
28194 2014-07-13 Jim Meyering <meyering@fb.com>
28195
28196 [BZ 17150]
28197 regex: don't deref NULL upon heap allocation failure
28198 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28199 failure in one more place.
28200 To trigger the segfault, configure grep -with-included-regex,
28201 build it, and run these commands:
28202 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28203
28204 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
28205
28206 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28207
28208 2014-07-11 Richard Henderson <rth@redhat.com>
28209
28210 * sysdeps/aarch64/libm-test-ulps: Update.
28211
28212 2014-07-10 Florian Weimer <fweimer@redhat.com>
28213
28214 [BZ #17135]
28215 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28216 * nptl/allocatestack.c (__nptl_setxid_error): New function.
28217 (__nptl_setxid): Initialize error member. Call
28218 __nptl_setxid_error.
28219 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28220 * nptl/descr.h (struct xid_command): Add error member.
28221 * nptl/tst-setuid3.c: New file.
28222 * nptl/Makefile (tests): Add it.
28223
28224 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28225
28226 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28227 New define.
28228 (__lll_trylock): Use __lll_base_trylock.
28229 (__lll_cond_trylock): Likewise.
28230
28231 2014-07-10 Roland McGrath <roland@hack.frob.com>
28232
28233 * nptl/pthread_create.c (start_thread): Use atomic_or and
28234 lll_futex_wake directly rather than lll_robust_dead.
28235 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28236 (lll_robust_dead): Macro removed.
28237 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28238 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28239 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28242 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28243 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28244 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28245 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28246 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28247 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28248 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28249 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28250 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28252
28253 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28254 Use atomic_compare_and_exchange_val_acq directly rather than
28255 lll_robust_trylock.
28256 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28257 (__lll_robust_trylock, lll_robust_trylock): Removed.
28258 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28259 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28260 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28261 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28262 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28263 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28264 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28265 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28267 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28268 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28269 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28270 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28271 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28272
28273 2014-07-02 Florian Weimer <fweimer@redhat.com>
28274
28275 * manual/locale.texi (Locale Names): New section documenting
28276 locale name syntax. Adjust menu and node chaining accordingly.
28277 (Choosing Locale): Reference Locale Names, Locale Categories.
28278 Mention setting LC_ALL=C. Reflect that name syntax is now
28279 documented.
28280 (Locale Categories): New section title. Reference Locale Names.
28281 LC_ALL is an environment variable, but not a category.
28282 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28283 description, now in Locale Name. Reference that section. Locale
28284 name syntax is now documented.
28285
28286 2014-07-02 Florian Weimer <fweimer@redhat.com>
28287
28288 [BZ #17137]
28289 * locale/findlocale.c (name_present, valid_locale_name): New
28290 functions.
28291 (_nl_find_locale): Use the loc_name variable to store name
28292 candidates. Call name_present and valid_locale_name to check and
28293 validate locale names. Return an error if the locale is invalid.
28294
28295 2014-07-02 Florian Weimer <fweimer@redhat.com>
28296
28297 * locale/setlocale.c (setlocale): Use strdup for allocating
28298 composite name copy.
28299
28300 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28301
28302 Sync up with gnulib.
28303 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28304 [!_LIBC && ENABLE_NLS]: Include gettext.h.
28305 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28306 and _GL_ARG_NONNULL.
28307 [USE_UNLOCKED_IO]: Include unlocked-io.h.
28308 [!_LIBC]: Include code for Windows and Cygwin.
28309 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28310 Include prototype for int strerror_r.
28311 [!_LIBC] (is_open): New function.
28312 (flush_stdout): New function.
28313 (print_errno_message): Use it.
28314 (error): Likewise.
28315 (error_at_line): Likewise.
28316 (error_tail) Add function attribute macros. Use
28317 __builtin_expect.
28318
28319 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28320
28321 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28322
28323 * io/ftw.c: Include sys/param.h unconditionally.
28324
28325 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28326
28327 [BZ #17125]
28328 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28329 libc_freeres_ptr.
28330 (freecache): New function to free CACHE on exit.
28331
28332 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28333 initialization.
28334
28335 2014-07-09 David S. Miller <davem@davemloft.net>
28336
28337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28338
28339 * sysdeps/sparc/nptl/internaltypes.h: Delete.
28340 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28341 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28342 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28343 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28344 * sysdeps/sparc/nptl/sem_init.c: Likewise.
28345 * sysdeps/sparc/nptl/sem_post.c: Likewise.
28346 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
28347 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
28348 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
28349 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
28350 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
28351 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
28352
28353 2014-07-09 Andreas Schwab <schwab@suse.de>
28354
28355 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
28356 output.
28357 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
28358 (do_test): Likewise.
28359
28360 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28361
28362 2014-07-09 Will Newton <will.newton@linaro.org>
28363
28364 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
28365 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
28366 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28367 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28368 * sysdeps/hppa/start.S (_start): Likewise.
28369
28370 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28371
28372 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
28373
28374 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
28375 defined.
28376
28377 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28378
28379 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
28380 after checking that it is non-NULL.
28381
28382 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
28383
28384 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28385
28386 * sysdeps/powerpc/memmove.c: Remove file.
28387 * sysdeps/powerpc/powerpc32/power4/memcopy.h
28388 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
28389 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28390 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
28391 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
28392 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
28393 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
28394 string memmove instead of removed powerpc one.
28395
28396 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28397 [weak_alias]: Fix compiler warning due trailing data.
28398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28399 [weak_alias]: Likewise.
28400 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
28401 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
28402
28403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28404 (__libc_ifunc_impl_list): Add memmove functions.
28405
28406 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28407
28408 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
28409 Remove code.
28410 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
28411 Likewise.
28412 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
28413 Likewise.
28414 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
28415 Likewise.
28416 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
28417 Likewise.
28418 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
28419 Likewise.
28420 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
28421 Likewise.
28422 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
28423 Likewise.
28424 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
28425 Likewise.
28426 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
28427 Likewise.
28428 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
28429 Likewise.
28430 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
28431 Likewise.
28432 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
28433 Likewise.
28434 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
28435 Likewise.
28436 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
28437 Likewise.
28438 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
28439 Likewise.
28440 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
28441 Likewise.
28442
28443 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28444
28445 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
28446 to avoid alignment traps in non-cacheable memory.
28447 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28448
28449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
28450 multiarch objects.
28451 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
28452 file: multiarch power7 memmove.
28453 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
28454 multiarch default memmove.
28455 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
28456 multiarch memove for powerpc32/power4.
28457
28458 * string/bcopy.c: Use full path to include memmove.c.
28459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
28460 multiarch objects.
28461 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
28462 bcopy for powerpc64.
28463 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
28464 bcopy for powerpc64.
28465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
28466 and memmove implementations.
28467 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
28468 optimized multiarch memmove for POWER7/powerpc64.
28469 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
28470 default multiarch memmove for powerpc64.
28471 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
28472 multiarch for powerpc64.
28473 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
28474 for POWER7/powerpc64.
28475 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
28476 memmove for POWER7/powerpc64.
28477
28478 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
28479 glibc default one.
28480
28481 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
28482 __ELF_NATIVE_CLASS equal to 64.
28483
28484 2014-07-07 Roland McGrath <roland@hack.frob.com>
28485
28486 * sysdeps/nptl/lowlevellock.h: File removed.
28487
28488 * NEWS: NPTL is no longer an add-on!
28489 * nptl/internaltypes.h: Moved ...
28490 * sysdeps/nptl/internaltypes.h: ... here.
28491 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
28492 * sysdeps/nptl/fork.c: Likewise.
28493 * sysdeps/nptl/gai_misc.h: Likewise.
28494 * sysdeps/nptl/librt-cancellation.c: Likewise.
28495 * sysdeps/nptl/jmp-unwind.c: Likewise.
28496 * sysdeps/nptl/setxid.h: Likewise.
28497 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
28498 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
28499 * sysdeps/unix/sysv/linux/arm/Implies: New file.
28500 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
28501 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
28502 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
28503 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
28504 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
28505 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
28506 * sysdeps/unix/sysv/linux/mips/Implies: New file.
28507 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
28508 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
28509 * sysdeps/unix/sysv/linux/sh/Implies: New file.
28510 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
28511 * sysdeps/unix/sysv/linux/tile/Implies: New file.
28512 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
28513 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
28514 * nptl/Makeconfig: Moved ...
28515 * sysdeps/nptl/Makeconfig: ... here.
28516 * nptl/configure: File removed.
28517 * nptl/ANNOUNCE: File removed.
28518 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
28519 * sysdeps/unix/sysv/linux/configure: Regenerated.
28520
28521 * nptl/Makefile (routines): Add libc_pthread_init,
28522 libc_multiple_threads, register-atfork and unregister-atfork.
28523 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
28524 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
28525 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
28526 pthread-pi-defines.sym, structsem.sym.
28527 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
28528 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
28529 [$(subdir) = nptl] (tests): Add tst-setgetname.
28530 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
28531 * sysdeps/unix/sysv/linux/sigaction.c: Just include
28532 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
28533 [!LIBC_SIGACTION]: Remove aliases.
28534 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28535 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28536 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28537 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
28538 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28539 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
28540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28542 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28543 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
28544 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
28545 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
28546 __libc_allocate_rtsig_private.
28547 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
28548 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
28549 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28550 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28551 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
28552 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
28553 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
28554 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
28555 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
28556 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
28557 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
28558 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
28559 * nptl/internaltypes.h: ... here.
28560 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
28561 * sysdeps/nptl/jmp-unwind.c: ... here.
28562 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
28563 * nptl/libc-lowlevellock.c: ... here.
28564 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
28565 * nptl/libc_multiple_threads.c: ... here.
28566 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
28567 * nptl/libc_pthread_init.c: ... here.
28568 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
28569 * nptl/lowlevelbarrier.sym: ... here.
28570 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
28571 * nptl/lowlevelcond.sym: ... here.
28572 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
28573 * nptl/lowlevellock.c: ... here.
28574 * nptl/lowlevellock.h: Moved ...
28575 * sysdeps/nptl/lowlevellock.h: ... here.
28576 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
28577 * nptl/lowlevelrobustlock.c: ... here.
28578 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
28579 * nptl/lowlevelrobustlock.sym: ... here.
28580 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
28581 * nptl/lowlevelrwlock.sym: ... here.
28582 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
28583 * nptl/pt-fork.c: ... here.
28584 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
28585 * nptl/pthread-pi-defines.sym: ... here.
28586 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
28587 * nptl/pthread_attr_getaffinity.c: ... here.
28588 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
28589 * nptl/pthread_attr_setaffinity.c: ... here.
28590 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
28591 * nptl/pthread_mutex_cond_lock.c: ... here.
28592 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28593 Update #include.
28594 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
28595 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
28596 * nptl/pthread_once.c: ... here, replacing old file.
28597 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
28598 * nptl/pthread_yield.c: ... here.
28599 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
28600 * nptl/register-atfork.c: ... here.
28601 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
28602 * nptl/sem_post.c: ... here.
28603 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
28604 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
28605 * nptl/sem_timedwait.c: ... here.
28606 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
28607 * nptl/sem_trywait.c: ... here.
28608 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
28609 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
28610 * nptl/sem_wait.c: ... here.
28611 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
28612 * nptl/structsem.sym: ... here.
28613 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
28614 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
28615 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
28616 * nptl/unregister-atfork.c: ... here.
28617 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
28618 * nptl/unwindbuf.sym: ... here.
28619 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
28620 * sysdeps/nptl/fork.c: ... here.
28621 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
28622 * sysdeps/nptl/fork.h: ... here.
28623 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
28624 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
28625 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
28626 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
28627 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
28628 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
28629 * sysdeps/unix/sysv/linux/getpid.c: ... here.
28630 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
28631 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
28632 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
28633 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
28634 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
28635 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
28636 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
28637 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
28638 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
28639 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
28640 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
28641 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
28642 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
28643 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
28644 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
28645 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
28646 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
28647 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
28648 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
28649 * sysdeps/unix/sysv/linux/raise.c: ... here.
28650 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
28651 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
28652 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
28653 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
28654 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
28655 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
28656 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
28657 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
28658 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
28659 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
28660 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
28661 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
28662 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
28663 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
28664 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
28665
28666 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28667
28668 * sysdeps/generic/memcopy.h: Add comment for
28669 MEMCPY_OK_FOR_FWD_MEMMOVE.
28670
28671 2014-07-04 Will Newton <will.newton@linaro.org>
28672
28673 * string/memchr.c: Merge from gnulib.
28674 [_LIBC]: Remove conditionals.
28675 (__ptr_t): Remove define.
28676 (LONG_MAX_32_BITS): Likewise.
28677 (LONG_MAX): Likewise.
28678 (MEMCHR): Use ANSI prototype and optimize algorithm.
28679
28680 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
28681
28682 2014-07-03 Roland McGrath <roland@hack.frob.com>
28683
28684 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
28685 (lll_futex_timed_wait_bitset): Fix syscall argument count.
28686
28687 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
28688 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
28689 in a bare environment with no <stdlib.h> installed.
28690 * sysdeps/nptl/configure: Regenerated.
28691
28692 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
28693
28694 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
28695 AC_EGREP_CPP for kernel header checks, so they only succeed if
28696 including <linux/version.h> actually works right.
28697 * sysdeps/unix/sysv/linux/configure: Regenerated.
28698
28699 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
28700 value so it's not diagnosed as unused.
28701
28702 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
28703 thing) with "ifeq ($(subdir),rt)".
28704
28705 2014-07-03 Richard Henderson <rth@redhat.com>
28706
28707 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
28708 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
28709 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
28710
28711 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
28712 (math_force_eval): New.
28713
28714 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
28715 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
28716
28717 * sysdeps/alpha/fpu/s_round.c: Remove file.
28718 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
28719
28720 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
28721 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
28722 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
28723 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
28724 (_dl_start, print_statistics): Likewise.
28725 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
28726 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
28727
28728 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28729 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28730 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28731 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28733 (HP_SMALL_TIMING_AVAIL): Define.
28734 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28736 (HP_SMALL_TIMING_AVAIL): Define.
28737 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28738 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
28739
28740 * sysdeps/aarch64/hp-timing.h: New file.
28741
28742 * sysdeps/generic/hp-timing.h: Remove dead comment.
28743 * sysdeps/generic/hp-timing-common.h: New file.
28744 * sysdeps/alpha/hp-timing.h: Include it.
28745 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
28746 * sysdeps/i386/i686/hp-timing.h: Likewise.
28747 * sysdeps/ia64/hp-timing.h: Likewise.
28748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28749 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28751 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28752 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
28753 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
28754 (hp_timing_t): New.
28755
28756 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
28757 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
28758 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
28759 * elf/rtld.c (_dl_start_final): Likewise.
28760 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
28761 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28762 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28763 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28764 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28765 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28766 (HP_TIMING_DIFF_INIT): Remove.
28767 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28768 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
28769 (HP_TIMING_DIFF_INIT): Remove.
28770 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
28771 * sysdeps/i386/i686/hp-timing.c: Remove file.
28772 * sysdeps/x86_64/hp-timing.c: Remove file.
28773 * sysdeps/ia64/hp-timing.c: Remove file.
28774 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
28775 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
28776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
28777 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
28778
28779 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
28780 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
28781 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
28782 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28783 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
28784 (HP_TIMING_ACCUM): Remove.
28785 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28786 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
28787 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
28788
28789 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
28790 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
28791 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
28792 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
28793 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
28794 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28795 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
28796 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
28797
28798 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
28799
28800 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
28801
28802 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
28803
28804 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28805
28806 Sync up with gettext.
28807 * intl/loadmsgcat.c: Define O_BINARY if not defined.
28808 [_MSC_VER]: Include malloc.h
28809 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
28810 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
28811 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
28812 TEMP_FAILURE_RETRY. Cast return of alloca.
28813 [!_LIBC] Call gl_rwlock_init.
28814 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
28815
28816 2014-07-02 Roland McGrath <roland@hack.frob.com>
28817
28818 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
28819 before checking its value.
28820
28821 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28822
28823 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
28824
28825 * debug/memcpy_chk.c: Don't include pagecopy.h.
28826 * debug/mempcpy_chk.c: Likewise.
28827 * string/memcpy.c: Likewise.
28828 * string/memmove.c: Likewise.
28829 * sysdeps/powerpc/memmove.c: Likewise.
28830 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
28831 definition of PAGE_COPY_FWD_MAYBE here...
28832 * sysdeps/generic/pagecopy.h: ... from here.
28833 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28834
28835 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
28836 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28837
28838 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28840 optimizations.
28841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28842 (__libc_ifunc_impl_list): Likewise.
28843 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28844 multiarch strcat for PPC64.
28845 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28846 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28847
28848 2014-07-02 Roland McGrath <roland@hack.frob.com>
28849
28850 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28851
28852 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28853
28854 * intl/loadmsgcat.c: Remove declaration of
28855 get_sysdep_segment_value.
28856 (get_sysdep_segment_value): Use ISO C style.
28857 (_nl_load_domain): Use ISO C style. Get rid of redundant
28858 semicolon. Fix typo and formatting in comment.
28859 (_nl_unload_domain): Use ISO C style.
28860
28861 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28862
28863 2014-07-02 Will Newton <will.newton@linaro.org>
28864
28865 * malloc/obstack.c: Merge from gnulib master.
28866 [HAVE_CONFIG_H]: Remove conditional code.
28867 [!_LIBC]: Include config.h.
28868 [!ELIDE_CODE]: Don't include inttypes.h, include
28869 stdint.h unconditionally.
28870 (print_and_abort): Mark as _Noreturn.
28871 (_obstack_allocated_p): Mark as __attribute_pure__.
28872 (obstack_free): Rename to __obstack_free.
28873 [!__attribute__]: Remove conditional code.
28874 * malloc/obstack.h: Merge from gnulib master.
28875 [__cplusplus]: Move conditional down.
28876 [!__attribute_pure__]: Define __attribute_pure__ here
28877 if it is not already defined.
28878 (_obstack_memory_used): Mark as __attribute_pure__.
28879 [!__obstack_free]: Define as obstack_free.
28880 [__GNUC__]: Remove check for ancient NeXT gcc.
28881
28882 2014-07-02 Will Newton <will.newton@linaro.org>
28883 Paul Eggert <eggert@cs.ucla.edu>
28884
28885 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28886
28887 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28888
28889 * resolv/gethnamaddr.c: Add comment warning that the file is
28890 not maintained.
28891
28892 2014-07-01 Carlos O'Donell <carlos@redhat.com>
28893
28894 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28895 entries.
28896
28897 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28898 entry for aio_cancel and aio_cancel64.
28899 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28900 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28901 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28902 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28903 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28904 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28906 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28907 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28908 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28909 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28910 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28911 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28912
28913 2014-07-01 Roland McGrath <roland@hack.frob.com>
28914
28915 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28916 * nptl/pthread_mutex_lock.c: Likewise.
28917 * nptl/pthread_mutex_timedlock.c: Likewise.
28918 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28919
28920 2014-07-01 Richard henderson <rth@redhat.com>
28921
28922 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28923 (__isnan, __isnanl): Remove.
28924 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28925
28926 * sysdeps/alpha/fpu/libm-test-ulps: Update.
28927
28928 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
28929
28930 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28931
28932 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28933
28934 * resolv/nss_dns/dns-host.c (getanswer_r)
28935 [MULTI_PTRS_ARE_ALIASES]: Remove code.
28936
28937 2014-07-01 Joseph Myers <joseph@codesourcery.com>
28938
28939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28940 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28941 undefine.
28942 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28943 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28944
28945 2014-07-01 Roland McGrath <roland@hack.frob.com>
28946
28947 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28948 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28949
28950 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28951 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28952
28953 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28954 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28955 ... here.
28956 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28957 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28958
28959 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28960 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28961 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28962 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28963
28964 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28965 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28966 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28967 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28968 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28969 Moved ...
28970 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28971 ... here.
28972 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28973 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28974 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28975 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28976 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28977 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28978 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28979 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28980 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28981 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28982 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28983 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28984 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28985 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28986 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28987 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28988 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28989 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28990 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28991 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28992 ... here.
28993 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28994 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28995 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28996 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28997 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28998 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28999 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29000 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29001
29002 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
29003
29004 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29005 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29006 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29007 Add sysdep.
29008
29009 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29010
29011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29012
29013 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29014
29015 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29016 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29017
29018 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29019
29020 * sysdeps/arm/libm-test-ulps: Regenerated.
29021
29022 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29023 Roland McGrath <roland@hack.frob.com>
29024
29025 * test-skeleton.c (signal_handler): Kill the whole process group
29026 before killing the child individually.
29027 (main): Report any failure on `setpgid'.
29028
29029 2014-06-30 Roland McGrath <roland@hack.frob.com>
29030
29031 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29032 from _TLS_H to _ARM_NPTL_TLS_H.
29033 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29034 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29035
29036 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29037
29038 [BZ #16539]
29039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29040 (__expm1l): Return argument unchanged when small but not
29041 subnormal.
29042
29043 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29044 include macro name.
29045 (_FP_UNPACK_RAW_1_P): Likewise.
29046 (_FP_PACK_RAW_1): Likewise.
29047 (_FP_PACK_RAW_1_P): Likewise.
29048 (_FP_MUL_MEAT_1_wide): Likewise.
29049 (_FP_MUL_MEAT_DW_1_hard): Likewise.
29050 (_FP_MUL_MEAT_1_hard): Likewise.
29051 (_FP_DIV_MEAT_1_imm): Likewise.
29052 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29053 (_FP_DIV_MEAT_1_udiv): Likewise.
29054 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29055 (_FP_UNPACK_RAW_2): Likewise.
29056 (_FP_UNPACK_RAW_2_P): Likewise.
29057 (_FP_PACK_RAW_2): Likewise.
29058 (_FP_PACK_RAW_2_P): Likewise.
29059 (_FP_MUL_MEAT_DW_2_wide): Likewise.
29060 (_FP_MUL_MEAT_2_wide): Likewise.
29061 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29062 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29063 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29064 (_FP_MUL_MEAT_2_gmp): Likewise.
29065 (_FP_DIV_MEAT_2_udiv): Likewise.
29066 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29067 (_FP_FRAC_SRL_4): Likewise.
29068 (_FP_FRAC_SRST_4): Likewise.
29069 (_FP_FRAC_SRS_4): Likewise.
29070 (_FP_UNPACK_RAW_4): Likewise.
29071 (_FP_UNPACK_RAW_4_P): Likewise.
29072 (_FP_PACK_RAW_4): Likewise.
29073 (_FP_PACK_RAW_4_P): Likewise.
29074 (_FP_MUL_MEAT_DW_4_wide): Likewise.
29075 (_FP_MUL_MEAT_4_wide): Likewise.
29076 (_FP_MUL_MEAT_4_gmp): Likewise.
29077 (umul_ppppmnnn): Likewise.
29078 (_FP_DIV_MEAT_4_udiv): Likewise.
29079 (__FP_FRAC_ADD_4): Likewise.
29080 (__FP_FRAC_SUB_3): Likewise.
29081 (__FP_FRAC_SUB_4): Likewise.
29082 (__FP_FRAC_DEC_3): Likewise.
29083 (__FP_FRAC_DEC_4): Likewise.
29084 (__FP_FRAC_ADDI_4): Likewise.
29085 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29086 (_FP_FRAC_SRL_8): Likewise.
29087 (_FP_FRAC_SRS_8): Likewise.
29088
29089 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29090 include macro name.
29091 (FP_UNPACK_RAW_EP): Likewise.
29092 (FP_PACK_RAW_E): Likewise.
29093 (FP_PACK_RAW_EP): Likewise.
29094 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29095 (_FP_ISSIGNAN): Likewise.
29096 (_FP_ADD_INTERNAL): Likewise.
29097 (_FP_FMA): Likewise.
29098 (_FP_CMP): Likewise.
29099 (_FP_SQRT): Likewise.
29100 (_FP_TO_INT): Likewise.
29101 (_FP_FROM_INT): Likewise.
29102 (FP_EXTEND): Likewise.
29103 (_FP_DIV_MEAT_N_loop): Likewise.
29104
29105 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29106
29107 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29108 throughout.
29109
29110 2014-06-29 Joseph Myers <joseph@codesourcery.com>
29111
29112 [BZ #17097]
29113 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29114 result with correct sign in case of exponents that produce
29115 overflow except for X very close to 1.
29116
29117 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
29118
29119 mktime: merge #if/#ifdef usage from glibc
29120 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29121 as that works with both Glibc's and Gnulib's style.
29122 See thread starting at Siddhesh Poyarekar's bug report at:
29123 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29124
29125 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29126
29127 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29128 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29129 * sysdeps/tile/tilegx/memmove.c: Remove file.
29130
29131 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29132
29133 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29134 abi-name definition.
29135 * scripts/soversions.awk: Do not handle or generate ABI lines.
29136 * shlib-versions: Remove ABI entries.
29137 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29138 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29139
29140 2014-06-27 Roland McGrath <roland@hack.frob.com>
29141
29142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29143 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29145 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29147 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29149 Moved ...
29150 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29151 ... here.
29152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29153 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29155 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29157 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29159 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29161 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29163 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29165 Moved ...
29166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29168 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29170 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29172 Moved ...
29173 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29175 Moved ...
29176 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29178 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29180 Moved ...
29181 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29182 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29183 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29184 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29185 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29187 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29188 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29189 Moved ...
29190 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29192 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29194 Moved ...
29195 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29196 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29197 Moved ...
29198 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29199 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29200 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29202 Moved ...
29203 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29204 ... here.
29205 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29206 Identical file removed.
29207 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29208 Moved ...
29209 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29211 Identical file removed.
29212 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29213 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29215 Moved ...
29216 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29218 Identical file removed.
29219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29220 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29222 Identical file removed.
29223 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29224 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29225 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29226 Identical file removed.
29227 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29228 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29229 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29230 Identical file removed.
29231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29232 Moved ...
29233 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29235 Identical file removed.
29236 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29237 Moved ...
29238 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29240 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29241 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29242 Identical file removed.
29243 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29244 Moved ...
29245 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29246 ... here.
29247 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29248 Identical file removed.
29249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29250 Moved ...
29251 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29252 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29253 Identical file removed.
29254 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29255 Moved ...
29256 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29257 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29258 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29259 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29260 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29261 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29262 Moved ...
29263 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29264 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29265 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29266
29267 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29268 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29269 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29270 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29271 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29272
29273 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
29274
29275 [BZ #17092]
29276 * nscd/nscd.c (monitor_child): Return exit status of child
29277 instead of return value from wait syscall.
29278
29279 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29280
29281 * configure.ac (libc_commonpagesize): Remove variable.
29282 (libc_relro_required): Likewise.
29283 (libc_cv_z_relro): Remove configure test.
29284 * configure: Regenerated.
29285 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29286 variable.
29287 (libc_relro_required): Likewise.
29288 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29289 (libc_relro_required): Likewise.
29290 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29291 (libc_relro_required): Likewise.
29292 * sysdeps/arm/preconfigure: Regenerated.
29293 * sysdeps/ia64/preconfigure: Remove file.
29294 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29295 variable.
29296 (libc_relro_required): Likewise.
29297
29298 [BZ #16561]
29299 [BZ #16562]
29300 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29301 (__ieee754_yn): Set FE_TONEAREST mode internally and then
29302 recompute overflowing results in original rounding mode.
29303 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29304 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29305 recompute overflowing results in original rounding mode.
29306 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29307 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29308 recompute overflowing results in original rounding mode.
29309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29310 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29311 recompute overflowing results in original rounding mode.
29312 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29313 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29314 recompute overflowing results in original rounding mode.
29315 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29316 (libc_feholdsetround_ctx): New macro.
29317 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29318 * sysdeps/i386/fpu/libm-test-ulps: Update.
29319 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29320
29321 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29322
29323 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29324 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29325 corresponding .cpsetup call.
29326
29327 2014-06-26 Roland McGrath <roland@hack.frob.com>
29328
29329 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29330 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29331 * sysdeps/arm/Makefile [$(subdir) = csu]
29332 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29333 (static-only-routines): Add aeabi_read_tp here.
29334 (shared-only-routines): Add libc-aeabi_read_tp here.
29335 (CFLAGS-libc-start.c): Add -fexceptions here.
29336 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29337 (sysdep_routines, static-only-routines, shared-only-routines):
29338 Don't add to these here.
29339 (CFLAGS-libc-start.c): Likewise.
29340
29341 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29342 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29343 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29344 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29345 * sysdeps/arm/Makefile [$(subdir) = rt]
29346 (librt-sysdep_routines, librt-shared-only-routines):
29347 Append rt-aeabi_unwind_cpp_pr1 here.
29348 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
29349 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
29350 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
29351 (libpthread-sysdep_routines, libpthread-shared-only-routines):
29352 Append nptl-aeabi_unwind_cpp_pr1 here.
29353 (tests): Filter out tst-cleanupx4 here.
29354 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
29355 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
29356 Don't do those here.
29357
29358 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29359
29360 * scripts/list-sources.sh: Do not handle ports specially.
29361
29362 2014-06-26 Roland McGrath <roland@hack.frob.com>
29363
29364 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
29365 * sysdeps/arm/feupdateenv.c: Likewise.
29366
29367 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
29368
29369 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29370
29371 * manual/texinfo.tex: Update to version 2014-05-05.10 with
29372 trailing whitespace removed.
29373 * scripts/config.guess: Update to version 2014-03-23.
29374 * scripts/config.sub: Update to version 2014-05-01
29375 * scripts/install-sh: Update to version 2013-12-25.23.
29376 * scripts/move-if-change: Update from gnulib.
29377
29378 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29379
29380 * debug/memmove_chk.c: Remove pagecopy.h include.
29381
29382 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
29383
29384 * time/mktime.c (leapyear): Remove inline keyword. The code is now
29385 identical to gnulib mktime.
29386
29387 2014-06-26 Joseph Myers <joseph@codesourcery.com>
29388
29389 * configure.ac: Do not test for machine being rs6000. Do not test
29390 for powerpc*-*soft.
29391 * configure: Regenerated.
29392
29393 [BZ #11505]
29394 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
29395 test.
29396 * configure: Regenerated.
29397 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
29398 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
29399 Remove configure test.
29400 * sysdeps/arm/configure: Regenerated.
29401 * sysdeps/nptl/configure.ac: Do not check
29402 libc_cv_asm_cfi_directives.
29403 * sysdeps/nptl/configure: Regenerated.
29404 * sysdeps/x86_64/nptl/configure.ac: Remove file.
29405 * sysdeps/x86_64/nptl/configure: Remove generated file.
29406 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29407 unconditional.
29408 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
29409
29410 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29411
29412 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
29413 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
29414 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
29415 it is defined.
29416
29417 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
29418 instead of whether it is defined.
29419 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
29420 * sysdeps/hppa/dl-machine.h: Likewise.
29421 * sysdeps/ia64/dl-machine.h: Likewise.
29422 * sysdeps/m68k/dl-machine.h: Likewise.
29423 * sysdeps/microblaze/dl-machine.h: Likewise.
29424 * sysdeps/mips/dl-machine.: Likewise.
29425 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29426 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29427 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29428 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29429 * sysdeps/sh/dl-machine.h: Likewise.
29430 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29431 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29432 * sysdeps/tile/dl-machine.h: Likewise.
29433 * sysdeps/x86_64/dl-machine.h: Likewise.
29434
29435 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
29436 code.
29437 (verify_persistent_db): Likewise.
29438
29439 2014-06-26 Roland McGrath <roland@hack.frob.com>
29440
29441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
29442 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
29443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
29444 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
29445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29446 Moved ...
29447 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
29448 ... here.
29449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
29450 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
29451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
29452 Identical file removed.
29453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
29454 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
29455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
29456 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
29457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
29458 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
29459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
29460 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
29461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
29462 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
29463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29464 Moved ...
29465 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
29466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
29467 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
29468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
29469 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
29470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29471 Moved ...
29472 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
29473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
29474 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
29475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
29476 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
29477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29478 Identical file removed.
29479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
29480 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
29481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
29482 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
29483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29484 Moved ...
29485 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
29486 ... here.
29487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
29488 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
29489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
29490 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
29491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
29492 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
29493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
29494 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
29495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
29496 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
29497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29498 Moved ...
29499 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
29500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
29501 Moved ...
29502 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
29503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
29504 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
29505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29506 Moved ...
29507 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
29508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
29509 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
29510
29511 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
29512 folded into ...
29513 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
29514 * sysdeps/unix/sysv/linux/s390/Versions
29515 (libpthread: GLIBC_2.19): New version set.
29516 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
29517 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
29518 (librt: GLIBC_2.3.3): New version set.
29519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
29520 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
29521 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
29522 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
29523 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
29524 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
29525 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
29526 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
29527 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
29528 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
29529 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
29530 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
29531 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
29532 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
29533 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
29534 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
29535 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
29536 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
29537 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
29538 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
29539 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
29540 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
29541 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
29542 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
29543 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
29544 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
29545 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
29546 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
29547 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
29548 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
29549 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
29550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
29551 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
29552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
29553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
29554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
29555 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
29556 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
29557 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
29558 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
29559 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
29560 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
29561 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
29562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
29563 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
29564
29565 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
29566 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
29567 (__libc_vfork): Define the function under this name.
29568 [!NOT_IN_libc] (__vfork): Make this an alias.
29569 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29570 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
29571 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
29572 (__libc_vfork): Define the function under this name.
29573 [!NOT_IN_libc] (__vfork): Make this an alias.
29574 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
29575 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
29576 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
29577 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
29578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
29579 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29580
29581 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
29582 code that was previously under [RESET_PID].
29583 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
29584 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
29585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
29586
29587 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
29588 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
29589 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
29590 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
29591 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
29592 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
29593 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
29594 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
29595 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
29596 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
29597 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
29598 Moved ...
29599 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
29600 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
29601 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
29602 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
29603 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
29604 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
29605 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
29606 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
29607 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
29608 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
29609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
29610 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
29611 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
29612 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
29613 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
29614 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
29615 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
29616 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
29617 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
29618 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
29619 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
29620 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
29621 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
29622 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
29623 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
29624 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
29625 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
29626 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
29627 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
29628
29629 2014-06-25 Roland McGrath <roland@hack.frob.com>
29630
29631 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
29632 that was previously under [RESET_PID].
29633 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
29634
29635 2014-06-25 Joseph Myers <joseph@codesourcery.com>
29636
29637 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
29638 not undefine and redefine.
29639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
29640 [O_CLOEXEC]: Make code unconditional.
29641 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
29642 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
29643 <kernel-features.h>.
29644 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
29645 conditional variable definition.
29646 (shm_open) [O_CLOEXEC]: Make code unconditional.
29647 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
29648 code.
29649
29650 * configure.ac (USE_REGPARMS): Don't define here.
29651 * configure: Regenerated.
29652 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
29653 * sysdeps/i386/configure: Regenerated.
29654
29655 * nptl/createthread.c: Don't include kernel-features.h.
29656 * nptl/pthread_cancel.c: Likewise.
29657 * nptl/pthread_condattr_setclock.c: Likewise.
29658 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
29659 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
29660 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
29661 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
29662 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
29663 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
29664 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29665 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
29666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29667 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
29668 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
29669 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
29670 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
29671 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
29672 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
29673 * nscd/gai.c: Likewise.
29674 * nss/nss_db/db-open.c: Likewise.
29675 * sysdeps/generic/ldsodefs.h: Likewise.
29676 * sysdeps/sh/nptl/tls.h: Likewise.
29677 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29678 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
29679 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
29680 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
29681 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
29682 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29683 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
29684 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29686 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
29687 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
29688 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29689 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
29690 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
29691 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
29692 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
29693 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
29694 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
29695 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
29696 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
29697 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
29698 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
29699 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
29700 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
29701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
29702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
29703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
29704 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
29705 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29706 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
29707 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
29708 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
29709 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
29710 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29711 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29712 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29713 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29714 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
29715 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
29716 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
29717 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29718 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
29719 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
29720 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29721 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
29722 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
29723 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
29724 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
29725 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
29726 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
29727 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
29728 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
29729 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
29730 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29731 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
29732 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29733 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29734 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
29735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
29737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
29738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
29739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
29741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
29743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
29747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
29748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
29749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
29756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
29757 * sysdeps/unix/sysv/linux/pread.c: Likewise.
29758 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
29759 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
29760 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
29761 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
29762 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29763 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
29764 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
29765 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
29766 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
29767 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
29768 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
29769 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
29770 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
29771 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
29772 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
29773 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29774 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
29775 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
29776 * sysdeps/unix/sysv/linux/system.c: Likewise.
29777 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
29778 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
29779 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29780 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29781 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29782 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29783 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29784
29785 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
29786 * configure: Regenerated.
29787 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
29788
29789 * configure.ac (base_machine): Do not set specially for particular
29790 machines here.
29791 * configure: Regenerated.
29792 * sysdeps/powerpc/preconfigure: Move machine and base_machine
29793 settings from configure.ac.
29794 * sysdeps/i386/preconfigure: New file.
29795 * sysdeps/s390/preconfigure: Likewise.
29796 * sysdeps/sh/preconfigure: Likewise.
29797 * sysdeps/sparc/preconfigure: Likewise.
29798
29799 2014-06-25 Roland McGrath <roland@hack.frob.com>
29800
29801 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
29802 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
29803 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
29804 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
29805 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
29806 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
29807 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
29808 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
29809 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
29810 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
29811 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
29812 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
29813 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
29814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
29815 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
29816 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
29817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
29818 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
29819 * sysdeps/sparc/sparc64/Makefile: ... appended here.
29820
29821 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
29822 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
29823 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
29824 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
29825 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
29826 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
29827 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
29828 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29829 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29830 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29831 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29832 * sysdeps/sparc/sparc32/sem_post.c: ... here.
29833 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29834 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29835 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29836 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29837 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29838 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29839 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29840 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29841 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29842 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29843 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29844 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29846 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29848 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29849 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29850 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29851 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29852 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29853 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29854 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29855 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29856 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29857 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29858 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29859
29860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29861 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29863 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29865 Moved ...
29866 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29867 ... here.
29868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29869 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29871 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29872 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29873 Moved ...
29874 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29876 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29878 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29880 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29882 Moved ...
29883 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29885 Moved ...
29886 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29888 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29890 Moved ...
29891 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29893 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29895 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29897 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29899 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29900 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29901 Moved ...
29902 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29903 ... here.
29904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29905 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29907 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29909 Moved ...
29910 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29912 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29914 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29916 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29918 Moved ...
29919 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29921 Moved ...
29922 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29924 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29926 Moved ...
29927 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29929 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29931 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29932
29933 2014-06-25 Joseph Myers <joseph@codesourcery.com>
29934
29935 * timezone/checktab.awk: Update from tzcode 2014e.
29936 * timezone/private.h: Likewise.
29937 * timezone/tzfile.h: Likewise.
29938 * timezone/zdump.c: Likewise.
29939 * timezone/zic.c: Likewise.
29940
29941 * sysdeps/unix/sysv/linux/kernel-features.h
29942 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29944 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29945 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29946 Remove conditional code.
29947
29948 2014-06-25 Will Newton <will.newton@linaro.org>
29949
29950 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29951 (_dl_arm_cap_flags): Add HWCAP2 values.
29952 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29953 (_DL_HWCAP_COUNT): Increase to 37.
29954 (_DL_HWCAP_LAST): New define.
29955 (_DL_HWCAP2_LAST): New define.
29956 (_dl_procinfo): Add support for printing
29957 AT_HWCAP2 entries.
29958 (_dl_string_hwcap): Use _dl_hwcap_string.
29959
29960 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29961
29962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29963
29964 2014-06-25 Joseph Myers <joseph@codesourcery.com>
29965
29966 * README: Do not mention ports directory.
29967
29968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29969 Remove macro.
29970 * sysdeps/unix/sysv/linux/futimes.c: Do not include
29971 <kernel-features.h>.
29972 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29973 conditional variable definition.
29974 (__futimes): Update comment.
29975 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29976 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29977
29978 [BZ #16560]
29979 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29980 arguments close to 0.
29981 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29982 Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29984 Likewise.
29985 * math/auto-libm-test-in: Add more tests of exp10.
29986 * math/auto-libm-test-out: Regenerated.
29987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29988
29989 * sysdeps/unix/sysv/linux/kernel-features.h
29990 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29991 * sysdeps/unix/sysv/linux/readv.c: Do not include
29992 <kernel-features.h>.
29993 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29994 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29995 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29996 unconditional.
29997 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29998 conditional code.
29999 * sysdeps/unix/sysv/linux/writev.c: Do not include
30000 <kernel-features.h>.
30001 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30002 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30003 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30004 unconditional.
30005 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30006 conditional code.
30007
30008 2014-06-25 Will Newton <will.newton@linaro.org>
30009
30010 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30011 comment changes throughout the file. Remove checks
30012 for HAVE_*_H definitions that are not required.
30013 (__gen_tempname): Call abort if an unknown kind value is
30014 passed.
30015
30016 2014-06-25 Andreas Schwab <schwab@suse.de>
30017
30018 [BZ #17086]
30019 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30020 scalbln, scalblnf, scalblnl in libc.
30021
30022 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30023
30024 [BZ #17086]
30025 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30026 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30027 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30028
30029 2014-06-24 Roland McGrath <roland@hack.frob.com>
30030
30031 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30032 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30033 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30034 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30035 Update #include.
30036 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30037 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30038 Update #include.
30039 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30040 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30041 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30042 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30043 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30044 * sysdeps/x86/bits/pthreadtypes.h: ... here.
30045 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30046 * sysdeps/x86/bits/semaphore.h: ... here.
30047 * sysdeps/x86/nptl/elide.h: Moved ...
30048 * sysdeps/x86/elide.h: ... here.
30049 * sysdeps/x86_64/nptl/Implies: File removed.
30050 * sysdeps/i386/nptl/Implies: File removed.
30051
30052 2014-06-24 Joseph Myers <joseph@codesourcery.com>
30053
30054 [BZ #16539]
30055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30056 return the argument for normal arguments with exponent below -64.
30057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30058 Likewise.
30059 * math/auto-libm-test-in: Add another test of expm1.
30060 * math/auto-libm-test-out: Regenerated.
30061
30062 [BZ #16287]
30063 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30064 calling __erfcl for arguments at least 16.
30065 * math/auto-libm-test-in: Add more tests of erf.
30066 * math/auto-libm-test-out: Regenerated.
30067
30068 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30069 individual architectures.
30070 * sysdeps/unix/sysv/linux/configure: Regenerated.
30071 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30072 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30073 * sysdeps/unix/sysv/linux/powerpc/configure.ac
30074 (ldd_rewrite_script): Define variable.
30075 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30077 file.
30078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30079 generated file.
30080 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30081 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30082 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30083 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30084 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30085 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30086 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30087 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30088
30089 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30090
30091 [BZ #17084]
30092 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30093 Rename member __data.d to __data.__elision_data.
30094
30095 2014-06-24 Wilco <wdijkstr@arm.com>
30096
30097 * NEWS: Add 16918 to fixed bug list.
30098
30099 2014-06-24 Wilco <wdijkstr@arm.com>
30100
30101 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30102
30103 2014-06-24 Wilco <wdijkstr@arm.com>
30104
30105 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30106 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30107 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30108 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30109 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30110 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30111 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30112 Use _FPU_MASK_RM.
30113
30114 2014-06-24 Wilco <wdijkstr@arm.com>
30115
30116 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30117
30118 2014-06-24 Wilco <wdijkstr@arm.com>
30119
30120 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30121 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30122 * sysdeps/arm/fesetround.c (fesetround): Remove space.
30123 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30124
30125 2014-06-24 Wilco <wdijkstr@arm.com>
30126
30127 [BZ #16918]
30128 * sysdeps/arm/feupdateenv.c (feupdateenv):
30129 Rewrite to reduce FPSCR accesses and fix return value.
30130
30131 2014-06-24 Wilco <wdijkstr@arm.com>
30132
30133 * sysdeps/arm/fclrexcpt.c (feclearexcept):
30134 Optimize to avoid unnecessary FPSCR writes.
30135 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30136 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30137 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30138 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30139
30140 2014-06-24 Wilco <wdijkstr@arm.com>
30141
30142 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30143 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30144 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30145 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30146 Call libc_fetestexcept_vfp.
30147 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30148 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30149 __SOFTFP__ ifdef so that they can be built for softfp.
30150
30151 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30152
30153 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30154 argument type signed char.
30155
30156 * Makerules (check-abi): Dump diff of symlist if the test
30157 fails.
30158
30159 2014-06-23 Roland McGrath <roland@hack.frob.com>
30160
30161 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30162 using abort.
30163
30164 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30165 Remove unused variable ST.
30166
30167 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30168
30169 [BZ #16354]
30170 [BZ #17061]
30171 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30172 small arguments before calling __expm1.
30173 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30174 small arguments before calling __expm1f.
30175 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30176 small arguments before calling __expm1l.
30177 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30178 Likewise.
30179 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30180 * math/auto-libm-test-in: Add more cosh tests. Do not allow
30181 spurious underflow for some cosh tests.
30182 * math/auto-libm-test-out: Regenerated.
30183 * sysdeps/i386/fpu/libm-test-ulps: Update.
30184
30185 [BZ #17050]
30186 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30187 (__ieee754_y1): Set errno if return value overflows.
30188 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30189 (__ieee754_y1f): Set errno if return value overflows.
30190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30191 (__ieee754_y1l): Set errno if return value overflows.
30192 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30193 (__ieee754_y1l): Set errno if return value overflows.
30194 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30195 * math/auto-libm-test-out: Regenerated.
30196
30197 * math/gen-auto-libm-tests.c: Document use of
30198 ignore-zero-inf-sign.
30199 (input_flag_type): Add value flag_ignore_zero_inf_sign.
30200 (input_flags): Add ignore-zero-inf-sign.
30201 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30202 * math/gen-libm-test.pl (generate_testfile): Handle
30203 ignore-zero-inf-sign.
30204 * math/auto-libm-test-in: Mark some cpow tests with
30205 ignore-zero-inf-sign and some with xfail-rounding.
30206 * math/auto-libm-test-out: Regenerated.
30207 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30208 * sysdeps/i386/fpu/libm-test-ulps: Update.
30209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30210
30211 [BZ #16315]
30212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30213 overflowing or underflowing operations take place with sign of
30214 result.
30215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30216 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30217 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30218 (__ieee754_pow): Recompute overflowing and underflowing results in
30219 original rounding mode.
30220 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30221 (__powl_helper): Allow negative argument X and scale negated value
30222 as needed. Avoid passing value outside [-1, 1] to f2xm1.
30223 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30224 overflowing or underflowing operations take place with sign of
30225 result.
30226 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30227 Include <math.h>.
30228 * math/auto-libm-test-in: Add more tests of pow.
30229 * math/auto-libm-test-out: Regenerated.
30230 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30231 (pow_tonearest_test_data): Remove.
30232 (pow_test_tonearest): Likewise.
30233 (pow_towardzero_test_data): Likewise.
30234 (pow_test_towardzero): Likewise.
30235 (pow_downward_test_data): Likewise.
30236 (pow_test_downward): Likewise.
30237 (pow_upward_test_data): Likewise.
30238 (pow_test_upward): Likewise.
30239 (main): Don't call removed functions.
30240 * sysdeps/i386/fpu/libm-test-ulps: Update.
30241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30242
30243 2014-06-23 Roland McGrath <roland@hack.frob.com>
30244
30245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30246 Moved ...
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30249 Moved ...
30250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30252 Moved ...
30253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30255 Moved ...
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30258 File removed.
30259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30260 File removed.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30262 File removed.
30263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30264 File removed.
30265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30266 File removed.
30267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30268 File removed.
30269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30270 File removed.
30271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30272 File removed.
30273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30274 File removed.
30275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30276 File removed.
30277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30278 File removed.
30279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30280 File removed.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30282 Moved ...
30283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30285 Moved ...
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30287 ... here.
30288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30289 Moved ...
30290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30292 Moved ...
30293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30295 Moved ...
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30298 Moved ...
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30301 Moved ...
30302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30304 Moved ...
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30307 Moved ...
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30311 ... here.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30313 Moved ...
30314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30316 Moved ...
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30318 ... here.
30319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30320 Moved ...
30321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30322 ... here.
30323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30324 Moved ...
30325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30326 ... here.
30327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30328 Moved ...
30329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30331 Moved ...
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30336 Moved ...
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30338 ... here.
30339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30340 Moved ...
30341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30342 ... here.
30343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30344 Moved ...
30345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
30346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30347 Moved ...
30348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
30349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30350 Moved ...
30351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
30352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30353 Moved ...
30354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
30355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30356 Moved ...
30357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
30358 ... here.
30359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30360 Moved ...
30361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
30362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30363 Moved ...
30364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
30365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30366 Moved ...
30367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
30368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30369 Moved ...
30370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
30371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
30372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
30373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30374 Moved ...
30375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
30376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30377 Moved ...
30378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
30379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30380 Moved ...
30381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
30382 ... here.
30383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30384 Moved ...
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
30386 ... here.
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30388 Moved ...
30389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
30390 ... here.
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30392 Moved ...
30393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
30394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30395 Moved ...
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
30397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30398 Moved ...
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
30400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30401 Moved ...
30402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
30403 ... here.
30404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30405 Moved ...
30406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
30407 ... here.
30408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30409 Moved ...
30410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
30411 ... here.
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30413 Moved ...
30414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
30415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30416 Moved ...
30417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
30418
30419 2014-06-23 Will Newton <will.newton@linaro.org>
30420 Wilco <wdijkstr@arm.com>
30421
30422 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
30423 implementation. Include get-rounding-mode.h.
30424 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
30425 [!libc_feholdsetround_noex_ctx]: Define
30426 libc_feholdsetround_noex_ctx.
30427 [!libc_feholdsetround_noexf_ctx]: Define
30428 libc_feholdsetround_noexf_ctx.
30429 [!libc_feholdsetround_noexl_ctx]: Define
30430 libc_feholdsetround_noexl_ctx.
30431 (libc_feholdsetround_ctx): New function.
30432 (libc_feresetround_ctx): New function.
30433 (libc_feholdsetround_noex_ctx): New function.
30434 (libc_feresetround_noex_ctx): New function.
30435
30436 2014-06-23 Roland McGrath <roland@hack.frob.com>
30437
30438 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
30439 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
30440 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
30441 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
30442 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
30443 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
30444
30445 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
30446 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
30447 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
30448 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
30449 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
30450 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
30451 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
30452 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
30453 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
30454 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
30455 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
30456 Moved ...
30457 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
30458 ... here.
30459 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
30460 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
30461 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
30462 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
30463 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
30464 Moved ...
30465 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
30466 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
30467 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
30468 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
30469 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
30470 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
30471 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
30472 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
30473 Moved ...
30474 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
30475 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
30476 Moved ...
30477 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
30478 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
30479 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
30480 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
30481 Moved ...
30482 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
30483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
30484 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
30485 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
30486 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
30487 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
30488 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
30489 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
30490 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
30491 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
30492 Moved ...
30493 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
30494 ... here.
30495 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
30496 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
30497 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
30498 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
30499 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
30500 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
30501 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
30502 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
30503 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
30504 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
30505 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
30506 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
30507 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
30508 Moved ...
30509 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
30510 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
30511 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
30512 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
30513 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
30514 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
30515 Moved ...
30516 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
30517 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
30518 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
30519 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
30520 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
30521
30522 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
30523 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
30524 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
30525 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
30526 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
30527 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
30528 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
30529 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
30530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
30531 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
30532 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
30533 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
30534 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
30535 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
30536 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
30537 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
30538 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
30539 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
30540 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
30541 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
30542 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
30543 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
30544 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
30545 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
30546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
30547 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
30548 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30549 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
30550
30551 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30552
30553 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30554 (FALLOC_FL_COLLAPSE_RANGE): New macro.
30555 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
30556 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
30557 (IPV6_PMTUDISC_INTERFACE): Likewise.
30558 (IPV6_PMTUDISC_OMIT): Likewise.
30559
30560 2014-06-23 Andreas Schwab <schwab@suse.de>
30561
30562 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
30563 Remove unused errout label.
30564
30565 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30566
30567 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
30568 macro: hardware supports Vector Crypto instructions.
30569
30570 2014-06-23 Will Newton <will.newton@linaro.org>
30571
30572 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
30573 rather than __builtin_expect.
30574
30575 * elf/dl-lookup.c (undefined_msg): Remove variable.
30576 (_dl_lookup_symbol_x): Replace undefined_msg with string
30577 literal.
30578
30579 * elf/dl-lookup.c (do_lookup_unique): New function.
30580 (do_lookup_x): Move STB_GNU_UNIQUE handling code
30581 to a separate function.
30582
30583 2014-06-23 Andreas Schwab <schwab@suse.de>
30584
30585 [BZ #17079]
30586 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
30587 before reading the next line.
30588
30589 2014-06-23 Will Newton <will.newton@linaro.org>
30590
30591 * test-skeleton.c (signal_handler): Use printf and %m
30592 rather than perror. Use printf rather than fprintf to
30593 stderr. Use puts rather than fputs to stderr.
30594 (main): Likewise.
30595
30596 2014-06-22 Ludovic Courtès <ludo@gnu.org>
30597
30598 * nscd/nscd.c (thread_info_t): Remove typedef.
30599 (thread_info): Remove variable.
30600
30601 2014-06-21 Allan McRae <allan@archlinux.org>
30602
30603 * NEWS: Mention CVE-2014-4043.
30604
30605 2014-06-20 Roland McGrath <roland@hack.frob.com>
30606
30607 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
30608 * nptl/smp.h: ... here.
30609
30610 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30611
30612 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
30613 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
30614 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
30615 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
30616
30617 * nptl/allocatestack.c: Include <stack-aliasing.h>.
30618 * nptl/stack-aliasing.h: New file.
30619 * sysdeps/i386/i686/stack-aliasing.h: New file.
30620 * sysdeps/i386/i686/nptl/Makefile: File removed.
30621 * sysdeps/x86_64/stack-aliasing.h: New file.
30622 * sysdeps/x86_64/nptl/Makefile
30623 (CFLAGS-pthread_create.c): Variable removed.
30624
30625 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
30626 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
30627 old file.
30628 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
30629 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
30630 old file.
30631
30632 2014-06-21 Joseph Myers <joseph@codesourcery.com>
30633
30634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
30635 (__ASSUME_SIGFRAME_V2): Remove macro.
30636 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
30637 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
30638 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
30639 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
30640 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
30641 Declare as function. Remove conditional macro definitions.
30642 (__default_rt_sa_restorer): Likewise.
30643 (__default_sa_restorer_v1): Remove declaration.
30644 (__default_sa_restorer_v2): Likewise.
30645 (__default_rt_sa_restorer_v1): Likewise.
30646 (__default_rt_sa_restorer_v2): Likewise.
30647 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
30648 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
30649 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
30650
30651 2014-06-20 Roland McGrath <roland@hack.frob.com>
30652
30653 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
30654 (libpthread-routines): Add sysdep.
30655 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
30656 * sysdeps/unix/sysv/linux/sparc/Versions
30657 (libpthread: GLIBC_2.3.3): New version set.
30658 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
30659 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
30660 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
30661 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
30662 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
30663 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
30664 Moved ...
30665 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
30666 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
30667 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
30668 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
30669 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
30670 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
30671 * sysdeps/sparc/nptl/sem_init.c: ... here.
30672 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
30673 * sysdeps/sparc/nptl/sem_post.c: ... here.
30674 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
30675 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
30676 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
30677 * sysdeps/sparc/nptl/sem_wait.c: ... here.
30678 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
30679 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30680 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
30681 (libpthread-routines): Add cpu_relax.
30682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
30683 File removed.
30684 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
30685 (librt: GLIBC_2.3.3): New version set.
30686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
30687 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
30688 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
30689 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
30690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
30691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
30692 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
30693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
30694 Moved ...
30695 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
30696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
30697 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
30698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
30699 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
30700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
30701 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
30702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
30703 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
30704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
30705 Moved ...
30706 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
30707 Update #include.
30708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
30709 Moved ...
30710 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
30711 Update #include.
30712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
30713 Moved ...
30714 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
30715 Update #include.
30716 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
30717 Moved ...
30718 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
30719 Update #include.
30720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
30721 Moved ...
30722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
30723 Update #include.
30724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
30725 Moved ...
30726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
30727 Update #include.
30728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
30729 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
30730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
30731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
30732 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
30733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
30734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
30735 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
30736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
30737 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
30738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30739 Moved ...
30740 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
30741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
30742 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
30743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
30744 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
30745
30746 2014-06-20 Joseph Myers <joseph@codesourcery.com>
30747
30748 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
30749 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
30750 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30751 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
30752 * nscd/nscd.c: Likewise.
30753 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
30754 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
30755 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
30756 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
30757
30758 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
30759 <kernel-features.h>.
30760 (init_mq_netlink): Remove conditional have_sock_cloexec
30761 definitions. Remove code conditional on have_sock_cloexec < 0.
30762 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
30763 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
30764 * sysdeps/unix/sysv/linux/opensock.c: Do not include
30765 <kernel-features.h>.
30766 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
30767 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
30768
30769 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
30770
30771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30772 Add tests for memset_chk and memset.
30773
30774 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
30775 with AVX2_Usable.
30776
30777 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
30778
30779 [BZ #16046]
30780 * elf/tst-dl-iter-static.c: New file.
30781 * elf/Makefile (tests-static): Add tst-dl-iter-static.
30782
30783 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
30784 error.
30785
30786 2014-06-20 Joseph Myers <joseph@codesourcery.com>
30787
30788 * sysdeps/unix/sysv/linux/kernel-features.h
30789 (__ASSUME_F_GETOWN_EX): Remove macro.
30790 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
30791 <kernel-features.h>.
30792 (miss_F_GETOWN_EX): Remove variable or macro.
30793 (do_fcntl): Do not check miss_F_GETOWN_EX.
30794 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
30795
30796 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
30797 Remove macro.
30798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
30799 [!__ASSUME_AT_RANDOM]: Remove conditional code.
30800 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
30801
30802 * sysdeps/unix/sysv/linux/kernel-features.h
30803 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
30804 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
30805 [ADJ_OFFSET_SS_READ]: Make code unconditional.
30806 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
30807
30808 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
30809
30810 [BZ #17075]
30811 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
30812 Fix calculation of the symbol's value.
30813 * sysdeps/arm/tst-armtlsdescloc.c: New file.
30814 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
30815 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
30816 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
30817 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
30818 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
30819 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
30820 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
30821 (modules-names): Add `tst-armtlsdescmod',
30822 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
30823 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
30824 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30825 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
30826 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
30827 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
30828 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30829 ($(objpfx)tst-armtlsdescloc): New dependency.
30830 ($(objpfx)tst-armtlsdescextnow): Likewise.
30831 ($(objpfx)tst-armtlsdescextlazy): Likewise.
30832 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30833 TLS scheme support.
30834 * sysdeps/arm/configure: Regenerate.
30835
30836 2014-06-20 Joseph Myers <joseph@codesourcery.com>
30837
30838 * include/fcntl.h (__atfct_seterrno): Remove prototype.
30839 (__atfct_seterrno_2): Likewise.
30840 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30841 <kernel-features.h>.
30842 (__ASSUME_ATFCTS): Do not undefine and redefine.
30843 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30844 (__have_atfcts): Remove conditional definition.
30845 (__fxstatat([__NR_fstatat64]: Make code unconditional.
30846 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30847 unreachable if [__ASSUME_ATFCTS].
30848 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30849 not undefine and redefine.
30850 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30851 <kernel-features.h>.
30852 (faccessat) [__NR_faccessat]: Make code unconditional.
30853 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30854 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30855 <kernel-features.h>.
30856 (fchmodat) [__NR_fchmodat]: Make code unconditional.
30857 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30858 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30859 <kernel-features.h>.
30860 (fchownat) [__NR_fchownat]: Make code unconditional.
30861 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30862 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30863 <kernel-features.h>.
30864 (futimesat) [__NR_futimesat]: Make code unconditional.
30865 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30866 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30867 <kernel-features.h>.
30868 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30869 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30870 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30871 <kernel-features.h>.
30872 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30873 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30874 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30875 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30876 <kernel-features.h>.
30877 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30878 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30879 * sysdeps/unix/sysv/linux/linkat.c: Do not include
30880 <kernel-features.h>.
30881 (linkat) [__NR_linkat]: Make code unconditional.
30882 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30883 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30884 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30885 <kernel-features.h>.
30886 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30887 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30888 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30889 <kernel-features.h>.
30890 (mkdirat) [__NR_mkdirat]: Make code unconditional.
30891 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30892 * sysdeps/unix/sysv/linux/openat.c: Do not include
30893 <kernel-features.h>.
30894 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30895 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30896 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30897 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30898 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30899 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30900 <kernel-features.h>.
30901 (readlinkat) [__NR_readlinkat]: Make code unconditional.
30902 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
30903 result of INLINE_SYSCALL directly, not via int variable.
30904 * sysdeps/unix/sysv/linux/renameat.c: Do not include
30905 <kernel-features.h>.
30906 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30907 (renameat) [__NR_renameat]: Make code unconditional.
30908 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30909 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30910 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30911 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30912 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30913 (__ASSUME_ATFCTS): Do not undefine and redefine.
30914 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30915 <kernel-features.h>.
30916 (symlinkat) [__NR_symlinkat]: Make code unconditional.
30917 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30918 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30919 <kernel-features.h>.
30920 (unlinkat) [__NR_unlinkat]: Make code unconditional.
30921 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30922 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30923 (__ASSUME_ATFCTS): Do not undefine and redefine.
30924 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30925 <kernel-features.h>.
30926 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30927 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30928 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30929 <kernel-features.h>.
30930 (__xmknodat) [__NR_mknodat]: Make code unconditional.
30931 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30932
30933 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
30934
30935 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30936
30937 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
30938
30939 [BZ #17069]
30940 * posix/regcomp.c (parse_reg_exp): Deallocate partially
30941 constructed tree before returning error.
30942 * posix/bug-regexp36.c: Expand test case.
30943
30944 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
30945
30946 [BZ #6803]
30947 * math/libm-test.inc (scalbln_test_date):
30948 Add errno expectations.
30949 * math/w_scalblnf.c: New File.
30950 Add wrapper which checks for setting errno to ERANGE.
30951 Add weak_alias for corresponding scalbln function.
30952 * math/w_scalbln.c: Likewise.
30953 * math/w_scalblnl.c: Likewise.
30954 * math/Makefile (libm-calls): Add w_scalbln.
30955 * sysdeps/ieee754/flt-32/s_scalblnf.c:
30956 Remove weak_alias for corresponding scalbln function.
30957 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30959 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30961 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30962 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30963 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30964 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30965 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30966 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30967 Remove long_double_symbol for scalblnl function in libm, libc.
30968 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30969 Add wrapper which checks for setting errno to ERANGE.
30970 Add long_double_symbol for scalblnl function in libm, libc.
30971 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30972 Remove long_double_symbol for scalblnl in libm.
30973 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30974 Add wrapper which checks for setting errno to ERANGE.
30975 Add long_double_symbol for scalblnl function in libm.
30976 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30977 Do not use wrapper because of own implementation.
30978
30979 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
30980
30981 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30982 3 bytes for __pad1 for x32.
30983 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30984
30985 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
30986 H.J. Lu <hongjiu.lu@intel.com>
30987
30988 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30989 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30990 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30991 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30992 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30993
30994 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
30995
30996 [BZ #17069]
30997 * posix/regcomp.c (parse_expression): Deallocate partially
30998 constructed tree before returning error.
30999 * posix/Makefile.c (tests): Add bug-regex36.
31000 (generated): Add bug-regex36.mtrace.
31001 (tests-special): Add $(objpfx)bug-regex36-mem.out
31002 (bug-regex36-ENV): New variable.
31003 ($(objpfx)bug-regex36-mem.out): New rule.
31004 * posix/bug-regex36.c: New file.
31005
31006 2014-06-19 Will Newton <will.newton@linaro.org>
31007
31008 * malloc/malloc.c (systrim): If extra is zero then return
31009 early.
31010
31011 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31012
31013 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31014
31015 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
31016
31017 * sysdeps/aarch64/strchr.S: New file.
31018
31019 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31020
31021 [BZ #17022]
31022 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31023 from arguments -2 or below.
31024 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31025 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31026
31027 2014-06-18 Andreas Schwab <schwab@suse.de>
31028
31029 [BZ #17062]
31030 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31031 of a bracket expr not to run off the end of the string.
31032 * posix/Makefile (tests): Add tst-fnmatch3.
31033 * posix/tst-fnmatch3.c: New file.
31034
31035 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31036
31037 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31038 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31039 [$(cross-compiling) = no]: Likewise.
31040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31041 [$(cross-compiling) = no]: Likewise.
31042
31043 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31044
31045 [BZ #17031]
31046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31047 double, adjusted for any remainder from the high double.
31048 * math/libm-test.inc (nearbyint): Add tests.
31049 (rint): Likewise.
31050
31051 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31052
31053 * nptl/sysdeps/powerpc/Makefile: Moved ...
31054 * sysdeps/powerpc/nptl/Makefile: ... here.
31055 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31056 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31057 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31058 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31059 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31060 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31061 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31062 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31063 * nptl/sysdeps/powerpc/tls.h: Moved ...
31064 * sysdeps/powerpc/nptl/tls.h: ... here.
31065
31066 2014-06-16 Joseph Myers <joseph@codesourcery.com>
31067
31068 [BZ #16681]
31069 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31070 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31071 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31072 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31073 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31074 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31075 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31076 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31077 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31078
31079 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
31080
31081 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31082
31083 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
31084
31085 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31086 defined operator.
31087
31088 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31089 $TIMEOUTFACTOR.
31090
31091 2014-06-16 Florian Weimer <fweimer@redhat.com>
31092
31093 [BZ #17058]
31094 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31095 non-executed part of the test.
31096
31097 2014-06-16 Andreas Schwab <schwab@suse.de>
31098
31099 * string/bits/string2.h (strdup, strndup): Update feature guard.
31100
31101 2014-06-14 David S. Miller <davem@davemloft.net>
31102
31103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31104
31105 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
31106
31107 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31108 that was previously under [RESET_PID].
31109 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31110
31111 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31112 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31113 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31114 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31115 (__libc_vfork): New strong alias.
31116 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31117
31118 2014-06-14 Andi Kleen <ak@linux.intel.com>
31119
31120 * sysdeps/generic/elide.h: New file.
31121
31122 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31123
31124 * Makefile (installed-headers): Adjust path of pthread.h header.
31125
31126 2014-06-13 Roland McGrath <roland@hack.frob.com>
31127
31128 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31129 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31130 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31131 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31132
31133 * nptl/sysdeps/s390/Makefile: Moved ...
31134 * sysdeps/s390/nptl/Makefile: ... here.
31135 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31136 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31137 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31138 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31139 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31140 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31141 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31142 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31143 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31144 * sysdeps/s390/nptl/pthreaddef.h: ... here.
31145 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31146 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31147 * nptl/sysdeps/s390/tls.h: Moved ...
31148 * sysdeps/s390/nptl/tls.h: ... here.
31149
31150 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31151 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31152
31153 2014-06-13 David S. Miller <davem@davemloft.net>
31154
31155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31158 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31162 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31163 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31164 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31165 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31166 Remove RESET_PID cpp guards.
31167 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31168 Remove RESET_PID cpp guards.
31169 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31170
31171 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
31172
31173 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31174 __sp to uintptr_t.
31175
31176 2014-06-13 Andi Kleen <ak@linux.intel.com>
31177
31178 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31179 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31182 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31186 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31190 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31192 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31196 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31197 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31198
31199 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31200 (pthread_rwlock_rdlock): Add elision.
31201 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31202 (pthread_rwlock_wrlock): Add elision.
31203 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31204 (pthread_rwlock_trywrlock): Add elision.
31205 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31206 (pthread_rwlock_tryrdlock): Add elision.
31207 * nptl/pthread_rwlock_unlock.c: Include elide.h.
31208 (pthread_rwlock_tryrdlock): Add elision unlock.
31209 * nptl/sysdeps/pthread/pthread.h:
31210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31211 (PTHREAD_RWLOCK_INITIALIZER,
31212 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31213 Handle new elision field.
31214 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31215 * sysdeps/arm/nptl/bits/pthreadtypes.h
31216 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31217 * sysdeps/sh/nptl/bits/pthreadtypes.h
31218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31219 * sysdeps/tile/nptl/bits/pthreadtypes.h
31220 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31221 * sysdeps/a/nptl/bits/pthreadtypes.h
31222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31223 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31224 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31225 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31226 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31227 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31228 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31229 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31230 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31231 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31233 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31234 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31235 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31236 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31237 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31239 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31240 (elision_init): Set try_xbegin to zero when no RTM.
31241 * sysdeps/x86/nptl/bits/pthreadtypes.h
31242 (pthread_rwlock_t): Change __pad1 to __rwelision.
31243 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31244
31245 2014-06-13 Andi Kleen <ak@linux.intel.com>
31246
31247 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31248 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31249 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31250 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31251
31252 2014-06-13 Meador Inge <meadori@codesourcery.com>
31253
31254 [BZ #16996]
31255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31256 that the cached result has been set before returning it.
31257
31258 2014-06-12 Roland McGrath <roland@hack.frob.com>
31259
31260 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31261 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31262 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31263 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31264 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31265 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31266
31267 * nptl/sysdeps/sparc/Makefile: Moved ...
31268 * sysdeps/sparc/nptl/Makefile: ... here.
31269 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31270 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31271 * nptl/sysdeps/sparc/tls.h: Moved ...
31272 * sysdeps/sparc/nptl/tls.h: ... here.
31273 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31274 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31275 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31276 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31277 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31278 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31279 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31280 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31281 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31282 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31283 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31284 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31285 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31286 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31287 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31288 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31289 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31290 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31291 Update #include.
31292 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31293 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31294 Update #include.
31295 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31296 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31297 Update #include.
31298 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31299 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31300 Update #include.
31301
31302 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31303
31304 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31305 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31306
31307 * sysdeps/pthread/posix-timer.h: Include <list.h>.
31308 (struct list_links): Type removed.
31309 (struct thread_node, struct timer_node): Replace struct list_links
31310 with struct list_head.
31311 (list_unlink_ip): Likewise.
31312 * sysdeps/pthread/timer_routines.c
31313 (timer_free_list, thread_free_list, thread_active_list): Likewise.
31314 (list_append, list_insbefore): Likewise.
31315 (list_init): Function removed.
31316 (thread_init, init_module): Use INIT_LIST_HEAD instead.
31317 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31318 * sysdeps/pthread/Makefile: ... here, new file.
31319
31320 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31321 * sysdeps/nptl/Implies: ... here.
31322 * sysdeps/unix/sysv/linux/Implies: Add nptl.
31323 * nptl/sysdeps/pthread/list.h: Moved ...
31324 * include/list.h: ... here.
31325 * nptl/sysdeps/pthread/createthread.c: Moved ...
31326 * nptl/createthread.c: ... here.
31327 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31328 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31329 * nptl/pt-longjmp.c: ... here.
31330 * nptl/sysdeps/pthread/Makefile: Moved ...
31331 * sysdeps/nptl/Makefile: ... here.
31332 * nptl/sysdeps/pthread/Subdirs: Moved ...
31333 * sysdeps/nptl/Subdirs: ... here.
31334 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31335 * sysdeps/nptl/aio_misc.h: ... here.
31336 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31337 * sysdeps/nptl/bits/libc-lock.h: ... here.
31338 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31339 * sysdeps/nptl/bits/libc-lockP.h: ... here.
31340 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31341 * sysdeps/nptl/bits/stdio-lock.h: ... here.
31342 * nptl/sysdeps/pthread/configure: Moved ...
31343 * sysdeps/nptl/configure: ... here.
31344 * nptl/sysdeps/pthread/configure.ac: Moved ...
31345 * sysdeps/nptl/configure.ac: ... here.
31346 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
31347 * sysdeps/nptl/gai_misc.h: ... here.
31348 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
31349 * sysdeps/nptl/librt-cancellation.c: ... here.
31350 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
31351 * sysdeps/nptl/malloc-machine.h: ... here.
31352 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
31353 * sysdeps/nptl/pthread-functions.h: ... here.
31354 * nptl/sysdeps/pthread/pthread.h: Moved ...
31355 * sysdeps/nptl/pthread.h: ... here.
31356 * nptl/sysdeps/pthread/setxid.h: Moved ...
31357 * sysdeps/nptl/setxid.h: ... here.
31358 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
31359 * sysdeps/nptl/sigfillset.c: ... here.
31360 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
31361 * sysdeps/nptl/tcb-offsets.h: ... here.
31362 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
31363 * sysdeps/nptl/tst-mqueue8x.c: ... here.
31364 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
31365 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
31366 * nptl/sysdeps/pthread/allocalim.h: Moved ...
31367 * sysdeps/pthread/allocalim.h: ... here.
31368 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
31369 * sysdeps/pthread/bits/sigthread.h: ... here.
31370 * nptl/sysdeps/pthread/flockfile.c: Moved ...
31371 * sysdeps/pthread/flockfile.c: ... here.
31372 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
31373 * sysdeps/pthread/ftrylockfile.c: ... here.
31374 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
31375 * sysdeps/pthread/funlockfile.c: ... here.
31376 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
31377 * sysdeps/pthread/posix-timer.h: ... here.
31378 * nptl/sysdeps/pthread/timer_create.c: Moved ...
31379 * sysdeps/pthread/timer_create.c: ... here.
31380 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
31381 * sysdeps/pthread/timer_delete.c: ... here.
31382 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
31383 * sysdeps/pthread/timer_getoverr.c: ... here.
31384 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
31385 * sysdeps/pthread/timer_gettime.c: ... here.
31386 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
31387 * sysdeps/pthread/timer_routines.c: ... here.
31388 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
31389 * sysdeps/pthread/timer_settime.c: ... here.
31390 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
31391 * sysdeps/pthread/tst-timer.c: ... here.
31392 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
31393 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
31394
31395 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
31396 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
31397
31398 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
31399 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
31400 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
31401 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
31402 Update #include target.
31403 * nptl/sysdeps/i386/i686/Makefile: Moved ...
31404 * sysdeps/i386/i686/nptl/Makefile: ... here.
31405 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
31406 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
31407 Update #include target.
31408 * nptl/sysdeps/i386/i686/tls.h: Moved ...
31409 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
31410 * nptl/sysdeps/i386/Makefile: Moved ...
31411 * sysdeps/i386/nptl/Makefile: ... here.
31412 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
31413 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
31414 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
31415 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
31416 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
31417 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
31418 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
31419 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
31420 * sysdeps/i386/nptl/pthreaddef.h: ... here.
31421 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
31422 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
31423 * nptl/sysdeps/i386/tls.h: Moved ...
31424 * sysdeps/i386/nptl/tls.h: ... here.
31425
31426 * sysdeps/sh/Makefile [$(subdir) = csu]
31427 (gen-as-const-headers): Add tcb-offsets.sym.
31428 * nptl/sysdeps/sh/Makefile: File removed.
31429 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
31430 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
31431 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
31432 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
31433 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
31434 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
31435 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
31436 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
31437 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
31438 * sysdeps/sh/nptl/pthreaddef.h: ... here.
31439 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
31440 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
31441 * nptl/sysdeps/sh/tls.h: Moved ...
31442 * sysdeps/sh/nptl/tls.h: ... here.
31443 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
31444 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
31445 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
31446 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
31447 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
31448 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
31449 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
31450 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
31451 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
31452 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
31453 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
31454 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
31455 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
31456 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
31457 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
31458 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
31459 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
31460 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
31461 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
31462 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
31463 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
31464 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
31465 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
31466 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
31467 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
31468 Moved ...
31469 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
31470 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
31471 Moved ...
31472 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
31473 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
31474 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
31475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
31476 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
31477 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
31478 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
31479 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
31480 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
31481 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
31482 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
31483 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
31484 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
31485 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
31486 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
31487 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
31488 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
31489 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
31490 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
31491
31492 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31493
31494 * posix/spawn_faction_addopen.c: Include string.h.
31495
31496 2014-06-11 Roland McGrath <roland@hack.frob.com>
31497
31498 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
31499 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
31500 * nptl/sysdeps/x86_64/Makefile: Moved ...
31501 * sysdeps/x86_64/nptl/Makefile: ... here.
31502 * nptl/sysdeps/x86_64/configure: Moved ...
31503 * sysdeps/x86_64/nptl/configure: ... here.
31504 * nptl/sysdeps/x86_64/configure.ac: Moved ...
31505 * sysdeps/x86_64/nptl/configure.ac: ... here.
31506 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
31507 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
31508 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
31509 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
31510 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
31511 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
31512 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
31513 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
31514 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
31515 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
31516 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
31517 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
31518 * nptl/sysdeps/x86_64/tls.h: Moved ...
31519 * sysdeps/x86_64/nptl/tls.h: ... here.
31520 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
31521 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
31522 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
31523 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
31524
31525 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
31526
31527 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31528
31529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31530
31531 2014-06-11 Joseph Myers <joseph@codesourcery.com>
31532
31533 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
31534 type.
31535 [POSIX] (off_t): Likewise.
31536 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
31537 [POSIX] (S_ISBLK): Require macro.
31538 [POSIX] (S_ISCHR): Likewise.
31539 [POSIX] (S_ISDIR): Likewise.
31540 [POSIX] (S_ISFIFO): Likewise.
31541 [POSIX] (S_ISREG): Likewise.
31542 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
31543 optional-macro.
31544 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
31545 type.
31546 [POSIX] (time_t): Likewise.
31547 [POSIX] (timer_t): Likewise.
31548
31549 2014-06-11 Florian Weimer <fweimer@redhat.com>
31550
31551 [BZ #17048]
31552 * posix/spawn_int.h (struct __spawn_action): Make the path string
31553 non-const to support deallocation.
31554 * posix/spawn_faction_addopen.c
31555 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
31556 * posix/spawn_faction_destroy.c
31557 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
31558 path in all spawn_do_open actions.
31559 * posix/tst-spawn.c (do_test): Exercise the copy operation in
31560 posix_spawn_file_actions_addopen.
31561
31562 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
31563
31564 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
31565 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
31566 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
31567 conditional code always true.
31568 (__libc_vfork): New alias.
31569
31570 2014-06-11 Roland McGrath <roland@hack.frob.com>
31571
31572 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31573 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
31574
31575 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
31576
31577 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31578 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
31579
31580 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31581 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
31582
31583 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31584 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
31585
31586 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31587
31588 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
31589 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
31590 multiarch strcmp for PPC64.
31591 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
31592 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
31593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
31594 multiarch optimizations.
31595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31596 (__libc_ifunc_impl_list): Likewise.
31597
31598 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31599
31600 * benchtests/scripts/validate_benchout.py: New script.
31601 * benchtests/Makefile (bench-func): Call it.
31602 * benchtests/scripts/benchout.schema.json: New file.
31603
31604 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
31605
31606 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
31607 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
31608 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
31609 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
31610 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
31611 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
31612 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
31613 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
31614 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
31615 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
31616 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
31617 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
31618 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
31619 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
31620 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
31621 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
31622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
31623 Moved ...
31624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
31625 ... here.
31626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
31627 Moved ...
31628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
31629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
31630 Moved ...
31631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
31632 ... here.
31633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
31634 Moved ...
31635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
31636 ... here.
31637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
31638 Moved ...
31639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
31640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
31641 Moved ...
31642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
31643 ... here.
31644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
31645 Moved ...
31646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
31647 ... here.
31648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
31649 Moved ...
31650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
31651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
31652 Moved ...
31653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
31654 ... here.
31655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
31656 Moved ...
31657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
31658 ... here.
31659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
31660 Moved ...
31661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
31662 ... here.
31663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
31664 Moved ...
31665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
31666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
31667 Moved ...
31668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
31669 ... here.
31670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
31671 Moved ...
31672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
31673 ... here.
31674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
31675 Moved ...
31676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
31677 ... here.
31678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
31679 Moved ...
31680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
31681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
31682 Moved ...
31683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
31684 ... here.
31685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
31686 Moved ...
31687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
31688 ... here.
31689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
31690 Moved ...
31691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
31692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
31693 Moved ...
31694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
31695 ... here.
31696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
31697 Moved ...
31698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
31699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
31700 Moved ...
31701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
31702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
31703 Moved ...
31704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
31705 ... here.
31706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
31707 Moved ...
31708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
31709 ... here.
31710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
31711 Moved ...
31712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
31713 ... here.
31714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
31715 Moved ...
31716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
31717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
31718 Moved ...
31719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
31720 ... here.
31721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
31722 Moved ...
31723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
31724 ... here.
31725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
31726 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
31727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
31728 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
31729 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
31730 Moved ...
31731 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
31732 ... here.
31733 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
31734 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
31735 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
31736 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
31737 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
31738 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
31739 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
31740 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
31741 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
31742 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
31743 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
31744 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
31745 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
31746 Moved ...
31747 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
31748 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
31749 Moved ...
31750 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
31751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
31752 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
31753 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
31754 Moved ...
31755 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
31756 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
31757 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
31758 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
31759 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
31760 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
31761 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
31762
31763 2014-06-10 Wilco <wdijkstr@arm.com>
31764
31765 * math/test-fenv-return.c: New file.
31766 * math/Makefile: Add new test test-fenv-return.
31767
31768 2014-06-10 Joseph Myers <joseph@codesourcery.com>
31769
31770 [BZ #17042]
31771 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
31772 when x - 1 is zero.
31773 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
31774 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
31775 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
31776 0.0L for an argument of 1.0L.
31777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
31778 Likewise.
31779 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
31780 value when x - 1 is zero.
31781 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
31782 * sysdeps/i386/fpu/libm-test-ulps: Update.
31783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31784
31785 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
31786
31787 [BZ #15119]
31788 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
31789
31790 2014-06-09 Roland McGrath <roland@hack.frob.com>
31791
31792 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
31793 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
31794
31795 2014-06-09 Roland McGrath <roland@hack.frob.com>
31796
31797 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31798 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
31799
31800 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31801 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
31802
31803 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31804 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
31805
31806 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31807 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
31808
31809 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
31810 if not already defined.
31811 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
31812 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
31813 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
31814 (TLS_INIT_TP): Use it.
31815 (TLS_DEFINE_INIT_TP): New macro.
31816 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
31817
31818 2014-06-09 Joseph Myers <joseph@codesourcery.com>
31819
31820 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
31821 constant.
31822 [POSIX] (IXANY): Likewise.
31823 [POSIX] (OLCUC): Likewise.
31824 [POSIX || POSIX2008] (CBAUD): Do not allow.
31825 [POSIX || POSIX2008] (DEFECHO): Likewise.
31826 [POSIX || POSIX2008] (ECHOCTL): Likewise.
31827 [POSIX || POSIX2008] (ECHOKE): Likewise.
31828 [POSIX || POSIX2008] (ECHOPRT): Likewise.
31829 [POSIX || POSIX2008] (EXTA): Likewise.
31830 [POSIX || POSIX2008] (EXTB): Likewise.
31831 [POSIX || POSIX2008] (FLUSHO): Likewise.
31832 [POSIX || POSIX2008] (LOBLK): Likewise.
31833 [POSIX || POSIX2008] (PENDIN): Likewise.
31834 [POSIX || POSIX2008] (SWTCH): Likewise.
31835 [POSIX || POSIX2008] (VDISCARD): Likewise.
31836 [POSIX || POSIX2008] (VDSUSP): Likewise.
31837 [POSIX || POSIX2008] (VLNEXT): Likewise.
31838 [POSIX || POSIX2008] (VREPRINT): Likewise.
31839 [POSIX || POSIX2008] (VSTATUS): Likewise.
31840 [POSIX || POSIX2008] (VWERASE): Likewise.
31841 (B*): Change to B[0123456789]*.
31842 * conform/data/time.h-data [POSIX || UNIX98]
31843 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31844 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31845 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31846 [POSIX] (tm_*): Do not allow.
31847
31848 2014-06-07 Joseph Myers <joseph@codesourcery.com>
31849
31850 * Makefile (install): Don't set LANGUAGE.
31851 * Makefile.in (install): Likewise.
31852 * assert/Makefile (test-assert-ENV): Remove variable.
31853 (test-assert-perr-ENV): Likewise.
31854 * elf/Makefile (neededtest4-ENV): Likewise.
31855 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31856 [$(cross-compiling) = no]: Don't set LANGUAGE.
31857 * io/ftwtest-sh (LANG): Remove variable.
31858 * libio/Makefile (tst-widetext-ENV): Likewise.
31859 * manual/install.texi (Running make install): Don't refer to
31860 environment settings for make install.
31861 * INSTALL: Regenerated.
31862 * nptl/tst-tls6.sh: Don't set LANG.
31863 * posix/globtest.sh (LANG): Remove variable.
31864 * string/Makefile (tester-ENV): Likewise.
31865 (inl-tester-ENV): Likewise.
31866 (noinl-tester-ENV): Likewise.
31867 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31868 [$(cross-compiling) = no]: Don't set LANGUAGE.
31869 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31870 without explicit environment settings.
31871
31872 2014-06-06 Roland McGrath <roland@hack.frob.com>
31873
31874 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31875 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31876 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31877 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31878
31879 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
31880
31881 * crypt/crypt-private.h [DOS]: Add some includes taken from the
31882 other files in the crypt directory.
31883 * crypt/crypt.c: Remove duplicate includes.
31884 * crypt/crypt-entry.c: Likewise.
31885 * crypt/crypt_util.c: Likewise.
31886
31887 2014-06-06 Joseph Myers <joseph@codesourcery.com>
31888
31889 * Makeconfig (run-program-env): New variable.
31890 (run-program-prefix-before-env): Likewise.
31891 (run-program-prefix-after-env): Likewise.
31892 (run-program-prefix): Define in terms of new variables.
31893 (built-program-cmd-before-env): New variable.
31894 (built-program-cmd-after-env): Likewise.
31895 (built-program-cmd): Define in terms of new variables.
31896 (test-program-prefix-before-env): New variable.
31897 (test-program-prefix-after-env): Likewise.
31898 (test-program-prefix): Define in terms of new variables.
31899 (test-program-cmd-before-env): New variable.
31900 (test-program-cmd-after-env): Likewise.
31901 (test-program-cmd): Define in terms of new variables.
31902 * Rules (make-test-out): Use $(run-program-env).
31903 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31904 (help): Do not mention environment variables. Mention
31905 --timeoutfactor option.
31906 (timeoutfactor): New variable.
31907 (blacklist_exports): Remove function.
31908 (exports): Remove variable.
31909 (command): Do not include ${exports}.
31910 * manual/install.texi (Configuring and compiling): Do not mention
31911 test wrappers preserving environment variables. Mention that last
31912 assignment to a variable must take precedence.
31913 * INSTALL: Regenerated.
31914 * benchtests/Makefile (run-bench): Use $(run-program-env).
31915 * catgets/Makefile ($(objpfx)test1.cat): Use
31916 $(built-program-cmd-before-env), $(run-program-env) and
31917 $(built-program-cmd-after-env).
31918 ($(objpfx)test2.cat): Do not specify environment variables
31919 explicitly.
31920 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31921 $(run-program-env) and $(built-program-cmd-after-env).
31922 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31923 $(run-program-env) and $(test-program-cmd-after-env).
31924 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31925 explicitly.
31926 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31927 run_program_env and test_program_cmd_after_env arguments.
31928 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31929 * elf/tst-pathopt.sh: Use run_program_env argument.
31930 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31931 $(test-wrapper-env) and $(run-program-env).
31932 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31933 run_program_env arguments.
31934 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31935 * intl/Makefile ($(objpfx)tst-gettext.out): Use
31936 $(test-program-prefix-before-env), $(run-program-env) and
31937 $(test-program-prefix-after-env).
31938 ($(objpfx)tst-gettext2.out): Likewise.
31939 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31940 run_program_env and test_program_prefix_after_env arguments.
31941 * intl/tst-gettext2.sh: Likewise.
31942 * intl/tst-gettext4.sh: Do not set environment variables
31943 explicitly.
31944 * intl/tst-gettext6.sh: Likewise.
31945 * intl/tst-translit.sh: Likewise.
31946 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31947 $(test-program-prefix-before-env), $(run-program-env) and
31948 $(test-program-prefix-after-env).
31949 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31950 run_program_env and test_program_prefix_after_env arguments.
31951 * math/Makefile (run-regen-ulps): Use $(run-program-env).
31952 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31953 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
31954 explicitly with each use of ${test_wrapper_env}.
31955 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31956 $(test-program-prefix-before-env), $(run-program-env) and
31957 $(test-program-prefix-after-env).
31958 * posix/tst-getconf.sh: Do not set environment variables
31959 explicitly.
31960 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31961 run_program_env and test_program_prefix_after_env arguments.
31962 * stdio-common/tst-printf.sh: Do not set environment variables
31963 explicitly.
31964 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31965 $(test-program-prefix-before-env), $(run-program-env) and
31966 $(test-program-prefix-after-env).
31967 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31968 run_program_env and test_program_prefix_after_env arguments.
31969 Split $test calls into $test_pre and $test.
31970 * timezone/Makefile (build-testdata): Use
31971 $(built-program-cmd-before-env), $(run-program-env) and
31972 $(built-program-cmd-after-env).
31973
31974 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31975
31976 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31977 strlen for non SHARED builds.
31978
31979 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31980
31981 * nptl/allocatestack.c (check_list): Inlined function...
31982 (__reclaim_stacks): ... here.
31983
31984 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
31985
31986 [BZ #15698]
31987 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31988 memory overrun.
31989
31990 2014-06-05 Joseph Myers <joseph@codesourcery.com>
31991
31992 * Rules (make-test-out): Include
31993 LOCPATH=$(common-objpfx)localedata in default environment.
31994 * debug/Makefile (tst-chk1-ENV): Remove variable.
31995 (tst-chk2-ENV): Likewise.
31996 (tst-chk3-ENV): Likewise.
31997 (tst-chk4-ENV): Likewise.
31998 (tst-chk5-ENV): Likewise.
31999 (tst-chk6-ENV): Likewise.
32000 (tst-lfschk1-ENV): Likewise.
32001 (tst-lfschk2-ENV): Likewise.
32002 (tst-lfschk3-ENV): Likewise.
32003 (tst-lfschk4-ENV): Likewise.
32004 (tst-lfschk5-ENV): Likewise.
32005 (tst-lfschk6-ENV): Likewise.
32006 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32007 (tst-iconv7-ENV): Likewise.
32008 * intl/Makefile (LOCPATH-ENV): Likewise.
32009 (tst-codeset-ENV): Likewise.
32010 (tst-gettext3-ENV): Likewise.
32011 (tst-gettext5-ENV): Likewise.
32012 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32013 (tst-fopenloc-ENV): Likewise.
32014 (tst-fgetws-ENV): Remove variable.
32015 (tst-ungetwc1-ENV): Likewise.
32016 (tst-ungetwc2-ENV): Likewise.
32017 (bug-ungetwc2-ENV): Likewise.
32018 (tst-swscanf-ENV): Likewise.
32019 (bug-ftell-ENV): Likewise.
32020 (tst-fgetwc-ENV): Likewise.
32021 (tst-fseek-ENV): Likewise.
32022 (tst-ftell-partial-wide-ENV): Likewise.
32023 (tst-ftell-active-handler-ENV): Likewise.
32024 (tst-ftell-append-ENV): Likewise.
32025 * posix/Makefile (tst-fnmatch-ENV): Likewise.
32026 (tst-regexloc-ENV): Likewise.
32027 (bug-regex1-ENV): Likewise.
32028 (tst-regex-ENV): Likewise.
32029 (tst-regex2-ENV): Likewise.
32030 (bug-regex5-ENV): Likewise.
32031 (bug-regex6-ENV): Likewise.
32032 (bug-regex17-ENV): Likewise.
32033 (bug-regex18-ENV): Likewise.
32034 (bug-regex19-ENV): Likewise.
32035 (bug-regex20-ENV): Likewise.
32036 (bug-regex22-ENV): Likewise.
32037 (bug-regex23-ENV): Likewise.
32038 (bug-regex25-ENV): Likewise.
32039 (bug-regex26-ENV): Likewise.
32040 (bug-regex30-ENV): Likewise.
32041 (bug-regex32-ENV): Likewise.
32042 (bug-regex33-ENV): Likewise.
32043 (bug-regex34-ENV): Likewise.
32044 (bug-regex35-ENV): Likewise.
32045 (tst-rxspencer-ENV): Likewise.
32046 (tst-rxspencer-no-utf8-ENV): Likewise.
32047 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32048 (tst-sscanf-ENV): Likewise.
32049 (tst-swprintf-ENV): Likewise.
32050 (tst-swscanf-ENV): Likewise.
32051 (test-vfprintf-ENV): Likewise.
32052 (scanf13-ENV): Likewise.
32053 (bug14-ENV): Likewise.
32054 (tst-grouping-ENV): Likewise.
32055 * stdlib/Makefile (tst-strtod-ENV): Likewise.
32056 (tst-strtod3-ENV): Likewise.
32057 (tst-strtod4-ENV): Likewise.
32058 (tst-strtod5-ENV): Likewise.
32059 (testmb2-ENV): Likewise./
32060 * string/Makefile (tst-strxfrm-ENV): Likewise.
32061 (tst-strxfrm2-ENV): Likewise.
32062 (bug-strcoll1-ENV): Likewise.
32063 (test-strcasecmp-ENV): Likewise.
32064 (test-strncasecmp-ENV): Likewise.
32065 * time/Makefile (tst-strptime-ENV): Likewise.
32066 (tst-ftime_l-ENV): Likewise.
32067 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32068 (tst-mbrtowc-ENV): Likewise.
32069 (tst-wcrtomb-ENV): Likewise.
32070 (tst-mbrtowc2-ENV): Likewise.
32071 (tst-c16c32-1-ENV): Likewise.
32072 (tst-mbsnrtowcs-ENV): Likewise.
32073
32074 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32075
32076 * manual/resource.texi (How to get information about the memory
32077 subsystem?): Fix typo.
32078 Reported by Peon de la Parra Ivan <peon@keba.com>
32079
32080 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
32081
32082 [BZ #16882]
32083 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32084 (pthread_spin_lock): Branch out of spin loop to proper location.
32085 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32086 (pthread_spin_lock): Likewise.
32087
32088 * nptl/tst-spin4.c: New test.
32089 * nptl/Makefile (tests): Add tst-spin4.
32090
32091 2014-06-03 Andreas Schwab <schwab@suse.de>
32092
32093 [BZ #15946]
32094 * resolv/res_send.c (send_dg): Reload file descriptor after
32095 calling reopen.
32096
32097 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
32098
32099 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32100
32101 2014-06-03 Richard Henderson <rth@redhat.com>
32102
32103 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32104 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32105 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32106 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
32107 in the SAVE_PID block.
32108 (__libc_vfork): New alias.
32109 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32110
32111 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32112 child in registers, not on the stack. Remove RESET_PID conditionals.
32113 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32114
32115 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
32116
32117 * sysdeps/aarch64/libm-test-ulps: Regenerate.
32118
32119 2014-06-03 Wilco <wdijkstr@arm.com>
32120
32121 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32122 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32123 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32124 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32125 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32126 Likewise.
32127
32128 2014-06-03 Wilco <wdijkstr@arm.com>
32129
32130 * sysdeps/aarch64/fpu/math_private.h
32131 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32132 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32133 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32134 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32135 Fix declarations.
32136
32137 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32138
32139 * crypt/crypt-private.h: Include ufc-crypt.h.
32140 (__b64_from_24bit): Declare extern.
32141 * crypt/crypt_util.c(__b64_from_24bit): New function.
32142 (b64t): New static const variable.
32143 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32144 (b64t): Remove variable.
32145 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32146 * crypt/sha256-crypt.c: Include crypt-private.h.
32147 (b64t): Remove variable.
32148 (__sha256_crypt_r): Remove b64_from_24bit and replace
32149 with __b64_from_24bit.
32150 * crypt/sha512-crypt.c: Likewise.
32151
32152 2014-06-02 Roland McGrath <roland@hack.frob.com>
32153
32154 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32155 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32156 Label the code __libc_vfork rather than __vfork.
32157 [!NOT_IN_libc] (vfork): Define as weak alias.
32158 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32159 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32160 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32161
32162 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32163
32164 * malloc/malloc.c (malloc_info): Fix format specifier for
32165 n_mmaps.
32166
32167 2014-06-02 Wilco <wdijkstr@arm.com>
32168
32169 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32170 FPCR write.
32171
32172 2014-06-02 Wilco <wdijkstr@arm.com>
32173
32174 [BZ #17009]
32175 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32176 Rewrite to reduce FPCR/FPSR accesses.
32177
32178 2014-06-01 David S. Miller <davem@davemloft.net>
32179
32180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32181
32182 2014-05-31 David S. Miller <davem@davemloft.net>
32183
32184 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32185 to occur in round to nearest mode when |x| >= 2.0
32186
32187 2014-05-30 Richard Henderson <rth@twiddle.net>
32188
32189 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32190 (PSEUDO_RET_NOERRNO): Remove.
32191 (ret): Don't redefine.
32192 (ret_NOERRNO): Define in terms of ret.
32193 (ret_ERRVAL): Likewise.
32194
32195 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32196 use of PSEUDO_RET; perform the error check directly.
32197
32198 2014-05-30 Marko Myllynen <myllynen@redhat.com>
32199
32200 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32201 with __int128_t.
32202
32203 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32204
32205 * malloc/malloc (malloc_info): Fix formatting.
32206
32207 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32208 Roland McGrath <roland@hack.frob.com>
32209
32210 * malloc/malloc (malloc_info): Also print mmapped statistics.
32211
32212 2014-05-30 Roland McGrath <roland@hack.frob.com>
32213
32214 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32215 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32216
32217 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
32218
32219 * malloc/malloc.c (malloc_info): Inline mi_arena.
32220
32221 2014-05-29 Richard Henderson <rth@twiddle.net>
32222
32223 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32224 Remove comma before expanding ASM_ARGS_##nr.
32225 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32226 Make _x0 a strict output; make _x8 a strict input; adjust expansion
32227 of ASM_ARGS_##nr.
32228 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32229 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32230 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32231 (ASM_ARGS_1): Add leading comma.
32232
32233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32234 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32235 to __errno_location.
32236 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32237 Remove the expected plt for __errno_location.
32238
32239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32240 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32241 call to __read_tp.
32242
32243 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32244 Always allocate 64 bytes of stack frame. Use ldp/stp to create
32245 it and break it down.
32246 (DOCARGS_0, DOCARGS_1): Do nothing.
32247 (DOCARGS_2): Update to store into the new stack frame.
32248 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32249 (UNDOCARGS_1): Update to restore from the new stack frame.
32250 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32251 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32252
32253 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32254 (SINGLE_THREAD_P): New parameter for result regno.
32255 (PSEUDO): Update to match; use cbz instead of beq.
32256
32257 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32258 Use ENTRY to define the _nocancel entry point. Share the syscall
32259 and syscall error check paths with the cancel path.
32260 (PSEUDO_END): New.
32261
32262 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32263 whitespace; tabs before and after asm mnemonics.
32264
32265 2014-05-29 Eric Wong <normalperson@yhbt.net>
32266
32267 [BZ #15132]
32268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32269 Call fstat64 or stat64 internally, depending on arguments passed.
32270 Replace stat buffer argument with file descriptor argument.
32271 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32272 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32273 Pass fd to __internal_statvfs instead of calling fstat64.
32274 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32275 Pass fd to __internal_statvfs64 instead of calling fstat64.
32276 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32277 Pass -1 to __internal_statvfs instead of calling stat64.
32278 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32279 Pass -1 to __internal_statvfs64 instead of calling stat64.
32280
32281 2014-05-28 Roland McGrath <roland@hack.frob.com>
32282
32283 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32284 that was previously under [RESET_PID].
32285 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32286
32287 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32288 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32289
32290 2014-05-27 Roland McGrath <roland@hack.frob.com>
32291
32292 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32293
32294 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32295 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32296
32297 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
32298
32299 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32300
32301 2014-05-27 Andreas Schwab <schwab@suse.de>
32302
32303 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32304 TLS_INIT_TP macro.
32305 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32306 * elf/rtld.c (init_tls, dl_main): Likewise.
32307 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32308 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32309 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32310 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32311 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32312 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32313 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32314 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32315 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32316 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32317 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32318 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32319 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32320 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32321 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32322 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32323 * sysdeps/generic/tls.h: Update description.
32324
32325 2014-05-27 Will Newton <will.newton@linaro.org>
32326
32327 [BZ #16990]
32328 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32329 and restore r2 rather than just restoring.
32330
32331 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32332
32333 [BZ #16724]
32334 * libio/tst-ftell-append.c: New test case.
32335 * libio/Makefile (tests): Add test case.
32336 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32337 append mode.
32338 * libio/wfileops.c (do_ftell_wide): Likewise.
32339
32340 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32341
32342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32343
32344 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32345 ...
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32348 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
32349 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
32350 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
32351 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
32352 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
32353 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
32354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32355 Moved ...
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
32357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32358 Moved ...
32359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
32360 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
32361 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
32362 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
32363 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
32364 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
32365 ...
32366 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
32367 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
32368 Moved ...
32369 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
32370 here.
32371 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
32372 ...
32373 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
32374 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
32375 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
32376
32377 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
32378 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
32379 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
32380 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
32381
32382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
32383 merge into ...
32384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
32385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
32386 ...
32387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
32388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
32389 ...
32390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
32391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32392 Moved ...
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
32394 here.
32395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32396 Moved ...
32397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
32398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32399 Moved ...
32400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
32401
32402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
32403 conditional [RESET_PID].
32404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
32405 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
32406 removed.
32407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
32408 removed.
32409
32410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
32411 <tcb-offsets.h>.
32412 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32413 (__libc_vfork): New strong alias.
32414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
32415 removed.
32416 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
32417 Removed.
32418
32419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
32420 <tcb-offsets.h>.
32421 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
32422 (__libc_vfork): New strong alias.
32423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
32424 removed.
32425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
32426 removed.
32427
32428 2014-05-26 Carlos O'Donell <carlos@redhat.com>
32429
32430 * malloc/malloc.c (mi_arena): New function.
32431 (malloc_info): Remove nested function mi_arena. Call non-nosted
32432 function mi_arena.
32433
32434 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32435
32436 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
32437 by insrwi.
32438 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
32439 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
32440 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
32441 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
32442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
32443 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
32444 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
32445
32446 2014-05-26 Andreas Schwab <schwab@suse.de>
32447
32448 [BZ #16984]
32449 * locale/programs/repertoire.c (repertoire_read): Add slash
32450 between I18NPATH element and file name.
32451 * locale/programs/locfile.c (locfile_read): Likewise.
32452
32453 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32454
32455 * nptl/pthread_mutexattr_settype.c
32456 (__pthread_mutexattr_settype):
32457 Disable lock elision for PTHREAD_MUTEX_NORMAL.
32458
32459 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
32460
32461 * nptl/tst-mutex5 (do_test):
32462 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
32463
32464 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32465
32466 * benchtests/README: Document 'init' directive.
32467 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
32468 BENCH_INIT.
32469 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
32470 (parse_file): Recognize 'init' directive.
32471
32472 2014-05-26 Kyle McMartin <kyle@redhat.com>
32473
32474 [BZ #16796]
32475 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
32476 alignment of struct pthread.
32477
32478 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32479
32480 [BZ #16878]
32481 * nscd/netgroupcache.c (addgetnetgrentX): Look for
32482 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32483 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
32484 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
32485
32486 2014-05-25 Richard Henderson <rth@twiddle.net>
32487
32488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32489 (SINGLE_THREAD_P_PIC): Remove.
32490 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
32491 (SINGLE_THREAD_P_PIC): Remove.
32492
32493 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
32494 branch to syscall error ...
32495 (PSEUDO): ... here.
32496 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
32497 from __local_syscall_error to .Lsyscall_error.
32498 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
32499 (SYSCALL_ERROR): Update label name.
32500
32501 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32502 Do not use DOARGS/UNDOARGS.
32503 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
32504 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
32505 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
32506 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
32507 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
32508
32509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
32510 block comment.
32511
32512 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
32513 define if !NOT_IN_libc.
32514 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
32515 define with non-default symbol versions.
32516
32517 2014-05-23 Richard Henderson <rth@twiddle.net>
32518
32519 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
32520 (vfork, __vfork): Define via compat_symbol.
32521
32522 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
32523 [!HAVE_IFUNC] (vfork_compat): Remove.
32524 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
32525
32526 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32527
32528 [BZ #16978]
32529 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
32530 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
32531 variable.
32532
32533 2014-05-23 Richard Henderson <rth@twiddle.net>
32534
32535 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
32536 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
32537 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
32538 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
32539
32540 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
32541 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
32542 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
32543 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
32544 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
32545 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
32546 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
32547 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
32548 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
32549 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
32550 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
32551 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
32552 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
32553 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
32554 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
32555 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
32556 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
32557 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
32558 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
32559 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
32560 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
32561 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
32562 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
32563 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32564 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
32565 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
32566 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
32567 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
32568 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
32569 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
32570 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
32571 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
32572 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
32573 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
32574 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
32575 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
32576 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
32577 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
32578 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
32579 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
32580 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
32581 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
32582 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
32583 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
32584 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
32585 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
32586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
32587 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
32588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
32589 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
32590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
32591 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
32592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
32593 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
32594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
32595 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
32596
32597 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
32598 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
32599 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
32600 before exiting on error.
32601 (__libc_vfork): New strong alias.
32602 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
32603 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
32604
32605 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
32606 that was previously under [RESET_PID].
32607 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
32608
32609 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
32610
32611 2014-05-23 Joseph Myers <joseph@codesourcery.com>
32612
32613 [BZ #16977]
32614 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
32615 value when x - 1 is zero.
32616 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
32617 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
32618 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
32619 0.0L for an argument of 1.0L.
32620 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
32621 Likewise.
32622 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
32623 value when x - 1 is zero.
32624 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
32625 * sysdeps/i386/fpu/libm-test-ulps: Update.
32626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32627
32628 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
32629
32630 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
32631 alphasort and versionsort.
32632
32633 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32634
32635 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
32636 macro.
32637 [copysignf]: Likewise.
32638
32639 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32640
32641 * crypt/md5-crypt.c: Fix formatting.
32642
32643 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32644
32645 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
32646 (b64_from_24bit): New function.
32647
32648 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32649
32650 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
32651 libc_hidden_builtin_def to ifunc.
32652 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32653 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
32654
32655 2014-05-21 Roland McGrath <roland@hack.frob.com>
32656
32657 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
32658 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
32659
32660 2014-05-21 Joseph Myers <joseph@codesourcery.com>
32661
32662 * nscd/Depend (linuxthreads): Remove.
32663 (nptl): Add.
32664 * resolv/Depend (linuxthreads): Remove.
32665 * rt/Depend (linuxthreads): Remove.
32666
32667 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
32668 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
32669 $(common-objpfx)elf/.
32670 (link-libc-before-gnulib): Likewise.
32671 (elfobjdir): Remove variable.
32672 * Makefile (install): Use $(elf-objpfx) instead of
32673 $(common-objpfx)elf/.
32674 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
32675 $(elfobjdir)/.
32676 (link-libc-deps): Likewise.
32677 ($(common-objpfx)libc.so): Likewise.
32678 ($(common-objpfx)linkobj/libc.so): Likewise.
32679 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
32680 instead of $(common-objpfx)elf/.
32681 (symbolic-link-list): Likewise.
32682 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32683 [$(cross-compiling) = no]: Likewise.
32684 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
32685 $(elfobjdir)/.
32686 (static-gnulib-arch): Likewise.
32687 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32688 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
32689 $(common-objpfx)elf/.
32690
32691 2014-05-21 Richard Henderson <rth@redhat.com>
32692
32693 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32694 (SINGLE_THREAD_P): Use the correct width load. Fold
32695 into the ldr offset.
32696
32697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
32698 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
32699
32700 2014-05-20 Joseph Myers <joseph@codesourcery.com>
32701
32702 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
32703 (libgcc_s_resume): Use __attribute_used__.
32704 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
32705 Likewise.
32706
32707 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32708
32709 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
32710 optimization when used with float constants.
32711
32712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32713
32714 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
32715
32716 [BZ #16915]
32717 * locale/nl_langinfo_l.c: Make direct reference to every
32718 _nl_current_CATEGORY symbol.
32719 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
32720 (tests-static): Add tst-langinfo-static.
32721 (tests-special): Add tst-langinfo-static.out.
32722 ($(objpfx)tst-langinfo.out): Redirect output.
32723 ($(objpfx)tst-langinfo-static.out): New.
32724 * localedata/tst-langinfo.sh: Send output to stdout.
32725 * localedata/tst-langinfo-static.c: New file.
32726
32727 [BZ #16965]
32728 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
32729 when the shift amount is modulo the limb size.
32730
32731 2014-05-20 Richard Henderson <rth@redhat.com>
32732
32733 [BZ #16967]
32734 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
32735 Change type of sa_flags from unsigned int to int.
32736
32737 [BZ #16966]
32738 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
32739
32740 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
32741
32742 2014-05-20 Will Newton <will.newton@linaro.org>
32743
32744 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32745 Test the return value of the system call in the nocancel case.
32746
32747 2014-05-20 Will Newton <will.newton@linaro.org>
32748 Yvan Roux <yvan.roux@linaro.org>
32749
32750 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
32751 #include of asm/ptrace.h.
32752 (PTRACE_GET_THREAD_AREA): Remove #undef.
32753 (PTRACE_GETHBPREGS): Likewise.
32754 (PTRACE_SETHBPREGS): Likewise.
32755 (struct user_regs_struct): New structure.
32756 (struct user_fpsimd_struct): New structure.
32757 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
32758 #include of asm/ptrace.h and second #include of sys/user.h.
32759 (PTRACE_GET_THREAD_AREA): Remove #undef.
32760 (PTRACE_GETHBPREGS): Likewise.
32761 (PTRACE_SETHBPREGS): Likewise.
32762 (ELF_NGREG): Use new struct user_regs_struct.
32763 (elf_fpregset_t): Use new struct user_fpsimd_struct.
32764
32765 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32766
32767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
32768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
32769
32770 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
32771
32772 [BZ #16958]
32773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
32774 membar to avoid block loads/stores to overlap previous stores.
32775
32776 2014-05-17 Richard Henderson <rth@redhat.com>
32777
32778 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
32779 Create the __##syscall_name##_nocancel entry point.
32780 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
32781 Remove; let the sysdep-cancel.h code create it.
32782
32783 2014-05-17 David S. Miller <davem@davemloft.net>
32784
32785 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
32786 Protect with __USE_GNU.
32787 (TIOCSET_TEMPT): Likewise.
32788 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32789 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
32790 these are already provided in bits/ioctl-types.h
32791
32792 2014-05-16 Roland McGrath <roland@hack.frob.com>
32793
32794 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
32795 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
32796
32797 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
32798 Use wait4 regardless of [__NR_waitpid].
32799
32800 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32801
32802 PR libgcc/60166
32803 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
32804 (_FP_NANSIGN_Q): Set the quiet bit.
32805
32806 2014-05-16 Joseph Myers <joseph@codesourcery.com>
32807
32808 * benchtests/Makefile
32809 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
32810 not $(common-objpfx)math/libm.so.
32811 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
32812 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
32813 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32814 $(common-objpfx)dlfcn/libdl.so.
32815 ($(objpfx)tst-audit8): Depend on $(libm), not
32816 $(common-objpfx)math/libm.so.
32817 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
32818 not $(common-objpfx)dlfcn/libdl.so.
32819 * math/Makefile
32820 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32821 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
32822 [$(build-shared) = yes].
32823 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
32824 $(common-objpfx)nptl/libpthread.so.
32825 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
32826 $(common-objpfx)math/libm.so$(libm.so-version) or
32827 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
32828 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32829 $(common-objpfx)dlfcn/libdl.so.
32830 * setjmp/Makefile (link-libm): Remove variable.
32831 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32832 * stdio-common/Makefile (link-libm): Remove variable.
32833 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32834 * stdlib/Makefile (link-libm): Remove variable.
32835 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32836 ($(objpfx)tst-strtod-round): Likewise.
32837 ($(objpfx)tst-tininess): Likewise.
32838 ($(objpfx)tst-strtod-underflow): Likewise.
32839 ($(objpfx)tst-strtod6): Likewise.
32840 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32841 $(libdl), not $(common-objpfx)nptl/libpthread.so and
32842 $(common-objpfx)dlfcn/libdl.so.
32843
32844 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32845
32846 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32847 BSD terminal modes definitions.
32848
32849 2014-05-16 Roland McGrath <roland@hack.frob.com>
32850
32851 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32852 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32853
32854 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32855 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32856 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32857 Don't do #include_next.
32858 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32859 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32860 Don't do #include_next.
32861 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32862 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32863 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32864 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32865
32866 2014-05-16 Allan McRae <allan@archlinux.org>
32867
32868 * po/sv.po: Update Swedish translation from translation project.
32869
32870 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32871 in sed expression.
32872
32873 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
32874
32875 [BZ #16917]
32876 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32877 errno if the TIOCGPTN ioctl fails with an error different than
32878 EINVAL.
32879 * login/tst-ptsname.c: New file.
32880 * login/Makefile (tests): Add tst-ptsname.
32881
32882 [BZ #16943]
32883 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32884 and prlimit64.
32885
32886 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32887
32888 [BZ #16849]
32889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32890 herrno to return EAI_AGAIN.
32891
32892 2014-05-14 Roland McGrath <roland@hack.frob.com>
32893
32894 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32895 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32896 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32897 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32898 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32899 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32900 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32901 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32902 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32903 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32904 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32905 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32906 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32907 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32908 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32909 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32910 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32911 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32912 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32913 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32914 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32915 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32916 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32917 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32918 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32919 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32920 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32921 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32922 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32923 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32924 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32925 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32926 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32927 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32929 Moved ...
32930 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32932 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32933 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32934 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32936 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32938 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32940 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32942 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32944 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32946 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32948 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32950 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32952 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32954 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32956 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32958 Moved ...
32959 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32961 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32963 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32965 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32967 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32969 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32971 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32973 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32975 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32977 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32979 Moved ...
32980 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32982 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32983
32984 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32985 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32986 (libpthread-sysdep_routines): Add elision-related stuff here instead.
32987 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32988 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32989 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32990 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32991 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32992 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32993 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32994 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32995 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32996 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32997 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32998 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32999 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33000 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33001 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33002 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33003 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33004 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33005 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33006 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33007 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33008 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33009 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33010 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33011 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33012 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33013 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33014 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33015
33016 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33017 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33018
33019 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33020 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33021 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33022 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33023 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33024 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33025 Moved ...
33026 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33027 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33028 Moved ...
33029 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33030 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33031 Moved ...
33032 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33033 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33034 Moved ...
33035 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33036 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33037 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33038 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33039 Moved ...
33040 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33041 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33042 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33043 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33044 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33045 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33046 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33047 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33048 Moved ...
33049 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33050 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33051 Moved ...
33052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33053 ... here.
33054 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33055 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33056 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33057 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33058 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33059 Moved ...
33060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33061 ... here.
33062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33063 Moved ...
33064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33065 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33066 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33067 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33068 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33069 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33070 Moved ...
33071 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33072 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33073 Moved ...
33074 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33075 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33076 Moved ...
33077 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33078 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33079 Moved ...
33080 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33081 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33082 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33083 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33084 Moved ...
33085 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33086 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33087 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33088 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33089 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33090 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33091 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33092 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33093 Moved ...
33094 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33095 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33096 Moved ...
33097 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33098 ... here.
33099 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33100 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33101 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33102 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33103 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33104 Moved ...
33105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33106 ... here.
33107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33108 Moved ...
33109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33110 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33111 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33112 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33113 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33114 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33115 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33116 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33117 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33119 Moved ...
33120 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33121 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33122 Moved ...
33123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33124 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33125 Moved ...
33126 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33128 Moved ...
33129 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33130 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33131 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33132 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33133 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33134 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33135 Moved ...
33136 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33137 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33138 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33139 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33140 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33141 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33142 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33143 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33144 Moved ...
33145 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33146 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33147 Moved ...
33148 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33149 ... here.
33150 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33151 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33152 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33153 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33154 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33155 Moved ...
33156 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33157 ... here.
33158 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33159 Moved ...
33160 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33161 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33162 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33163 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33164 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33165 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33166 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33167 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33168 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33169 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33170 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33171
33172 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33173 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33174
33175 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33176 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33177
33178 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33179 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33180 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33181 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33182 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33183 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33184 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33185 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33186 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33187 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33188 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33189 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33190 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33191 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33192 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33194 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33195 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33196 Moved ...
33197 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33199 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33200 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33201 Moved ...
33202 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33204 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33205 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33206 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33207 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33208 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33209 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33210 Moved ...
33211 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33212 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33213 Moved ...
33214 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33218 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33219 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33220 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33221 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33222 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33223 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33224 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33225 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33226 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33227 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33228 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33229 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33230 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33231
33232 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33233 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33234 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33235 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33236 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33237
33238 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33239 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33240 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33241 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33242 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33243 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33244 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33245 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33246 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33247 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33248
33249 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33251
33252 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33253 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33254 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33255 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33256 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33257 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33258 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33259 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33260 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33261 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33262 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33263 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33264 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33265 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33267 Update #include.
33268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33269 Likewise.
33270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33271 Likewise.
33272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33273 Likewise.
33274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33275 Likewise.
33276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33277 Likewise.
33278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33279 Likewise.
33280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33281 Likewise.
33282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33283 Likewise.
33284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33285 Likewise.
33286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33294 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33295 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33299 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
33300 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
33301
33302 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33303 that was previously under [RESET_PID].
33304 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33305 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33306 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33307
33308 * sysdeps/i386/nptl/Implies: New file.
33309 * sysdeps/x86_64/nptl/Implies: New file.
33310 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33311 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33312 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33313 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33314
33315 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33316 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33317 (__libc_vfork): New strong alias.
33318 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33319 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33320
33321 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33322 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33323 (__libc_vfork): New strong alias.
33324 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33325 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33326
33327 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33328 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33329 (__libc_vfork): New strong alias.
33330 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33331 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33332 * nptl/pt-vfork.c: New file.
33333 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33334 (libpthread: GLIBC_2.20): New version set (empty).
33335
33336 2014-05-14 Will Newton <will.newton@linaro.org>
33337
33338 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33339 rather than #if.
33340
33341 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33342
33343 [BZ #16564]
33344 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33345 arguments with exponent 65 or above.
33346 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
33347 arguments 0x1p113L or above.
33348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
33349 to arguments 0x1p107L or above.
33350 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
33351 positive arguments with exponent 65 or above.
33352 * math/auto-libm-test-in: Add more tests of log1p.
33353 * math/auto-libm-test-out: Regenerated.
33354
33355 [BZ #16928]
33356 * math/s_cacos.c (__cacos): Ensure zero real part of result from
33357 non-finite arguments is +0.
33358 * math/s_cacosf.c (__cacosf): Likewise.
33359 * math/s_cacosl.c (__cacosl): Likewise.
33360 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
33361 * sysdeps/i386/fpu/libm-test-ulps: Update.
33362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33363
33364 [BZ #16927]
33365 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
33366 value.
33367 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
33368 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
33369 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
33370 for explicit high bit of mantissa when testing for argument equal
33371 to 1.
33372 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
33373 * sysdeps/i386/fpu/libm-test-ulps: Update.
33374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33375
33376 [BZ #16516]
33377 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
33378 (__erf): Scale by 16 instead of 8 in potentially underflowing
33379 case. Ensure exception if result actually underflows.
33380 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
33381 (__erff): Scale by 16 instead of 8 in potentially underflowing
33382 case. Ensure exception if result actually underflows.
33383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
33384 (efx8): Remove variable.
33385 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33386 case. Ensure exception if result actually underflows.
33387 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
33388 (efx8): Remove variable.
33389 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33390 case. Ensure exception if result actually underflows.
33391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
33392 (efx8): Remove variable.
33393 (__erfl): Scale by 16 instead of 8 in potentially underflowing
33394 case. Ensure exception if result actually underflows.
33395 * math/auto-libm-test-in: Add more tests of erf.
33396 * math/auto-libm-test-out: Regenerated.
33397
33398 2014-05-14 Andreas Schwab <schwab@suse.de>
33399
33400 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
33401 Remove code conditionalized on USE___THREAD.
33402
33403 * config.h.in (HAVE_PT_CHOWN): Define as 0.
33404 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
33405 not definedness.
33406
33407 2014-05-14 Joseph Myers <joseph@codesourcery.com>
33408
33409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
33410 Define unconditionally.
33411 (__ASSUME_O_CLOEXEC): Likewise.
33412 (__ASSUME_SOCK_CLOEXEC): Likewise.
33413 (__ASSUME_IN_NONBLOCK): Likewise.
33414 (__ASSUME_PIPE2): Likewise.
33415 (__ASSUME_EVENTFD2): Likewise.
33416 (__ASSUME_SIGNALFD4): Likewise.
33417 (__ASSUME_DUP3): Likewise.
33418 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33419 (__ASSUME_DUP3): Do not define.
33420 (__ASSUME_EVENTFD2): Likewise.
33421 (__ASSUME_IN_NONBLOCK): Likewise.
33422 (__ASSUME_O_CLOEXEC): Likewise.
33423 (__ASSUME_PIPE2): Likewise.
33424 (__ASSUME_SIGNALFD4): Likewise.
33425 (__ASSUME_SOCK_CLOEXEC): Likewise.
33426 (__ASSUME_UTIMES): Undefine.
33427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33428 (__ASSUME_UTIMES): Do not define.
33429 (__ASSUME_O_CLOEXEC): Likewise.
33430 (__ASSUME_SOCK_CLOEXEC): Likewise.
33431 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
33432 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
33433 0x020621].
33434 (__ASSUME_PIPE2): Likewise.
33435 (__ASSUME_EVENTFD2): Likewise.
33436 (__ASSUME_SIGNALFD4): Likewise.
33437 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
33438 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
33439 Do not define.
33440 (__ASSUME_EVENTFD2): Likewise.
33441 (__ASSUME_SIGNALFD4): Likewise.
33442 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33443 (__ASSUME_32BITUIDS): Likewise.
33444 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33445 (__ASSUME_IPC64): Likewise.
33446 (__ASSUME_ST_INO_64_BIT): Likewise.
33447 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
33448 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
33449 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33450 (__ASSUME_UTIMES): Do not define.
33451 (__ASSUME_PSELECT): Likewise.
33452 (__ASSUME_PPOLL): Likewise.
33453 (__ASSUME_O_CLOEXEC): Likewise.
33454 (__ASSUME_SOCK_CLOEXEC): Likewise.
33455 (__ASSUME_IN_NONBLOCK): Likewise.
33456 (__ASSUME_PIPE2): Likewise.
33457 (__ASSUME_EVENTFD2): Likewise.
33458 (__ASSUME_SIGNALFD4): Likewise.
33459 (__ASSUME_DUP3): Likewise.
33460 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33461 (__ASSUME_UTIMES): Likewise.
33462 (__ASSUME_O_CLOEXEC): Likewise.
33463 (__ASSUME_SOCK_CLOEXEC): Likewise.
33464 (__ASSUME_IN_NONBLOCK): Likewise.
33465 (__ASSUME_PIPE2): Likewise.
33466 (__ASSUME_EVENTFD2): Likewise.
33467 (__ASSUME_SIGNALFD4): Likewise.
33468 (__ASSUME_DUP3): Likewise.
33469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33470 (__ASSUME_UTIMES): Likewise.
33471 (__ASSUME_O_CLOEXEC): Likewise.
33472 (__ASSUME_SOCK_CLOEXEC): Likewise.
33473 (__ASSUME_IN_NONBLOCK): Likewise.
33474 (__ASSUME_PIPE2): Likewise.
33475 (__ASSUME_EVENTFD2): Likewise.
33476 (__ASSUME_SIGNALFD4): Likewise.
33477 (__ASSUME_DUP3): Likewise.
33478 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
33479 Likewise.
33480 (__ASSUME_UTIMES): Likewise.
33481 (__ASSUME_EVENTFD2): Likewise.
33482 (__ASSUME_SIGNALFD4): Likewise.
33483 * sysdeps/unix/sysv/linux/tile/kernel-features.h
33484 (__ASSUME_O_CLOEXEC): Likewise.
33485 (__ASSUME_SOCK_CLOEXEC): Likewise.
33486 (__ASSUME_IN_NONBLOCK): Likewise.
33487 (__ASSUME_PIPE2): Likewise.
33488 (__ASSUME_EVENTFD2): Likewise.
33489 (__ASSUME_SIGNALFD4): Likewise.
33490 (__ASSUME_DUP3): Likewise.
33491 (__ASSUME_UTIMES): Undefine.
33492
33493 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
33494 feclearexcept. Remove symbol versioning code.
33495 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
33496 symbol versioning code.
33497 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
33498 symbol versioning code.
33499 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
33500 feupdateenv. Remove symbol versioning code.
33501 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
33502 fegetexceptflag. Remove symbol versioning code.
33503 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
33504 fesetexceptflag. Remove symbol versioning code.
33505 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
33506 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
33507 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
33508 (__posix_fadvise64_l32): Remove prototype.
33509 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
33510 code.
33511
33512 2014-05-13 Roland McGrath <roland@hack.frob.com>
33513
33514 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
33515 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
33516 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
33517 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
33518
33519 2014-05-13 Sami Kerola <kerolasa@iki.fi>
33520
33521 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
33522 current working directory
33523
33524 2014-05-13 Roland McGrath <roland@hack.frob.com>
33525
33526 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
33527 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
33528 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
33529 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
33530 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
33531 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
33532 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
33533 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
33534 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
33535 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
33536 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
33537 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
33538 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
33539 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
33540 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
33541 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
33542 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
33543 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
33544 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
33545 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
33546 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
33547 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
33548 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
33549 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
33550 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
33551 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
33552 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
33553 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
33554 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
33555 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
33556 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
33557 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
33558 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
33559 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
33560 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
33561 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
33562 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
33563 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
33564 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
33565 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
33566 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
33567 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
33568
33569 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
33570 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
33571
33572 * sysdeps/unix/sysv/linux/arm/Makefile
33573 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33574 Add rt-aeabi_unwind_cpp_pr1.
33575 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
33576 Add nptl-aeabi_unwind_cpp_pr1.
33577 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
33578 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
33579 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
33580 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33581 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
33582 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33583
33584 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
33585 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
33586 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
33587 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
33588
33589 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
33590 Deconditionalize the code that was previously under [RESET_PID].
33591 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
33592
33593 * sysdeps/generic/exit-thread.h: New file.
33594 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
33595 * include/unistd.h (__exit_thread): Remove declaration.
33596 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
33597 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
33598 * csu/libc-start.c: Include <exit-thread.h>.
33599 (LIBC_START_MAIN): Pass no argument to __exit_thread.
33600 * nptl/pthread_create.c: Include <exit-thread.h>.
33601 (start_thread): Call __exit_thread in place of __exit_thread_inline.
33602 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
33603 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
33604 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
33605 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
33606 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
33607 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
33608 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
33609 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
33610 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
33611 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
33612 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
33613 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
33614 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
33615 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
33616 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
33617 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
33618
33619 2014-05-13 Andreas Schwab <schwab@suse.de>
33620
33621 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
33622
33623 2014-05-12 Joseph Myers <joseph@codesourcery.com>
33624
33625 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33626 (__ASSUME_UTIMES): Do not condition on kernel version.
33627 (__ASSUME_PSELECT): Define unconditionally.
33628 (__ASSUME_PPOLL): Likewise.
33629 (__ASSUME_ATFCTS): Likewise.
33630 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
33631 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
33632 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
33633 (__ASSUME_UTIMENSAT): Define unconditionally.
33634 (__ASSUME_PRIVATE_FUTEX): Likewise.
33635 (__ASSUME_FALLOCATE): Likewise.
33636 (__ASSUME_O_CLOEXEC): Likewise.
33637 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
33638 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
33639 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
33640 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
33641 (__ASSUME_IN_NONBLOCK): Likewise.
33642 (__ASSUME_PIPE2): Likewise.
33643 (__ASSUME_EVENTFD2): Likewise.
33644 (__ASSUME_SIGNALFD4): Likewise.
33645 (__ASSUME_DUP3): Likewise.
33646 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33647 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
33648 (__ASSUME_AT_RANDOM): Likewise.
33649 (__ASSUME_PREADV): Likewise.
33650 (__ASSUME_PWRITEV): Likewise.
33651 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
33652 (__ASSUME_F_GETOWN_EX): Define unconditionally.
33653 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
33654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33655 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
33656 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33657 (__ASSUME_O_CLOEXEC): Define unconditionally.
33658 (__ASSUME_PSELECT): Do not undefine conditionally.
33659 (__ASSUME_PPOLL): Likewise.
33660 (__ASSUME_ATFCTS): Likewise.
33661 (__ASSUME_SET_ROBUST_LIST): Likewise.
33662 (__ASSUME_UTIMENSAT): Likewise.
33663 (__ASSUME_FDATASYNC): Define unconditionally.
33664 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33665 (__ASSUME_SIGFRAME_V2): Likewise.
33666 )__ASSUME_EVENTFD2): Likewise.
33667 (__ASSUME_SIGNALFD4): Likewise.
33668 (__ASSUME_PSELECT): Do not undefine conditionally.
33669 (__ASSUME_PPOLL): Likewise.
33670 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33671 (__ASSUME_PSELECT): Define unconditionally.
33672 (__ASSUME_PPOLL): Likewise.
33673 (__ASSUME_O_CLOEXEC): Likewise.
33674 (__ASSUME_SOCK_CLOEXEC): Likewise.
33675 (__ASSUME_IN_NONBLOCK): Likewise.
33676 (__ASSUME_PIPE2): Likewise.
33677 (__ASSUME_EVENTFD2): Likewise.
33678 (__ASSUME_SIGNALFD4): Likewise.
33679 (__ASSUME_DUP3): Likewise.
33680 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33681 (__ASSUME_O_CLOEXEC): Likewise.
33682 (__ASSUME_SOCK_CLOEXEC): Likewise.
33683 (__ASSUME_IN_NONBLOCK): Likewise.
33684 (__ASSUME_PIPE2): Likewise.
33685 (__ASSUME_EVENTFD2): Likewise.
33686 (__ASSUME_SIGNALFD4): Likewise.
33687 (__ASSUME_DUP3): Likewise.
33688 * sysdeps/unix/sysv/linux/mips/kernel-features.h
33689 (__ASSUME_EVENTFD2): Likewise.
33690 (__ASSUME_SIGNALFD4): Likewise.
33691 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33692
33693 2014-05-12 Andreas Schwab <schwab@suse.de>
33694
33695 [BZ #16932]
33696 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
33697 (_nss_nis_gethostbyname4_r): Return error if item length is larger
33698 than maximum RPC packet size.
33699 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
33700 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
33701 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
33702 (_nss_nis_getservbyport_r): Likewise.
33703
33704 2014-05-12 Will Newton <will.newton@linaro.org>
33705
33706 * malloc/Makefile (tests): Add tst-mallopt.
33707 * malloc/tst-mallopt.c: New file.
33708
33709 2014-05-09 Roland McGrath <roland@hack.frob.com>
33710
33711 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
33712 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
33713
33714 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33715
33716 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
33717 (tst-tlsmod6.so): Likewise.
33718
33719 2014-05-09 Roland McGrath <roland@hack.frob.com>
33720
33721 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
33722
33723 2014-05-09 Joseph Myers <joseph@codesourcery.com>
33724
33725 [BZ #16064]
33726 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
33727 and <dl-procinfo.h>.
33728 (__fegetenv): Save SSE state in envp->__eip if supported.
33729 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
33730 envp->__eip if supported.
33731 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
33732 and <dl-procinfo.h>.
33733 (__fesetenv): Always set __eip, __cs_selector, __opcode,
33734 __data_offset and __data_selector in environment to 0. Set SSE
33735 state if supported.
33736 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
33737 test-fenv-sse.
33738 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
33739 -mfpmath=sse.
33740 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
33741
33742 2014-05-09 Will Newton <will.newton@linaro.org>
33743
33744 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
33745 and libc_relro_required for ARM.
33746 * sysdeps/arm/preconfigure: Regenerate.
33747
33748 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
33749 Stefan Liebler <stli@linux.vnet.ibm.com>
33750
33751 * config.make.in (enable-lock-elision): New Makefile variable.
33752 * configure.ac: Likewise.
33753 * configure: Regenerate.
33754 * sysdeps/s390/configure.ac:
33755 Add check for gcc transactions support.
33756 * sysdeps/s390/configure: Regenerate.
33757 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
33758 Build elision files if enabled.
33759 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
33760 Add lock elision support for s390.
33761 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
33762 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
33763 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
33764 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
33765 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
33766 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
33767 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33768 Likewise.
33769 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
33770 Likewise.
33771 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
33772 Likewise.
33773 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
33774 Likewise.
33775 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
33776 (__lll_timedlock_elision, __lll_lock_elision)
33777 (__lll_unlock_elision, __lll_trylock_elision)
33778 (lll_timedlock_elision, lll_lock_elision)
33779 (lll_unlock_elision, lll_trylock_elision): Add.
33780 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33781 (pthread_mutex_t): Add lock elision support for s390.
33782
33783 2014-05-14 Wilco <wdijkstr@arm.com>
33784
33785 * sysdeps/arm/fclrexcpt.c: Cleanup.
33786 * sysdeps/arm/fedisblxcpt.c: Cleanup.
33787 * sysdeps/arm/feenablxcpt.c: Cleanup.
33788 * sysdeps/arm/fegetenv.c: Cleanup.
33789 * sysdeps/arm/fegetexcept.c: Cleanup.
33790 * sysdeps/arm/fegetround.c: Cleanup.
33791 * sysdeps/arm/feholdexcpt.c: Cleanup.
33792 * sysdeps/arm/fesetenv.c: Cleanup.
33793 * sysdeps/arm/fesetround.c: Cleanup.
33794 * sysdeps/arm/feupdateenv.c: Cleanup.
33795 * sysdeps/arm/fgetexcptflg.c: Cleanup.
33796 * sysdeps/arm/fraiseexcpt.c: Cleanup.
33797 * sysdeps/arm/fsetexcptflg.c: Cleanup.
33798 * sysdeps/arm/ftestexcept.c: Cleanup.
33799 * sysdeps/arm/get-rounding-mode.h: Cleanup.
33800 * sysdeps/arm/setfpucw.c: Cleanup.
33801
33802 2014-05-09 Will Newton <will.newton@linaro.org>
33803
33804 * sysdeps/arm/armv7/strcmp.S: New file.
33805 * NEWS: Mention addition of ARMv7 optimized strcmp.
33806
33807 2014-05-08 Roland McGrath <roland@hack.frob.com>
33808
33809 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
33810 look for %.ac rather than %.in.
33811
33812 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
33813 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
33814 * sysdeps/mach/hurd/configure: Regenerated.
33815 * sysdeps/unix/sysv/linux/configure: Regenerated.
33816
33817 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
33818
33819 2014-05-07 Steve Ellcey <sellcey@mips.com>
33820
33821 [BZ# 16922]
33822 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
33823 (LONG_SUB): Ditto.
33824 (PTR_SUB): Ditto.
33825
33826 2014-05-07 Andreas Schwab <schwab@suse.de>
33827
33828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33829 when skipping over non-matching result from nscd.
33830
33831 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
33832
33833 [BZ #16876]
33834 * nptl/sockperf.c (client): Check socket return value.
33835
33836 [BZ #16877]
33837 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33838 nscd security class.
33839
33840 2014-05-06 Roland McGrath <roland@hack.frob.com>
33841
33842 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33843 * sysdeps/arm/unwind.h: ... here.
33844
33845 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
33846
33847 [BZ# 16916]
33848 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33849 Define.
33850
33851 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
33852
33853 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33854 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33855 multiarch strncpy for PPC64.
33856 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33857 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33859 multiarch optimizations.
33860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33861 (__libc_ifunc_impl_list): Likewise.
33862 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33863 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33864 multiarch stpncpy for PPC64.
33865 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33866 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33867
33868 2014-05-06 Andreas Schwab <schwab@suse.de>
33869
33870 [BZ #16912]
33871 * gmon/mcount.c (_MCOUNT_DECL): Use
33872 atomic_compare_and_exchange_bool_acq instead of
33873 catomic_compare_and_exchange_bool_acq.
33874
33875 2014-05-05 Roland McGrath <roland@hack.frob.com>
33876
33877 * elf/Makefile (others, install-bin): Remove pldd.
33878 (pldd-modules): Variable removed.
33879 ($(objpfx)pldd): Target removed.
33880 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33881 (others, install-bin): Append pldd here.
33882 ($(objpfx)pldd): New target.
33883
33884 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33885 to 0, so the first #if test emitted later doesn't see it undefined.
33886 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33887 * sysdeps/gnu/errlist.c: Regenerated.
33888
33889 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33890
33891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33892 [libc_hidden_builtin_def]: Define to empty value.
33893 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33894 [libc_hidden_builtin_def]: Likewise.
33895 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33896 [libc_hidden_builtin_def]: Likewise.
33897 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33898 [libc_hidden_builtin_def]: Likewise.
33899 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33900 __redirect_memcpy and define ifunc as default hidden symbol.
33901 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33902 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33903
33904 2014-05-04 Adam Conrad <adconrad@0c3.net>
33905
33906 * locale/iso-4217.def: Reintroduce XDR currency.
33907
33908 2014-05-04 Allan McRae <allan@archlinux.org>
33909
33910 * po/eo.po: Update Esperanto translation from translation project.
33911
33912 2014-05-02 Carlos O'Donell <carlos@redhat.com>
33913
33914 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33915 and FEATURE_INDEX_MAX to 1.
33916 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33917
33918 2014-05-01 Steve Ellcey <sellcey@mips.com>
33919
33920 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33921 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33922 * iconvdata/big5.c (ONE_DIRECTION): Define.
33923 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33924 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33925 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33926 * iconvdata/cp932.c (ONE_DIRECTION): Define.
33927 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33928 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33929 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33930 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33931 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33932 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33933 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33934 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33935 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33936 * iconvdata/gbk.c (ONE_DIRECTION): Define.
33937 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33938 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33939 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33940 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33941 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33942 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33943 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33944 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33945 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33946 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33947 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33948 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33949 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33950 * iconvdata/iso646.c (ONE_DIRECTION): Define.
33951 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33952 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33953 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33954 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33955 * iconvdata/johab.c (ONE_DIRECTION): Define.
33956 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33957 * iconvdata/sjis.c (ONE_DIRECTION): Define.
33958 * iconvdata/t.61.c (ONE_DIRECTION): Define.
33959 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33960 * iconvdata/tscii.c (ONE_DIRECTION): Define.
33961 * iconvdata/uhc.c (ONE_DIRECTION): Define.
33962 * iconvdata/unicode.c (ONE_DIRECTION): Define.
33963 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33964 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33965 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33966
33967 2014-05-01 Roland McGrath <roland@hack.frob.com>
33968
33969 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33970 (_IO_JUMPS_OFFSET): Define to 0.
33971
33972 * nptl/sysdeps/pthread/bits/libc-lock.h
33973 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33974 (__libc_lock_define_initialized_recursive): Always define using
33975 initializer. Modern compilers treat uninitialized (implicit zero) and
33976 explicit zero initializers the same (i.e. put the datum in bss).
33977
33978 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
33979
33980 * nscd/nscd-client.h: Include <string.h>.
33981
33982 2014-05-01 David S. Miller <davem@davemloft.net>
33983
33984 [BZ #16885]
33985 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33986 multiple zero bytes exist at the end of a string.
33987 Reported by Aurelien Jarno <aurelien@aurel32.net>
33988
33989 * string/test-strcmp.c (check): Add explicit test for situations where
33990 there are multiple zero bytes after the first.
33991
33992 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
33993
33994 [BZ #16890]
33995 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33996 when compiling wprintf.
33997 * stdio-common/tstdiomisc.c (t3): New function.
33998 (main): Call it.
33999
34000 2014-05-01 Steve Ellcey <sellcey@mips.com>
34001
34002 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34003 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34004 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34005 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34006
34007 2014-05-01 Steve Ellcey <sellcey@mips.com>
34008
34009 * stdlib/longlong.h: Updated from GCC.
34010
34011 2014-05-01 Will Newton <will.newton@linaro.org>
34012 Bernard Ogden <bernie.ogden@linaro.org>
34013
34014 * NEWS: Update fixed bug list.
34015
34016 [BZ #15119]
34017 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34018
34019 2014-04-30 David S. Miller <davem@davemloft.net>
34020
34021 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34022 (libc_feholdexcept_setround_sparc_ctx): New function.
34023 (libc_fesetenv_sparc_ctx): Likewise.
34024 (libc_feupdateenv_sparc_ctx): Likewise.
34025 (libc_feholdsetround_sparc_ctx): Likewise.
34026 (libc_feholdexcept_setround_ctx): Define.
34027 (libc_feholdexcept_setroundf_ctx): Likewise.
34028 (libc_feholdexcept_setroundl_ctx): Likewise.
34029 (libc_fesetenv_ctx): Likewise.
34030 (libc_fesetenvf_ctx): Likewise.
34031 (libc_fesetenvl_ctx): Likewise.
34032 (libc_feupdateenv_ctx): Likewise.
34033 (libc_feupdateenvf_ctx): Likewise.
34034 (libc_feupdateenvl_ctx): Likewise.
34035 (libc_feresetround_ctx): Likewise.
34036 (libc_feresetroundf_ctx): Likewise.
34037 (libc_feresetroundl_ctx): Likewise.
34038 (libc_feholdsetround_ctx): Likewise.
34039 (libc_feholdsetroundf_ctx): Likewise.
34040 (libc_feholdsetroundl_ctx): Likewise.
34041
34042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34043 with __USE_GNU instead of XOPEN cpp guards.
34044
34045 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34046 0.
34047
34048 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34049 with XOPEN cpp guards.
34050
34051 2014-04-30 Julian Brown <julian@codesourcery.com>
34052
34053 [BZ #16888]
34054 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34055 handling.
34056
34057 2014-04-30 Joseph Myers <joseph@codesourcery.com>
34058
34059 [BZ #9894]
34060 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34061 Change to 2.6.32.
34062 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34063 * sysdeps/unix/sysv/linux/configure: Regenerated.
34064 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34065 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34066 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34067 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34068 * README: Update reference to required Linux kernel version.
34069 * manual/install.texi (Linux): Update reference to required Linux
34070 kernel headers version.
34071 * INSTALL: Regenerated.
34072
34073 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34074 header inclusion.
34075 [POSIX] (limits.h): Likewise.
34076 [POSIX] (math.h): Likewise.
34077 [POSIX] (sys/wait.h): Likewise.
34078 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34079 function.
34080 [POSIX] (stddef.h): Do not allow header inclusion.
34081
34082 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34083
34084 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34085
34086 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
34087
34088 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34089 Return immediately after lll_futex_wake.
34090
34091 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34092
34093 [BZ #16791]
34094 * nscd/nscd-client.h (datahead_init_common): Initialize entire
34095 structure.
34096 (datahead_init_pos): Call datahead_init_common early.
34097 (datahead_init_neg): Likewise.
34098
34099 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34100 datahead_init_neg): New functions.
34101 * nscd/aicache.c (addhstaiX): Use them.
34102 * nscd/grpcache.c (cache_addgr): Likewise.
34103 * nscd/hstcache.c (cache_addhst): Likewise.
34104 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34105 * nscd/netgroupcache.c (do_notfound): Likewise.
34106 (addgetnetgrentX): Likewise.
34107 (addinnetgrX): Likewise.
34108 * nscd/pwdcache.c (cache_addpw): Likewise.
34109 * nscd/servicescache.c (cache_addserv): Likewise.
34110
34111 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34112 Atsushi Onoe <atsushi@onoe.org>
34113
34114 [BZ #14308]
34115 [BZ #12994]
34116 [BZ #13651]
34117 * resolv/res_query.c (__libc_res_nsearch): Return if at least
34118 one response is valid.
34119 * resolv/res_send.c (send_dg): Check for validity of other
34120 response if the current response is a referral.
34121
34122 2014-04-29 Steve Ellcey <sellcey@mips.com>
34123
34124 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34125
34126 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
34127
34128 [BZ #16823]
34129 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34130 Always divide by positive zero when computing -Inf result.
34131 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34132 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34133
34134 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34135
34136 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34137 FPSCR if value do not change.
34138 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34139 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34140 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34141 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34142 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34143 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34144 function.
34145
34146 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
34147
34148 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34149 * sysdeps/unix/sysv/linux/hppa: Move directory from
34150 ports/systeps/unix/sysv/linux/hppa.
34151 * README: Update listing for hppa-*-linux-gnu.
34152
34153 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
34154
34155 [BZ #16754]
34156 * manual/stdio.texi (Hook functions): Fix types of stream hook
34157 functions.
34158 [BZ #16854]
34159 * socket/sys/socket.h: Fix typo in comment.
34160
34161 2014-04-28 Wilco <wdijkstr@arm.com>
34162
34163 * sysdeps/arm/fenv_private.h: New file.
34164 * sysdeps/arm/math_private.h: New file.
34165 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34166
34167 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
34168
34169 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34170 with __int128_t.
34171 (La_x86_64_retval): Likewise.
34172
34173 2014-04-24 Ian Bolton <ian.bolton@arm.com>
34174
34175 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34176 fpsr if value didn't change.
34177 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34178 to fpcr if value didn't change.
34179 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34180 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34181 fpsr or fpcr if value didn't change.
34182 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34183 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34184 fpcr if value didn't change.
34185 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34186 to fpsr if value didn't change.
34187
34188 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34189
34190 * nptl/tst-sem3.c: Use test-skeleton.c
34191 (main): Rename to do_test. Use return instead of
34192 exit.
34193 * nptl/tst-sem4.c: Use test-skeleton.c
34194 (main): Rename to do_test.
34195
34196 2014-04-22 David S. Miller <davem@davemloft.net>
34197
34198 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34199 (struct sigaction): New struct member __glibc_reserved0, change
34200 type of sa_flags to int.
34201
34202 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
34203
34204 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34205 (COUNT_LEADING_ZEROS_0): Define for AArch64.
34206
34207 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34208
34209 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34210 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34211
34212 2014-04-22 Will Newton <will.newton@linaro.org>
34213 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
34214
34215 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34216 (__longjmp): Add longjmp and longjmp_target SystemTap
34217 probes.
34218 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34219 (__sigsetjmp): Add setjmp SystemTap probe.
34220
34221 2014-04-17 Carlos O'Donell <carlos@redhat.com>
34222
34223 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34224 match manual order.
34225
34226 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34227
34228 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34229
34230 * sysdeps/powerpc/fpu/fenv_private.h
34231 (libc_feholdexcept_setroundl_ctx): Define to
34232 libc_feholdexcept_setround_ppc_ctx.
34233 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34234 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34235 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34236 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34237
34238 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34239
34240 * sysdeps/aarch64/math-tests.h: New file.
34241
34242 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
34243
34244 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34245 New.
34246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34247 Check and set bit_AVX2_Usable.
34248 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34249 macro.
34250 (bit_AVX2): Likewise.
34251 (index_AVX2_Usable): Likewise.
34252 (CPUID_AVX2): Likewise.
34253 (HAS_AVX2): Likewise.
34254
34255 2014-04-17 Will Newton <will.newton@linaro.org>
34256
34257 * manual/setjmp.texi (System V contexts): Add note that
34258 calling setcontext on a context created by a call to a
34259 signal handler is undefined. Update text to note that
34260 setcontext from a signal handler is possible but not
34261 recommended.
34262
34263 [BZ #16629]
34264 * stdlib/tst-setcontext.c: Include signal.h.
34265 (main): Check that the signal stack before and
34266 after swapcontext is the same.
34267
34268 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34269 Re-implement to restore registers in user code and avoid
34270 rt_sigreturn system call.
34271
34272 2014-04-17 Wilco <wdijkstr@arm.com>
34273
34274 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34275 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34276 * math/test-fenv.c: Skip exception trap tests on targets which only
34277 support non-stop mode.
34278
34279 2014-04-17 Ian Bolton <ian.bolton@arm.com>
34280 Wilco Dijkstra <wilco.dijkstra@arm.com>
34281
34282 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34283 (libc_feholdsetround_aarch64_ctx)
34284 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34285 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34286 (libc_feresetround_ctx, libc_feresetroundf_ctx)
34287 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34288 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34289 (libc_feresetround_noexl_ctx): Define.
34290
34291 2014-04-16 Richard Henderson <rth@redhat.com>
34292
34293 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34294
34295 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34296 unwind tables.
34297
34298 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34299 const from the non-libc, non-ldso copy.
34300
34301 * sysdeps/alpha/libm-test-ulps: Regenerate.
34302
34303 2014-04-16 Ian Bolton <ian.bolton@arm.com>
34304 Wilco Dijkstra <wilco.dijkstra@arm.com>
34305
34306 * sysdeps/aarch64/fpu/math_private.h: New file.
34307
34308 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
34309
34310 * sysdeps/aarch64/libm-test-ulps: Regenerate.
34311
34312 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
34313
34314 [BZ #16275]
34315 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34316 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34318 Intel MPX bound registers before _dl_profile_fixup.
34319 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34320 registers after _dl_profile_fixup. Save and restore bound
34321 registers bnd0/bnd1 when calling _dl_call_pltexit.
34322 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34323 (LR_BND_OFFSET): Likewise.
34324 (LRV_BND0_OFFSET): Likewise.
34325 (LRV_BND1_OFFSET): Likewise.
34326
34327 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34328
34329 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34330 to...
34331 * sysdeps/mach/hurd/i386/tls.h: ... here.
34332 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34333 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34334 fields.
34335
34336 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34337
34338 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34339
34340 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34341
34342 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34343
34344 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
34345
34346 [BZ #14770]
34347 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
34348 * sysdeps/s390/configure: Regenerate.
34349
34350 [BZ #16824]
34351 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
34352 Set round-to-nearest internally to reduce error accumulation.
34353
34354 2014-04-16 Alan Modra <amodra@gmail.com>
34355
34356 [BZ #16740]
34357 [BZ #16619]
34358 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
34359 * math/libm-test.inc (frexp_test_data): Add tests.
34360 * NEWS: Update fixed bug list.
34361
34362 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34363
34364 * benchtests/Makefile: Depend on libraries in build directory.
34365 (bench-math): Separate out math tests.
34366 (bench-pthread): Separate out pthread tests.
34367 (bench): Include math and pthread tests.
34368
34369 2014-04-14 Carlos O'Donell <carlos@redhat.com>
34370
34371 [BZ #16831]
34372 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
34373 _dl_debug_initialize.
34374
34375 * configure.ac: Remove SELinux header check.
34376 * configure: Regenerate.
34377 * nscd/selinux.c (perms): Array of const char* to permission names.
34378 (nscd_request_avc_has_perm): Call security_deny_unknown to find
34379 default policy. Call string_to_security_class and string_to_av_perm to
34380 translate strings. Enforce default policy and call avs_has_perm with
34381 results of translated strings.
34382
34383 2014-04-13 David S. Miller <davem@davemloft.net>
34384
34385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34386
34387 2014-04-12 Allan McRae <allan@archlinux.org>
34388
34389 [BZ #16838]
34390 * manual/string.texi (Collation Functions): Fix qsort argument
34391 order in example.
34392 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34393
34394 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
34395
34396 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
34397 Make the test a no-op if there are no exceptions defined.
34398
34399 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
34400
34401 * elf/Makefile (tests): make tst-dlopen-aout conditional on
34402 enable-hardcoded-path-in-tests
34403
34404 2014-04-11 Will Newton <will.newton@linaro.org>
34405
34406 * benchtests/Makefile (extra-objs): Add json-lib.o.
34407 (bench-func): Tidy up JSON output.
34408 * benchtests/bench-skeleton.c: Include json-lib.h.
34409 (main): Use JSON library functions to do output of
34410 benchmark results.
34411 * benchtests/bench-timing-type.c (main): Output the
34412 timing type simply, leaving formatting to the user.
34413 * benchtests/json-lib.c: New file.
34414 * benchtests/json-lib.h: Likewise.
34415
34416 2014-04-11 Torvald Riegel <triegel@redhat.com>
34417
34418 [BZ #15215]
34419 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34420 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
34421 memory barriers. Add comments.
34422 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
34423 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
34424 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
34425 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
34426 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
34427 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
34428
34429 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
34430
34431 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
34432 * sysdeps/s390/s390-64/configure.ac: ... this ...
34433 * sysdeps/s390/configure.ac: ... to here.
34434 * sysdeps/s390/s390-32/configure: Delete file.
34435 * sysdeps/s390/s390-64/configure: Delete file.
34436 * sysdeps/s390/configure: Regenerate.
34437
34438 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
34439
34440 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
34441
34442 2014-04-11 Will Newton <will.newton@linaro.org>
34443
34444 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
34445 to zero if it is not defined elsewhere. (mtrim): Test
34446 the value of MALLOC_DEBUG with #if rather than #ifdef.
34447
34448 2014-04-10 Torvald Riegel <triegel@redhat.com>
34449
34450 * benchtests/pthread_once-inputs: New file.
34451 * benchtests/pthread_once-source.c: New file.
34452 * benchtests/README: Update documentation.
34453
34454 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
34455 H.J. Lu <hongjiu.lu@intel.com>
34456
34457 [BZ #16275]
34458 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
34459 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
34460 * sysdeps/x86_64/configure: Regenerated.
34461 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
34462 macro.
34463 (REGISTER_SAVE_RAX): Likewise.
34464 (REGISTER_SAVE_RCX): Likewise.
34465 (REGISTER_SAVE_RDX): Likewise.
34466 (REGISTER_SAVE_RSI): Likewise.
34467 (REGISTER_SAVE_RDI): Likewise.
34468 (REGISTER_SAVE_R8): Likewise.
34469 (REGISTER_SAVE_R9): Likewise.
34470 (REGISTER_SAVE_BND0): Likewise.
34471 (REGISTER_SAVE_BND1): Likewise.
34472 (REGISTER_SAVE_BND2): Likewise.
34473 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
34474 bound registers when calling _dl_fixup.
34475
34476 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34477
34478 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
34479 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
34480 of its definition.
34481 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
34482 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
34483 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
34484 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
34485 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
34486 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
34487 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
34488
34489 2014-04-09 Peter Brett <peter@peter-b.co.uk>
34490
34491 [BZ #15514]
34492 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
34493 pathconf(_PC_NAME_MAX).
34494
34495 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34496
34497 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
34498 Remove macro usage.
34499 (__PTHREAD_SPINS): Move definition to ...
34500 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34501 (__PTHREAD_SPINS): ... here.
34502 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34503 (__PTHREAD_SPIN): Likewise.
34504 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
34505 (__PTHREAD_SPIN): Likewise.
34506 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
34507 (__PTHREAD_SPIN): Likewise.
34508 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
34509 (__PTHREAD_SPIN): Likewise.
34510 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34511 (__PTHREAD_SPIN): Likewise.
34512 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34513 (__PTHREAD_SPIN): Likewise.
34514 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
34515 (__PTHREAD_SPIN): Likewise.
34516 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34517 (__PTHREAD_SPIN): Likewise.
34518 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34519 (__PTHREAD_SPIN): Likewise.
34520 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34521 (__PTHREAD_SPIN): Likewise.
34522 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34523 (__PTHREAD_SPIN): Likewise.
34524 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
34525 (__PTHREAD_SPIN): Likewise.
34526
34527 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
34528 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
34529 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34530 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
34531 imply folder.
34532 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
34533 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
34534 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
34535 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
34536 correct imply path.
34537 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
34538 strlen symbol for non multi-arch builds.
34539 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
34540 missing hidden_def and weak_alias.
34541
34542 2014-04-08 Carlos O'Donell <carlos@redhat.com>
34543
34544 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
34545
34546 2014-04-07 Will Newton <will.newton@linaro.org>
34547
34548 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
34549 and contents. [!_LIBC] Remove #ifndef and contents.
34550 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
34551 * string/memccpy.c (__memccpy): Use ANSI prototype.
34552 * string/memfrob.c (memfrob): Likewise.
34553 * string/strcoll.c (STRCOLL): Likewise.
34554 * string/strlen.c (strlen): Likewise.
34555 * string/strtok.c (STRTOK): Likewise.
34556 * string/strcat.c: Remove unused #include of memcopy.h.
34557 (strcat): Use ANSI prototype.
34558 * string/strchr.c: Remove unused #include of memcopy.h.
34559 (strchr): Use ANSI prototype.
34560 * string/strcmp.c: Remove unused #include of memcopy.h.
34561 (strcmp): Use ANSI prototype.
34562 * string/strcpy.c: Remove unused #include of memcopy.h.
34563 (strcpy): Use ANSI prototype.
34564
34565 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34566
34567 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
34568 * config.make.in (config-extra-cppflags): Set it from
34569 libc_extra_cppflags.
34570 * configure.ac (libc_extra_cflags): Make it accumulate over
34571 configure fragments.
34572 (libc_extra_cppflags): New flag.
34573 * configure. Regenerate.
34574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
34575 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
34576 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
34577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
34578
34579 [BZ #16815]
34580 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
34581 result for FE_DOWNWARD rounding mode.
34582 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
34583 Likewise.
34584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34585
34586 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
34587
34588 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
34589 in function argument name.
34590
34591 2014-04-03 David Svoboda <svoboda@cert.org>
34592
34593 [BZ #5666]
34594 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
34595 explicitly.
34596
34597 2014-04-03 Roland McGrath <roland@hack.frob.com>
34598
34599 * elf/dl-unmap-segments.h: New file.
34600 * sysdeps/generic/ldsodefs.h
34601 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
34602 * elf/dl-close.c: Include <dl-unmap-segments.h>.
34603 * elf/dl-fptr.c: Likewise.
34604 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
34605 * sysdeps/aarch64/tlsdesc.c: Likewise.
34606 * sysdeps/arm/tlsdesc.c: Likewise.
34607 * sysdeps/i386/tlsdesc.c: Likewise.
34608 * sysdeps/tile/dl-runtime.c: Likewise.
34609 * sysdeps/x86_64/tlsdesc.c: Likewise.
34610 * elf/dl-load.h: New file.
34611 * elf/dl-load.c: Include it.
34612 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
34613 Macros moved to dl-load.h.
34614 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
34615 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
34616 Use _dl_unmap_segments in place of __munmap.
34617 Break out segment-mapping loop into ...
34618 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
34619
34620 2014-04-03 Will Newton <will.newton@linaro.org>
34621
34622 * elf/dl-lookup.c (do_lookup_x): Remove comment
34623 referring to nested function and move variable
34624 declarations down to before first use.
34625
34626 2014-04-02 Joseph Myers <joseph@codesourcery.com>
34627
34628 [BZ #16799]
34629 [BZ #16800]
34630 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
34631 with 0 numerator.
34632 * math/s_catanf.c (__catanf): Likewise.
34633 * math/s_catanh.c (__catanh): Likewise.
34634 * math/s_catanhf.c (__catanhf): Likewise.
34635 * math/s_catanhl.c (__catanhl): Likewise.
34636 * math/s_catanl.c (__catanl): Likewise.
34637 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
34638 by positive zero when computing -Inf result.
34639 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
34640 (catanh_test): Likewise.
34641 * sysdeps/i386/fpu/libm-test-ulps: Update.
34642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34643
34644 [BZ #16789]
34645 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
34646 instead of using underflowing value in computing result.
34647 * math/s_clog10.c (__clog10): Likewise.
34648 * math/s_clog10f.c (__clog10f): Likewise.
34649 * math/s_clog10l.c (__clog10l): Likewise.
34650 * math/s_clogf.c (__clogf): Likewise.
34651 * math/s_clogl.c (__clogl): Likewise.
34652 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
34653 (clog10_test): Likewise.
34654 * sysdeps/i386/fpu/libm-test-ulps: Update.
34655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34656
34657 2014-04-02 Alan Modra <amodra@gmail.com>
34658
34659 [BZ #16739]
34660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
34661 output when value is near a power of two. Use int64_t for lx and
34662 remove casts. Use decimal rather than hex exponent constants.
34663 Don't use long double multiplication when double will suffice.
34664 * math/libm-test.inc (nextafter_test_data): Add tests.
34665 * NEWS: Add 16739 and 16786 to bug list.
34666
34667 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
34668
34669 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
34670
34671 2014-04-01 Will Newton <will.newton@linaro.org>
34672
34673 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
34674 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
34675
34676 2014-04-01 Florian Weimer <fweimer@redhat.com>
34677
34678 [BZ #13347]
34679 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
34680 * nptl/tst-setuid2.c: New file.
34681 * nptl/Makefile (xtests): Add tst-setuid2.
34682
34683 2014-04-01 Alan Modra <amodra@gmail.com>
34684
34685 [BZ #16786]
34686 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
34687
34688 2014-03-31 Joseph Myers <joseph@codesourcery.com>
34689
34690 [BZ #6803]
34691 [BZ #6804]
34692 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
34693 set errno as appropriate.
34694 * math/w_scalbf.c (__scalbf): Likewise.
34695 * math/w_scalbl.c (__scalbl): Likewise.
34696 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
34697 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
34698 * math/libm-test.inc (scalb_test_data): Add errno expectations.
34699 Add more NaN tests.
34700
34701 [BZ #16349]
34702 * math/w_atan2.c: Include <errno.h>.
34703 (__atan2): Set errno for result underflowing to zero.
34704 * math/w_atan2f.c: Include <errno.h>.
34705 (__atan2f): Set errno for result underflowing to zero.
34706 * math/w_atan2l.c: Include <errno.h>.
34707 (__atan2l): Set errno for result underflowing to zero.
34708 * math/auto-libm-test-in: Don't allow missing errno for some atan2
34709 tests.
34710 * math/auto-libm-test-out: Regenerated.
34711
34712 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34713
34714 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34715 Encode instruction correctly in little endian.
34716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34717 Likewise.
34718 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34719 Likewise.
34720 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34721 Likewise.
34722 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34723 Likewise.
34724
34725 2014-03-31 Joseph Myers <joseph@codesourcery.com>
34726
34727 [BZ #9894]
34728 * sysdeps/unix/sysv/linux/kernel-features.h
34729 [__sparc__ && !__arch64__ && !__sparc_v9__]
34730 (__ASSUME_SET_ROBUST_LIST): Do not define.
34731 [__sparc__ && !__arch64__ && !__sparc_v9__]
34732 (__ASSUME_FUTEX_LOCK_PI): Likewise.
34733 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
34734 Likewise.
34735 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34736 (__ASSUME_FUTEX_LOCK_PI): Undefine.
34737 (__ASSUME_REQUEUE_PI): Likewise.
34738 (__ASSUME_SET_ROBUST_LIST): Likewise.
34739 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34740 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
34741 Undefine.
34742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34743 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
34744 Likewise.
34745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
34746 Likewise.
34747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
34748 Likewise.
34749 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34750 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
34751 Undefine.
34752 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
34753 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
34754 Likewise.
34755
34756 [BZ #16648]
34757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
34759 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
34760
34761 2014-03-31 Will Newton <will.newton@linaro.org>
34762
34763 * benchtests/Makefile (bench): Add ffs and ffsll to list
34764 of tests.
34765 * benchtests/ffs-inputs: New file.
34766 * benchtests/ffsll-inputs: Likewise.
34767
34768 2014-03-29 Joseph Myers <joseph@codesourcery.com>
34769
34770 [BZ #16770]
34771 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
34772 too large before casting to int.
34773 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
34774 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
34775 * math/libm-test.inc (scalb_test_data): Add more tests.
34776
34777 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34778
34779 * benchtests/Makefile (DETAILED_OPT): New make option.
34780 (bench-func): Run benchmark program with -d if DETAILED_OPT is
34781 set.
34782 * benchtests/bench-skeleton.c: Include stdbool.h.
34783 (main): Store and print timings per input.
34784 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
34785 member to each argument value.
34786 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
34787 (_print_arg_data): Initialize per-input timing to 0.
34788
34789 * benchtests/Makefile (timing-type): New binary.
34790 (bench-clean): Also remove bench-timing-type.
34791 (bench): New target for timing-type.
34792 (bench-func): Print output in JSON format.
34793 * benchtests/bench-skeleton.c (main): Print output in JSON
34794 format.
34795 * benchtests/bench-timing-type.c: New file.
34796 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
34797 (TIMING_PRINT_STATS): Remove.
34798 * benchtests/scripts/bench.py (_print_arg_data): Store variant
34799 name separately.
34800
34801 * benchtests/bench-modf.c: Remove.
34802 * benchtests/modf-inputs: New inputs file.
34803
34804 2014-03-28 Joseph Myers <joseph@codesourcery.com>
34805
34806 [BZ #16362]
34807 * math/s_clog10.c (M_PI_LOG10E): New macro.
34808 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
34809 imaginary parts are 0.
34810 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
34811 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
34812 imaginary parts are 0.
34813 * math/s_clog10l.c (M_PI_LOG10El): New macro.
34814 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
34815 imaginary parts are 0.
34816 * math/libm-test.inc (clog10_test_data): Update expected results
34817 for when real and imaginary parts are 0.
34818
34819 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
34820
34821 * elf/dl-load.c: Finish conversion of __builtin_expect into
34822 __glibc_{un}likely.
34823
34824 2014-03-27 Joseph Myers <joseph@codesourcery.com>
34825
34826 [BZ #16348]
34827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
34828 1+x for argument with exponent below -67.
34829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34830 Likewise.
34831 * math/auto-libm-test-in: Add more tests of exp.
34832 * math/auto-libm-test-out: Regenerated.
34833
34834 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34835
34836 [BZ #16759]
34837 * inet/getnetgrent_r.c (get_nonempty_val): New function.
34838 (nscd_getnetgrent): Use it.
34839
34840 [BZ #16760]
34841 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34842 of stpcpy.
34843
34844 2014-03-27 Andi Kleen <ak@linux.intel.com>
34845
34846 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34847 (lll_robust_lock, lll_cond_lock, lll_timedlock)
34848 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34849 (lll_robust_unlock): Remove out of line section. Use cfi
34850 intrinsics.
34851 (LLL_STUB_UNWIND_INFO*): Remove.
34852 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34853 (lll_robust_lock, lll_cond_lock, lll_timedlock)
34854 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34855 (lll_robust_unlock): Remove out of line section. Use cfi
34856 intrinsics.
34857 (LLL_STUB_UNWIND_INFO*): Remove.
34858
34859 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34860
34861 [BZ #16758]
34862 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34863 blank values.
34864
34865 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
34866
34867 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34868
34869 2014-03-26 Joseph Myers <joseph@codesourcery.com>
34870
34871 [BZ #16198]
34872 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34873 fnstenv.
34874 * math/test-fenv-preserve.c: New file.
34875 * math/Makefile (tests): Add test-fenv-preserve.
34876
34877 2014-03-26 Will Newton <will.newton@linaro.org>
34878
34879 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34880
34881 2014-03-25 Roland McGrath <roland@hack.frob.com>
34882
34883 * scripts/versionlist.awk: Partition the version sets and emit all
34884 GLIBC_* (sorted) before all others (sorted).
34885
34886 2014-03-25 Joseph Myers <joseph@codesourcery.com>
34887
34888 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34889 GLIBC_2.2.5 version.
34890
34891 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34892
34893 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34894 calls.
34895
34896 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34897 previous change.
34898
34899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34900
34901 2014-03-25 Andreas Schwab <schwab@suse.de>
34902
34903 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34904 label to be used after in6ailist is initialized.
34905
34906 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34907
34908 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34909 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34910
34911 2014-03-25 Joseph Myers <joseph@codesourcery.com>
34912
34913 [BZ #16357]
34914 [BZ #16599]
34915 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34916 min_plus_half.
34917 (fp_formats): Update initializers.
34918 (init_fp_formats): Initialize new field.
34919 (output_for_one_input_case): Allow underflow for results up to
34920 min_plus_half.
34921 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34922 * math/auto-libm-test-in: Don't mark some underflows from asin and
34923 atanh as spurious.
34924 * math/auto-libm-test-out: Regenerated.
34925 * sysdeps/i386/fpu/libm-test-ulps: Update.
34926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34927
34928 2014-03-25 Andreas Schwab <schwab@suse.de>
34929
34930 * libio/Makefile (tst-ftell-partial-wide-ENV)
34931 (tst-ftell-active-handler-ENV): Define.
34932
34933 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
34934
34935 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34936
34937 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
34938
34939 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34940
34941 2014-03-24 Joseph Myers <joseph@codesourcery.com>
34942
34943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34944 * sysdeps/x86_64/fpu/multiarch/e_exp.c
34945 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34946
34947 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
34948
34949 [BZ #16634]
34950 * elf/dl-load.c (open_verify): Add mode parameter.
34951 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34952 (open_path): Change from boolean 'secure' to complete flag 'mode'
34953 (_dl_map_object): Adjust.
34954 * elf/Makefile (tests): Add tst-dlopen-aout.
34955 * elf/tst-dlopen-aout.c: New test.
34956
34957 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
34958
34959 [BZ #16714]
34960 * sysdeps/unix/sysv/linux/s390/bits/stat.h
34961 (struct stat): Rename member pad0 to __glibc_reserved0.
34962
34963 [BZ #16712]
34964 * sysdeps/s390/s390-32/bits/wordsize.h
34965 (__WORDSIZE32_SIZE_ULONG): New define.
34966 * sysdeps/s390/s390-64/bits/wordsize.h
34967 (__WORDSIZE32_SIZE_ULONG): Likewise.
34968 * sysdeps/generic/stdint.h (SIZE_MAX):
34969 Define as UL if __WORDSIZE32_SIZE_ULONG.
34970
34971 [BZ #16713]
34972 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34973 (__glibc_reserved0): New variable.
34974 (sa_flags): Change type to int.
34975
34976 * posix/Makefile (before-compile): Use += before-compile instead
34977 of a :=.
34978
34979 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34980 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34981
34982 2014-03-20 Andreas Schwab <schwab@suse.de>
34983
34984 [BZ #16743]
34985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34986 non-matching result from nscd.
34987
34988 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34989
34990 * scripts/bench.py: Moved to ...
34991 * benchtests/scripts/bench.py: ... here.
34992 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34993
34994 2014-03-24 Andreas Schwab <schwab@suse.de>
34995
34996 [BZ #16002]
34997 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34998 alloca_account and account alloca use for struct in6ailist.
34999
35000 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35001
35002 [BZ #16284]
35003 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35004 rounding mode to recompute results that overflow to infinity or
35005 underflow to zero.
35006 * math/auto-libm-test-in: Don't mark tests as expected to fail for
35007 bug 16284.
35008 * math/auto-libm-test-out: Regenerated.
35009 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35010 (ccosh_test): Likewise.
35011 (csin_test_data): Use plus_oflow.
35012 (csin_test): Use ALL_RM_TEST.
35013 (csinh_test_data): Use plus_oflow.
35014 (csinh_test): Use ALL_RM_TEST.
35015 * sysdeps/i386/fpu/libm-test-ulps: Update.
35016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35017
35018 2014-03-21 Joseph Myers <joseph@codesourcery.com>
35019
35020 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35021 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35022 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35023
35024 [BZ #16731]
35025 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35026 when x - 1 is zero.
35027 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35028 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35029 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35031 argument is 1.
35032 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35033 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35034 zero.
35035 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35038
35039 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35040
35041 * scripts/bench.pl: Remove file.
35042 * scripts/bench.py: New benchmark script.
35043 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35044 * benchtests/README: Mention python dependency.
35045 * scripts/pylintrc: New file.
35046 * scripts/pylint: New file.
35047
35048 * bits/mathdef.h: Use #ifdef instead of #if.
35049 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35050 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35051 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35052 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35053 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35054 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35055
35056 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35057 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35058
35059 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35061 and strpbrk-ppc64 objects.
35062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35063 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35065 multiarch strpbrk for POWER7.
35066 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35067 multiarch strpbrk for PPC64.
35068 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35069 ifunc selector.
35070 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35071 strpbrk for POWER7.
35072
35073 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35074
35075 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35076 (atan_test): Likewise.
35077 (atanh_test_data): Use NO_TEST_INLINE for two tests.
35078 (atanh_test): Use ALL_RM_TEST.
35079 (atan2_test_data): Likewise.
35080 (cabs_test): Likewise.
35081 (cacosh_test): Likewise.
35082 (carg_test): Likewise.
35083 (casin_test): Likewise.
35084 (casinh_test): Likewise.
35085 (cbrt_test): Likewise.
35086 (csqrt_test): Likewise.
35087 (erf_test): Likewise.
35088 (erfc_test): Likewise.
35089 (pow10_test): Likewise.
35090 (exp2_test): Likewise.
35091 (hypot_test): Likewise.
35092 (j0_test): Likewise.
35093 (j1_test): Likewise.
35094 (lgamma_test): Likewise.
35095 (gamma_test): Likewise.
35096 (sincos_test): Likewise.
35097 (tanh_test): Likewise.
35098 (y0_test): Likewise.
35099 (y1_test): Likewise.
35100 * sysdeps/i386/fpu/libm-test-ulps: Update.
35101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35102
35103 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35104
35105 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35107 and strcspn-ppc64 objects.
35108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35109 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35110 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35111 multiarch strcspn for POWER7.
35112 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35113 multiarch strcspn for PPC64.
35114 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35115 ifunc selector.
35116 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35117 strcspn for POWER7.
35118
35119 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35120
35121 * math/gen-libm-test.pl (generate_testfile): Expect only function
35122 name as argument to AUTO_TESTS_* and pass results for all rounding
35123 modes to parse_args.
35124 (parse_auto_input): Separate inputs of automatic tests from
35125 outputs before storing in %auto_tests.
35126 * math/libm-test.inc (acos_test_data): Update call to
35127 AUTO_TESTS_f_f.
35128 (acos_test): Use ALL_RM_TEST.
35129 (acos_tonearest_test_data): Remove.
35130 (acos_test_tonearest): Likewise.
35131 (acos_towardzero_test_data): Likewise.
35132 (acos_test_towardzero): Likewise.
35133 (acos_downward_test_data): Likewise.
35134 (acos_test_downward): Likewise.
35135 (acos_upward_test_data): Likewise.
35136 (acos_test_upward): Likewise.
35137 (acosh_test_data): Update call to AUTO_TESTS_f_f.
35138 (asin_test_data): Likewise.
35139 (asin_test): Use ALL_RM_TEST.
35140 (asin_tonearest_test_data): Remove.
35141 (asin_test_tonearest): Likewise.
35142 (asin_towardzero_test_data): Likewise.
35143 (asin_test_towardzero): Likewise.
35144 (asin_downward_test_data): Likewise.
35145 (asin_test_downward): Likewise.
35146 (asin_upward_test_data): Likewise.
35147 (asin_test_upward): Likewise.
35148 (asinh_test_data): Update call to AUTO_TESTS_f_f.
35149 (atan_test_data): Likewise.
35150 (atanh_test_data): Likewise.
35151 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35152 (cabs_test_data): Update call to AUTO_TESTS_c_f.
35153 (carg_test_data): Likewise.
35154 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35155 (ccos_test_data): Update call to AUTO_TESTS_c_c.
35156 (ccosh_test_data): Likewise.
35157 (cexp_test_data): Likewise.
35158 (clog_test_data): Likewise.
35159 (clog10_test_data): Likewise.
35160 (cos_test_data): Update call to AUTO_TESTS_f_f.
35161 (cos_test): Use ALL_RM_TEST.
35162 (cos_tonearest_test_data): Remove.
35163 (cos_test_tonearest): Likewise.
35164 (cos_towardzero_test_data): Likewise.
35165 (cos_test_towardzero): Likewise.
35166 (cos_downward_test_data): Likewise.
35167 (cos_test_downward): Likewise.
35168 (cos_upward_test_data): Likewise.
35169 (cos_test_upward): Likewise.
35170 (cosh_test_data): Update call to AUTO_TESTS_f_f.
35171 (cosh_test): Use ALL_RM_TEST.
35172 (cosh_tonearest_test_data): Remove.
35173 (cosh_test_tonearest): Likewise.
35174 (cosh_towardzero_test_data): Likewise.
35175 (cosh_test_towardzero): Likewise.
35176 (cosh_downward_test_data): Likewise.
35177 (cosh_test_downward): Likewise.
35178 (cosh_upward_test_data): Likewise.
35179 (cosh_test_upward): Likewise.
35180 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35181 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35182 (ctan_test_data): Likewise.
35183 (ctan_test): Use ALL_RM_TEST.
35184 (ctan_tonearest_test_data): Remove.
35185 (ctan_test_tonearest): Likewise.
35186 (ctan_towardzero_test_data): Likewise.
35187 (ctan_test_towardzero): Likewise.
35188 (ctan_downward_test_data): Likewise.
35189 (ctan_test_downward): Likewise.
35190 (ctan_upward_test_data): Likewise.
35191 (ctan_test_upward): Likewise.
35192 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35193 (ctanh_test): Use ALL_RM_TEST.
35194 (ctanh_tonearest_test_data): Remove.
35195 (ctanh_test_tonearest): Likewise.
35196 (ctanh_towardzero_test_data): Likewise.
35197 (ctanh_test_towardzero): Likewise.
35198 (ctanh_downward_test_data): Likewise.
35199 (ctanh_test_downward): Likewise.
35200 (ctanh_upward_test_data): Likewise.
35201 (ctanh_test_upward): Likewise.
35202 (erf_test_data): Update call to AUTO_TESTS_f_f.
35203 (erfc_test_data): Likewise.
35204 (exp_test_data): Likewise.
35205 (exp_test): Use ALL_RM_TEST.
35206 (exp_tonearest_test_data): Remove.
35207 (exp_test_tonearest): Likewise.
35208 (exp_towardzero_test_data): Likewise.
35209 (exp_test_towardzero): Likewise.
35210 (exp_downward_test_data): Likewise.
35211 (exp_test_downward): Likewise.
35212 (exp_upward_test_data): Likewise.
35213 (exp_test_upward): Likewise.
35214 (exp10_test_data): Update call to AUTO_TESTS_f_f.
35215 (exp10_test): Use ALL_RM_TEST.
35216 (exp10_tonearest_test_data): Remove.
35217 (exp10_test_tonearest): Likewise.
35218 (exp10_towardzero_test_data): Likewise.
35219 (exp10_test_towardzero): Likewise.
35220 (exp10_downward_test_data): Likewise.
35221 (exp10_test_downward): Likewise.
35222 (exp10_upward_test_data): Likewise.
35223 (exp10_test_upward): Likewise.
35224 (exp2_test_data): Update call to AUTO_TESTS_f_f.
35225 (expm1_test_data): Likewise.
35226 (expm1_test): Use ALL_RM_TEST.
35227 (expm1_tonearest_test_data): Remove.
35228 (expm1_test_tonearest): Likewise.
35229 (expm1_towardzero_test_data): Likewise.
35230 (expm1_test_towardzero): Likewise.
35231 (expm1_downward_test_data): Likewise.
35232 (expm1_test_downward): Likewise.
35233 (expm1_upward_test_data): Likewise.
35234 (expm1_test_upward): Likewise.
35235 (fma_test_data): Update call to AUTO_TESTS_fff_f.
35236 (fma_test): Use ALL_RM_TEST.
35237 (fma_towardzero_test_data): Remove.
35238 (fma_test_towardzero): Likewise.
35239 (fma_downward_test_data): Likewise.
35240 (fma_test_downward): Likewise.
35241 (fma_upward_test_data): Likewise.
35242 (fma_test_upward): Likewise.
35243 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35244 (j0_test_data): Update call to AUTO_TESTS_f_f.
35245 (j1_test_data): Likewise.
35246 (jn_test_data): Update call to AUTO_TESTS_if_f.
35247 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35248 (log_test_data): Update call to AUTO_TESTS_f_f.
35249 (log10_test_data): Likewise.
35250 (log1p_test_data): Likewise.
35251 (log2_test_data): Likewise.
35252 (pow_test_data): Update call to AUTO_TESTS_ff_f.
35253 (pow_tonearest_test_data): Likewise.
35254 (sin_test_data): Update call to AUTO_TESTS_f_f.
35255 (sin_test): Use ALL_RM_TEST.
35256 (sin_tonearest_test_data): Remove.
35257 (sin_test_tonearest): Likewise.
35258 (sin_towardzero_test_data): Likewise.
35259 (sin_test_towardzero): Likewise.
35260 (sin_downward_test_data): Likewise.
35261 (sin_test_downward): Likewise.
35262 (sin_upward_test_data): Likewise.
35263 (sin_test_upward): Likewise.
35264 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35265 (sinh_test_data): Update call to AUTO_TESTS_f_f.
35266 (sinh_test): Use ALL_RM_TEST.
35267 (sinh_tonearest_test_data): Remove.
35268 (sinh_test_tonearest): Likewise.
35269 (sinh_towardzero_test_data): Likewise.
35270 (sinh_test_towardzero): Likewise.
35271 (sinh_downward_test_data): Likewise.
35272 (sinh_test_downward): Likewise.
35273 (sinh_upward_test_data): Likewise.
35274 (sinh_test_upward): Likewise.
35275 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35276 (sqrt_test): Use ALL_RM_TEST.
35277 (sqrt_tonearest_test_data): Remove.
35278 (sqrt_test_tonearest): Likewise.
35279 (sqrt_towardzero_test_data): Likewise.
35280 (sqrt_test_towardzero): Likewise.
35281 (sqrt_downward_test_data): Likewise.
35282 (sqrt_test_downward): Likewise.
35283 (sqrt_upward_test_data): Likewise.
35284 (sqrt_test_upward): Likewise.
35285 (tan_test_data): Update call to AUTO_TESTS_f_f.
35286 (tan_test): Use ALL_RM_TEST.
35287 (tan_tonearest_test_data): Remove.
35288 (tan_test_tonearest): Likewise.
35289 (tan_towardzero_test_data): Likewise.
35290 (tan_test_towardzero): Likewise.
35291 (tan_downward_test_data): Likewise.
35292 (tan_test_downward): Likewise.
35293 (tan_upward_test_data): Likewise.
35294 (tan_test_upward): Likewise.
35295 (tanh_test_data): Update call to AUTO_TESTS_f_f.
35296 (tgamma_test_data): Likewise.
35297 (y0_test_data): Likewise.
35298 (y1_test_data): Likewise.
35299 (yn_test_data): Update call to AUTO_TESTS_if_f.
35300 (main): Do not call removed functions.
35301
35302 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35303
35304 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35305 (ldexp_test_data): Remove.
35306 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
35307 scalbn_test_data.
35308 (scalb_test): Use ALL_RM_TEST.
35309
35310 2014-03-19 Andreas Schwab <schwab@suse.de>
35311
35312 * nscd/nscd.service: Also invalidate netgroup cache on reload.
35313
35314 2014-03-19 Joseph Myers <joseph@codesourcery.com>
35315
35316 [BZ #16649]
35317 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35319 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35320 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35321 (__ASSUME_PREADV): Undefine.
35322 (__ASSUME_PWRITEV): Likewise.
35323
35324 2014-03-18 Roland McGrath <roland@hack.frob.com>
35325
35326 * bits/mman-linux.h: Add comment about non-Linux use.
35327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35328 bits/mman-linux.h resting place.
35329
35330 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35331 * bits/mman-linux.h: ... here.
35332
35333 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35334
35335 * conform/conformtest.pl: Add standard definition when calling C
35336 preprocessor on data files.
35337 (checknamespace): Remove unused variable.
35338
35339 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35340
35341 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35342 minus_oflow, plus_uflow and minus_uflow in expected results.
35343 * math/libm-test.inc (scalbn_test_data): Add more tests of
35344 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
35345 minus_uflow.
35346 (scalbn_test): Use ALL_RM_TEST.
35347 (scalbln_test_data): Add more tests of negative arguments. Use
35348 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
35349 (scalbln_test): Use ALL_RM_TEST.
35350
35351 2014-03-18 Roland McGrath <roland@hack.frob.com>
35352
35353 * scripts/abilist.awk: Ignore symbols marked with .hidden.
35354
35355 2014-03-18 Will Newton <will.newton@linaro.org>
35356
35357 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35358 inaccurate comment.
35359
35360 2014-03-18 Joseph Myers <joseph@codesourcery.com>
35361
35362 * Makerules [!subdir] (check-abi): Exit with error status if a
35363 test failed.
35364
35365 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35366
35367 * math/libm-test.inc (nearbyint_test_data): Include all tests used
35368 for rint. Include results for all rounding modes.
35369 (nearbyint_test): Use ALL_RM_TEST.
35370 (rint_test_data): Include all tests used for nearbyint.
35371
35372 2014-03-17 Will Newton <will.newton@linaro.org>
35373
35374 * nptl/sysdeps/pthread/pthread.h: Revert previous
35375 change.
35376
35377 * sysdeps/generic/ldsodefs.h: Revert previous
35378 change.
35379
35380 * libio/genops.c: Revert previous change.
35381 * libio/libioP.h: Likewise.
35382 * stdio-common/vfprintf.c: Likewise.
35383
35384 * sysdeps/generic/math_private.h: Revert previous
35385 change.
35386
35387 * sysdeps/generic/math_private.h: Check whether
35388 HAVE_RM_CTX is defined with #ifdef rather
35389 than #if.
35390
35391 * argp/argp-fmtstream.h: Check whether
35392 __STRICT_ANSI__ is defined with #ifdef rather
35393 than #if.
35394 * argp/argp.h: Likewise.
35395
35396 * libio/genops.c: Check whether
35397 _IO_JUMPS_OFFSET is defined with #ifdef rather
35398 than #if.
35399 * libio/libioP.h: Likewise.
35400 * stdio-common/vfprintf.c: Likewise.
35401
35402 * sysdeps/generic/ldsodefs.h: Check whether
35403 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
35404 than #if.
35405
35406 * nptl/sysdeps/pthread/pthread.h: Check
35407 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
35408 its value.
35409
35410 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35411
35412 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
35413 setting O_APPEND.
35414 * libio/tst-ftell-active-handler.c (do_append_test): Add a
35415 test case.
35416
35417 [BZ #16680]
35418 * libio/fileops.c (_IO_file_open): Seek to end of file but
35419 don't cache the offset.
35420 (get_file_offset): Remove function.
35421 (do_ftell): Use cached offset when available.
35422 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35423 don't cache the offset.
35424 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
35425 case.
35426 (do_one_test): Call it.
35427 (do_ftell_test): Fix up expected old offset for a+ mode.
35428 * libio/wfileops.c (do_ftell_wide): Used cached offset when
35429 available.
35430
35431 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
35432 up test status with function return status.
35433 (do_write_test): Likewise.
35434 (do_append_test): Likewise.
35435
35436 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
35437 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
35438 Remove.
35439
35440 2014-03-17 Joseph Myers <joseph@codesourcery.com>
35441
35442 * math/gen-libm-test.pl (parse_args): Handle results specified for
35443 each rounding mode separately.
35444 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
35445 tests and results from lrint_tonearest_test_data,
35446 lrint_towardzero_test_data, lrint_downward_test_data and
35447 lrint_upward_test_data.
35448 (lrint_test): Use ALL_RM_TEST.
35449 (lrint_tonearest_test_data): Remove.
35450 (lrint_test_tonearest): Likewise.
35451 (lrint_towardzero_test_data): Likewise.
35452 (lrint_test_towardzero): Likewise.
35453 (lrint_downward_test_data): Likewise.
35454 (lrint_test_downward): Likewise.
35455 (lrint_upward_test_data): Likewise.
35456 (lrint_test_upward): Likewise.
35457 (llrint_test_data): Merge in per-rounding-mode tests and results
35458 from llrint_tonearest_test_data, llrint_towardzero_test_data,
35459 llrint_downward_test_data and llrint_upward_test_data.
35460 (llrint_test): Use ALL_RM_TEST.
35461 (llrint_tonearest_test_data): Remove.
35462 (llrint_test_tonearest): Likewise.
35463 (llrint_towardzero_test_data): Likewise.
35464 (llrint_test_towardzero): Likewise.
35465 (llrint_downward_test_data): Likewise.
35466 (llrint_test_downward): Likewise.
35467 (llrint_upward_test_data): Likewise.
35468 (llrint_test_upward): Likewise.
35469 (rint_test_data): Merge in per-rounding-mode tests and results
35470 from rint_tonearest_test_data, rint_towardzero_test_data,
35471 rint_downward_test_data and rint_upward_test_data. Add
35472 per-rounding-mode results for tests not in those arrays.
35473 (rint_test): Use ALL_RM_TEST.
35474 (rint_tonearest_test_data): Remove.
35475 (rint_test_tonearest): Likewise.
35476 (rint_towardzero_test_data): Likewise.
35477 (rint_test_towardzero): Likewise.
35478 (rint_downward_test_data): Likewise.
35479 (rint_test_downward): Likewise.
35480 (rint_upward_test_data): Likewise.
35481 (rint_test_upward): Likewise.
35482 (main): Don't call removed functions.
35483
35484 2014-03-14 Roland McGrath <roland@hack.frob.com>
35485
35486 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
35487 "Compiled on ..." crapola. It is anti-useful.
35488
35489 2014-03-14 Joseph Myers <joseph@codesourcery.com>
35490
35491 * scripts/evaluate-test.sh: Handle fourth argument to determine
35492 whether test run should stop on failure.
35493 * Makeconfig (stop-on-test-failure): New variable.
35494 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
35495 $(stop-on-test-failure).
35496 * Makefile (tests): Give a summary of results from testing and
35497 exit with failure status if they include an ERROR or FAIL.
35498 (xtests): Likewise.
35499 * manual/install.texi (Configuring and compiling): Mention
35500 stop-on-test-failure=y.
35501 * INSTALL: Regenerated.
35502
35503 2014-03-14 Roland McGrath <roland@hack.frob.com>
35504
35505 * scripts/versionlist.awk: New file.
35506 * Makerules [$(build-shared) = yes]
35507 (postclean-generated): Add Versions.def, not Versions.def.v and
35508 Versions.def.v.i.
35509 ($(common-objpfx)Versions.def.v.i): Target removed.
35510 ($(common-objpfx)Versions.def): New target.
35511 ($(common-objpfx)Versions.all): Depend on that rather that
35512 $(common-objpfx)Versions.def.v.
35513 * Versions.def: File removed.
35514
35515 * Makeconfig (+gccwarn): Add -Wundef.
35516 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
35517 a dl-sysdep.h breaking its contract.
35518 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
35519 * include/stackinfo.h: New file.
35520 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
35521 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
35522 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
35523 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
35524 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
35525 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
35526 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35527 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35528 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35529 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35530 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35531 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
35532 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35533 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35534 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
35535
35536 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35537
35538 [BZ #16707]
35539 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
35540 implementation.
35541 * math/libm-test.inc (round_test_data): Add more tests.
35542
35543 [BZ #16706]
35544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
35545 implementation.
35546 * math/libm-test.inc (nearbyint_test_data): Add more tests.
35547
35548 [BZ #16701]
35549 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
35550 implementation.
35551 * math/libm-test.inc (ceil_test_data): Add more tests.
35552
35553 * math/libm-test.inc (trunc_test_data): Add more tests related to
35554 BZ#16414.
35555
35556 2014-03-14 Roland McGrath <roland@hack.frob.com>
35557
35558 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
35559 with #if rather than #ifdef.
35560 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
35561
35562 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
35563
35564 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
35565 first. Disable AVX-512 GCC support if assembler doesn't support
35566 it.
35567 * sysdeps/x86_64/configure: Regenerated.
35568
35569 2014-03-13 Carlos O'Donell <carlos@redhat.com>
35570
35571 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
35572 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
35573 (__old_pthread_attr_setstack): Likewise.
35574 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
35575 [!_STACK_GROWS_DOWN]: Likewise.
35576
35577 2014-03-13 Mike Frysinger <vapier@gentoo.org>
35578
35579 * config.make.in (have-bash2): Delete.
35580 * configure.ac (libc_cv_have_bash2): Delete.
35581 * configure: Regenerate.
35582 * elf/Makefile (common-ldd-rewrite): Rename to ...
35583 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
35584 (sh-ldd-rewrite): Delete.
35585 (bash-ldd-rewrite): Delete.
35586 (have-bash2): Delete checks.
35587 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
35588 ldd-rewrite.
35589
35590 * config.make.in (have-ksh): Delete.
35591 (KSH): Delete.
35592 * configure.ac (libc_cv_have_ksh): Delete.
35593 * configure: Regenerate.
35594
35595 * elf/Makefile: Delete $(have-ksh) check.
35596 ($(objpfx)sotruss): Change KSH to BASH.
35597 * elf/sotruss.ksh: Rename to ...
35598 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
35599 function style to match POSIX. Drop ksh vim mode setting.
35600
35601 * manual/time.texi (Specifying the Time Zone with TZ): Change
35602 Tuesday to Thursday.
35603
35604 * debug/tst-longjmp_chk2.c: Update header comment.
35605 (stackoverflow_handler): Add comment. Call assert on pass value.
35606
35607 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
35608
35609 [BZ #16194]
35610 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
35611 (HAVE_AVX512_ASM_SUPPORT): Likewise.
35612 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
35613 (La_x86_64_vector): Add zmm.
35614 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
35615 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
35616 ($(objpfx)tst-audit10): New target.
35617 ($(objpfx)tst-audit10.out): Likewise.
35618 (tst-audit10-ENV): New.
35619 (AVX512-CFLAGS): Likewise.
35620 (CFLAGS-tst-audit10.c): Likewise.
35621 (CFLAGS-tst-auditmod10a.c): Likewise.
35622 (CFLAGS-tst-auditmod10b.c): Likewise.
35623 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35624 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
35625 * sysdeps/x86_64/configure: Regenerated.
35626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
35627 AVX-512 zmm register support.
35628 (_dl_x86_64_save_sse): Likewise.
35629 (_dl_x86_64_restore_sse): Likewise.
35630 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
35631 size vector registers.
35632 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
35633 (ZMM_SIZE): Likewise.
35634 * sysdeps/x86_64/tst-audit10.c: New file.
35635 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
35636 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
35637
35638 2014-03-13 Roland McGrath <roland@hack.frob.com>
35639
35640 * configure.ac (HAVE_EHDR_START): New check.
35641 * configure: Regenerated.
35642 * config.h.in (HAVE_EHDR_START): New #undef.
35643 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
35644 assuming the lowest-addressed segment maps the start of the file.
35645
35646 2014-03-13 Joseph Myers <joseph@codesourcery.com>
35647
35648 * INSTALL: Regenerated.
35649
35650 2014-03-13 Will Newton <will.newton@linaro.org>
35651
35652 * manual/setjmp.texi (System V contexts): Improve
35653 clarity and grammar of documentation.
35654
35655 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
35656
35657 [BZ #16381]
35658 * elf/Makefile (tests): Add tst-pie2.
35659 (tests-pie): Add tst-pie2.
35660 * elf/tst-pie2.c: New file.
35661 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
35662 for ET_EXEC.
35663 * elf/rtld.c (map_doit): Load executable as lt_executable.
35664 (dl_main): Likewise.
35665
35666 2014-03-12 Joseph Myers <joseph@codesourcery.com>
35667
35668 [BZ #16642]
35669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35670 (__ASSUME_PSELECT): Undefine.
35671
35672 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35673
35674 [BZ #16689]
35675 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
35676 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
35677 static build.
35678 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
35679 selector for static builds.
35680
35681 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35682
35683 [BZ #16695]
35684 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
35685 key in the buffer.
35686
35687 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35688
35689 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
35690 IFUNC selector for static builds.
35691
35692 2014-03-11 Joseph Myers <joseph@codesourcery.com>
35693
35694 * sysdeps/mips/math_private.h [__mips_hard_float]
35695 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
35696 libc_feresetround_mips_ctx.
35697 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
35698 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
35699 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
35700
35701 [BZ #16677]
35702 * math/s_nextafter.c (__nextafter): Do not return value from
35703 overflowing computation.
35704 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35705 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
35706 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35707 Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
35709 Likewise.
35710 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35711 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
35712
35713 2014-03-11 Roland McGrath <roland@hack.frob.com>
35714
35715 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
35716 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
35717 Move sfi_sp use from the load-multiple (that no longer sets sp) to
35718 the new mov targetting sp.
35719
35720 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35721
35722 [BZ #16683]
35723 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
35724 Define it for static builds as well.
35725 (NO_BZERO_IMPL): Likewise.
35726
35727 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35728
35729 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
35730 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
35731 multiarch strspn for PPC64.
35732 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
35733 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
35734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35735 (__libc_ifunc_impl_list): Likewise.
35736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
35737 multiarch optimizations
35738 * string/strspn.c (strspn): Using macro to redefine symbol name.
35739
35740 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35741 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35742
35743 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
35744 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
35745 multiarch strncat for PPC64.
35746 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
35747 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
35748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35749 (__libc_ifunc_impl_list): Likewise.
35750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
35751 multiarch optimizations
35752
35753 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35754
35755 [BZ #16639]
35756 * nscd/nscd.service: Make service type forking.
35757
35758 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35759
35760 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
35761 sign in non default rounding modes.
35762 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
35763
35764 2014-03-08 Joseph Myers <joseph@codesourcery.com>
35765
35766 * math/libm-test.inc (ALL_RM_TEST): New macro.
35767 (ceil_test): Use ALL_RM_TEST.
35768 (cimag_test): Likewise.
35769 (conj_test): Likewise.
35770 (copysign_test): Likewise.
35771 (cproj_test): Likewise.
35772 (creal_test): Likewise.
35773 (fabs_test): Likewise.
35774 (floor_test): Likewise.
35775 (fmax_test): Likewise.
35776 (fmin_test): Likewise.
35777 (fmod_test): Likewise.
35778 (fpclassify_test): Likewise.
35779 (frexp_test): Likewise.
35780 (ilogb_test): Likewise.
35781 (isfinite_test): Likewise.
35782 (finite_test): Likewise.
35783 (isgreater_test): Likewise.
35784 (isgreaterequal_test): Likewise.
35785 (isinf_test): Likewise.
35786 (isless_test): Likewise.
35787 (islessequal_test): Likewise.
35788 (islessgreater_test): Likewise.
35789 (isnan_test): Likewise.
35790 (isnormal_test): Likewise.
35791 (issignaling_test): Likewise.
35792 (isunordered_test): Likewise.
35793 (logb_test): Likewise.
35794 (logb_downward_test_data): Remove.
35795 (logb_test_downward): Likewise.
35796 (lround_test): Use ALL_RM_TEST.
35797 (llround_test): Likewise.
35798 (modf_test): Likewise.
35799 (nexttoward_test): Likewise.
35800 (remainder_test): Likewise.
35801 (drem_test): Likewise.
35802 (remainder_tonearest_test_data): Likewise.
35803 (remainder_test_tonearest): Likewise.
35804 (drem_test_tonearest): Likewise.
35805 (remainder_towardzero_test_data): Likewise.
35806 (remainder_test_towardzero): Likewise.
35807 (drem_test_towardzero): Likewise.
35808 (remainder_downward_test_data): Likewise.
35809 (remainder_test_downward): Likewise.
35810 (drem_test_downward): Likewise.
35811 (remainder_upward_test_data): Likewise.
35812 (remainder_test_upward): Likewise.
35813 (drem_test_upward): Likewise.
35814 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
35815 (round_test): Use ALL_RM_TEST.
35816 (signbit_test): Likewise.
35817 (trunc_test): Likewise.
35818 (significand_test): Likewise.
35819 (main): Don't call removed functions.
35820
35821 2014-03-07 Joseph Myers <joseph@codesourcery.com>
35822
35823 [BZ #16674]
35824 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
35825 || __USE_XOPEN2K8].
35826 (ILL_ILLOPN): Likewise.
35827 (ILL_ILLADR): Likewise.
35828 (ILL_ILLTRP): Likewise.
35829 (ILL_PRVOPC): Likewise.
35830 (ILL_PRVREG): Likewise.
35831 (ILL_COPROC): Likewise.
35832 (ILL_BADSTK): Likewise.
35833 (FPE_INTDIV): Likewise.
35834 (FPE_INTOVF): Likewise.
35835 (FPE_FLTDIV): Likewise.
35836 (FPE_FLTOVF): Likewise.
35837 (FPE_FLTUND): Likewise.
35838 (FPE_FLTRES): Likewise.
35839 (FPE_FLTINV): Likewise.
35840 (FPE_FLTSUB): Likewise.
35841 (SEGV_MAPERR): Likewise.
35842 (SEGV_ACCERR): Likewise.
35843 (BUS_ADRALN): Likewise.
35844 (BUS_ADRERR): Likewise.
35845 (BUS_OBJERR): Likewise.
35846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35847 (TRAP_TRACE): Likewise.
35848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35849 __USE_XOPEN2K8].
35850 (CLD_KILLED): Likewise.
35851 (CLD_DUMPED): Likewise.
35852 (CLD_TRAPPED): Likewise.
35853 (CLD_STOPPED): Likewise.
35854 (CLD_CONTINUED): Likewise.
35855 (POLL_IN): Likewise.
35856 (POLL_OUT): Likewise.
35857 (POLL_MSG): Likewise.
35858 (POLL_ERR): Likewise.
35859 (POLL_PRI): Likewise.
35860 (POLL_HUP): Likewise.
35861 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35862 Likewise.
35863 (ILL_ILLOPN): Likewise.
35864 (ILL_ILLADR): Likewise.
35865 (ILL_ILLTRP): Likewise.
35866 (ILL_PRVOPC): Likewise.
35867 (ILL_PRVREG): Likewise.
35868 (ILL_COPROC): Likewise.
35869 (ILL_BADSTK): Likewise.
35870 (FPE_INTDIV): Likewise.
35871 (FPE_INTOVF): Likewise.
35872 (FPE_FLTDIV): Likewise.
35873 (FPE_FLTOVF): Likewise.
35874 (FPE_FLTUND): Likewise.
35875 (FPE_FLTRES): Likewise.
35876 (FPE_FLTINV): Likewise.
35877 (FPE_FLTSUB): Likewise.
35878 (SEGV_MAPERR): Likewise.
35879 (SEGV_ACCERR): Likewise.
35880 (BUS_ADRALN): Likewise.
35881 (BUS_ADRERR): Likewise.
35882 (BUS_OBJERR): Likewise.
35883 (BUS_MCEERR_AR): Likewise.
35884 (BUS_MCEERR_AO): Likewise.
35885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35886 (TRAP_TRACE): Likewise.
35887 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35888 __USE_XOPEN2K8].
35889 (CLD_KILLED): Likewise.
35890 (CLD_DUMPED): Likewise.
35891 (CLD_TRAPPED): Likewise.
35892 (CLD_STOPPED): Likewise.
35893 (CLD_CONTINUED): Likewise.
35894 (POLL_IN): Likewise.
35895 (POLL_OUT): Likewise.
35896 (POLL_MSG): Likewise.
35897 (POLL_ERR): Likewise.
35898 (POLL_PRI): Likewise.
35899 (POLL_HUP): Likewise.
35900 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35901 (ILL_ILLOPN): Likewise.
35902 (ILL_ILLADR): Likewise.
35903 (ILL_ILLTRP): Likewise.
35904 (ILL_PRVOPC): Likewise.
35905 (ILL_PRVREG): Likewise.
35906 (ILL_COPROC): Likewise.
35907 (ILL_BADSTK): Likewise.
35908 (FPE_INTDIV): Likewise.
35909 (FPE_INTOVF): Likewise.
35910 (FPE_FLTDIV): Likewise.
35911 (FPE_FLTOVF): Likewise.
35912 (FPE_FLTUND): Likewise.
35913 (FPE_FLTRES): Likewise.
35914 (FPE_FLTINV): Likewise.
35915 (FPE_FLTSUB): Likewise.
35916 (SEGV_MAPERR): Likewise.
35917 (SEGV_ACCERR): Likewise.
35918 (BUS_ADRALN): Likewise.
35919 (BUS_ADRERR): Likewise.
35920 (BUS_OBJERR): Likewise.
35921 (BUS_MCEERR_AR): Likewise.
35922 (BUS_MCEERR_AO): Likewise.
35923 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35924 (TRAP_TRACE): Likewise.
35925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35926 __USE_XOPEN2K8].
35927 (CLD_KILLED): Likewise.
35928 (CLD_DUMPED): Likewise.
35929 (CLD_TRAPPED): Likewise.
35930 (CLD_STOPPED): Likewise.
35931 (CLD_CONTINUED): Likewise.
35932 (POLL_IN): Likewise.
35933 (POLL_OUT): Likewise.
35934 (POLL_MSG): Likewise.
35935 (POLL_ERR): Likewise.
35936 (POLL_PRI): Likewise.
35937 (POLL_HUP): Likewise.
35938 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35939 Likewise.
35940 (ILL_ILLOPN): Likewise.
35941 (ILL_ILLADR): Likewise.
35942 (ILL_ILLTRP): Likewise.
35943 (ILL_PRVOPC): Likewise.
35944 (ILL_PRVREG): Likewise.
35945 (ILL_COPROC): Likewise.
35946 (ILL_BADSTK): Likewise.
35947 (ILL_BADIADDR): Likewise.
35948 (ILL_BREAK): Likewise.
35949 (FPE_INTDIV): Likewise.
35950 (FPE_INTOVF): Likewise.
35951 (FPE_FLTDIV): Likewise.
35952 (FPE_FLTOVF): Likewise.
35953 (FPE_FLTUND): Likewise.
35954 (FPE_FLTRES): Likewise.
35955 (FPE_FLTINV): Likewise.
35956 (FPE_FLTSUB): Likewise.
35957 (FPE_DECOVF): Likewise.
35958 (FPE_DECDIV): Likewise.
35959 (FPE_DECERR): Likewise.
35960 (FPE_INVASC): Likewise.
35961 (FPE_INVDEC): Likewise.
35962 (SEGV_MAPERR): Likewise.
35963 (SEGV_ACCERR): Likewise.
35964 (SEGV_PSTKOVF): Likewise.
35965 (BUS_ADRALN): Likewise.
35966 (BUS_ADRERR): Likewise.
35967 (BUS_OBJERR): Likewise.
35968 (BUS_MCEERR_AR): Likewise.
35969 (BUS_MCEERR_AO): Likewise.
35970 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35971 (TRAP_TRACE): Likewise.
35972 (TRAP_BRANCH): Likewise.
35973 (TRAP_HWBKPT): Likewise.
35974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35975 __USE_XOPEN2K8].
35976 (CLD_KILLED): Likewise.
35977 (CLD_DUMPED): Likewise.
35978 (CLD_TRAPPED): Likewise.
35979 (CLD_STOPPED): Likewise.
35980 (CLD_CONTINUED): Likewise.
35981 (POLL_IN): Likewise.
35982 (POLL_OUT): Likewise.
35983 (POLL_MSG): Likewise.
35984 (POLL_ERR): Likewise.
35985 (POLL_PRI): Likewise.
35986 (POLL_HUP): Likewise.
35987 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35988 (ILL_ILLOPN): Likewise.
35989 (ILL_ILLADR): Likewise.
35990 (ILL_ILLTRP): Likewise.
35991 (ILL_PRVOPC): Likewise.
35992 (ILL_PRVREG): Likewise.
35993 (ILL_COPROC): Likewise.
35994 (ILL_BADSTK): Likewise.
35995 (FPE_INTDIV): Likewise.
35996 (FPE_INTOVF): Likewise.
35997 (FPE_FLTDIV): Likewise.
35998 (FPE_FLTOVF): Likewise.
35999 (FPE_FLTUND): Likewise.
36000 (FPE_FLTRES): Likewise.
36001 (FPE_FLTINV): Likewise.
36002 (FPE_FLTSUB): Likewise.
36003 (SEGV_MAPERR): Likewise.
36004 (SEGV_ACCERR): Likewise.
36005 (BUS_ADRALN): Likewise.
36006 (BUS_ADRERR): Likewise.
36007 (BUS_OBJERR): Likewise.
36008 (BUS_MCEERR_AR): Likewise.
36009 (BUS_MCEERR_AO): Likewise.
36010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36011 (TRAP_TRACE): Likewise.
36012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36013 __USE_XOPEN2K8].
36014 (CLD_KILLED): Likewise.
36015 (CLD_DUMPED): Likewise.
36016 (CLD_TRAPPED): Likewise.
36017 (CLD_STOPPED): Likewise.
36018 (CLD_CONTINUED): Likewise.
36019 (POLL_IN): Likewise.
36020 (POLL_OUT): Likewise.
36021 (POLL_MSG): Likewise.
36022 (POLL_ERR): Likewise.
36023 (POLL_PRI): Likewise.
36024 (POLL_HUP): Likewise.
36025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36026 (ILL_ILLOPN): Likewise.
36027 (ILL_ILLADR): Likewise.
36028 (ILL_ILLTRP): Likewise.
36029 (ILL_PRVOPC): Likewise.
36030 (ILL_PRVREG): Likewise.
36031 (ILL_COPROC): Likewise.
36032 (ILL_BADSTK): Likewise.
36033 (FPE_INTDIV): Likewise.
36034 (FPE_INTOVF): Likewise.
36035 (FPE_FLTDIV): Likewise.
36036 (FPE_FLTOVF): Likewise.
36037 (FPE_FLTUND): Likewise.
36038 (FPE_FLTRES): Likewise.
36039 (FPE_FLTINV): Likewise.
36040 (FPE_FLTSUB): Likewise.
36041 (SEGV_MAPERR): Likewise.
36042 (SEGV_ACCERR): Likewise.
36043 (BUS_ADRALN): Likewise.
36044 (BUS_ADRERR): Likewise.
36045 (BUS_OBJERR): Likewise.
36046 (BUS_MCEERR_AR): Likewise.
36047 (BUS_MCEERR_AO): Likewise.
36048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36049 (TRAP_TRACE): Likewise.
36050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36051 __USE_XOPEN2K8].
36052 (CLD_KILLED): Likewise.
36053 (CLD_DUMPED): Likewise.
36054 (CLD_TRAPPED): Likewise.
36055 (CLD_STOPPED): Likewise.
36056 (CLD_CONTINUED): Likewise.
36057 (POLL_IN): Likewise.
36058 (POLL_OUT): Likewise.
36059 (POLL_MSG): Likewise.
36060 (POLL_ERR): Likewise.
36061 (POLL_PRI): Likewise.
36062 (POLL_HUP): Likewise.
36063 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36064 (ILL_ILLOPN): Likewise.
36065 (ILL_ILLADR): Likewise.
36066 (ILL_ILLTRP): Likewise.
36067 (ILL_PRVOPC): Likewise.
36068 (ILL_PRVREG): Likewise.
36069 (ILL_COPROC): Likewise.
36070 (ILL_BADSTK): Likewise.
36071 (FPE_INTDIV): Likewise.
36072 (FPE_INTOVF): Likewise.
36073 (FPE_FLTDIV): Likewise.
36074 (FPE_FLTOVF): Likewise.
36075 (FPE_FLTUND): Likewise.
36076 (FPE_FLTRES): Likewise.
36077 (FPE_FLTINV): Likewise.
36078 (FPE_FLTSUB): Likewise.
36079 (SEGV_MAPERR): Likewise.
36080 (SEGV_ACCERR): Likewise.
36081 (BUS_ADRALN): Likewise.
36082 (BUS_ADRERR): Likewise.
36083 (BUS_OBJERR): Likewise.
36084 (BUS_MCEERR_AR): Likewise.
36085 (BUS_MCEERR_AO): Likewise.
36086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36087 (TRAP_TRACE): Likewise.
36088 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36089 __USE_XOPEN2K8].
36090 (CLD_KILLED): Likewise.
36091 (CLD_DUMPED): Likewise.
36092 (CLD_TRAPPED): Likewise.
36093 (CLD_STOPPED): Likewise.
36094 (CLD_CONTINUED): Likewise.
36095 (POLL_IN): Likewise.
36096 (POLL_OUT): Likewise.
36097 (POLL_MSG): Likewise.
36098 (POLL_ERR): Likewise.
36099 (POLL_PRI): Likewise.
36100 (POLL_HUP): Likewise.
36101 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36102 (ILL_ILLOPN): Likewise.
36103 (ILL_ILLADR): Likewise.
36104 (ILL_ILLTRP): Likewise.
36105 (ILL_PRVOPC): Likewise.
36106 (ILL_PRVREG): Likewise.
36107 (ILL_COPROC): Likewise.
36108 (ILL_BADSTK): Likewise.
36109 (ILL_DBLFLT): Likewise.
36110 (ILL_HARDWALL): Likewise.
36111 (FPE_INTDIV): Likewise.
36112 (FPE_INTOVF): Likewise.
36113 (FPE_FLTDIV): Likewise.
36114 (FPE_FLTOVF): Likewise.
36115 (FPE_FLTUND): Likewise.
36116 (FPE_FLTRES): Likewise.
36117 (FPE_FLTINV): Likewise.
36118 (FPE_FLTSUB): Likewise.
36119 (SEGV_MAPERR): Likewise.
36120 (SEGV_ACCERR): Likewise.
36121 (BUS_ADRALN): Likewise.
36122 (BUS_ADRERR): Likewise.
36123 (BUS_OBJERR): Likewise.
36124 (BUS_MCEERR_AR): Likewise.
36125 (BUS_MCEERR_AO): Likewise.
36126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36127 (TRAP_TRACE): Likewise.
36128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36129 __USE_XOPEN2K8].
36130 (CLD_KILLED): Likewise.
36131 (CLD_DUMPED): Likewise.
36132 (CLD_TRAPPED): Likewise.
36133 (CLD_STOPPED): Likewise.
36134 (CLD_CONTINUED): Likewise.
36135 (POLL_IN): Likewise.
36136 (POLL_OUT): Likewise.
36137 (POLL_MSG): Likewise.
36138 (POLL_ERR): Likewise.
36139 (POLL_PRI): Likewise.
36140 (POLL_HUP): Likewise.
36141 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36142 (ILL_ILLOPN): Likewise.
36143 (ILL_ILLADR): Likewise.
36144 (ILL_ILLTRP): Likewise.
36145 (ILL_PRVOPC): Likewise.
36146 (ILL_PRVREG): Likewise.
36147 (ILL_COPROC): Likewise.
36148 (ILL_BADSTK): Likewise.
36149 (FPE_INTDIV): Likewise.
36150 (FPE_INTOVF): Likewise.
36151 (FPE_FLTDIV): Likewise.
36152 (FPE_FLTOVF): Likewise.
36153 (FPE_FLTUND): Likewise.
36154 (FPE_FLTRES): Likewise.
36155 (FPE_FLTINV): Likewise.
36156 (FPE_FLTSUB): Likewise.
36157 (SEGV_MAPERR): Likewise.
36158 (SEGV_ACCERR): Likewise.
36159 (BUS_ADRALN): Likewise.
36160 (BUS_ADRERR): Likewise.
36161 (BUS_OBJERR): Likewise.
36162 (BUS_MCEERR_AR): Likewise.
36163 (BUS_MCEERR_AO): Likewise.
36164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36165 (TRAP_TRACE): Likewise.
36166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36167 __USE_XOPEN2K8].
36168 (CLD_KILLED): Likewise.
36169 (CLD_DUMPED): Likewise.
36170 (CLD_TRAPPED): Likewise.
36171 (CLD_STOPPED): Likewise.
36172 (CLD_CONTINUED): Likewise.
36173 (POLL_IN): Likewise.
36174 (POLL_OUT): Likewise.
36175 (POLL_MSG): Likewise.
36176 (POLL_ERR): Likewise.
36177 (POLL_PRI): Likewise.
36178 (POLL_HUP): Likewise.
36179 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36180 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36181
36182 [BZ #16670]
36183 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36184 before #include of <time.h>.
36185 [!__USE_XOPEN2K] (__need_timespec): Likewise.
36186 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36187 (test-xfail-UNIX98/sched.h/conform): Likewise.
36188
36189 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
36190
36191 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36192 error absence of trapping exception support.
36193 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36194
36195 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36196
36197 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36198 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36199 * timezone/Makefile (testdata): Move definition above include of
36200 Rules.
36201 (test-zones): New variable.
36202 (tests-special): Add zone files.
36203 (build-testdata): Use $(evaluate-test).
36204
36205 * elf/Makefile (tests-special): Rename tests to end with .out.
36206 ($(objpfx)noload-mem): Likewise.
36207 ($(objpfx)tst-leaks1-mem): Likewise.
36208 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36209 * iconv/Makefile (xtests-special): Change test-iconvconfig to
36210 $(objpfx)test-iconvconfig.out.
36211 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
36212 set -e inside subshell and redirect output to file.
36213 * iconvdata/Makefile (generated): Rename tests to end with .out.
36214 Correct type.
36215 (tests-special): Rename tests to end with .out.
36216 ($(objpfx)mtrace-tst-loading): Likewise.
36217 * intl/Makefile (generated): Likewise.
36218 (tests-special): Likewise.
36219 ($(objpfx)mtrace-tst-gettext): Likewise.
36220 * misc/Makefile (generated): Likewise.
36221 (tests-special): Likewise.
36222 ($(objpfx)tst-error1-mem): Likewise.
36223 * nptl/Makefile (tests-special): Likewise.
36224 ($(objpfx)tst-stack3-mem): Likewise.
36225 (generated): Likewise.
36226 * posix/Makefile (generated): Likewise.
36227 (tests-special): Likewise.
36228 (xtests-special): Likewise.
36229 ($(objpfx)tst-fnmatch-mem): Likewise.
36230 ($(objpfx)bug-regex2-mem): Likewise.
36231 ($(objpfx)bug-regex14-mem): Likewise.
36232 ($(objpfx)bug-regex21-mem): Likewise.
36233 ($(objpfx)bug-regex31-mem): Likewise.
36234 ($(objpfx)tst-vfork3-mem): Likewise.
36235 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36236 ($(objpfx)tst-pcre-mem): Likewise.
36237 ($(objpfx)tst-boost-mem): Likewise.
36238 ($(objpfx)bug-ga2-mem): Likewise.
36239 ($(objpfx)bug-glob2-mem): Likewise.
36240 * resolv/Makefile (generate): Likewise.
36241 (tests-special): Likewise.
36242 (xtests-special): Likewise.
36243 (generated): Likewise.
36244 ($(objpfx)mtrace-tst-leaks): Likewise.
36245 ($(objpfx)mtrace-tst-leaks2): Likewise.
36246
36247 * scripts/merge-test-results.sh: New file.
36248 * Makefile (tests-special-notdir): New variable.
36249 (tests): Run merge-test-results.sh.
36250 (xtests): Likewise.
36251 * Rules (tests-special-notdir): New variable.
36252 (xtests-special-notdir): Likewise.
36253 (tests): Run merge-test-results.sh
36254 (xtests): Likewise.
36255
36256 * Makeconfig (test-xfail-name): New variable.
36257 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36258 compute variable name for expected failures.
36259 * conform/Makefile (conformtest-headers-data): New variable.
36260 (conformtest-standards): Likewise.
36261 (conformtest-headers-ISO): Likewise.
36262 (conformtest-headers-ISO99): Likewise.
36263 (conformtest-headers-ISO11): Likewise.
36264 (conformtest-headers-POSIX): Likewise.
36265 (conformtest-headers-XPG3): Likewise.
36266 (conformtest-headers-XPG4): Likewise.
36267 (conformtest-headers-UNIX98): Likewise.
36268 (conformtest-headers-XOPEN2K): Likewise.
36269 (conformtest-headers-POSIX2008): Likewise.
36270 (conformtest-headers-XOPEN2K8): Likewise.
36271 (conformtest-header-list-base): Likewise.
36272 (conformtest-header-list-tests): Likewise.
36273 (conformtest-header-base): Likewise.
36274 (conformtest-header-tests): Likewise.
36275 (tests-special): Add $(conformtest-header-list-tests). If
36276 [$(fast-check) && !$(cross-compiling)], add
36277 $(conformtest-header-tests) instead of
36278 $(objpfx)run-conformtest.out.
36279 (generated): Add $(conformtest-header-list-base). If
36280 [$(fast-check) && !$(cross-compiling)], add
36281 $(conformtest-header-base). Remove previous setting.
36282 ($(conformtest-header-list-tests)): New target.
36283 (test-xfail-run-conformtest): Remove variable.
36284 ($(objpfx)run-conformtest.out): Remove target.
36285 (test-xfail-ISO11/complex.h/conform): New variable.
36286 (test-xfail-ISO11/stdalign.h/conform): Likewise.
36287 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36288 (test-xfail-XPG3/varargs.h/conform): Likewise.
36289 (test-xfail-XPG4/varargs.h/conform): Likewise.
36290 (test-xfail-UNIX98/varargs.h/conform): Likewise.
36291 (test-xfail-XPG4/ndbm.h/conform): Likewise.
36292 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36293 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36294 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36295 (test-xfail-XPG3/fcntl.h/conform): Likewise.
36296 (test-xfail-XPG3/ftw.h/conform): Likewise.
36297 (test-xfail-XPG3/grp.h/conform): Likewise.
36298 (test-xfail-XPG3/langinfo.h/conform): Likewise.
36299 (test-xfail-XPG3/limits.h/conform): Likewise.
36300 (test-xfail-XPG3/pwd.h/conform): Likewise.
36301 (test-xfail-XPG3/search.h/conform): Likewise.
36302 (test-xfail-XPG3/signal.h/conform): Likewise.
36303 (test-xfail-XPG3/stdio.h/conform): Likewise.
36304 (test-xfail-XPG3/stdlib.h/conform): Likewise.
36305 (test-xfail-XPG3/string.h/conform): Likewise.
36306 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36307 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36308 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36309 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36310 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36311 (test-xfail-XPG3/sys/types.h/conform): Likewise.
36312 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36313 (test-xfail-XPG3/termios.h/conform): Likewise.
36314 (test-xfail-XPG3/time.h/conform): Likewise.
36315 (test-xfail-XPG3/unistd.h/conform): Likewise.
36316 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36317 (test-xfail-XPG4/fcntl.h/conform): Likewise.
36318 (test-xfail-XPG4/langinfo.h/conform): Likewise.
36319 (test-xfail-XPG4/netdb.h/conform): Likewise.
36320 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36321 (test-xfail-XPG4/signal.h/conform): Likewise.
36322 (test-xfail-XPG4/stdio.h/conform): Likewise.
36323 (test-xfail-XPG4/stdlib.h/conform): Likewise.
36324 (test-xfail-XPG4/stropts.h/conform): Likewise.
36325 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36326 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36327 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36328 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36329 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36330 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36331 (test-xfail-XPG4/sys/time.h/conform): Likewise.
36332 (test-xfail-XPG4/sys/types.h/conform): Likewise.
36333 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36334 (test-xfail-XPG4/termios.h/conform): Likewise.
36335 (test-xfail-XPG4/ucontext.h/conform): Likewise.
36336 (test-xfail-XPG4/unistd.h/conform): Likewise.
36337 (test-xfail-XPG4/utmpx.h/conform): Likewise.
36338 (test-xfail-POSIX/sched.h/conform): Likewise.
36339 (test-xfail-POSIX/signal.h/conform): Likewise.
36340 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36341 (test-xfail-POSIX/tar.h/conform): Likewise.
36342 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36343 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36344 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36345 (test-xfail-UNIX98/netdb.h/conform): Likewise.
36346 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
36347 (test-xfail-UNIX98/sched.h/conform): Likewise.
36348 (test-xfail-UNIX98/signal.h/conform): Likewise.
36349 (test-xfail-UNIX98/stdio.h/conform): Likewise.
36350 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
36351 (test-xfail-UNIX98/stropts.h/conform): Likewise.
36352 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
36353 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
36354 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
36355 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
36356 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
36357 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
36358 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
36359 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
36360 (test-xfail-UNIX98/unistd.h/conform): Likewise.
36361 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
36362 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
36363 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
36364 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
36365 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
36366 (test-xfail-XOPEN2K/math.h/conform): Likewise.
36367 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
36368 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
36369 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
36370 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
36371 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
36372 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
36373 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
36374 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
36375 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
36376 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
36377 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
36378 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
36379 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
36380 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
36381 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
36382 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
36383 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
36384 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
36385 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
36386 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
36387 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
36388 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
36389 (test-xfail-POSIX2008/signal.h/conform): Likewise.
36390 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
36391 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
36392 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
36393 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
36394 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
36395 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
36396 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
36397 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
36398 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
36399 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
36400 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
36401 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
36402 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
36403 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
36404 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
36405 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
36406 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
36407 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
36408 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
36409 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
36410 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
36411 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
36412 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
36413 (conformtest-cc-flags): Likewise.
36414 ($(conformtest-header-tests): New target.
36415 * conform/check-header-lists.sh: New file.
36416 * conform/run-conformtest.sh: Remove.
36417
36418 * conform/conformtest.pl: Allow ' and \ in values given for
36419 constants.
36420 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
36421 inclusion.
36422 [POSIX] (sys/types.h): Likewise.
36423 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
36424 inclusion.
36425 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
36426 inclusion.
36427 * conform/data/signal.h-data (SIGIO): Remove expectation.
36428 [XPG3] (SIGBUS): Do not expect.
36429 [POSIX || XPG3] (SIGPOLL): Likewise.
36430 [POSIX || XPG3] (SIGPROF): Likewise.
36431 [POSIX || XPG3] (SIGSYS): Likewise.
36432 [XPG3] (SIGTRAP): Likewise.
36433 [POSIX || XPG3] (SIGURG): Likewise.
36434 [POSIX || XPG3] (SIGVTALRM): Likewise.
36435 [POSIX || XPG3] (SIGXCPU): Likewise.
36436 [POSIX || XPG3] (SIGXFSZ): Likewise.
36437 [POSIX] (SA_SIGINFO): Expect.
36438 [XPG3] (siginfo_t): Do not expect type or contents.
36439 [POSIX] (si_pid): Do not expect element.
36440 [POSIX] (si_uid): Likewise.
36441 [POSIX] (si_addr): Likewise.
36442 [POSIX] (si_status): Likewise.
36443 [POSIX] (si_band): Likewise.
36444 [XPG4] (si_value): Likewise.
36445 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
36446 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
36447 [POSIX || XPG3] (ILL_ILLADR): Likewise.
36448 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
36449 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
36450 [POSIX || XPG3] (ILL_PRVREG): Likewise.
36451 [POSIX || XPG3] (ILL_COPROC): Likewise.
36452 [POSIX || XPG3] (ILL_BADSTK): Likewise.
36453 [POSIX || XPG3] (FPE_INTDIV): Likewise.
36454 [POSIX || XPG3] (FPE_INTOVF): Likewise.
36455 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
36456 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
36457 [POSIX || XPG3] (FPE_FLTUND): Likewise.
36458 [POSIX || XPG3] (FPE_FLTRES): Likewise.
36459 [POSIX || XPG3] (FPE_FLTINV): Likewise.
36460 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
36461 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
36462 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
36463 [POSIX || XPG3] (BUS_ADRALN): Likewise.
36464 [POSIX || XPG3] (BUS_ADRERR): Likewise.
36465 [POSIX || XPG3] (BUS_OBJERR): Likewise.
36466 [POSIX || XPG3] (CLD_EXITED): Likewise.
36467 [POSIX || XPG3] (CLD_KILLED): Likewise.
36468 [POSIX || XPG3] (CLD_DUMPED): Likewise.
36469 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
36470 [POSIX || XPG3] (CLD_STOPPED): Likewise.
36471 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
36472 [POSIX || XPG3] (POLL_IN): Likewise.
36473 [POSIX || XPG3] (POLL_OUT): Likewise.
36474 [POSIX || XPG3] (POLL_MSG): Likewise.
36475 [POSIX || XPG3] (POLL_ERR): Likewise.
36476 [POSIX || XPG3] (POLL_PRI): Likewise.
36477 [POSIX || XPG3] (POLL_HUP): Likewise.
36478 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
36479 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
36480 (SIG*): Do not allow.
36481 [XPG3] (si_*): Likewise.
36482 [XPG3] (SI_*): Likewise.
36483 [XPG3 || XPG4] (sigev_*): Likewise.
36484 [XPG3 || XPG4] (SIGEV_*): Likewise.
36485 [XPG3 || XPG4] (sival_*): Likewise.
36486 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
36487 [POSIX || XPG3] (BUS_*): Likewise.
36488 [POSIX || XPG3] (CLD_*): Likewise.
36489 [POSIX || XPG3] (FPE_*): Likewise.
36490 [POSIX || XPG3] (ILL_*): Likewise.
36491 [POSIX || XPG3] (POLL_*): Likewise.
36492 [POSIX || XPG3] (SEGV_*): Likewise.
36493 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
36494 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
36495 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
36496 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
36497 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
36498 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
36499 Specify type and value.
36500 (TVERSLEN): Likewise.
36501 (REGTYPE): Likewise.
36502 (AREGTYPE): Likewise.
36503 (LNKTYPE): Likewise.
36504 (SYMTYPE): Likewise.
36505 (CHRTYPE): Likewise.
36506 (BLKTYPE): Likewise.
36507 (DIRTYPE): Likewise.
36508 (FIFOTYPE): Likewise.
36509 (CONTTYPE): Likewise.
36510 (TSUID): Likewise.
36511 (TSGID): Likewise.
36512 (TSVTX): Likewise.
36513 (TUREAD): Likewise.
36514 (TUWRITE): Likewise.
36515 (TUEXEC): Likewise.
36516 (TGREAD): Likewise.
36517 (TGWRITE): Likewise.
36518 (TGEXEC): Likewise.
36519 (TOREAD): Likewise.
36520 (TOWRITE): Likewise.
36521 (TOEXEC): Likewise.
36522 [POSIX] (TSVTX): Expect constant.
36523
36524 2014-03-06 Joseph Myers <joseph@codesourcery.com>
36525
36526 * Makefile (tests): Change dependencies to ....
36527 (tests-special): ... additions to this variable.
36528 (tests): Depend on $(tests-special).
36529 * Makerules (check-abi-list): New variable.
36530 (check-abi): Depend on $(check-abi-list).
36531 [$(subdir) = elf] (tests-special): Add
36532 $(objpfx)check-abi-libc.out.
36533 [$(build-shared) = yes && subdir] (tests-special): Add
36534 $(check-abi-list).
36535 [$(build-shared) = yes && subdir] (tests): Do not depend on
36536 check-abi.
36537 * Rules (tests): Depend on $(tests-special).
36538 (xtests): Depend on $(xtests-special).
36539 * catgets/Makefile (tests): Change dependencies to ....
36540 (tests-special): ... additions to this variable.
36541 * conform/Makefile (tests): Change dependencies to ....
36542 (tests-special): ... additions to this variable.
36543 * elf/Makefile (tests): Change dependencies to ....
36544 (tests-special): ... additions to this variable.
36545 * grp/Makefile (tests): Change dependencies to ....
36546 (tests-special): ... additions to this variable.
36547 * iconv/Makefile (xtests): Change dependencies to ....
36548 (xtests-special): ... additions to this variable.
36549 * iconvdata/Makefile (tests): Change dependencies to ....
36550 (tests-special): ... additions to this variable.
36551 * intl/Makefile (tests): Change dependencies to ....
36552 (tests-special): ... additions to this variable. Also add
36553 $(objpfx)tst-gettext.out.
36554 * io/Makefile (tests): Change dependencies to ....
36555 (tests-special): ... additions to this variable.
36556 * libio/Makefile (tests): Change dependencies to ....
36557 (tests-special): ... additions to this variable.
36558 * malloc/Makefile (tests): Change dependencies to ....
36559 (tests-special): ... additions to this variable.
36560 * misc/Makefile (tests): Change dependencies to ....
36561 (tests-special): ... additions to this variable.
36562 * nptl/Makefile (tests): Change dependencies to ....
36563 (tests-special): ... additions to this variable.
36564 * nptl_db/Makefile (tests): Change dependencies to ....
36565 (tests-special): ... additions to this variable.
36566 * posix/Makefile (tests): Change dependencies to ....
36567 (tests-special): ... additions to this variable.
36568 (xtests): Change dependencies to ....
36569 (xtests-special): ... additions to this variable.
36570 * resolv/Makefile (tests): Change dependencies to ....
36571 (tests-special): ... additions to this variable.
36572 (xtests): Change dependencies to ....
36573 (xtests-special): ... additions to this variable.
36574 * stdio-common/Makefile (tests): Change dependencies to ....
36575 (tests-special): ... additions to this variable.
36576 (do-tst-unbputc): Remove target.
36577 (do-tst-printf): Likewise.
36578 * stdlib/Makefile (tests): Change dependencies to ....
36579 (tests-special): ... additions to this variable.
36580 * string/Makefile (tests): Change dependencies to ....
36581 (tests-special): ... additions to this variable.
36582 * sysdeps/x86/Makefile (tests): Change dependencies to ....
36583 (tests-special): ... additions to this variable.
36584
36585 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
36586 whole file.
36587 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
36588 whole file.
36589 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
36590 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
36591
36592 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
36593 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
36594 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
36595 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
36596 * conform/data/libgen.h-data [XPG3]: Likewise.
36597 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
36598 * conform/data/ndbm.h-data [XPG3]: Likewise.
36599 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36600 * conform/data/netdb.h-data [XPG3]: Likewise.
36601 * conform/data/netinet/in.h-data [XPG3]: Likewise.
36602 * conform/data/poll.h-data [XPG3]: Likewise.
36603 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
36604 * conform/data/strings.h-data [XPG3]: Likewise.
36605 * conform/data/stropts.h-data [XPG3]: Likewise.
36606 * conform/data/sys/mman.h-data [XPG3]: Likewise.
36607 * conform/data/sys/resource.h-data [XPG3]: Likewise.
36608 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
36609 Likewise.
36610 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
36611 * conform/data/sys/time.h-data [XPG3]: Likewise.
36612 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
36613 * conform/data/sys/uio.h-data [XPG3]: Likewise.
36614 * conform/data/sys/un.h-data [XPG3]: Likewise.
36615 * conform/data/syslog.h-data [XPG3]: Likewise.
36616 * conform/data/ucontext.h-data [XPG3]: Likewise.
36617 * conform/data/utmpx.h-data [XPG3]: Likewise.
36618 * conform/data/varargs.h-data [UNIX98]: Enable file.
36619
36620 * manual/Makefile (INSTALL_INFO): Remove variable setting.
36621
36622 * math/libm-test.inc (struct test_f_f_data): Move expected results
36623 into structure for each rounding mode.
36624 (struct test_ff_f_data): Likewise.
36625 (struct test_ff_f_data_nexttoward): Likewise.
36626 (struct test_fi_f_data): Likewise.
36627 (struct test_fl_f_data): Likewise.
36628 (struct test_if_f_data): Likewise.
36629 (struct test_fff_f_data): Likewise.
36630 (struct test_c_f_data): Likewise.
36631 (struct test_f_f1_data): Likewise.
36632 (struct test_fF_f1_data): Likewise.
36633 (struct test_ffI_f1_data): Likewise.
36634 (struct test_c_c_data): Likewise.
36635 (struct test_cc_c_data): Likewise.
36636 (struct test_f_i_data): Likewise.
36637 (struct test_ff_i_data): Likewise.
36638 (struct test_f_l_data): Likewise.
36639 (struct test_f_L_data): Likewise.
36640 (struct test_fFF_11_data): Likewise.
36641 (RM_): New macro.
36642 (RM_FE_DOWNWARD): Likewise.
36643 (RM_FE_TONEAREST): Likewise.
36644 (RM_FE_TOWARDZERO): Likewise.
36645 (RM_FE_UPWARD): Likewise.
36646 (RUN_TEST_LOOP_f_f): Update references to expected results.
36647 (RUN_TEST_LOOP_2_f): Likewise.
36648 (RUN_TEST_LOOP_fff_f): Likewise.
36649 (RUN_TEST_LOOP_c_f): Likewise.
36650 (RUN_TEST_LOOP_f_f1): Likewise.
36651 (RUN_TEST_LOOP_fF_f1): Likewise.
36652 (RUN_TEST_LOOP_fI_f1): Likewise.
36653 (RUN_TEST_LOOP_ffI_f1): Likewise.
36654 (RUN_TEST_LOOP_c_c): Likewise.
36655 (RUN_TEST_LOOP_cc_c): Likewise.
36656 (RUN_TEST_LOOP_f_i): Likewise.
36657 (RUN_TEST_LOOP_f_i_tg): Likewise.
36658 (RUN_TEST_LOOP_ff_i_tg): Likewise.
36659 (RUN_TEST_LOOP_f_b): Likewise.
36660 (RUN_TEST_LOOP_f_b_tg): Likewise.
36661 (RUN_TEST_LOOP_f_l): Likewise.
36662 (RUN_TEST_LOOP_f_L): Likewise.
36663 (RUN_TEST_LOOP_fFF_11): Likewise.
36664 * math/gen-libm-test.pl (parse_args): Output four copies of
36665 expected results for each test.
36666
36667 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36668 (__ASSUME_UTIMES): Remove.
36669 * sysdeps/unix/sysv/linux/tile/kernel-features.h
36670 (__ASSUME_UTIMES): Likewise.
36671
36672 * math/gen-auto-libm-tests.c: Update comment on output format.
36673 (output_for_one_input_case): Generate before-rounding and
36674 after-rounding information as conditions on output flags not
36675 floating-point format.
36676 * math/auto-libm-test-out: Regenerated.
36677 * math/gen-libm-test.pl (cond_value): New function.
36678 (or_cond_value): Use cond_value.
36679 (generate_testfile): Handle conditional exceptions.
36680
36681 2014-03-05 Joseph Myers <joseph@codesourcery.com>
36682
36683 * math/libm-test.inc (max_valid_error): New variable.
36684 (init_max_error): Take new argument specifying whether function
36685 results are exactly determined. Set max_valid_error and bound
36686 other variables for errors based on this argument.
36687 (set_max_error): Do not record results above max_valid_error.
36688 (check_float_internal): Only accept errors of up to 0.5ulps if
36689 also at most max_valid_error.
36690 (START): Take new argument EXACT and pass it to init_max_error.
36691 (acos_test): Update call to START.
36692 (acos_test_tonearest): Likewise.
36693 (acos_test_towardzero): Likewise.
36694 (acos_test_downward): Likewise.
36695 (acos_test_upward): Likewise.
36696 (acosh_test): Likewise.
36697 (asin_test): Likewise.
36698 (asin_test_tonearest): Likewise.
36699 (asin_test_towardzero): Likewise.
36700 (asin_test_downward): Likewise.
36701 (asin_test_upward): Likewise.
36702 (asinh_test): Likewise.
36703 (atan_test): Likewise.
36704 (atanh_test): Likewise.
36705 (atan2_test): Likewise.
36706 (cabs_test): Likewise.
36707 (cacos_test): Likewise.
36708 (cacosh_test): Likewise.
36709 (carg_test): Likewise.
36710 (casin_test): Likewise.
36711 (casinh_test): Likewise.
36712 (catan_test): Likewise.
36713 (catanh_test): Likewise.
36714 (cbrt_test): Likewise.
36715 (ccos_test): Likewise.
36716 (ccosh_test): Likewise.
36717 (ceil_test): Likewise.
36718 (cexp_test): Likewise.
36719 (cimag_test): Likewise.
36720 (clog_test): Likewise.
36721 (clog10_test): Likewise.
36722 (conj_test): Likewise.
36723 (copysign_test): Likewise.
36724 (cos_test): Likewise.
36725 (cos_test_tonearest): Likewise.
36726 (cos_test_towardzero): Likewise.
36727 (cos_test_downward): Likewise.
36728 (cos_test_upward): Likewise.
36729 (cosh_test): Likewise.
36730 (cosh_test_tonearest): Likewise.
36731 (cosh_test_towardzero): Likewise.
36732 (cosh_test_downward): Likewise.
36733 (cosh_test_upward): Likewise.
36734 (cpow_test): Likewise.
36735 (cproj_test): Likewise.
36736 (creal_test): Likewise.
36737 (csin_test): Likewise.
36738 (csinh_test): Likewise.
36739 (csqrt_test): Likewise.
36740 (ctan_test): Likewise.
36741 (ctan_test_tonearest): Likewise.
36742 (ctan_test_towardzero): Likewise.
36743 (ctan_test_downward): Likewise.
36744 (ctan_test_upward): Likewise.
36745 (ctanh_test): Likewise.
36746 (ctanh_test_tonearest): Likewise.
36747 (ctanh_test_towardzero): Likewise.
36748 (ctanh_test_downward): Likewise.
36749 (ctanh_test_upward): Likewise.
36750 (erf_test): Likewise.
36751 (erfc_test): Likewise.
36752 (exp_test): Likewise.
36753 (exp_test_tonearest): Likewise.
36754 (exp_test_towardzero): Likewise.
36755 (exp_test_downward): Likewise.
36756 (exp_test_upward): Likewise.
36757 (exp10_test): Likewise.
36758 (exp10_test_tonearest): Likewise.
36759 (exp10_test_towardzero): Likewise.
36760 (exp10_test_downward): Likewise.
36761 (exp10_test_upward): Likewise.
36762 (pow10_test): Likewise.
36763 (exp2_test): Likewise.
36764 (expm1_test): Likewise.
36765 (expm1_test_tonearest): Likewise.
36766 (expm1_test_towardzero): Likewise.
36767 (expm1_test_downward): Likewise.
36768 (expm1_test_upward): Likewise.
36769 (fabs_test): Likewise.
36770 (fdim_test): Likewise.
36771 (floor_test): Likewise.
36772 (fma_test): Likewise.
36773 (fma_test_towardzero): Likewise.
36774 (fma_test_downward): Likewise.
36775 (fma_test_upward): Likewise.
36776 (fmax_test): Likewise.
36777 (fmin_test): Likewise.
36778 (fmod_test): Likewise.
36779 (fpclassify_test): Likewise.
36780 (frexp_test): Likewise.
36781 (hypot_test): Likewise.
36782 (ilogb_test): Likewise.
36783 (isfinite_test): Likewise.
36784 (finite_test): Likewise.
36785 (isgreater_test): Likewise.
36786 (isgreaterequal_test): Likewise.
36787 (isinf_test): Likewise.
36788 (isless_test): Likewise.
36789 (islessequal_test): Likewise.
36790 (islessgreater_test): Likewise.
36791 (isnan_test): Likewise.
36792 (isnormal_test): Likewise.
36793 (issignaling_test): Likewise.
36794 (isunordered_test): Likewise.
36795 (j0_test): Likewise.
36796 (j1_test): Likewise.
36797 (jn_test): Likewise.
36798 (ldexp_test): Likewise.
36799 (lgamma_test): Likewise.
36800 (gamma_test): Likewise.
36801 (lrint_test): Likewise.
36802 (lrint_test_tonearest): Likewise.
36803 (lrint_test_towardzero): Likewise.
36804 (lrint_test_downward): Likewise.
36805 (lrint_test_upward): Likewise.
36806 (llrint_test): Likewise.
36807 (llrint_test_tonearest): Likewise.
36808 (llrint_test_towardzero): Likewise.
36809 (llrint_test_downward): Likewise.
36810 (llrint_test_upward): Likewise.
36811 (log_test): Likewise.
36812 (log10_test): Likewise.
36813 (log1p_test): Likewise.
36814 (log2_test): Likewise.
36815 (logb_test): Likewise.
36816 (logb_test_downward): Likewise.
36817 (lround_test): Likewise.
36818 (llround_test): Likewise.
36819 (modf_test): Likewise.
36820 (nearbyint_test): Likewise.
36821 (nextafter_test): Likewise.
36822 (nexttoward_test): Likewise.
36823 (pow_test): Likewise.
36824 (pow_test_tonearest): Likewise.
36825 (pow_test_towardzero): Likewise.
36826 (pow_test_downward): Likewise.
36827 (pow_test_upward): Likewise.
36828 (remainder_test): Likewise.
36829 (drem_test): Likewise.
36830 (remainder_test_tonearest): Likewise.
36831 (drem_test_tonearest): Likewise.
36832 (remainder_test_towardzero): Likewise.
36833 (drem_test_towardzero): Likewise.
36834 (remainder_test_downward): Likewise.
36835 (drem_test_downward): Likewise.
36836 (remainder_test_upward): Likewise.
36837 (drem_test_upward): Likewise.
36838 (remquo_test): Likewise.
36839 (rint_test): Likewise.
36840 (rint_test_tonearest): Likewise.
36841 (rint_test_towardzero): Likewise.
36842 (rint_test_downward): Likewise.
36843 (rint_test_upward): Likewise.
36844 (round_test): Likewise.
36845 (scalb_test): Likewise.
36846 (scalbn_test): Likewise.
36847 (scalbln_test): Likewise.
36848 (signbit_test): Likewise.
36849 (sin_test): Likewise.
36850 (sin_test_tonearest): Likewise.
36851 (sin_test_towardzero): Likewise.
36852 (sin_test_downward): Likewise.
36853 (sin_test_upward): Likewise.
36854 (sincos_test): Likewise.
36855 (sinh_test): Likewise.
36856 (sinh_test_tonearest): Likewise.
36857 (sinh_test_towardzero): Likewise.
36858 (sinh_test_downward): Likewise.
36859 (sinh_test_upward): Likewise.
36860 (sqrt_test): Likewise.
36861 (sqrt_test_tonearest): Likewise.
36862 (sqrt_test_towardzero): Likewise.
36863 (sqrt_test_downward): Likewise.
36864 (sqrt_test_upward): Likewise.
36865 (tan_test): Likewise.
36866 (tan_test_tonearest): Likewise.
36867 (tan_test_towardzero): Likewise.
36868 (tan_test_downward): Likewise.
36869 (tan_test_upward): Likewise.
36870 (tanh_test): Likewise.
36871 (tgamma_test): Likewise.
36872 (trunc_test): Likewise.
36873 (y0_test): Likewise.
36874 (y1_test): Likewise.
36875 (yn_test): Likewise.
36876 (significand_test): Likewise.
36877
36878 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36879 individual tests in comment.
36880 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36881 (prev_max_error): New variable.
36882 (prev_real_max_error): Likewise.
36883 (prev_imag_max_error): Likewise.
36884 (compare_ulp_data): Don't refer to test names in comment.
36885 (find_test_ulps): Remove function.
36886 (find_function_ulps): Likewise.
36887 (find_complex_function_ulps): Likewise.
36888 (init_max_error): Take function name as argument. Look up ulps
36889 for that function.
36890 (print_ulps): Remove function.
36891 (print_max_error): Use prev_max_error instead of calling
36892 find_function_ulps.
36893 (print_complex_max_error): Use prev_real_max_error and
36894 prev_imag_max_error instead of calling find_complex_function_ulps.
36895 (check_float_internal): Take max_ulp parameter instead of calling
36896 find_test_ulps. Don't call print_ulps.
36897 (check_float): Update call to check_float_internal.
36898 (check_complex): Update calls to check_float_internal.
36899 (START): Pass argument to init_max_error.
36900 * math/gen-libm-test.pl (%results): Don't include "kind"
36901 information.
36902 (parse_ulps): Don't handle ulps of individual tests.
36903 (print_ulps_file): Likewise.
36904 (output_ulps): Likewise.
36905 * math/README.libm-test: Update.
36906 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36907 individual tests.
36908 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36909 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36910 * sysdeps/arm/libm-test-ulps: Likewise.
36911 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36912 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36913 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36914 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36915 * sysdeps/microblaze/libm-test-ulps: Likewise.
36916 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36917 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36919 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36920 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36921 * sysdeps/sh/libm-test-ulps: Likewise.
36922 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36923 * sysdeps/tile/libm-test-ulps: Likewise.
36924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36925
36926 2014-03-04 Joseph Myers <joseph@codesourcery.com>
36927
36928 * math/libm-test.inc (print_complex_max_error): Check separately
36929 whether real and imaginary errors are within allowed range and
36930 pass 0 to print_complex_function_ulps instead of value within
36931 allowed range.
36932
36933 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36934
36935 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36936 formatting.
36937 (get_handles_fopen): Likewise.
36938 (do_write_test): Likewise.
36939
36940 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36941
36942 * libio/fileops.c (do_ftell): Use cached offset when
36943 available.
36944 * libio/iofwide.c (do_ftell_wide): Likewise.
36945 * libio/iofdopen.c (_IO_new_fdopen): Don't use
36946 _IO_file_attach.
36947 * libio/wfileops.c (_IO_fwide): Don't cache offset.
36948
36949 [BZ #16532]
36950 * libio/libioP.h (get_file_offset): New function.
36951 * libio/fileops.c (get_file_offset): Likewise.
36952 (do_ftell): Likewise.
36953 (_IO_new_file_seekoff): Split out ftell logic.
36954 * libio/wfileops.c (do_ftell_wide): Likewise.
36955 (_IO_wfile_seekoff): Split out ftell logic.
36956 * libio/tst-ftell-active-handler.c: New test case.
36957 * libio/Makefile (tests): Add it.
36958
36959 2014-03-03 Roland McGrath <roland@hack.frob.com>
36960
36961 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36962 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36963
36964 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36965
36966 [BZ #16639]
36967 * nscd/connections.c (nscd_init): Call do_exit.
36968 (start_threads): Call do_exit and notify_parent.
36969 (begin_drop_privileges): Call do_exit.
36970 (finish_drop_privileges): Likewise.
36971 * nscd/selinux.c (preserve_capabilities): Likewise.
36972 (install_real_capabilities): Likewise.
36973 (nscd_selinux_enabled): Likewise.
36974 (avc_create_thread): Likewise.
36975 (avc_alloc_lock): Likewise.
36976 (nscd_avc_init): Likewise.
36977 * nscd/nscd.c (parent_fd): New static variable.
36978 (main): Create a pipe between parent and child processes.
36979 Skip closing parent_fd.
36980 (monitor_child): New function.
36981 (do_exit): Likewise.
36982 (notify_parent): Likewise.
36983 * nscd/nscd.h (notify_parent): Likewise.
36984 (do_exit): Likewise.
36985
36986 2014-03-03 Carlos O'Donell <carlos@redhat.com>
36987
36988 * malloc/malloc.c (__libc_calloc): Revert last change.
36989
36990 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36991
36992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36993
36994 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36995
36996 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36998 implementation.
36999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37000 (__libc_ifunc_impl_list): Likewise.
37001 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37002 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37003 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37004 * string/strrchr.c: Define STRRCHR.
37005
37006 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
37007
37008 * benchtest/bench-strtok.c (simple_strtok): Delete.
37009 (strtok_string): Use as benchmark.
37010 * string/strtok (STRTOK): New macro.
37011
37012 2014-02-28 Carlos O'Donell <carlos@redhat.com>
37013
37014 * manual/threads.texi: Add header and standard comments to all
37015 functions.
37016
37017 * elf/dl-lookup.c (check_match): New function.
37018 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37019 (do_lookup_x): Remove nested function check_match. Use non-nested
37020 function check_match.
37021
37022 2014-02-28 Roland McGrath <roland@hack.frob.com>
37023
37024 * csu/Makefile (generated, before-compile): Use += rather than =.
37025 * catgets/Makefile (generated, generated-dirs): Likewise.
37026 * debug/Makefile (generated): Likewise.
37027 * dlfcn/Makefile (generated): Likewise.
37028 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37029 * iconvdata/Makefile (before-compile, generated): Likewise.
37030 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37031 * libio/Makefile (generated): Likewise.
37032 * malloc/Makefile (generated): Likewise.
37033 * manual/Makefile (generated, generated-dirs): Likewise.
37034 * misc/Makefile (generated): Likewise.
37035 * posix/Makefile (generated): Likewise.
37036 * resolv/Makefile (generated): Likewise.
37037 * sunrpc/Makefile (generated, generated-dirs): Likewise.
37038 * timezone/Makefile (generated, generated-dirs): Likewise.
37039
37040 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37041
37042 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37043
37044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37045 power8 implementation.
37046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37047 file: POWER8 llround ifunc implementation.
37048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37049 (__lllround): Add POWER8 implementation.
37050 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37051 POWER8 llround implementation.
37052
37053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37054 power8 implementation.
37055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37056 file: POWER8 llrint ifunc implementation.
37057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37058 Add POWER8 implementation.
37059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37060 POWER8 llrint implementation.
37061
37062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37063 power8 implementation.
37064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37065 file: POWER8 finite ifunc implementation.
37066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37067 Add POWER8 implementation.
37068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37069 Likewise.
37070 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37071 POWER8 finite implementation.
37072 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37073
37074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37075 power8 implementation.
37076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37077 file: POWER8 isinf ifunc implementation.
37078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37079 POWER8 implementation.
37080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37081 Likewise.
37082 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37083 isinf implementation.
37084 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37085
37086 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37087 (INIT_ARCH): Add hwcap2 initialization.
37088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37089 power8 implementation.
37090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37091 file: POWER8 isnan ifunc implementation.
37092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37093 POWER8 implementation.
37094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37095 Likewise.
37096 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37097 isnan implementation.
37098 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37099
37100 2014-02-27 Joey Ye <joey.ye@arm.com>
37101
37102 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37103 (_FP_NANFRAC_Q): Set to zero.
37104
37105 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37106
37107 [BZ #16623]
37108 * math/auto-libm-test-in: New test inputs.
37109 * math/auto-libm-test-out: Regenerate.
37110 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37111 and DA.
37112 (__cos): Likewise.
37113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37114
37115 2014-02-27 Joseph Myers <joseph@codesourcery.com>
37116
37117 * scripts/evaluate-test.sh: Take new argument indicating whether
37118 failure is expected.
37119 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37120 indicating whether failure is expected.
37121 * conform/Makefile (test-xfail-run-conformtest): New variable.
37122 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37123 level.
37124 * posix/Makefile (test-xfail-annexc): New variable.
37125 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37126
37127 2014-02-26 Joseph Myers <joseph@codesourcery.com>
37128
37129 * argp/Makefile: Include Makeconfig immediately after defining
37130 subdir.
37131 * assert/Makefile: Likewise.
37132 * benchtests/Makefile: Likewise.
37133 * catgets/Makefile: Likewise.
37134 * conform/Makefile: Likewise.
37135 * crypt/Makefile: Likewise.
37136 * csu/Makefile: Likewise.
37137 (all): Remove target.
37138 * ctype/Makefile: Include Makeconfig immediately after defining
37139 subdir.
37140 * debug/Makefile: Likewise.
37141 * dirent/Makefile: Likewise.
37142 * dlfcn/Makefile: Likewise.
37143 * gmon/Makefile: Likewise.
37144 * gnulib/Makefile: Likewise.
37145 * grp/Makefile: Likewise.
37146 * gshadow/Makefile: Likewise.
37147 * hesiod/Makefile: Likewise.
37148 * hurd/Makefile: Likewise.
37149 (all): Remove target.
37150 * iconvdata/Makefile: Include Makeconfig immediately after
37151 defining subdir.
37152 * inet/Makefile: Likewise.
37153 * intl/Makefile: Likewise.
37154 * io/Makefile: Likewise.
37155 * libio/Makefile: Likewise.
37156 (all): Remove target.
37157 * locale/Makefile: Include Makeconfig immediately after defining
37158 subdir.
37159 * login/Makefile: Likewise.
37160 * mach/Makefile: Likewise.
37161 (all): Remove target.
37162 * malloc/Makefile: Include Makeconfig immediately after defining
37163 subdir.
37164 (all): Remove target.
37165 * manual/Makefile: Include Makeconfig immediately after defining
37166 subdir.
37167 * math/Makefile: Likewise.
37168 * misc/Makefile: Likewise.
37169 * nis/Makefile: Likewise.
37170 * nss/Makefile: Likewise.
37171 * po/Makefile: Likewise.
37172 (all): Remove target.
37173 * posix/Makefile: Include Makeconfig immediately after defining
37174 subdir.
37175 * pwd/Makefile: Likewise.
37176 * resolv/Makefile: Likewise.
37177 * resource/Makefile: Likewise.
37178 * rt/Makefile: Likewise.
37179 * setjmp/Makefile: Likewise.
37180 * shadow/Makefile: Likewise.
37181 * signal/Makefile: Likewise.
37182 * socket/Makefile: Likewise.
37183 * soft-fp/Makefile: Likewise.
37184 * stdio-common/Makefile: Likewise.
37185 * stdlib/Makefile: Likewise.
37186 * streams/Makefile: Likewise.
37187 * string/Makefile: Likewise.
37188 * sunrpc/Makefile: Likewise.
37189 (all): Remove target.
37190 * sysvipc/Makefile: Include Makeconfig immediately after defining
37191 subdir.
37192 * termios/Makefile: Likewise.
37193 * time/Makefile: Likewise.
37194 * timezone/Makefile: Likewise.
37195 (all): Remove target.
37196 * wcsmbs/Makefile: Include Makeconfig immediately after defining
37197 subdir.
37198 * wctype/Makefile: Likewise.
37199
37200 2014-02-26 Steve Ellcey <sellcey@mips.com>
37201
37202 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37203 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37204 (libc_feholdexcept_setround_mips): Ditto.
37205 (libc_feholdsetround): New.
37206 (libc_feholdsetroundf): New.
37207 (libc_feholdsetroundl): New.
37208 (libc_feupdateenv_test_mips): New.
37209 (libc_feupdateenv_test): New.
37210 (libc_feupdateenv_testf): New.
37211 (libc_feupdateenv_testl): New.
37212 (libc_feresetround): New.
37213 (libc_feresetroundf): New.
37214 (libc_feresetroundl): New.
37215 (libc_fetestexcept_mips): New.
37216 (libc_fetestexcept): New.
37217 (libc_fetestexceptf): New.
37218 (libc_fetestexceptl): New.
37219 (HAVE_RM_CTX): New.
37220 (libc_feholdexcept_setround_mips_ctx): New.
37221 (libc_feholdexcept_setround_ctx): New.
37222 (libc_feholdexcept_setroundf_ctx): New.
37223 (libc_feholdexcept_setroundl_ctx): New.
37224 (libc_fesetenv_mips_ctx): New.
37225 (libc_fesetenv_ctx): New.
37226 (libc_fesetenv_ctxf): New.
37227 (libc_fesetenv_ctxl): New.
37228 (libc_feupdateenv_mips_ctx): New.
37229 (libc_feupdateenv_ctx): New.
37230 (libc_feupdateenvf_ctx): New.
37231 (libc_feupdateenvl_ctx): New.
37232 (libc_feholdsetround_mips_ctx): New.
37233 (libc_feholdsetround_ctx): New.
37234 (libc_feholdsetroundf_ctx): New.
37235 (libc_feholdsetroundl_ctx): New.
37236 (libc_feresetround_mips_ctx): New.
37237 (libc_feresetround_ctx): New.
37238 (libc_feresetroundf_ctx): New.
37239 (libc_feresetroundl_ctx): New.
37240
37241 2014-02-26 Carlos O'Donell <carlos@redhat.com>
37242
37243 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37244
37245 * manual/ipc.texi: New file.
37246 * manual/Makefile (chapters): Add ipc.
37247 * manual/job.texi: Add "Inter-Process Communication" to next.
37248 * manual/process.texi: Add "Inter-Process Communication" to prev.
37249
37250 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37251
37252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37253
37254 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
37255
37256 * malloc/malloc.c (__libc_calloc): Simplify implementation.
37257
37258 * manual/arith.texi: Fix spaces after sentences.
37259 * manual/charset.texi: Likewise.
37260 * manual/errno.texi: Likewise.
37261 * manual/install.texi: Likewise.
37262 * manual/llio.texi: Likewise.
37263 * manual/locale.texi: Likewise.
37264 * manual/maint.texi: Likewise.
37265 * manual/math.texi: Likewise.
37266 * manual/memory.texi: Likewise.
37267 * manual/message.texi: Likewise.
37268 * manual/probes.texi: Likewise.
37269 * manual/resource.texi: Likewise.
37270 * manual/signal.texi: Likewise.
37271 * manual/socket.texi: Likewise.
37272 * manual/stdio.texi: Likewise.
37273 * manual/string.texi: Likewise.
37274 * manual/time.texi: Likewise.
37275 * manual/users.texi: Likewise.
37276
37277 2014-02-25 Carlos O'Donell <carlos@redhat.com>
37278
37279 [BZ #16632]
37280 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37281 _DEFAULT_SOURCE is defined.
37282
37283 2014-02-25 Ulrich Drepper <drepper@gmail.com>
37284 Carlos O'Donell <carlos@redhat.com>
37285
37286 [BZ #16613]
37287 * elf/dl-tls.c (_dl_count_modids): New function.
37288 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37289 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37290 audit library and increment generation counter.
37291 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37292 * elf/tst-audit9.c: New file.
37293 * elf/tst-auditmod9a.c: New file.
37294 * elf/tst-auditmod9b.c: New file.
37295 * elf/Makefile: Add rules to build and run tst-audit9.
37296
37297 2014-02-25 Florian Weimer <fweimer@redhat.com>
37298
37299 [BZ #15347]
37300 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37301
37302 2014-02-25 Will Newton <will.newton@linaro.org>
37303
37304 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37305 (__longjmp): Restore sp and lr before restoring callee
37306 saved registers. Add longjmp and longjmp_target
37307 SystemTap probe point.
37308 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37309 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37310 Define to zero to match jmpbuf layout.
37311 * sysdeps/arm/setjmp.S: Include stap-probe.h.
37312 (__sigsetjmp): Save sp and lr before saving callee
37313 saved registers. Add setjmp SystemTap probe point.
37314
37315 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37316
37317 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37318
37319 2014-02-24 Andreas Schwab <schwab@suse.de>
37320
37321 [BZ #15804]
37322 * elf/pldd.c (wait_for_ptrace_stop): New function.
37323 (main): Call it after attaching.
37324
37325 2014-02-22 Roland McGrath <roland@hack.frob.com>
37326
37327 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37328 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37329 Versions files is now verboten.
37330 * hurd/Versions (libc: GLIBC_2.0):
37331 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37332 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37333 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37334 * mach/Versions: Likewise.
37335
37336 * csu/Versions: Remove unused %include.
37337 * resolv/Versions: Likewise.
37338
37339 2014-02-21 Joseph Myers <joseph@codesourcery.com>
37340
37341 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37342 ($(objpfx)check-local-headers.out): Likewise.
37343 ($(objpfx)begin-end-check.out): Likewise.
37344 * Makerules (check-abi-%.out): Likewise.
37345 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
37346 ($(objpfx)test2.cat): Likewise.
37347 ($(objpfx)de/libc.cat): Likewise.
37348 ($(objpfx)test-gencat.out): Likewise.
37349 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
37350 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
37351 ($(objpfx)noload-mem): Likewise.
37352 ($(objpfx)tst-pathopt.out): Likewise.
37353 ($(objpfx)tst-rtld-load-self.out): Likewise.
37354 ($(objpfx)tst-array1-cmp.out): Likewise.
37355 ($(objpfx)tst-array1-static-cmp.out): Likewise.
37356 ($(objpfx)tst-array2-cmp.out): Likewise.
37357 ($(objpfx)tst-array3-cmp.out): Likewise.
37358 ($(objpfx)tst-array4-cmp.out): Likewise.
37359 ($(objpfx)tst-array5-cmp.out): Likewise.
37360 ($(objpfx)tst-array5-static-cmp.out): Likewise.
37361 ($(objpfx)check-textrel.out): Likewise.
37362 ($(objpfx)check-execstack.out): Likewise.
37363 ($(objpfx)check-localplt.out): Likewise.
37364 ($(objpfx)order2-cmp.out): Likewise.
37365 ($(objpfx)tst-leaks1-mem): Likewise.
37366 ($(objpfx)tst-leaks1-static-mem): Likewise.
37367 ($(objpfx)tst-initorder-cmp.out): Likewise.
37368 ($(objpfx)tst-initorder2-cmp.out): Likewise.
37369 ($(objpfx)tst-unused-dep.out): Likewise.
37370 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
37371 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37372 * iconv/Makefile (test-iconvconfig): Likewise.
37373 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
37374 ($(objpfx)iconv-test.out): Likewise.
37375 ($(objpfx)tst-tables.out): Likewise.
37376 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
37377 ($(objpfx)tst-gettext.out): Likewise.
37378 ($(objpfx)tst-translit.out): Likewise.
37379 ($(objpfx)tst-gettext2.out): Likewise.
37380 ($(objpfx)tst-gettext4.out): Likewise.
37381 ($(objpfx)tst-gettext6.out): Likewise.
37382 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
37383 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37384 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
37385 ($(objpfx)tst-fopenloc-mem.out): Likewise.
37386 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37387 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
37388 * posix/Makefile ($(objpfx)globtest.out): Likewise.
37389 ($(objpfx)wordexp-tst.out): Likewise.
37390 ($(objpfx)annexc.out): Likewise.
37391 ($(objpfx)tst-fnmatch-mem): Likewise.
37392 ($(objpfx)bug-regex2-mem): Likewise.
37393 ($(objpfx)bug-regex14-mem): Likewise.
37394 ($(objpfx)bug-regex21-mem): Likewise.
37395 ($(objpfx)bug-regex31-mem): Likewise.
37396 ($(objpfx)tst-vfork3-mem): Likewise.
37397 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37398 ($(objpfx)tst-pcre-mem): Likewise.
37399 ($(objpfx)tst-boost-mem): Likewise.
37400 ($(objpfx)tst-getconf.out): Likewise.
37401 ($(objpfx)bug-ga2-mem): Likewise.
37402 ($(objpfx)bug-glob2-mem): Likewise.
37403 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
37404 ($(objpfx)mtrace-tst-leaks2): Likewise.
37405 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
37406 ($(objpfx)tst-printf.out): Likewise.
37407 ($(objpfx)tst-setvbuf1.out): Likewise.
37408 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
37409 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
37410 ($(objpfx)tst-fmtmsg.out): Likewise.
37411 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
37412 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
37413
37414 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
37415 * bits/sigaction.h [__USE_MISC]: Likewise.
37416 * bits/waitstatus.h: Update #endif comments.
37417 * ctype/ctype.h: Likewise.
37418 * dirent/dirent.h: Likewise.
37419 [__USE_MISC]: Remove redundant conditionals.
37420 * grp/grp.h: Update #endif comments.
37421 [__USE_GNU]: Remove redundant conditionals.
37422 [__USE_MISC]: Likewise.
37423 * inet/netinet/in.h [__USE_GNU]: Likewise.
37424 * io/sys/stat.h [__USE_MISC]: Likewise.
37425 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
37426 * libio/bits/stdio.h: Update #endif comments.
37427 [__USE_MISC]: Remove redundant conditionals.
37428 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
37429 * libio/stdio.h: Update #endif comments.
37430 [__USE_MISC]: Remove redundant conditionals.
37431 * math/bits/math-finite.h [__USE_MISC]: Likewise.
37432 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
37433 * math/math.h: Update #else and #endif comments.
37434 [__USE_MISC]: Remove redundant conditionals.
37435 * misc/sys/uio.h: Update #endif comments.
37436 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
37437 * posix/glob.h [__USE_MISC]: Likewise.
37438 * posix/sys/types.h: Update #endif comments.
37439 [__USE_MISC]: Remove redundant conditionals.
37440 * posix/sys/wait.h: Update #endif comments.
37441 [__USE_MISC]: Remove redundant conditionals.
37442 * posix/unistd.h: Update #endif comments.
37443 [__USE_MISC]: Remove redundant conditionals.
37444 * pwd/pwd.h [__USE_GNU]: Likewise.
37445 [__USE_MISC]: Likewise.
37446 * resolv/netdb.h [__USE_GNU]: Likewise.
37447 * signal/signal.h: Update #endif comments.
37448 [__USE_MISC]: Remove redundant conditionals.
37449 * stdlib/stdlib.h: Update #else and #endif comments.
37450 [__USE_MISC]: Remove redundant conditionals.
37451 [__USE_GNU]: Likewise.
37452 * string/bits/string2.h [__USE_MISC]: Likewise.
37453 * string/string.h: Update #endif comments.
37454 [__USE_MISC]: Remove redundant conditionals.
37455 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
37456 Likewise.
37457 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
37458 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
37459 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
37460 Likewise.
37461 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
37462 Likewise.
37463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
37464 comments.
37465 [__USE_MISC]: Remove redundant conditionals.
37466 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
37467 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
37468 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
37469 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
37470 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
37471 Likewise.
37472 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
37473 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
37474 Likewise.
37475 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
37476 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
37477 Likewise.
37478 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
37479 Likewise.
37480 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
37481 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
37482 Likewise.
37483 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
37484 Likewise.
37485 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
37486 * sysdeps/x86/bits/string.h: Update #endif comments.
37487 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
37488 conditionals.
37489 * time/sys/time.h: Update #endif comments.
37490 * time/time.h: Likewise.
37491 [__USE_MISC]: Remove redundant conditionals.
37492
37493 2014-02-21 Yury Gribov <y.gribov@samsung.com>
37494
37495 [BZ #16600]
37496 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
37497
37498 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
37499
37500 * Versions.def (librt): Add GLIBC_2.17.
37501
37502 2014-02-21 Adam Conrad <adconrad@0c3.net>
37503
37504 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
37505 synonym for _SYS_AUXV_H to allow direct inclusion.
37506 * sysdeps/sparc/bits/hwcap.h: Likewise.
37507 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
37508 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
37509 * sysdeps/sparc/sysdep.h: Likewise.
37510
37511 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37512
37513 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
37514
37515 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37516
37517 * benchtests/bench-strrchr.c: Print length instead of position.
37518
37519 2014-02-20 Joseph Myers <joseph@codesourcery.com>
37520
37521 [BZ #16611]
37522 * sysdeps/unix/sysv/linux/kernel-features.h
37523 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
37524 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
37525 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
37526 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
37527 Likewise.
37528 [__i386__ || __powerpc__ || __sh__ || __sparc__]
37529 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37530 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
37531 (__ASSUME_SENDMMSG): Define instead of using previous
37532 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
37533 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37534 (__ASSUME_SENDMMSG_SYSCALL): Define.
37535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37536 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
37537 Likewise.
37538 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37539 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37540 Likewise.
37541 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37542 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37543 Likewise.
37544 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
37545 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37546 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37547 [__ASSUME_SENDMMSG]: Change conditionals to
37548 [__ASSUME_SENDMMSG_SOCKETCALL].
37549 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37550 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
37551 Define.
37552 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37553 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
37554 Likewise.
37555 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
37556 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
37557 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
37558 [!__ASSUME_SENDMMSG]: Change conditional to
37559 [!__ASSUME_SENDMMSG_SOCKETCALL].
37560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37561 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
37562 Define.
37563
37564 [BZ #16610]
37565 * sysdeps/unix/sysv/linux/kernel-features.h
37566 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
37567 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
37568 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
37569 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
37570 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37571 [__i386__ || __sparc__]
37572 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37573 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
37574 (__ASSUME_RECVMMSG): Define instead of using previous
37575 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
37576 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37577 (__ASSUME_RECVMMSG_SYSCALL): Define.
37578 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37579 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37580 Likewise.
37581 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37582 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37583 Likewise.
37584 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37586 Likewise.
37587 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
37588 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37589 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37590 [__ASSUME_RECVMMSG]: Change condition to
37591 [__ASSUME_RECVMMSG_SOCKETCALL].
37592 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37593 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37594 Define.
37595 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37596 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37597 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
37598 Likewise.
37599 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
37600 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
37601 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
37602 [!__ASSUME_RECVMMSG]: Change condition to
37603 [!__ASSUME_RECVMMSG_SOCKETCALL].
37604 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37605 (__ASSUME_RECVMMSG_SYSCALL): Define.
37606
37607 [BZ #16609]
37608 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
37609 __powerpc__ || __s390__ || __sh__ || __sparc__]
37610 (__ASSUME_SOCKETCALL): Define.
37611 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
37612 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
37613 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
37614 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
37615 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37616 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37617 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
37618 (__ASSUME_ACCEPT4): Define instead of using previous
37619 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
37620 __powerpc__ || __sparc__ || __s390__)] condition.
37621 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37622 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37623 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
37624 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37625 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37626 [!__ASSUME_ACCEPT4]: Change condition to
37627 [!__ASSUME_ACCEPT4_SOCKETCALL].
37628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37629 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
37630 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
37631 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37632 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
37633 __ASSUME_ACCEPT4_SYSCALL.
37634 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
37635 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
37636 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37637 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
37638 __ASSUME_ACCEPT4_SYSCALL.
37639 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
37640 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
37641 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
37642 [__ASSUME_ACCEPT4]: Change condition to
37643 [__ASSUME_ACCEPT4_SOCKETCALL].
37644 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37645 (__ASSUME_SOCKETCALL): Define.
37646 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
37647 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37648 (__ASSUME_SOCKETCALL): Define.
37649 (__ASSUME_ACCEPT4): Remove.
37650 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
37651 Define.
37652 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37653 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
37654 Likewise.
37655 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37656 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
37657
37658 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
37659 macro.
37660 (HWCAP_ARM_LPAE): Likewise.
37661 (HWCAP_ARM_EVTSTRM): Likewise.
37662 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
37663 Add vpfd32, lpae and evtstrm.
37664 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
37665 Increase to 22.
37666
37667 2014-02-19 Joseph Myers <joseph@codesourcery.com>
37668
37669 * math/auto-libm-test-in: Add tests of clog10.
37670 * math/auto-libm-test-out: Regenerated.
37671 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
37672 * sysdeps/i386/fpu/libm-test-ulps: Update.
37673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37674
37675 2014-02-18 Andreas Schwab <schwab@suse.de>
37676
37677 [BZ #16574]
37678 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
37679 Store non-zero if the second buffer was newly allocated.
37680 (send_dg): Likewise.
37681 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
37682 to send_vc and send_dg.
37683 (res_nsend): Pass NULL for ansp2_malloced.
37684 * resolv/res_query.c (__libc_res_nquery): Add parameter
37685 answerp2_malloced and pass it down to __libc_res_nsend.
37686 (res_nquery): Pass additional NULL to __libc_res_nquery.
37687 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
37688 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
37689 second answer buffer if answerp2_malloced was set.
37690 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
37691 (__libc_res_nquerydomain): Add parameter
37692 answerp2_malloced and pass it down to __libc_res_nquery.
37693 (res_nquerydomain): Pass additional NULL to
37694 __libc_res_nquerydomain.
37695 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
37696 additional NULL to __libc_res_nsend and __libc_res_nquery.
37697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
37698 additional NULL to __libc_res_nsearch.
37699 (_nss_dns_gethostbyname4_r): Revert last change. Use new
37700 parameter of __libc_res_nsearch to check for separately allocated
37701 second buffer.
37702 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
37703 __libc_res_nquery.
37704 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
37705 additional NULL to __libc_res_nquery.
37706 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
37707 __libc_res_nsearch.
37708 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
37709 * include/resolv.h: Update prototypes of __libc_res_nquery,
37710 __libc_res_nsearch, __libc_res_nsend.
37711
37712 2014-02-18 Joseph Myers <joseph@codesourcery.com>
37713
37714 * math/auto-libm-test-in: Add tests of fma.
37715 * math/auto-libm-test-out: Regenerated.
37716 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
37717 (fma_towardzero_test_data): Likewise.
37718 (fma_downward_test_data): Likewise.
37719 (fma_upward_test_data): Likewise.
37720 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
37721 mpc_mode.
37722 (rounding_modes): Add values for new field.
37723 (func_calc_method): Add value mpfr_fff_f.
37724 (func_calc_desc): Add mpfr_fff_f union field.
37725 (test_function): Add field exact_args.
37726 (FUNC): Add macro argument EXACT_ARGS.
37727 (FUNC_mpfr_f_f): Update call to FUNC.
37728 (FUNC_mpfr_f_f): Likewise.
37729 (FUNC_mpfr_ff_f): Likewise.
37730 (FUNC_mpfr_if_f): Likewise.
37731 (FUNC_mpc_c_f): Likewise.
37732 (FUNC_mpc_c_c): Likewise.
37733 (test_functions): Add fma. Update calls to FUNC.
37734 (handle_input_arg): Add argument exact_args.
37735 (add_test): Update call to handle_input_arg.
37736 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
37737 (output_for_one_input_case): Update call to calc_generic_results.
37738 Recalculate exact zero results in each rounding mode.
37739
37740 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
37741 non-negative before setting low bit.
37742 * math/auto-libm-test-in: Mark one asin test possibly having
37743 spurious underflow.
37744 * math/auto-libm-test-out: Regenerated.
37745 * sysdeps/i386/fpu/libm-test-ulps: Update.
37746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37747
37748 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
37749
37750 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
37751 * sysdeps/unix/sysv/linux/microblaze: Move directory from
37752 ports/sysdeps/unix/sysv/linux/microblaze.
37753 * README: Add missing listing for microblaze*-*-linux-gnu.
37754
37755 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
37756
37757 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
37758 duplicate code
37759
37760 2014-02-16 Mike Frysinger <vapier@gentoo.org>
37761
37762 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
37763 * sysdeps/unix/sysv/linux/ia64: Move directory from
37764 ports/sysdeps/unix/sysv/linux/ia64.
37765 * README: Update listing for ia64-*-linux-gnu.
37766
37767 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
37768 Joseph Myers <joseph@codesourcery.com>
37769
37770 * Makeconfig (test-name): New variable.
37771 (evaluate-test): Likewise.
37772 * Makerules (do-test-clean): Remove .test-result files.
37773 (common-mostlyclean): Likewise.
37774 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
37775 * scripts/evaluate-test.sh: New file.
37776
37777 2014-02-14 Joseph Myers <joseph@codesourcery.com>
37778
37779 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
37780 separate $(objpfx)tst-fopenloc-cmp.out and
37781 $(objpfx)tst-fopenloc-mem.out targets.
37782 (tests): Update dependencies.
37783 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
37784 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
37785 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
37786 (tst-rxspencer-no-utf8-ARGS): New variable.
37787 (tst-rxspencer-no-utf8-ENV): Likewise.
37788 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
37789 instead of $(objpfx)tst-rxspencer-mem.
37790 ($(objpfx)tst-rxspencer-mem): Change target to
37791 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
37792 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
37793 * posix/tst-rxspencer-no-utf8.c: New file.
37794
37795 * elf/Makefile ($(objpfx)order.out): Remove rule.
37796 [$(run-built-tests) = yes] (tests): Depend on
37797 $(objpfx)order-cmp.out.
37798 ($(objpfx)order-cmp.out): New rule.
37799 [$(run-built-tests) = yes] (tests): Depend on
37800 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
37801 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
37802 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
37803 $(objpfx)tst-array5-static-cmp.out.
37804 ($(objpfx)tst-array1.out): Remove rule.
37805 ($(objpfx)tst-array1-cmp.out): New rule.
37806 ($(objpfx)tst-array1-static.out): Remove rule.
37807 ($(objpfx)tst-array1-static-cmp.out): New rule.
37808 ($(objpfx)tst-array2.out): Remove rule.
37809 ($(objpfx)tst-array2-cmp.out): New rule.
37810 ($(objpfx)tst-array3.out): Remove rule.
37811 ($(objpfx)tst-array3-cmp.out): New rule.
37812 ($(objpfx)tst-array4.out): Remove rule.
37813 ($(objpfx)tst-array4-cmp.out): New rule.
37814 ($(objpfx)tst-array5.out): Remove rule.
37815 ($(objpfx)tst-array5-cmp.out): New rule.
37816 ($(objpfx)tst-array5-static.out): Remove rule.
37817 ($(objpfx)tst-array5-static-cmp.out): New rule.
37818 [$(run-built-tests) = yes] (tests): Depend on
37819 $(objpfx)order2-cmp.out.
37820 ($(objpfx)order2.out): Remove rule.
37821 ($(objpfx)order2-cmp.out): New rule.
37822 ($(objpfx)tst-initorder.out): Remove rule.
37823 [$(run-built-tests) = yes] (tests): Depend on
37824 $(objpfx)tst-initorder-cmp.out.
37825 ($(objpfx)tst-initorder-cmp.out): New rule.
37826 ($(objpfx)tst-initorder2.out): Remove rule.
37827 [$(run-built-tests) = yes] (tests): Depend on
37828 $(objpfx)tst-initorder2-cmp.out.
37829 ($(objpfx)tst-initorder2-cmp.out): New rule.
37830 [$(run-built-tests) = yes] (tests): Depend on
37831 $(objpfx)tst-unused-dep-cmp.out.
37832 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37833 ($(objpfx)tst-unused-dep-cmp.out): New rule.
37834 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37835 on $(objpfx)tst-setvbuf1-cmp.out.
37836 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37837 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37838 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37839 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37840 ($(objpfx)tst-svc.out): Remove rule.
37841 ($(objpfx)tst-svc-cmp.out): New rule.
37842
37843 2014-02-13 Joseph Myers <joseph@codesourcery.com>
37844
37845 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37846 * ctype/ctype.h [__USE_MISC]: Likewise.
37847 * dirent/dirent.h [__USE_MISC]: Likewise.
37848 * grp/grp.h [__USE_MISC]: Likewise.
37849 * io/fcntl.h [__USE_MISC]: Likewise.
37850 * io/sys/stat.h [__USE_MISC]: Likewise.
37851 * libio/stdio.h [__USE_MISC]: Likewise.
37852 * posix/unistd.h [__USE_MISC]: Likewise.
37853 * pwd/pwd.h [__USE_MISC]: Likewise.
37854 * stdlib.h [__USE_MISC]: Likewise.
37855 * string/bits/string2.h [__USE_MISC]: Likewise.
37856 * string/string.h [__USE_MISC]: Likewise.
37857 * time/time.h [__USE_MISC]: Likewise.
37858
37859 2014-02-13 Andreas Schwab <schwab@suse.de>
37860
37861 [BZ #16574]
37862 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37863 second answer buffer if it was separately allocated.
37864
37865 2014-02-12 Joseph Myers <joseph@codesourcery.com>
37866
37867 * sysdeps/mips/math-tests.h: Include <features.h>.
37868 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37869 (ROUNDING_TESTS_long_double): Do not define.
37870 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37871 (EXCEPTION_TESTS_long_double): Likewise.
37872 * sysdeps/mips/mips64/libm-test-ulps: Update.
37873
37874 * include/features.h (__USE_BSD): Remove macro definitions.
37875 (__USE_SVID): Likewise.
37876 (_BSD_SOURCE): Likewise.
37877 (_SVID_SOURCE): Likewise.
37878 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37879 from definition of _DEFAULT_SOURCE.
37880 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37881 [_DEFAULT_SOURCE].
37882 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37883 * bits/mman.h [__USE_BSD]: Likewise.
37884 * bits/termios.h [__USE_BSD]: Likewise.
37885 * bits/waitstatus.h [__USE_BSD]: Likewise.
37886 * ctype/ctype.h [__USE_SVID]: Likewise.
37887 * dirent/dirent.h [__USE_BSD]: Likewise.
37888 * grp/grp.h [__USE_SVID]: Likewise.
37889 [__USE_BSD]: Likewise.
37890 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37891 * io/fcntl.h [__USE_BSD]: Likewise.
37892 * io/ftw.h [__USE_BSD]: Likewise.
37893 * io/sys/stat.h [__USE_BSD]: Likewise.
37894 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37895 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37896 * libio/stdio.h [__USE_SVID]: Likewise.
37897 [__USE_BSD]: Likewise.
37898 * math/math.h [__USE_SVID]: Likewise.
37899 [__USE_BSD]: Likewise.
37900 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37901 * misc/bits/syslog.h [__USE_BSD]: Likewise.
37902 * misc/search.h [__USE_SVID]: Likewise.
37903 * misc/sys/mman.h [__USE_BSD]: Likewise.
37904 * misc/sys/syslog.h [__USE_BSD]: Likewise.
37905 * misc/sys/uio.h [__USE_BSD]: Likewise.
37906 * posix/bits/unistd.h [__USE_BSD]: Likewise.
37907 * posix/glob.h [__USE_BSD]: Likewise.
37908 * posix/regex.h [__USE_BSD]: Likewise.
37909 * posix/sys/types.h [__USE_BSD]: Likewise.
37910 [__USE_SVID]: Likewise.
37911 * posix/sys/utsname.h [__USE_SVID]: Likewise.
37912 * posix/sys/wait.h [__USE_BSD]: Likewise.
37913 [__USE_SVID]: Likewise.
37914 * posix/unistd.h [__USE_BSD]: Likewise.
37915 [__USE_SVID]: Likewise.
37916 * pwd/pwd.h [__USE_SVID]: Likewise.
37917 * resolv/netdb.h [__USE_BSD]: Likewise.
37918 * setjmp/setjmp.h [__USE_BSD]: Likewise.
37919 * signal/signal.h [__USE_BSD]: Likewise.
37920 [__USE_SVID]: Likewise.
37921 * socket/sys/socket.h [__USE_BSD]: Likewise.
37922 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37923 * stdlib/stdlib.h [__USE_BSD]: Likewise.
37924 [__USE_SVID]: Likewise.
37925 * string/bits/string2.h [__USE_BSD]: Likewise.
37926 [__USE_SVID]: Likewise.
37927 * string/bits/string3.h [__USE_BSD]: Likewise.
37928 * string/endian.h [__USE_BSD]: Likewise.
37929 * string/string.h [__USE_SVID]: Likewise.
37930 [__USE_BSD]: Likewise.
37931 * string/strings.h [__USE_BSD]: Likewise.
37932 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37933 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37934 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37935 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37936 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37937 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37938 Likewise.
37939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37940 Likewise.
37941 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37942 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37943 Likewise.
37944 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37945 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37946 Likewise.
37947 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37948 Likewise.
37949 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37950 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37951 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37952 Likewise.
37953 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37954 Likewise.
37955 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37956 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37957 * termios/termios.h [__USE_BSD]: Likewise.
37958 * time/sys/time.h [__USE_BSD]: Likewise.
37959 * time/time.h [__USE_BSD]: Likewise.
37960 [__USE_SVID]: Likewise.
37961
37962 * Makefile (subdir_targets): Remove subdir_lint.out.
37963
37964 * stdio-common/Makefile (do-tst-unbputc): Remove target.
37965 (do-tst-printf): Likewise.
37966 (tests): Depend directly on $(objpfx)tst-unbputc.out and
37967 $(objpfx)tst-printf.out.
37968
37969 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37970
37971 * Makerules (check-abi-%): Change target to
37972 $(objpfx)check-abi-%.out.
37973 (check-abi target): Update dependencies.
37974 (check-abi-pattern variable): Redirect output of diff to $@.
37975 (check-abi variable): Likewise.
37976 * elf/Makefile (check-abi): Update dependencies.
37977
37978 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37979 unused.
37980 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37981 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37982 subnormal range.
37983 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37984 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37985 value has largest subnormal exponent.
37986 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37987 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37988 * sysdeps/aarch64/soft-fp/sfp-machine.h
37989 (_FP_TININESS_AFTER_ROUNDING): New macro.
37990 * sysdeps/alpha/soft-fp/sfp-machine.h
37991 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37992 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37993 Likewise.
37994 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37995 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37996 * sysdeps/mips/soft-fp/sfp-machine.h
37997 (_FP_TININESS_AFTER_ROUNDING): Likewise.
37998 * sysdeps/powerpc/soft-fp/sfp-machine.h
37999 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38000 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38001 Likewise.
38002 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38005 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38006 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38007 Likewise.
38008
38009 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
38010
38011 [BZ #16545]
38012 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38013 model 1.
38014
38015 2014-02-12 Richard Henderson <rth@redhat.com>
38016
38017 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38018 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38019 * sysdeps/unix/sysv/linux/alpha: Move directory from
38020 ports/sysdeps/unix/sysv/linux/alpha.
38021 * README: Update listing for alpha-*-linux-gnu.
38022
38023 2014-02-11 Joseph Myers <joseph@codesourcery.com>
38024
38025 * include/features.h: Update comment documenting feature test
38026 macros.
38027 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
38028 _DEFAULT_SOURCE.
38029 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38030 (_SVID_SOURCE): Likewise.
38031 (_DEFAULT_SOURCE): Update description of default features.
38032 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38033 with _GNU_SOURCE.
38034 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38035 (S_ISVTX): Likewise.
38036 * manual/math.texi (Mathematical Constants): Likewise.
38037 * manual/signal.texi (Interrupted Primitives): Likewise.
38038 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38039 * math/test-matherr.c (_SVID_SOURCE): Do not define.
38040 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38041 Don't refer to _SVID_SOURCE in warning text.
38042
38043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38044
38045 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38046 already defined.
38047 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38048 * sysdeps/mips/dl-lookup.c: Remove.
38049 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38050
38051 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38052
38053 [BZ #16447]
38054 * math/auto-libm-test-in: Add testcase for expl.
38055 * math/auto-libm-test-out: Regenerate.
38056 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38057 calculation of unsafe.
38058 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38059
38060 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
38061
38062 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38063 * sysdeps/unix/sysv/linux/aarch64: Move directory from
38064 ports/sysdeps/unix/sysv/linux/aarch64.
38065 * README: Update listing for aarch64*-*-linux-gnu.
38066
38067 2014-02-11 Will Newton <will.newton@linaro.org>
38068
38069 * manual/probes.texi (Mathematical Function Probes): Use
38070 "triggered" instead of "hit".
38071
38072 * manual/probes.texi (Internal Probes): Add documentation
38073 of setjmp, longjmp and longjmp_target probes.
38074
38075 * include/stap-probe.h: Add comment about probe argument
38076 format.
38077
38078 * malloc/mtrace.c (attribute_hidden): Remove unused macro
38079 definition. (tr_where, tr_freehook, tr_mallochook,
38080 tr_reallochook, tr_memalignhook): Use ANSI protoype.
38081
38082 2014-02-11 David S. Miller <davem@davemloft.net>
38083
38084 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38085 processing int_tests.
38086
38087 2014-02-10 Joseph Myers <joseph@codesourcery.com>
38088
38089 * sysdeps/mips: Move directory from ports/sysdeps/mips.
38090 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38091 * sysdeps/unix/sysv/linux/mips: Move directory from
38092 ports/sysdeps/unix/sysv/linux/mips.
38093 * README: Update listing for mips-*-linux-gnu and
38094 mips64-*-linux-gnu.
38095
38096 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
38097
38098 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38099 * sysdeps/unix/sysv/linux/m68k: Move directory from
38100 ports/sysdeps/unix/sysv/linux/m68k.
38101 * README: Update listing for m68k-*-linux-gnu.
38102
38103 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
38104
38105 * sysdeps/tile: Move directory from ports/sysdeps/tile.
38106 * sysdeps/unix/sysv/linux/generic: Move directory from
38107 ports/sysdeps/unix/sysv/linux/generic.
38108 * sysdeps/unix/sysv/linux/tile: Move directory from
38109 ports/sysdeps/unix/sysv/linux/tile.
38110 * README: Update listing for tile*-*-linux-gnu.
38111
38112 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
38113
38114 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38115 __builtin_expect.
38116 * benchtests/bench-memmem.c (simple_memmem): Likewise.
38117 * catgets/open_catalog.c (__open_catalog): Likewise.
38118 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38119 * debug/confstr_chk.c: Likewise.
38120 * debug/fread_chk.c (__fread_chk): Likewise.
38121 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38122 * debug/getgroups_chk.c: Likewise.
38123 * debug/mbsnrtowcs_chk.c: Likewise.
38124 * debug/mbsrtowcs_chk.c: Likewise.
38125 * debug/mbstowcs_chk.c: Likewise.
38126 * debug/memcpy_chk.c: Likewise.
38127 * debug/memmove_chk.c: Likewise.
38128 * debug/mempcpy_chk.c: Likewise.
38129 * debug/memset_chk.c: Likewise.
38130 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38131 * debug/strcat_chk.c (__strcat_chk): Likewise.
38132 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38133 * debug/strncat_chk.c (__strncat_chk): Likewise.
38134 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38135 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38136 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38137 * debug/wcpncpy_chk.c: Likewise.
38138 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38139 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38140 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38141 * debug/wcsncpy_chk.c: Likewise.
38142 * debug/wcsnrtombs_chk.c: Likewise.
38143 * debug/wcsrtombs_chk.c: Likewise.
38144 * debug/wcstombs_chk.c: Likewise.
38145 * debug/wmemcpy_chk.c: Likewise.
38146 * debug/wmemmove_chk.c: Likewise.
38147 * debug/wmempcpy_chk.c: Likewise.
38148 * debug/wmemset_chk.c: Likewise.
38149 * dirent/scandirat.c (SCANDIRAT): Likewise.
38150 * dlfcn/dladdr1.c (dladdr1): Likewise.
38151 * dlfcn/dladdr.c (dladdr): Likewise.
38152 * dlfcn/dlclose.c (dlclose_doit): Likewise.
38153 * dlfcn/dlerror.c (__dlerror): Likewise.
38154 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38155 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38156 * dlfcn/dlopen.c (dlopen_doit): Likewise.
38157 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38158 * dlfcn/dlsym.c (dlsym_doit): Likewise.
38159 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38160 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38161 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38162 Likewise.
38163 * elf/dl-conflict.c: Likewise.
38164 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38165 * elf/dl-dst.h: Likewise.
38166 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38167 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38168 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38169 * elf/dl-init.c (call_init, _dl_init): Likewise.
38170 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38171 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38172 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38173 Likewise.
38174 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38175 Likewise.
38176 * elf/dl-minimal.c (__libc_memalign): Likewise.
38177 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38178 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38179 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38180 * elf/dl-sym.c (do_sym): Likewise.
38181 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38182 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38183 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38184 * elf/dl-writev.h (_dl_writev): Likewise.
38185 * elf/ldconfig.c (search_dir): Likewise.
38186 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38187 (dl_main): Likewise.
38188 * elf/setup-vdso.h (setup_vdso): Likewise.
38189 * grp/compat-initgroups.c (compat_call): Likewise.
38190 * grp/fgetgrent.c (fgetgrent): Likewise.
38191 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38192 * grp/putgrent.c (putgrent): Likewise.
38193 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38194 Likewise.
38195 * hurd/hurdinit.c: Likewise.
38196 * iconvdata/8bit-gap.c (struct): Likewise.
38197 * iconvdata/ansi_x3.110.c : Likewise.
38198 * iconvdata/big5.c : Likewise.
38199 * iconvdata/big5hkscs.c : Likewise.
38200 * iconvdata/cp1255.c: Likewise.
38201 * iconvdata/cp1258.c : Likewise.
38202 * iconvdata/cp932.c : Likewise.
38203 * iconvdata/euc-cn.c: Likewise.
38204 * iconvdata/euc-jisx0213.c : Likewise.
38205 * iconvdata/euc-jp.c: Likewise.
38206 * iconvdata/euc-jp-ms.c : Likewise.
38207 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38208 * iconvdata/gb18030.c : Likewise.
38209 * iconvdata/gbbig5.c (const): Likewise.
38210 * iconvdata/gbgbk.c: Likewise.
38211 * iconvdata/gbk.c : Likewise.
38212 * iconvdata/ibm1364.c : Likewise.
38213 * iconvdata/ibm930.c : Likewise.
38214 * iconvdata/ibm932.c: Likewise.
38215 * iconvdata/ibm933.c : Likewise.
38216 * iconvdata/ibm935.c : Likewise.
38217 * iconvdata/ibm937.c : Likewise.
38218 * iconvdata/ibm939.c : Likewise.
38219 * iconvdata/ibm943.c: Likewise.
38220 * iconvdata/iso_11548-1.c: Likewise.
38221 * iconvdata/iso-2022-cn.c : Likewise.
38222 * iconvdata/iso-2022-cn-ext.c : Likewise.
38223 * iconvdata/iso-2022-jp-3.c: Likewise.
38224 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38225 * iconvdata/iso-2022-kr.c : Likewise.
38226 * iconvdata/iso646.c (gconv_end): Likewise.
38227 * iconvdata/iso_6937-2.c : Likewise.
38228 * iconvdata/iso_6937.c : Likewise.
38229 * iconvdata/iso8859-1.c: Likewise.
38230 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38231 * iconvdata/shift_jisx0213.c : Likewise.
38232 * iconvdata/sjis.c : Likewise.
38233 * iconvdata/t.61.c : Likewise.
38234 * iconvdata/tcvn5712-1.c : Likewise.
38235 * iconvdata/tscii.c: Likewise.
38236 * iconvdata/uhc.c : Likewise.
38237 * iconvdata/unicode.c (gconv_end): Likewise.
38238 * iconvdata/utf-16.c (gconv_end): Likewise.
38239 * iconvdata/utf-32.c (gconv_end): Likewise.
38240 * iconvdata/utf-7.c (base64): Likewise.
38241 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38242 * iconv/gconv_close.c (__gconv_close): Likewise.
38243 * iconv/gconv_open.c (__gconv_open): Likewise.
38244 * iconv/gconv_simple.c (internal_ucs4_loop_single)
38245 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38246 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38247 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38248 (ucs4le_internal_loop_single): Likewise.
38249 * iconv/iconv.c (iconv): Likewise.
38250 * iconv/iconv_close.c: Likewise.
38251 * iconv/loop.c (SINGLE): Likewise.
38252 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38253 * include/atomic.h: Likewise.
38254 * inet/inet6_option.c (option_alloc): Likewise.
38255 * intl/bindtextdom.c (set_binding_values): Likewise.
38256 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38257 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38258 * intl/localealias.c (read_alias_file): Likewise.
38259 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38260 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38261 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38262 * libio/fmemopen.c (fmemopen): Likewise.
38263 * libio/iofgets.c (_IO_fgets): Likewise.
38264 * libio/iofgets_u.c (fgets_unlocked): Likewise.
38265 * libio/iofgetws.c (fgetws): Likewise.
38266 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38267 * libio/iogetdelim.c (_IO_getdelim): Likewise.
38268 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38269 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38270 * locale/findlocale.c (_nl_find_locale): Likewise.
38271 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38272 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38273 Likewise.
38274 * locale/setlocale.c (setlocale): Likewise.
38275 * login/programs/pt_chown.c (main): Likewise.
38276 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38277 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38278 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38279 (mmap, mmap64, mremap, munmap): Likewise.
38280 * math/e_exp2l.c: Likewise.
38281 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38282 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38283 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38284 * math/s_catan.c (__catan): Likewise.
38285 * math/s_catanf.c (__catanf): Likewise.
38286 * math/s_catanh.c (__catanh): Likewise.
38287 * math/s_catanhf.c (__catanhf): Likewise.
38288 * math/s_catanhl.c (__catanhl): Likewise.
38289 * math/s_catanl.c (__catanl): Likewise.
38290 * math/s_ccosh.c (__ccosh): Likewise.
38291 * math/s_ccoshf.c (__ccoshf): Likewise.
38292 * math/s_ccoshl.c (__ccoshl): Likewise.
38293 * math/s_cexp.c (__cexp): Likewise.
38294 * math/s_cexpf.c (__cexpf): Likewise.
38295 * math/s_cexpl.c (__cexpl): Likewise.
38296 * math/s_clog10.c (__clog10): Likewise.
38297 * math/s_clog10f.c (__clog10f): Likewise.
38298 * math/s_clog10l.c (__clog10l): Likewise.
38299 * math/s_clog.c (__clog): Likewise.
38300 * math/s_clogf.c (__clogf): Likewise.
38301 * math/s_clogl.c (__clogl): Likewise.
38302 * math/s_csin.c (__csin): Likewise.
38303 * math/s_csinf.c (__csinf): Likewise.
38304 * math/s_csinh.c (__csinh): Likewise.
38305 * math/s_csinhf.c (__csinhf): Likewise.
38306 * math/s_csinhl.c (__csinhl): Likewise.
38307 * math/s_csinl.c (__csinl): Likewise.
38308 * math/s_csqrt.c (__csqrt): Likewise.
38309 * math/s_csqrtf.c (__csqrtf): Likewise.
38310 * math/s_csqrtl.c (__csqrtl): Likewise.
38311 * math/s_ctan.c (__ctan): Likewise.
38312 * math/s_ctanf.c (__ctanf): Likewise.
38313 * math/s_ctanh.c (__ctanh): Likewise.
38314 * math/s_ctanhf.c (__ctanhf): Likewise.
38315 * math/s_ctanhl.c (__ctanhl): Likewise.
38316 * math/s_ctanl.c (__ctanl): Likewise.
38317 * math/w_pow.c: Likewise.
38318 * math/w_powf.c: Likewise.
38319 * math/w_powl.c: Likewise.
38320 * math/w_scalb.c (sysv_scalb): Likewise.
38321 * math/w_scalbf.c (sysv_scalbf): Likewise.
38322 * math/w_scalbl.c (sysv_scalbl): Likewise.
38323 * misc/error.c (error_tail): Likewise.
38324 * misc/pselect.c (__pselect): Likewise.
38325 * nis/nis_callback.c (__nis_create_callback): Likewise.
38326 * nis/nis_call.c (__nisfind_server): Likewise.
38327 * nis/nis_creategroup.c (nis_creategroup): Likewise.
38328 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38329 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38330 * nis/nis_getservlist.c (nis_getservlist): Likewise.
38331 * nis/nis_lookup.c (nis_lookup): Likewise.
38332 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38333 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38334 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38335 * nis/nis_xdr.c (xdr_endpoint): Likewise.
38336 * nis/nss_compat/compat-grp.c (getgrent_next_file)
38337 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38338 * nis/nss_compat/compat-initgroups.c (add_group)
38339 (internal_getgrent_r): Likewise.
38340 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38341 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38342 * nis/nss_compat/compat-spwd.c (getspent_next_file)
38343 (internal_getspnam_r): Likewise.
38344 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38345 (_nss_nis_getaliasbyname_r): Likewise.
38346 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
38347 (_nss_nis_getntohost_r): Likewise.
38348 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
38349 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
38350 (_nss_nis_getgrgid_r): Likewise.
38351 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
38352 (internal_nis_gethostent_r, internal_gethostbyname2_r)
38353 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
38354 (_nss_nis_gethostbyname4_r): Likewise.
38355 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
38356 (initgroups_netid): Likewise.
38357 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
38358 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
38359 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
38360 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
38361 (_nss_nis_getprotobynumber_r): Likewise.
38362 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
38363 (_nss_nis_getsecretkey): Likewise.
38364 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
38365 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
38366 (_nss_nis_getpwuid_r): Likewise.
38367 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
38368 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
38369 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
38370 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
38371 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
38372 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
38373 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
38374 Likewise.
38375 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
38376 (_nss_nisplus_getntohost_r): Likewise.
38377 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
38378 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
38379 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
38380 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
38381 Likewise.
38382 * nis/nss_nisplus/nisplus-initgroups.c
38383 (_nss_nisplus_initgroups_dyn): Likewise.
38384 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
38385 (_nss_nisplus_getnetbyaddr_r): Likewise.
38386 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
38387 (_nss_nisplus_getprotobynumber_r): Likewise.
38388 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
38389 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
38390 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
38391 Likewise.
38392 * nis/nss_nisplus/nisplus-service.c
38393 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
38394 (_nss_nisplus_getservbyport_r): Likewise.
38395 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
38396 (_nss_nisplus_getspnam_r): Likewise.
38397 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
38398 Likewise.
38399 * nscd/aicache.c (addhstaiX): Likewise.
38400 * nscd/cache.c (cache_search, prune_cache): Likewise.
38401 * nscd/connections.c (register_traced_file, send_ro_fd)
38402 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
38403 (main_loop_epoll): Likewise.
38404 * nscd/grpcache.c (addgrbyX): Likewise.
38405 * nscd/hstcache.c (addhstbyX): Likewise.
38406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38407 * nscd/mem.c (gc, mempool_alloc): Likewise.
38408 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
38409 (addinnetgrX): Likewise.
38410 * nscd/nscd-client.h (__nscd_acquire_maplock)
38411 (__nscd_drop_map_ref): Likewise.
38412 * nscd/nscd_getai.c (__nscd_getai): Likewise.
38413 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38414 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
38415 Likewise.
38416 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
38417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38418 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
38419 (__nscd_get_map_ref): Likewise.
38420 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
38421 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
38422 Likewise.
38423 * nscd/pwdcache.c (addpwbyX): Likewise.
38424 * nscd/selinux.c (preserve_capabilities): Likewise.
38425 * nscd/servicescache.c (addservbyX): Likewise.
38426 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
38427 * posix/fnmatch.c (fnmatch): Likewise.
38428 * posix/getopt.c (_getopt_internal_r): Likewise.
38429 * posix/glob.c (glob, glob_in_dir): Likewise.
38430 * posix/wordexp.c (exec_comm_child): Likewise.
38431 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
38432 (getanswer_r, gaih_getanswer_slice): Likewise.
38433 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
38434 * resolv/res_init.c: Likewise.
38435 * resolv/res_mkquery.c (res_nmkquery): Likewise.
38436 * resolv/res_query.c (__libc_res_nquery): Likewise.
38437 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
38438 Likewise.
38439 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
38440 * stdio-common/perror.c (perror): Likewise.
38441 * stdio-common/printf_fp.c (___printf_fp): Likewise.
38442 * stdio-common/tmpnam.c (tmpnam): Likewise.
38443 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38444 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
38445 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
38446 Likewise.
38447 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
38448 * stdlib/putenv.c (putenv): Likewise.
38449 * stdlib/setenv.c (__add_to_environ): Likewise.
38450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38451 * stdlib/strtol_l.c (INTERNAL): Likewise.
38452 * string/memmem.c (memmem): Likewise.
38453 * string/strerror.c (strerror): Likewise.
38454 * string/strnlen.c (__strnlen): Likewise.
38455 * string/test-memmem.c (simple_memmem): Likewise.
38456 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
38457 * sunrpc/pm_getport.c (__get_socket): Likewise.
38458 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
38459 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
38460 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
38461 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
38462 Likewise.
38463 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
38464 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38465 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38466 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
38467 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38468 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
38469 Likewise.
38470 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
38471 Likewise.
38472 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38473 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38474 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38475 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38476 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
38477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
38478 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
38480 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38481 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
38482 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38483 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
38484 Likewise.
38485 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
38486 Likewise.
38487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
38488 Likewise.
38489 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
38490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38491 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
38492 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
38493 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
38494 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
38495 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
38497 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
38498 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
38499 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
38500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38501 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38502 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
38503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38504 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38505 Likewise.
38506 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
38507 Likewise.
38508 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
38509 Likewise.
38510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
38511 Likewise.
38512 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38513 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38514 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
38515 Likewise.
38516 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
38517 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
38518 * sysdeps/posix/opendir.c (__opendirat): Likewise.
38519 * sysdeps/posix/sleep.c: Likewise.
38520 * sysdeps/posix/tempname.c: Likewise.
38521 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
38522 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38523 Likewise.
38524 * sysdeps/powerpc/powerpc32/dl-machine.h
38525 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
38526 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
38527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38528 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
38529 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
38530 Likewise.
38531 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
38532 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
38533 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
38535 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
38536 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
38537 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
38538 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
38539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38540 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
38541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
38542 (elf_machine_lazy_rel): Likewise.
38543 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
38544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
38545 (elf_machine_lazy_rel): Likewise.
38546 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
38547 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
38548 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
38549 * sysdeps/unix/grantpt.c (grantpt): Likewise.
38550 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
38551 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
38552 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
38553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38554 Likewise.
38555 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
38556 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
38557 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
38558 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
38559 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38560 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38561 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
38562 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
38563 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
38564 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38565 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38566 Likewise.
38567 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
38568 (__posix_fallocate64_l64): Likewise.
38569 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
38570 (posix_fallocate): Likewise.
38571 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
38572 Likewise.
38573 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38574 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
38575 (getifaddrs_internal): Likewise.
38576 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
38577 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
38578 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
38579 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38580 * sysdeps/unix/sysv/linux/posix_fallocate64.c
38581 (__posix_fallocate64_l64): Likewise.
38582 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38583 Likewise.
38584 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
38585 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
38586 (__get_clockfreq): Likewise.
38587 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
38588 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
38589 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
38590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38592 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
38593 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
38594 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
38595 Likewise.
38596 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
38597 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
38598 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
38599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
38600 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38601 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
38602 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
38603 Likewise.
38604 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38605 (posix_fallocate): Likewise.
38606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38607 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
38608 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
38609 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
38610 (elf_machine_rela, elf_machine_rela_relative)
38611 (elf_machine_lazy_rel): Likewise.
38612 * time/asctime.c (asctime_internal): Likewise.
38613 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
38614 * time/tzset.c (__tzset_parse_tz): Likewise.
38615 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38616 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38617 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
38618 * wcsmbs/wcsmbsload.h: Likewise.
38619
38620 [BZ #15894]
38621 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
38622
38623 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
38624 (arena_get2): Remove THREAD_STATS conditionals.
38625 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
38626 (__malloc_stats, int): Likewise.
38627
38628 2014-02-08 Mike Frysinger <vapier@gentoo.org>
38629
38630 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
38631 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
38632
38633 * manual/setjmp.texi: Fix typos/grammar errors.
38634
38635 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
38636 Only return early when n is <= 0. Delete unused return statement.
38637
38638 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
38639 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
38640 * debug/tst-longjmp_chk3.c: New file.
38641
38642 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
38643 (test_main): Replace code with set_fortify_handler call.
38644 * debug/test-strcpy_chk.c: Likewise.
38645 * debug/tst-chk1.c: Likewise.
38646 * debug/tst-longjmp_chk.c: Likewise.
38647 * test-skeleton.c: Include fcntl.h & paths.h
38648 (set_fortify_handler): Define.
38649
38650 * debug/tst-longjmp_chk.c: Add header comment and include
38651 ../test-skeleton.c.
38652 (do_test): Mark static.
38653 (TEST_FUNCTION): Define.
38654
38655 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
38656 (IP_PMTUDISC_INTERFACE): Likewise.
38657 (IP_MULTICAST_IF): Likewise.
38658 (IP_MULTICAST_TTL): Likewise.
38659 (IP_MULTICAST_LOOP): Likewise.
38660 (IP_ADD_MEMBERSHIP): Likewise.
38661 (IP_DROP_MEMBERSHIP): Likewise.
38662 (IP_UNBLOCK_SOURCE): Likewise.
38663 (IP_BLOCK_SOURCE): Likewise.
38664 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
38665 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
38666 (IP_MSFILTER): Likewise.
38667 (MCAST_JOIN_GROUP): Likewise.
38668 (MCAST_BLOCK_SOURCE): Likewise.
38669 (MCAST_UNBLOCK_SOURCE): Likewise.
38670 (MCAST_LEAVE_GROUP): Likewise.
38671 (MCAST_JOIN_SOURCE_GROUP): Likewise.
38672 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
38673 (MCAST_MSFILTER): Likewise.
38674 (IP_MULTICAST_ALL): Likewise.
38675 (IP_UNICAST_IF): Likewise.
38676
38677 * timezone/Makefile: Delete $(have-ksh) check.
38678 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
38679 * timezone/tzselect.ksh: Add +x mode bits.
38680
38681 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
38682 (ANON_INODE_FS_MAGIC): Likewise.
38683 (BDEVFS_MAGIC): Likewise.
38684 (BINFMTFS_MAGIC): Likewise.
38685 (BTRFS_TEST_MAGIC): Likewise.
38686 (CRAMFS_MAGIC_WEND): Likewise.
38687 (DEBUGFS_MAGIC): Likewise.
38688 (ECRYPTFS_SUPER_MAGIC): Likewise.
38689 (EXT3_SUPER_MAGIC): Likewise.
38690 (EXT4_SUPER_MAGIC): Likewise.
38691 (FUTEXFS_SUPER_MAGIC): Likewise.
38692 (HOSTFS_SUPER_MAGIC): Likewise.
38693 (HUGETLBFS_MAGIC): Likewise.
38694 (MINIX3_SUPER_MAGIC): Likewise.
38695 (MTD_INODE_FS_MAGIC): Likewise.
38696 (NILFS_SUPER_MAGIC): Likewise.
38697 (OPENPROM_SUPER_MAGIC): Likewise.
38698 (PIPEFS_MAGIC): Likewise.
38699 (PSTOREFS_MAGIC): Likewise.
38700 (QNX6_SUPER_MAGIC): Likewise.
38701 (RAMFS_MAGIC): Likewise.
38702 (REISERFS_SUPER_MAGIC_STRING): Likewise.
38703 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
38704 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
38705 (SECURITYFS_MAGIC): Likewise.
38706 (SELINUX_MAGIC): Likewise.
38707 (SMACK_MAGIC): Likewise.
38708 (SOCKFS_MAGIC): Likewise.
38709 (SQUASHFS_MAGIC): Likewise.
38710 (STACK_END_MAGIC): Likewise.
38711 (TMPFS_MAGIC): Likewise.
38712 (USBDEVICE_SUPER_MAGIC): Likewise.
38713 (V9FS_MAGIC): Likewise.
38714 (XENFS_SUPER_MAGIC): Likewise.
38715 (CRAMFS_MAGIC): Fix typo in comment.
38716 (EXT2_SUPER_MAGIC): Update comment.
38717 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
38718
38719 2014-02-08 Joseph Myers <joseph@codesourcery.com>
38720
38721 * sysdeps/arm: Move directory from ports/sysdeps/arm.
38722 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
38723 * sysdeps/unix/sysv/linux/arm: Move directory from
38724 ports/sysdeps/unix/sysv/linux/arm.
38725 * README: Update listing for arm-*-linux-gnueabi.
38726
38727 * README: Remove mention of am33.
38728
38729 2014-02-07 Roland McGrath <roland@hack.frob.com>
38730
38731 * bits/sigset.h (__sigemptyset): Use a statement expression rather
38732 than the comma operator, to avoid "rhs of comma has no effect"
38733 compiler warnings.
38734 (__sigfillset, __sigandset, __sigorset): Likewise.
38735 * include/signal.h (__sigemptyset): Likewise.
38736 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
38737
38738 2014-02-07 Allan McRae <allan@archlinux.org>
38739
38740 * version.h (RELEASE): Set to "development".
38741 (VERSION): Set to "2.19.90"
38742 * NEWS: Add 2.20 section.
38743
38744 2014-02-06 Carlos O'Donell <carlos@redhat.com>
38745
38746 [BZ #16529]
38747 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
38748
38749 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38750
38751 * manual/contrib.texi: Update entry for Carlos O'Donell,
38752 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
38753
38754 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
38755
38756 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
38757
38758 * sysdeps/unix/sysv/linux/kernel-features.h
38759 [__LINUX_KERNEL_VERSION >= 0x020621]
38760 (__ASSUME_PROC_PID_TASK_COMM): Define.
38761
38762 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38763
38764 [BZ #16398]
38765 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
38766 conversion when destination buffer does not have enough space.
38767 * libio/tst-ftell-partial-wide.c: New test case.
38768 * libio/Makefile (tests): Add tst-ftell-partial-wide.
38769
38770 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
38771 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
38772 Leonard and Allan McRae.
38773
38774 2014-02-04 David S. Miller <davem@davemloft.net>
38775
38776 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
38777 32-bit.
38778
38779 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38780
38781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38782 New file
38783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38784 New file
38785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38786 New file.
38787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38788 New file.
38789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38790 New file.
38791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38792 New file.
38793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38794 New file.
38795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38796 New file.
38797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38798 New file.
38799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38800 New file.
38801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38802 New file.
38803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38804 New file.
38805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38806 New file.
38807
38808 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38809
38810 * nptl/shlib-versions: Change powerpc*le start to 2.17.
38811 * shlib-versions: Likewise.
38812
38813 2014-02-04 Roland McGrath <roland@hack.frob.com>
38814 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38815
38816 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
38817 (abilist-pattern): New variable, set to %-le.abilist.
38818
38819 * Makerules (abilist-pattern): New variable.
38820 (vpath): Use $(abilist-pattern) in place of %.abilist.
38821 (check-abi-% pattern rule): Likewise.
38822 (check-abi, update-abi): Likewise.
38823
38824 2014-02-04 Eric Wong <normalperson@yhbt.net>
38825
38826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38827
38828 2014-02-03 Carlos O'Donell <carlos@redhat.com>
38829
38830 * manual/startup.texi: Add next, previous, and top entries for
38831 the `Program Arguments' and `Environment Variables' nodes.
38832
38833 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
38834
38835 * manual/macros.texi: Add comments before MTASC-safety macros.
38836
38837 * manual/users.texi: Document MTASC-safety properties.
38838
38839 * manual/threads.texi (pthread_key_create, pthread_key_delete)
38840 (pthread_getspecific, pthread_setspecific): Format with
38841 @deftypefun, and add @safety note.
38842 * manual/signal.texi: Move comments that analyze the above
38843 functions to their home place.
38844
38845 2014-02-03 Allan McRae <allan@archlinux.org>
38846
38847 * po/sl.po: Update Slovenian translation from translation project.
38848
38849 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
38850
38851 * manual/time.texi (timegm): Add missing blank after @c.
38852 Reported by Joseph Myers <joseph@codesourcery.com>.
38853
38854 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
38855
38856 * manual/check-safety.sh: New.
38857 * manual/Makefile ($(objpfx)stamp-summary): Run it.
38858
38859 * manual/terminal.texi: Document MTASC-safety properties.
38860
38861 * manual/filesys.texi: Document MTASC-safety properties.
38862
38863 * manual/errno.texi: Document MTASC-safety properties.
38864
38865 * manual/intro.texi: Document safety identifiers and
38866 conditionals.
38867
38868 * manual/string.texi (wcstok): Fix prototype.
38869 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38870
38871 * manual/time.texi: Document MTASC-safety properties.
38872
38873 * manual/string.texi: Document MTASC-safety properties.
38874
38875 * manual/threads.texi: Document MTASC-safety properties.
38876
38877 * manual/stdio.texi: Document MTASC-safety properties.
38878
38879 * manual/syslog.texi: Document MTASC-safety properties.
38880
38881 * manual/sysinfo.texi: Document MTASC-safety properties.
38882
38883 * manual/startup.texi: Document MTASC-safety properties.
38884
38885 * manual/socket.texi: Document MTASC-safety properties.
38886
38887 * manual/signal.texi: Document MTASC-safety properties.
38888
38889 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
38890
38891 * manual/setjmp.texi: Document MTASC-safety properties.
38892
38893 * manual/search.texi: Document MTASC-safety properties.
38894
38895 * manual/resource.texi: Document MTASC-safety properties.
38896
38897 * manual/process.texi: Document MTASC-safety properties.
38898
38899 * manual/platform.texi: Document MTASC-safety properties.
38900
38901 * manual/pipe.texi: Document MTASC-safety properties.
38902
38903 * manual/pattern.texi: Document MTASC-safety properties.
38904
38905 * manual/message.texi: Document MTASC-safety properties.
38906
38907 [BZ #12751]
38908 * manual/memory.texi: Document MTASC-safety properties.
38909
38910 * manual/math.texi: Document MTASC-safety properties.
38911
38912 * manual/locale.texi: Document MTASC-safety properties.
38913
38914 * manual/llio.texi: Document MTASC-safety properties.
38915
38916 * manual/libdl.texi: New.
38917
38918 * manual/lang.texi: Document MTASC-safety properties.
38919
38920 * manual/job.texi: Document MTASC-safety properties.
38921
38922 * manual/getopt.texi: Document MTASC-safety properties.
38923
38924 * manual/ctype.texi: Document MTASC-safety properties.
38925
38926 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
38927
38928 [BZ #16046]
38929 * csu/libc-tls.c (static_map): Remove variable.
38930 (__libc_setup_tls): Use main executable's link map for TLS data.
38931 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38932 casing for LM_ID_BASE and GL(dl_nns).
38933 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38934 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
38935 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38936 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38937 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38938 member.
38939 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38940 l_phnum members.
38941
38942 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
38943
38944 * manual/debug.texi: Document MTASC-safety properties.
38945
38946 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
38947
38948 [BZ #16510]
38949 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38950 of __x86_64__ when disabling x87 inline functions.
38951
38952 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
38953
38954 * manual/charset.texi: Document MTASC-safety properties.
38955
38956 * manual/crypt.texi: Document MTASC-safety properties.
38957
38958 * manual/conf.texi: Document MTASC-safety properties.
38959
38960 * manual/arith.texi: Document MTASC-safety properties.
38961
38962 * manual/argp.texi: Document MTASC-safety properties.
38963
38964 * manual/macros.texi: Introduce macros to document multi
38965 thread, asynchronous signal and asynchronous cancellation
38966 safety properties.
38967 * manual/intro.texi: Introduce the properties themselves.
38968
38969 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38970
38971 * sysdeps/sh/sh4/Makefile: New file.
38972
38973 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
38974
38975 * math/gen-libm-test.pl ($srcdir): New variable.
38976 ($auto_input): Use it.
38977
38978 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38979
38980 [BZ #16506]
38981 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38982 access beyond array bounds when parsing netgroups file.
38983
38984 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38985 the old buffer before realloc.
38986
38987 2014-01-27 Allan McRae <allan@archlinux.org>
38988
38989 * po/fr.po: Update French translation from translation project.
38990
38991 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38992
38993 * sysdeps/sh/libm-test-ulps: Regenerate.
38994
38995 2014-01-24 David S. Miller <davem@davemloft.net>
38996
38997 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38998
38999 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39000
39001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39002 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39003
39004 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39005
39006 [BZ #16474]
39007 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39008 string pointers after reallocation.
39009
39010 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39011
39012 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39013 __SH4A__ instead of __SH_FPU_ANY__.
39014
39015 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39016
39017 * sysdeps/sh/fpu_control.h: New file.
39018 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39019 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39020 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39021 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39022 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39023 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39024 * sysdeps/sh/sys/ucontext.h: Remove.
39025 * sysdeps/sh/sys: Remove directory.
39026
39027 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39028
39029 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39030 s390/sys/ucontext.h.
39031 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39033
39034 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
39035
39036 [BZ #15605]
39037 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39038
39039 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39040
39041 [BZ#16431]
39042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39043 Adjust the vDSO correctly for internal calls.
39044 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39045
39046 2014-01-20 Allan McRae <allan@archlinux.org>
39047
39048 * po/ca.po: Update Catalan translation from translation project.
39049
39050 2014-01-16 Mike Frysinger <vapier@gentoo.org>
39051
39052 * sysdeps/s390/sotruss-lib.c: New file.
39053
39054 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39055
39056 [BZ#16430]
39057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39058 (__GI___gettimeofday): Alias for a different internal symbol to avoid
39059 local calls issues by not having a PLT stub required for IFUNC calls.
39060 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39061
39062 2014-01-16 Joseph Myers <joseph@codesourcery.com>
39063
39064 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39065 * math/test-fpucw-static.c: Likewise.
39066
39067 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39068
39069 [BZ #16453]
39070 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39071
39072 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39073
39074 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39075 implementation for powerpc.
39076
39077 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
39078
39079 [BZ #14782]
39080 * sysdeps/posix/system.c (__libc_system): Do not enable
39081 asynchronous cancellation.
39082
39083 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39084
39085 [BZ #16427]
39086 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39087 handling only for numbers special also in the IEEE case.
39088
39089 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39090
39091 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39092
39093 2014-01-11 Allan McRae <allan@archlinux.org>
39094
39095 * po/bg.po: Update Bulgarian translation from translation project.
39096
39097 * po/de.po: Update German translation from translation project.
39098
39099 2014-01-10 Roland McGrath <roland@hack.frob.com>
39100
39101 * sysdeps/generic/gcc-compat.h: New file.
39102
39103 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39104
39105 * benchtests/asin-inputs: Correct slow inputs.
39106 * benchtests/acos-inputs: Likewise.
39107
39108 2014-01-10 Allan McRae <allan@archlinux.org>
39109
39110 * po:sv.po: Update Swedish translation from translation project.
39111
39112 * po/vi.po: Update Vietnamese translation from translation project.
39113
39114 * po/eo.po: Update Esperanto translation from translation project.
39115
39116 * po/cs.po: Update Czech translation from translation project.
39117
39118 * po/nl.po: Update Dutch translation from translation project.
39119
39120 * po/pl.po: Update Polish translation from translation project.
39121
39122 * po/ru.po: Update Russian translation from translation project.
39123
39124 * po/uk.po: Update Ukrainian translation from translation project.
39125
39126 2014-01-08 Brooks Moses <bmoses@google.com>
39127
39128 * elf/dl-load.c: Fix comment typo.
39129
39130 2014-01-08 Carlos O'Donell <carlos@redhat.com>
39131
39132 * po/header.pot: Rename to...
39133 * po/pot.header: ... this.
39134 * po/Makefile: Use pot.header.
39135
39136 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
39137 Maxim Kuvyrkov <maxim@kugelworks.com>
39138
39139 [BZ #16394]
39140 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39141 SRC and DEST against LEN.
39142
39143 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39144
39145 [BZ #16414]
39146 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39147 implementation.
39148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39149
39150 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39151
39152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39153
39154 2014-01-08 Joseph Myers <joseph@codesourcery.com>
39155
39156 [BZ #16408]
39157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39158 for large positive arguments.
39159
39160 2014-01-07 Joseph Myers <joseph@codesourcery.com>
39161
39162 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39163
39164 * math/auto-libm-test-in: Mark various tests with
39165 xfail-rounding:ldbl-128ibm.
39166 * math/auto-libm-test-out: Regenerated.
39167
39168 [BZ #16407]
39169 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39170 Increase overflow threshold.
39171
39172 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
39173
39174 [BZ #14286]
39175 * stdio-common/vfprintf.c: Check for integer overflow.
39176
39177 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39178
39179 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39180 the first argument and return value of __tls_get_addr_internal.
39181
39182 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39183
39184 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39185 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39186
39187 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39188
39189 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39190 * sysdeps/s390/rtld-global-offsets.sym: New file.
39191 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39192 GLIBC_2.19 symbol.
39193 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39195 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39196 ... this.
39197 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39199 ... this.
39200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39201 Regenerate.
39202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39203 Regenerate.
39204 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39205 halfs of GPRs for high_gprs contexts.
39206 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39207 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
39208 field.
39209 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39210 uc_flags field.
39211 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39212 64 bit versions:
39213 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39214 for high GPRs (uc_high_gprs) and for future extensions
39215 (__reserved).
39216 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39217 for future extensions (__reserved).
39218 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39219 64 bit versions:
39220 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39221 SC_HIGHGPRS offset definition.
39222 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39223 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39224
39225 * Versions.def: Add GLIBC_2.19 for libpthread.
39226 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39227 siglongjmp for libpthread with GLIBC_2.19 symver.
39228 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39229 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39230 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39231 * sysdeps/s390/__longjmp.c: New file.
39232 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39233 * sysdeps/s390/longjmp.c: New file.
39234 * sysdeps/s390/setjmp.S: New file.
39235 * sysdeps/s390/sigjmp.S: New file.
39236 * sysdeps/s390/v1-longjmp.c: New file.
39237 * sysdeps/s390/v1-setjmp.h: New file.
39238 * sysdeps/s390/v1-sigjmp.c: New file.
39239 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39240 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39241 GLIBC_2.19 version.
39242 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39243 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39244 versioned symbols for ____longjmp_chk.
39245 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39246 Likewise.
39247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39248 Regenerate.
39249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39250 Regenerate.
39251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39252 Regenerate.
39253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39254 Regenerate.
39255 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39256 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39257 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39258 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39259 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39260 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39261 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39262 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39263 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39264 * sysdeps/s390/rtld-__longjmp.c: New file.
39265 * sysdeps/s390/rtld-setjmp.S: New file.
39266
39267 2014-01-06 Joseph Myers <joseph@codesourcery.com>
39268
39269 [BZ #16400]
39270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39271 Return -__logl (x) for small positive arguments without evaluating
39272 a polynomial.
39273
39274 2014-01-06 Mike Frysinger <vapier@gentoo.org>
39275
39276 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39277 Rename to ...
39278 (__ptrace_peeksiginfo_args): ... this.
39279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39282
39283 2014-01-06 Allan McRae <allan@archlinux.org>
39284
39285 * inet/netinet/in.h: Fix typo in comment.
39286
39287 2014-01-05 Andreas Jaeger <aj@suse.de>
39288
39289 * sysdeps/i386/fpu/libm-test-ulps: Update.
39290
39291 2014-01-05 Allan McRae <allan@archlinux.org>
39292
39293 * po/libc.pot: Regenerated.
39294
39295 * malloc/memusagestat.c: Fix gettext call formatting.
39296
39297 2014-01-04 Sami Kerola <kerolasa@iki.fi>
39298
39299 * nscd/nscd.c: Improve usage() output.
39300
39301 2014-01-04 Mike Frysinger <vapier@gentoo.org>
39302
39303 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39304 * sysdeps/unix/sysv/linux/configure: Regenerated.
39305 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39306 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39307
39308 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39309
39310 [BZ #16390]
39311 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39312 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39313
39314 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39315
39316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39317 extra tokens at end of #undef directive.
39318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39321
39322 2014-01-03 Joseph Myers <joseph@codesourcery.com>
39323
39324 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39325
39326 * math/auto-libm-test-in: Mark various tests with
39327 xfail-rounding:ldbl-128ibm.
39328 * math/auto-libm-test-out: Regenerated.
39329
39330 2014-01-02 Joseph Myers <joseph@codesourcery.com>
39331
39332 [BZ #16386]
39333 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39334 numbers with subnormal high part when calculating exponent.
39335
39336 [BZ #16385]
39337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39338 fabs.
39339
39340 [BZ #16384]
39341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39342 M_LN2l.
39343 (__ieee754_acoshl): Use __log1pl not __log1p.
39344
39345 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
39346
39347 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
39348 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
39349 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
39350 (grow_heap, heap_trim, _int_new_arena, get_free_list)
39351 (reused_arena, arena_get2): Convert to GNU style.
39352 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
39353 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
39354 (memalign_check, __malloc_set_state): Likewise.
39355 * malloc/mallocbug.c (main): Likewise.
39356 * malloc/malloc.c (__malloc_assert, malloc_init_state)
39357 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
39358 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
39359 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
39360 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
39361 (__posix_memalign, malloc_info): Likewise.
39362 * malloc/malloc.h: Likewise.
39363 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
39364 (mallochook, memalignhook, reallochook, mabort): Likewise.
39365 * malloc/mcheck.h: Likewise.
39366 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
39367 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
39368 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
39369 * malloc/morecore.c (__default_morecore): Likewise.
39370 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
39371 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
39372 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
39373 (print_and_abort): Likewise.
39374 * malloc/obstack.h: Likewise.
39375 * malloc/set-freeres.c (__libc_freeres): Likewise.
39376 * malloc/tst-mallocstate.c (main): Likewise.
39377 * malloc/tst-mtrace.c (main): Likewise.
39378 * malloc/tst-realloc.c (do_test): Likewise.
39379
39380 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39381
39382 [BZ #16366]
39383 * nscd/netgroupcache.c (do_notfound): New function.
39384 (addgetnetgrentX): Use it.
39385
39386 [BZ # 16365]
39387 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
39388 NSS_STATUS_NOTFOUND.
39389
39390 2014-01-01 Joseph Myers <joseph@codesourcery.com>
39391
39392 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39394
39395 2014-01-01 Allan McRae <allan@archlinux.org>
39396
39397 * scripts/update-copyrights: Update configure input file suffix.
39398
39399 * NEWS: Update copyright year.
39400 * catgets/gencat.c: Likewise.
39401 * csu/version.c: Likewise.
39402 * debug/catchsegv.sh: Likewise.
39403 * debug/pcprofiledump.c: Likewise.
39404 * debug/xtrace.sh: Likewise.
39405 * elf/ldconfig.c: Likewise.
39406 * elf/ldd.bash.in: Likewise.
39407 * elf/pldd.c: Likewise.
39408 * elf/sotruss.ksh: Likewise.
39409 * elf/sprof.c: Likewise.
39410 * iconv/iconv_prog.c: Likewise.
39411 * iconv/iconvconfig.c: Likewise.
39412 * locale/programs/locale.c: Likewise.
39413 * locale/programs/localedef.c: Likewise.
39414 * login/programs/pt_chown.c: Likewise.
39415 * malloc/memusage.sh: Likewise.
39416 * malloc/memusagestat.c: Likewise.
39417 * malloc/mtrace.pl: Likewise.
39418 * manual/libc.texinfo: Likewise.
39419 * nscd/nscd.c: Likewise.
39420 * nss/getent.c: Likewise.
39421 * nss/makedb.c: Likewise.
39422 * posix/getconf.c: Likewise.
39423 * scripts/test-installation.pl: Likewise.
39424
39425 * All files with FSF copyright notices: Update copyright dates
39426 using scripts/update-copyrights.
39427 * intl/plural.c: Regenerated.
39428 * locale/programs/charmap-kw.h: Likewise.
39429 * locale/programs/locfile-kw.h: Likewise.
39430
39431 2013-12-31 Mike Frysinger <vapier@gentoo.org>
39432
39433 * sysdeps/unix/sysv/linux/configure: Regenerated.
39434 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39435 the linux/fanotify.h header.
39436 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
39437 HAVE_LINUX_FANOTIFY_H is defined.
39438
39439 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39440
39441 * benchtests/cos-inputs: New inputs.
39442 * benchtests/sin-inputs: Likewise.
39443
39444 * benchtests/atan-inputs: New inputs. Fix name of multiple
39445 precision fallback inputs.
39446
39447 * benchtests/atanh-inputs: New inputs.
39448 * benchtests/tanh-inputs: Likewise.
39449
39450 * benchtests/acosh-inputs: New inputs.
39451 * benchtests/asinh-inputs: Likewise.
39452
39453 * benchtests/cosh-inputs: New inputs.
39454 * benchtests/sinh-inputs: Likewise.
39455
39456 * benchtests/acos-inputs: Add more inputs.
39457 * benchtests/asin-inputs: Likewise.
39458
39459 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
39460
39461 [BZ #16375]
39462 * manual/arith.texi: Fix spelling.
39463 * manual/charset.texi: Likewise.
39464 * manual/errno.texi: Likewise.
39465 * manual/filesys.texi: Likewise.
39466 * manual/lang.texi: Likewise.
39467 * manual/llio.texi: Likewise.
39468 * manual/locale.texi: Likewise.
39469 * manual/message.texi: Likewise.
39470 * manual/resource.texi: Likewise.
39471 * manual/search.texi: Likewise.
39472 * manual/setjmp.texi: Likewise.
39473 * manual/stdio.texi: Likewise.
39474 * manual/string.texi: Likewise.
39475 * manual/sysinfo.texi: Likewise.
39476 * manual/time.texi: Likewise.
39477
39478 2013-12-27 Carlos O'Donell <carlos@redhat.com>
39479
39480 * po/sl.po: New file.
39481
39482 2013-12-27 Mike Frysinger <vapier@gentoo.org>
39483
39484 * .gitignore: Add core/.gdbinit/.gdb_history.
39485
39486 2013-12-27 Allan McRae <allan@archlinux.org>
39487
39488 [BZ #16369]
39489 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
39490 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
39491
39492 2013-12-24 Brooks Moses <bmoses@google.com>
39493
39494 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
39495 all compilers that claim C++98 compliance, not just GCC.
39496 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39497 Likewise.
39498
39499 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39500
39501 * NEWS: Restore accidentally deleted bug-fix entries.
39502
39503 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
39504 Ondřej Bílka <neleai@seznam.cz>
39505
39506 [BZ #15073]
39507 * malloc/malloc.c (_int_free): Perform sanity check only if we
39508 have_lock.
39509
39510 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
39511
39512 [BZ #12986]
39513 * manual/stdio.texi (String Input Conversions): Clarify that character
39514 classes are not supported.
39515
39516 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39517
39518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39519
39520 2013-12-22 Joseph Myers <joseph@codesourcery.com>
39521
39522 [BZ #16337]
39523 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39524 Calculate results for small negative arguments directly rather
39525 than using reflection formula with special underflow handling.
39526
39527 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
39528 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
39529 sysdeps/unix/bsd/bsd4.4/syscalls.list.
39530 (fchflags): Likewise.
39531 (revoke): Likewise.
39532 (setlogin): Likewise.
39533 (sigaltstack): Likewise.
39534 (wait4): Likewise.
39535 (sigblock): Remove.
39536 (sigsetmask): Likewise.
39537 (wait3): Likewise.
39538 (waitpid): Likewise.
39539 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
39540 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
39541 file.
39542 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
39543 * sysdeps/unix/bsd/Makefile: ... here.
39544 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
39545 * sysdeps/unix/bsd/Versions: ... here.
39546 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
39547 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
39548 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
39549 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
39550 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
39551 * sysdeps/unix/bsd/sigblock.c: ... here.
39552 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
39553 * sysdeps/unix/bsd/sigsetmask.c: ... here.
39554 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
39555 * sysdeps/unix/bsd/sigvec.c: ... here.
39556 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
39557 * sysdeps/unix/bsd/tcdrain.c: ... here.
39558 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
39559 * sysdeps/unix/bsd/tcgetattr.c: ... here.
39560 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
39561 * sysdeps/unix/bsd/tcsetattr.c: ... here.
39562 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
39563 * sysdeps/unix/bsd/wait.c: ... here.
39564 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
39565 * sysdeps/unix/bsd/wait3.c: ... here.
39566 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
39567 * sysdeps/unix/bsd/waitpid.c: ... here.
39568
39569 2013-12-21 Joseph Myers <joseph@codesourcery.com>
39570
39571 [BZ #16356]
39572 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
39573 round-to-nearest for [!USE_AS_EXPM1L].
39574 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
39575 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
39576 more tests of exp and exp10. Expect some exp10 tests to miss
39577 exceptions or fail in directed rounding modes.
39578 * math/auto-libm-test-out: Regenerated.
39579 * math/libm-test.inc (exp10_tonearest_test_data): New array.
39580 (exp10_test_tonearest): New function.
39581 (exp10_towardzero_test_data): New array.
39582 (exp10_test_towardzero): New function.
39583 (exp10_downward_test_data): New array.
39584 (exp10_test_downward): New function.
39585 (exp10_upward_test_data): New array.
39586 (exp10_test_upward): New function.
39587 (main): Call the new functions.
39588 * sysdeps/i386/fpu/libm-test-ulps: Update.
39589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39590
39591 2013-12-20 Joseph Myers <joseph@codesourcery.com>
39592
39593 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
39594 asinh, atan, atan2, atanh, cbrt, cos and cosh.
39595 * math/auto-libm-test-out: Regenerated.
39596 * math/libm-test.inc (acosh_test_data): Add more tests.
39597 (atanh_test_data): Likewise.
39598 (ceil_test_data): Likewise.
39599 (copysign_test_data): Likewise.
39600 * sysdeps/i386/fpu/libm-test-ulps: Update.
39601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39602
39603 * timezone/checktab.awk: Update from tzcode 2013i.
39604 * timezone/private.h: Likewise.
39605 * timezone/scheck.c: Likewise.
39606 * timezone/tzfile.h: Likewise.
39607 * timezone/tzselect.ksh: Likewise.
39608 * timezone/zdump.c: Likewise.
39609 * timezone/zic.c: Likewise.
39610
39611 * math/auto-libm-test-in: Add tests of cpow.
39612 * math/auto-libm-test-out: Regenerated.
39613 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
39614 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39615 mpc_cc_c.
39616 (func_calc_desc): Add mpc_cc_c union field.
39617 (test_functions): Add cpow.
39618 (special_fill_2pi): New function.
39619 (special_real_inputs): Add 2pi.
39620 (calc_generic_results): Handle mpc_cc_c.
39621 * sysdeps/i386/fpu/libm-test-ulps: Update.
39622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39623
39624 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
39625 csqrt, ctan and ctanh.
39626 * math/auto-libm-test-out: Regenerated.
39627 * math/libm-test.inc (TEST_COND_x86_64): New macro.
39628 (TEST_COND_x86): Likewise.
39629 (ccos_test_data): Use AUTO_TESTS_c_c.
39630 (ccosh_test_data): Likewise.
39631 (cexp_test_data): Likewise.
39632 (clog_test_data): Likewise.
39633 (csqrt_test_data): Likewise.
39634 (ctan_test_data): Likewise.
39635 (ctan_tonearest_test_data): Likewise.
39636 (ctan_towardzero_test_data): Likewise.
39637 (ctan_downward_test_data): Likewise.
39638 (ctan_upward_test_data): Likewise.
39639 (ctanh_test_data): Likewise.
39640 (ctanh_tonearest_test_data): Likewise.
39641 (ctanh_towardzero_test_data): Likewise.
39642 (ctanh_downward_test_data): Likewise.
39643 (ctanh_upward_test_data): Likewise.
39644 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39645 mpc_c_c.
39646 (func_calc_desc): Add mpc_c_c union field.
39647 (FUNC_mpc_c_c): New macro.
39648 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
39649 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
39650 ctanh.
39651 (special_fill_min_subnorm_p120): New function.
39652 (special_real_inputs): Add min_subnorm_p120.
39653 (calc_generic_results): Handle mpc_c_c.
39654 * sysdeps/i386/fpu/libm-test-ulps: Update.
39655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39656
39657 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39658
39659 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
39660 (do_sin_slow): New functions.
39661 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
39662 (cslow2, csloww1, csloww2): Use the new functions.
39663
39664 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
39665 Use M to change sign of result instead of X. Assume X is
39666 positive.
39667 (csloww1): Likewise.
39668 (__sin): Adjust.
39669 (__cos): Adjust.
39670
39671 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
39672 arguments A and DA.
39673 (__sin): Adjust.
39674 (__cos): Likewise.
39675
39676 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
39677 (__cos): Likewise.
39678 (sloww1): Don't adjust sign of DX.
39679 (csloww1): Likewise.
39680 (sloww2): Use X directly and don't adjust sign of DX.
39681 (csloww2): Likewise.
39682
39683 2013-12-19 Joseph Myers <joseph@codesourcery.com>
39684
39685 * math/auto-libm-test-in: Add tests of cabs and carg.
39686 * math/auto-libm-test-out: Regenerated.
39687 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
39688 (carg_test_data): Likewise.
39689 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39690 mpc_c_f.
39691 (func_calc_desc): Add mpc_c_f union field.
39692 (test_functions): Add cabs and carg.
39693 (calc_generic_results): Handle mpc_c_f.
39694
39695 * sysdeps/powerpc/powerpc32/libgcc-compat.S
39696 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
39697 as a macro and a compat symbol.
39698 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39699 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39700 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39701 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39702 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
39703 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
39704 not use .hidden.
39705 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
39706 Likewise.
39707 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
39708 Likewise.
39709 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
39710 Likewise.
39711 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
39712 Likewise.
39713 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
39714 Likewise.
39715 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
39716 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
39717 from GLIBC_2.3.2.
39718
39719 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39720
39721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39722
39723 2013-12-19 Joseph Myers <joseph@codesourcery.com>
39724
39725 * manual/texinfo.tex: Update to version 2013-11-26.10 with
39726 trailing whitespace removed.
39727 * scripts/config.guess: Update to version 2013-11-29.
39728 * scripts/config.sub: Update to version 2013-10-01.
39729
39730 * math/auto-libm-test-in: Add tests of sincos.
39731 * math/auto-libm-test-out: Regenerated.
39732 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
39733 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39734 mpfr_f_11.
39735 (func_calc_desc): Add mpfr_f_11 union field.
39736 (test_functions): Add sincos.
39737 (calc_generic_results): Handle mpfr_f_11.
39738 * sysdeps/i386/fpu/libm-test-ulps: Update.
39739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39740
39741 2013-12-19 Andreas Schwab <schwab@suse.de>
39742
39743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
39744 CALL_MCOUNT.
39745 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39746 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
39747 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
39748
39749 2013-12-19 Joseph Myers <joseph@codesourcery.com>
39750
39751 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
39752 * sysdeps/i386/fpu/libm-test-ulps: Update.
39753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39754
39755 [BZ #16293]
39756 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
39757 round-to-nearest mode when using frndint.
39758 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
39759 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39760 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39761 Likewise.
39762 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
39763 sinh test to fail.
39764 * math/auto-libm-test-out: Regenerated.
39765 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
39766 (TEST_COND_x86): Likewise.
39767 (expm1_tonearest_test_data): New array.
39768 (expm1_test_tonearest): New function.
39769 (expm1_towardzero_test_data): New array.
39770 (expm1_test_towardzero): New function.
39771 (expm1_downward_test_data): New array.
39772 (expm1_test_downward): New function.
39773 (expm1_upward_test_data): New array.
39774 (expm1_test_upward): New function.
39775 (main): Run the new test functions.
39776 * sysdeps/i386/fpu/libm-test-ulps: Update.
39777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39778
39779 * include/features.h: Update comment documenting feature test
39780 macros. Mention _DEFAULT_SOURCE in comment.
39781 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
39782 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
39783 _BSD_SOURCE and _SVID_SOURCE.
39784 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
39785 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
39786 !_SVID_SOURCE]: Likewise.
39787 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39788 (__USE_POSIX_IMPLICITLY): Define.
39789 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39790 (_POSIX_SOURCE): Undefine and redefine.
39791 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
39792 (_POSIX_C_SOURCE): Likewise.
39793 * manual/creature.texi (_DEFAULT_SOURCE): Document.
39794 (Feature Test Macros): Update documentation of default features.
39795
39796 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39797
39798 * benchtests/Makefile: Add bench-strtok.
39799 * benchtests/bench-strtok.c: New file: strtok benchtest.
39800
39801 2013-12-19 Allan McRae <allan@archlinux.org>
39802
39803 * manual/install.texi: Suppress menu for plain text output.
39804 * INSTALL: Regenerated.
39805
39806 2013-12-18 Brooks Moses <bmoses@google.com>
39807
39808 [BZ #15846]
39809 * misc/getauxval.c: Include errno.h.
39810 (__getauxval): Set errno to ENOENT if the requested type is not
39811 found.
39812 * misc/sys/auxv.h (getauxval): Document that it may set errno;
39813 don't declare with __attribute_const__.
39814 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
39815 * manual/startup.texi: Document that getauxval sets errno.
39816
39817 2013-12-18 Joseph Myers <joseph@codesourcery.com>
39818
39819 * math/auto-libm-test-in: Add tests of jn and yn.
39820 * math/auto-libm-test-out: Regenerated.
39821 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
39822 (yn_test_data): Likewise.
39823 * math/gen-auto-libm-tests.c (func_calc_method): Add value
39824 mpfr_if_f.
39825 (func_calc_desc): Add mpfr_if_f union field.
39826 (FUNC_mpfr_if_f): New macro.
39827 (test_functions): Add jn and yn.
39828 (calc_generic_results): Assert type of second input for
39829 mpfr_ff_f. Handle mpfr_if_f.
39830 (output_for_one_input_case): Disable all checking for arguments
39831 fitting floating-point types in case of an integer argument.
39832 * sysdeps/i386/fpu/libm-test-ulps: Update.
39833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39834
39835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39836 Don't expect fegetround reference in libm.so.
39837
39838 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39839
39840 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39841 $(config-cflags-nofma).
39842
39843 2013-12-18 Joseph Myers <joseph@codesourcery.com>
39844
39845 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39846 * math/auto-libm-test-out: Regenerated.
39847
39848 [BZ #16338]
39849 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39850 to determine exponent and adjust argument to have exponent of -1.
39851 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39852 log2.
39853 * math/auto-libm-test-out: Regenerated.
39854 * sysdeps/i386/fpu/libm-test-ulps: Update.
39855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39856
39857 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
39858
39859 * manual/probes.texi: Remove cases when per-thread arenas are
39860 disabled.
39861
39862 2013-12-18 Andreas Schwab <schwab@suse.de>
39863
39864 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39865 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39866 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39867 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39868 * sysdeps/i386/i686/multiarch/Makefile: Update.
39869 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39870
39871 2013-12-17 Joseph Myers <joseph@codesourcery.com>
39872
39873 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39874 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39875
39876 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
39877
39878 [BZ #15968]
39879 Support TZ transition times < 00:00:00.
39880 This is needed for version-3 tz-format files; it supports time
39881 stamps past 2037 for America/Godthab (the only entry in the tz
39882 database for which this change is relevant).
39883 * manual/time.texi (TZ Variable): Document transition times
39884 from -167:59:59 through -00:00:01.
39885 * time/tzset.c (tz_rule): Time of day is now signed.
39886 (__tzset_parse_tz): Parse negative time of day.
39887
39888 Document TZ transition times >= 25:00:00.
39889 * manual/time.texi (TZ Variable): Document transition times from
39890 25:00:00 through 167:59:59. These are already supported, and this
39891 support will help with version-3 tz-format files.
39892
39893 * manual/time.texi (TZ Variable): Modernize North America example
39894 to reflect current (i.e., 2007-and-later) daylight saving rules.
39895
39896 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39897
39898 2013-12-17 Joseph Myers <joseph@codesourcery.com>
39899
39900 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39901 * sysdeps/unix/bsd/bits/stat.h: Likewise.
39902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39904 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39905 * sysdeps/unix/bsd/bsdstat.h: Likewise.
39906 * sysdeps/unix/bsd/clock.c: Likewise.
39907 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39908 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39909 * sysdeps/unix/bsd/init-posix.c: Likewise.
39910 * sysdeps/unix/bsd/poll.c: Likewise.
39911 * sysdeps/unix/bsd/ptsname.c: Likewise.
39912 * sysdeps/unix/bsd/seekdir.c: Likewise.
39913 * sysdeps/unix/bsd/setegid.c: Likewise.
39914 * sysdeps/unix/bsd/seteuid.c: Likewise.
39915 * sysdeps/unix/bsd/setgid.c: Likewise.
39916 * sysdeps/unix/bsd/setrgid.c: Likewise.
39917 * sysdeps/unix/bsd/setruid.c: Likewise.
39918 * sysdeps/unix/bsd/setsid.c: Likewise.
39919 * sysdeps/unix/bsd/setuid.c: Likewise.
39920 * sysdeps/unix/bsd/sigaction.c: Likewise.
39921 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39922 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39923 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39924 * sysdeps/unix/bsd/telldir.c: Likewise.
39925 * sysdeps/unix/bsd/times.c: Likewise.
39926 * sysdeps/unix/bsd/usleep.c: Likewise.
39927
39928 * misc/Makefile (install-lib): Remove libbsd-compat.a.
39929 ($(objpfx)libbsd-compat.a): Remove rule.
39930
39931 * include/features.h (__FAVOR_BSD): Do not define.
39932 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39933 features conflicting with POSIX.
39934 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39935 (_BSD_SOURCE): Remove description of not being a subset of other
39936 feature test macros.
39937 * manual/job.texi (getpgrp): Do not document BSD version.
39938 (getpgid): Do not document by reference to BSD getpgrp.
39939 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39940 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39941 * signal/signal.h [__FAVOR_BSD]: Likewise.
39942 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39943 instead of making contents conditional on [__FAVOR_BSD].
39944 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39945
39946 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39947
39948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39949
39950 2013-12-17 Joseph Myers <joseph@codesourcery.com>
39951
39952 [BZ #16314]
39953 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39954 values below 2**-450, not 2**-500.
39955 * math/auto-libm-test-in: Don't allow spurious underflow from
39956 hypot.
39957 * math/auto-libm-test-out: Regenerated.
39958
39959 [BZ #16316]
39960 [BZ #16330]
39961 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39962 values of ha and hb and sort them after adjusting subnormal
39963 arguments.
39964 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39965 Likewise.
39966 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39967 values of ea and eb and sort them after adjusting subnormal
39968 arguments.
39969 * math/auto-libm-test-in: Do not expect some hypot tests of
39970 subnormals to fail. Add more hypot tests.
39971 * math/auto-libm-test-out: Regenerated.
39972
39973 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39974
39975 [BZ #13304]
39976 * sysdeps/sh/s_fma.c: New file.
39977 * sysdeps/sh/s_fmaf.c: New file.
39978 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
39979 version.
39980 * sysdeps/sh/Implies: Add sh/soft-fp.
39981
39982 2013-12-16 Roland McGrath <roland@hack.frob.com>
39983
39984 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
39985 level of indirection to members `objname', `errstring', `malloced'.
39986 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39987 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
39988 it as the __longjmp argument (just pass 1 instead).
39989 (_dl_catch_error): Initialize C with argument pointers and address of
39990 volatile local ERRCODE rather than copying values out of C at return.
39991
39992 2013-12-16 Joseph Myers <joseph@codesourcery.com>
39993
39994 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39995 * math/auto-libm-test-out: Regenerated.
39996 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39997 (hypot_test_data): Likewise.
39998 (pow_test_data): Likewise.
39999 (pow_tonearest_test_data): Likewise.
40000 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40001 mpfr_ff_f.
40002 (func_calc_desc): Add mpfr_ff_f union field.
40003 (FUNC_mpfr_ff_f): New macro.
40004 (test_functions): Add atan2, hypot and pow.
40005 (special_fill_min): New function.
40006 (special_fill_minus_min): Likewise.
40007 (special_fill_min_subnorm): Likewise.
40008 (special_fill_minus_min_subnorm): Likewise.
40009 (special_real_inputs): Add min, -min, min_subnorm and
40010 -min_subnorm.
40011 (calc_generic_results): Handle mpfr_ff_f.
40012 * sysdeps/i386/fpu/libm-test-ulps: Update.
40013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40014
40015 2013-12-16 Will Newton <will.newton@linaro.org>
40016
40017 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40018 (Aligned Memory Blocks): Add documentation for aligned_alloc
40019 and suggest it as an alternative to posix_memalign.
40020 (Hooks for Malloc): Document __memalign_hook is also called
40021 for aligned_alloc. (Summary of Malloc): Add summary for
40022 aligned alloc. Document __memalign_hook is also called
40023 for aligned_alloc.
40024
40025 2013-12-16 Will Newton <will.newton@linaro.org>
40026
40027 * manual/memory.texi (Malloc Examples): Clarify default
40028 alignment documentation. Suggest posix_memalign rather
40029 than memalign or valloc.
40030 (Aligned Memory Blocks): Remove suggestion to use memalign
40031 or valloc. Remove obsolete comment about BSD.
40032 Document memalign errno values and mark the function obsolete.
40033 Document posix_memalign returned error codes. Mark valloc
40034 as obsolete. (Hooks for Malloc): __memalign_hook is also
40035 called for posix_memalign and valloc.
40036 (Summary of Malloc): Add posix_memalign to function summary.
40037 __memalign_hook is also called for posix_memalign and valloc.
40038
40039 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40040
40041 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40042 TAYLOR_SIN.
40043 (__sin): Adjust.
40044 (__cos): Likewise.
40045 (sloww): Use mynumber union. Expand ternary operator into
40046 if-else statements.
40047 (cslow): use mynumber union.
40048
40049 2013-12-16 Allan McRae <allan@archlinux.org>
40050
40051 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40052 * configure: Regenerated.
40053
40054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40055
40056 [BZ #14120]
40057 * configure.ac: Added --enable-maintainer-mode. Check for
40058 autoconf when enabled.
40059 * configure: Regenerated.
40060
40061 * nscd/nscd.service: New file.
40062 * nscd/nscd.tmpfiles: New file.
40063
40064 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
40065
40066 [BZ #12100]
40067 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40068 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40069 * sysdeps/x86_64/multiarch/strstr.c: ... here.
40070 (strstr): Add __strstr_sse2_unaligned ifunc.
40071 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40072 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40073 (strcasestr): Remove __strcasestr_sse42 ifunc.
40074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40077
40078 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40079
40080 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40081 * sysdeps/sh/bits/fenv.h: ... here.
40082 * sysdeps/sh/sh4/fpu/bits: Remove directory.
40083
40084 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40085
40086 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40087
40088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40089 hypotf multiarch implementations.
40090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40093 multiarch hypot for PPC64.
40094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40097 multiarch hypotf for PPC64.
40098
40099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40100 modff multiarch implementations.
40101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40104 multiarch modf for PPC64.
40105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40108 multiarch modff for PPC64.
40109
40110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40111 and logl multiarch implementations.
40112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40115 multiarch logb for PPC64.
40116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40119 multiarch logb for PPC64.
40120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40123 multiarch logb for PPC64.
40124
40125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40126 isinff multiarch implementation.
40127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40128 file.
40129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40131 multiarch isinf for PPC64.
40132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40133 file.
40134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40135 multiarch isinff for PPC64.
40136
40137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40138 finitef multiarch implementation.
40139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40140 file.
40141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40143 multiarch finite for PPC64.
40144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40145 file.
40146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40147 multiarch finitef for PPC64.
40148
40149 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40150 lrint multiarch implementation.
40151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40152 file.
40153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40155 multiarch llrint for PPC64.
40156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40157 multiarch lrint for PPC64.
40158
40159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40160 copysignf multiarch implementation.
40161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40162 file.
40163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40164 file.
40165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40166 multiarch copysign for PPC64.
40167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40168 multiarch copysignf for PPC64.
40169
40170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40171 multiarch implementation.
40172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40173 file.
40174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40175 file.
40176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40177 file.
40178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40179 file.
40180 multiarch llround for PPC64.
40181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40182 multiarch trunc for PPC64.
40183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40184 multiarch truncf for PPC64.
40185
40186 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40187 multiarch implementation.
40188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40189 file.
40190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40191 file.
40192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40193 file.
40194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40195 file.
40196 multiarch llround for PPC64.
40197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40198 multiarch round for PPC64.
40199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40200 multiarch roundf for PPC64.
40201
40202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40203 multiarch implementation.
40204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40205 file.
40206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40207 file.
40208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40209 file.
40210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40211 file.
40212 multiarch llround for PPC64.
40213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40214 multiarch floor for PPC64.
40215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40216 multiarch floorf for PPC64.
40217
40218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40219 multiarch implementation.
40220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40221 file.
40222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40223 file.
40224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40225 file.
40226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40227 file.
40228 multiarch llround for PPC64.
40229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40230 multiarch ceil for PPC64.
40231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40232 multiarch ceilf for PPC64.
40233
40234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40235 multiarch implementation.
40236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40237 file.
40238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40239 file.
40240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40241 file.
40242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40243 multiarch llround for PPC64.
40244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40245 multiarch lround for PPC64.
40246
40247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40248 multiarch implementation.
40249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40252 file.
40253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40256 multiarch isnan for PPC64.
40257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40258 multiarch isnanf for PPC64.
40259
40260 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40261 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40262 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40263 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40264 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40266
40267 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40268 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40271
40272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40273 multiarch implementations.
40274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40275 (__libc_ifunc_impl_list): Likewise.
40276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40278 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40279 multiarch stpcpy for PPC64.
40280
40281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40282 multiarch implementations.
40283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40284 (__libc_ifunc_impl_list): Likewise.
40285 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40286 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40287 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40288 multiarch strcpy for PPC64.
40289
40290 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40291 redefine function name.
40292 (_wordcopy_fwd_dest_aligned): Likewise.
40293 (_wordcopy_bwd_aligned): Likewise.
40294 (_wordcopy_bwd_dest_aligned): Likewise.
40295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40296 multiarch implementations.
40297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40298 (__libc_ifunc_impl_list): Likewise.
40299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40300 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40303 multiarch wcscpy for PPC64.
40304
40305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40306 multiarch implementations.
40307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40308 (__libc_ifunc_impl_list): Likewise.
40309 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40311 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40312 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40313 multiarch wcscpy for PPC64.
40314
40315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40316 multiarch implementations.
40317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40318 (__libc_ifunc_impl_list): Likewise.
40319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40321 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40322 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40323 multiarch wcsrchr for PPC64.
40324
40325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40326 multiarch implementations.
40327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40328 (__libc_ifunc_impl_list): Likewise.
40329 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40330 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40331 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40332 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40333 multiarch wcschr for PPC64.
40334
40335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40336 multiarch implementations.
40337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40338 (__libc_ifunc_impl_list): Likewise.
40339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40340 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40341 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40342 multiarch strchrnul for PPC64.
40343
40344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40345 implementations.
40346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40347 (__libc_ifunc_impl_list): Likewise.
40348 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
40349 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
40350 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
40351 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
40352 strchr for PPC64.
40353
40354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
40355 implementations.
40356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40357 (__libc_ifunc_impl_list): Likewise.
40358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
40359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
40360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
40361 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
40362 strncmp for PPC64.
40363
40364 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
40365 multiarch implementations.
40366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40367 (__libc_ifunc_impl_list): Likewise.
40368 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
40369 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
40370 strncasecmp for PPC64.
40371 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
40372 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
40373 multiarch strncasecmp_l for PPC64.
40374
40375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
40376 multiarch implementations.
40377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40378 (__libc_ifunc_impl_list): Likewise.
40379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
40380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
40381 multiarch strcasecmp for PPC64.
40382 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
40383 file.
40384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
40385 multiarch strcasecmp_l for PPC64.
40386
40387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
40388 implementations.
40389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40390 (__libc_ifunc_impl_list): Likewise.
40391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
40392 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
40393 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
40394 strnlen for PPC64.
40395
40396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
40397 implementations.
40398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40399 (__libc_ifunc_impl_list): Likewise.
40400 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
40401 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
40402 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
40403 strlen for PPC64.
40404
40405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
40406 implementations.
40407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40408 (__libc_ifunc_impl_list): Likewise.
40409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
40410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
40411 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
40412 rawmemrchr for PPC64.
40413
40414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
40415 implementation.
40416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40417 (__libc_ifunc_impl_list): Likewise.
40418 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
40419 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
40420 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
40421 memrchr for PPC64.
40422
40423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
40424 implementation.
40425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40426 (__libc_ifunc_impl_list): Likewise.
40427 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
40428 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
40429 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
40430 memchr for PPC64.
40431
40432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
40433 implementation.
40434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40435 (__libc_ifunc_impl_list): Likewise.
40436 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
40437 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
40438 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
40439 mempcpy for PPC64.
40440
40441 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
40442 avoid cretion of __bzero symbol.
40443 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
40444 Likewise.
40445 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
40446 Likewise.
40447 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
40448 Likewise.
40449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
40450 multiarch implementations.
40451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40452 (__libc_ifunc_impl_list): Likewise.
40453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
40454 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
40455 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
40456 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
40457 bzero for PPC32.
40458 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
40459 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
40460 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
40461 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
40462 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
40463 memset for PPC64.
40464 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
40465
40466 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
40467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
40468 implementations.
40469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40470 (__libc_ifunc_impl_list): Likewise.
40471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
40472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
40473 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
40474 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
40475 memcmp for PPC64.
40476
40477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
40478 multiarch for POWER/PPC64.
40479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
40480 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
40481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
40482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
40483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
40484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
40485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
40486 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
40487 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
40488 memcpy for PPC64.
40489
40490 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
40491 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
40492 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
40493 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
40494 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
40495 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
40496 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
40497 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
40498 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
40499 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
40500 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
40501 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
40502 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
40503 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
40504 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
40505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
40506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
40507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
40508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
40509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
40510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
40511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
40512
40513 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40514
40515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
40516
40517 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40518
40519 * benchtests/Makefile (bench): Add exp2 and log2.
40520 (LDLIBS-bench-exp2): Add -lm.
40521 (LDLIBS-bench-log2): Likewise.
40522 * benchtests/exp2-inputs: New inputs file.
40523 * benchtests/log2-inputs: New inputs file.
40524 * benchtests/log-inputs: Add new inputs.
40525 * benchtests/tan-inputs: Likewise.
40526
40527 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40528
40529 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
40530 definition...
40531 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
40532 (csloww2): ... from here.
40533
40534 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
40535 instead of structures.
40536 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
40537 (POLYNOMIAL): Likewise.
40538 (TAYLOR_SLOW): Likewise.
40539 (__sin): Likewise.
40540 (__cos): Likewise.
40541 (slow1): Likewise.
40542 (slow2): Likewise.
40543 (sloww): Likewise.
40544 (sloww1); Likewise.
40545 (sloww2): Likewise.
40546 (bsloww1): Likewise.
40547 (bsloww2): Likewise.
40548 (cslow2): Likewise.
40549 (csloww): Likewise.
40550 (csloww1): Likewise.
40551 (csloww2): Likewise.
40552
40553 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
40554
40555 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40556 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
40557 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
40558 * malloc/hooks.c (realloc_check): Likewise.
40559
40560 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
40561 * malloc/arena.c: Remove PER_THREAD conditional.
40562 [!PER_THREAD]: Remove code.
40563 (ptmalloc_unlock_all2): Likewise.
40564 (ptmalloc_init): Likewise.
40565 (_int_new_arena): Likewise.
40566 (arena_get2): Likewise.
40567 * malloc/hooks.c (__malloc_get_state): Likewise.
40568 (__malloc_set_state): Likewise.
40569 * malloc/malloc.c: Likewise.
40570 (struct malloc_state): Likewise.
40571 (struct malloc_par): Likewise.
40572 (__libc_realloc): Likewise.
40573 (__libc_mallopt): Likewise.
40574
40575 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40576
40577 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
40578
40579 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
40580
40581 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
40582 macro to a function. Check for zero perturb_byte.
40583 (_int_malloc, _int_free): Remove zero perturb_byte checks.
40584
40585 * malloc/malloc.c: (force_reg): Remove.
40586 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
40587 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
40588 force_reg by atomic_forced_read.
40589 * malloc/arena.c (ptmalloc_init): Likewise.
40590 * malloc/hooks.c (top_check): Likewise.
40591
40592 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40593
40594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40595
40596 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
40597
40598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40599
40600 2013-12-08 Joseph Myers <joseph@codesourcery.com>
40601
40602 * math/auto-libm-test-in: Add tests of lgamma.
40603 * math/auto-libm-test-out: Regenerated.
40604 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
40605 (M_LOG_2_SQRT_PIl): Likewise.
40606 (lgamma_test_data): Use AUTO_TESTS_f_f1.
40607 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40608 mpfr_f_f1.
40609 (func_calc_desc): Add mpfr_f_f1 union field.
40610 (ARGS1): New macro.
40611 (ARGS2): Likewise.
40612 (ARGS3): Likewise.
40613 (ARGS4): Likewise.
40614 (RET1): Likewise.
40615 (RET2): Likewise.
40616 (CALC): Likewise.
40617 (FUNC): Likewise.
40618 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
40619 (test_functions): Add lgamma.
40620 (calc_generic_results): Handle mpfr_f_f1.
40621 * sysdeps/i386/fpu/libm-test-ulps: Update.
40622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40623
40624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40625
40626 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
40627 __mpn_add_n for PowerPC64/POWER7.
40628 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
40629 __mpn_sub_n for PowerPC64/POWER7.
40630
40631 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
40632 __mpn_addmul_1 for PowerPC64.
40633 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
40634 __mpn_submul_1 for PowerPC64.
40635 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
40636 for PowerPC64.
40637 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
40638 for PowerPC64.
40639
40640 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
40641
40642 [BZ #15089]
40643 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
40644
40645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40646
40647 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
40648
40649 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
40650 add multiarch folders.
40651 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
40652 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
40653 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
40654 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
40655 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
40656 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
40657 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
40658 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
40659 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
40660 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
40661 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
40662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
40664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
40665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
40666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
40667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
40668
40669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40670 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
40671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
40672 New file.
40673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
40674 New file.
40675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
40676 multiarch __ieee754_hypot for PowerPC32.
40677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
40678 New file.
40679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
40680 New file.
40681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
40682 multiarch __ieee754_hypotf for PowerPC32.
40683
40684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
40685 long_double_symbol only if __logbl is defined.
40686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
40687 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
40688 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
40689 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
40690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
40691 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
40692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
40693 path for implementation.
40694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
40695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
40696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
40697 logb, and logbl multiarch implementations for PowerPC32.
40698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
40699 file.
40700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
40701 file.
40702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
40703 multiarch logb for PowerPC32.
40704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
40705 file.
40706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
40707 file.
40708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
40709 multiarch logbf for PowerPC32.
40710 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
40711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
40712 file.
40713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
40714 multiarch logbl implementation for PowerPC32.
40715
40716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
40717 and modff multiarch implementations.
40718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
40719 New file.
40720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
40721 New file.
40722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
40723 multiarch modf for PowerPC32.
40724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
40725 New file.
40726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
40727 New file.
40728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
40729 multiarch modff for PowerPC32.
40730
40731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
40732 and lrintf multiarch implementations.
40733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
40734 New file.
40735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
40736 New file.
40737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
40738 multiarch lrint for PowerPC32.
40739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
40740 file: multiarch lrintf for PowerPC32.
40741
40742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
40743 and lroundf multiarch implementations.
40744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
40745 New file.
40746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
40747 New file.
40748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
40749 New file.
40750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
40751 multiarch lround for PowerPC32.
40752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
40753 file: multiarch lroundf for PowerPC32.
40754
40755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
40756 copysign and copysignf multiarch implementations.
40757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
40758 New file.
40759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
40760 New file.
40761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
40762 file: multiarch copysign for PowerPC32.
40763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
40764 file: multiarch copysignf for PowerPC32.
40765
40766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
40767 and truncf multiarch implementations.
40768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
40769 New file.
40770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
40771 file.
40772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
40773 multiarch trunc for PowerPC32.
40774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
40775 New file.
40776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
40777 New file.
40778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
40779 multiarch truncf for PowerPC32.
40780
40781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
40782 and roundf multiarch implementations.
40783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
40784 New file.
40785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
40786 file.
40787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
40788 multiarch round for PowerPC32.
40789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
40790 New file.
40791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
40792 New file.
40793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
40794 multiarch roundf for PowerPC32.
40795
40796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
40797 and floorf multiarch implementations.
40798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
40799 New file.
40800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
40801 file.
40802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
40803 multiarch floor for PowerPC32.
40804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
40805 New file.
40806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
40807 New file.
40808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
40809 multiarch floorf for PowerPC32.
40810
40811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
40812 and ceilf multiarch implementations.
40813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
40814 New file.
40815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
40816 file.
40817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
40818 multiarch ceil for PowerPC32.
40819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
40820 New file.
40821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
40822 file.
40823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
40824 multiarch ceilf for PowerPC32.
40825
40826 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
40827 is defined.
40828 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40829 FINITEF is defined.
40830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40831 and finitef multiarch implementations.
40832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40833 New file.
40834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40835 file.
40836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40837 multiarch finite for PowerPC32.
40838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40839 New file.
40840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40841 file: multiarch finitef for PowerPC32.
40842
40843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40844 and isinff multiarch implementations.
40845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40846 file.
40847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40848 file.
40849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40850 multiarch isinf for PowerPC32.
40851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40852 New file.
40853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40854 multiarch isinff for PowerPC32.
40855
40856 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40857 alias when __isnan is defined.
40858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40859 and isnanf multiarch implementations.
40860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40861 file.
40862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40863 file.
40864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40865 file.
40866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40867 file.
40868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40869 multiarch isnan for PowerPC32.
40870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40871 New file.
40872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40873 New file.
40874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40875 multiarch isnanf for PowerPC32.
40876
40877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40878 and sqrtf multiarch implementations.
40879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40880 file.
40881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40882 file.
40883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40884 multiarch sqrt for PowerPC32.
40885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40886 file.
40887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40888 file.
40889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40890 multiarch sqrtf for PowerPC32.
40891
40892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40893 and llroundf multiarch implementations.
40894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40895 New file.
40896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40897 New file.
40898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40899 New file.
40900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40901 file: multiarch llround for PowerPC32.
40902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40903 file: multiarch llroundf for PowerPC32.
40904
40905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40906 multiarch PowerPC32 fpu implementations.
40907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40908 New file.
40909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40910 New file.
40911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40912 multiarch llrint for PowerPC32.
40913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40914 New file.
40915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40916 New file.
40917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40918 file.
40919
40920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40921
40922 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40923 file.
40924 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40925 file.
40926 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40927 file.
40928 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40929 multiarch wordcopy for PPC32.
40930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40931 wordcopy objects.
40932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40933 (__libc_ifunc_impl_list): Likewise.
40934 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40935 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40936 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40937 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40938 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40939 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40940
40941 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40943 file.
40944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40945 file.
40946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40947 file.
40948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40949 multiarch wcscpy for PPC32.
40950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40951 multiarch objects.
40952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40953 (__libc_ifunc_impl_list): Likewise.
40954 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40955 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40956 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40957 sysdeps/powerpc/power6/wcscpy.c.
40958
40959 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40961 file.
40962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40963 file.
40964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40965 file.
40966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40967 multiarch wcsrchr for PPC32.
40968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40969 multiarch objects.
40970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40971 (__libc_ifunc_impl_list): Likewise.
40972 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40973 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40974 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40975 sysdeps/powerpc/power6/wcsrchr.c.
40976
40977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40978 file.
40979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40980 file.
40981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40983 multiarch wcschr for PPc32.
40984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40985 multiarch objects.
40986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40987 (__libc_ifunc_impl_list): Likewise.
40988 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40989 * sysdeps/powerpc/power6/wcschr.c: ... to here.
40990 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40991 sysdeps/powerpc/power6/wcschr.c.
40992
40993 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40994 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40995 file.
40996 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40997 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40998 file: multiarch strchr for PPC32.
40999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41000 multiarch objects.
41001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41002 (__libc_ifunc_impl_list): Likewise.
41003
41004 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41005 name.
41006 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41007 file.
41008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41009 file.
41010 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41011 multiarch strchrnul for PPC32.
41012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41013 multiarch objects.
41014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41015 (__libc_ifunc_impl_list): Likewise.
41016
41017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41018 file.
41019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41020 multiarch strncasecmp for PPC32.
41021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41022 file.
41023 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41024 multiarch strncasecmp_l for PPC32.
41025 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41026 strncasecmp multiarch objects.
41027 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41028 (__libc_ifunc_impl_list): Likewise.
41029
41030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41031 file.
41032 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41033 multiarch strncasecmp for PPC32.
41034 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41035 New file.
41036 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41037 multiarch strcasecmp_l for PPC32.
41038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41039 multiarch objects.
41040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41041 (__libc_ifunc_impl_list): Likewise.
41042
41043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41044 file.
41045 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41046 file.
41047 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41048 multiarch strncmp for PPC32.
41049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41050 multiarch objects.
41051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41052 (__libc_ifunc_impl_list): Likewise.
41053
41054 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41055 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41056 file.
41057 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41058 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41060 multiarch objects.
41061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41062 (__libc_ifunc_impl_list): Likewise.
41063
41064 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41065 file.
41066 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41067 file.
41068 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41069 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41070 multiarch objects.
41071 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41072 (__libc_ifunc_impl_list): Likewise.
41073
41074 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41075 file.
41076 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41077 file.
41078 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41079 multiarch rawmemchr for PPC32.
41080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41081 multiarch objects.
41082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41083 (__libc_ifunc_impl_list): Likewise.
41084
41085 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41086 file.
41087 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41088 file.
41089 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41090 file: memrchr multiarch for PPC32.
41091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41092 multiarch objects.
41093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41094 (__libc_ifunc_impl_list): Likewise.
41095
41096 * string/memchr.c (__memchr): Using macro to redefine symbol name.
41097 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41098 file.
41099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41100 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41101 multiarch memchr for PPC32.
41102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41103 multiarch objects.
41104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41105 (__libc_ifunc_impl_list): Likewise.
41106
41107 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41108 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41109 file.
41110 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41111 file.
41112 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41113 file: multiarch mempcpy for PPC32.
41114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41115 multiarch objects.
41116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41117 (__libc_ifunc_impl_list): Likewise.
41118
41119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41121 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41122 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41123 multiarch bzero for PPC32.
41124 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41125 file.
41126 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41127 file.
41128 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41129 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41130 file: multiarch memset for PPC32.
41131 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41133 memset multiarch objects.
41134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41135 (__libc_ifunc_impl_list): Likewise.
41136
41137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41138 file.
41139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41140 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41141 memcmp for PPC32.
41142 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41144 multiarch objects.
41145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41146 (__libc_ifunc_impl_list): Likewise.
41147
41148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41150 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41151 file.
41152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41153 file.
41154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41155 file.
41156 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41157 multiarch memcpy for PPC32.
41158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41159 multiarch objects.
41160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41161 (__libc_ifunc_impl_list): Likewise.
41162
41163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41164 support multiarch for POWER/PPC32.
41165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41166 Likewise.
41167 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41169 Implies file to make multiarch folder appers before the fpu and
41170 default folder for power4 configuration.
41171
41172 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41173
41174 * scripts/bench.pl: Append volatile keyword to type.
41175
41176 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41177
41178 * sysdeps/sh/sotruss-lib.c: New file.
41179 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41180
41181 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41182
41183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41184
41185 2013-12-05 Joseph Myers <joseph@codesourcery.com>
41186
41187 [BZ #6810]
41188 * math/w_tgamma.c: Include <errno.h>.
41189 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
41190 * math/w_tgammaf.c: Include <errno.h>.
41191 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
41192 * math/w_tgammal.c: Include <errno.h>.
41193 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
41194 * math/auto-libm-test-in: Do not allow missing errno on tgamma
41195 underflow. Add more tgamma tests.
41196 * math/auto-libm-test-out: Regenerated.
41197 * sysdeps/i386/fpu/libm-test-ulps: Update.
41198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41199
41200 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41201 sin, sinh, tan, tanh, tgamma, y0 and y1.
41202 * math/auto-libm-test-out: Regenerated.
41203 * math/libm-test.inc (TEST_COND_x86_64): New macro.
41204 (TEST_COND_x86): Likewise.
41205 (M_E2l): Remove macro.
41206 (M_E3l): Likewise.
41207 (M_2_SQRT_PIl): Likewise.
41208 (M_SQRT_PIl): Likewise.
41209 (M_1_DIV_El): Likewise.
41210 (log_test_data): Use AUTO_TESTS_f_f.
41211 (log10_test_data): Likewise.
41212 (log1p_test_data): Likewise.
41213 (log2_test_data): Likewise.
41214 (sin_test_data): Likewise.
41215 (sin_tonearest_test_data): Likewise.
41216 (sin_towardzero_test_data): Likewise.
41217 (sin_downward_test_data): Likewise.
41218 (sin_upward_test_data): Likewise.
41219 (sinh_test_data): Likewise.
41220 (sinh_tonearest_test_data): Likewise.
41221 (sinh_towardzero_test_data): Likewise.
41222 (sinh_downward_test_data): Likewise.
41223 (sinh_upward_test_data): Likewise.
41224 (tan_test_data): Likewise.
41225 (tan_tonearest_test_data): Likewise.
41226 (tan_towardzero_test_data): Likewise.
41227 (tan_downward_test_data): Likewise.
41228 (tan_upward_test_data): Likewise.
41229 (tanh_test_data): Likewise.
41230 (tgamma_test_data): Likewise.
41231 (y0_test_data): Likewise.
41232 (y1_test_data): Likewise.
41233 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41234 (special_real_inputs): Add pi/4.
41235 * sysdeps/i386/fpu/libm-test-ulps: Update.
41236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41237
41238 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41239
41240 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41241 "longjmp_target" static probes.
41242 (__longjmp): Rename to __longjmp_symbol.
41243 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41244 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41245 on which longjmp to generate.
41246 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41247 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41248 probe.
41249 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41250 (__sigjmp_save): Rename to __sigjmp_save_symbol.
41251 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41252 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41253 and __sigjmp_save_symbol based on which sigsetjmp to generated.
41254 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41256 __longjmp_symbol based on which __longjmp to generate.
41257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41258 probe.
41259 (setjmp): Rename to setjmp_symbol.
41260 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41261 (_setjmp): Rename to _setjmp_symbol.
41262 (__sigsetjmp): Rename to __sigsetjmp_symbol.
41263 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41264 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41265 which setjmp to generate.
41266 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41267 "longjmp_target" static probes.
41268
41269 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41270
41271 * benchtests/README: Add note about output arguments.
41272 * benchtests/bench-sincos.c: Remove file.
41273 * benchtests/sincos-inputs: New file.
41274 * scripts/bench.pl: Identify output arguments and define
41275 static variables for them.
41276
41277 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41278
41279 [BZ #15941]
41280 * Makefile (INSTALL): Add install-plain.texi as the primary
41281 dependency.
41282 * manual/install-plain.texi: New file.
41283 * manual/install.texi: Include node directive only for
41284 non-plaintext output.
41285
41286 2013-12-04 Joseph Myers <joseph@codesourcery.com>
41287
41288 * stdlib/longlong.h: Update from GCC.
41289
41290 [BZ #6807]
41291 [BZ #15901]
41292 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41293 * math/w_j0f.c (y0f): Likewise.
41294 * math/w_j0l.c (__y0l): Likewise.
41295 * math/w_j1.c (y1): Likewise.
41296 * math/w_j1f.c (y1f): Likewise.
41297 * math/w_j1l.c (__y1l): Likewise.
41298 * math/w_jn.c (yn): Likewise.
41299 * math/w_jnf.c (ynf): Likewise.
41300 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41301 Bessel function pole errors in _POSIX_ mode. Use NAN as return
41302 value for Bessel function domain errors outside _SVID_ mode.
41303 Adjust sign of return value for yn (negative integer, 0).
41304 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41305 by zero in return for negative x and set sign appropriately for
41306 negative n.
41307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41309 * math/libm-test.inc (y0_test_data): Add more tests and adjust
41310 expectations in error cases.
41311 (y1_test_data): Likewise.
41312 (yn_test_data): Likewise.
41313 * sysdeps/i386/fpu/libm-test-ulps: Update.
41314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41315
41316 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41317
41318 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41319 "64" to "64-v1". Add "64-v2".
41320 (abi-64-options): Rename to ...
41321 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
41322 (abi-64-condition): Rename to ...
41323 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
41324 (abi-64-ld-soname): Rename to ...
41325 (abi-64-v1-ld-soname): ... this.
41326 (abi-64-v2-options): Define.
41327 (abi-64-v2-condition): Likewise.
41328 (abi-64-v2-ld-soname): Likewise.
41329 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41330 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41334
41335 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41336 Alan Modra <amodra@gmail.com>
41337
41338 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41339 New versions for use with the ELFv2 ABI.
41340 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41341 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41342 declaration.
41343 (struct La_ppc64v2_retval): Likewise.
41344 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41345 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
41346 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
41347 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
41348 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
41349 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41350 Do not save or restore CR.
41351 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
41352 (_dl_profile_resolve): Do no save or restore CR. Support extended
41353 return values for ELFv2 ABI. Fix location of FPR return registers.
41354 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
41355 updated values for _CALL_ELF == 2.
41356 (La_regs, La_retval, int_retval): Likewise.
41357
41358 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41359
41360 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
41361 (FRAME_MIN_SIZE_PARM): Likewise.
41362 (FRAME_BACKCHAIN): Likewise.
41363 (FRAME_CR_SAVE): Likewise.
41364 (FRAME_LR_SAVE): Likewise.
41365 (FRAME_TOC_SAVE): Likewise.
41366 (FRAME_PARM_SAVE): Likewise.
41367 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
41368 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
41369 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41370 (call_mcount_parm_offset): New macro.
41371 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
41372 (PROF): Use symbolic stack frame offsets.
41373 (TAIL_CALL_SYSCALL_ERROR): Likewise.
41374 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
41375 Redefine in terms of FRAME_MIN_SIZE.
41376 (_dl_runtime_resolve): Use symbolic stack frame offsets.
41377 (_dl_profile_resolve): Likewise. Update comment.
41378 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
41379 symbols stack frame offsets.
41380 (__sigsetjmp): Likewise.
41381 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
41382 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
41383 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
41384 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
41385
41386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
41387 (FRAME_BACKCHAIN): Remove.
41388 (FRAME_CR_SAVE): Likewise.
41389 (FRAME_LR_SAVE): Likewise.
41390 (FRAME_COMPILER_DW): Likewise.
41391 (FRAME_LINKER_DW): Likewise.
41392 (FRAME_TOC_SAVE): Likewise.
41393 (FRAME_PARM_SAVE): Likewise.
41394 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
41395 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
41396 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
41397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
41398 (CHECK_SP): Use symbolic stack frame offsets.
41399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
41400 zone" instead of caller's parameter save area for temp storage.
41401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41402 Likewise. Also, use symbolic stack frame offsets.
41403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
41404 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
41405 our own stack frame instead of the caller's.
41406 (__socket): Use symbolic stack frame offsets.
41407
41408 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41409 Alan Modra <amodra@gmail.com>
41410
41411 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
41412 Define.
41413 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
41414 (PPC64_LOCAL_ENTRY_OFFSET): Define.
41415 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
41416 New function.
41417 (elf_machine_fixup_plt): Call it.
41418 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
41419 reloc arguments.
41420 (elf_machine_rela): Update call to elf_machine_plt_conflict.
41421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41422 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
41423 r2 before calling target.
41424
41425 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41426 Alan Modra <amodra@gmail.com>
41427
41428 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
41429 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
41430 versions of macros to support ELFv2 ABI.
41431 (LOCALENTRY): New macro.
41432 (ENTRY, EALIGN): Use it.
41433 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
41434 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
41435 fall through into ENTRY entry point.
41436 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
41437 Only define if _CALL_ELF != 2.
41438
41439 (elf_machine_matches_host): Verify ABI version matches.
41440 (RTLD_START): Use LOCALENTRY.
41441 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
41442 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
41443 (PLT_ENTRY_WORDS): New macro.
41444 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
41445 (elf_machine_runtime_setup): Support ELFv2 ABI.
41446 (elf_machine_fixup_plt): Likewise.
41447 (elf_machine_plt_conflict): Likewise.
41448 (resolve_ifunc): Likewise.
41449 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41450 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41451 Likewise.
41452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
41453 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41455 (makecontext): Support ELFv2 ABI.
41456 * elf/elf.h (EF_PPC64_ABI): Define.
41457
41458 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41459
41460 * sysdeps/powerpc/powerpc64/sysdep.h
41461 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
41462 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
41463 (ENTRY) [ASSEMBLER]: ... but instead here ...
41464 (EALIGN) [ASSEMBLER]: ... and here.
41465 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
41466 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
41467 (ENTRY_2) [!ASSEMBLER]: Use it.
41468 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
41469 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
41470 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
41471 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
41472 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
41473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
41474 Use PPC64_LOAD_FUNCPTR.
41475
41476 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
41477
41478 2013-12-04 Alan Modra <amodra@gmail.com>
41479
41480 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
41481 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
41482 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
41483 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
41484
41485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
41486 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
41487 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
41488 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
41489 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
41490 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
41491
41492 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
41493
41494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41495 (__makecontext): Fix incorrect CFI when backtracing out of
41496 context created via makecontext.
41497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
41498 (__setcontext): Fix incorrect CFI during switch to new context.
41499 (__novec_setcontext): Likewise.
41500
41501 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41502
41503 [BZ #4772]
41504 * time/strptime_l.c (__strptime_internal): Allow modifiers
41505 in strptime.
41506 * time/tst-strptime.c (day_tests): Add testcase.
41507
41508 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41509
41510 * scripts/bench.pl: Skip over blank lines.
41511
41512 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
41513
41514 [BZ #926]
41515 * manual/time.texi (Calendar Time): Clarify what timezone functions
41516 use.
41517
41518 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41519
41520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41521
41522 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
41523
41524 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
41525 implementation.
41526 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
41527 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
41528 * debug/memset_chk.c (__memset_chk): Likewise.
41529 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
41530 * debug/strncpy_chk.c: Likewise.
41531
41532 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41533
41534 [BZ #15268]
41535 [BZ #15425]
41536 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
41537 (__ieee754_exp): For possibly underflowing results, check size of
41538 result and force underflow exception if required.
41539 * math/auto-libm-test-in: Add more tests of exp.
41540 * math/auto-libm-test-out: Regenerated.
41541 * sysdeps/i386/fpu/libm-test-ulps: Update.
41542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41543
41544 [BZ #16283]
41545 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
41546 * math/w_exp2f.c (__exp2f): Likewise.
41547 * math/w_exp2l.c (__exp2l): Likewise.
41548 * math/auto-libm-test-in: Do not allow missing errno on exp2
41549 underflow.
41550 * math/auto-libm-test-out: Regenerated.
41551
41552 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
41553
41554 [BZ #16274]
41555 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
41556 handle filename validation.
41557 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
41558 (do_open): Delete.
41559
41560 2013-12-03 Joseph Myers <joseph@codesourcery.com>
41561
41562 [BZ #6786]
41563 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
41564 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
41565 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
41566 <float.h>.
41567 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
41568 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
41569 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
41571 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
41573 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
41574 * math/auto-libm-test-in: Don't allow missing errno from erfc.
41575 Add more erfc tests.
41576 * math/auto-libm-test-out: Regenerated.
41577 * sysdeps/i386/fpu/libm-test-ulps: Update.
41578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41579
41580 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
41581 exp2, expm1, j0 and j1.
41582 * math/auto-libm-test-out: Regenerated.
41583 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
41584 (erfc_test_data): Likewise.
41585 (exp_test_data): Likewise.
41586 (exp_tonearest_test_data): Likewise.
41587 (exp_towardzero_test_data): Likewise.
41588 (exp_downward_test_data): Likewise.
41589 (exp_upward_test_data): Likewise.
41590 (exp10_test_data): Likewise.
41591 (exp2_test_data): Likewise.
41592 (expm1_test_data): Likewise.
41593 (j0_test_data): Likewise.
41594 (j1_test_data): Likewise.
41595 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
41596 (input_flag_type): Add flag_xfail_rounding.
41597 (input_flags): Add xfail-rounding.
41598 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
41599 (output_for_one_input_case): Handle flag_xfail_rounding.
41600 * sysdeps/i386/fpu/libm-test-ulps: Update.
41601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41602
41603 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
41604
41605 [BZ #16289]
41606 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
41607 division by 0.
41608
41609 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
41610
41611 [BZ #16195]
41612 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
41613 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
41614 (STAP_PROBE0): New macro.
41615 (STAP_PROBE1): Likewise.
41616 (STAP_PROBE2): Likewise.
41617 (STAP_PROBE3): Likewise.
41618 (STAP_PROBE4): Likewise.
41619
41620 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
41621
41622 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
41623
41624 2013-12-02 Steve Ellcey <sellcey@mips.com>
41625
41626 * benchtests/Makefile (bench): Add sqrt.
41627 (LDLIBS-bench-sqrt): New.
41628 * benchtests/sqrt-input: New.
41629
41630 2013-12-02 Pavel Simerda <psimerda@redhat.com>
41631
41632 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
41633 (GAIH_EAI): Likewise.
41634 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
41635 (gaih_inet): Likewise.
41636 (getaddrinfo): Don't use GAIH_EAI.
41637
41638 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
41639 (struct gaih): Remove definition.
41640
41641 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41642
41643 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41644 Use HERRNOP directly.
41645
41646 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41647
41648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41649
41650 2013-11-30 Joseph Myers <joseph@codesourcery.com>
41651
41652 * math/gen-auto-libm-tests.c (test_functions): Add more
41653 single-argument functions.
41654 (special_fill_pi_2): New function.
41655 (special_fill_minus_pi_2): Likewise.
41656 (special_fill_pi_6): Likewise.
41657 (special_fill_minus_pi_6): Likewise.
41658 (special_fill_pi_3): Likewise.
41659 (special_fill_2pi_3): Likewise.
41660 (special_fill_e): Likewise.
41661 (special_fill_1_e): Likewise.
41662 (special_fill_e_minus_1): Likewise.
41663 (special_real_inputs): Add more special inputs.
41664 (output_for_one_input_case): Do not require ERANGE on underflow to
41665 zero if round-to-nearest result does not underflow to zero, unless
41666 exact results required.
41667 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
41668 atan, atanh, cbrt, cos and cosh.
41669 * math/auto-libm-test-out: Regenerated.
41670 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
41671 (acos_tonearest_test_data): Likewise.
41672 (acos_towardzero_test_data): Likewise.
41673 (acos_downward_test_data): Likewise.
41674 (acos_upward_test_data): Likewise.
41675 (acosh_test_data): Likewise.
41676 (asin_test_data): Likewise.
41677 (asin_tonearest_test_data): Likewise.
41678 (asin_towardzero_test_data): Likewise.
41679 (asin_upward_test_data): Likewise.
41680 (asinh_test_data): Likewise.
41681 (atan_test_data): Likewise.
41682 (atanh_test_data): Likewise.
41683 (cbrt_test_data): Likewise.
41684 (cos_test_data): Likewise.
41685 (cos_tonearest_test_data): Likewise.
41686 (cos_towardzero_test_data): Likewise.
41687 (cos_downward_test_data): Likewise.
41688 (cos_upward_test_data): Likewise.
41689 (cosh_test_data): Likewise.
41690 (cosh_tonearest_test_data): Likewise.
41691 (cosh_towardzero_test_data): Likewise.
41692 (cosh_downward_test_data): Likewise.
41693 (cosh_upward_test_data): Likewise.
41694 * sysdeps/i386/fpu/libm-test-ulps: Update.
41695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41696
41697 2013-11-29 Joseph Myers <joseph@codesourcery.com>
41698
41699 [BZ #6787]
41700 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
41701 * math/w_exp10f.c (__exp10f): Likewise.
41702 * math/w_exp10l.c (__exp10l): Likewise.
41703 * math/libm-test.inc (exp10_test_data): Add more tests and expect
41704 errno settings in existing tests.
41705
41706 [BZ #14032]
41707 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
41708 precision control set to double precision.
41709 * sysdeps/i386/fpu/w_sqrt.c: New file.
41710 * math/auto-libm-test-in: Add more tests.
41711 * math/auto-libm-test-out: Update.
41712
41713 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
41714 (sqrt_test_tonearest): New function.
41715 (sqrt_towardzero_test_data): New variable.
41716 (sqrt_test_towardzero): New function.
41717 (sqrt_downward_test_data): New variable.
41718 (sqrt_test_downward): New function.
41719 (sqrt_upward_test_data): New variable.
41720 (sqrt_test_upward): New function.
41721 (main): Call the new functions.
41722
41723 * math/gen-auto-libm-tests.c: New file.
41724 * math/auto-libm-test-in: Likewise.
41725 * math/auto-libm-test-out: New generated file.
41726 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
41727 variables.
41728 (%beautify): Add generated representations of zero.
41729 (top level): Set $auto_input and call parse_auto_input.
41730 (beautify): Remove trailing "f" from hex float constants.
41731 (parse_args): Handle XFAIL_TEST.
41732 (convert_condition): New function.
41733 (or_value): Likewise.
41734 (or_cond_value): Likewise.
41735 (generate_testfile): Handle AUTO_TESTS_* lines.
41736 (parse_auto_input): New function.
41737 * math/libm-test.inc (XFAIL_TEST): New macro.
41738 (ERRNO_UNCHANGED): Update value.
41739 (ERRNO_EDOM): Likewise.
41740 (ERRNO_ERANGE): Likewise.
41741 (IGNORE_RESULT): Likewise.
41742 (TEST_COND_flt_32): New macro.
41743 (TEST_COND_dbl_64): Likewise.
41744 (TEST_COND_ldbl_96_intel): Likewise.
41745 (TEST_COND_ldbl_96_m68k): Likewise.
41746 (TEST_COND_ldbl_128): Likewise.
41747 (TEST_COND_ldbl_128ibm): Likewise.
41748 (TEST_COND_long32): Likewise.
41749 (TEST_COND_long64): Likewise.
41750 (TEST_COND_before_rounding): Likewise.
41751 (TEST_COND_after_rounding): Likewise.
41752 (enable_test): Handle XFAIL_TEST flag.
41753 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
41754 with finite results.
41755 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
41756 auto-libm-test-out.
41757
41758 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41759 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41760
41761 [BZ #16214]
41762 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
41763 __tls_get_addr_internal instead of __tls_get_offset in order to
41764 avoid GOT pointer dependency. Make rtld export
41765 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
41766 __tls_get_addr since we are a __tls_get_offset platform.
41767 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
41768 GOT pointer being set up before.
41769 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
41770
41771 2013-11-28 Joseph Myers <joseph@codesourcery.com>
41772
41773 * manual/math.texi (Errors in Math Functions): Document accuracy
41774 goals.
41775
41776 [BZ #15004]
41777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
41778 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
41779 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41781 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41782 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41783 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41784 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41785 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41786 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41787 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41788 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41789 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41790 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41792 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41793
41794 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
41795 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
41796 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
41797 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41798 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
41799 Likewise.
41800 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
41801 Likewise.
41802 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
41803 Likewise.
41804 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
41805 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
41806 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
41807 atomic-feupdateenv and flt-rounds.
41808 * sysdeps/powerpc/nofpu/Versions (libc): Add
41809 __atomic_feholdexcept, __atomic_feclearexcept,
41810 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
41811 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
41812 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
41813 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
41814 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
41815 here.
41816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41817 Update.
41818
41819 * manual/arith.texi (FP Exceptions): Document that exceptions may
41820 not be raised when matherr is used.
41821 (Math Error Reporting): Document overflow in directed rounding
41822 modes. Document that errno may not be set when finite values are
41823 returned on overflow. Document intent to set errno on underflow
41824 only for underflow to zero.
41825
41826 [BZ #16271]
41827 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
41828 round-to-nearest then adjust result for other rounding modes.
41829 * include/fenv.h (fegetround): Use libm_hidden_proto.
41830 * math/fegetround.c (fegetround): Use libm_hidden_def.
41831 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41832 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41833 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41834 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41835 Likewise.
41836 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41837 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41838 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41839 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41840
41841 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41842
41843 [BZ #16077]
41844 * nss/Versions (libnss_files): Add
41845 _nss_files_gethostbyname3_r.
41846 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41847 New function.
41848 (HOST_DB_LOOKUP): Remove macro.
41849 (_nss_files_gethostbyname_r): Implement function without the
41850 HOST_DB_LOOKUP macro.
41851 (_nss_files_gethostbyname2_r): Likewise.
41852
41853 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
41854
41855 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41856
41857 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
41858
41859 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41860 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41861 warning.
41862
41863 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41864
41865 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41866 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41867 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41868 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41869 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41870 __fe_nomask_env_priv and attribute_hidden.
41871 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41872 (libc_feupdateenv_test_ppc): Likewise.
41873 (libc_feresetround_ppc): Likewise.
41874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41875 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41876 compat_symbol macro.
41877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41878 (__fe_nomask_env): Likewise.
41879 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41880
41881 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41882
41883 * string/Makefile: Remove ifunc tests.
41884 * string/test-string.h: Define TEST_IFUNC.
41885 * string/test-bcopy-ifunc.c: Remove.
41886 * string/test-bzero-ifunc.c: Likewise.
41887 * string/test-memccpy-ifunc.c: Likewise.
41888 * string/test-memchr-ifunc.c: Likewise.
41889 * string/test-memcmp-ifunc.c: Likewise.
41890 * string/test-memcpy-ifunc.c: Likewise.
41891 * string/test-memmem-ifunc.c: Likewise.
41892 * string/test-memmove-ifunc.c: Likewise.
41893 * string/test-mempcpy-ifunc.c: Likewise.
41894 * string/test-memrchr-ifunc.c: Likewise.
41895 * string/test-memset-ifunc.c: Likewise.
41896 * string/test-rawmemchr-ifunc.c: Likewise.
41897 * string/test-stpcpy-ifunc.c: Likewise.
41898 * string/test-stpncpy-ifunc.c: Likewise.
41899 * string/test-strcasecmp-ifunc.c: Likewise.
41900 * string/test-strcasestr-ifunc.c: Likewise.
41901 * string/test-strcat-ifunc.c: Likewise.
41902 * string/test-strchr-ifunc.c: Likewise.
41903 * string/test-strchrnul-ifunc.c: Likewise.
41904 * string/test-strcmp-ifunc.c: Likewise.
41905 * string/test-strcpy-ifunc.c: Likewise.
41906 * string/test-strcspn-ifunc.c: Likewise.
41907 * string/test-strlen-ifunc.c: Likewise.
41908 * string/test-strncasecmp-ifunc.c: Likewise.
41909 * string/test-strncat-ifunc.c: Likewise.
41910 * string/test-strncmp-ifunc.c: Likewise.
41911 * string/test-strncpy-ifunc.c: Likewise.
41912 * string/test-strnlen-ifunc.c: Likewise.
41913 * string/test-strpbrk-ifunc.c: Likewise.
41914 * string/test-strrchr-ifunc.c: Likewise.
41915 * string/test-strspn-ifunc.c: Likewise.
41916 * string/test-strstr-ifunc.c: Likewise.
41917
41918 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41919
41920 * benchtests/Makefile: Remove ifunc tests.
41921 * benchtests/bench-string.h: Define TEST_IFUNC.
41922 * benchtests/bench-bcopy-ifunc.c: Remove.
41923 * benchtests/bench-bzero-ifunc.c: Likewise.
41924 * benchtests/bench-memccpy-ifunc.c: Likewise.
41925 * benchtests/bench-memchr-ifunc.c: Likewise.
41926 * benchtests/bench-memcmp-ifunc.c: Likewise.
41927 * benchtests/bench-memcpy-ifunc.c: Likewise.
41928 * benchtests/bench-memmem-ifunc.c: Likewise.
41929 * benchtests/bench-memmove-ifunc.c: Likewise.
41930 * benchtests/bench-mempcpy-ifunc.c: Likewise.
41931 * benchtests/bench-memrchr-ifunc.c: Likewise.
41932 * benchtests/bench-memset-ifunc.c: Likewise.
41933 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41934 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41935 * benchtests/bench-stpcpy-ifunc.c: Likewise.
41936 * benchtests/bench-stpncpy-ifunc.c: Likewise.
41937 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41938 * benchtests/bench-strcasestr-ifunc.c: Likewise.
41939 * benchtests/bench-strcat-ifunc.c: Likewise.
41940 * benchtests/bench-strchr-ifunc.c: Likewise.
41941 * benchtests/bench-strchrnul-ifunc.c: Likewise.
41942 * benchtests/bench-strcmp-ifunc.c: Likewise.
41943 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41944 * benchtests/bench-strcpy-ifunc.c: Likewise.
41945 * benchtests/bench-strcspn-ifunc.c: Likewise.
41946 * benchtests/bench-strlen-ifunc.c: Likewise.
41947 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41948 * benchtests/bench-strncat-ifunc.c: Likewise.
41949 * benchtests/bench-strncmp-ifunc.c: Likewise.
41950 * benchtests/bench-strncpy-ifunc.c: Likewise.
41951 * benchtests/bench-strnlen-ifunc.c: Likewise.
41952 * benchtests/bench-strpbrk-ifunc.c: Likewise.
41953 * benchtests/bench-strrchr-ifunc.c: Likewise.
41954 * benchtests/bench-strsep-ifunc.c: Likewise.
41955 * benchtests/bench-strspn-ifunc.c: Likewise.
41956 * benchtests/bench-strstr-ifunc.c: Likewise.
41957
41958 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41959
41960 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41961
41962 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
41963
41964 * resolv/netdb.h: Use __glibc_reserved instead __unused.
41965 * rt/aio.h: Likewise.
41966 * sysdeps/gnu/bits/utmp.h: Likewise.
41967 * sysdeps/gnu/bits/utmpx.h: Likewise.
41968 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41969 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41970 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41971 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41972 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41973 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41974 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41975 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41976 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41977 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41978 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41979 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41980 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41982 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41983 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41984 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41985 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41986 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41987 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41988 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41989 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41990 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41991 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41992 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41994 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41995 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41996 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41997 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41998 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41999 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42000 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42001 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42002 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42003 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42004 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42005 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42006 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42007 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42008 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42009 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42010
42011 2013-11-25 Carlos O'Donell <carlos@redhat.com>
42012
42013 [BZ #16245]
42014 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42015 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42016
42017 2013-11-25 Joseph Myers <joseph@codesourcery.com>
42018
42019 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42020 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42021 Likewise.
42022
42023 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42024
42025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42026 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42027 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42028 (__fesetround): Remove define.
42029 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42030 rounding and exceptions handling.
42031 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42032 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42033 (__fe_nomask_env): Likewise.
42034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42035 __fegetround instead of fegetround.
42036 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42037 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42038
42039 2013-11-21 Roland McGrath <roland@hack.frob.com>
42040
42041 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42042 it's there.
42043
42044 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42045
42046 2013-11-21 Meador Inge <meadori@codesourcery.com>
42047
42048 [BZ #11157]
42049 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42050 (encrypt_r): Likewise.
42051 * malloc/obstack.h (obstack_free): Likewise.
42052 * posix/unistd.h (encrypt): Likewise.
42053
42054 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
42055
42056 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42057 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42058 DL_CALL_DT_FINI() that call the functions directly.
42059 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42060 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42061 * elf/dl-fini.c: Likewise.
42062
42063 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
42064
42065 * malloc/hooks.c (memalign_check): Add alignment rounding.
42066 * malloc/malloc.c (_mid_memalign): New function.
42067 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42068 Implement by calling _mid_memalign.
42069 * manual/probes.texi (Memory Allocation Probes): Remove
42070 memory_valloc_retry and memory_pvalloc_retry.
42071
42072 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42073
42074 * locale/programs/locarchive.c (open_archive): Add const
42075 qualifier to ARCHIVEFNAME and copy default fname to
42076 DEFAULT_FNAME.
42077
42078 [BZ #15601]
42079 * libio/tst-widetext.input: Rename Oriya to Odia.
42080 * locale/iso-639.def: Likewise.
42081
42082 * manual/probes.texi (Mathematical Function Probes): Add
42083 documentation for sin, cos, asin and acos probes.
42084 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42085 (__sin32): Add slowasin probe.
42086 (__cos32): Add slowacos probe.
42087 (__mpsin): Add slowsin probe.
42088 (__mpcos): Add slowcos probe.
42089
42090 2013-11-19 Joseph Myers <joseph@codesourcery.com>
42091
42092 [BZ #15483]
42093 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42094 thread-local __sim_exceptions_thread and global
42095 __sim_exceptions_global.
42096 (__sim_disabled_exceptions): Change to thread-local
42097 __sim_disabled_exceptions_thread and global
42098 __sim_disabled_exceptions_global.
42099 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42100 and global __sim_round_mode_global.
42101 (__simulate_exceptions): Use thread-local floating-point state and
42102 set global state from it as needed.
42103 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42104 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42105 __sim_round_mode_thread.
42106 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42107 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42108 and global __sim_exceptions_global.
42109 (__sim_disabled_exceptions): Change to thread-local
42110 __sim_disabled_exceptions_thread and global
42111 __sim_disabled_exceptions_global.
42112 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42113 and global __sim_round_mode_global.
42114 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42115 (SIM_SET_GLOBAL): Likewise.
42116 * sysdeps/powerpc/soft-fp/sfp-machine.h
42117 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42118 __sim_round_mode_thread.
42119 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42120 __sim_disabled_exceptions_thread.
42121 (__sim_exceptions): Change to __sim_exceptions_thread.
42122 (__sim_disabled_exceptions): Change to
42123 __sim_disabled_exceptions_thread.
42124 (__sim_round_mode): Change to __sim_round_mode_thread.
42125 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42126 thread-local floating-point state and set global state from it as
42127 needed.
42128 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42129 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42130 (__sim_disabled_exceptions): Remove extern declaration.
42131 (feenableexcept): Use thread-local floating-point state and set
42132 global state from it as needed.
42133 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42134 extern declaration.
42135 (__sim_disabled_exceptions): Likewise.
42136 (__sim_round_mode): Likewise.
42137 (__fegetenv): Use thread-local floating-point state.
42138 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42139 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42140 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42141 floating-point state and set global state from it as needed.
42142 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42143 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42144 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42145 Likewise.
42146 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42147 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42148 Likewise.
42149 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42150 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42151 Use __sim_round_mode_thread.
42152 * math/test-fenv-tls.c: New file.
42153 * math/Makefile (tests): Add test-fenv-tls.
42154 ($(objpfx)test-fenv-tls): Depend on
42155 $(common-objpfx)nptl/libpthread.so.
42156
42157 2013-11-19 Andreas Schwab <schwab@suse.de>
42158
42159 * locale/programs/locale.c (show_info): Decode wordarray elements.
42160 * locale/categories.def (LC_MONETARY): Add element for
42161 _NL_MONETARY_CRNCYSTR.
42162 * locale/C-monetary.c (conversion_rate): New variable.
42163 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42164 element.
42165
42166 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
42167
42168 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42169 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42170
42171 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42172
42173 * elf/Makefile (tst-auxv): New test.
42174 * elf/tst-auxv.c: New
42175 * elf/rtld.c (dl_main): Adjust AT_EXECFN
42176
42177 2013-11-18 Joseph Myers <joseph@codesourcery.com>
42178
42179 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42180 (hidden_proto): Caller changed.
42181 (hidden_tls_proto): New macro.
42182 (libc_hidden_tls_proto): Likewise.
42183 (rtld_hidden_tls_proto): Likewise.
42184 (libm_hidden_tls_proto): Likewise.
42185 (libresolv_hidden_tls_proto): Likewise.
42186 (librt_hidden_tls_proto): Likewise.
42187 (libdl_hidden_tls_proto): Likewise.
42188 (libnss_files_hidden_tls_proto): Likewise.
42189 (libnsl_hidden_tls_proto): Likewise.
42190 (libnss_nisplus_hidden_tls_proto): Likewise.
42191 (libutil_hidden_tls_proto): Likewise.
42192
42193 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
42194
42195 [BZ #10253]
42196 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42197 (decompose_rpath): Defer expansion to fillin_rpath.
42198 (_dl_init_paths): Pass linkmap to fillin_rpath.
42199
42200 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42201
42202 * benchtests/Makefile: Add strsep.
42203 * benchtests/bench-strsep.c: New file: strsep benchtest.
42204 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42205
42206 2013-11-18 Andreas Schwab <schwab@suse.de>
42207
42208 * locale/programs/locale.c (show_info) [case byte]: Check for
42209 '\377' instead of '\177'.
42210 * locale/C-monetary.c (not_available): Always use "\377".
42211 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42212 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
42213 detect unavailable sign_posn locale elements.
42214 * locale/localeconv.c (__localeconv): For grouping and
42215 mon_grouping handle "\177" and "\377" like no grouping.
42216 (INT_ELEM): New macro. Use it to set all numeric members.
42217 * locale/programs/ld-monetary.c (monetary_read)
42218 <tok_mon_grouping>: Normalize single -1 to the empty string.
42219 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42220 Likewise.
42221
42222 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42223
42224 [BZ #16055]
42225 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42226 when we match (nil).
42227 * stdio-common/tst-sscanf.c (struct test): Add testcase.
42228
42229 2013-11-16 Joseph Myers <joseph@codesourcery.com>
42230
42231 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42232 (NO_TEST_INLINE): Update value.
42233 (ERRNO_UNCHANGED): Likewise.
42234 (ERRNO_EDOM): Likewise.
42235 (ERRNO_ERANGE): Likewise.
42236 (IGNORE_RESULT): Likewise.
42237 (check_float_internal): Check signs of NaN results if
42238 TEST_NAN_SIGN used.
42239 (check_complex): Pass TEST_NAN_SIGN flag through to second
42240 check_float_internal call.
42241 (copysign_test_data): Add tests with quiet NaNs as second
42242 argument. Use TEST_NAN_SIGN.
42243 (fabs_test_data): Add test of negative quiet NaN argument. Use
42244 TEST_NAN_SIGN.
42245 (signbit_test_data): Add tests of quiet NaN argument.
42246 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42247
42248 * math/gen-libm-test.pl (show_exceptions): Take extra argument
42249 $ignore_result.
42250 (parse_args): Handle function results specified as IGNORE.
42251 * math/libm-test.inc (IGNORE_RESULT): New macro.
42252 (check_float_internal): Do not check numerical result if flag
42253 IGNORE_RESULT set.
42254 (check_complex): Pass through IGNORE_RESULT to second
42255 check_float_internal call.
42256 (check_int): Do not check numerical result if flag IGNORE_RESULT
42257 set.
42258 (check_long): Likewise.
42259 (check_bool): Likewise.
42260 (check_longlong): Likewise.
42261 (lrint_test_data): Add tests of infinite and NaN arguments.
42262 (lrint_tonearest_test_data): Likewise.
42263 (lrint_towardzero_test_data): Likewise.
42264 (lrint_downward_test_data): Likewise.
42265 (lrint_upward_test_data): Likewise.
42266 (llrint_test_data): Likewise.
42267 (llrint_tonearest_test_data): Likewise.
42268 (llrint_towardzero_test_data): Likewise.
42269 (llrint_downward_test_data): Likewise.
42270 (llrint_upward_test_data): Likewise.
42271 (lround_test_data): Likewise.
42272 (llround_test_data): Likewise.
42273
42274 * math/libm-test.inc (NO_TEST_INLINE): New macro.
42275 (ERRNO_UNCHANGED): Update value.
42276 (ERRNO_EDOM): Likewise.
42277 (ERRNO_ERANGE): Likewise.
42278 (NO_TEST_INLINE_FLOAT): New macro.
42279 (NO_TEST_INLINE_DOUBLE): Likewise.
42280 (enable_test): New function.
42281 (RUN_TEST_f_f): Check enable_test before running test.
42282 (RUN_TEST_2_f): Likewise.
42283 (RUN_TEST_fff_f): Likewise.
42284 (RUN_TEST_c_f): Likewise.
42285 (RUN_TEST_f_f1): Likewise.
42286 (RUN_TEST_fF_f1): Likewise.
42287 (RUN_TEST_fI_f1): Likewise.
42288 (RUN_TEST_ffI_f1): Likewise.
42289 (RUN_TEST_c_c): Likewise.
42290 (RUN_TEST_cc_c): Likewise.
42291 (RUN_TEST_f_i): Likewise.
42292 (RUN_TEST_f_i_tg): Likewise.
42293 (RUN_TEST_ff_i_tg): Likewise.
42294 (RUN_TEST_f_b): Likewise.
42295 (RUN_TEST_f_b_tg): Likewise.
42296 (RUN_TEST_f_l): Likewise.
42297 (RUN_TEST_f_L): Likewise.
42298 (RUN_TEST_fFF_11): Likewise.
42299 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42300 conditionals.
42301 (cosh_test_data): Likewise.
42302 (exp_test_data): Likewise.
42303 (expm1_test_data): Likewise.
42304 (hypot_test_data): Likewise.
42305 (pow_test_data): Likewise.
42306 (sinh_test_data): Likewise.
42307 (tanh_test_data): Likewise.
42308 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42309 flags argument.
42310
42311 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42312 tests with quiet NaN input and output.
42313 (acosh_test_data): Likewise.
42314 (asin_test_data): Likewise.
42315 (asinh_test_data): Likewise.
42316 (atan_test_data): Likewise.
42317 (atanh_test_data): Likewise.
42318 (atan2_test_data): Likewise.
42319 (cbrt_test_data): Likewise.
42320 (cos_test_data): Likewise.
42321 (cosh_test_data): Likewise.
42322 (erf_test_data): Likewise.
42323 (erfc_test_data): Likewise.
42324 (exp_test_data): Likewise.
42325 (exp10_test_data): Likewise.
42326 (exp2_test_data): Likewise.
42327 (expm1_test_data): Likewise.
42328 (hypot_test_data): Likewise.
42329 (j0_test_data): Likewise.
42330 (j1_test_data): Likewise.
42331 (jn_test_data): Likewise.
42332 (lgamma_test_data): Likewise.
42333 (log_test_data): Likewise.
42334 (log10_test_data): Likewise.
42335 (log1p_test_data): Likewise.
42336 (log2_test_data): Likewise.
42337 (pow_test_data): Likewise.
42338 (scalb_test_data): Likewise.
42339 (sin_test_data): Likewise.
42340 (sincos_test_data): Likewise.
42341 (sinh_test_data): Likewise.
42342 (tan_test_data): Likewise.
42343 (tanh_test_data): Likewise.
42344 (tgamma_test_data): Likewise.
42345 (y0_test_data): Likewise.
42346 (y1_test_data): Likewise.
42347 (yn_test_data): Likewise.
42348
42349 [BZ #16167]
42350 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
42351 argument being NaN and avoid computations with second argument in
42352 that case.
42353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42354 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42355 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42356
42357 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
42358
42359 * locale/iso-639.def: Add Chitwani Tharu (the).
42360
42361 2013-11-14 Andreas Schwab <schwab@suse.de>
42362
42363 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
42364 word instead of empty string.
42365
42366 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42367
42368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42369 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
42370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42371 (__fe_nomask_env): Likewise.
42372
42373 2013-11-13 Steve Ellcey <sellcey@mips.com>
42374
42375 * benchtests/bench-timing.h: Include time.h.
42376
42377 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
42378
42379 [BZ #15997]
42380 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
42381 to 3.4.0 for x32.
42382 * sysdeps/unix/sysv/linux/configure: Regenerated.
42383
42384 2013-11-13 Joseph Myers <joseph@codesourcery.com>
42385
42386 [BZ #16151]
42387 * stdlib/strtod_l.c (round_and_return): Do not consider
42388 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
42389 exponent one less than half the least subnormal exponent.
42390 * stdlib/test-strtod-round-data: Add more tests.
42391 * stdlib/tst-strtod-round.c (tests): Regenerated.
42392
42393 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42394
42395 [BZ #14143]
42396 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
42397 (__fe_mask_env): Likewise.
42398 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
42399 libm_hidden_proto and add function prototype.
42400 (__fe_mask_env): Add function prototype.
42401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42402 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
42403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42404 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
42405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42406 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42407
42408 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42409
42410 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
42411 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
42412
42413 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42414
42415 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
42416 of htab_find_slot().
42417
42418 2013-11-11 David S. Miller <davem@davemloft.net>
42419
42420 [BZ #16150]
42421 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
42422 symbol in the non-vis3 case in static builds.
42423 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
42424 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
42425 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
42426 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
42427
42428 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
42429
42430 [BZ #387]
42431 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
42432 it is empty.
42433
42434 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42435
42436 * benchtests/Makefile: Add bench-strtod.
42437 * benchtests/bench-strtod.c: New file: strtod benchtest
42438
42439 2013-11-11 Andreas Schwab <schwab@suse.de>
42440
42441 [BZ #16153]
42442 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
42443 terminating NUL in key length.
42444
42445 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42446
42447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42448 Add artificial ODP entry for vDSO symbol for PPC64.
42449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
42450 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
42451
42452 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
42453
42454 [BZ #15374]
42455 * nss/getent.c (services_keys): Recognize services starting with digit.
42456
42457 2013-11-06 David S. Miller <davem@davemloft.net>
42458
42459 [BZ #15985]
42460 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
42461 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
42462
42463 2013-11-06 Will Newton <will.newton@linaro.org>
42464
42465 * manual/memory.texi (Malloc Examples): Remove register
42466 keyword from examples.
42467
42468 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
42469
42470 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
42471
42472 2013-11-04 Joseph Myers <joseph@codesourcery.com>
42473
42474 [BZ #6981]
42475 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
42476 depending on [__GCC_IEC_559 > 0].
42477 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
42478 depending on [__GCC_IEC_559_COMPLEX > 0].
42479
42480 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
42481
42482 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
42483 to iso-639.def.
42484
42485 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
42486
42487 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
42488
42489 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
42490
42491 [BZ #16112]
42492 * malloc/malloc (malloc_info): Do not handle first bin as
42493 special case.
42494
42495 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
42496
42497 * locale/iso-639.def: Add Central Nahuatl (nhn).
42498
42499 2013-11-01 Bruno Haible <bruno@clisp.org>
42500
42501 [BZ #7003]
42502 * manual/math.texi (BSD Random): Specify range upper bound as
42503 in POSIX.
42504
42505 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
42506
42507 * locale/iso-639.def: Add Meadow Mari (mhr).
42508
42509 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
42510
42511 [BZ #14752], [BZ #15763]
42512 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
42513 Validate name.
42514 * rt/tst_shm.c: Add test for escaping directory.
42515
42516 2013-10-31 Andreas Schwab <schwab@suse.de>
42517
42518 [BZ #15917]
42519 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
42520 followed by 'x' as part of digit sequence.
42521 * stdio-common/tst-sscanf.c (double_tests2): New tests.
42522
42523 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
42524
42525 [BZ #16037]
42526 * configure.ac: allow GNU Make 4.0 and greater.
42527 * configure: Regenerated.
42528
42529 2013-10-30 Will Newton <will.newton@linaro.org>
42530
42531 [BZ #16038]
42532 * malloc/hooks.c (memalign_check): Limit alignment to the
42533 maximum representable power of two.
42534 * malloc/malloc.c (__libc_memalign): Likewise.
42535 * malloc/tst-memalign.c (do_test): Add test for very
42536 large alignment values.
42537 * malloc/tst-posix_memalign.c (do_test): Likewise.
42538
42539 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42540
42541 [BZ #11087]
42542 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
42543 (munmap_chunk): Likewise.
42544 (mremap_chunk): Likewise.
42545
42546 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
42547
42548 [BZ #15799]
42549 * stdlib/div.c (div): Remove obsolete code.
42550 * stdlib/ldiv.c (ldiv): Likewise.
42551 * stdlib/lldiv.c (lldiv): Likewise.
42552
42553 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42554
42555 [BZ #16071]
42556 * nss/nss_files/files-XXX.c (get_contents_ret): New
42557 enumerator.
42558 (get_contents): New function.
42559 (internal_getent): Use it. Expand size of LINEBUFLEN.
42560
42561 2013-10-30 Mike Frysinger <vapier@gentoo.org>
42562
42563 * configure.in: Moved to ...
42564 * configure.ac: ... here. Change reference to configure.in
42565 to configure.ac.
42566 * sysdeps/arm/preconfigure.ac: ... here.
42567 configure.in to configure.ac.
42568 * sysdeps/gnu/configure.in: Moved to ...
42569 * sysdeps/gnu/configure.ac: ... here.
42570 * sysdeps/i386/configure.in: Moved to ...
42571 * sysdeps/i386/configure.ac: ... here.
42572 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
42573 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
42574 * sysdeps/mach/configure.in: Moved to ...
42575 * sysdeps/mach/configure.ac: ... here.
42576 * sysdeps/mach/hurd/configure.in: Moved to ...
42577 * sysdeps/mach/hurd/configure.ac: ... here.
42578 * sysdeps/powerpc/configure.in: Moved to ...
42579 * sysdeps/powerpc/configure.ac: ... here.
42580 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
42581 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
42582 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
42583 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
42584 * sysdeps/s390/s390-32/configure.in: Moved to ...
42585 * sysdeps/s390/s390-32/configure.ac: ... here.
42586 * sysdeps/s390/s390-64/configure.in: Moved to ...
42587 * sysdeps/s390/s390-64/configure.ac: ... here.
42588 * sysdeps/sh/configure.in: Moved to ...
42589 * sysdeps/sh/configure.ac: ... here.
42590 * sysdeps/sparc/configure.in: Moved to ...
42591 * sysdeps/sparc/configure.ac: ... here.
42592 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
42593 * sysdeps/unix/sysv/linux/configure.ac: ... here.
42594 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
42595 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
42596 * sysdeps/x86_64/configure.in: Moved to ...
42597 * sysdeps/x86_64/configure.ac: ... here.
42598 * sysdeps/x86_64/preconfigure.in: Moved to ...
42599 * sysdeps/x86_64/preconfigure.ac: ... here.
42600 * aclocal.m4: Change reference to configure.in to configure.ac.
42601 * config.h.in: Likewise.
42602 * manual/install.texi: Likewise.
42603 * manual/maint.texi: Likewise.
42604 * Makefile: Likewise.
42605 * malloc/Makefile: Likewise.
42606 * nscd/Makefile: Likewise.
42607 * Makeconfig: Change reference to configure.in and
42608 preconfigure.in to configure.ac and preconfigure.ac
42609 respectively.
42610 * INSTALL: Regenerated.
42611 * configure: Likewise.
42612 * sysdeps/gnu/configure: Likewise.
42613 * sysdeps/i386/configure: Likewise.
42614 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
42615 * sysdeps/mach/configure: Likewise.
42616 * sysdeps/mach/hurd/configure: Likewise.
42617 * sysdeps/powerpc/configure: Likewise.
42618 * sysdeps/powerpc/powerpc32/configure: Likewise.
42619 * sysdeps/powerpc/powerpc64/configure: Likewise.
42620 * sysdeps/s390/s390-32/configure: Likewise.
42621 * sysdeps/s390/s390-64/configure: Likewise.
42622 * sysdeps/sh/configure: Likewise.
42623 * sysdeps/sparc/configure: Likewise.
42624 * sysdeps/unix/sysv/linux/configure: Likewise.
42625 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
42626 * sysdeps/x86_64/configure: Likewise.
42627 * sysdeps/x86_64/preconfigure: Likewise.
42628
42629 2013-10-29 Andreas Schwab <schwab@suse.de>
42630
42631 * stdio-common/Makefile (tst-swscanf-ENV): Define.
42632
42633 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42634
42635 * benchtests/pow-inputs: Add new inputs.
42636
42637 * benchtests/exp-inputs: Add new inputs.
42638
42639 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
42640 conditional check for return value.
42641 (__cos32): Likewise.
42642
42643 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42644
42645 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
42646 to provide a boost for large inputs with word alignment.
42647 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
42648 implementation based on optimized PPC64 strcpy.
42649 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
42650 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
42651 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
42652 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
42653
42654 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
42655
42656 [BZ #2801]
42657 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
42658
42659 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
42660
42661 [BZ #14876]
42662 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
42663 * time/tst-strptime.c (day_tests): Add testcase.
42664
42665 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
42666
42667 [BZ #14029]
42668 * manual/pattern.texi: Acknowledge that fnmatch can fail.
42669
42670 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
42671
42672 [BZ #16074]
42673 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42674 MAP_FAILED on error.
42675
42676 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42677
42678 [BZ #16072]
42679 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
42680 heap for large requests.
42681
42682 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
42683
42684 [BZ #9954]
42685 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
42686 result if the result has no associated interface.
42687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
42688 interface for all 127.X.Y.Z addresses.
42689
42690 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
42691
42692 * locale/iso-639.def: Add Ligurian (lij)
42693
42694 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
42695
42696 [BZ #15825]
42697 * sunrpc/rpc_main.c: Document rpcgen -5.
42698
42699 2013-10-19 Michael Stahl <mstahl@redhat.com>
42700
42701 * elf/rtld.c (do_preload): Print the reason why preloading failed.
42702
42703 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
42704
42705 [BZ #10278]
42706 * posix/glob.c: Match only directories when trailing slash is present.
42707 * posix/tst-gnuglob.c (my_opendir): Do not open files.
42708 (main): Add testcase.
42709
42710 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
42711
42712 [BZ #15670]
42713 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
42714
42715 2013-10-18 Carlos O'Donell <carlos@redhat.com>
42716
42717 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
42718 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
42719 AUTH_DES and cindex for FIPS 140-2.
42720 (DES Encryption): Add cindex FIPS 46-3.
42721
42722 * locale/locarchive.h (struct locarhandle): Add fname.
42723 * locale/programs/localedef.c (main): Pass ARGV[remaining]
42724 if an optional argument was specified to --list-archive,
42725 otherwise NULL.
42726 * locale/programs/locarchive.c (show_archive_content): Take new
42727 argument fname and pass it via ah.fname to open_archive.
42728 * locale/programs/localedef.h: Update decl.
42729 (open_archive): If AH->fname is non-null, open that file
42730 rather than the default file name, and don't ignore ENOENT.
42731 (create_archive): Set AH.fname to NULL.
42732 (delete_locales_from_archive): Likewise.
42733 (add_locales_to_archive): Likewise.
42734 * locale/programs/locfile.c (write_all_categories): Likewise.
42735
42736 2013-10-18 Joseph Myers <joseph@codesourcery.com>
42737 Aldy Hernandez <aldyh@redhat.com>
42738
42739 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
42740 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
42741 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
42742 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
42743 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
42744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
42745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
42746 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
42747 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
42748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
42749 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
42750 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
42751 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
42752 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
42753 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
42754 Likewise.
42755 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
42756 Likewise.
42757 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
42758 Likewise.
42759 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
42760 Likewise.
42761 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
42762 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
42763 Likewise.
42764 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
42765 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
42766 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
42767 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
42768 Likewise.
42769 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
42770 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
42771 * sysdeps/powerpc/preconfigure: Likewise.
42772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
42773 Likewise.
42774 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
42775 Replace contents of file by #include of <fenv_libc.h>.
42776 * sysdeps/powerpc/soft-fp/sfp-machine.h
42777 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
42778 and <sys/prctl.h>.
42779 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
42780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
42781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
42782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
42783 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
42784 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
42785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
42786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
42787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
42788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
42789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
42790 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
42791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42792 Allow copysignl PLT reference to be missing.
42793
42794 2013-10-18 Richard Sandiford <richard@codesourcery.com>
42795 Joseph Myers <joseph@codesourcery.com
42796
42797 [BZ #15948]
42798 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
42799 single character.
42800 (add_to_tablewc): Assert sequence of wide characters is nonempty.
42801
42802 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42803
42804 * elf/tst-tls-dlinfo.c: Don't include tls.h.
42805 * elf/tst-tls1.c: Likewise.
42806 * elf/tst-tls10.h: Likewise.
42807 * elf/tst-tls14.c: Likewise.
42808 * elf/tst-tls2.c: Likewise.
42809 * elf/tst-tls3.c: Likewise.
42810 * elf/tst-tls4.c: Likewise.
42811 * elf/tst-tls5.c: Likewise.
42812 * elf/tst-tls6.c: Likewise.
42813 * elf/tst-tls7.c: Likewise.
42814 * elf/tst-tls8.c: Likewise.
42815 * elf/tst-tls9.c: Likewise.
42816 * elf/tst-tlsmod1.c: Likewise.
42817 * elf/tst-tlsmod13.c: Likewise.
42818 * elf/tst-tlsmod13a.c: Likewise.
42819 * elf/tst-tlsmod14a.c: Likewise.
42820 * elf/tst-tlsmod16a.c: Likewise.
42821 * elf/tst-tlsmod16b.c: Likewise.
42822 * elf/tst-tlsmod2.c: Likewise.
42823 * elf/tst-tlsmod3.c: Likewise.
42824 * elf/tst-tlsmod4.c: Likewise.
42825 * elf/tst-tlsmod5.c: Likewise.
42826 * elf/tst-tlsmod6.c: Likewise.
42827
42828 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
42829
42830 [BZ #12486]
42831 * malloc/malloc.c: remove checks for statistics.
42832
42833 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
42834
42835 [BZ #15277]
42836 * inet/inet_net.c (inet_network): Detect additional invalid strings.
42837 * inet/tst-network.c: Add testcase.
42838
42839 2013-10-17 Andreas Schwab <schwab@suse.de>
42840
42841 [BZ #15218]
42842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42843 to determine canonical name.
42844
42845 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
42846
42847 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42848 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42857 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42858 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42860 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42861 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42862 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42866 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42867 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42871 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42872 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42877 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42905
42906 2013-10-17 Joseph Myers <joseph@codesourcery.com>
42907
42908 [BZ #16041]
42909 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42910 make result into a quiet NaN.
42911
42912 2013-10-16 Joseph Myers <joseph@codesourcery.com>
42913
42914 * soft-fp/adddf3.c: Fix horizontal whitespace.
42915 * soft-fp/addsf3.c: Likewise.
42916 * soft-fp/addtf3.c: Likewise.
42917 * soft-fp/divdf3.c: Likewise.
42918 * soft-fp/divsf3.c: Likewise.
42919 * soft-fp/divtf3.c: Likewise.
42920 * soft-fp/double.h: Likewise.
42921 * soft-fp/eqdf2.c: Likewise.
42922 * soft-fp/eqsf2.c: Likewise.
42923 * soft-fp/eqtf2.c: Likewise.
42924 * soft-fp/extenddftf2.c: Likewise.
42925 * soft-fp/extended.h: Likewise.
42926 * soft-fp/extendsfdf2.c: Likewise.
42927 * soft-fp/extendsftf2.c: Likewise.
42928 * soft-fp/extendxftf2.c: Likewise.
42929 * soft-fp/fixdfdi.c: Likewise.
42930 * soft-fp/fixdfsi.c: Likewise.
42931 * soft-fp/fixdfti.c: Likewise.
42932 * soft-fp/fixsfdi.c: Likewise.
42933 * soft-fp/fixsfsi.c: Likewise.
42934 * soft-fp/fixsfti.c: Likewise.
42935 * soft-fp/fixtfdi.c: Likewise.
42936 * soft-fp/fixtfsi.c: Likewise.
42937 * soft-fp/fixtfti.c: Likewise.
42938 * soft-fp/fixunsdfdi.c: Likewise.
42939 * soft-fp/fixunsdfsi.c: Likewise.
42940 * soft-fp/fixunsdfti.c: Likewise.
42941 * soft-fp/fixunssfdi.c: Likewise.
42942 * soft-fp/fixunssfsi.c: Likewise.
42943 * soft-fp/fixunssfti.c: Likewise.
42944 * soft-fp/fixunstfdi.c: Likewise.
42945 * soft-fp/fixunstfsi.c: Likewise.
42946 * soft-fp/fixunstfti.c: Likewise.
42947 * soft-fp/floatdidf.c: Likewise.
42948 * soft-fp/floatdisf.c: Likewise.
42949 * soft-fp/floatditf.c: Likewise.
42950 * soft-fp/floatsidf.c: Likewise.
42951 * soft-fp/floatsisf.c: Likewise.
42952 * soft-fp/floatsitf.c: Likewise.
42953 * soft-fp/floattidf.c: Likewise.
42954 * soft-fp/floattisf.c: Likewise.
42955 * soft-fp/floattitf.c: Likewise.
42956 * soft-fp/floatundidf.c: Likewise.
42957 * soft-fp/floatundisf.c: Likewise.
42958 * soft-fp/floatunditf.c: Likewise.
42959 * soft-fp/floatunsidf.c: Likewise.
42960 * soft-fp/floatunsisf.c: Likewise.
42961 * soft-fp/floatunsitf.c: Likewise.
42962 * soft-fp/floatuntidf.c: Likewise.
42963 * soft-fp/floatuntisf.c: Likewise.
42964 * soft-fp/floatuntitf.c: Likewise.
42965 * soft-fp/fmadf4.c: Likewise.
42966 * soft-fp/fmasf4.c: Likewise.
42967 * soft-fp/fmatf4.c: Likewise.
42968 * soft-fp/gedf2.c: Likewise.
42969 * soft-fp/gesf2.c: Likewise.
42970 * soft-fp/getf2.c: Likewise.
42971 * soft-fp/ledf2.c: Likewise.
42972 * soft-fp/lesf2.c: Likewise.
42973 * soft-fp/letf2.c: Likewise.
42974 * soft-fp/muldf3.c: Likewise.
42975 * soft-fp/mulsf3.c: Likewise.
42976 * soft-fp/multf3.c: Likewise.
42977 * soft-fp/negdf2.c: Likewise.
42978 * soft-fp/negsf2.c: Likewise.
42979 * soft-fp/negtf2.c: Likewise.
42980 * soft-fp/op-1.h: Likewise.
42981 * soft-fp/op-2.h: Likewise.
42982 * soft-fp/op-4.h: Likewise.
42983 * soft-fp/op-8.h: Likewise.
42984 * soft-fp/op-common.h: Likewise.
42985 * soft-fp/quad.h: Likewise.
42986 * soft-fp/single.h: Likewise.
42987 * soft-fp/soft-fp.h: Likewise.
42988 * soft-fp/sqrtdf2.c: Likewise.
42989 * soft-fp/sqrtsf2.c: Likewise.
42990 * soft-fp/sqrttf2.c: Likewise.
42991 * soft-fp/subdf3.c: Likewise.
42992 * soft-fp/subsf3.c: Likewise.
42993 * soft-fp/subtf3.c: Likewise.
42994 * soft-fp/truncdfsf2.c: Likewise.
42995 * soft-fp/trunctfdf2.c: Likewise.
42996 * soft-fp/trunctfsf2.c: Likewise.
42997 * soft-fp/trunctfxf2.c: Likewise.
42998 * soft-fp/unorddf2.c: Likewise.
42999 * soft-fp/unordsf2.c: Likewise.
43000 * soft-fp/unordtf2.c: Likewise.
43001
43002 2013-10-15 Joseph Myers <joseph@codesourcery.com>
43003
43004 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43005 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43006
43007 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
43008
43009 * elf/dl-libc.c: Clear initfini list after freeing.
43010
43011 2013-10-14 Joseph Myers <joseph@codesourcery.com>
43012
43013 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43014 * soft-fp/addsf3.c: Likewise.
43015 * soft-fp/addtf3.c: Likewise.
43016 * soft-fp/divdf3.c: Likewise.
43017 * soft-fp/divsf3.c: Likewise.
43018 * soft-fp/divtf3.c: Likewise.
43019 * soft-fp/double.h: Likewise.
43020 * soft-fp/eqdf2.c: Likewise.
43021 * soft-fp/eqsf2.c: Likewise.
43022 * soft-fp/eqtf2.c: Likewise.
43023 * soft-fp/extenddftf2.c: Likewise.
43024 * soft-fp/extended.h: Likewise.
43025 * soft-fp/extendsfdf2.c: Likewise.
43026 * soft-fp/extendsftf2.c: Likewise.
43027 * soft-fp/extendxftf2.c: Likewise.
43028 * soft-fp/fixdfdi.c: Likewise.
43029 * soft-fp/fixdfsi.c: Likewise.
43030 * soft-fp/fixdfti.c: Likewise.
43031 * soft-fp/fixsfdi.c: Likewise.
43032 * soft-fp/fixsfsi.c: Likewise.
43033 * soft-fp/fixsfti.c: Likewise.
43034 * soft-fp/fixtfdi.c: Likewise.
43035 * soft-fp/fixtfsi.c: Likewise.
43036 * soft-fp/fixtfti.c: Likewise.
43037 * soft-fp/fixunsdfdi.c: Likewise.
43038 * soft-fp/fixunsdfsi.c: Likewise.
43039 * soft-fp/fixunsdfti.c: Likewise.
43040 * soft-fp/fixunssfdi.c: Likewise.
43041 * soft-fp/fixunssfsi.c: Likewise.
43042 * soft-fp/fixunssfti.c: Likewise.
43043 * soft-fp/fixunstfdi.c: Likewise.
43044 * soft-fp/fixunstfsi.c: Likewise.
43045 * soft-fp/fixunstfti.c: Likewise.
43046 * soft-fp/floatdidf.c: Likewise.
43047 * soft-fp/floatdisf.c: Likewise.
43048 * soft-fp/floatditf.c: Likewise.
43049 * soft-fp/floatsidf.c: Likewise.
43050 * soft-fp/floatsisf.c: Likewise.
43051 * soft-fp/floatsitf.c: Likewise.
43052 * soft-fp/floattidf.c: Likewise.
43053 * soft-fp/floattisf.c: Likewise.
43054 * soft-fp/floattitf.c: Likewise.
43055 * soft-fp/floatundidf.c: Likewise.
43056 * soft-fp/floatundisf.c: Likewise.
43057 * soft-fp/floatunsidf.c: Likewise.
43058 * soft-fp/floatunsisf.c: Likewise.
43059 * soft-fp/floatuntidf.c: Likewise.
43060 * soft-fp/floatuntisf.c: Likewise.
43061 * soft-fp/floatuntitf.c: Likewise.
43062 * soft-fp/fmadf4.c: Likewise.
43063 * soft-fp/fmasf4.c: Likewise.
43064 * soft-fp/fmatf4.c: Likewise.
43065 * soft-fp/gedf2.c: Likewise.
43066 * soft-fp/gesf2.c: Likewise.
43067 * soft-fp/getf2.c: Likewise.
43068 * soft-fp/ledf2.c: Likewise.
43069 * soft-fp/lesf2.c: Likewise.
43070 * soft-fp/letf2.c: Likewise.
43071 * soft-fp/muldf3.c: Likewise.
43072 * soft-fp/mulsf3.c: Likewise.
43073 * soft-fp/multf3.c: Likewise.
43074 * soft-fp/negdf2.c: Likewise.
43075 * soft-fp/negsf2.c: Likewise.
43076 * soft-fp/negtf2.c: Likewise.
43077 * soft-fp/op-1.h: Likewise.
43078 * soft-fp/op-2.h: Likewise.
43079 * soft-fp/op-4.h: Likewise.
43080 * soft-fp/op-8.h: Likewise.
43081 * soft-fp/op-common.h: Likewise.
43082 * soft-fp/quad.h: Likewise.
43083 * soft-fp/single.h: Likewise.
43084 * soft-fp/soft-fp.h: Likewise.
43085 * soft-fp/sqrtdf2.c: Likewise.
43086 * soft-fp/sqrtsf2.c: Likewise.
43087 * soft-fp/sqrttf2.c: Likewise.
43088 * soft-fp/subdf3.c: Likewise.
43089 * soft-fp/subsf3.c: Likewise.
43090 * soft-fp/subtf3.c: Likewise.
43091 * soft-fp/truncdfsf2.c: Likewise.
43092 * soft-fp/trunctfdf2.c: Likewise.
43093 * soft-fp/trunctfsf2.c: Likewise.
43094 * soft-fp/trunctfxf2.c: Likewise.
43095 * soft-fp/unorddf2.c: Likewise.
43096 * soft-fp/unordsf2.c: Likewise.
43097 * soft-fp/unordtf2.c: Likewise.
43098
43099 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
43100
43101 [BZ #15672]
43102 * misc/error.c (error_tail): Fix possible buffer overflow.
43103
43104 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
43105
43106 [BZ #13028]
43107 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43108 address.
43109
43110 2013-10-14 P. J. McDermott <pj@pehjota.net>
43111
43112 [BZ #832]
43113 * elf/ldd.bash.in (try_trace): New function. Delete previous code
43114 testing pipefail option.
43115
43116 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43117
43118 * soft-fp/double.h: Indent preprocessor directives inside #if.
43119 * soft-fp/extended.h: Likewise.
43120 * soft-fp/op-2.h: Likewise.
43121 * soft-fp/op-4.h: Likewise.
43122 * soft-fp/op-common.h: Likewise.
43123 * soft-fp/quad.h: Likewise.
43124 * soft-fp/single.h: Likewise.
43125 * soft-fp/soft-fp.h: Likewise.
43126
43127 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
43128
43129 * iconv/iconv_prog.c: Fix typos.
43130 * stdio-common/psiginfo-data.h: Likewise.
43131
43132 2013-10-12 Reuben Thomas <rrt@sc3d.org>
43133
43134 [BZ #15764]
43135 * locale/setlocale.c: Fix typo.
43136
43137 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43138
43139 [BZ #16036]
43140 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43141 signaling NaN arguments.
43142 * soft-fp/unordsf2.c (__unordsf2): Likewise.
43143 * soft-fp/unordtf2.c (__unordtf2): Likewise.
43144
43145 [BZ #14910]
43146 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43147 unordered operands.
43148 * soft-fp/gesf2.c (__gesf2): Likewise.
43149 * soft-fp/getf2.c (__getf2): Likewise.
43150 * soft-fp/ledf2.c (__ledf2): Likewise.
43151 * soft-fp/lesf2.c (__lesf2): Likewise.
43152 * soft-fp/letf2.c (__letf2): Likewise.
43153
43154 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43155 * soft-fp/eqsf2.c (__eqsf2): Likewise.
43156 * soft-fp/eqtf2.c (__eqtf2): Likewise.
43157 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43158 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43159 * soft-fp/fixdfti.c (__fixdfti): Likewise.
43160 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43161 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43162 * soft-fp/fixsfti.c (__fixsfti): Likewise.
43163 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43164 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43165 * soft-fp/fixtfti.c (__fixtfti): Likewise.
43166 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43167 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43168 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43169 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43170 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43171 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43172 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43173 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43174 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43175 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43176 * soft-fp/floatdisf.c (__floatdisf): Likewise.
43177 * soft-fp/floatsisf.c (__floatsisf): Likewise.
43178 * soft-fp/floattidf.c (__floattidf): Likewise.
43179 * soft-fp/floattisf.c (__floattisf): Likewise.
43180 * soft-fp/floattitf.c (__floattitf): Likewise.
43181 * soft-fp/floatundidf.c (__floatundidf): Likewise.
43182 * soft-fp/floatundisf.c (__floatundisf): Likewise.
43183 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43184 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43185 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43186 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43187 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43188 * soft-fp/gesf2.c (__gesf2): Likewise.
43189 * soft-fp/getf2.c (__getf2): Likewise.
43190 * soft-fp/ledf2.c (__ledf2): Likewise.
43191 * soft-fp/lesf2.c (__lesf2): Likewise.
43192 * soft-fp/letf2.c (__letf2): Likewise.
43193
43194 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43195 Undefine and redefine.
43196 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43197 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43198 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43199 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43200 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43201 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43202 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43203 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43204 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43205 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43206 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43207 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43208 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43209 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43210 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43211
43212 [BZ #16032]
43213 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43214 without decrementing exponent if mantissa >= that for the
43215 denominator, not >.
43216 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43217 denominator, not >. Decrement exponent in < case instead of
43218 incrementing in >= case.
43219 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43220 without decrementing exponent if mantissa >= that for the
43221 denominator, not >.
43222
43223 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43224 computing saturated result for unsigned overflow.
43225
43226 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43227 Jeff Law <law@redhat.com>
43228
43229 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43230 (atan2Mp): Add systemtap probe marker.
43231 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43232 (__ieee754_log): Add systemtap probe marker.
43233 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43234 (atanMp): Add systemtap probe marker.
43235 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43236 (tanMp): Add systemtap probe marker.
43237 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43238 (__slowexp): Add systemtap probe marker.
43239 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43240 (__slowpow): Add systemtap probe marker.
43241 * manual/probes.texi: Document probes.
43242
43243 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
43244
43245 [BZ #15362]
43246 * libio/fileops.c (_IO_new_file_write): Return count of bytes
43247 written.
43248 (_IO_new_file_xsputn): Don't return EOF if nothing has been
43249 written.
43250 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43251 written to buffer but not flushed.
43252 * libio/iofwrite_u.c: Likewise.
43253 * libio/iopadn.c: Return bytes returned even if EOF was
43254 encountered.
43255 * libio/iowpadn.c: Likewise.
43256 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43257 if _IO_padn does not write the whole buffer.
43258 [!COMPILE_WPRINTF] (PAD): Likewise.
43259
43260 2013-10-10 David S. Miller <davem@davemloft.net>
43261
43262 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43263 directory block.
43264
43265 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43266
43267 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
43268 instead of FSF address.
43269 * soft-fp/fixdfti.c: Likewise.
43270 * soft-fp/fixsfti.c: Likewise.
43271 * soft-fp/fixtfti.c: Likewise.
43272 * soft-fp/fixunsdfti.c: Likewise.
43273 * soft-fp/fixunssfti.c: Likewise.
43274 * soft-fp/fixunstfti.c: Likewise.
43275 * soft-fp/floattidf.c: Likewise.
43276 * soft-fp/floattisf.c: Likewise.
43277 * soft-fp/floattitf.c: Likewise.
43278 * soft-fp/floatuntidf.c: Likewise.
43279 * soft-fp/floatuntisf.c: Likewise.
43280 * soft-fp/floatuntitf.c: Likewise.
43281 * soft-fp/trunctfxf2.c: Likewise.
43282
43283 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
43284 * soft-fp/fixdfti.c: Likewise.
43285 * soft-fp/fixsfti.c: Likewise.
43286 * soft-fp/fixtfti.c: Likewise.
43287 * soft-fp/fixunsdfti.c: Likewise.
43288 * soft-fp/fixunssfti.c: Likewise.
43289 * soft-fp/fixunstfti.c: Likewise.
43290 * soft-fp/floattidf.c: Likewise.
43291 * soft-fp/floattisf.c: Likewise.
43292 * soft-fp/floattitf.c: Likewise.
43293 * soft-fp/floatuntidf.c: Likewise.
43294 * soft-fp/floatuntisf.c: Likewise.
43295 * soft-fp/floatuntitf.c: Likewise.
43296 * soft-fp/trunctfxf2.c: Likewise.
43297
43298 2013-10-10 David S. Miller <davem@davemloft.net>
43299
43300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43301
43302 2013-10-10 Joseph Myers <joseph@codsourcery.com>
43303
43304 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43305 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43306 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43307 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43308 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43309 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43310 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43311
43312 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43313 for NaNs before doing comparisons on argument.
43314 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43315 Likewise.
43316
43317 2013-10-10 Will Newton <will.newton@linaro.org>
43318
43319 * malloc/hooks.c (memalign_check): Ensure the value of bytes
43320 passed to _int_memalign does not overflow.
43321
43322 2013-10-10 Torvald Riegel <triegel@redhat.com>
43323
43324 * scripts/bench.pl: Add include-sources directive.
43325 * benchtests/README: Update documentation.
43326
43327 2013-10-10 Joseph Myers <joseph@codesourcery.com>
43328
43329 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43330 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43331 instead of FP_INIT_ROUNDMODE.
43332 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43333 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43334
43335 [BZ #16034]
43336 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
43337 copy class of input value.
43338 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
43339 not handle exceptions.
43340 * soft-fp/negsf2.c (__negsf2): Likewise.
43341 * soft-fp/negtf2.c (__negtf2): Likewise.
43342 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43343
43344 2013-10-09 Joseph Myers <joseph@codesourcery.com>
43345
43346 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
43347 semicolon. From Linux kernel.
43348
43349 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
43350
43351 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
43352
43353 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
43354
43355 [BZ #156]
43356 * manual/socket.texi: Added statement about buffer
43357 for gethostbyname2_r.
43358
43359 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
43360
43361 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
43362 Use .p2align directive instead, throughout.
43363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43364 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43365 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
43366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43367 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43368 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
43369 * sysdeps/x86_64/strchr.S: Likewise.
43370 * sysdeps/x86_64/strrchr.S: Likewise.
43371
43372 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43373
43374 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
43375
43376 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
43377
43378 * sysdeps/generic/math_private.h (__mpsin1): Remove
43379 declaration.
43380 (__mpcos1): Likewise.
43381 (__mpsin): New argument __range_reduce.
43382 (__mpcos): Likewise.
43383 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43384 (slow): Use __mpsin and __mpcos.
43385 (slow1): Likewise.
43386 (slow2): Likewise.
43387 (sloww): Likewise.
43388 (sloww1): Likewise.
43389 (sloww2): Likewise.
43390 (bsloww): Likewise.
43391 (bsloww1): Likewise.
43392 (bsloww2): Likewise.
43393 (cslow2): Likewise.
43394 (csloww): Likewise.
43395 (csloww1): Likewise.
43396 (csloww2): Likewise.
43397 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
43398 range_reduce. Merge in __mpsin1.
43399 (__mpcos): Likewise.
43400 (__mpsin1): Remove.
43401 (__mpcos1): Likewise.
43402
43403 2013-10-07 Joseph Myers <joseph@codesourcery.com>
43404
43405 * locale/loadlocale.c (_nl_intern_locale_data): Use
43406 LOCFILE_ALIGNED_P.
43407 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
43408 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
43409 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
43410 obstack data is appropriately aligned.
43411 (obstack_int32_grow_fast): Likewise.
43412 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
43413 * locale/programs/locfile.c (add_locale_uint32): Likewise.
43414 (add_locale_uint32_array): Likewise.
43415
43416 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43417
43418 * benchtests/Makefile: Remove ARGLIST and RET variables.
43419 ($(objpfx)bench-%.c): Pass only function name to the script.
43420 * benchtests/README: Update documentation.
43421 * benchtests/acos-inputs: Add new directives.
43422 * benchtests/acosh-inputs: Likewise.
43423 * benchtests/asin-inputs: Likewise.
43424 * benchtests/asinh-inputs: Likewise.
43425 * benchtests/atan-inputs: Likewise.
43426 * benchtests/atanh-inputs: Likewise.
43427 * benchtests/cos-inputs: Likewise.
43428 * benchtests/cosh-inputs: Likewise.
43429 * benchtests/exp-inputs: Likewise.
43430 * benchtests/log-inputs: Likewise.
43431 * benchtests/pow-inputs: Likewise.
43432 * benchtests/rint-inputs: Likewise.
43433 * benchtests/sin-inputs: Likewise.
43434 * benchtests/sinh-inputs: Likewise.
43435 * benchtests/tan-inputs: Likewise.
43436 * benchtests/tanh-inputs: Likewise.
43437 * scripts/bench.pl: Add support for new directives.
43438
43439 2013-10-07 Alan Modra <amodra@gmail.com>
43440
43441 * README: Fix careless merge.
43442
43443 2013-10-05 Alan Modra <amodra@gmail.com>
43444
43445 * NEWS: Mention powerpc64le support and bugs fixed.
43446 * README: Both big-endian and little-endian powerpc64 supported.
43447
43448 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43449
43450 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
43451 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
43452 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
43453 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
43454
43455 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
43456
43457 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
43458 match prototype.
43459
43460 2013-10-04 Joseph Myers <joseph@codesourcery.com>
43461
43462 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
43463 Move -mhard-float appending from
43464 ports/sysdeps/powerpc/powerpc32/Makefile.
43465 [$(with-fp) = yes] (ASFLAGS): Likewise.
43466 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
43467 * sysdeps/powerpc/nofpu: Move directory from
43468 ports/sysdeps/powerpc/nofpu.
43469 * sysdeps/powerpc/soft-fp: Move directory from
43470 ports/sysdeps/powerpc/soft-fp.
43471 * sysdeps/powerpc/powerpc32/405: Move directory from
43472 ports/sysdeps/powerpc/powerpc32/405.
43473 * sysdeps/powerpc/powerpc32/440: Move directory from
43474 ports/sysdeps/powerpc/powerpc32/440.
43475 * sysdeps/powerpc/powerpc32/464: Move directory from
43476 ports/sysdeps/powerpc/powerpc32/464.
43477 * sysdeps/powerpc/powerpc32/476: Move directory from
43478 ports/sysdeps/powerpc/powerpc32/476.
43479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
43480 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
43481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
43482 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
43483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
43484 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
43485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
43486 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
43487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
43488 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
43489 * README: Update for powerpc-*-linux-gnu software floating point
43490 support in libc.
43491
43492 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
43493 case to powerpc/powerpc32*.
43494 * sysdeps/unix/sysv/linux/configure: Regenerated.
43495
43496 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
43497 (_FPU_MASK_OM): Define as 0x04.
43498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
43499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
43500 0x00c10080.
43501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
43502 0x0000003c.
43503 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
43504
43505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
43506 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43507 getcontext_e500.
43508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
43509 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
43510 setcontext_e500.
43511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
43512 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
43513 and setcontext_e500.
43514
43515 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
43516
43517 * locale/iso-3166.def: Update iso-1366.def and related occurrences
43518
43519 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43520
43521 * manual/threads.texi (Default Thread Attributes): Fix typo.
43522
43523 2013-10-04 Will Newton <will.newton@linaro.org>
43524
43525 * malloc/Makefile: Add tst-memalign.
43526 * malloc/tst-memalign.c: New file.
43527
43528 * malloc/tst-posix_memalign.c: Add comments.
43529 (do_test): Add comments and call free on all potentially
43530 allocated pointers. Add space after cast.
43531
43532 * malloc/tst-pvalloc.c: Add comments.
43533 (do_test): Add comments and call free on all potentially
43534 allocated pointers. Remove duplicate check for NULL pointer.
43535 Add space after cast.
43536
43537 * malloc/tst-valloc.c: Add comments.
43538 (do_test): Add comments and call free on all potentially
43539 allocated pointers. Remove duplicate check for NULL pointer.
43540 Add space after cast.
43541
43542 2013-10-04 Alan Modra <amodra@gmail.com>
43543
43544 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43545 Use stdint types in rather than __attribute__((mode())).
43546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43547
43548 2013-10-04 Alan Modra <amodra@gmail.com>
43549
43550 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43551 Correct handling of unaligned relocs for little-endian.
43552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43553
43554 2013-10-04 Alan Modra <amodra@gmail.com>
43555
43556 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
43557 * configure: Regenerate.
43558 * nptl/shlib-versions: Powerpc*le starts at 2.18.
43559 * shlib-versions: Likewise.
43560
43561 2013-10-04 Alan Modra <amodra@gmail.com>
43562
43563 * string/tester.c (test_memrchr): Increment reported test cycle.
43564
43565 2013-10-04 Alan Modra <amodra@gmail.com>
43566
43567 * string/test-memcpy.c (do_one_test): When reporting errors, print
43568 string address and don't overrun end of string.
43569
43570 2013-10-04 Alan Modra <amodra@gmail.com>
43571
43572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
43573 insrdi. Make better use of reg selection to speed exit slightly.
43574 Schedule entry path a little better. Remove useless "are we done"
43575 checks on entry to main loop. Handle wrapping around zero address.
43576 Correct main loop count. Handle single left-over word from main
43577 loop inline rather than by using loop_small. Remove extra word
43578 case in loop_small caused by wrong loop count. Add little-endian
43579 support.
43580 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
43582 cache hint.
43583 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43584 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
43585 support. Avoid rlwimi.
43586 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
43587
43588 2013-10-04 Alan Modra <amodra@gmail.com>
43589
43590 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
43591 insrdi. Formatting.
43592 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
43593 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43594 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43595 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
43596 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43597 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
43598
43599 2013-10-04 Alan Modra <amodra@gmail.com>
43600
43601 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
43602 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43603 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
43604 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
43605 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43606 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43607 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43608 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43609 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
43610 use of regs. Use power7 mtocrf. Tidy function tails.
43611
43612 2013-10-04 Alan Modra <amodra@gmail.com>
43613
43614 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
43615 Formatting. Consistently use rXXX register defines or rN defines.
43616 Use early exit labels that avoid restoring unused non-volatile regs.
43617 Make cr field use more consistent with rWORDn compares. Rename
43618 regs used as shift registers for unaligned loop, using rN defines
43619 for short lifetime/multiple use regs.
43620 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
43622 addi 1,1,64 to pop stack frame. Simplify return value code.
43623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43624
43625 2013-10-04 Alan Modra <amodra@gmail.com>
43626
43627 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
43628 support. Correct typos, formatting. Optimize tail. Use insrdi
43629 rather than rlwimi.
43630 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
43631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
43632 little-endian support. Correct typos.
43633 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
43634 rather than rlwimi.
43635 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
43636 in loop and entry code to keep "and." results.
43637 (strchr): Add little-endian support. Comment. Move cntlzd
43638 earlier in tail.
43639 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
43640
43641 2013-10-04 Alan Modra <amodra@gmail.com>
43642
43643 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
43644 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
43645 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
43646 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
43647
43648 2013-10-04 Alan Modra <amodra@gmail.com>
43649
43650 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
43651 (rTMP): Define as r11.
43652 (strcmp): Add little-endian support. Optimise tail.
43653 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
43654 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43655 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43656 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43657 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43659 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43660
43661 2013-10-04 Alan Modra <amodra@gmail.com>
43662
43663 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
43664 little-endian support. Remove unnecessary "are we done" tests.
43665 Handle "s" wrapping around zero and extremely large "size".
43666 Correct main loop count. Handle single left-over word from main
43667 loop inline rather than by using small_loop. Correct comments.
43668 Delete "zero" tail, use "end_max" instead.
43669 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
43670
43671 2013-10-04 Alan Modra <amodra@gmail.com>
43672
43673 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
43674 support. Don't branch over align.
43675 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
43676 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
43677 support. Rearrange tmp reg use to suit. Comment.
43678 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
43679
43680 2013-10-04 Alan Modra <amodra@gmail.com>
43681
43682 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
43683
43684 2013-10-04 Alan Modra <amodra@gmail.com>
43685
43686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
43687 conditional form of branch and link when obtaining pc.
43688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43689
43690 2013-10-04 Alan Modra <amodra@gmail.com>
43691
43692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
43693 HIWORD/LOWORD.
43694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
43695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
43696
43697 2013-10-04 Alan Modra <amodra@gmail.com>
43698
43699 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
43700 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
43701 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43702 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
43703 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43704 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43705 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
43706 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43707 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43708 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
43709
43710 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43711 Alistair Popple <alistair@ozlabs.au.ibm.com>
43712 Alan Modra <amodra@gmail.com>
43713
43714 [BZ #15723]
43715 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
43716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
43717 _dl_hwcap access for little-endian.
43718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
43719 destroy vmx regs when saving unaligned.
43720 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
43721 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
43722 destroy vmx regs when saving unaligned.
43723
43724 2013-10-04 Alan Modra <amodra@gmail.com>
43725
43726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
43727 Don't use a union to pack hi/low value.
43728
43729 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43730
43731 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
43732 for little-endian.
43733 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
43734 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
43735 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43736 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
43737 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
43738
43739 2013-10-04 Alan Modra <amodra@gmail.com>
43740
43741 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
43742 constants to usual value for .cst8 section, and remove redundant
43743 high address load.
43744 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
43745 constant for 0x1p52. Load little-endian words of double from
43746 correct stack offsets.
43747
43748 2013-10-04 Alan Modra <amodra@gmail.com>
43749
43750 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
43751 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
43752 words of double from correct stack offsets.
43753 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43754 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
43755 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
43756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
43757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
43758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
43759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
43760 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
43763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
43764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
43765 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43766 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43767 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43768 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
43769 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43770
43771 2013-10-04 Alan Modra <amodra@gmail.com>
43772
43773 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
43774 64-bit int/double union.
43775 (_FPU_SETCW): Likewise.
43776 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
43777 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
43778
43779 2013-10-04 Alan Modra <amodra@gmail.com>
43780
43781 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
43782 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
43783
43784 2013-10-04 Alan Modra <amodra@gmail.com>
43785
43786 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
43787 use vector int constants.
43788 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
43789
43790 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43791
43792 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
43793 array with long long.
43794 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
43795 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
43796 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
43797 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
43798 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
43799 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
43800 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
43801 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
43802 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
43803 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
43804 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
43805 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
43806 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
43807
43808 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
43809
43810 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
43811 (__signbit): Likewise. Correct for little-endian.
43812 (__signbitl): Call __signbit.
43813 (lrint): Correct for little-endian.
43814 (lrintf): Call lrint.
43815
43816 2013-10-04 Alan Modra <amodra@gmail.com>
43817
43818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
43819 union 32-bit int array member with 64-bit int array.
43820 (t515, tm256): Double rather than long double.
43821 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
43822
43823 2013-10-04 Alan Modra <amodra@gmail.com>
43824
43825 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
43826 Delete.
43827 (IEEE854_LONG_DOUBLE_BIAS): Delete.
43828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43829 version of math_ldbl.h.
43830
43831 2013-10-04 Alan Modra <amodra@gmail.com>
43832
43833 [BZ #15734], [BZ #15735]
43834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43835 all uses of ieee875 long double macros and unions. Simplify test
43836 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
43837 ldbl_extract_mantissa value for ix,iy exponents. Properly
43838 normalize after ldbl_extract_mantissa, and don't add hidden bit
43839 already handled. Don't treat low word of ieee854 mantissa like
43840 low word of IBM long double and mask off bit when testing for
43841 zero.
43842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43843 all uses of ieee875 long double macros and unions. Simplify tests
43844 for 0.0L and inf. Correct double adjustment of k. Delete dead code
43845 adjusting ha,hb. Simplify code setting kld. Delete two600 and
43846 two1022, instead use their values. Recognise that tests for large
43847 "a" and small "b" are mutually exclusive. Rename vars. Comment.
43848 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43849 Rewrite all uses of ieee875 long double macros and unions. Simplify
43850 test for 0.0L and nan. Correct negation.
43851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43852 ieee875 long double macros and unions. Correct output for large
43853 magnitude x. Correct absolute value calculation.
43854 (__erfcl): Likewise.
43855 * math/libm-test.inc: Add tests for errors discovered in IBM long
43856 double versions of fmodl, remainderl, erfl and erfcl.
43857
43858 2013-10-04 Alan Modra <amodra@gmail.com>
43859
43860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43861 all uses of ieee854 long double macros and unions. Simplify tests
43862 for long doubles that are fully specified by the high double.
43863 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43864 Likewise.
43865 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43866 Remove dead code too.
43867 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43868 (__ieee754_ynl): Likewise.
43869 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43870 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43871 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43872 Remove dead code too.
43873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43874 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43875 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43876 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43877 Simplify.
43878 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43879 Simplify.
43880 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43881 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43882 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43883 Comment on variable precision.
43884 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43885 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43886 Likewise.
43887 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43888 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43889 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43890 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43892
43893 2013-10-04 Alan Modra <amodra@gmail.com>
43894
43895 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43896 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43897 all uses of ieee854 long double macros and unions.
43898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43902 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43903 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43904 Likewise.
43905 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43906 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43907 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43908 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43909 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43910 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43911 Simplify sign and nan test too.
43912 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43913 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43914 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43915 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43916 Likewise.
43917 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43918 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43919 Likewise.
43920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43921 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43922 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43923 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43924 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43926
43927 2013-10-04 Alan Modra <amodra@gmail.com>
43928
43929 * stdio-common/printf_size.c (__printf_size): Don't use
43930 union ieee854_long_double in fpnum union.
43931 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
43932 signbit macro to retrieve sign from long double.
43933 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43934 retrieve sign from long double.
43935 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43936 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43937 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43938 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43939 * math/test-misc.c (main): Don't use union ieee854_long_double.
43940
43941 2013-10-04 Alan Modra <amodra@gmail.com>
43942
43943 [BZ #15680]
43944 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43945 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43946 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43947 calculation. Remove unnecessary test for denormal exponent.
43948 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43949 Correct handling of denormals. Avoid undefined shift behaviour.
43950 Correct normalisation of low mantissa when low double is denormal.
43951 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43952 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
43953 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43954 Correct normalisation of low mantissa. Test for overflow of high
43955 mantissa and normalise.
43956 (ldbl_nearbyint): Use more readable constant for two52.
43957 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43958 (__mpn_construct_long_double): Fix test for overflow of high
43959 mantissa and correct normalisation. Avoid undefined shift.
43960
43961 2013-10-04 Alan Modra <amodra@gmail.com>
43962
43963 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43964 (union ibm_extended_long_double): Define as an array of ieee754_double.
43965 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43966 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43967 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43968 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43969 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43970 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43971 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43972 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43973 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43974 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43975 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43976
43977 2013-10-03 Joseph Myers <joseph@codesourcery.com>
43978
43979 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43980 page size instead of calling getpagesize.
43981
43982 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43983 (LOCFILE_ALIGN_MASK): Likewise.
43984 (LOCFILE_ALIGN_UP): Likewise.
43985 (LOCFILE_ALIGNED_P): Likewise.
43986 * locale/programs/ld-collate.c (collate_output): Use the new
43987 macros instead of __alignof__ (int32_t).
43988 * locale/weight.h (findidx): Likewise.
43989
43990 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
43991
43992 [BZ #431]
43993 * manual/string.texi: Fix strncat and wcsncat.
43994
43995 2013-10-03 Brooks Moses <bmoses@google.com>
43996
43997 [BZ #15915]
43998 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43999 * Makerules: ...here, and adjust associated comments.
44000
44001 2013-10-02 Will Newton <will.newton@linaro.org>
44002
44003 * malloc/Makefile: Add tst-pvalloc.
44004 * malloc/tst-pvalloc.c: New file.
44005
44006 2013-10-02 Will Newton <will.newton@linaro.org>
44007
44008 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44009 improve test coverage.
44010
44011 2013-10-02 Will Newton <will.newton@linaro.org>
44012
44013 * malloc/Makefile: Add tst-posix_memalign.
44014 * malloc/tst-posix_memalign.c: New file.
44015
44016 2013-10-01 Eric Blake <eblake@redhat.com>
44017
44018 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44019 Use __THROWNL rather than __THROW on static functions.
44020
44021 2013-09-30 Petr Machata <pmachata@redhat.com>
44022
44023 * elf/elf.h (R_AARCH64_ABS16): New macro.
44024 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44025 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44026 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44027 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44028 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44029 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44030 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44031 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44032 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44033 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44034 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44035 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44036 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44037 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44038 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44039 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44040 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44041 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44042 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44043 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44044 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44045 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44046 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44047 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44048 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44049 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44050 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44051 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44052 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44053 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44054 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44055 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44056 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44057 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44058 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44059 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44060 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44061 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44062 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44063 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44064 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44065 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44066 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44067 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44068 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44069 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44070 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44071 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44072 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44073 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44074 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44075 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44076 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44077 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44078 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44079 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44080 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44081 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44082 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44083 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44084 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44085 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44086 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44087 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44088 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44089 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44090 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44091 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44092 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44093 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44094 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44095 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44096 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44097 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44098 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44099 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44100 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44101 (R_AARCH64_TLSDESC_LDR): Likewise.
44102 (R_AARCH64_TLSDESC_ADD): Likewise.
44103 (R_AARCH64_TLSDESC_CALL): Likewise.
44104
44105 2013-09-30 Andreas Schwab <schwab@suse.de>
44106
44107 [BZ #15048]
44108 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44109 the nss database lookup.
44110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44112
44113 2013-09-28 Mike Frysinger <vapier@gentoo.org>
44114
44115 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44116
44117 2013-09-28 P. J. McDermott <pj@pehjota.net>
44118
44119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44120 ${Bash-specific parameter/pattern/string} parameter expansion.
44121 * sysdeps/unix/make-syscalls.sh: Likewise.
44122
44123 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44124
44125 * sysdeps/sh/stackguard-macros.h: New file.
44126
44127 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
44128
44129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44131 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44132 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44133 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44134 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44135
44136 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44137
44138 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44139 Fix thread ID register.
44140
44141 2013-09-25 Joseph Myers <joseph@codesourcery.com>
44142
44143 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44144 [POSIX || UNIX98]: Require rather than permitting all symbols from
44145 <time.h>.
44146 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44147 element of struct sched_param.
44148 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44149 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44150 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44151 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44152 constant.
44153
44154 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
44155
44156 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44157 argument calculation.
44158
44159 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44160
44161 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44162 Expect macro.
44163 [POSIX] (pthread_attr_t): Do not require type.
44164 [POSIX] (pthread_cond_t): Likewise.
44165 [POSIX] (pthread_condattr_t): Likewise.
44166 [POSIX] (pthread_key_t): Likewise.
44167 [POSIX] (pthread_mutex_t): Likewise.
44168 [POSIX] (pthread_mutexattr_t): Likewise.
44169 [POSIX] (pthread_once_t): Likewise.
44170 [POSIX] (pthread_t): Likewise.
44171 [POSIX-based standards] (pthread_atfork): Expect function.
44172
44173 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44174 Richard Sandiford <richard@codesourcery.com>
44175
44176 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44177 (swap_endianness_p): New extern variable.
44178 (set_big_endian): New inline function.
44179 (maybe_swap_uint32): Likewise.
44180 (maybe_swap_uint32_array): Likewise.
44181 (maybe_swap_uint32_obstack): Likewise.
44182 * locale/programs/locfile.c: Include <stdbool.h>.
44183 (swap_endianness_p): New variable.
44184 (add_locale_uint32): Call maybe_swap_uint32.
44185 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44186 (write_locale_data): Call maybe_swap_uint32_array.
44187 * locale/programs/ld-collate.c (obstack_int32_grow): Call
44188 maybe_swap_uint32.
44189 (obstack_int32_grow_fast): Likewise.
44190 (output_weightwc): Call maybe_swap_uint32_obstack.
44191 (collate_output): Likewise.
44192 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44193 (OPT_LITTLE_ENDIAN): Likewise.
44194 (options): Add --little-endian and --big-endian options.
44195 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44196 * locale/programs/locarchive.c: Include "locfile.h".
44197 (GET): New macro.
44198 (SET): Likewise.
44199 (INC): Likewise.
44200 (create_archive): Use the new macros to access fields of
44201 structures directly mapped from or written to locale archives.
44202 (oldlocrecentcmp): Likewise.
44203 (enlarge_archive): Likewise.
44204 (insert_name): Likewise.
44205 (add_alias): Likewise.
44206 (add_locale): Likewise.
44207 (delete_locales_from_archive): Likewise.
44208 (show_archive_content): Likewise.
44209 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
44210 locale data.
44211
44212 2013-09-24 Roland McGrath <roland@hack.frob.com>
44213
44214 * manual/freemanuals.texi: Updated from (newly) canonical copy at
44215 http://www.gnu.org/doc/freemanuals.texi.
44216 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44217
44218 2013-09-24 Will Newton <will.newton@linaro.org>
44219
44220 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44221 macro.
44222
44223 2013-09-23 Joseph Myers <joseph@codesourcery.com>
44224
44225 * locale/hashval.h (compute_hashval): Interpret bytes of key as
44226 unsigned char.
44227
44228 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
44229
44230 * manual/threads.texi (POSIX Threads): Fix a typo.
44231
44232 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44233
44234 [BZ #14547]
44235 * string/tst-strcoll-overflow.c: New test case.
44236 * string/Makefile (xtests): Add tst-strcoll-overflow.
44237 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44238 cache if string sizes may cause integer overflow.
44239
44240 [BZ #14547]
44241 * string/strcoll_l.c (coll_seq): New members rule, idx,
44242 save_idx and back_us.
44243 (get_next_seq_nocache): New function.
44244 (do_compare_nocache): New function.
44245 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44246 when malloc fails.
44247
44248 2013-09-23 Carlos O'Donell <carlos@redhat.com>
44249
44250 [BZ #15754]
44251 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44252 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44253 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44254
44255 [BZ #15754]
44256 * elf/Makefile (tests): Add tst-ptrguard1.
44257 (tests-static): Add tst-ptrguard1-static.
44258 (tst-ptrguard1-ARGS): Define.
44259 (tst-ptrguard1-static-ARGS): Define.
44260 * elf/tst-ptrguard1.c: New file.
44261 * elf/tst-ptrguard1-static.c: New file.
44262 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44263 * sysdeps/i386/stackguard-macros.h: Likewise.
44264 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44265 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44266 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44267 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44268 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44269 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44270
44271 2013-09-23 Hector Marco <hecmargi@upv.es>
44272 Ismael Ripoll <iripoll@disca.upv.es>
44273 Carlos O'Donell <carlos@redhat.com>
44274
44275 [BZ #15754]
44276 * sysdeps/generic/stackguard-macros.h: Define
44277 __pointer_chk_guard_local and POINTER_CHK_GUARD.
44278 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44279 Define __pointer_chk_guard_local.
44280 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44281 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44282
44283 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
44284
44285 [BZ #15859]
44286 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44287
44288 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
44289
44290 * include/string.h (__ffs): Declare as hidden.
44291 * string/ffs.c (__ffs): Define as hidden.
44292 * sysdeps/i386/ffs.c (__ffs): Likewise.
44293 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44294 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44295 * sysdeps/s390/ffs.c (__ffs): Likewise.
44296 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44297
44298 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
44299
44300 * NEWS: Mention malloc probes.
44301
44302 * malloc/arena.c (new_heap): New memory_heap_new probe.
44303 (grow_heap): New memory_heap_more probe.
44304 (shrink_heap): New memory_heap_less probe.
44305 (heap_trim): New memory_heap_free probe.
44306 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44307 (systrim): New memory_sbrk_less probe.
44308 * manual/probes.texi: Document them.
44309
44310 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44311 * manual/probes.texi: Document it.
44312
44313 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44314 (__libc_realloc): Add memory_realloc_retry probe.
44315 (__libc_memalign): Add memory_memalign_retry probe.
44316 (__libc_valloc): Add memory_valloc_retry probe.
44317 (__libc_pvalloc): Add memory_pvalloc_retry probe.
44318 (__libc_calloc): Add memory_calloc_retry probe.
44319 * manual/probes.texi: Document them.
44320
44321 * malloc/arena.c (get_free_list): Add probe
44322 memory_arena_reuse_free_list.
44323 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44324 and memory_arena_reuse.
44325 (arena_get2) [!PER_THREAD]: Likewise.
44326 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44327 memory_arena_reuse_realloc.
44328 * manual/probes.texi: Document them.
44329
44330 * malloc/malloc.c (__libc_free): Add
44331 memory_mallopt_free_dyn_thresholds probe.
44332 (__libc_mallopt): Add multiple memory_mallopt probes.
44333 * manual/probes.texi: Document them.
44334
44335 * malloc/malloc.c: Include stap-probe.h.
44336 (__libc_mallopt): Add memory_mallopt probe.
44337 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44338 * manual/probes.texi: New.
44339 * manual/Makefile (chapters): Add probes.
44340 * manual/threads.texi: Set next node.
44341
44342 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
44343
44344 [BZ #15963, #13985]
44345 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
44346 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
44347 Add `Chinese' to `nan' entry name.
44348
44349 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44350
44351 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
44352 (POLYNOMIAL): Likewise.
44353 (TAYLOR_SINCOS): Likewise.
44354 (TAYLOR_SLOW): Likewise.
44355 (__sin): Use TAYLOR_SINCOS.
44356 (__cos): Likewise.
44357 (slow): Use TAYLOR_SLOW.
44358 (sloww): Likewise.
44359 (bsloww): Likewise.
44360 (csloww): Likewise.
44361
44362 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44363
44364 * stdlib/strtod_l.c: Fix buffer overrun.
44365
44366 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44367
44368 * benchtests/Makefile (bench): Add sincos.
44369 * benchtests/bench-sincos.c: New file.
44370
44371 * math/libm-test.inc (cos_test_data): New test inputs.
44372 (sin_test_data): Likewise.
44373
44374 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
44375 macro.
44376 (__sin): Use it.
44377 (__cos): Likewise.
44378 (slow1): Likewise.
44379 (slow2): Likewise.
44380 (sloww1): Likewise.
44381 (sloww2): Likewise.
44382 (bsloww1): Likewise.
44383 (bsloww2): Likewise.
44384 (cslow2): Likewise.
44385 (csloww1): Likewise.
44386 (csloww2): Likewise.
44387
44388 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
44389 function.
44390 (__sin): Use it.
44391 (__cos): Likewise.
44392
44393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
44394 gotos.
44395 (__cos): Likewise.
44396
44397 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
44398
44399 * config.h.in (HAVE_MIPS_NAN2008): New macro.
44400 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
44401 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
44402 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
44403 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
44404 * elf/cache.c (print_entry): Handle the new cache flags.
44405
44406 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44407 Aldy Hernandez <aldyh@redhat.com>
44408
44409 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
44410 Change condition to [_SOFT_FLOAT].
44411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
44412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
44413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
44414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
44415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
44416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
44417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
44418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
44419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
44420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
44421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
44422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
44423 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
44424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
44425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
44426 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
44427 declaration.
44428
44429 2013-09-18 Joseph Myers <joseph@codesourcery.com>
44430
44431 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
44432 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44433 (__longjmp): Use LOAD_GP to load saved GPRs.
44434 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
44435 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
44436 (__sigsetjmp): Use SAVE_GP to save GPRs.
44437
44438 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
44439 Do not append -msoft-float.
44440 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
44441
44442 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44443
44444 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
44445
44446 2013-09-17 Joseph Myers <joseph@codesourcery.com>
44447
44448 [BZ #15966]
44449 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
44450 (_FPU_GETCW): Use initial "__" on variable and field names but not
44451 on macro parameter name.
44452 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
44453 parentheses around reference to macro parameter.
44454
44455 2013-09-13 Richard Sandiford <richard@codesourcery.com>
44456
44457 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
44458 prototype.
44459 (ctype_startup): Use uint32_t in cast and sizeof for
44460 ctype->charnames.
44461
44462 2013-09-11 Jia Liu <proljc@gmail.com>
44463
44464 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
44465 __daddr_t_defined.
44466 [__FreeBSD__]: Likewise.
44467
44468 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
44469
44470 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
44471 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
44472 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
44473 (strchr): Remove __strchr_sse42 ifunc selection.
44474 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
44475 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
44476
44477 2013-09-11 Will Newton <will.newton@linaro.org>
44478
44479 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
44480 parameter to RES. Remove hardcoded 1000 value.
44481 * benchtests/bench-skeleton.c (main): Pass RES parameter
44482 to TIMING_INIT and multiply result by 1000.
44483
44484 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44485
44486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44487
44488 2013-09-11 Andreas Schwab <schwab@suse.de>
44489
44490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
44491 if not defined.
44492 (O_TMPFILE) [__USE_GNU]: Define.
44493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
44494 Define.
44495
44496 2013-09-11 Will Newton <will.newton@linaro.org>
44497
44498 [BZ #15857]
44499 * malloc/malloc.c (__libc_memalign): Check the value of bytes
44500 does not overflow.
44501
44502 2013-09-11 Will Newton <will.newton@linaro.org>
44503
44504 [BZ #15856]
44505 * malloc/malloc.c (__libc_valloc): Check the value of bytes
44506 does not overflow.
44507
44508 2013-09-11 Will Newton <will.newton@linaro.org>
44509
44510 [BZ #15855]
44511 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
44512 does not overflow.
44513
44514 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
44515
44516 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
44517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44518 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44519 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44520 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44521
44522 2013-09-10 Allan McRae <allan@archlinux.org>
44523
44524 [BZ #15748]
44525 * manual/arith.texi (Parsing of Floats): Clarify
44526 cross-reference.
44527
44528 [BZ #15849]
44529 * manual/install.texi (Running make install): Mention
44530 --enable-pt-chown.
44531 * INSTALL: Regenerated.
44532
44533 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
44534
44535 * csu/init-first.c (_init): Remove the !SHARED condition around
44536 FPU control word initialization.
44537 * elf/dl-support.c (_dl_fpu_control): New variable.
44538 (_dl_aux_init) <AT_FPUCW>: Initialize it.
44539 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
44540 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
44541 * math/test-fpucw-static.c: New file.
44542 * math/test-fpucw-ieee.c: New file.
44543 * math/test-fpucw-ieee-static.c: New file.
44544 * math/Makefile (tests): Add `test-fpucw-ieee' and
44545 `$(tests-static)'.
44546 (tests-static): New variable.
44547 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
44548 dependency to...
44549 [($(build-shared),yes)]
44550 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44551 ... this.
44552 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
44553 New dependency.
44554
44555 2013-09-09 Allan McRae <allan@archlinux.org>
44556
44557 [BZ #15939]
44558 * manual/string.texi (Collation Functions): Fix typo in
44559 strcoll example.
44560 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
44561
44562 [BZ #15893]
44563 * stdlib/isomac.c (get_null_defines): Fix memory leak.
44564
44565 [BZ #15892]
44566 * libio/memstream.c (open_memstream): Fix memory leak.
44567 * libio/wmemstream.c (open_wmemstream): Likewise.
44568
44569 [BZ #15895]
44570 * nscd/netgroupcache.c: Fix nesting of ifdefs.
44571
44572 2013-09-09 Will Newton <will.newton@linaro.org>
44573
44574 * malloc/Makefile: Add tst-realloc to tests.
44575 * malloc/tst-realloc.c: New file.
44576
44577 2013-09-09 Allan McRae <allan@archlinux.org>
44578
44579 [BZ #15844]
44580 * COPYING: Update from GNU website to fix FSF address.
44581 * COPYING.LIB: Likewise.
44582
44583 2013-09-06 David S. Miller <davem@davemloft.net>
44584
44585 * po/zh_TW.po: Update Chinese (traditional) translation from
44586 translation project.
44587
44588 2013-09-06 Richard Sandiford <richard@codesourcery.com>
44589 Joseph Myers <joseph@codesourcery.com>
44590
44591 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
44592 "localeinfo.h".
44593 (obstack_chunk_alloc): New macro.
44594 (obstack_chunk_free): Likewise.
44595 (record_offset): New function.
44596 (init_locale_data): Likewise.
44597 (align_locale_data): Likewise.
44598 (add_locale_empty): Likewise.
44599 (add_locale_raw_data): Likewise.
44600 (add_locale_raw_obstack): Likewise.
44601 (add_locale_string): Likewise.
44602 (add_locale_wstring): Likewise.
44603 (add_locale_uint32): Likewise.
44604 (add_locale_uint32_array): Likewise.
44605 (add_locale_char): Likewise.
44606 (start_locale_structure): Likewise.
44607 (end_locale_structure): Likewise.
44608 (start_locale_prelude): Likewise.
44609 (end_locale_prelude): Likewise.
44610 (write_locale_data): Take locale_file structure rather than an
44611 iovec.
44612 * locale/programs/locfile.h: Include "obstack.h".
44613 (struct locale_file): Change to store locale file contents instead
44614 of header.
44615 (init_locale_data): New prototype.
44616 (align_locale_data): Likewise.
44617 (add_locale_empty): Likewise.
44618 (add_locale_raw_data): Likewise.
44619 (add_locale_raw_obstack): Likewise.
44620 (add_locale_string): Likewise.
44621 (add_locale_wstring): Likewise.
44622 (add_locale_uint32): Likewise.
44623 (add_locale_uint32_array): Likewise.
44624 (add_locale_char): Likewise.
44625 (start_locale_structure): Likewise.
44626 (end_locale_structure): Likewise.
44627 (start_locale_prelude): Likewise.
44628 (end_locale_prelude): Likewise.
44629 (write_locale_data): Update prototype.
44630 * locale/programs/3level.h (struct TABLE): Remove result field.
44631 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
44632 Use new locale_file interface.
44633 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
44634 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
44635 * locale/programs/ld-address.c (address_output): Use new
44636 locale_file interface.
44637 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
44638 NO_ADD_LOCALE.
44639 (collate_finish): Don't call collseq_table_finalize.
44640 (collate_output): Use new locale_file interface.
44641 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
44642 in file.
44643 (NO_FINALIZE): Change to NO_ADD_LOCALE.
44644 (TABLE): Move defines earlier in file.
44645 (ELEMENT): Likewise.
44646 (DEFAULT): Likewise.
44647 (wctrans_table_add): Move macro and inline function earlier in
44648 file.
44649 (struct wctype_table): Move type earlier in file.
44650 (add_locale_wctype_table): New static prototype.
44651 (struct locale_ctype_t): Use logical types instead of struct iovec
44652 pointers for members.
44653 (ctype_output): Use new locale_file interface.
44654 (wctype_table_finalize): Change to add_locale_wctype_table. Use
44655 new locale_file interface.
44656 (allocate_arrays): Update for use of new locale_file interface.
44657 * locale/programs/ld-identification.c (identification_output): Use
44658 new locale_file interface.
44659 * locale/programs/ld-measurement.c (measurement_output): Likewise.
44660 * locale/programs/ld-messages.c (messages_output): Likewise.
44661 * locale/programs/ld-monetary.c (monetary_output): Likewise.
44662 * locale/programs/ld-name.c (name_output): Likewise.
44663 * locale/programs/ld-numeric.c (numeric_output): Likewise.
44664 * locale/programs/ld-paper.c (paper_output): Likewise.
44665 * locale/programs/ld-telephone.c (telephone_output): Likewise.
44666 * locale/programs/ld-time.c (time_output): Likewise.
44667
44668 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44669
44670 * benchtests/Makefile: Add memrchr benchmark.
44671 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
44672 benchmark as memrchr.
44673 * benchtests/bench-memrchr-ifunc.c: New file.
44674 * benchtests/bench-memrchr.c: New file.
44675
44676 2013-09-06 Will Newton <will.newton@linaro.org>
44677
44678 * benchtests/Makefile (string-bench): Add memcpy.
44679
44680 2013-09-05 Carlos O'Donell <carlos@redhat.com>
44681 Cong Wang <amwang@redhat.com>
44682
44683 [BZ #15850]
44684 * sysdeps/unix/sysv/linux/bits/in.h
44685 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
44686 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
44687 before __USE_KERNEL_IPV6_DEFS uses.
44688 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
44689 IPPROTO_BEETPH.
44690 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
44691 sockaddr_in6, or ipv6_mreq.
44692
44693 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44694
44695 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
44696 memory access for final bytes in some large inputs.
44697 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
44698
44699 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44700
44701 * string/test-memrchr.c: New file.
44702 * string/test-memrchr-ifunc.c: New file.
44703 * string/Makefile: Add new memrchr testcase.
44704
44705 2013-09-05 Mike Frysinger <vapier@gentoo.org>
44706
44707 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
44708 fanotify_init returns EPERM.
44709
44710 2013-09-04 Joseph Myers <joseph@codesourcery.com>
44711
44712 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
44713 errors.
44714 (top level): Treat second token from macro or constant entries for
44715 allowed headers as allowed.
44716 * include/complex.h: Condition internal declarations on
44717 [!_ISOMAC].
44718 * include/fenv.h: Condition include of <stdbool.h> and internal
44719 declarations on [!_ISOMAC].
44720
44721 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
44722
44723 [BZ #15923]
44724 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
44725
44726 2013-09-04 Joseph Myers <joseph@codesourcery.com>
44727
44728 * configure.in (--enable-versioning): Remove configure option.
44729 (libc_cv_asm_symver_directive): Remove configure test.
44730 (libc_cv_ld_version_script_option): Likewise.
44731 (VERSIONING): Remove variable and AC_SUBST.
44732 (DO_VERSIONING): Remove AC_DEFINE.
44733 * configure: Regenerated.
44734 * config.h.in (DO_VERSIONING): Remove macro.
44735 * Makerules [$(versioning) = yes]: Change conditionals to
44736 [$(build-shared) = yes].
44737 * config.make.in (versioning): Remove variable.
44738 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
44739 [$(build-shared) = yes].
44740 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
44741 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
44742 * elf/Makefile [$(versioning) = yes]: Change conditionals to
44743 [$(build-shared) = yes].
44744 * extra-lib.mk [$(versioning) = yes]: Likewise.
44745 * hurd/Makefile [$(versioning) = yes]: Likewise.
44746 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
44747 [SHARED].
44748 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
44749 [SHARED].
44750 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44751 [SHARED && !NO_HIDDEN].
44752 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44753 [SHARED].
44754 [SHARED && DO_VERSIONING]: Likewise..
44755 * libio/Makefile [$(versioning) = yes]: Change conditionals to
44756 [$(build-shared) = yes].
44757 * manual/install.texi (--disable-versioning): Remove
44758 documentation.
44759 * INSTALL: Regenerated.
44760 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
44761 to [SHARED].
44762 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
44763 [$(build-shared) = yes].
44764 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
44765 * sysdeps/i386/i686/multiarch/strstr-c.c
44766 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
44767 [SHARED && !NO_HIDDEN].
44768 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
44769 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
44770 * sysdeps/powerpc/powerpc32/dl-machine.c
44771 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
44772 * sysdeps/powerpc/powerpc32/sysdep.h
44773 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
44774 to [SHARED && PIC && !NO_HIDDEN].
44775 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
44776 conditional to [SHARED].
44777
44778 2013-09-04 Will Newton <will.newton@linaro.org>
44779
44780 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
44781 * benchtests/bench-string.h: Include bench-timing.h instead
44782 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
44783 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
44784 call to HP_TIMING_DIFF_INIT.
44785 * benchtests/bench-memccpy.c: Use bench-timing.h macros
44786 instead of hp-timing.h macros.
44787 * benchtests/bench-memchr.c: Likewise.
44788 * benchtests/bench-memcmp.c: Likewise.
44789 * benchtests/bench-memcpy.c: Likewise.
44790 * benchtests/bench-memmem.c: Likewise.
44791 * benchtests/bench-memmove.c: Likewise.
44792 * benchtests/bench-memset.c: Likewise.
44793 * benchtests/bench-rawmemchr.c: Likewise.
44794 * benchtests/bench-strcasecmp.c: Likewise.
44795 * benchtests/bench-strcasestr.c: Likewise.
44796 * benchtests/bench-strcat.c: Likewise.
44797 * benchtests/bench-strchr.c: Likewise.
44798 * benchtests/bench-strcmp.c: Likewise.
44799 * benchtests/bench-strcpy.c: Likewise.
44800 * benchtests/bench-strcpy_chk.c: Likewise.
44801 * benchtests/bench-strlen.c: Likewise.
44802 * benchtests/bench-strncasecmp.c: Likewise.
44803 * benchtests/bench-strncat.c: Likewise.
44804 * benchtests/bench-strncmp.c: Likewise.
44805 * benchtests/bench-strncpy.c: Likewise.
44806 * benchtests/bench-strnlen.c: Likewise.
44807 * benchtests/bench-strpbrk.c: Likewise.
44808 * benchtests/bench-strrchr.c: Likewise.
44809 * benchtests/bench-strspn.c: Likewise.
44810 * benchtests/bench-strstr.c: Likewise.
44811
44812 2013-09-04 Will Newton <will.newton@linaro.org>
44813
44814 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
44815
44816 2013-09-03 Joseph Myers <joseph@codesourcery.com>
44817
44818 [BZ #15427]
44819 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
44820 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
44821 * math/libm-test.inc (lgamma_test_data): Add more tests.
44822 * sysdeps/i386/fpu/libm-test-ulps: Update.
44823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44824
44825 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
44826
44827 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
44828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44829 Add ifunc.
44830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44831 Add strcmp-sse2-unaligned
44832 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44833
44834 2013-09-02 Mike Frysinger <vapier@gentoo.org>
44835
44836 * Versions.def (libc): Add GLIBC_2.19.
44837
44838 2013-09-02 Mike Frysinger <vapier@gentoo.org>
44839
44840 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44841 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44842
44843 2013-09-02 Joseph Myers <joseph@codesourcery.com>
44844
44845 [BZ #14155]
44846 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44847 intermediate calculations in recurrence.
44848 (__ieee754_ynf): Likewise.
44849 * math/libm-test.inc (jn_test_data): Do not allow spurious
44850 underflow exception. Add more tests.
44851 (yn_test_data): Add more tests.
44852 * sysdeps/i386/fpu/libm-test-ulps: Update.
44853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44854
44855 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
44856
44857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44858
44859 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44860
44861 * csu/init-first.c: Fix then/than typos.
44862 * locale/programs/ld-collate.c: Likewise.
44863 * locale/programs/linereader.h: Likewise.
44864 * manual/charset.texi: Likewise.
44865 * manual/filesys.texi: Likewise.
44866 * manual/stdio.texi: Likewise.
44867 * manual/string.texi: Likewise.
44868 * stdlib/fmtmsg.c: Likewise.
44869 * sysdeps/i386/stpncpy.S: Likewise.
44870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44871 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44872 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44873 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44874
44875 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44876
44877 * elf/dl-open.c: Fix typos.
44878 * iconvdata/gbbig5.c: Likewise.
44879 * iconvdata/iso-2022-jp.c: Likewise.
44880 * iconv/gconv_int.h: Likewise.
44881 * iconv/loop.c: Likewise.
44882 * nis/rpcsvc/nis.h: Likewise.
44883 * resolv/ns_name.c: Likewise.
44884 * stdio-common/vfscanf.c: Likewise.
44885 * streams/stropts.h: Likewise.
44886 * sunrpc/rpc_thread.c: Likewise.
44887 * sysdeps/i386/strpbrk.S: Likewise.
44888 * sysdeps/ieee754/k_standard.c: Likewise.
44889 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44891 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44892 * sysdeps/mach/hurd/profil.c: Likewise.
44893 * sysdeps/s390/dl-procinfo.h: Likewise.
44894 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44895 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44896 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44897 * sysdeps/x86_64/dl-trampoline.S: Likewise.
44898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44899
44900 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
44901
44902 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44904
44905 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
44906
44907 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44908 aix specific files.
44909 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44910 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44911 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44912 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44913 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44914 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44915 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44916 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44917
44918 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
44919 Roland McGrath <roland@hack.frob.com>
44920
44921 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44922 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44923
44924 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
44925
44926 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44927 __executable_start symbol instead of _start.
44928
44929 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
44930
44931 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44932 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44933 Move macros to...
44934 * sysdeps/gnu/ldsodefs.h: ... this new file.
44935
44936 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44937 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44938 instead of ELFOSABI_LINUX.
44939
44940 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44941 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44942 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44943 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44944 Likewise.
44945 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44946 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44947 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44948 Likewise.
44949 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44950 (ibm_extended_long_double): Add ieee_nan member.
44951 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44952 (do_test): New function.
44953
44954 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44955 TEST_TRUNC.
44956 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44957 functions, renamed from truncdfsf_test, trunctfsf_test,
44958 trunctfdf_test.
44959 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44960 functions.
44961 (do_test): Run all these.
44962
44963 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
44964
44965 * argp/argp-help.c: Fix typos.
44966 * argp/argp-parse.c: Likewise.
44967 * debug/backtracesyms.c: Likewise.
44968 * elf/elf.h: Likewise.
44969 * malloc/malloc.c: Likewise.
44970 * nis/nis_print.c: Likewise.
44971 * resolv/res_comp.c: Likewise.
44972 * stdlib/stdlib.h: Likewise.
44973 * sunrpc/clnt_tcp.c: Likewise.
44974 * sunrpc/clnt_udp.c: Likewise.
44975 * sunrpc/clnt_unix.c: Likewise.
44976 * sysdeps/unix/bsd/ptsname.c: Likewise.
44977 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44978 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44980 Likewise.
44981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44982 Likewise.
44983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44984 Likewise.
44985 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44986
44987 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44988
44989 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44991
44992 2013-08-27 Mike Frysinger <vapier@gentoo.org>
44993
44994 [BZ #15897]
44995 * dlfcn/Makefile (tests): Add bug-dl-leaf.
44996 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44997 ($(objpfx)bug-dl-leaf): New rule.
44998 ($(objpfx)bug-dl-leaf.so): Likewise.
44999 ($(objpfx)bug-dl-leaf.out): Likewise.
45000 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45001 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45002 * dlfcn/bug-dl-leaf.c: New test.
45003 * dlfcn/bug-dl-leaf-lib.c: Likewise.
45004 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45005 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45006 (dlclose): Likewise.
45007 (dlmopen): Likewise.
45008
45009 2013-08-27 Roland McGrath <roland@hack.frob.com>
45010
45011 * include/netdb.h [!_ISOMAC]:
45012 Don't include <tls.h>.
45013 (h_errno, __libc_h_errno): Move declaration and macros out of
45014 [_LIBC_REENTRANT].
45015
45016 * include/resolv.h [_RESOLV_H_]:
45017 Don't include <tls.h>.
45018 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45019 * resolv/res_libc.c: Don't include <tls.h>.
45020 (_res): Use __attribute__ ((nocommon)) in place of
45021 __attribute__ ((section (".bss"))).
45022
45023 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45024 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45025
45026 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45027
45028 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45029 only under [SIOCGIFCONF && SIOCGIFNETMASK].
45030
45031 * resolv/res_mkquery.c: Include <sys/time.h>.
45032
45033 * inet/ifreq.c: Moved to ...
45034 * sysdeps/unix/ifreq.c: ... here.
45035 * inet/ifreq.c: New file, true stub version.
45036
45037 * socket/sa_len.c: New file.
45038 * socket/Makefile (aux): Add it.
45039 * sysdeps/unix/sysv/linux/Makefile
45040 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45041 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45042 and #include <socket/sa_len.c>.
45043 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45044 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45045
45046 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45047 * bits/socket.h: ... here.
45048
45049 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45050 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45051 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45052
45053 2013-08-27 Andreas Schwab <schwab@suse.de>
45054
45055 [BZ #15736]
45056 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45057 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45058 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45059 * string/test-strcasecmp.c (test_main): Run tests in several
45060 locales.
45061 * string/test-strncasecmp.c (test_main): Likewise.
45062
45063 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45064 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45065 to __strcasecmp_nonascii and __strncasecmp_nonascii.
45066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45067 (__strncasecmp_ssse3) [PIC]: Likewise.
45068
45069 2013-08-26 Roland McGrath <roland@hack.frob.com>
45070
45071 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45072
45073 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45074 instead of explicitly declaring xdecrypt.
45075 * nis/nss_nis/nis-publickey.c: Likewise.
45076
45077 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45078
45079 [BZ #15890]
45080 * nscd/aicache.c: Include res_hconf.h.
45081 (addhstaiX): Initialize res_hconf.
45082
45083 2013-08-26 Andreas Schwab <schwab@suse.de>
45084
45085 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45086 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45087
45088 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45089
45090 * nscd/aicache.c (addhstaiX): Fix indentation.
45091
45092 2013-08-25 Mike Frysinger <vapier@gentoo.org>
45093
45094 * configure.ac: Quote $build_pt_chown test.
45095 * configure: Regenerated.
45096
45097 2013-08-23 Joseph Myers <joseph@codesourcery.com>
45098
45099 [BZ #15532]
45100 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45101 * math/s_cexpf.c (__cexpf): Likewise.
45102 * math/s_cexpl.c (__cexpl): Likewise.
45103 * math/libm-test.inc (cexp_test_data): Correct expected return
45104 value for NaN + i0. Add another test.
45105
45106 2013-08-22 David S. Miller <davem@davemloft.net>
45107
45108 * po/ca.po: Update Catalan translation from translation project.
45109 * po/uk.po: Add Ukrainian translations from translation project.
45110
45111 2013-08-21 Joseph Myers <joseph@codesourcery.com>
45112
45113 [BZ #15797]
45114 * math/s_fdim.c (__fdim): Check for infinite arguments if result
45115 is infinite, not alongside NaN test.
45116 * math/s_fdimf.c (__fdimf): Likewise.
45117 * math/s_fdiml.c (__fdiml): Likewise.
45118 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
45119 errno is unchanged.
45120
45121 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
45122
45123 * argp/argp-help.c: Fix typos.
45124 * crypt/speeds.c: Likewise.
45125 * csu/check_fds.c: Likewise.
45126 * elf/dl-load.c: Likewise.
45127 * elf/dl-open.c: Likewise.
45128 * elf/reldep3.c: Likewise.
45129 * elf/reldep.c: Likewise.
45130 * elf/sprof.c: Likewise.
45131 * iconv/iconv_charmap.c: Likewise.
45132 * iconv/skeleton.c: Likewise.
45133 * iconv/strtab.c: Likewise.
45134 * io/lockf64.c: Likewise.
45135 * libio/libioP.h: Likewise.
45136 * resolv/gai_notify.c: Likewise.
45137 * resolv/ns_name.c: Likewise.
45138 * resolv/ns_samedomain.c: Likewise.
45139 * resolv/res_send.c: Likewise.
45140 * stdlib/random.c: Likewise.
45141 * sunrpc/rpc/xdr.h: Likewise.
45142 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45143 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45144 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45145 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45146 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45149 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45150 * sysdeps/mach/hurd/check_fds.c: Likewise.
45151 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45152 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45153 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45155 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45156 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45157 * sysdeps/pthread/aio_notify.c: Likewise.
45158 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45159 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45160 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45162 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45163
45164 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45165
45166 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45167 version if bit_Slow_SSE4_2 is set.
45168 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45169 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45170
45171 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45172
45173 [BZ #15867]
45174 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45175 trampoline stack frame information.
45176 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45177 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45178 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45179 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45180 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45181 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45182 (_libc_vdso_platform_setup): Initialize the signal trampolines.
45183 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45184 sa_flags value.
45185 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45186 interrupting a syscall and set with option SA_SIGINFO.
45187
45188 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45189
45190 [BZ #15531]
45191 * math/s_cproj.c (__cproj): Only return an infinity if one part of
45192 argument is infinite.
45193 * math/s_cprojf.c (__cprojf): Likewise.
45194 * math/s_cprojl.c (__cprojl): Likewise.
45195 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45196 * math/libm-test.inc (cproj_test_data): Add more tests.
45197
45198 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45199
45200 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45201 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45202 size. Use __ffs to determine corresponding shift.
45203
45204 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45205 Roland McGrath <roland@hack.frob.com>
45206
45207 * Makefile (INSTALL): Remove trailing blank lines from output of
45208 makeinfo.
45209
45210 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45211
45212 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45213 Align 32 bit compat elf_greg to 8 bytes.
45214
45215 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
45216
45217 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45218
45219 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45220
45221 * string/strcoll_l.c (coll_seq): New structure.
45222 (get_next_seq_cached): New function.
45223 (get_next_seq): New function.
45224 (do_compare): New function.
45225 (STRCOLL): Use GNU style definition. Simplify implementation
45226 by using get_next_seq, get_next_seq_cached and do_compare.
45227
45228 2013-08-16 Florian Weimer <fweimer@redhat.com>
45229
45230 [BZ #14699]
45231 CVE-2013-4237
45232 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45233 member.
45234 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45235 member.
45236 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45237 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45238 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
45239 conditional.
45240 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45241 GETDENTS_64BIT_ALIGNED.
45242 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45243 * manual/filesys.texi (Reading/Closing Directory): Document
45244 ENAMETOOLONG return value of readdir_r. Recommend readdir more
45245 strongly.
45246 * manual/conf.texi (Limits for Files): Add portability note to
45247 NAME_MAX, PATH_MAX.
45248 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45249
45250 2013-08-13 Andreas Schwab <schwab@suse.de>
45251
45252 [BZ #15749]
45253 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45254 of fabs.
45255 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45256 LDBL_MAX_EXP >= 16384]: Add tests for it.
45257
45258 2013-08-12 David S. Miller <davem@davemloft.net>
45259
45260 * version.h (RELEASE): Set to "development".
45261 (VERSION): Set to "2.18.90".
45262 * NEWS: Add 2.19 section.
45263
45264 2013-08-03 David S. Miller <davem@davemloft.net>
45265
45266 * po/ko.po: Update Korean translation from translation project.
45267
45268 2013-08-01 David S. Miller <davem@davemloft.net>
45269
45270 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
45271 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45272 Bilka.
45273
45274 2013-07-30 David S. Miller <davem@davemloft.net>
45275
45276 * po/fr.po: Update French translation from translation project.
45277
45278 2013-07-28 David S. Miller <davem@davemloft.net>
45279
45280 * po/cs.po: Update Czech translation from translation project.
45281
45282 * po/sv.po: Update Swedish translation from translation project.
45283
45284 2013-07-27 David S. Miller <davem@davemloft.net>
45285
45286 * po/eo.po: Update Esperanto translation from translation project.
45287
45288 * po/vi.po: Update Vietnamese translation from translation project.
45289
45290 * po/de.po: Update German translation from translation project.
45291
45292 2013-07-26 David S. Miller <davem@davemloft.net>
45293
45294 * po/bg.po: Update Bulgarian translation from translation project.
45295
45296 * po/nl.po: Update Dutch translation from translation project.
45297 * po/pl.po: Update Polish translation from translation project.
45298 * po/ru.po: Update Russian translation from translation project.
45299
45300 2013-07-24 David S. Miller <davem@davemloft.net>
45301
45302 * po/libc.pot: Update.
45303
45304 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45305
45306 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45307 variable page size.
45308 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45309 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45310 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45311
45312 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45313
45314 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45315
45316 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45317 Andreas Schwab <schwab@suse.de>
45318 Roland McGrath <roland@hack.frob.com>
45319 Joseph Myers <joseph@codesourcery.com>
45320 Carlos O'Donell <carlos@redhat.com>
45321
45322 [BZ #15755]
45323 * config.h.in: Define HAVE_PT_CHOWN.
45324 * config.make.in (build-pt-chown): New variable.
45325 * configure.in (--enable-pt_chown): New configure option.
45326 * configure: Regenerate.
45327 * login/Makefile: Include Makeconfig. Build pt_chown only if
45328 build-pt-chown is enabled.
45329 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45330 pt_chown to fix pty ownership.
45331 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45332 CLOSE_ALL_FDS.
45333 * manual/install.texi (Configuring and compiling): Mention
45334 --enable-pt_chown. Add @findex for grantpt.
45335 * INSTALL: Regenerate.
45336
45337 2013-07-20 David S. Miller <davem@davemloft.net>
45338
45339 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45340 difference between 32-bit and 64-bit.
45341
45342 2013-07-15 Carlos O'Donell <carlos@redhat.com>
45343
45344 [BZ #15711]
45345 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
45346 Avoid system header dependency with -ffreestanding.
45347 ($(objpfx)bits/syscall%d): Likewise.
45348
45349 2013-07-13 David S. Miller <davem@davemloft.net>
45350
45351 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
45352 underflows from atanl/atan2l due to bug 15319.
45353 (casinh_test_data): Likewise.
45354
45355 2013-07-07 David S. Miller <davem@davemloft.net>
45356
45357 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
45358
45359 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
45360
45361 * sysdeps/i386/fpu/libm-test-ulps: Update.
45362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45363
45364 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45365
45366 * configure.in (--enable-lock-elision): Fix message text.
45367 * INSTALL: Regenerate.
45368 * configure: Regenerate.
45369
45370 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45371
45372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45373
45374 2013-07-03 Andreas Jaeger <aj@suse.de>
45375
45376 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
45377 define.
45378 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
45379 (ptrace_peeksiginfo_args): Add.
45380 (__ptrace_peeksiginfo_flags): Add.
45381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45382 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45383 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45384
45385 2013-07-03 Allan McRae <allan@archlinux.org>
45386
45387 * sysdeps/i386/fpu/libm-test-ulps: Update.
45388
45389 2013-07-02 David S. Miller <davem@davemloft.net>
45390
45391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45392
45393 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
45394
45395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45396
45397 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45398
45399 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45401
45402 2013-07-02 Andi Kleen <ak@linux.intel.com>
45403
45404 * config.h.in (ENABLE_LOCK_ELISION): Add.
45405 * configure.in (--enable-lock-elision): Add option.
45406 * manual/install.texi: Document --enable lock elision.
45407 * configure: Regenerate
45408 * INSTALL: Regenerate.
45409
45410 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
45411
45412 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
45413 SSE4.2 strcasecmp for libc.a.
45414 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45415
45416 2013-07-02 Joseph Myers <joseph@codesourcery.com>
45417
45418 [BZ #13304]
45419 * soft-fp/op-common.h (_FP_FMA): New macro.
45420 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
45421 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
45422 (_FP_MUL_MEAT_1_imm): ... here.
45423 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
45424 (_FP_MUL_MEAT_1_wide): ... here.
45425 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
45426 (_FP_MUL_MEAT_1_hard): ... here.
45427 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
45428 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
45429 (_FP_MUL_MEAT_2_wide): ... here.
45430 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
45431 (_FP_MUL_MEAT_2_wide_3mul): ... here.
45432 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
45433 (_FP_MUL_MEAT_2_gmp): ... here.
45434 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
45435 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
45436 (_FP_MUL_MEAT_4_wide): ... here.
45437 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
45438 (_FP_MUL_MEAT_4_gmp): ... here.
45439 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
45440 (_FP_WFRACBITS_DW_S): Likewise.
45441 (_FP_WFRACXBITS_DW_S): Likewise.
45442 (_FP_HIGHBIT_DW_S): Likewise.
45443 (FP_FMA_S): Likewise.
45444 (_FP_FRAC_HIGH_DW_S): Likewise.
45445 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
45446 (_FP_WFRACBITS_DW_D): Likewise.
45447 (_FP_WFRACXBITS_DW_D): Likewise.
45448 (_FP_HIGHBIT_DW_D): Likewise.
45449 (FP_FMA_D): Likewise.
45450 (_FP_FRAC_HIGH_DW_D): Likewise.
45451 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
45452 (_FP_WFRACBITS_DW_E): Likewise.
45453 (_FP_WFRACXBITS_DW_E): Likewise.
45454 (_FP_HIGHBIT_DW_E): Likewise.
45455 (FP_FMA_E): Likewise.
45456 (_FP_FRAC_HIGH_DW_E): Likewise.
45457 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
45458 (_FP_WFRACBITS_DW_Q): Likewise.
45459 (_FP_WFRACXBITS_DW_Q): Likewise.
45460 (_FP_HIGHBIT_DW_Q): Likewise.
45461 (FP_FMA_Q): Likewise.
45462 (_FP_FRAC_HIGH_DW_Q): Likewise.
45463 * soft-fp/fmasf4.c: New file.
45464 * soft-fp/fmadf4.c: Likewise.
45465 * soft-fp/fmatf4.c: Likewise.
45466
45467 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45468
45469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45470 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
45471 Silvermont.
45472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
45473 macro.
45474 (index_Slow_SSE4_2): Likewise.
45475 (index_Prefer_PMINUB_for_stringop): Likewise.
45476 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
45477 bit_Slow_SSE4_2 is set.
45478 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45479 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45480
45481 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45482
45483 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
45484 rtld_global._dl_hwcap2.
45485 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
45486 POWER8.
45487 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
45488 POWER8 feature descriptions defined in _dl_hwcap2.
45489 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
45490 string handling for POWER8 feature bits.
45491 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
45492 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
45493 _dl_powerpc_cap_flags.
45494 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
45495 * sysdeps/powerpc/rtld-global-offsets.sym
45496 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
45497 _dl_hwcap2 in the rtld_global_ro structure.
45498
45499 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45500
45501 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
45502 hardware capabilities in support of AT_HWCAP2.
45503 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
45504 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
45505 GLRO(dl_hwcap2).
45506 (_dl_show_auxv): Add support for calling _dl_procinfo to display
45507 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
45508 explicitly the unknown a_type display mechanism is used.
45509 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
45510 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
45511 struct member.
45512 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
45513 to macro prototype for AT_HWCAP2 support.
45514 * sysdeps/i386/dl-procinfo.h: Likewise.
45515 * sysdeps/s390/dl-procinfo.h: Likewise.
45516 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
45517 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
45518 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
45519 return -1 for unknown a_type display fallback.
45520 * sysdeps/sparc/dl-procinfo.h: Likewise.
45521 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
45522 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
45523
45524 2013-06-28 Joseph Myers <joseph@codesourcery.com>
45525
45526 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
45527 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
45528
45529 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
45530
45531 [BZ #12492]
45532 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
45533 mprotect making __stack_prot writable.
45534
45535 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
45536 Joseph Myers <joseph@codesourcery.com>
45537
45538 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
45539 as being properly aligned.
45540
45541 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
45542
45543 * dlfcn/modstatic5.c: New file.
45544 * dlfcn/tststatic5.c: New file.
45545 * dlfcn/Makefile (tests): Add tststatic5.
45546 (tests-static): Likewise.
45547 (modules-names): Add modstatic5.
45548 (tststatic5-ENV): New variable.
45549 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
45550
45551 [BZ #15022]
45552 * elf/dl-support.c (_dl_main_map): New variable.
45553 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
45554 (_dl_nns, _dl_load_adds): Set to 1.
45555 (_dl_initial_searchlist): Refer to _dl_main_map.
45556 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
45557 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
45558 call to _dl_get_origin.
45559 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
45560 around call_map.
45561 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
45562 * dlfcn/modstatic3.c: New file.
45563 * dlfcn/tststatic3.c: New file.
45564 * dlfcn/tststatic4.c: New file.
45565 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
45566 (tests-static): Likewise.
45567 (modules-names): Add modstatic3.
45568 (tststatic3-ENV, tststatic4-ENV): New variables.
45569 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
45570 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
45571
45572 2013-06-26 Joseph Myers <joseph@codesourcery.com>
45573
45574 * configure.in (CC): Require GCC version 4.4 or later.
45575 * configure: Regenerated.
45576 * manual/install.texi (Tools for Compilation): Update GCC version
45577 requirement.
45578 * INSTALL: Regenerated.
45579
45580 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45581
45582 [BZ #15674]
45583 * string/test-memcmp.c (check2): New.
45584 (main): Call check2.
45585
45586 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
45587
45588 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
45589
45590 [BZ #15022]
45591 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
45592 over to...
45593 (dl_open_worker) [!SHARED]: ... here.
45594
45595 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45596
45597 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
45598
45599 2013-06-25 Richard Henderson <rth@redhat.com>
45600
45601 * locale/programs/locarchive.c: Include <libc-internal.h>
45602
45603 2013-06-25 Joseph Myers <joseph@codesourcery.com>
45604
45605 * manual/texinfo.tex: Update to version 2013-06-21.17, with
45606 trailing whitespace removed.
45607
45608 2013-06-24 Mike Frysinger <vapier@gentoo.org>
45609
45610 [BZ #10283]
45611 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
45612 * locale/programs/locarchive.c: Include libc-mmap.h.
45613 (prepare_address_space): Take two new outputs (the mmap base and len).
45614 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
45615 values.
45616 (create_archive): Declare new mmap base and len values for
45617 prepare_address_space, and store the result in ah.
45618 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
45619 (enlarge_archive): If ah->mmap_base is not NULL, use that and
45620 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45621 Declare new mmap base and len values for
45622 prepare_address_space, and store the result in new_ah.
45623 (open_archive): Declare new mmap base and len values for
45624 prepare_address_space, and store the result in ah.
45625 (close_archive): If ah->mmap_base is not NULL, use that and
45626 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
45627 * sysdeps/generic/libc-mmap.h: New file.
45628
45629 2013-06-24 Mike Frysinger <vapier@gentoo.org>
45630
45631 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45632 (ALIGN_UP): Likewise.
45633 (PTR_ALIGN_DOWN): Likewise.
45634 (PTR_ALIGN_UP): Likewise.
45635
45636 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45637
45638 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45639 entry mapped to PPC_PLATFORM_POWER8.
45640 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
45641 POWER8.
45642 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
45643 (_dl_string_platform): Add case for exporting platform position for
45644 POWER8.
45645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
45646 search path to sysdeps/powerpc/powerpc32/power8 directory.
45647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
45648 search path to sysdeps/powerpc/powerpc64/power8 directory.
45649 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
45650 power7 directories.
45651 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
45652 power7 directories.
45653
45654 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
45655
45656 * INSTALL: Regenerate.
45657
45658 * nscd/connections.c (nscd_init): Fix comment.
45659
45660 2013-06-22 Joseph Myers <joseph@codesourcery.com>
45661
45662 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
45663
45664 [BZ #15667]
45665 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
45666 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
45667
45668 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
45669
45670 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
45671 DL_DST_REQ_STATIC.
45672 (DL_DST_REQ_STATIC): Remove macro.
45673
45674 2013-06-21 Joseph Myers <joseph@codesourcery.com>
45675
45676 [BZ #7006]
45677 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
45678 with a shift of 0 bits.
45679
45680 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
45681
45682 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
45683 $(tststatic-ENV).
45684
45685 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45686
45687 [BZ #15655]
45688 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
45689
45690 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45691
45692 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
45693 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
45694 accepts -fno-tree-loop-distribute-patterns.
45695 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
45696 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
45697 recursive call.
45698 * string/memset.c (memset): Likewise.
45699 * string/test-memmove.c (simple_memmove): Disable loop transformation
45700 to library calls.
45701 * string/test-memset.c (simple_memset): Likewise.
45702 * benchtests/bench-memmove.c (simple_memmove): Likewise.
45703 * benchtests/bench-memset.c (simple_memset): Likewise.
45704 * configure: Regenerated.
45705
45706 2013-06-20 Joseph Myers <joseph@codesourcery.com>
45707
45708 * math/test-misc.c (main): Ignore fesetround failure when failures
45709 of subsequent rounding tests would be ignored.
45710
45711 [BZ #15654]
45712 * math/fedisblxcpt.c (fedisableexcept): Return 0.
45713 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
45714 * math/fegetenv.c (__fegetenv): Return 0.
45715 * math/fegetexcept.c (fegetexcept): Return 0.
45716 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
45717 FE_TONEAREST.
45718 * math/feholdexcpt.c (feholdexcept): Return 0.
45719 * math/fesetenv.c (__fesetenv): Return 0.
45720 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
45721 argument FE_TONEAREST.
45722 * math/feupdateenv.c (__feupdateenv): Return 0.
45723 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
45724
45725 2013-06-18 Roland McGrath <roland@hack.frob.com>
45726
45727 * elf/rtld-Rules (rtld-compile-command.S): New variable.
45728 (rtld-compile-command.s, rtld-compile-command.c): New variables.
45729 ($(objpfx)rtld-%.os rules): Use them.
45730
45731 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45732
45733 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45734 fields.
45735
45736 2013-06-17 Roland McGrath <roland@hack.frob.com>
45737
45738 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
45739 length of target pattern, then descending length of dependency pattern.
45740 * configure.in (AWK): Require gawk 3.1.2 or newer.
45741 * manual/install.texi (Tools for Compilation): Say that we do.
45742 * configure: Regenerated.
45743
45744 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
45745 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
45746 * scripts/sysd-rules.awk: ... this new script.
45747 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
45748 than a glob-style pattern.
45749
45750 2013-06-17 Joseph Myers <joseph@codesourcery.com>
45751
45752 * math/test-misc.c (main): Do not treat incorrectly rounded
45753 conversions as failure unless ROUNDING_TESTS passes.
45754
45755 2013-06-15 Joseph Myers <joseph@codesourcery.com>
45756
45757 [BZ #15631]
45758 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
45759 restore exception state around main square root computation, then
45760 check for inexactness explicitly.
45761
45762 * math/libm-test.inc (fma_test_data): Add another test.
45763
45764 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45765
45766 * manual/threads.texi (Non-POSIX Extensions): New document
45767 node. Document pthread_getattr_default_np and
45768 pthread_setattr_default_np.
45769
45770 * Versions.def (libpthread): Add GLIBC_2.18.
45771 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
45772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45773 Likewise.
45774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45775 Likewise.
45776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45777 Likewise.
45778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45779 Likewise.
45780 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
45781 Likewise.
45782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45783 Likewise.
45784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45785 Likewise.
45786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45787 Likewise.
45788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45789 Likewise.
45790
45791 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45792
45793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45794 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
45795
45796 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
45797 H.J. Lu <hjl.tools@gmail.com>
45798
45799 [BZ #15627]
45800 * sysdeps/x86_64/rtld-memset.c: Remove file.
45801 * sysdeps/x86_64/rtld-memset.S: New file.
45802
45803 2013-06-14 Joseph Myers <joseph@codesourcery.com>
45804
45805 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
45806 (test_in_one_mode): Take arguments for whether the rounding mode
45807 is supported for each floating-point type.
45808 (do_test): Pass new arguments to test_in_one_mode using
45809 ROUNDING_TESTS.
45810
45811 2013-06-13 Roland McGrath <roland@hack.frob.com>
45812
45813 * posix/tst-waitid.c (do_test): Distinguish different instances of
45814 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
45815 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
45816 before entering the kernel for waitpid.
45817
45818 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
45819
45820 * NEWS: Fix note on clock function precision. Text by Roland
45821 McGrath.
45822
45823 2013-06-13 Roland McGrath <roland@hack.frob.com>
45824
45825 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
45826 it into place only when and if the sanity check passes.
45827
45828 2013-06-13 Joseph Myers <joseph@codesourcery.com>
45829
45830 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45831 output for whether conversion result is exact. Take argument
45832 indicating whether type is IBM long double.
45833 (round_for_all): Change need_exact field to ibm_ld.
45834 * stdlib/tst-strtod-round.c (struct exactness): New type.
45835 (struct test): Change bool ld_ok field to struct exactness exact.
45836 (TEST): Update all definitions for change to field.
45837 (tests): Regenerate array contents.
45838 (test_in_one_mode): Take pointer to new field instead of old ld_ok
45839 field value. Check for IBM long double here.
45840 (do_test): Update calls to test_in_one_mode.
45841
45842 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
45843
45844 [BZ #12515]
45845 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45846 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45847
45848 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45849
45850 [BZ #15605]
45851 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45852 generated by the compiler on loop optimizations.
45853 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45854 general definitions.
45855
45856 2013-06-12 Joseph Myers <joseph@codesourcery.com>
45857
45858 * math/bug-nextafter.c: Include <math-tests.h>.
45859 (main): Only test for exceptions if EXCEPTION_TESTS is true for
45860 the relevant type.
45861 * math/bug-nexttoward.c: Include <math-tests.h>.
45862 (main): Only test for exceptions if EXCEPTION_TESTS is true for
45863 the relevant type.
45864 * math/test-misc.c: Include <math-tests.h>.
45865 (main): Only test for exceptions if EXCEPTION_TESTS is true for
45866 the relevant type.
45867
45868 2013-06-12 Andreas Jaeger <aj@suse.de>
45869
45870 * po/ia.po: Update Interlingua translation from translation
45871 project.
45872
45873 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45874
45875 * include/fenv.h: Include stdbool.h.
45876 (struct rm_ctx): New structure.
45877 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45878 Define macro.
45879 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45880 (SET_RESTORE_ROUNDF): Likewise.
45881 (SET_RESTORE_ROUNDL): Likewise.
45882 (SET_RESTORE_ROUND_NOEX): Likewise.
45883 (SET_RESTORE_ROUND_NOEXF): Likewise.
45884 (SET_RESTORE_ROUND_NOEXL): Likewise.
45885 (SET_RESTORE_ROUND_53BIT): Likewise.
45886 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45887 (libc_feresetround_noexf_ctx): Likewise.
45888 (libc_feresetround_noexl_ctx): Likewise.
45889 (libc_feholdsetround_53bit_ctx): Likewise.
45890 (libc_feresetround_53bit_ctx): Likewise.
45891 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45892 (libc_feholdexcept_setround_sse_ctx): New function.
45893 (libc_fesetenv_sse_ctx): Likewise.
45894 (libc_feupdateenv_sse_ctx): Likewise.
45895 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45896 (libc_feholdexcept_setround_387_ctx): Likewise.
45897 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45898 (libc_feholdsetround_387_prec_ctx): Likewise.
45899 (libc_feholdsetround_387_ctx): Likewise.
45900 (libc_feholdsetround_387_53bit_ctx): Likewise.
45901 (libc_feholdsetround_sse_ctx): Likewise.
45902 (libc_feresetround_sse_ctx): Likewise.
45903 (libc_feresetround_387_ctx): Likewise.
45904 (libc_feupdateenv_387_ctx): Likewise.
45905 (libc_feholdexcept_setroundf_ctx): Define macro.
45906 (libc_fesetenvf_ctx): Likewise.
45907 (libc_feupdateenvf_ctx): Likewise.
45908 (libc_feholdsetroundf_ctx): Likewise.
45909 (libc_feresetroundf_ctx): Likewise.
45910 (libc_feholdexcept_setround_ctx): Likewise.
45911 (libc_fesetenv_ctx): Likewise.
45912 (libc_feupdateenv_ctx): Likewise.
45913 (libc_feholdsetround_ctx): Likewise.
45914 (libc_feresetround_ctx): Likewise.
45915 (libc_feholdexcept_setroundl_ctx): Likewise.
45916 (libc_feupdateenvl_ctx): Likewise.
45917 (libc_feholdsetroundl_ctx): Likewise.
45918 (libc_feresetroundl_ctx): Likewise.
45919 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45920 (libc_feresetround_53bit_ctx): Likewise.
45921
45922 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45923
45924 * locale/iso-639.def: Convert to UTF-8.
45925
45926 2013-06-11 Joseph Myers <joseph@codesourcery.com>
45927
45928 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45929 (EXCEPTION_TESTS_double): Likewise.
45930 (EXCEPTION_TESTS_long_double): Likewise.
45931 (EXCEPTION_TESTS): Likewise.
45932 * math/libm-test.inc (test_exceptions): Only test exceptions if
45933 EXCEPTION_TESTS (FLOAT).
45934
45935 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45936
45937 * benchtests/Makefile (string-bench): Add strcpy_chk and
45938 stpcpy_chk.
45939 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45940 * benchtests/bench-stpcpy_chk.c: New file.
45941 * benchtests/bench-strcpy_chk-ifunc.c: New file.
45942 * benchtests/bench-strcpy_chk.c: New file.
45943 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45944 code.
45945 (do_test): Likewise.
45946
45947 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45948
45949 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45950 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45951 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45952 with tabs where appropriate.
45953 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45954 dl-procinfo.h.
45955 [PPC_PLATFORM_PPC440]: Likewise.
45956 [PPC_PLATFORM_PPC464]: Likewise.
45957 [PPC_PLATFORM_PPC476]: Likewise.
45958 (_dl_string_platform): Add support for detecting ppc405, ppc440,
45959 ppc464, and ppc476 platform strings merging from ports/
45960 dl-procinfo.h.
45961
45962 2013-06-11 Andreas Schwab <schwab@suse.de>
45963
45964 [BZ #14991]
45965 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45966 (from_ucs4_idx): Regenerate.
45967 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45968 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45969 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45970 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45971 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45972 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45973 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45974 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45975 from FROM_LOOP and TO_LOOP specific macros.
45976 (BODY): Handle combining characters.
45977 * iconvdata/BIG5HKSCS.irreversible: Update.
45978 * iconvdata/BIG5HKSCS.precomposed: New file.
45979 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45980 characters.
45981 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45982
45983 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
45984
45985 * include/sys/time.h: Fix indentation and add copyright header.
45986
45987 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45988 (do_test): Likewise.
45989 * string/test-memchr.c (do_one_test): Likewise.
45990 (do_test): Likewise.
45991 * string/test-memcmp.c (do_one_test): Likewise.
45992 (do_test): Likewise.
45993 * string/test-memcpy.c (do_one_test): Likewise.
45994 (do_test): Likewise.
45995 * string/test-memmem.c (do_one_test): Likewise.
45996 (do_test): Likewise.
45997 (do_random_tests): Likewise.
45998 * string/test-memmove.c (do_one_test): Likewise.
45999 (do_test): Likewise.
46000 * string/test-memset.c (do_one_test): Likewise.
46001 (do_test): Likewise.
46002 * string/test-rawmemchr.c (do_one_test): Likewise.
46003 (do_test): Likewise.
46004 * string/test-strcasecmp.c (do_one_test): Likewise.
46005 (do_test): Likewise.
46006 * string/test-strcasestr.c (do_one_test): Likewise.
46007 (do_test): Likewise.
46008 * string/test-strcat.c (do_one_test): Likewise.
46009 (do_test): Likewise.
46010 * string/test-strchr.c (do_one_test): Likewise.
46011 (do_test): Likewise.
46012 * string/test-strcmp.c (do_one_test): Likewise.
46013 (do_test): Likewise.
46014 * string/test-strcpy.c (do_one_test): Likewise.
46015 (do_test): Likewise.
46016 * string/test-string.h: Likewise.
46017 (test_init): Likewise.
46018 * string/test-strlen.c (do_one_test): Likewise.
46019 (do_test): Likewise.
46020 * string/test-strncasecmp.c (do_one_test): Likewise.
46021 (do_test): Likewise.
46022 * string/test-strncat.c (do_one_test): Likewise.
46023 (do_test): Likewise.
46024 * string/test-strncmp.c (do_one_test): Likewise.
46025 (do_test_limit): Likewise.
46026 (do_test): Likewise.
46027 * string/test-strncpy.c (do_one_test): Likewise.
46028 (do_test): Likewise.
46029 * string/test-strnlen.c (do_one_test): Likewise.
46030 (do_test): Likewise.
46031 * string/test-strpbrk.c (do_one_test): Likewise.
46032 (do_test): Likewise.
46033 * string/test-strrchr.c (do_one_test): Likewise.
46034 (do_test): Likewise.
46035 * string/test-strspn.c (do_one_test): Likewise.
46036 (do_test): Likewise.
46037 * string/test-strstr.c (do_one_test): Likewise.
46038 (do_test): Likewise.
46039
46040 * benchtests/Makefile (string-bench): Add string benchmarks.
46041 * benchtests/bench-bcopy-ifunc.c: New file.
46042 * benchtests/bench-bcopy.c: New file.
46043 * benchtests/bench-bzero-ifunc.c: New file.
46044 * benchtests/bench-bzero.c: New file.
46045 * benchtests/bench-memccpy-ifunc.c: New file.
46046 * benchtests/bench-memccpy.c: New file.
46047 * benchtests/bench-memchr-ifunc.c: New file.
46048 * benchtests/bench-memchr.c: New file.
46049 * benchtests/bench-memcmp-ifunc.c: New file.
46050 * benchtests/bench-memcmp.c: New file.
46051 * benchtests/bench-memmem-ifunc.c: New file.
46052 * benchtests/bench-memmem.c: New file.
46053 * benchtests/bench-memmove-ifunc.c: New file.
46054 * benchtests/bench-memmove.c: New file.
46055 * benchtests/bench-mempcpy-ifunc.c: New file.
46056 * benchtests/bench-mempcpy.c: New file.
46057 * benchtests/bench-memset-ifunc.c: New file.
46058 * benchtests/bench-memset.c: New file.
46059 * benchtests/bench-rawmemchr-ifunc.c: New file.
46060 * benchtests/bench-rawmemchr.c: New file.
46061 * benchtests/bench-stpcpy-ifunc.c: New file.
46062 * benchtests/bench-stpcpy.c: New file.
46063 * benchtests/bench-stpncpy-ifunc.c: New file.
46064 * benchtests/bench-stpncpy.c: New file.
46065 * benchtests/bench-strcasecmp-ifunc.c: New file.
46066 * benchtests/bench-strcasecmp.c: New file.
46067 * benchtests/bench-strcasestr-ifunc.c: New file.
46068 * benchtests/bench-strcasestr.c: New file.
46069 * benchtests/bench-strcat-ifunc.c: New file.
46070 * benchtests/bench-strcat.c: New file.
46071 * benchtests/bench-strchr-ifunc.c: New file.
46072 * benchtests/bench-strchr.c: New file.
46073 * benchtests/bench-strchrnul-ifunc.c: New file.
46074 * benchtests/bench-strchrnul.c: New file.
46075 * benchtests/bench-strcmp-ifunc.c: New file.
46076 * benchtests/bench-strcmp.c: New file.
46077 * benchtests/bench-strcpy-ifunc.c: New file.
46078 * benchtests/bench-strcpy.c: New file.
46079 * benchtests/bench-strcspn-ifunc.c: New file.
46080 * benchtests/bench-strcspn.c: New file.
46081 * benchtests/bench-strlen-ifunc.c: New file.
46082 * benchtests/bench-strlen.c: New file.
46083 * benchtests/bench-strncasecmp-ifunc.c: New file.
46084 * benchtests/bench-strncasecmp.c: New file.
46085 * benchtests/bench-strncat-ifunc.c: New file.
46086 * benchtests/bench-strncat.c: New file.
46087 * benchtests/bench-strncmp-ifunc.c: New file.
46088 * benchtests/bench-strncmp.c: New file.
46089 * benchtests/bench-strncpy-ifunc.c: New file.
46090 * benchtests/bench-strncpy.c: New file.
46091 * benchtests/bench-strnlen-ifunc.c: New file.
46092 * benchtests/bench-strnlen.c: New file.
46093 * benchtests/bench-strpbrk-ifunc.c: New file.
46094 * benchtests/bench-strpbrk.c: New file.
46095 * benchtests/bench-strrchr-ifunc.c: New file.
46096 * benchtests/bench-strrchr.c: New file.
46097 * benchtests/bench-strspn-ifunc.c: New file.
46098 * benchtests/bench-strspn.c: New file.
46099 * benchtests/bench-strstr-ifunc.c: New file.
46100 * benchtests/bench-strstr.c: New file.
46101
46102 * benchtests/Makefile: Disable parallel execution of targets.
46103 (string-bench): Add memcpy.
46104 (benchset): New variable to store a list of benchmark sets.
46105 (bench-func): Renamed from bench.
46106 (bench-set): New target.
46107 (bench): Depend on bench-func and bench-set.
46108 * benchtests/README: Add section on benchmark sets.
46109 * benchtests/bench-memcpy-ifunc.c: New file.
46110 * benchtests/bench-memcpy.c: New file.
46111 * benchtests/bench-string.h: New file.
46112
46113 2013-06-11 Andreas Schwab <schwab@suse.de>
46114
46115 [BZ #15577]
46116 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46117 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46118 values in the triple.
46119 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46120 terminator in the group key.
46121
46122 2013-06-11 Andreas Jaeger <aj@suse.de>
46123
46124 * po/zh_TW.po: Update Chinese (traditional) translation from
46125 translation project.
46126
46127 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46128
46129 * include/time.h (__clock_gettime): Add libc_hidden_proto.
46130 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46131 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
46132 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46133 (clock_getcpuclockid): Likewise.
46134 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46135 Add weak_alias and libc_hidden_def.
46136 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46137 * rt/clock_gettime.c (clock_gettime): Rename to
46138 __clock_gettime. Add weak_alias and libc_hidden_def.
46139 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46140 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46141 __clock_nanosleep. Add weak_alias and libc_hidden_def.
46142 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46143 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46144 Likewise.
46145 * rt/clock_settime.c (clock_settime): Rename to
46146 __clock_settime. Add weak_alias and libc_hidden_def.
46147 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46148
46149 2013-06-10 Joseph Myers <joseph@codesourcery.com>
46150
46151 * mach/err_boot.sub: Remove trailing whitespace.
46152 * mach/err_ipc.sub: Likewise.
46153 * mach/err_mach.sub: Likewise.
46154
46155 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46156 (ROUNDING_TESTS_double): Likewise.
46157 (ROUNDING_TESTS_long_double): Likewise.
46158 (ROUNDING_TESTS): Likewise.
46159 * math/libm-test.inc: Include <math-tests.h>.
46160 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46161 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46162 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46163 (IF_ROUND_INIT_FE_UPWARD): Likewise.
46164
46165 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46166
46167 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46168 of assigning.
46169
46170 2013-06-08 Joseph Myers <joseph@codesourcery.com>
46171
46172 * sysdeps/gnu/errlist.awk: Do not generate space at end of
46173 otherwise empty TRANS lines.
46174 * sysdeps/gnu/errlist.c: Regenerated.
46175
46176 * catgets/gencat.c (error_print): Use (void) in function
46177 definition.
46178 * crypt/crypt_util.c (__init_des): Likewise.
46179 * crypt/speeds.c (Stop): Likewise.
46180 (main): Likewise.
46181 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46182 * inet/ruserpass.c (token): Likewise.
46183 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46184 * intl/localealias.c (extend_alias_table): Likewise.
46185 * intl/plural-exp.c (init_germanic_plural): Likewise.
46186 * libio/fcloseall.c (__fcloseall): Likewise.
46187 * libio/genops.c (_IO_flush_all): Likewise.
46188 (_IO_flush_all_linebuffered): Likewise.
46189 (_IO_cleanup): Likewise.
46190 (_IO_iter_begin): Likewise.
46191 (_IO_iter_end): Likewise.
46192 (_IO_list_lock): Likewise.
46193 (_IO_list_unlock): Likewise.
46194 (_IO_list_resetlock): Likewise.
46195 * libio/getchar.c (getchar): Likewise.
46196 * libio/getchar_u.c (getchar_unlocked): Likewise.
46197 * libio/getwchar.c (getwchar): Likewise.
46198 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46199 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46200 * login/getpt.c (__getpt): Likewise.
46201 * login/tst-utmp.c (main): Likewise.
46202 * malloc/hooks.c (__malloc_check_init): Likewise.
46203 * malloc/malloc.c (__malloc_stats): Likewise.
46204 * malloc/mtrace.c (tr_break): Likewise.
46205 (mtrace): Likewise.
46206 (muntrace): Likewise.
46207 * misc/fstab.c (endfsent): Likewise.
46208 * misc/getclktck.c (__getclktck): Likewise.
46209 * misc/getdtsz.c (__getdtablesize): Likewise.
46210 * misc/gethostid.c (gethostid): Likewise.
46211 * misc/getpagesize.c (__getpagesize): Likewise.
46212 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46213 (__get_nprocs): Likewise.
46214 (__get_phys_pages): Likewise.
46215 (__get_avphys_pages): Likewise.
46216 * misc/getttyent.c (getttyent): Likewise.
46217 (setttyent): Likewise.
46218 (endttyent): Likewise.
46219 * misc/getusershell.c (getusershell): Likewise.
46220 (endusershell): Likewise.
46221 (setusershell): Likewise.
46222 (initshells): Likewise.
46223 * misc/hsearch.c (__hdestroy): Likewise.
46224 * misc/sync.c (sync): Likewise.
46225 * misc/syslog.c (closelog_internal): Likewise.
46226 (closelog): Likewise.
46227 * misc/ttyslot.c (ttyslot): Likewise.
46228 * misc/vhangup.c (vhangup): Likewise.
46229 * posix/fork.c (__fork): Likewise.
46230 * posix/getegid.c (__getegid): Likewise.
46231 * posix/geteuid.c (__geteuid): Likewise.
46232 * posix/getgid.c (__getgid): Likewise.
46233 * posix/getpid.c (__getpid): Likewise.
46234 * posix/getppid.c (__getppid): Likewise.
46235 * posix/getuid.c (__getuid): Likewise.
46236 * posix/pause.c (pause): Likewise.
46237 * posix/setpgrp.c (setpgrp): Likewise.
46238 * posix/setsid.c (__setsid): Likewise.
46239 * posix/test-vfork.c (noop): Likewise.
46240 * resolv/gethnamaddr.c (_endhtent): Likewise.
46241 (_gethtent): Likewise.
46242 (ht_endhostent): Likewise.
46243 (gethostent): Likewise.
46244 (dns_service): Likewise.
46245 * stdlib/drand48.c (drand48): Likewise.
46246 * stdlib/lrand48.c (lrand48): Likewise.
46247 * stdlib/mrand48.c (mrand48): Likewise.
46248 * stdlib/rand.c (rand): Likewise.
46249 * stdlib/random.c (__random): Likewise.
46250 * stdlib/setenv.c (clearenv): Likewise.
46251 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46252 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46253 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46254 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46255 (__get_nprocs): Likewise.
46256 (__get_phys_pages): Likewise.
46257 (__get_avphys_pages): Likewise.
46258 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46259 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46260 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46261 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46262 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46263 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46264 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46265 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46266 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46267 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46268 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46269 * sysdeps/mach/hurd/sync.c (sync): Likewise.
46270 * sysdeps/posix/clock.c (clock): Likewise.
46271 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46272 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46273 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46274 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46275 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46277 (__get_nprocs_conf): Likewise.
46278 (__get_phys_pages): Likewise.
46279 (__get_avphys_pages): Likewise.
46280 * time/clock.c (clock): Likewise.
46281 * time/tzset.c (__tzname_max): Likewise.
46282
46283 2013-06-07 Joseph Myers <joseph@codesourcery.com>
46284
46285 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46286 (__bswap_32): Do not use "register".
46287 * crypt/crypt.c (_ufc_doit_r): Likewise.
46288 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46289 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46290 * gmon/gmon.c (__monstartup): Likewise.
46291 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46292 * hurd/hurdmalloc.c (more_memory): Likewise.
46293 (malloc): Likewise.
46294 (free): Likewise.
46295 (realloc): Likewise.
46296 (malloc_fork_prepare): Likewise.
46297 (malloc_fork_parent): Likewise.
46298 (malloc_fork_child): Likewise.
46299 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46300 (_svcauth_des): Likewise.
46301 * inet/inet_lnaof.c (inet_lnaof): Likewise.
46302 * inet/inet_net.c (inet_network): Likewise.
46303 * inet/inet_netof.c (inet_netof): Likewise.
46304 * inet/rcmd.c (__validuser2_sa): Likewise.
46305 * io/fts.c (fts_open): Likewise.
46306 (fts_load): Likewise.
46307 (fts_close): Likewise.
46308 (fts_read): Likewise.
46309 (fts_children): Likewise.
46310 (fts_build): Likewise.
46311 (fts_stat): Likewise.
46312 (fts_sort): Likewise.
46313 (fts_alloc): Likewise.
46314 (fts_lfree): Likewise.
46315 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46316 (_IO_file_xsgetn): Likewise.
46317 (_IO_file_xsgetn_mmap): Likewise.
46318 * libio/iofopncook.c (_IO_cookie_read): Likewise.
46319 (_IO_cookie_write): Likewise.
46320 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46321 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46322 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46323 * malloc/obstack.c (_obstack_begin): Likewise.
46324 (_obstack_begin_1): Likewise.
46325 (_obstack_newchunk): Likewise.
46326 (_obstack_allocated_p): Likewise.
46327 (obstack_free): Likewise.
46328 (_obstack_memory_used): Likewise.
46329 * misc/getttyent.c (getttynam): Likewise.
46330 (getttyent): Likewise.
46331 (skip): Likewise.
46332 (value): Likewise.
46333 * misc/getusershell.c (initshells): Likewise.
46334 * misc/syslog.c (__vsyslog_chk): Likewise.
46335 * misc/ttyslot.c (ttyslot): Likewise.
46336 * nis/nis_hash.c (__nis_hash): Likewise.
46337 * posix/fnmatch_loop.c (FCT): Likewise.
46338 * posix/getconf.c (print_all): Likewise.
46339 (main): Likewise.
46340 * posix/getopt.c (exchange): Likewise.
46341 * posix/glob.c (globfree): Likewise.
46342 (prefix_array): Likewise.
46343 (__glob_pattern_type): Likewise.
46344 * resolv/arpa/nameser.h (NS_GET16): Likewise.
46345 (NS_GET32): Likewise.
46346 (NS_PUT16): Likewise.
46347 (NS_PUT32): Likewise.
46348 * resolv/gethnamaddr.c (getanswer): Likewise.
46349 (gethostbyname2): Likewise.
46350 (gethostbyaddr): Likewise.
46351 (_gethtent): Likewise.
46352 (_gethtbyname2): Likewise.
46353 (_gethtbyaddr): Likewise.
46354 * resolv/ns_print.c (dst_s_get_int16): Likewise.
46355 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
46356 * resolv/res_init.c (__res_vinit): Likewise.
46357 (net_mask): Likewise.
46358 * resolv/res_mkquery.c (outchar): Likewise.
46359 (PRINT): Likewise.
46360 * stdio-common/printf_fp.c (outchar): Likewise.
46361 (PRINT): Likewise.
46362 * stdio-common/printf_fphex.c (outchar): Likewise.
46363 (PRINT): Likewise.
46364 * stdio-common/printf_size.c (outchar): Likewise.
46365 (PRINT): Likewise.
46366 * stdio-common/test_rdwr.c (main): Likewise.
46367 * stdio-common/tfformat.c (matches): Likewise.
46368 * stdio-common/vfprintf.c (outchar): Likewise.
46369 (printf_unknown): Likewise.
46370 (buffered_vfprintf): Likewise.
46371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46372 * stdio-common/xbug.c (AppendToBuffer): Likewise.
46373 (ReadFile): Likewise.
46374 * stdlib/qsort.c (SWAP): Likewise.
46375 (_quicksort): Likewise.
46376 * stdlib/setenv.c (__add_to_environ): Likewise.
46377 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46378 * stdlib/strtol_l.c (__strtol_l): Likewise.
46379 * stdlib/tst-strtod.c (main): Likewise.
46380 * stdlib/tst-strtol.c (main): Likewise.
46381 * stdlib/tst-strtoll.c (main): Likewise.
46382 * string/bits/string2.h (__strcmp_cc): Likewise.
46383 (__strcmp_cg): Likewise.
46384 (__strcspn_c1): Likewise.
46385 (__strcspn_c2): Likewise.
46386 (__strcspn_c3): Likewise.
46387 (__strspn_c1): Likewise.
46388 (__strspn_c2): Likewise.
46389 (__strspn_c3): Likewise.
46390 (__strsep_1c): Likewise.
46391 (__strsep_2c): Likewise.
46392 (__strsep_3c): Likewise.
46393 * string/memccpy.c (__memccpy): Likewise.
46394 * string/stpcpy.c (__stpcpy): Likewise.
46395 * string/strcmp.c (strcmp): Likewise.
46396 * string/strrchr.c (strrchr): Likewise.
46397 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
46398 Likewise.
46399 * sysdeps/mach/hurd/getcwd.c
46400 (_hurd_canonicalize_directory_name_internal): Likewise.
46401 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
46402 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
46403 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
46404 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
46405 Likewise, in both definitions.
46406 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
46407 definitions.
46408 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
46409 64] (__bswap_64): Likewise.
46410 * time/test_time.c (main): Likewise.
46411 * time/tzfile.c (__tzfile_read): Likewise.
46412 (__tzfile_compute): Likewise.
46413 * time/tzset.c (__tzset_parse_tz): Likewise.
46414 (tzset_internal): Likewise.
46415 (compute_change): Likewise.
46416 * wcsmbs/wcscat.c (__wcscat): Likewise.
46417 * wcsmbs/wcschr.c (wcschr): Likewise.
46418 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
46419 * wcsmbs/wcscspn.c (wcscspn): Likewise.
46420 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
46421 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
46422 * wcsmbs/wcsspn.c (wcsspn): Likewise.
46423 * wcsmbs/wcsstr.c (wcsstr): Likewise.
46424 * wcsmbs/wmemchr.c (wmemchr): Likewise.
46425 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46426 * wcsmbs/wmemset.c (wmemset): Likewise.
46427
46428 2013-06-06 Joseph Myers <joseph@codesourcery.com>
46429
46430 * scripts/config.guess: Update to version 2013-05-16.
46431 * scripts/config.sub: Update to version 2013-04-24.
46432 * scripts/install-sh: Update to version 2011-11-20.07.
46433 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
46434 * scripts/move-if-change: Update to version 2012-01-06 07:23.
46435
46436 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
46437
46438 * debug/fgetws_u_chk.c: Fix leading whitespaces.
46439 * elf/sln.c: Likewise.
46440 * hurd/hurd/ioctl.h: Likewise.
46441 * hurd/hurdmalloc.c: Likewise.
46442 * hurd/xattr.c: Likewise.
46443 * include/shlib-compat.h: Likewise.
46444 * inet/ruserpass.c: Likewise.
46445 * libio/iofgets_u.c: Likewise.
46446 * libio/iofgetws_u.c: Likewise.
46447 * locale/programs/ld-identification.c: Likewise.
46448 * locale/programs/ld-time.c: Likewise.
46449 * mach/msg-destroy.c: Likewise.
46450 * nss/nss_files/files-netgrp.c: Likewise.
46451 * resolv/res_data.c: Likewise.
46452 * soft-fp/op-1.h: Likewise.
46453 * soft-fp/op-2.h: Likewise.
46454 * soft-fp/op-4.h: Likewise.
46455 * soft-fp/op-common.h: Likewise.
46456 * stdio-common/printf_fphex.c: Likewise.
46457 * stdlib/strtod_l.c: Likewise.
46458 * sunrpc/rpc/clnt.h: Likewise.
46459 * sysdeps/generic/framestate.c: Likewise.
46460 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46461 * sysdeps/i386/bsd-setjmp.S: Likewise.
46462 * sysdeps/i386/__longjmp.S: Likewise.
46463 * sysdeps/i386/setjmp.S: Likewise.
46464 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46465 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46469 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46470 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46471 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46472 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46473 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46474 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46475 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46476 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46477 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46478 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46480 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46481 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
46482 * sysdeps/ieee754/support.c: Likewise.
46483 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46484 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
46485 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
46486 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
46487 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
46488 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
46489 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
46490 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
46491 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
46492 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
46493 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
46494 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
46495 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
46496 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
46497 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
46498 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
46499 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
46500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
46501
46502 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
46503
46504 * posix/transbug.c: Remove executable mode.
46505
46506 2013-06-05 Joseph Myers <joseph@codesourcery.com>
46507
46508 * crypt/speeds.c: Remove trailing whitespace.
46509 * dlfcn/default.c: Likewise.
46510 * elf/ifuncdep2.c: Likewise.
46511 * elf/ifuncmain1.c: Likewise.
46512 * elf/ifuncmain1vis.c: Likewise.
46513 * elf/testobj.h: Likewise.
46514 * elf/tst-stackguard1.c: Likewise.
46515 * gmon/sys/gmon.h: Likewise.
46516 * hurd/hurdmsg.c: Likewise.
46517 * hurd/new-fd.c: Likewise.
46518 * hurd/ports-get.c: Likewise.
46519 * iconvdata/ibm1008_420.c: Likewise.
46520 * inet/tst-getni1.c: Likewise.
46521 * inet/tst-getni2.c: Likewise.
46522 * libio/ioungetc.c: Likewise.
46523 * libio/wfiledoalloc.c: Likewise.
46524 * manual/libm-err-tab.pl: Likewise.
46525 * math/w_dremf.c: Likewise.
46526 * misc/ftruncate.c: Likewise.
46527 * posix/bug-glob2.c: Likewise.
46528 * posix/tst-pcre.c: Likewise.
46529 * posix/wait4.c: Likewise.
46530 * resolv/README: Likewise.
46531 * resolv/res_debug.h: Likewise.
46532 * resolv/tst-inet_ntop.c: Likewise.
46533 * setjmp/bug269-setjmp.c: Likewise.
46534 * soft-fp/extended.h: Likewise.
46535 * soft-fp/op-1.h: Likewise.
46536 * soft-fp/op-2.h: Likewise.
46537 * soft-fp/op-4.h: Likewise.
46538 * soft-fp/op-8.h: Likewise.
46539 * soft-fp/testit.c: Likewise.
46540 * stdio-common/bug16.c: Likewise.
46541 * stdlib/random.c: Likewise.
46542 * sunrpc/rpcsvc/rquota.x: Likewise.
46543 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
46544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46548 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46549 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46550 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46554 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46555 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46556 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46559 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46572 * sysdeps/ieee754/s_lib_version.c: Likewise.
46573 * sysdeps/mach/hurd/check_fds.c: Likewise.
46574 * sysdeps/mach/hurd/getsockname.c: Likewise.
46575 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
46576 * sysdeps/mach/hurd/recvfrom.c: Likewise.
46577 * sysdeps/powerpc/bits/link.h: Likewise.
46578 * sysdeps/powerpc/dl-procinfo.c: Likewise.
46579 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
46580 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
46581 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
46582 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46583 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46584 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
46585 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46586 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
46587 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46588 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
46589 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46590 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
46591 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46592 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46593 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46598 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46599 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
46600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46601 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46602 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
46603 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46609 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46610 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46611 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46612 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
46613 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46614 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
46615 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46616 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
46617 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
46618 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
46619 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
46620 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
46621 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
46622 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46623 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
46624 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
46625 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46626 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
46627 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
46628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46630 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46631 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46632 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
46633 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
46634 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46635 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
46637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
46638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
46639 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
46640 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
46641 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46642 * sysdeps/powerpc/sysdep.h: Likewise.
46643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46644 * sysdeps/s390/s390-64/sub_n.S: Likewise.
46645 * sysdeps/sh/dl-trampoline.S: Likewise.
46646 * sysdeps/sh/memset.S: Likewise.
46647 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
46648 * sysdeps/sh/strlen.S: Likewise.
46649 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
46650 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
46651 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
46652 * sysdeps/sparc/sparc32/rem.S: Likewise.
46653 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
46654 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
46655 * sysdeps/sparc/sparc32/strchr.S: Likewise.
46656 * sysdeps/sparc/sparc32/udiv.S: Likewise.
46657 * sysdeps/sparc/sparc32/urem.S: Likewise.
46658 * sysdeps/sparc/sparc64/add_n.S: Likewise.
46659 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46660 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
46661 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
46662 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
46663 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
46664 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
46665 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
46666 * sysdeps/unix/bsd/times.c: Likewise.
46667 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
46668 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
46669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
46670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
46671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
46672 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
46673 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46674 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
46675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
46676 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
46677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
46678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46679 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
46680 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46681 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46682 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
46683 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46684 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
46685 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
46686 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
46687 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
46688 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
46689 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46690 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
46691 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
46692 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
46693 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
46694 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46695 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
46696 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
46697 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
46698 * sysdeps/x86_64/strcspn.S: Likewise.
46699
46700 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46701
46702 * locale/C-translit.h: Revert #include <stdint.h> because this is a
46703 generated file. Regenerate properly from gen-translit.pl.
46704 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
46705 locale/C-translit.h.
46706
46707 2013-06-05 Andreas Schwab <schwab@suse.de>
46708
46709 [BZ #15100]
46710 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
46711 week as 6 instead of -1.
46712 * time/tst-strptime.c (day_tests): Add test case.
46713
46714 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46715
46716 * sysdeps/generic/math_private.h
46717 (libc_feholdexcept_setround_53bit): Replace with
46718 libc_feholdsetround_53bit.
46719 (libc_feupdateenv_53bit): Replace with
46720 libc_feresetround_53bit.
46721 (SET_RESTORE_ROUND_53BIT): Adjust.
46722
46723 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
46724
46725 * string/test-strchrnul.c: Add copyright header.
46726
46727 * posix/tst-getaddrinfo4.c: Increase test timeout.
46728
46729 2013-06-03 Carlos O'Donell <carlos@redhat.com>
46730
46731 [BZ #15536]
46732 * math/libm-test.inc (MAX_EXP): Remove
46733 (MIN_EXP): Define.
46734 (ulp): Use MIN_EXP - MANT_DIG.
46735 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
46736
46737 2013-05-31 Carlos O'Donell <carlos@redhat.com>
46738
46739 * po/be.po: Revert last change.
46740 * po/zh_CN.po: Likewise.
46741 * po/header.pot: Likewise.
46742
46743 2013-05-31 Joseph Myers <joseph@codesourcery.com>
46744
46745 * Makefile ($(common-objpfx)linkobj/libc.so): Define
46746 link-libc-deps to empty as target-specific variable.
46747 * Makerules (link-libc-args): New variable.
46748 (libc-for-link): Likewise.
46749 (link-libc-deps): Likewise.
46750 (lib%.so): Depend on $(link-libc-deps). Link with
46751 $(link-libc-args).
46752 (build-module): Link with $(link-libc-args).
46753 (build-module-asneeded): Likewise.
46754 (build-module-helper-objlist): Filter out $(link-libc-deps) from
46755 list of objects.
46756 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
46757 target-specific variable.
46758 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
46759 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
46760 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
46761 libc.
46762 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
46763 libc and ld.so.
46764 ($(objpfx)libpcprofile.so): Likewise.
46765 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
46766 libc_nonshared.a.
46767 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
46768 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
46769 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
46770 $(link-libc-deps).
46771 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
46772 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
46773 * login/Makefile ($(objpfx)libutil.so): Likewise.
46774 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
46775 * math/Makefile ($(objpfx)libm.so): Likewise.
46776 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
46777 $(objpfx)libnsl.so): Define libc-for-link as target-specific
46778 variable instead of depending directly on libc.
46779 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
46780 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
46781 $(link-libc-deps).
46782 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
46783 libc.
46784 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
46785 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
46786 ($(objpfx)libanl.so): Likewise.
46787 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
46788 ld.so.
46789 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
46790 $(link-libc-deps).
46791 * sysdeps/i386/fpu/Makefile: Remove file.
46792 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
46793 ($(objpfx)libm.so): Remove dependency on ld.so.
46794
46795 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
46796
46797 [BZ # 15553]
46798 * nis/yp_xdr.c (XDRMAXNAME): Define.
46799 (XDRMAXRECORD): Define.
46800 (xdr_domainname): Use XDRMAXNAME.
46801 (xdr_mapname): Likewise.
46802 (xdr_peername): Likewise.
46803 (xdr_keydat): Use XDRMAXRECORD.
46804 (xdr_valdat): Likewise.
46805
46806 2013-05-30 Jeff Law <law@redhat.com>
46807
46808 [BZ #14256]
46809 * manual/errno.texi (ESTALE): Update to account for more than
46810 just NFS file systems.
46811 * sysdeps/gnu/errlist.c: Regenerated.
46812
46813 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46814
46815 [BZ #15465]
46816 * elf/Makefile (tests): Add tst-null-argv.
46817 (modules-names): Add tst-null-argv-lib.
46818 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
46819 (tst-null-argv-ENV): Set environment for tst-null-argv.
46820 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
46821 (RTLD_PROGNAME): New macro.
46822 * elf/tst-null-argv.c: New test case.
46823 * elf/tst-null-argv-lib.c: Library for test case.
46824 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
46825 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
46826 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
46827 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
46828 * elf/dl-init.c (call_init): Likewise.
46829 (_dl_init): Likewise.
46830 * elf/dl-load.c (print_search_path): Likewise.
46831 (_dl_map_object): Likewise.
46832 * elf/dl-lookup.c (do_lookup_x): Likewise.
46833 (add_dependency): Likewise.
46834 (_dl_lookup_symbol_x): Likewise.
46835 (_dl_debug_bindings): Likewise.
46836 * elf/dl-open.c (_dl_show_scope): Likewise.
46837 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46838 * elf/dl-version.c (match_symbol): Likewise.
46839 (_dl_check_map_versions): Likewise.
46840 * elf/rtld.c (dl_main): Likewise.
46841 (print_unresolved): Use RTLD_PROGNAME.
46842 (print_missing_version): Likewise.
46843 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46844 (elf_machine_rela): Likewise.
46845 * sysdeps/powerpc/powerpc32/dl-machine.c
46846 (__process_machine_rela): Likewise.
46847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46848 Likewise.
46849 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46850 Likewise.
46851 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46852 Likewise.
46853 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46855 Likewise.
46856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46857 Likewise.
46858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46859
46860 2013-05-28 Carlos O'Donell <carlos@redhat.com>
46861
46862 * po/be.po: Add descriptive title.
46863 * po/zh_CN.po: Likewise.
46864 * po/header.pot: Likewise.
46865
46866 2013-05-28 Mike Frysinger <vapier@gentoo.org>
46867
46868 * locale/programs/locarchive.c (create_archive): Inlucde fname in
46869 error message.
46870 (enlarge_archive): Likewise.
46871
46872 2013-05-28 Ben North <ben@redfrontdoor.org>
46873
46874 * manual/arith.texi (frexp): It is the magnitude of the return
46875 value which lies in [0.5, 1), not the return value itself.
46876
46877 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46878
46879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46880
46881 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
46882
46883 * stdio-common/bug26.c (main): Correct fscanf template.
46884
46885 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46886 declare _dl_skip_args.
46887
46888 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46889 Don't declare.
46890
46891 * manual/platform.texi: Add missing @end deftypefun.
46892
46893 2013-05-24 Joseph Myers <joseph@codesourcery.com>
46894
46895 [BZ #15529]
46896 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46897 bit of mantissa of 2^16382.
46898 * math/libm-test.inc (hypot_test_data): Add more tests.
46899
46900 * math/libm-test.inc: Add drem and pow10 to list of tested
46901 functions.
46902 (pow10_test): New function.
46903 (drem_test): Likewise.
46904 (drem_test_tonearest): Likewise.
46905 (drem_test_towardzero): Likewise.
46906 (drem_test_downward): Likewise.
46907 (drem_test_upward): Likewise.
46908 (main): Call the new functions.
46909
46910 * math/libm-test.inc (finite_test_data): Remove.
46911 (finite_test): Run tests from isfinite_test_data.
46912 (gamma_test_data): Remove.
46913 (gamma_test): Run tests from lgamma_test_data.
46914 * sysdeps/i386/fpu/libm-test-ulps: Update.
46915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46916
46917 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46918
46919 * manual/platform.texi: Add PowerPC PPR function set documentation.
46920 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46921 implementation.
46922
46923 2013-05-24 Carlos O'Donell <carlos@redhat.com>
46924
46925 * math/libm-test.inc (MAX_EXP): Define.
46926 (ULPDIFF): Define.
46927 (ulp): New function.
46928 (check_float_internal): Use ULPDIFF.
46929 (cpow_test): Disable failing test.
46930 (check_ulp): Test ulp() implemetnation.
46931 (main): Call check_ulp before starting tests.
46932
46933 2013-05-24 Joseph Myers <joseph@codesourcery.com>
46934
46935 * math/gen-libm-test.pl (generate_testfile): Do not handle
46936 START_DATA and END_DATA.
46937 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46938 END_DATA.
46939 (acos_tonearest_test_data): Likewise.
46940 (acos_towardzero_test_data): Likewise.
46941 (acos_downward_test_data): Likewise.
46942 (acos_upward_test_data): Likewise.
46943 (acosh_test_data): Likewise.
46944 (asin_test_data): Likewise.
46945 (asin_tonearest_test_data): Likewise.
46946 (asin_towardzero_test_data): Likewise.
46947 (asin_downward_test_data): Likewise.
46948 (asin_upward_test_data): Likewise.
46949 (asinh_test_data): Likewise.
46950 (atan_test_data): Likewise.
46951 (atanh_test_data): Likewise.
46952 (atan2_test_data): Likewise.
46953 (cabs_test_data): Likewise.
46954 (cacos_test_data): Likewise.
46955 (cacosh_test_data): Likewise.
46956 (carg_test_data): Likewise.
46957 (casin_test_data): Likewise.
46958 (casinh_test_data): Likewise.
46959 (catan_test_data): Likewise.
46960 (catanh_test_data): Likewise.
46961 (cbrt_test_data): Likewise.
46962 (ccos_test_data): Likewise.
46963 (ccosh_test_data): Likewise.
46964 (ceil_test_data): Likewise.
46965 (cexp_test_data): Likewise.
46966 (cimag_test_data): Likewise.
46967 (clog_test_data): Likewise.
46968 (clog10_test_data): Likewise.
46969 (conj_test_data): Likewise.
46970 (copysign_test_data): Likewise.
46971 (cos_test_data): Likewise.
46972 (cos_tonearest_test_data): Likewise.
46973 (cos_towardzero_test_data): Likewise.
46974 (cos_downward_test_data): Likewise.
46975 (cos_upward_test_data): Likewise.
46976 (cosh_test_data): Likewise.
46977 (cosh_tonearest_test_data): Likewise.
46978 (cosh_towardzero_test_data): Likewise.
46979 (cosh_downward_test_data): Likewise.
46980 (cosh_upward_test_data): Likewise.
46981 (cpow_test_data): Likewise.
46982 (cproj_test_data): Likewise.
46983 (creal_test_data): Likewise.
46984 (csin_test_data): Likewise.
46985 (csinh_test_data): Likewise.
46986 (csqrt_test_data): Likewise.
46987 (ctan_test_data): Likewise.
46988 (ctan_tonearest_test_data): Likewise.
46989 (ctan_towardzero_test_data): Likewise.
46990 (ctan_downward_test_data): Likewise.
46991 (ctan_upward_test_data): Likewise.
46992 (ctanh_test_data): Likewise.
46993 (ctanh_tonearest_test_data): Likewise.
46994 (ctanh_towardzero_test_data): Likewise.
46995 (ctanh_downward_test_data): Likewise.
46996 (ctanh_upward_test_data): Likewise.
46997 (erf_test_data): Likewise.
46998 (erfc_test_data): Likewise.
46999 (exp_test_data): Likewise.
47000 (exp_tonearest_test_data): Likewise.
47001 (exp_towardzero_test_data): Likewise.
47002 (exp_downward_test_data): Likewise.
47003 (exp_upward_test_data): Likewise.
47004 (exp10_test_data): Likewise.
47005 (exp2_test_data): Likewise.
47006 (expm1_test_data): Likewise.
47007 (fabs_test_data): Likewise.
47008 (fdim_test_data): Likewise.
47009 (finite_test_data): Likewise.
47010 (floor_test_data): Likewise.
47011 (fma_test_data): Likewise.
47012 (fma_towardzero_test_data): Likewise.
47013 (fma_downward_test_data): Likewise.
47014 (fma_upward_test_data): Likewise.
47015 (fmax_test_data): Likewise.
47016 (fmin_test_data): Likewise.
47017 (fmod_test_data): Likewise.
47018 (fpclassify_test_data): Likewise.
47019 (frexp_test_data): Likewise.
47020 (gamma_test_data): Likewise.
47021 (hypot_test_data): Likewise.
47022 (ilogb_test_data): Likewise.
47023 (isfinite_test_data): Likewise.
47024 (isgreater_test_data): Likewise.
47025 (isgreaterequal_test_data): Likewise.
47026 (isinf_test_data): Likewise.
47027 (isless_test_data): Likewise.
47028 (islessequal_test_data): Likewise.
47029 (islessgreater_test_data): Likewise.
47030 (isnan_test_data): Likewise.
47031 (isnormal_test_data): Likewise.
47032 (issignaling_test_data): Likewise.
47033 (isunordered_test_data): Likewise.
47034 (j0_test_data): Likewise.
47035 (j1_test_data): Likewise.
47036 (jn_test_data): Likewise.
47037 (ldexp_test_data): Likewise.
47038 (lgamma_test_data): Likewise.
47039 (lrint_test_data): Likewise.
47040 (lrint_tonearest_test_data): Likewise.
47041 (lrint_towardzero_test_data): Likewise.
47042 (lrint_downward_test_data): Likewise.
47043 (lrint_upward_test_data): Likewise.
47044 (llrint_test_data): Likewise.
47045 (llrint_tonearest_test_data): Likewise.
47046 (llrint_towardzero_test_data): Likewise.
47047 (llrint_downward_test_data): Likewise.
47048 (llrint_upward_test_data): Likewise.
47049 (log_test_data): Likewise.
47050 (log10_test_data): Likewise.
47051 (log1p_test_data): Likewise.
47052 (log2_test_data): Likewise.
47053 (logb_test_data): Likewise.
47054 (logb_downward_test_data): Likewise.
47055 (lround_test_data): Likewise.
47056 (llround_test_data): Likewise.
47057 (modf_test_data): Likewise.
47058 (nearbyint_test_data): Likewise.
47059 (nextafter_test_data): Likewise.
47060 (nexttoward_test_data): Likewise.
47061 (pow_test_data): Likewise.
47062 (pow_tonearest_test_data): Likewise.
47063 (pow_towardzero_test_data): Likewise.
47064 (pow_downward_test_data): Likewise.
47065 (pow_upward_test_data): Likewise.
47066 (remainder_test_data): Likewise.
47067 (remainder_tonearest_test_data): Likewise.
47068 (remainder_towardzero_test_data): Likewise.
47069 (remainder_downward_test_data): Likewise.
47070 (remainder_upward_test_data): Likewise.
47071 (remquo_test_data): Likewise.
47072 (rint_test_data): Likewise.
47073 (rint_tonearest_test_data): Likewise.
47074 (rint_towardzero_test_data): Likewise.
47075 (rint_downward_test_data): Likewise.
47076 (rint_upward_test_data): Likewise.
47077 (round_test_data): Likewise.
47078 (scalb_test_data): Likewise.
47079 (scalbn_test_data): Likewise.
47080 (scalbln_test_data): Likewise.
47081 (signbit_test_data): Likewise.
47082 (sin_test_data): Likewise.
47083 (sin_tonearest_test_data): Likewise.
47084 (sin_towardzero_test_data): Likewise.
47085 (sin_downward_test_data): Likewise.
47086 (sin_upward_test_data): Likewise.
47087 (sincos_test_data): Likewise.
47088 (sinh_test_data): Likewise.
47089 (sinh_tonearest_test_data): Likewise.
47090 (sinh_towardzero_test_data): Likewise.
47091 (sinh_downward_test_data): Likewise.
47092 (sinh_upward_test_data): Likewise.
47093 (sqrt_test_data): Likewise.
47094 (tan_test_data): Likewise.
47095 (tan_tonearest_test_data): Likewise.
47096 (tan_towardzero_test_data): Likewise.
47097 (tan_downward_test_data): Likewise.
47098 (tan_upward_test_data): Likewise.
47099 (tanh_test_data): Likewise.
47100 (tgamma_test_data): Likewise.
47101 (trunc_test_data): Likewise.
47102 (y0_test_data): Likewise.
47103 (y1_test_data): Likewise.
47104 (yn_test_data): Likewise.
47105 (significand_test_data): Likewise.
47106
47107 * math/gen-libm-test.pl (@functions): Remove variable.
47108 (generate_testfile): Don't handle START and END lines.
47109 * math/libm-test.inc (START): New macro.
47110 (END): Likewise.
47111 (END_COMPLEX): Likewise.
47112 (acos_test): Use END macro without arguments.
47113 (acos_test_tonearest): Likewise.
47114 (acos_test_towardzero): Likewise.
47115 (acos_test_downward): Likewise.
47116 (acos_test_upward): Likewise.
47117 (acosh_test): Likewise.
47118 (asin_test): Likewise.
47119 (asin_test_tonearest): Likewise.
47120 (asin_test_towardzero): Likewise.
47121 (asin_test_downward): Likewise.
47122 (asin_test_upward): Likewise.
47123 (asinh_test): Likewise.
47124 (atan_test): Likewise.
47125 (atanh_test): Likewise.
47126 (atan2_test): Likewise.
47127 (cabs_test): Likewise.
47128 (cacos_test): Use END_COMPLEX macro without arguments.
47129 (cacosh_test): Likewise.
47130 (carg_test): Use END macro without arguments.
47131 (casin_test): Use END_COMPLEX macro without arguments.
47132 (casinh_test): Likewise.
47133 (catan_test): Likewise.
47134 (catanh_test): Likewise.
47135 (cbrt_test): Use END macro without arguments.
47136 (ccos_test): Use END_COMPLEX macro without arguments.
47137 (ccosh_test): Likewise.
47138 (ceil_test): Use END macro without arguments.
47139 (cexp_test): Use END_COMPLEX macro without arguments.
47140 (cimag_test): Use END macro without arguments.
47141 (clog_test): Use END_COMPLEX macro without arguments.
47142 (clog10_test): Likewise.
47143 (conj_test): Likewise.
47144 (copysign_test): Use END macro without arguments.
47145 (cos_test): Likewise.
47146 (cos_test_tonearest): Likewise.
47147 (cos_test_towardzero): Likewise.
47148 (cos_test_downward): Likewise.
47149 (cos_test_upward): Likewise.
47150 (cosh_test): Likewise.
47151 (cosh_test_tonearest): Likewise.
47152 (cosh_test_towardzero): Likewise.
47153 (cosh_test_downward): Likewise.
47154 (cosh_test_upward): Likewise.
47155 (cpow_test): Use END_COMPLEX macro without arguments.
47156 (cproj_test): Likewise.
47157 (creal_test): Use END macro without arguments.
47158 (csin_test): Use END_COMPLEX macro without arguments.
47159 (csinh_test): Likewise.
47160 (csqrt_test): Likewise.
47161 (ctan_test): Likewise.
47162 (ctan_test_tonearest): Likewise.
47163 (ctan_test_towardzero): Likewise.
47164 (ctan_test_downward): Likewise.
47165 (ctan_test_upward): Likewise.
47166 (ctanh_test): Likewise.
47167 (ctanh_test_tonearest): Likewise.
47168 (ctanh_test_towardzero): Likewise.
47169 (ctanh_test_downward): Likewise.
47170 (ctanh_test_upward): Likewise.
47171 (erf_test): Use END macro without arguments.
47172 (erfc_test): Likewise.
47173 (exp_test): Likewise.
47174 (exp_test_tonearest): Likewise.
47175 (exp_test_towardzero): Likewise.
47176 (exp_test_downward): Likewise.
47177 (exp_test_upward): Likewise.
47178 (exp10_test): Likewise.
47179 (exp2_test): Likewise.
47180 (expm1_test): Likewise.
47181 (fabs_test): Likewise.
47182 (fdim_test): Likewise.
47183 (finite_test): Likewise.
47184 (floor_test): Likewise.
47185 (fma_test): Likewise.
47186 (fma_test_towardzero): Likewise.
47187 (fma_test_downward): Likewise.
47188 (fma_test_upward): Likewise.
47189 (fmax_test): Likewise.
47190 (fmin_test): Likewise.
47191 (fmod_test): Likewise.
47192 (fpclassify_test): Likewise.
47193 (frexp_test): Likewise.
47194 (gamma_test): Likewise.
47195 (hypot_test): Likewise.
47196 (ilogb_test): Likewise.
47197 (isfinite_test): Likewise.
47198 (isgreater_test): Likewise.
47199 (isgreaterequal_test): Likewise.
47200 (isinf_test): Likewise.
47201 (isless_test): Likewise.
47202 (islessequal_test): Likewise.
47203 (islessgreater_test): Likewise.
47204 (isnan_test): Likewise.
47205 (isnormal_test): Likewise.
47206 (issignaling_test): Likewise.
47207 (isunordered_test): Likewise.
47208 (j0_test): Likewise.
47209 (j1_test): Likewise.
47210 (jn_test): Likewise.
47211 (ldexp_test): Likewise.
47212 (lgamma_test): Likewise.
47213 (lrint_test): Likewise.
47214 (lrint_test_tonearest): Likewise.
47215 (lrint_test_towardzero): Likewise.
47216 (lrint_test_downward): Likewise.
47217 (lrint_test_upward): Likewise.
47218 (llrint_test): Likewise.
47219 (llrint_test_tonearest): Likewise.
47220 (llrint_test_towardzero): Likewise.
47221 (llrint_test_downward): Likewise.
47222 (llrint_test_upward): Likewise.
47223 (log_test): Likewise.
47224 (log10_test): Likewise.
47225 (log1p_test): Likewise.
47226 (log2_test): Likewise.
47227 (logb_test): Likewise.
47228 (logb_test_downward): Likewise.
47229 (lround_test): Likewise.
47230 (llround_test): Likewise.
47231 (modf_test): Likewise.
47232 (nearbyint_test): Likewise.
47233 (nextafter_test): Likewise.
47234 (nexttoward_test): Likewise.
47235 (pow_test): Likewise.
47236 (pow_test_tonearest): Likewise.
47237 (pow_test_towardzero): Likewise.
47238 (pow_test_downward): Likewise.
47239 (pow_test_upward): Likewise.
47240 (remainder_test): Likewise.
47241 (remainder_test_tonearest): Likewise.
47242 (remainder_test_towardzero): Likewise.
47243 (remainder_test_downward): Likewise.
47244 (remainder_test_upward): Likewise.
47245 (remquo_test): Likewise.
47246 (rint_test): Likewise.
47247 (rint_test_tonearest): Likewise.
47248 (rint_test_towardzero): Likewise.
47249 (rint_test_downward): Likewise.
47250 (rint_test_upward): Likewise.
47251 (round_test): Likewise.
47252 (scalb_test): Likewise.
47253 (scalbn_test): Likewise.
47254 (scalbln_test): Likewise.
47255 (signbit_test): Likewise.
47256 (sin_test): Likewise.
47257 (sin_test_tonearest): Likewise.
47258 (sin_test_towardzero): Likewise.
47259 (sin_test_downward): Likewise.
47260 (sin_test_upward): Likewise.
47261 (sincos_test): Likewise.
47262 (sinh_test): Likewise.
47263 (sinh_test_tonearest): Likewise.
47264 (sinh_test_towardzero): Likewise.
47265 (sinh_test_downward): Likewise.
47266 (sinh_test_upward): Likewise.
47267 (sqrt_test): Likewise.
47268 (tan_test): Likewise.
47269 (tan_test_tonearest): Likewise.
47270 (tan_test_towardzero): Likewise.
47271 (tan_test_downward): Likewise.
47272 (tan_test_upward): Likewise.
47273 (tanh_test): Likewise.
47274 (tgamma_test): Likewise.
47275 (trunc_test): Likewise.
47276 (y0_test): Likewise.
47277 (y1_test): Likewise.
47278 (yn_test): Likewise.
47279 (significand_test): Likewise.
47280
47281 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
47282
47283 [BZ #15381]
47284 * libio/genops.c (_IO_no_init): Initialize wide struct info.
47285
47286 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
47287
47288 [BZ #14894]
47289 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47290 __ppc_mdoio and __ppc_mdoom.
47291 * manual/platform.texi: Document new functions __ppc_yield,
47292 __ppc_mdoio and __ppc_mdoom.
47293
47294 2013-05-22 Carlos O'Donell <carlos@redhat.com>
47295
47296 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47297 (main): Mention "tls" pseudo-hwcap is legacy.
47298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47299
47300 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47301
47302 * math/gen-libm-test.pl (parse_args): Output only string of
47303 arguments as text for test name, not full call or descriptions of
47304 tests for extra outputs.
47305 (generate_testfile): Do not pass function name to parse_args.
47306 Generate this_func variable from START.
47307 * math/libm-test.inc (struct test_f_f_data): Rename test_name
47308 field to arg_str.
47309 (struct test_ff_f_data): Likewise.
47310 (test_ff_f_data_nexttoward): Likewise.
47311 (struct test_fi_f_data): Likewise.
47312 (struct test_fl_f_data): Likewise.
47313 (struct test_if_f_data): Likewise.
47314 (struct test_fff_f_data): Likewise.
47315 (struct test_c_f_data): Likewise.
47316 (struct test_f_f1_data): Likewise. Remove field extra_name.
47317 (struct test_fF_f1_data): Likewise.
47318 (struct test_ffI_f1_data): Likewise.
47319 (struct test_c_c_data): Rename test_name field to arg_str.
47320 (struct test_cc_c_data): Likewise.
47321 (struct test_f_i_data): Likewise.
47322 (struct test_ff_i_data): Likewise.
47323 (struct test_f_l_data): Likewise.
47324 (struct test_f_L_data): Likewise.
47325 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
47326 and extra2_name.
47327 (COMMON_TEST_SETUP): New macro.
47328 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47329 (COMMON_TEST_CLEANUP): Likewise.
47330 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47331 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
47332 macros.
47333 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47334 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
47335 macros.
47336 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47337 (RUN_TEST_fff_f): Take argument string. Call new setup and
47338 cleanup macros.
47339 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47340 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
47341 macros.
47342 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47343 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
47344 macros.
47345 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47346 (RUN_TEST_fF_f1): Take argument string. Call new setup and
47347 cleanup macros.
47348 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47349 (RUN_TEST_fI_f1): Take argument string. Call new setup and
47350 cleanup macros.
47351 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47352 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
47353 cleanup macros.
47354 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47355 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
47356 macros.
47357 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
47358 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
47359 macros.
47360 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
47361 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
47362 macros.
47363 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
47364 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
47365 cleanup macros.
47366 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
47367 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
47368 cleanup macros.
47369 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
47370 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
47371 macros.
47372 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
47373 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
47374 cleanup macros.
47375 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
47376 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
47377 macros.
47378 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
47379 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
47380 macros.
47381 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
47382 (RUN_TEST_fFF_11): Take argument string. Call new setup and
47383 cleanup macros.
47384 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
47385
47386 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
47387
47388 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
47389 to _sifields.sigfault.
47390 (si_addr_lsb): Define new macro.
47391 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
47394
47395 2013-05-03 Carlos O'Donell <carlos at redhat.com>
47396
47397 [BZ #15441]
47398 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
47399 returns -1.
47400 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
47401 null return -1.
47402 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
47403 loading the domain.
47404
47405 2013-05-22 Joseph Myers <joseph@codesourcery.com>
47406
47407 * math/gen-libm-test.pl (parse_args): Do not include expected
47408 result in test name.
47409 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
47410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47411 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47412 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47413 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47415
47416 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47417
47418 * benchtests/Makefile: Sort function entries.
47419
47420 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
47421 tanh, asinh, acosh, atanh.
47422 * benchtests/acos-inputs: New file.
47423 * benchtests/acosh-inputs: New file.
47424 * benchtests/asin-inputs: New file.
47425 * benchtests/asinh-inputs: New file.
47426 * benchtests/atanh-inputs: New file.
47427 * benchtests/cosh-inputs: New file.
47428 * benchtests/log-inputs: New file.
47429 * benchtests/sinh-inputs: New file.
47430 * benchtests/tanh-inputs: New file.
47431
47432 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
47433
47434 [BZ #15339]
47435 * posix/tst-getaddrinfo4.c: New test.
47436 * posix/Makefile (tests): Add it.
47437
47438 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47439
47440 [BZ #15339]
47441 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
47442 when no services were used.
47443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
47444 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
47445
47446 2013-05-21 Andreas Schwab <schwab@suse.de>
47447
47448 [BZ #15014]
47449 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
47450 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
47451 successful.
47452 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
47453 redundant variable declarations and reallocation of buffer when
47454 parsing as IPv6 address. Always set NSS status when called from
47455 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
47456 buffer too small. Correct computation of needed size.
47457 * nss/Makefile (tests): Add test-digits-dots.
47458 * nss/test-digits-dots.c: New test.
47459
47460 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
47461
47462 * benchtests/Makefile: Remove instructions for adding
47463 benchmark tests.
47464 * benchtests/README: New file to explain how to execute and
47465 enhance the benchmark tests.
47466
47467 2013-05-21 Andreas Schwab <schwab@suse.de>
47468
47469 [BZ #15493]
47470 * setjmp/Makefile (tests): Add tst-sigsetjmp.
47471 * setjmp/tst-sigsetjmp.c: New test.
47472
47473 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47474
47475 * sysdeps/x86_64/memset.S (memset): New implementation.
47476 (__bzero): Likewise.
47477 (__memset_tail): New function.
47478
47479 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
47480
47481 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
47482 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
47483 __memcpy_sse2_unaligned ifunc selection.
47484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47485 Add memcpy-sse2-unaligned.S.
47486 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47487 Add: __memcpy_sse2_unaligned.
47488
47489 2013-05-19 Joseph Myers <joseph@codesourcery.com>
47490
47491 [BZ #15490]
47492 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47493 math_force_eval before restoring floating-point envrionment.
47494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
47495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
47496 Likewise.
47497 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
47498 <math_private.h>.
47499 (__nearbyintl): Use math_force_eval before restoring
47500 floating-point environment.
47501 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
47502
47503 * math/gen-libm-test.pl (special_functions): Remove.
47504 (parse_args): Don't handle TEST_extra. Handle functions with no
47505 return value.
47506 * math/libm-test.inc (struct test_sincos_data): Replace with
47507 struct test_fFF_11_data.
47508 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
47509 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
47510 (sincos_test_data): Change element type to struct
47511 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
47512 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
47513 RUN_TEST_LOOP_sincos.
47514 * math/README.libm-test: Don't mention special handling of
47515 individual functions.
47516 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
47517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47519 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47520 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47522
47523 * math/gen-libm-test.pl (get_variable): Remove function.
47524 (parse_args): Don't show pointer parameters to call in test
47525 names. Use "extra output N" in test names for extra outputs
47526 rather than naming variables.
47527
47528 2013-05-18 Joseph Myers <joseph@codesourcery.com>
47529
47530 [BZ #15488]
47531 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
47532 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
47533 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
47534 double tests.
47535 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
47536 disable.
47537 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
47538 check_long_double.
47539
47540 * math/gen-libm-test.pl (@tests): Remove variable.
47541 ($count): Likewise.
47542 (new_test): Remove function.
47543 (show_exceptions): New function.
47544 (special_functions): Use show_exceptions instead of new_test.
47545 (parse_args): Likewise.
47546 (generate_testfile): Pass only function name in generated call to
47547 print_max_error or print_complex_max_error.
47548 (get_ulps): Do not handle complex tests specially.
47549 (output_test): Rename to ...
47550 (get_all_ulps_for_test): ... this. Return a string rather than
47551 printing to a file. Require ulps to be present.
47552 (output_ulps): Generate arrays rather than #defines.
47553 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
47554 (struct ulp_data): New type.
47555 (BUILD_COMPLEX_ULP): Remove macro.
47556 (compare_ulp_data): New function.
47557 (find_ulps): Likewise.
47558 (find_test_ulps): Likewise.
47559 (find_function_ulps): Likewise.
47560 (find_complex_function_ulps): Likewise.
47561 (print_max_error): Determine allowed ulps using
47562 find_function_ulps.
47563 (print_complex_max_error): Determine allowed ulps using
47564 find_complex_function_ulps.
47565 (check_float_internal): Determine max ulps using find_test_ulps.
47566 (check_float): Do not take max_ulp parameter. Update call to
47567 check_float_internal.
47568 (check_complex): Likewise.
47569 (check_int): Do not take max_ulp parameter.
47570 (check_long): Likewise.
47571 (check_bool): Likewise.
47572 (check_longlong): Likewise.
47573 (struct test_f_f_data): Remove max_ulp field.
47574 (struct test_ff_f_data): Likewise.
47575 (struct test_ff_f_data_nexttoward): Likewise.
47576 (struct test_fi_f_data): Likewise.
47577 (struct test_fl_f_data): Likewise.
47578 (struct test_if_f_data): Likewise.
47579 (struct test_fff_f_data): Likewise.
47580 (struct test_c_f_data): Likewise.
47581 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
47582 (struct test_fF_f1_data): Likewise.
47583 (struct test_ffI_f1_data): Likewise.
47584 (struct test_c_c_data): Remove max_ulp field.
47585 (struct test_cc_c_data): Likewise.
47586 (struct test_f_i_data): Likewise.
47587 (struct test_ff_i_data): Likewise.
47588 (struct test_f_l_data): Likewise.
47589 (struct test_f_L_data): Likewise.
47590 (struct test_sincos_data): Likewise.
47591 (RUN_TEST_f_f): Do not handle ulps.
47592 (RUN_TEST_LOOP_f_f): Likewise.
47593 (RUN_TEST_2_f): Likewise.
47594 (RUN_TEST_LOOP_2_f): Likewise.
47595 (RUN_TEST_fff_f): Likewise.
47596 (RUN_TEST_LOOP_fff_f): Likewise.
47597 (RUN_TEST_c_f): Likewise.
47598 (RUN_TEST_LOOP_c_f): Likewise.
47599 (RUN_TEST_f_f1): Likewise.
47600 (RUN_TEST_LOOP_f_f1): Likewise.
47601 (RUN_TEST_fF_f1): Likewise.
47602 (RUN_TEST_LOOP_fF_f1): Likewise.
47603 (RUN_TEST_fI_f1): Likewise.
47604 (RUN_TEST_LOOP_fI_f1): Likewise.
47605 (RUN_TEST_ffI_f1): Likewise.
47606 (RUN_TEST_LOOP_ffI_f1): Likewise.
47607 (RUN_TEST_c_c): Likewise.
47608 (RUN_TEST_LOOP_c_c): Likewise.
47609 (RUN_TEST_cc_c): Likewise.
47610 (RUN_TEST_LOOP_cc_c): Likewise.
47611 (RUN_TEST_f_i): Likewise.
47612 (RUN_TEST_LOOP_f_i): Likewise.
47613 (RUN_TEST_f_i_tg): Likewise.
47614 (RUN_TEST_LOOP_f_i_tg): Likewise.
47615 (RUN_TEST_ff_i_tg): Likewise.
47616 (RUN_TEST_LOOP_ff_i_tg): Likewise.
47617 (RUN_TEST_f_b): Likewise.
47618 (RUN_TEST_LOOP_f_b): Likewise.
47619 (RUN_TEST_f_b_tg): Likewise.
47620 (RUN_TEST_LOOP_f_b_tg): Likewise.
47621 (RUN_TEST_f_l): Likewise.
47622 (RUN_TEST_LOOP_f_l): Likewise.
47623 (RUN_TEST_f_L): Likewise.
47624 (RUN_TEST_LOOP_f_L): Likewise.
47625 (RUN_TEST_sincos): Likewise.
47626 (RUN_TEST_LOOP_sincos): Likewise.
47627
47628 2013-05-17 Joseph Myers <joseph@codesourcery.com>
47629
47630 [BZ #15480]
47631 [BZ #15485]
47632 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
47633 main case of finite arguments, set rounding mode to FE_TONEAREST
47634 and discard exceptions.
47635 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
47636 exceptions.
47637 (remainder_tonearest_test_data): New variable.
47638 (remainder_test_tonearest): New function.
47639 (remainder_towardzero_test_data): New variable.
47640 (remainder_test_towardzero): New function.
47641 (remainder_downward_test_data): New variable.
47642 (remainder_test_downward): New function.
47643 (remainder_upward_test_data): New variable.
47644 (remainder_test_upward): New function.
47645 (main): Call the new test functions.
47646
47647 * math/libm-test.inc (struct test_f_f1_data): Remove field
47648 extra_init.
47649 (struct test_fF_f1_data): Likewise.
47650 (struct test_ffI_f1_data): Likewise.
47651 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
47652 based on value of EXTRA_EXPECTED.
47653 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
47654 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
47655 EXTRA_VAR based on value of EXTRA_EXPECTED.
47656 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
47657 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
47658 EXTRA_VAR based on value of EXTRA_EXPECTED.
47659 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
47660 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
47661 EXTRA_VAR based on value of EXTRA_EXPECTED.
47662 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
47663 * math/gen-libm-test.pl (parse_args): Don't output initializers
47664 for extra output values.
47665
47666 * math/libm-test.inc (check_int): Expect result to be exactly
47667 equal to expected value and do not handle ulps.
47668 (check_long): Likewise.
47669 (check_longlong): Likewise.
47670
47671 * math/libm-test.inc (ceil_test_data): Test for "inexact"
47672 exceptions.
47673 (cimag_test_data): Likewise.
47674 (conj_test_data): Likewise.
47675 (copysign_test_data): Likewise.
47676 (cproj_test_data): Likewise.
47677 (creal_test_data): Likewise.
47678 (fabs_test_data): Likewise.
47679 (fdim_test_data): Likewise.
47680 (finite_test_data): Likewise.
47681 (floor_test_data): Likewise.
47682 (fmax_test_data): Likewise.
47683 (fmin_test_data): Likewise.
47684 (fmod_test_data): Likewise.
47685 (fpclassify_test_data): Likewise.
47686 (frexp_test_data): Likewise.
47687 (ilogb_test_data): Likewise.
47688 (isfinite_test_data): Likewise.
47689 (isgreater_test_data): Likewise.
47690 (isgreaterequal_test_data): Likewise.
47691 (isinf_test_data): Likewise.
47692 (isless_test_data): Likewise.
47693 (islessequal_test_data): Likewise.
47694 (islessgreater_test_data): Likewise.
47695 (isnan_test_data): Likewise.
47696 (isnormal_test_data): Likewise.
47697 (issignaling_test_data): Likewise.
47698 (isunordered_test_data): Likewise.
47699 (ldexp_test_data): Likewise.
47700 (lrint_test_data): Likewise.
47701 (lrint_test_data) [TEST_FLOAT]: Disable one test.
47702 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
47703 (lrint_tonearest_test_data): Test for "inexact" exceptions.
47704 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47705 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
47706 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47707 test input.
47708 (lrint_towardzero_test_data): Test for "inexact" exceptions.
47709 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47710 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
47711 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
47712 that test input.
47713 (lrint_downward_test_data): Test for "inexact" exceptions.
47714 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47715 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
47716 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
47717 test input.
47718 (lrint_upward_test_data): Test for "inexact" exceptions.
47719 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
47720 test input.
47721 (llrint_test_data): Test for "inexact" exceptions.
47722 (llrint_test_data) [TEST_FLOAT]: Disable one test.
47723 (llrint_tonearest_test_data): Test for "inexact" exceptions.
47724 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
47725 (llrint_towardzero_test_data): Test for "inexact" exceptions.
47726 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
47727 (llrint_downward_test_data): Test for "inexact" exceptions.
47728 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
47729 (llrint_upward_test_data): Test for "inexact" exceptions.
47730 (logb_test_data): Likewise.
47731 (logb_downward_test_data): Likewise.
47732 (nextafter_test_data): Likewise.
47733 (nexttoward_test_data): Likewise.
47734 (remainder_test_data): Likewise.
47735 (remquo_test_data): Likewise.
47736 (scalbn_test_data): Likewise.
47737 (scalbln_test_data): Likewise.
47738 (signbit_test_data): Likewise.
47739 (sqrt_test_data): Likewise.
47740 (significand_test_data): Likewise.
47741
47742 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
47743
47744 [BZ #15424]
47745 * benchtests/bench-modf.c (struct args): Mark arg0 as
47746 volatile.
47747 * scripts/bench.pl: Mark members of struct args as volatile.
47748
47749 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47750
47751 [BZ # 15497]
47752 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
47753 negative infinity on POWER6 or lower.
47754 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
47755
47756 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
47757
47758 [BZ #15442]
47759 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
47760 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
47761 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
47762 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
47763 (_FP_SETQNAN): New macro.
47764 (_FP_SETQNAN_SEMIRAW): Likewise.
47765 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
47766 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
47767 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
47768 (FP_EXTEND): Use _FP_FRAC_SNANP.
47769 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
47770 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
47771 into account.
47772 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47773 New macro.
47774 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
47775 Likewise.
47776
47777 2013-05-16 Joseph Myers <joseph@codesourcery.com>
47778
47779 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
47780 with DIVIDE_BY_ZERO_EXCEPTION.
47781 (gamma_test_data): Likewise.
47782 (lgamma_test_data): Likewise.
47783 (log_test_data): Likewise.
47784 (log10_test_data): Likewise.
47785 (log2_test_data): Likewise.
47786 (tgamma_test_data): Likewise.
47787
47788 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
47789 (acos_test_tonearest): Likewise.
47790 (acos_test_towardzero): Likewise.
47791 (acos_test_downward): Likewise.
47792 (acos_test_upward): Likewise.
47793 (acosh_test): Likewise.
47794 (asin_test): Likewise.
47795 (asin_test_tonearest): Likewise.
47796 (asin_test_towardzero): Likewise.
47797 (asin_test_downward): Likewise.
47798 (asin_test_upward): Likewise.
47799 (asinh_test): Likewise.
47800 (atan_test): Likewise.
47801 (atanh_test): Likewise.
47802 (atan2_test): Likewise.
47803 (cabs_test): Likewise.
47804 (cacos_test): Likewise.
47805 (cacosh_test): Likewise.
47806 (casin_test): Likewise.
47807 (casinh_test): Likewise.
47808 (catan_test): Likewise.
47809 (catanh_test): Likewise.
47810 (cbrt_test): Likewise.
47811 (ccos_test): Likewise.
47812 (ccosh_test): Likewise.
47813 (cexp_test): Likewise.
47814 (clog_test): Likewise.
47815 (clog10_test): Likewise.
47816 (cos_test): Likewise.
47817 (cos_test_tonearest): Likewise.
47818 (cos_test_towardzero): Likewise.
47819 (cos_test_downward): Likewise.
47820 (cos_test_upward): Likewise.
47821 (cosh_test): Likewise.
47822 (cosh_test_tonearest): Likewise.
47823 (cosh_test_towardzero): Likewise.
47824 (cosh_test_downward): Likewise.
47825 (cosh_test_upward): Likewise.
47826 (cpow_test): Likewise.
47827 (csin_test): Likewise.
47828 (csinh_test): Likewise.
47829 (csqrt_test): Likewise.
47830 (ctan_test): Likewise.
47831 (ctan_test_tonearest): Likewise.
47832 (ctan_test_towardzero): Likewise.
47833 (ctan_test_downward): Likewise.
47834 (ctan_test_upward): Likewise.
47835 (ctanh_test): Likewise.
47836 (ctanh_test_tonearest): Likewise.
47837 (ctanh_test_towardzero): Likewise.
47838 (ctanh_test_downward): Likewise.
47839 (ctanh_test_upward): Likewise.
47840 (erf_test): Likewise.
47841 (erfc_test): Likewise.
47842 (exp_test): Likewise.
47843 (exp_test_tonearest): Likewise.
47844 (exp_test_towardzero): Likewise.
47845 (exp_test_downward): Likewise.
47846 (exp_test_upward): Likewise.
47847 (exp10_test): Likewise.
47848 (exp2_test): Likewise.
47849 (expm1_test): Likewise.
47850 (fmod_test): Likewise.
47851 (gamma_test): Likewise.
47852 (hypot_test): Likewise.
47853 (j0_test): Likewise.
47854 (j1_test): Likewise.
47855 (jn_test): Likewise.
47856 (lgamma_test): Likewise.
47857 (log_test): Likewise.
47858 (log10_test): Likewise.
47859 (log1p_test): Likewise.
47860 (log2_test): Likewise.
47861 (logb_test_downward): Likewise.
47862 (pow_test): Likewise.
47863 (pow_test_tonearest): Likewise.
47864 (pow_test_towardzero): Likewise.
47865 (pow_test_downward): Likewise.
47866 (pow_test_upward): Likewise.
47867 (remainder_test): Likewise.
47868 (remquo_test): Likewise.
47869 (sin_test): Likewise.
47870 (sin_test_tonearest): Likewise.
47871 (sin_test_towardzero): Likewise.
47872 (sin_test_downward): Likewise.
47873 (sin_test_upward): Likewise.
47874 (sincos_test): Likewise.
47875 (sinh_test): Likewise.
47876 (sinh_test_tonearest): Likewise.
47877 (sinh_test_towardzero): Likewise.
47878 (sinh_test_downward): Likewise.
47879 (sinh_test_upward): Likewise.
47880 (sqrt_test): Likewise.
47881 (tan_test): Likewise.
47882 (tan_test_tonearest): Likewise.
47883 (tan_test_towardzero): Likewise.
47884 (tan_test_downward): Likewise.
47885 (tan_test_upward): Likewise.
47886 (tanh_test): Likewise.
47887 (tgamma_test): Likewise.
47888 (y0_test): Likewise.
47889 (y1_test): Likewise.
47890 (yn_test): Likewise.
47891
47892 * math/gen-libm-test.pl (adjust_arg): Remove function.
47893 (special_function): Remove argument $in_func. Only handle
47894 generating output for tables of tests, not inside functions.
47895 (parse_args): Likewise.
47896 (generate_testfile): Remove variable $in_func. Update call to
47897 parse_args.
47898 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47899 (MINUS_ZERO_INIT): Rename macro to minus_zero.
47900 (PLUS_INFTY_INIT): Rename macro to plus_infty.
47901 (MINUS_INFTY_INIT): Rename macro to minus_infty.
47902 (QNAN_VALUE_INIT): Rename macro to qnan_value.
47903 (MAX_VALUE_INIT): Rename macro to max_value.
47904 (MIN_VALUE_INIT): Rename macro to min_value.
47905 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47906 (plus_zero): Remove variable.
47907 (minus_zero): Likewise.
47908 (plus_infty): Likewise.
47909 (minus_infty): Likewise.
47910 (qnan_value): Likewise.
47911 (max_value): Likewise.
47912 (min_value): Likewise.
47913 (min_subnorm_value): Likewise.
47914
47915 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47916
47917 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47918 uint64_t or uint32_t usage.
47919 * crypt/sha256-block.c: Likewise.
47920 * crypt/sha256-crypt.c: Likewise.
47921 * crypt/sha256.c: Likewise.
47922 * crypt/sha512-block.c: Likewise.
47923 * crypt/sha512-crypt.c: Likewise.
47924 * crypt/sha512.c: Likewise.
47925 * debug/backtrace-tst.c: Likewise.
47926 * debug/pcprofiledump.c: Likewise.
47927 * elf/cache.c: Likewise.
47928 * elf/dl-cache.c: Likewise.
47929 * elf/dl-misc.c: Likewise.
47930 * elf/dl-profile.c: Likewise.
47931 * elf/dl-support.c: Likewise.
47932 * elf/ldconfig.c: Likewise.
47933 * elf/sprof.c: Likewise.
47934 * iconv/dummy-repertoire.c: Likewise.
47935 * iconv/iconv_charmap.c: Likewise.
47936 * iconv/skeleton.c: Likewise.
47937 * iconvdata/8bit-generic.c: Likewise.
47938 * iconvdata/cp737.h: Likewise.
47939 * iconvdata/cp775.h: Likewise.
47940 * iconvdata/ibm1008.h: Likewise.
47941 * iconvdata/ibm1025.h: Likewise.
47942 * iconvdata/ibm1046.h: Likewise.
47943 * iconvdata/ibm1097.h: Likewise.
47944 * iconvdata/ibm1112.h: Likewise.
47945 * iconvdata/ibm1122.h: Likewise.
47946 * iconvdata/ibm1123.h: Likewise.
47947 * iconvdata/ibm1124.h: Likewise.
47948 * iconvdata/ibm1129.h: Likewise.
47949 * iconvdata/ibm1130.h: Likewise.
47950 * iconvdata/ibm1132.h: Likewise.
47951 * iconvdata/ibm1133.h: Likewise.
47952 * iconvdata/ibm1137.h: Likewise.
47953 * iconvdata/ibm1140.h: Likewise.
47954 * iconvdata/ibm1141.h: Likewise.
47955 * iconvdata/ibm1142.h: Likewise.
47956 * iconvdata/ibm1143.h: Likewise.
47957 * iconvdata/ibm1144.h: Likewise.
47958 * iconvdata/ibm1145.h: Likewise.
47959 * iconvdata/ibm1146.h: Likewise.
47960 * iconvdata/ibm1147.h: Likewise.
47961 * iconvdata/ibm1148.h: Likewise.
47962 * iconvdata/ibm1149.h: Likewise.
47963 * iconvdata/ibm1153.h: Likewise.
47964 * iconvdata/ibm1154.h: Likewise.
47965 * iconvdata/ibm1155.h: Likewise.
47966 * iconvdata/ibm1156.h: Likewise.
47967 * iconvdata/ibm1157.h: Likewise.
47968 * iconvdata/ibm1158.h: Likewise.
47969 * iconvdata/ibm1160.h: Likewise.
47970 * iconvdata/ibm1161.h: Likewise.
47971 * iconvdata/ibm1162.h: Likewise.
47972 * iconvdata/ibm1163.h: Likewise.
47973 * iconvdata/ibm1164.h: Likewise.
47974 * iconvdata/ibm1166.h: Likewise.
47975 * iconvdata/ibm1167.h: Likewise.
47976 * iconvdata/ibm12712.h: Likewise.
47977 * iconvdata/ibm1390.h: Likewise.
47978 * iconvdata/ibm1399.h: Likewise.
47979 * iconvdata/ibm16804.h: Likewise.
47980 * iconvdata/ibm4517.h: Likewise.
47981 * iconvdata/ibm4899.h: Likewise.
47982 * iconvdata/ibm4909.h: Likewise.
47983 * iconvdata/ibm4971.h: Likewise.
47984 * iconvdata/ibm5347.h: Likewise.
47985 * iconvdata/ibm803.h: Likewise.
47986 * iconvdata/ibm856.h: Likewise.
47987 * iconvdata/ibm901.h: Likewise.
47988 * iconvdata/ibm902.h: Likewise.
47989 * iconvdata/ibm9030.h: Likewise.
47990 * iconvdata/ibm9066.h: Likewise.
47991 * iconvdata/ibm921.h: Likewise.
47992 * iconvdata/ibm922.h: Likewise.
47993 * iconvdata/ibm9448.h: Likewise.
47994 * iconvdata/isiri-3342.h: Likewise.
47995 * iconvdata/jis0201.h: Likewise.
47996 * include/link.h: Likewise.
47997 * include/netdb.h: Likewise.
47998 * inet/check_native.c: Likewise.
47999 * inet/check_pf.c: Likewise.
48000 * inet/getipv4sourcefilter.c: Likewise.
48001 * inet/getnameinfo.c: Likewise.
48002 * inet/getsourcefilter.c: Likewise.
48003 * inet/htonl.c: Likewise.
48004 * inet/setipv4sourcefilter.c: Likewise.
48005 * inet/setsourcefilter.c: Likewise.
48006 * inet/test-inet6_opt.c: Likewise.
48007 * inet/tst-network.c: Likewise.
48008 * locale/C-collate.c: Likewise.
48009 * locale/C-ctype.c: Likewise.
48010 * locale/C-time.c: Likewise.
48011 * locale/C-translit.h: Likewise.
48012 * locale/loadarchive.c: Likewise.
48013 * locale/programs/3level.h: Likewise.
48014 * locale/programs/charmap.c: Likewise.
48015 * locale/programs/charmap.h: Likewise.
48016 * locale/programs/ld-address.c: Likewise.
48017 * locale/programs/ld-collate.c: Likewise.
48018 * locale/programs/ld-ctype.c: Likewise.
48019 * locale/programs/ld-identification.c: Likewise.
48020 * locale/programs/ld-measurement.c: Likewise.
48021 * locale/programs/ld-messages.c: Likewise.
48022 * locale/programs/ld-monetary.c: Likewise.
48023 * locale/programs/ld-name.c: Likewise.
48024 * locale/programs/ld-numeric.c: Likewise.
48025 * locale/programs/ld-paper.c: Likewise.
48026 * locale/programs/ld-telephone.c: Likewise.
48027 * locale/programs/ld-time.c: Likewise.
48028 * locale/programs/linereader.c: Likewise.
48029 * locale/programs/locale.c: Likewise.
48030 * locale/programs/locarchive.c: Likewise.
48031 * locale/programs/locfile.h: Likewise.
48032 * locale/programs/repertoire.c: Likewise.
48033 * locale/programs/simple-hash.c: Likewise.
48034 * locale/programs/simple-hash.h: Likewise.
48035 * malloc/memusage.c: Likewise.
48036 * malloc/memusagestat.c: Likewise.
48037 * nis/nis_defaults.c: Likewise.
48038 * nis/nis_hash.c: Likewise.
48039 * nis/nis_print.c: Likewise.
48040 * nis/nis_xdr.c: Likewise.
48041 * nscd/connections.c: Likewise.
48042 * nscd/hstcache.c: Likewise.
48043 * nscd/nscd_gethst_r.c: Likewise.
48044 * nscd/nscd_getserv_r.c: Likewise.
48045 * nscd/nscd_helper.c: Likewise.
48046 * nscd/servicescache.c: Likewise.
48047 * nss/makedb.c: Likewise.
48048 * nss/nss_db/db-XXX.c: Likewise.
48049 * nss/nss_db/db-initgroups.c: Likewise.
48050 * nss/nss_db/db-netgrp.c: Likewise.
48051 * nss/nss_files/files-network.c: Likewise.
48052 * nss/nss_files/files-parse.c: Likewise.
48053 * posix/bug-regex5.c: Likewise.
48054 * posix/fnmatch_loop.c: Likewise.
48055 * posix/regcomp.c: Likewise.
48056 * posix/regexec.c: Likewise.
48057 * posix/tst-rfc3484-2.c: Likewise.
48058 * posix/tst-rfc3484-3.c: Likewise.
48059 * posix/tst-rfc3484.c: Likewise.
48060 * resolv/nss_dns/dns-canon.c: Likewise.
48061 * resolv/nss_dns/dns-network.c: Likewise.
48062 * resolv/res_init.c: Likewise.
48063 * resolv/res_mkquery.c: Likewise.
48064 * resolv/tst-aton.c: Likewise.
48065 * stdlib/cxa_atexit.c: Likewise.
48066 * stdlib/cxa_finalize.c: Likewise.
48067 * stdlib/gen-fpioconst.c: Likewise.
48068 * stdlib/strtol_l.c: Likewise.
48069 * string/tst-endian.c: Likewise.
48070 * sunrpc/auth_des.c: Likewise.
48071 * sunrpc/clnt_udp.c: Likewise.
48072 * sunrpc/rtime.c: Likewise.
48073 * sunrpc/svcauth_des.c: Likewise.
48074 * sunrpc/xdr.c: Likewise.
48075 * sunrpc/xdr_intXX_t.c: Likewise.
48076 * sunrpc/xdr_rec.c: Likewise.
48077 * sysdeps/generic/ldconfig.h: Likewise.
48078 * sysdeps/generic/ldsodefs.h: Likewise.
48079 * sysdeps/generic/memusage.h: Likewise.
48080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48090 * sysdeps/posix/getaddrinfo.c: Likewise.
48091 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48092 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48093 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48094 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48095 * sysdeps/powerpc/test-gettimebase.c: Likewise.
48096 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48097 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48098 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48099 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48100 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48101 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48102 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48103 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48104 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48105 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48106 * sysdeps/x86_64/dl-tls.h: Likewise.
48107 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48108 * time/alt_digit.c: Likewise.
48109 * time/era.c: Likewise.
48110 * wcsmbs/tst-c16c32-1.c: Likewise.
48111
48112 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48113
48114 * math/libm-test.inc (struct test_sincos_data): New type.
48115 (RUN_TEST_LOOP_sincos): New macro.
48116 (sincos_test_data): New variable.
48117 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48118
48119 2013-05-16 Richard Henderson <rth@redhat.com>
48120
48121 * math/atest-exp2.c (LIMB64): New macro.
48122 (CONSTSZ): New macro.
48123 (mp_exp1, mp_exp_m1, mp_log2): New variables.
48124 (hexdig): Move ...
48125 (print_mpn_fp): ... to function scope.
48126 (read_mpn_hex): Remove.
48127 (get_log2): Remove.
48128 (exp2_mpn): Use mp_log2.
48129 (main): Use mp_exp1.
48130
48131 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48132
48133 * math/libm-test.inc: Remove comment about not testing "inexact"
48134 exceptions.
48135 (INEXACT_EXCEPTION): New macro.
48136 (NO_INEXACT_EXCEPTION): Likewise.
48137 (INVALID_EXCEPTION_OK): Update value.
48138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48139 (OVERFLOW_EXCEPTION_OK): Likewise.
48140 (UNDERFLOW_EXCEPTION_OK): Likewise.
48141 (IGNORE_ZERO_INF_SIGN): Likewise.
48142 (ERRNO_UNCHANGED): Likewise.
48143 (ERRNO_EDOM): Likewise.
48144 (ERRNO_ERANGE): Likewise.
48145 (test_exceptions): Handle testing "inexact" exceptions.
48146 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48147 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48148 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48149 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48150 INEXACT_EXCEPTION.
48151 (rint_towardzero_test_data): Likewise.
48152 (rint_downward_test_data): Likewise.
48153 (rint_upward_test_data): Likewise.
48154
48155 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48156 with OVERFLOW_EXCEPTION.
48157 (exp10_test_data): Likewise.
48158 (exp2_test_data): Likewise.
48159 (expm1_test_data): Likewise.
48160 (lgamma_test_data): Likewise.
48161 (pow_test_data): Likewise.
48162 (tgamma_test_data): Likewise.
48163 (yn_test_data): Remove duplicate test of overflow.
48164
48165 * math/libm-test.inc (struct test_cc_c_data): New type.
48166 (RUN_TEST_LOOP_cc_c): New macro.
48167 (cpow_test_data): New variable.
48168 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48169
48170 * math/libm-test.inc (struct test_f_L_data): New type.
48171 (RUN_TEST_LOOP_f_L): New macro.
48172 (llrint_test_data): New variable.
48173 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48174 (llrint_tonearest_test_data): New variable.
48175 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48176 (llrint_towardzero_test_data): New variable.
48177 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48178 (llrint_downward_test_data): New variable.
48179 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48180 (llrint_upward_test_data): New variable.
48181 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48182 (llround_test_data): New variable.
48183 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48184
48185 2013-05-13 Peter Collingbourne <pcc@google.com>
48186
48187 * math/atest-exp2.c (get_log2): Remove const attribute.
48188
48189 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48190
48191 * math/libm-test.inc (struct test_f_l_data): New type.
48192 (RUN_TEST_LOOP_f_l): New macro.
48193 (lrint_test_data): New variable.
48194 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48195 (lrint_tonearest_test_data): New variable.
48196 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48197 (lrint_towardzero_test_data): New variable.
48198 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48199 (lrint_downward_test_data): New variable.
48200 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48201 (lrint_upward_test_data): New variable.
48202 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48203 (lround_test_data): New variable.
48204 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48205
48206 2013-05-15 Peter Collingbourne <pcc@google.com>
48207
48208 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48209 (EXTRACT_WORDS64) Use where appropriate.
48210 (INSERT_WORDS64) Likewise.
48211
48212 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48213 constraints with x constraints.
48214 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48215
48216 * malloc/obstack.c (_obstack_compat): Add initializer.
48217
48218 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
48219
48220 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48221 si_trapno and add si_addr_lsb to _sifields.sigfault.
48222 (si_trapno): Remove macro.
48223 (si_addr_lsb): Define new macro.
48224 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48225
48226 2013-05-15 Joseph Myers <joseph@codesourcery.com>
48227
48228 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48229 instead of TEST_f_l.
48230 (llrint_test_tonearest): Likewise.
48231 (llrint_test_towardzero): Likewise.
48232 (llrint_test_downward): Likewise.
48233 (llrint_test_upward): Likewise.
48234 (llround_test): Likewise.
48235
48236 * math/libm-test.inc (struct test_f_i_data): Add comment.
48237 (RUN_TEST_LOOP_f_b): New macro.
48238 (RUN_TEST_LOOP_f_b_tg): Likewise.
48239 (finite_test_data): New variable.
48240 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48241 (isfinite_test_data): New variable.
48242 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48243 (isinf_test_data): New variable.
48244 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48245 (isnan_test_data): New variable.
48246 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48247 (isnormal_test_data): New variable.
48248 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48249 (issignaling_test_data): New variable.
48250 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48251 (signbit_test_data): New variable.
48252 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48253
48254 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48255 with INVALID_EXCEPTION.
48256 (acosh_test_data): Likewise.
48257 (asin_test_data): Likewise.
48258 (atanh_test_data): Likewise.
48259 (fmod_test_data): Likewise.
48260 (log_test_data): Likewise.
48261 (log10_test_data): Likewise.
48262 (log2_test_data): Likewise.
48263 (pow_test_data): Likewise.
48264 (sqrt_test_data): Likewise.
48265 (y0_test_data): Likewise.
48266 (y1_test_data): Likewise.
48267 (yn_test_data): Likewise.
48268
48269 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48270 function contents.
48271
48272 * math/libm-test.inc (struct test_ff_i_data): New type.
48273 (RUN_TEST_LOOP_ff_i_tg): New macro.
48274 (isgreater_test_data): New variable.
48275 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48276 (isgreaterequal_test_data): New variable.
48277 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48278 (isless_test_data): New variable.
48279 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48280 (islessequal_test_data): New variable.
48281 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48282 (islessgreater_test_data): New variable.
48283 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48284 (isunordered_test_data): New variable.
48285 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48286
48287 2013-05-14 David S. Miller <davem@davemloft.net>
48288
48289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48290
48291 2013-05-14 Joseph Myers <joseph@codesourcery.com>
48292
48293 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48294
48295 * math/libm-test.inc (struct test_fF_f1_data): Change type of
48296 extra_test to int.
48297 (struct test_f_i_data): Change type of max_ulp to int.
48298
48299 * math/libm-test.inc (test_ffI_f1_data): New type.
48300 (RUN_TEST_LOOP_ffI_f1): New macro.
48301 (remquo_test_data): New variable.
48302 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48303
48304 * setjmp/tst-setjmp-fp.c: New file.
48305 * setjmp/Makefile (tests): Add tst-setjmp-fp.
48306 (link-libm): New variable.
48307 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48308
48309 * math/libm-test.inc (struct test_f_i_data): New type.
48310 (RUN_TEST_LOOP_f_i): New macro.
48311 (RUN_TEST_LOOP_f_i_tg): Likewise.
48312 (fpclassify_test_data): New variable.
48313 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48314 (ilogb_test_data): New variable.
48315 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48316
48317 * math/libm-test.inc (scalbln_test): Correct function name in END
48318 call.
48319
48320 * math/libm-test.inc (struct test_f_f1_data): Add comment.
48321 (RUN_TEST_LOOP_fI_f1): New macro.
48322 (frexp_test_data): New variable.
48323 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48324
48325 * math/libm-test.inc (struct test_fF_f1_data): New type.
48326 (RUN_TEST_LOOP_fF_f1): New macro.
48327 (modf_test_data): New variable.
48328 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48329
48330 * math/libm-test.inc (struct test_f_f1_data): New type.
48331 (RUN_TEST_LOOP_f_f1): New macro.
48332 (gamma_test_data): New variable.
48333 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48334 (lgamma_test_data): New variable.
48335 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48336
48337 2013-05-13 Carlos O'Donell <carlos@redhat.com>
48338
48339 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48340 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48341 (main): Comment "tls" pseudo-hwcap.
48342
48343 2013-05-13 Joseph Myers <joseph@codesourcery.com>
48344
48345 * math/libm-test.inc (struct test_fl_f_data): New type.
48346 (RUN_TEST_LOOP_fl_f): New variable.
48347 (scalbln_test_data): New variable.
48348 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
48349
48350 * math/libm-test.inc (struct test_fi_f_data): New type.
48351 (RUN_TEST_LOOP_fi_f): New macro.
48352 (ldexp_test_data): New variable.
48353 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
48354 (scalbn_test_data): New variable.
48355 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
48356
48357 * math/libm-test.inc (struct test_c_f_data): New type.
48358 (RUN_TEST_LOOP_c_f): New macro.
48359 (cabs_test_data): New variable.
48360 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
48361 (carg_test_data): New variable.
48362 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
48363 (cimag_test_data): New variable.
48364 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
48365 (creal_test_data): New variable.
48366 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
48367
48368 * math/libm-test.inc (struct test_if_f_data): New type.
48369 (RUN_TEST_LOOP_if_f): New macro.
48370 (jn_test_data): New variable.
48371 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
48372 (yn_test_data): New variable.
48373 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48374
48375 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
48376
48377 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48378
48379 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
48380 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
48381
48382 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48383
48384 * benchtests/Makefile (CPPFLAGS-nonlib): Add
48385 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
48386 (bench-deps): Add bench-timing.h.
48387 * benchtests-bench-skeleton.c: Include bench-timing.h.
48388 (main): Use TIMING_* macros instead of clock_gettime.
48389 * benchtests/bench-timing.h: New file.
48390
48391 [BZ #14582]
48392 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
48393 Renamed from _LIB_VERSION.
48394 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
48395
48396 2013-05-12 Joseph Myers <joseph@codesourcery.com>
48397
48398 * math/libm-test.inc (struct test_fff_f_data): New type.
48399 (RUN_TEST_LOOP_fff_f): New macro.
48400 (fma_test_data): New variable.
48401 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48402 (fma_towardzero_test_data): New variable.
48403 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
48404 (fma_downward_test_data): New variable.
48405 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
48406 (fma_upward_test_data): New variable.
48407 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
48408
48409 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
48410 (struct test_c_c_data): New type.
48411 (RUN_TEST_LOOP_c_c): New macro.
48412 (cacos_test_data): New variable.
48413 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
48414 (cacosh_test_data): New variable.
48415 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
48416 (casin_test_data): New variable.
48417 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
48418 (casinh_test_data): New variable.
48419 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
48420 (catan_test_data): New variable.
48421 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
48422 (catanh_test_data): New variable.
48423 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
48424 (ccos_test_data): New variable.
48425 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
48426 (ccosh_test_data): New variable.
48427 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
48428 (cexp_test_data): New variable.
48429 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
48430 (clog_test_data): New variable.
48431 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
48432 (clog10_test_data): New variable.
48433 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
48434 (conj_test_data): New variable.
48435 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48436 (cproj_test_data): New variable.
48437 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
48438 (csin_test_data): New variable.
48439 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
48440 (csinh_test_data): New variable.
48441 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
48442 (csqrt_test_data): New variable.
48443 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
48444 (ctan_test_data): New variable.
48445 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
48446 (ctan_tonearest_test_data): New variable.
48447 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48448 (ctan_towardzero_test_data): New variable.
48449 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48450 (ctan_downward_test_data): New variable.
48451 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48452 (ctan_upward_test_data): New variable.
48453 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48454 (ctanh_test_data): New variable.
48455 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
48456 (ctanh_tonearest_test_data): New variable.
48457 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
48458 (ctanh_towardzero_test_data): New variable.
48459 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
48460 (ctanh_downward_test_data): New variable.
48461 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
48462 (ctanh_upward_test_data): New variable.
48463 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
48464 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
48465 of BUILD_COMPLEX.
48466
48467 * math/libm-test.inc (struct test_ff_f_data): New type.
48468 (struct test_ff_f_data_nexttoward): Likewise.
48469 (RUN_TEST_LOOP_2_f): New macro.
48470 (RUN_TEST_LOOP_ff_f): Likewise.
48471 (atan2_test_data): New variable.
48472 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
48473 (copysign_test_data): New variable.
48474 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
48475 (fdim_test_data): New variable.
48476 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
48477 (fmax_test_data): New variable.
48478 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
48479 (fmin_test_data): New variable.
48480 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
48481 (fmod_test_data): New variable.
48482 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
48483 (hypot_test_data): New variable.
48484 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
48485 (nextafter_test_data): New variable.
48486 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
48487 (nexttoward_test_data): New variable.
48488 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
48489 (pow_test_data): New variable.
48490 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
48491 (pow_tonearest_test_data): New variable.
48492 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
48493 (pow_towardzero_test_data): New variable.
48494 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
48495 (pow_downward_test_data): New variable.
48496 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
48497 (pow_upward_test_data): New variable.
48498 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
48499 (remainder_test_data): New variable.
48500 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
48501 (scalb_test_data): New variable.
48502 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
48503 * sysdeps/i386/fpu/libm-test-ulps: Update.
48504
48505 2013-05-11 Joseph Myers <joseph@codesourcery.com>
48506
48507 * math/libm-test.inc (fma_test): Use max_value instead of local
48508 variable fltmax.
48509 (nextafter_test): Likewise.
48510
48511 * math/libm-test.inc (acos_towardzero_test_data): New variable.
48512 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48513 (acos_downward_test_data): New variable.
48514 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48515 (acos_upward_test_data): New variable.
48516 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48517 (acosh_test_data): New variable.
48518 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
48519 (asin_test_data): New variable.
48520 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
48521 (asin_tonearest_test_data): New variable.
48522 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48523 (asin_towardzero_test_data): New variable.
48524 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48525 (asin_downward_test_data): New variable.
48526 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48527 (asin_upward_test_data): New variable.
48528 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48529 (asinh_test_data): New variable.
48530 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
48531 (atan_test_data): New variable.
48532 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
48533 (atanh_test_data): New variable.
48534 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
48535 (cbrt_test_data): New variable.
48536 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
48537 (ceil_test_data): New variable.
48538 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
48539 (cos_test_data): New variable.
48540 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
48541 (cos_tonearest_test_data): New variable.
48542 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48543 (cos_towardzero_test_data): New variable.
48544 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48545 (cos_downward_test_data): New variable.
48546 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48547 (cos_upward_test_data): New variable.
48548 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48549 (cosh_test_data): New variable.
48550 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
48551 (cosh_tonearest_test_data): New variable.
48552 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48553 (cosh_towardzero_test_data): New variable.
48554 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48555 (cosh_downward_test_data): New variable.
48556 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48557 (cosh_upward_test_data): New variable.
48558 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48559 (erf_test_data): New variable.
48560 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
48561 (erfc_test_data): New variable.
48562 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
48563 (exp_test_data): New variable.
48564 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
48565 (exp_tonearest_test_data): New variable.
48566 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48567 (exp_towardzero_test_data): New variable.
48568 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48569 (exp_downward_test_data): New variable.
48570 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48571 (exp_upward_test_data): New variable.
48572 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48573 (exp10_test_data): New variable.
48574 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
48575 (exp2_test_data): New variable.
48576 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
48577 (expm1_test_data): New variable.
48578 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
48579 (fabs_test_data): New variable.
48580 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
48581 (floor_test_data): New variable.
48582 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
48583 (j0_test_data): New variable.
48584 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
48585 (j1_test_data): New variable.
48586 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
48587 (log_test_data): New variable.
48588 (log_test): Run tests with RUN_TEST_LOOP_f_f.
48589 (log10_test_data): New variable.
48590 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
48591 (log1p_test_data): New variable.
48592 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
48593 (log2_test_data): New variable.
48594 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
48595 (logb_test_data): New variable.
48596 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
48597 (logb_downward_test_data): New variable.
48598 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48599 (nearbyint_test_data): New variable.
48600 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
48601 (rint_test_data): New variable.
48602 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
48603 (rint_tonearest_test_data): New variable.
48604 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48605 (rint_towardzero_test_data): New variable.
48606 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48607 (rint_downward_test_data): New variable.
48608 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48609 (rint_upward_test_data): New variable.
48610 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48611 (round_test_data): New variable.
48612 (round_test): Run tests with RUN_TEST_LOOP_f_f.
48613 (sin_test_data): New variable.
48614 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
48615 (sin_tonearest_test_data): New variable.
48616 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48617 (sin_towardzero_test_data): New variable.
48618 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48619 (sin_downward_test_data): New variable.
48620 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48621 (sin_upward_test_data): New variable.
48622 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48623 (sinh_test_data): New variable.
48624 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
48625 (sinh_tonearest_test_data): New variable.
48626 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48627 (sinh_towardzero_test_data): New variable.
48628 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48629 (sinh_downward_test_data): New variable.
48630 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48631 (sinh_upward_test_data): New variable.
48632 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48633 (sqrt_test_data): New variable.
48634 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
48635 (tan_test_data): New variable.
48636 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
48637 (tan_tonearest_test_data): New variable.
48638 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48639 (tan_towardzero_test_data): New variable.
48640 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
48641 (tan_downward_test_data): New variable.
48642 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
48643 (tan_upward_test_data): New variable.
48644 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
48645 (tanh_test_data): New variable.
48646 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
48647 (tgamma_test_data): New variable.
48648 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
48649 (trunc_test_data): New variable.
48650 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
48651 (y0_test_data): New variable.
48652 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
48653 (y1_test_data): New variable.
48654 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
48655 (significand_test_data): New variable.
48656 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
48657
48658 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
48659
48660 [BZ #12387]
48661 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
48662
48663 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
48664
48665 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
48666
48667 2013-05-10 Andreas Jaeger <aj@suse.de>
48668
48669 [BZ #15448]
48670 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
48671 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
48672
48673 2013-05-10 Joseph Myers <joseph@codesourcery.com>
48674
48675 * math/gen-libm-test.pl (adjust_arg): New function.
48676 (special_functions): Handle generating output in both functions
48677 and arrays.
48678 (parse_args): Likewise.
48679 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
48680 $in_func argument to parse_args.
48681 * math/libm-test.inc (struct test_f_f_data): New type.
48682 (IF_ROUND_INIT_): New macro.
48683 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
48684 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48685 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48686 (IF_ROUND_INIT_FE_UPWARD): Likewise.
48687 (ROUND_RESTORE_): Likewise.
48688 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
48689 (ROUND_RESTORE_FE_TONEAREST): Likewise.
48690 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
48691 (ROUND_RESTORE_FE_UPWARD): Likewise.
48692 (RUN_TEST_LOOP_f_f): New macro.
48693 (acos_test_data): New variable.
48694 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
48695 (acos_tonearest_test_data): New variable.
48696 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
48697
48698 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48699
48700 * benchtests/bench-skeleton.c (startup): Fix coding style.
48701
48702 2013-05-10 Joseph Myers <joseph@codesourcery.com>
48703
48704 [BZ #6809]
48705 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
48706 negative infinity argument.
48707 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
48708 negative infinity argument.
48709 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
48710 negative infinity argument.
48711 * math/libm-test.inc (tgamma_test): Expect errno to be set for
48712 domain errors.
48713
48714 2013-05-10 Florian Weimer <fweimer@redhat.com>
48715
48716 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
48717 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
48718 * iconv/iconv_prog.c (main): Likewise.
48719 * locale/programs/charmap-dir.c (charmap_readdir)
48720 (fopen_uncompressed): Likewise.
48721 * locale/programs/locfile.c (siblings_uncached)
48722 (write_locale_data): Use lstat64 instead of lstat.
48723 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
48724 stat.
48725
48726 2013-05-10 Andreas Jaeger <aj@suse.de>
48727
48728 [BZ #15395]
48729 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
48730 localization.
48731 Include <locale.h>.
48732
48733 2013-05-09 Carlos O'Donell <carlos@redhat.com>
48734
48735 * elf/dl-close.c (_dl_close_worker): Add comments.
48736
48737 2013-05-09 Joseph Myers <joseph@codesourcery.com>
48738
48739 [BZ #15359]
48740 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
48741 high part of pi/2.
48742 (__ieee754_rem_pio2l): Update comments.
48743
48744 [BZ #15429]
48745 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
48746 high part of pi/2.
48747 (__ieee754_rem_pio2l): Update comments.
48748
48749 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
48750 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
48751
48752 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
48753 M_PI_4l.
48754
48755 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
48756 (M_PI_34_LOG10El): Likewise.
48757 (M_PI2_LOG10El): Likewise.
48758 (M_PI4_LOG10El): Likewise.
48759 (M_PI_LOG10El): Likewise.
48760
48761 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48762
48763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48764
48765 2013-05-08 Joseph Myers <joseph@codesourcery.com>
48766
48767 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
48768 (MINUS_ZERO_INIT): Likewise.
48769 (PLUS_INFTY_INIT): Likewise.
48770 (MINUS_INFTY_INIT): Likewise.
48771 (QNAN_VALUE_INIT): Likewise.
48772 (MAX_VALUE_INIT): Likewise.
48773 (MIN_VALUE_INIT): Likewise.
48774 (MIN_SUBNORM_VALUE_INIT): Likewise.
48775 (plus_zero): Initialize with PLUS_ZERO_INIT.
48776 (minus_zero): Initialize with MINUS_ZERO_INIT.
48777 (plus_infty): Initialize with PLUS_INFTY_INIT.
48778 (minus_infty): Initialize with MINUS_INFTY_INIT.
48779 (qnan_value): Initialize with QNAN_VALUE_INIT.
48780 (max_value): Initialize with MAX_VALUE_INIT.
48781 (min_value): Initialize with MIN_VALUE_INIT.
48782 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
48783
48784 * math/libm-test.inc (RUN_TEST_if_f): New macro.
48785 (jn_test): Use TEST_if_f instead of TEST_ff_f.
48786 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
48787 (yn_test): Use TEST_if_f instead of TEST_ff_f.
48788
48789 * math/libm-test.inc (RUN_TEST_f_f): New macro.
48790 (RUN_TEST_2_f): Likewise.
48791 (RUN_TEST_ff_f): Likewise.
48792 (RUN_TEST_fi_f): Likewise.
48793 (RUN_TEST_fl_f): Likewise.
48794 (RUN_TEST_fff_f): Likewise.
48795 (RUN_TEST_c_f): Likewise.
48796 (RUN_TEST_f_f1): Likewise.
48797 (RUN_TEST_fF_f1): Likewise.
48798 (RUN_TEST_fI_f1): Likewise.
48799 (RUN_TEST_ffI_f1): Likewise.
48800 (RUN_TEST_c_c): Likewise.
48801 (RUN_TEST_cc_c): Likewise.
48802 (RUN_TEST_f_i): Likewise.
48803 (RUN_TEST_f_i_tg): Likewise.
48804 (RUN_TEST_ff_i_tg): Likewise.
48805 (RUN_TEST_f_b): Likewise.
48806 (RUN_TEST_f_b_tg): Likewise.
48807 (RUN_TEST_f_l): Likewise.
48808 (RUN_TEST_f_L): Likewise.
48809 (RUN_TEST_sincos): Likewise.
48810 * math/gen-libm-test.pl (new_test): Take new argument to indicate
48811 whether to show exceptions. Do not include ");\n" in return
48812 value.
48813 (special_functions): Output call to RUN_TEST_sincos instead of
48814 check_float calls. Update calls to new_test.
48815 (parse_args): Output call to single RUN_TEST_* macro instead of
48816 check_* calls and other assignments. Update calls to new_test.
48817
48818 [BZ #2546]
48819 [BZ #2560]
48820 [BZ #5159]
48821 [BZ #15426]
48822 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
48823 input to result for tgamma overflow.
48824 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
48825 (gamma_coeff): New variable.
48826 (NCOEFF): New macro.
48827 (gamma_positive): New function.
48828 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48829 underflow here. Use gamma_positive instead of exp (lgamma) for
48830 other arguments.
48831 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48832 (gamma_coeff): New variable.
48833 (NCOEFF): New macro.
48834 (gammaf_positive): New function.
48835 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48836 underflow here. Use gamma_positive instead of exp (lgamma) for
48837 other arguments.
48838 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48839 (gamma_coeff): New variable.
48840 (NCOEFF): New macro.
48841 (gammal_positive): New function.
48842 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48843 underflow here. Use gamma_positive instead of exp (lgamma) for
48844 other arguments.
48845 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48846 (gamma_coeff): New variable.
48847 (NCOEFF): New macro.
48848 (gammal_positive): New function.
48849 (__ieee754_gammal_r): Handle positive infinity, overflow and
48850 underflow here. Handle NaN the same as positive infinity. Remove
48851 check x < 0xffffffff for negative integers. Use gamma_positive
48852 instead of exp (lgamma) for other arguments.
48853 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48854 (gamma_coeff): New variable.
48855 (NCOEFF): New macro.
48856 (gammal_positive): New function.
48857 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48858 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48859 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48860 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48861 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48862 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48863 * sysdeps/generic/math_private.h (__gamma_productf): New
48864 prototype.
48865 (__gamma_product): Likewise.
48866 (__gamma_productl): Likewise.
48867 * math/Makefile (libm-calls): Add gamma_product.
48868 * math/libm-test.inc (tgamma_test): Add more tests.
48869 * sysdeps/i386/fpu/libm-test-ulps: Update.
48870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48871
48872 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
48873
48874 * benchtests/bench-skeleton.c (main): Preheat CPU.
48875
48876 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
48877
48878 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48879
48880 2013-05-07 Roland McGrath <roland@hack.frob.com>
48881
48882 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48883 and _dl_skip_args_internal.
48884
48885 2013-05-07 Carlos O'Donell <carlos@redhat.com>
48886
48887 * manual/message.texi (Message Translation): Talk about users.
48888 Message to key mapping impacts design.
48889
48890 2013-05-06 Roland McGrath <roland@hack.frob.com>
48891
48892 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48893
48894 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48895
48896 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48897 * sysdeps/wordsize-64/glob64.c: ... here.
48898
48899 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48900 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48901 New macros.
48902
48903 * debug/getlogin_r_chk.c: Moved to ...
48904 * login/getlogin_r_chk.c: ... here.
48905 * debug/Makefile (routines): Move getlogin_r_chk to ...
48906 * login/Makefile (routines): ... here.
48907 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48908 * login/Versions (libc: GLIBC_2.4): ... here.
48909
48910 * io/poll.c (__poll): Renamed from poll.
48911 Add libc_hidden_def.
48912 (poll): Define as weak alias.
48913
48914 * debug/ptsname_r_chk.c: Moved to ...
48915 * login/ptsname_r_chk.c: ... here.
48916 * debug/Makefile (routines): Move ptsname_r_chk to ...
48917 * login/Makefile (routines): ... here.
48918 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48919 * login/Versions (libc: GLIBC_2.4): ... here.
48920
48921 * posix/getlogin.c: Moved to ...
48922 * login/getlogin.c: ... here.
48923 * posix/getlogin_r.c: Moved to ...
48924 * login/getlogin_r.c: ... here.
48925 * posix/getlogin_r.c: Moved to ...
48926 * login/getlogin_r.c: ... here.
48927 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48928 * login/Makefile (routines): ... here.
48929 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48930 * login/Versions (libc: GLIBC_2.0): ... here.
48931
48932 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48933 (setrlimit): Define as weak alias.
48934
48935 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48936 Call __ names for open, ftruncate, and close.
48937 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48938 (truncate): Define as weak alias.
48939
48940 2013-05-06 Joseph Myers <joseph@codesourcery.com>
48941
48942 * math/gen-libm-test.pl (parse_args): Initialize x before each
48943 test of frexp, modf and remquo.
48944
48945 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48946 test signgam value.
48947
48948 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48949
48950 [BZ #15418]
48951 [BZ #15419]
48952 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48953 internal tests.
48954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48955
48956 2013-05-06 Roland McGrath <roland@hack.frob.com>
48957
48958 * elf/dl-writev.h: New file.
48959 * elf/dl-misc.c: Include it.
48960 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48961 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48962
48963 2013-05-04 Joseph Myers <joseph@codesourcery.com>
48964
48965 * math/libm-test.inc (noXFails): Remove variable.
48966 (noXPasses): Likewise.
48967 (BUILD_COMPLEX_INT): Remove macro.
48968 (print_screen): Remove xfail argument.
48969 (print_screen_max_error): Likewise.
48970 (update_stats): Likewise.
48971 (print_max_error): Likewise. Update calls to other affected
48972 functions.
48973 (print_complex_max_error): Likewise.
48974 (test_single_exception): Update calls to print_screen.
48975 (test_single_errno): Likewise.
48976 (check_float_internal): Remove xfail argument. Update calls to
48977 other affected functions.
48978 (check_float): Likewise.
48979 (check_complex): Likewise.
48980 (check_int): Likewise.
48981 (check_long): Likewise.
48982 (check_bool): Likewise.
48983 (check_longlong): Likewise.
48984 (main): Don't print noXFails and noXPasses.
48985 * math/gen-libm-test.pl (top level): Don't mention expected
48986 failure handling in comment.
48987 (new_test): Don't handle expected failures.
48988 (parse_args): Don't mention expected failure handling in comment.
48989 (generate_testfile): Don't handle expected failures.
48990 (parse_ulps): Likewise.
48991 (print_ulps_file): Likewise.
48992 (get_failure): Remove function.
48993 (output_test): Don't handle expected failures.
48994 * make/README.libm-test: Don't mention expected failure handling.
48995
48996 * math/libm-test.inc (plus_zero): Make const. Add initializer.
48997 (minus_zero): Likewise.
48998 (plus_infty): Likewise.
48999 (minus_infty): Likewise.
49000 (qnan_value): Likewise.
49001 (max_value): Likewise.
49002 (min_value): Likewise.
49003 (min_subnorm_value): Likewise.
49004 (initialize): Do not initialize those variables dynamically.
49005
49006 2013-05-03 Roland McGrath <roland@hack.frob.com>
49007
49008 * io/open.c (__open_2): Moved to ...
49009 * io/open_2.c: ... this new file.
49010 * io/open64.c (__open64_2): Moved to ...
49011 * io/open64_2.c: ... this new file.
49012 * io/openat.c (__openat_2): Moved to ...
49013 * io/openat_2.c: ... this new file.
49014 * io/openat64.c (__openat64_2): Moved to ...
49015 * io/openat64_2.c: ... this new file.
49016 * io/Makefile (routines): Add them.
49017 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49018 * sysdeps/unix/sysv/linux/open_2.c: File removed.
49019 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49020 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49021 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49022 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49023 (__openat64): Add hidden_ver.
49024 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49025 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49026
49027 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49028 Separately conditionalize setting of GLRO(dl_sysinfo) so
49029 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49030 as well, but the actual setting is only under [NEED_DL_SYSINFO].
49031
49032 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49033
49034 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49035 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49036 definition.
49037 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49038 * sysdeps/unix/sysv/linux/powerpc/init-first.c
49039 (_libc_vdso_platform_setup): Add __vdso_time initialization.
49040 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49041 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49042
49043 2013-05-03 Joseph Myers <joseph@codesourcery.com>
49044
49045 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49046 test signgam value.
49047
49048 * math/libm-test.inc (hypot_test): Do not use
49049 IGNORE_ZERO_INF_SIGN.
49050
49051 2013-05-03 Andreas Jaeger <aj@suse.de>
49052
49053 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49054 Linux 3.9.
49055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49056 (PF_MAX): Adjust for VSOCK change.
49057
49058 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49059
49060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49061
49062 2013-05-02 Carlos O'Donell <carlos@redhat.com>
49063
49064 [BZ #15264]
49065 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49066 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49067 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49068
49069 2013-05-02 David S. Miller <davem@davemloft.net>
49070
49071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49072
49073 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
49074
49075 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49076
49077 2013-05-01 Roland McGrath <roland@hack.frob.com>
49078
49079 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49080
49081 2013-05-01 Richard Smith <richard@metafoo.co.uk>
49082
49083 [BZ #14952]
49084 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49085 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49086 Use __attribute__ ((__gnu_inline__)).
49087 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49088 Don't use __attribute__ ((__gnu_inline__)).
49089
49090 2013-05-01 Joseph Myers <joseph@codesourcery.com>
49091
49092 [BZ #15423]
49093 * math/s_catan.c (__catan): Handle small real or imaginary part of
49094 input specially to avoid spurious underflow.
49095 * math/s_catanf.c (__catanf): Likewise.
49096 * math/s_catanh.c (__catanh): Likewise.
49097 * math/s_catanhf.c (__catanhf): Likewise.
49098 * math/s_catanhl.c (__catanhl): Likewise.
49099 * math/s_catanl.c (__catanl): Likewise.
49100 * math/libm-test.inc (catan_test): Add more tests.
49101 (catanh_test): Likewise.
49102 * sysdeps/i386/fpu/libm-test-ulps: Update.
49103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49104
49105 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49106
49107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49108
49109 2013-04-30 Joseph Myers <joseph@codesourcery.com>
49110
49111 [BZ #15416]
49112 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49113 accurately for denominator in atan2.
49114 * math/s_catanf.c (__catanf): Likewise.
49115 * math/s_catanh.c (__catanh): Likewise.
49116 * math/s_catanhf.c (__catanhf): Likewise.
49117 * math/s_catanhl.c (__catanhl): Likewise.
49118 * math/s_catanl.c (__catanl): Likewise.
49119 * math/libm-test.inc (catan_test): Add more tests.
49120 (catanh_test): Likewise.
49121 * sysdeps/i386/fpu/libm-test-ulps: Update.
49122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49123
49124 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49125
49126 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49127
49128 * benchtests/Makefile (bench): Remove slow benchmarks.
49129 * benchtests/atan-inputs: Add slow benchmark inputs.
49130 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49131 (BENCH_FUNC): Accept variant offset.
49132 (VARIANT): Define.
49133 * benchtests/bench-skeleton.c (main): Run benchmark for each
49134 variant.
49135 * benchtests/cos-inputs: Add slow benchmark inputs.
49136 * benchtests/exp-inputs: Likewise.
49137 * benchtests/pow-inputs: Likewise.
49138 * benchtests/sin-inputs: Likewise.
49139 * benchtests/slowatan-inputs: Remove.
49140 * benchtests/slowatan.c: Remove.
49141 * benchtests/slowcos-inputs: Remove.
49142 * benchtests/slowcos.c: Remove.
49143 * benchtests/slowexp-inputs: Remove.
49144 * benchtests/slowexp.c: Remove.
49145 * benchtests/slowpow-inputs: Remove.
49146 * benchtests/slowpow.c: Remove.
49147 * benchtests/slowsin-inputs: Remove.
49148 * benchtests/slowsin.c: Remove.
49149 * benchtests/slowtan-inputs: Remove.
49150 * benchtests/slowtan.c: Remove.
49151 * benchtests/tan-inputs: Add slow benchmark inputs.
49152 * scripts/bench.pl: Parse comments and directives.
49153
49154 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
49155 in CPPFLAGS.
49156 ($(objpfx)bench-%.c): Remove *-ITER.
49157 * benchtests/bench-modf.c: Remove definition of ITER.
49158 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49159 (main): Loop for DURATION seconds instead of fixed number of
49160 iterations.
49161 * scripts/bench.pl: Don't expect iterations in parameters.
49162
49163 2013-04-29 Roland McGrath <roland@hack.frob.com>
49164
49165 * io/fchdir.c (__fchdir): Renamed from fchdir.
49166 (fchdir): Define as weak alias.
49167
49168 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49169
49170 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49171 (ERRNO_EDOM): Likewise.
49172 (ERRNO_ERANGE): Likewise.
49173 (noErrnoTests): New variable.
49174 (init_max_error): Set errno to 0.
49175 (test_single_errno): New function.
49176 (test_errno): Likewise.
49177 (check_float_internal): Call test_errno. Set errno to 0.
49178 (check_complex): Refer to errno tests in comment.
49179 (check_int): Call test_errno. Set errno to 0.
49180 (check_long): Likewise.
49181 (check_bool): Likewise.
49182 (check_longlong): Likewise.
49183 (cos_test): Use ERRNO_* flags for errno tests instead of
49184 check_int.
49185 (expm1_test): Likewise.
49186 (fmod_test): Likewise.
49187 (ilogb_test): Likewise.
49188 (lgamma_test): Likewise.
49189 (pow_test): Likewise.
49190 (remainder_test): Likewise.
49191 (sin_test): Likewise.
49192 (tan_test): Likewise.
49193 (yn_test): Likewise.
49194 (initialize): Set errno to 0.
49195 (main): Print number of errno tests.
49196 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49197
49198 2013-04-29 Andreas Jaeger <aj@suse.de>
49199
49200 [BZ #15084]
49201 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49202 and RES_USEVC.
49203
49204 [BZ #15085]
49205 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49206 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49207 unimplemented.
49208
49209 [BZ #15380]
49210 * stdlib/random.c (__initstate): Return NULL if
49211 __initstate fails.
49212
49213 [BZ #15086]
49214 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49215 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49216 RES_SNGLKUPREOP.
49217
49218 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49219
49220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49221
49222 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49223
49224 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49225 of individual tests.
49226 (casin_test): Likewise.
49227 (casinh_test): Likewise.
49228
49229 2013-04-27 Joseph Myers <joseph@codesourcery.com>
49230
49231 [BZ #15409]
49232 * math/s_catan.c (__catan): Handle arguments with large real or
49233 imaginary part separately without squaring.
49234 * math/s_catanf.c (__catanf): Likewise.
49235 * math/s_catanh.c (__catanh): Likewise.
49236 * math/s_catanhf.c (__catanhf): Likewise.
49237 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49238 and redefine.
49239 (__catanhl): Handle arguments with large real or imaginary part
49240 separately without squaring.
49241 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49242 and redefine.
49243 (__catanl): Handle arguments with large real or imaginary part
49244 separately without squaring.
49245 * math/libm-test.inc (catan_test): Add more tests.
49246 (catanh_test): Likewise.
49247 * sysdeps/i386/fpu/libm-test-ulps: Update.
49248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49249
49250 2013-04-27 Andreas Jaeger <aj@suse.de>
49251
49252 [BZ #15007]
49253 * stdlib/stdlib.h: Update guards for qecvt.
49254 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49255 <stdlib.h>.
49256
49257 2013-04-27 Allan McRae <allan@archlinux.org>
49258
49259 * sysdeps/i386/fpu/libm-test-ulps: Update.
49260
49261 2013-04-26 Joseph Myers <joseph@codesourcery.com>
49262
49263 [BZ #15406]
49264 * math/s_catan.c: Include <float.h>.
49265 (__catan): Ensure underflow exception occurs for underflowed
49266 result.
49267 * math/s_catanf.c: Include <float.h>.
49268 (__catanf): Ensure underflow exception occurs for underflowed
49269 result.
49270 * math/s_catanh.c: Include <float.h>.
49271 (__catanh): Ensure underflow exception occurs for underflowed
49272 result.
49273 * math/s_catanhf.c: Include <float.h>.
49274 (__catanhf): Ensure underflow exception occurs for underflowed
49275 result.
49276 * math/s_catanhl.c: Include <float.h>.
49277 (__catanhl): Ensure underflow exception occurs for underflowed
49278 result.
49279 * math/s_catanl.c: Include <float.h>.
49280 (__catanl): Ensure underflow exception occurs for underflowed
49281 result.
49282 * math/libm-test.inc (catan_test): Add more tests.
49283 (catanh_test): Likewise.
49284
49285 [BZ #15405]
49286 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49287 underflowed result.
49288 * math/s_ccoshf.c (__ccoshf): Likewise.
49289 * math/s_ccoshl.c (__ccoshl): Likewise.
49290 * math/s_csin.c (__csin): Likewise.
49291 * math/s_csinf.c (__csinf): Likewise.
49292 * math/s_csinh.c (__csinh): Likewise.
49293 * math/s_csinhf.c (__csinhf): Likewise.
49294 * math/s_csinhl.c (__csinhl): Likewise.
49295 * math/s_csinl.c (__csinl): Likewise.
49296 * math/libm-test.inc (ccos_test): Add more tests.
49297 (ccosh_test): Likewise.
49298 (csin_test): Likewise.
49299 (csinh_test): Likewise.
49300
49301 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49302
49303 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49304 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49305 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49306 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49307 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49308 powerpc/power5+/fpu folders.
49309 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49310
49311
49312 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
49313
49314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49315
49316 2013-04-25 Joseph Myers <joseph@codesourcery.com>
49317
49318 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49319 additions to variable.
49320 [$(config-machine) = x86_64] (modules-names): Likewise.
49321 ($(objpfx)tst-audit3): Remove dependency.
49322 ($(objpfx)tst-audit3.out): Likewise.
49323 ($(objpfx)tst-audit4): Likewise.
49324 ($(objpfx)tst-audit4.out): Likewise.
49325 ($(objpfx)tst-audit5): Likewise.
49326 ($(objpfx)tst-audit5.out): Likewise.
49327 ($(objpfx)tst-audit6): Likewise.
49328 ($(objpfx)tst-audit6.out): Likewise.
49329 ($(objpfx)tst-audit7): Likewise.
49330 ($(objpfx)tst-audit7.out): Likewise.
49331 (tst-audit3-ENV): Remove variable.
49332 (tst-audit4-ENV): Likewise.
49333 (tst-audit5-ENV): Likewise.
49334 (tst-audit6-ENV): Likewise.
49335 (tst-audit7-ENV): Likewise.
49336 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49337 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49338 addition to variable.
49339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49342 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49343 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49344 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49345 tst-audit3, tst-audit4 and tst-audit5.
49346 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
49347 tst-audit6 and tst-audit7.
49348 [$(subdir) = elf] (modules-names): Add audit modules for those
49349 tests.
49350 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
49351 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
49352 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
49353 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
49354 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
49355 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
49356 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
49357 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
49358 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
49359 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
49360 [$(subdir) = elf] (tst-audit3-ENV): New variable.
49361 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
49362 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
49363 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
49364 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
49365 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
49366 Likewise.
49367 [$(subdir) = elf && $(config-cflags-avx) = yes]
49368 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
49369 [$(subdir) = elf && $(config-cflags-avx) = yes]
49370 (CFLAGS-tst-auditmod4a.c): Likewise.
49371 [$(subdir) = elf && $(config-cflags-avx) = yes]
49372 (CFLAGS-tst-auditmod4b.c): Likewise.
49373 [$(subdir) = elf && $(config-cflags-avx) = yes]
49374 (CFLAGS-tst-auditmod6b.c): Likewise.
49375 [$(subdir) = elf && $(config-cflags-avx) = yes]
49376 (CFLAGS-tst-auditmod6c.c): Likewise.
49377 [$(subdir) = elf && $(config-cflags-avx) = yes]
49378 (CFLAGS-tst-auditmod7b.c): Likewise.
49379 * elf/tst-audit3.c: Move to ...
49380 * sysdeps/x86_64/tst-audit3.c: ... here.
49381 * elf/tst-audit4.c: Move to ...
49382 * sysdeps/x86_64/tst-audit4.c: ... here.
49383 * elf/tst-audit5.c: Move to ...
49384 * sysdeps/x86_64/tst-audit5.c: ... here.
49385 * elf/tst-audit6.c: Move to ...
49386 * sysdeps/x86_64/tst-audit6.c: ... here.
49387 * elf/tst-audit7.c: Move to ...
49388 * sysdeps/x86_64/tst-audit7.c: ... here.
49389 * elf/tst-auditmod3a.c: Move to ...
49390 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
49391 * elf/tst-auditmod3b.c: Move to ...
49392 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
49393 * elf/tst-auditmod4a.c: Move to ...
49394 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
49395 * elf/tst-auditmod4b.c: Move to ...
49396 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
49397 * elf/tst-auditmod5a.c: Move to ...
49398 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
49399 * elf/tst-auditmod5b.c: Move to ...
49400 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
49401 * elf/tst-auditmod6a.c: Move to ...
49402 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
49403 * elf/tst-auditmod6b.c: Move to ...
49404 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
49405 * elf/tst-auditmod6c.c: Move to ...
49406 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
49407 * elf/tst-auditmod7a.c: Move to ...
49408 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
49409 * elf/tst-auditmod7b.c: Move to ...
49410 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
49411
49412 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
49413
49414 [BZ #15366]
49415 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
49416 define unconditionally.
49417 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
49418 define unconditionally.
49419 (INT8_C, INT16_C, etc.): Likewise.
49420
49421 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
49422
49423 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
49424 __ehdr_start with hidden visibility.
49425
49426 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
49427
49428 2013-04-24 Carlos O'Donell <carlos@redhat.com>
49429
49430 * math/libm-test.inc (cos_test): Use accurate hex constants.
49431 (sincost_test): Likewise.
49432
49433 2013-04-24 Joseph Myers <joseph@codesourcery.com>
49434
49435 * math/libm-test.inc (catan_test): Add more tests.
49436 (catanh_test): Likewise.
49437
49438 * math/s_catanf.c (__catanf): Use suffixed floating-point
49439 constants.
49440 * math/s_catanhf.c (__catanhf): Likewise.
49441 * math/s_catanhl.c (__catanhl): Likewise.
49442 * math/s_catanl.c (__catanl): Likewise.
49443
49444 [BZ #15394]
49445 * math/s_catan.c (__catan): Calculate imaginary part of result
49446 with log1p not log unless computing log of number close to 0.
49447 * math/s_catanf.c (__catanf): Likewise.
49448 * math/s_catanl.c (__catanl): Likewise.
49449 * math/s_catanh.c (__catanh): Calculate real part of result with
49450 log1p not log unless computing log of number close to 0.
49451 * math/s_catanhf.c (__catanhf): Likewise.
49452 * math/s_catanhl.c (__catanhl): Likewise.
49453 * math/libm-test.inc (catan_test): Add more tests.
49454 (catanh_test): Likewise.
49455 * sysdeps/i386/fpu/libm-test-ulps: Update.
49456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49457
49458 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49459
49460 * benchtests/Makefile: Mention files in which fast and slow
49461 paths of math functions are implemented.
49462
49463 2013-04-23 Roland McGrath <roland@hack.frob.com>
49464
49465 * sysdeps/posix/timespec_get.c: New file.
49466
49467 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49468
49469 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
49470 POWER.
49471 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
49472 for POWER.
49473 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
49474 powerpc/power5/fpu folders.
49475 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49476 * benchtests/Makefile: Add modf testcase.
49477 * benchtests/bench-modf.c: New file: Benchmark test for mo
49478
49479 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
49480
49481 [BZ #14888]
49482 * time/Makefile (tests): Add tst-strptime-whitespace.
49483 * time/strptime_l.c (get_number): Use ISSPACE.
49484 (__strptime_internal): Likewise.
49485 * time/tst-strptime-whitespace.c: New test case.
49486
49487 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
49488
49489 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
49490 member.
49491 (_nss_files_init): Set it here.
49492
49493 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
49494
49495 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
49496 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
49497 unsigned.
49498
49499 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
49500
49501 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
49502
49503 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49504
49505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
49506 size just once.
49507
49508 2013-04-21 David S. Miller <davem@davemloft.net>
49509
49510 * po/ru.po: Update Russion translation from translation project.
49511
49512 2013-04-17 Adam Conrad <adconrad@0c3.net>
49513
49514 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
49515 and setfsgid.
49516
49517 2013-04-17 Carlos O'Donell <carlos@redhat.com>
49518
49519 * configure.in: Remove i386 configure warning. Remove i386 case.
49520 * configure: Regenerate.
49521 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
49522 Add example to error message.
49523 * sysdeps/i386/configure: Regenerate.
49524
49525 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
49526
49527 * benchtests/Makefile (bench): Add cos, tan, slowcos and
49528 slowtan.
49529 * benchtests/cos-inputs: New file.
49530 * benchtests/slowcos-inputs: New file.
49531 * benchtests/slowcos.c: New file.
49532 * benchtests/slowtan-inputs: New file.
49533 * benchtests/slowtan.c: New file.
49534 * benchtests/tan-inputs: New file.
49535
49536 2013-04-16 Roland McGrath <roland@hack.frob.com>
49537
49538 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
49539 considered kosher.
49540
49541 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49542
49543 * benchtests/Makefile: Include cppflags-iterator.mk to add
49544 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
49545
49546 * Makefile.in (bench-clean): New target.
49547 * benchtests/Makefile (bench-clean): Likewise.
49548
49549 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
49550
49551 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
49552
49553 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
49554
49555 * stdio-common/tstdiomisc.c: Fix coding-style violation.
49556
49557 2013-04-15 Andreas Schwab <schwab@suse.de>
49558
49559 * nscd/grpcache.c (cache_addgr): Properly check for short write.
49560 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49561 * nscd/pwdcache.c (cache_addpw): Likewise.
49562 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
49563 more than recsize.
49564
49565 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49566
49567 * benchtests/Makefile (bench): Write all output to
49568 bench-out.tmp together.
49569
49570 2013-04-15 Andreas Schwab <schwab@suse.de>
49571
49572 * nscd/nscd.c (main): Don't fork again after closing files.
49573
49574 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49575
49576 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
49577
49578 * benchtests/Rules (bench-deps): Collect dependencies into a
49579 single variable. Add Makefile to dependencies.
49580 ($(objpfx)bench-%.c): Depend on bench-deps.
49581
49582 2013-04-12 Roland McGrath <roland@hack.frob.com>
49583 Xavier Roche <roche+kml2@exalead.com>
49584
49585 [BZ #15361]
49586 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
49587 just that it's a file descriptor.
49588 * manual/llio.texi (Synchronizing AIO Operations): Update description
49589 for EBADF error from aio_fsync.
49590
49591 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49592
49593 * Rules (bench): Move target definition...
49594 * benchtests/Makefile: ... here.
49595
49596 2013-04-11 Carlos O'Donell <carlos@redhat.com>
49597
49598 * math/libm-test.inc (cos_test): Fix PI/2 test.
49599 (sincos_test): Likewise.
49600 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49601 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
49602
49603 2013-04-11 Andreas Schwab <schwab@suse.de>
49604
49605 [BZ #13988]
49606 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
49607 accept exponent character only when digits were seen.
49608 * stdio-common/Makefile (tests): Add bug26.
49609 * stdio-common/bug26.c: New file.
49610
49611 [BZ #14293]
49612 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
49613 non-freeable.
49614
49615 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49616
49617 * Makeconfig (rtld-prefix): Define built linker prefix.
49618 * Rules (run-bench): Use it.
49619 * math/Makefile (run-regen-ulps): Likewise.
49620
49621 * Rules (bench): Remove eval.
49622
49623 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49624 Roland McGrath <roland@hack.frob.com>
49625 Ondrej Bilka <neleai@seznam.cz>
49626
49627 [BZ #15346]
49628 * time/getdate.c: Include ctype.h and alloca.h.
49629 (__getdate_r): Trim leading and trailing spaces of input.
49630 * time/tst-getdate.c (tests): Add tests with leading and
49631 trailing spaces.
49632
49633 2013-04-08 Roland McGrath <roland@hack.frob.com>
49634
49635 [BZ #14280]
49636 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
49637 when computing value.
49638
49639 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49640
49641 * math/README.libm-test (How can I generate "libm-test-ulps"?):
49642 Use testrun.sh to run libm tests.
49643
49644 [BZ #15309]
49645 * elf/dl-open.c (dl_open_worker): memset all of seen array.
49646
49647 2013-04-06 Marko Myllynen <myllynen@redhat.com>
49648
49649 [BZ #15264]
49650 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
49651
49652 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49653
49654 * Makefile.in (regen-ulps): New target.
49655 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
49656 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
49657 [ifneq (no,$(PERL)] (regen-ulps): New target.
49658 [ifeq (no,$(PERL)] (regen-ulps): New target.
49659 * math/libm-test.inc (ulps_file_name): Define.
49660 (output_dir): New variable.
49661 (options): Add "output-dir" option.
49662 (parse_opt): Handle 'o' case.
49663 (main): If output_dir is non-NULL use it as a prefix
49664 otherwise use "".
49665 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
49666
49667 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49668
49669 [BZ #10060, #10062]
49670 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
49671 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
49672 fail configure if __sync_val_compare_and_swap is not inlined.
49673 * sysdeps/i386/configure: Regenerate.
49674 * configure.in: Build for i686 when configured for i386.
49675 * configure: Regenerate.
49676 * README: Remove i386 reference.
49677
49678 2013-04-06 Carlos O'Donell <carlos@redhat.com>
49679
49680 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49681 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49682
49683 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
49684
49685 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
49686 (lmsnanval): New variables.
49687 (F): Add conversion tests.
49688 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
49689 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
49690
49691 * stdio-common/tstdiomisc.c (F): Properly collect individual
49692 tests' results.
49693
49694 [BZ #14686, #15336]
49695 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
49696 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
49697 Instead, use input NaN values or generate a qNaN by arithmetic
49698 operation. Also fix bugs to comply with the standard.
49699 * math/libm-test.inc (remainder_test): Add more tests.
49700
49701 [BZ #15335, #15342]
49702 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
49703 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
49704 input NaN values or generate a qNaN by arithmetic operation.
49705
49706 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
49707 unreachable code.
49708
49709 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
49710 definitions.
49711
49712 2013-04-03 Joseph Myers <joseph@codesourcery.com>
49713
49714 [BZ #14478]
49715 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
49716 underflowed result.
49717 * math/s_cexpf.c (__cexpf): Likewise.
49718 * math/s_cexpl.c (__cexpl): Likewise.
49719 * math/libm-test.inc (cexp_test): Add more tests.
49720
49721 2013-04-03 Andreas Schwab <schwab@suse.de>
49722
49723 [BZ #15330]
49724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
49725 order arrays from heap if bigger than alloca cutoff.
49726
49727 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
49728
49729 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
49730 (SNAN_TESTS_double): Refer to GCC PR56831.
49731 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
49732 GCC PR56828.
49733
49734 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49735
49736 * Rules (bench): Move bench.out after the run is complete.
49737
49738 * Rules (bench): Echo currently running benchmark.
49739
49740 * benchtests/Makefile (bench): Add atan and slowatan.
49741 * benchtests/atan-inputs: New file.
49742 * benchtests/slowatan-inputs: New file.
49743 * benchtests/slowatan.c: New file.
49744
49745 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
49746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
49747 its value.
49748
49749 [BZ #15305]
49750 * sysdeps/unix/sysv/linux/kernel-features.h
49751 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
49752 __ASSUME_XFS_RESTRICTED_CHOWN.
49753 * sysdeps/unix/sysv/linux/pathconf.c
49754 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49755 Save and restore errno.
49756
49757 2013-04-02 Joseph Myers <joseph@codesourcery.com>
49758
49759 [BZ #15327]
49760 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
49761 arguments using __kernel_casinh.
49762 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
49763 arguments using __kernel_casinhf.
49764 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
49765 arguments using __kernel_casinhl.
49766 * math/libm-test.inc (cacosh_test): Add more tests.
49767 * sysdeps/i386/fpu/libm-test-ulps: Update.
49768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49769
49770 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49771
49772 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
49773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
49774
49775 * bench/Makefile (bench): Add sin and slowsin.
49776 * benchtests/sin-inputs: New file.
49777 * benchtests/slowsin-inputs: New file.
49778 * benchtests/slowsin.c: New file.
49779
49780 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
49781 (bench): Add slowexp and slowpow.
49782 (exp-ITER): Increase iterations.
49783 (pow-ITER): Likewise.
49784 * benchtests/exp-inputs: Change input.
49785 * benchtests/pow-inputs: Likewise.
49786 * benchtests/slowexp-inputs: New file.
49787 * benchtests/slowexp.c: New file.
49788 * benchtests/slowpow-inputs: New file.
49789 * benchtests/slowpow.c: New file.
49790
49791 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49792
49793 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
49794 instructions.
49795 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49796 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
49797 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49798 * benchtests/Makefile: Add rint benchtest.
49799 * benchtests/rint-inputs: Input for rint benchtest.
49800
49801 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
49802
49803 * Versions.def (libm): Add GLIBC_2.18.
49804 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
49805 hidden libm prototypes.
49806 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
49807 * math/Makefile (libm-calls): Add s_issignaling.
49808 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
49809 __issignalingf, __issignalingl. Adjust all libm.abilist files.
49810 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
49811 declaration.
49812 * math/math.h [__USE_GNU] (issignaling): New macro.
49813 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
49814 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
49815 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
49816 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
49817 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
49818 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
49819 * manual/arith.texi (issignaling): New section.
49820 * manual/libm-err-tab.pl (@all_functions): Update comment.
49821 * math/gen-libm-test.pl (parse_args): Apply special handling for
49822 issignaling.
49823 * math/libm-test.inc (print_float, issignaling_test): New
49824 functions.
49825 (check_float_internal): Add issignaling checks.
49826 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
49827 default definition.
49828 * sysdeps/powerpc/math-tests.h: New file.
49829 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49830 tests.
49831 * math/test-snan.c (TEST_FUNC): Likewise.
49832
49833 2013-03-30 David S. Miller <davem@davemloft.net>
49834
49835 * po/de.po: Update from translation team.
49836
49837 2013-03-30 Joseph Myers <joseph@codesourcery.com>
49838
49839 [BZ #10357]
49840 * math/k_casinh.c (__kernel_casinh): Handle arguments with
49841 imaginary part less than 1.0 and real part less than 0.5
49842 specially.
49843 * math/k_casinhf.c (__kernel_casinhf): Likewise.
49844 * math/k_casinhl.c (__kernel_casinhl): Likewise.
49845 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49846 (cacos_test): Add more tests.
49847 (casin_test): Likewise.
49848 (casinh_test): Likewise.
49849 * sysdeps/i386/fpu/libm-test-ulps: Update.
49850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49851
49852 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49853
49854 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49855 ONE with its value.
49856
49857 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49858 (__pow_mp): Replace ONE and MONE with their values.
49859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49861 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49863 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49864 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49865
49866 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49867
49868 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49869 (__pow_mp): Replace ZERO and MZERO with their values.
49870 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49871 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49874 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49875 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49876 (__sqr): Likewise.
49877
49878 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49879
49880 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49881
49882 2013-03-28 Roland McGrath <roland@hack.frob.com>
49883
49884 * include/stdlib.h [!SHARED] (__call_tls_dtors):
49885 Declare with __attribute__ ((weak)).
49886 * stdlib/exit.c (__libc_atexit) [!SHARED]:
49887 Call __call_tls_dtors only if it's not NULL.
49888
49889 2013-03-28 Roland McGrath <roland@hack.frob.com>
49890
49891 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49892 didn't do it already, then set _dl_phdr and _dl_phnum based on the
49893 magic __ehdr_start linker symbol if it's defined.
49894 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49895 them up here if it was already done.
49896
49897 * elf/dl-support.c (_dl_phdr): Make pointer to const.
49898 (_dl_aux_init): Use const in cast when setting it.
49899 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49900 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49901 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49902
49903 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49904 Declare them here.
49905 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49906 * csu/libc-tls.c: Nor here.
49907 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49908
49909 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49910 (__libc_message): Never call vsyslog.
49911
49912 2013-03-28 Alan Modra <amodra@gmail.com>
49913
49914 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49915 Define as empty.
49916 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49917 Likewise.
49918
49919 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49920
49921 [BZ #15214]
49922 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49923 underflow.
49924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49925
49926 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49927
49928 [BZ #15304]
49929 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49930 Don't add gid passed as argument.
49931
49932 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49933
49934 2013-03-27 Joseph Myers <joseph@codesourcery.com>
49935
49936 [BZ #15307]
49937 * math/k_casinh.c (__kernel_casinh): Handle arguments with
49938 imaginary part between 1.0 and 1.5 and real part less than 0.5
49939 specially.
49940 * math/k_casinhf.c (__kernel_casinhf): Likewise.
49941 * math/k_casinhl.c (__kernel_casinhl): Likewise.
49942 * math/libm-test.inc (cacos_test): Add more tests.
49943 (casin_test): Likewise.
49944 (casinh_test): Likewise.
49945 * sysdeps/i386/fpu/libm-test-ulps: Update.
49946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49947
49948 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49949
49950 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49951 constants.
49952 (norm): Likewise.
49953 (denorm): Likewise.
49954 (__dbl_mp): Likewise.
49955 (add_magnitudes): Likewise.
49956 (sub_magnitudes): Likewise.
49957 (__add): Likewise.
49958 (__sub): Likewise.
49959 (__mul): Likewise.
49960 (__sqr): Likewise.
49961 (__inv): Likewise.
49962 (__dvd): Likewise.
49963
49964 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49965 commented code.
49966 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49967 (__dubcos): Likewise.
49968 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49969 (__ieee754_acos): Likewise.
49970 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49971 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49972 (__exp1): Likewise.
49973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49974 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49975 (log1): Likewise.
49976 (my_log2): Likewise.
49977 (checkint): Likewise.
49978 * sysdeps/ieee754/dbl-64/e_remainder.c
49979 (__ieee754_remainder): Likewise.
49980 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49981 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49982 (bsloww): Likewise.
49983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49984
49985 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49986 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49987 MANTISSA_STORE_T to store computations on mantissa. Use
49988 macros for rounding and division.
49989 (denorm): Likewise.
49990 (__dbl_mp): Likewise.
49991 (add_magnitudes): Likewise.
49992 (sub_magnitudes): Likewise.
49993 (__mul): Likewise.
49994 (__sqr): Likewise.
49995 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
49996 powers of two in terms of TWOPOW macro.
49997 (mp_no): Make type of mantissa as MANTISSA_T.
49998 [!RADIXI]: Define RADIXI.
49999 [!TWO52]: Define TWO52.
50000 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50001
50002 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50003
50004 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50005 llroundl symbol when building for PPC32.
50006
50007 2013-03-24 Mark H Weaver <mhw@netris.org>
50008
50009 * manual/arith.texi (Normalization Functions): Fix prototypes for
50010 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50011
50012 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50013
50014 [BZ #13889]
50015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50016 high value to check if expl overflow.
50017 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50018 to check for underflow and overflow.
50019 * math/libm-test.inc: Add exp test.
50020
50021 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
50022
50023 [BZ #11120]
50024 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50025 with NOT_IN_libc.
50026
50027 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50028
50029 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50030 symbol.
50031
50032 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
50033
50034 * math/gen-libm-test.pl (parse_args, special_functions): Properly
50035 wrap blocks consisting of several statements.
50036
50037 * sysdeps/generic/math-tests.h: New file.
50038 * sysdeps/i386/fpu/math-tests.h: Likewise.
50039 * math/test-snan.c: Include it.
50040 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50041
50042 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50043
50044 [BZ #15285]
50045 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50046 (__ieee754_j0l): Do not improve calculations using cos of twice
50047 input for inputs above LDBL_MAX / 2.0L.
50048 (__ieee754_y0l): Likewise.
50049 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50050 (__ieee754_j1l): Do not improve calculations using cos of twice
50051 input for inputs above LDBL_MAX / 2.0L.
50052 (__ieee754_y1l): Likewise.
50053 * math/libm-test.inc (j0_test): Add another test.
50054 (j1_test): Likewise.
50055 (y0_test): Likewise.
50056 (y1_test): Likewise.
50057 * sysdeps/i386/fpu/libm-test-ulps: Update.
50058
50059 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50060
50061 * Rules ($(objpfx)bench-%.c): Include code from a C source
50062 file.
50063
50064 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50065
50066 [BZ #15287]
50067 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50068 imaginary part 1.0 and real part less than 0.5 specially.
50069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50071 * math/libm-test.inc (cacos_test): Add more tests.
50072 (casin_test): Likewise.
50073 (casinh_test): Likewise.
50074 * sysdeps/i386/fpu/libm-test-ulps: Update.
50075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50076
50077 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50078
50079 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50080 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50081
50082 2013-03-20 Joseph Myers <joseph@codesourcery.com>
50083
50084 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50085 * config.make.in (config-cflags-sse4): Remove variable.
50086 (config-cflags-avx): Likewise.
50087 (config-cflags-sse2avx): Likewise.
50088 (config-cflags-novzeroupper): Likewise.
50089 (config-asflags-i686): Likewise.
50090 (have-mfma4): Likewise.
50091 (have-as-vis3): Likewise.
50092 (MIG): Likewise.
50093 * configure.in (MIG): Do not AC_SUBST.
50094 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50095 (libc_cv_cc_sse4): Do not AC_SUBST.
50096 (libc_cv_cc_avx): Likewise.
50097 (libc_cv_cc_sse2avx): Likewise.
50098 (libc_cv_cc_novzeroupper): Likewise.
50099 (libc_cv_cc_fma4): Likewise.
50100 (libc_cv_as_i686): Likewise.
50101 (libc_cv_sparc_as_vis3): Likewise.
50102 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50103 LIBC_CONFIG_VAR.
50104 (config-asflags-i686): Likewise.
50105 (config-cflags-avx): Likewise.
50106 (config-cflags-sse2avx): Likewise.
50107 (have-mfma4): Likewise.
50108 (config-cflags-novzeroupper): Likewise.
50109 * sysdeps/mach/configure.in (MIG): Likewise.
50110 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50111 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50112 LIBC_CONFIG_VAR.
50113 (config-cflags-avx): Likewise.
50114 (config-cflags-sse2avx): Likewise.
50115 (have-mfma4): Likewise.
50116 (config-cflags-novzeroupper): Likewise.
50117 * configure: Regenerated.
50118 * sysdeps/i386/configure: Likewise.
50119 * sysdeps/mach/configure: Likewise.
50120 * sysdeps/sparc/configure: Likewise.
50121 * sysdeps/x86_64/configure: Likewise.
50122
50123 2013-03-20 Roland McGrath <roland@hack.frob.com>
50124
50125 [BZ #14812]
50126 * locale/programs/localedef.c (options): Put N_ translation marker
50127 on argument names, not just descriptions.
50128
50129 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50130
50131 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50132
50133 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
50134
50135 [BZ #14176]
50136 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50137
50138 2013-03-19 Roland McGrath <roland@hack.frob.com>
50139
50140 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50141 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50142 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50143 [!BEFORE_ABORT] (before_abort): New function.
50144 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50145 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50146 (writev_for_fatal): New function.
50147 (WRITEV_FOR_FATAL): New macro; call that.
50148 (backtrace_and_maps): New function.
50149 (BEFORE_ABORT): New macro; call that.
50150 (struct str_list): Type removed.
50151 (__libc_message, __libc_fatal): Functions removed.
50152 Include <sysdeps/posix/libc_fatal.c> instead.
50153
50154 2013-03-19 Joseph Myers <joseph@codesourcery.com>
50155
50156 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50157 constants.
50158 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50159 double constants.
50160
50161 2013-03-19 Andreas Schwab <schwab@suse.de>
50162
50163 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50164 * sysdeps/gnu/configure: Regenerate.
50165
50166 * configure.in: Substitute libc_cv_rtlddir.
50167 * configure: Regenerate.
50168 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50169 * Makeconfig (rtlddir, inst_rtlddir): New variables.
50170 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50171 * elf/Makefile (install-others, CFLAGS-interp.c)
50172 (ldso_install, common-ldd-rewrite): Likewise.
50173 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50174 $(inst_slibdir)/$(rtld-installed-name).
50175 * scripts/rellns-sh: Add -p option.
50176 * Makerules (make-shlib-link): Use rellns-sh to get relative name
50177 for source.
50178
50179 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50180
50181 * manual/nptl.texi: Renamed to ...
50182 * manual/threads.texi: ... this.
50183 * manual/Makefile (chapters): Update.
50184
50185 2013-03-18 Roland McGrath <roland@hack.frob.com>
50186
50187 [BZ #14812]
50188 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50189 on argument names, not just descriptions.
50190 * malloc/memusagestat.c (options): Likewise.
50191 * nss/getent.c (options): Likewise.
50192
50193 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
50194
50195 [BZ #14812]
50196 * iconv/iconv_prog.c (options): Put N_ translation marker
50197 on argument names, not just descriptions.
50198 * iconv/iconvconfig.c (options): Likewise.
50199
50200 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
50201
50202 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50203 implementation which is faster on all x86_64 architectures.
50204 Tested on AMD, Intel Nehalem, SNB, IVB.
50205 * sysdeps/x86_64/strnlen.S: Likewise.
50206
50207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50208 Remove all multiarch strlen and strnlen versions.
50209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50210 Remove strlen and strnlen related parts.
50211
50212 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50213 Inline strlen part.
50214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50215
50216 * sysdeps/x86_64/multiarch/strlen.S: Remove.
50217 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50218 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50219 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50220 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50221 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50222
50223 2013-03-17 Carlos O'Donell <carlos@redhat.com>
50224
50225 * manual/memory.texi (Malloc Tunable Parameters):
50226 Sort parameters alphabetically. Add comments for missing entries.
50227
50228 2013-03-17 David S. Miller <davem@davemloft.net>
50229
50230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50231
50232 2013-03-16 Joseph Myers <joseph@codesourcery.com>
50233
50234 [BZ #15283]
50235 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50236 for arguments at most half maximum finite value.
50237 * math/libm-test.inc (j0_test): Add more tests.
50238 (j1_test): Likewise.
50239 (y0_test): Likewise.
50240 (y1_test): Likewise.
50241 * sysdeps/i386/fpu/libm-test-ulps: Update.
50242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50243
50244 [BZ #14155]
50245 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50246 1 / x and functions P and Q for arguments above 0x1p256L.
50247 (__ieee754_y0l): Likewise.
50248 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50249 (__ieee754_y1l): Likewise.
50250 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50251 (j1_test): Likewise.
50252 (y0_test): Likewise.
50253 (y1_test): Likewise.
50254
50255 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
50256
50257 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50258 variable.
50259
50260 2013-03-15 Roland McGrath <roland@hack.frob.com>
50261
50262 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50263 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50264 zero since it's initialized to EXEC_PAGESIZE.
50265
50266 * sysdeps/unix/sysv/linux/ldsodefs.h
50267 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50268 * sysdeps/generic/ldsodefs.h: ... here.
50269
50270 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
50271
50272 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50273
50274 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50275 math/test-snan.c.
50276 * math/test-snan.c: Renamed from
50277 sysdeps/powerpc/fpu/test-powerpc-snan.c.
50278 * math/Makefile (tests): Add test-snan.
50279 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50280 test-powerpc-snan.
50281
50282 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50283 SUFFIX. Initialize qNaN_var with __builtin_nan family of
50284 functions.
50285 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
50286 __builtin_nan family of functions.
50287 * math/libm-test.inc (initialize): Initialize qnan_value with
50288 __builtin_nan family of functions.
50289 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50290 Remove variables.
50291 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50292 Remove functions.
50293 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
50294 storage class. Initialize qNaN_var and sNaN_var with
50295 __builtin_nan and __builtin_nans families of functions,
50296 respectively.
50297
50298 * math/libm-test.inc (acosh_test): Also test with qNaN input.
50299 (sqrt_test): Remove duplicate test with qNaN input.
50300 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50301 (round_test, signbit_test, significand_test): Note missing +/-Inf
50302 as well as qNaN tests.
50303
50304 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50305 qNaN_var. Fix a few strings, too.
50306 * math/libm-test.inc (nan_value): Rename to qnan_value.
50307 * math/gen-libm-test.pl (%beautify): Adjust to that.
50308 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50309 * math/test-misc.c (main): Likewise.
50310 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50311 to __qnan_bytes, and __qnan_union, respectively.
50312 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50313 Likewise.
50314 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50315 and lqnanval, respectively.
50316 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50317 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50318 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50319 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50320
50321 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50322 * math/test-misc.c (main) [__x86_64__]: Enable test for long
50323 doubles.
50324
50325 * math/test-misc.c (main): Fix copy'n'pastos.
50326 * misc/tst-efgcvt.c (special): Likewise.
50327
50328 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50329 Remove declarations.
50330
50331 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50332
50333 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50334 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50335 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50337
50338 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50339
50340 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50341 macro to return vdso values correctly in IFUNC implementations.
50342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50343 Optimization by using IFUNC.
50344
50345 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50346 Richard Henderson <rth@redhat.com>
50347 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50348
50349 * Makefile.in (bench): New target.
50350 * NEWS: Mention the benchmark framework.
50351 * Rules (bench): Likewise.
50352 (binaries-bench): Generate binaries for functions to
50353 benchmark.
50354 * benchtests/Makefile: New makefile for benchmark tests.
50355 * benchtests/bench-skeleton.c: New skeleton file for benchmark
50356 programs.
50357 * benchtests/exp-inputs: New input file for EXP function.
50358 * benchtests/pow-inputs: New input file for POW function.
50359 * scripts/bench.pl: New script to generate source files for
50360 benchmark programs.
50361
50362 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50363
50364 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
50366 computations on mantissa. Use macros for rounding and
50367 division.
50368 (denorm): Likewise.
50369 (__dbl_mp): Likewise.
50370 (add_magnitudes): Likewise.
50371 (sub_magnitudes): Likewise.
50372 (__mul): Likewise.
50373 (__sqr): Likewise.
50374 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50375 powers of two in terms of TWOPOW macro.
50376 (mp_no): Make type of mantissa as MANTISSA_T.
50377 [!RADIXI]: Define RADIXI.
50378 [!TWO52]: Define TWO52.
50379 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50380
50381 * manual/nptl.texi (cindex): Modify threads to pthreads.
50382
50383 2013-03-15 Joseph Myers <joseph@codesourcery.com>
50384
50385 * sysdeps/x86_64/preconfigure: Regenerated.
50386
50387 2013-03-14 Joseph Myers <joseph@codesourcery.com>
50388
50389 [BZ #14155]
50390 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
50391 0x1p28 and above.
50392 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
50393 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
50394 0x1p28 and above.
50395 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
50396 * math/libm-test.inc (j0_test): Do not allow one spurious
50397 underflow exception.
50398 (y1_test): Likewise.
50399
50400 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
50401
50402 * manual/Makefile (chapters): Add nptl.
50403 * manual/debug.texi (Debugging Support): Add link to Threads
50404 chapter.
50405 * manual/nptl.texi: New file.
50406
50407 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
50408
50409 2013-03-14 Petr Baudis <pasky@ucw.cz>
50410
50411 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
50412 for non-NULL pointer before the memory validity test. Pointed
50413 out by Holger Brunck <holger.brunck@keymile.com>.
50414
50415 2013-03-13 Andreas Schwab <schwab@suse.de>
50416
50417 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
50418 instead of .os.
50419
50420 2013-03-13 Joseph Myers <joseph@codesourcery.com>
50421
50422 * timezone/zic.c: Update from tzcode 2013b.
50423
50424 2013-03-12 Carlos O'Donell <carlos@redhat.com>
50425
50426 * manual/install.texi (Configuring and compiling):
50427 Mention i686 and i586.
50428 * INSTALL: Regenerate.
50429
50430 2013-03-12 Roland McGrath <roland@hack.frob.com>
50431
50432 * sysdeps/init_array/elf-init.c: New file.
50433 * csu/elf-init.c
50434 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
50435 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
50436
50437 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
50438 __gmon_start__ as global, but as static with a .preinit_array pointer.
50439 * sysdeps/init_array/gmon-start.c: New file. Use that.
50440 * sysdeps/init_array/crti.S: New file, empty except for comments.
50441 * sysdeps/init_array/crtn.S: Likewise.
50442
50443 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
50444
50445 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
50446 definining bcopy.
50447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50448 Remove Prefer_SSE_for_memop.
50449 * sysdeps/x86_64/multiarch/init-arch.h: Remove
50450 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
50451 HAS_PREFER_SSE_FOR_MEMOP.
50452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
50453 memset-x86-64.
50454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50455 Remove bzero, memset ifunc support.
50456 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
50457 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
50458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50460
50461 2013-03-11 Andreas Schwab <schwab@suse.de>
50462
50463 [BZ #15234]
50464 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
50465 by SHLIB_COMPAT.
50466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
50467 (GLIBC_2.16): Remove pthread_atfork.
50468
50469 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
50470
50471 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
50472 (ptestcases.h): Likewise.
50473
50474 2013-03-08 Roland McGrath <roland@hack.frob.com>
50475
50476 * Makeconfig ($(common-objpfx)config.status): Depend on
50477 sysdeps/*/preconfigure{,.in} too.
50478
50479 2013-03-08 Joseph Myers <joseph@codesourcery.com>
50480
50481 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
50482 (__free_hook): Use void * instead of __malloc_ptr_t.
50483 (__malloc_hook): Likewise.
50484 (__realloc_hook): Likewise.
50485 (__memalign_hook): Likewise.
50486 (__after_morecore_hook): Likewise.
50487 * malloc/arena.c (save_malloc_hook): Likewise.
50488 (save_free_hook): Likewise.
50489 * malloc/hooks.c (malloc_hook_ini): Likewise.
50490 (realloc_hook_ini): Likewise.
50491 (memalign_hook_ini): Likewise.
50492 * malloc/malloc.c (malloc_hook_ini): Likewise.
50493 (realloc_hook_ini): Likewise.
50494 (memalign_hook_ini): Likewise.
50495 (__free_hook): Likewise.
50496 (__malloc_hook): Likewise.
50497 (__realloc_hook): Likewise.
50498 (__memalign_hook): Likewise.
50499 (__libc_malloc): Likewise.
50500 (__libc_free): Likewise.
50501 (__libc_realloc): Likewise.
50502 (__libc_memalign): Likewise.
50503 (__libc_valloc): Likewise.
50504 (__libc_pvalloc): Likewise.
50505 (__libc_calloc): Likewise.
50506 (__posix_memalign): Likewise.
50507 * malloc/morecore.c (__sbrk): Likewise.
50508 (__default_morecore): Likewise.
50509
50510 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
50511
50512 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
50513 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
50514 __malloc_ptrdiff_t.
50515
50516 * malloc/malloc.h (__malloc_size_t): Remove macro.
50517 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
50518 __malloc_size_t.
50519 (old_memalign_hook): Likewise.
50520 (old_realloc_hook): Likewise.
50521 (struct hdr): Likewise.
50522 (flood): Likewise.
50523 (mallochook): Likewise.
50524 (memalignhook): Likewise.
50525 (reallochook): Likewise.
50526 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
50527 (tr_old_realloc_hook): Likewise.
50528 (tr_old_memalign_hook): Likewise.
50529 (tr_mallochook): Likewise.
50530 (tr_reallochook): Likewise.
50531 (tr_memalignhook): Likewise.
50532
50533 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50534
50535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
50536 default_ldbl_pack and using as default implementation.
50537 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
50538 implementation.
50539 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
50540 redundant definition.
50541 (ldbl_insert_mantissa): Likewise.
50542 (ldbl_canonicalize): Likewise.
50543 (ldbl_nearbyint): Likewise.
50544 (ldbl_pack): Rename to ldbl_pack_ppc.
50545 (ldbl_unpack): Rename to ldbl_unpack_ppc.
50546 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
50547 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
50548
50549 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
50550
50551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
50552 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
50553 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
50554 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
50555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
50556 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50557 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
50558 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
50559
50560 2013-03-07 Andreas Jaeger <aj@suse.de>
50561
50562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50563 bits/mman-linux.h.
50564
50565 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
50566
50567 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
50568 Include mpa.h and declare __MPEXP.
50569 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
50570 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50571 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50572 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
50573 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50574 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
50575 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
50576
50577 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
50578 (__slowpow): Use long double EXPL and LOGL functions to
50579 compute POW.
50580 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
50581 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50582 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
50583 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
50584 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
50585 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
50586
50587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
50588 intermediate variable to calculate exponent.
50589 (__sqr): Likewise.
50590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50591 Likewise.
50592 (__sqr): Likewise.
50593
50594 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
50595 [!NO__SQR]: Define __sqr.
50596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
50597 and NO__SQR. Remove all code except __mul and __sqr. Include
50598 sysdeps/ieee754/dbl-64/mpa.c.
50599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50600
50601 [BZ #12723]
50602 * posix/Makefile (tests): Add tst-pathconf.
50603 * posix/tst-pathconf.c: New test case.
50604 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
50605 _PC_PIPE_BUF.
50606 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
50607
50608 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
50609
50610 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
50611
50612 2013-03-06 Andreas Jaeger <aj@suse.de>
50613
50614 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
50615 definition via __MAP_ANONYMOUS.
50616
50617 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
50618 it's not part of Linux headers.
50619
50620 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
50621 (MAP_HUGE_MASK): Define.
50622
50623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50624 Define.
50625 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50627 Define.
50628 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50629 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
50630 Define.
50631 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
50633 Define.
50634 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
50635
50636 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
50637 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
50638 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
50639 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
50640 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
50641 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
50642
50643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50644 Handle f2fs.
50645
50646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50647 Handle f2fs and efivarfs.
50648
50649 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
50650 f2fs.
50651
50652 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
50653 (EFIVARFS_MAGIC): Add.
50654 (F2FS_LINK_MAX): Add.
50655
50656 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50657
50658 * stdio-common/vfprintf.c: Replace __builtin_expect with
50659 __glibc_unlikely.
50660
50661 2013-03-06 Joseph Myers <joseph@codesourcery.com>
50662
50663 [BZ #13550]
50664 * sysdeps/generic/bp-sym.h: Remove file.
50665 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
50666 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
50667 <bp-sym.h> and <bp-asm.h>.
50668 (__longjmp): Don't use BP_SYM.
50669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
50670 and <bp-asm.h>.
50671 (memcpy): Don't use BP_SYM.
50672 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
50673 <bp-sym.h> and <bp-asm.h>.
50674 (memcpy): Don't use BP_SYM.
50675 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
50676 <bp-asm.h>.
50677 (memcpy): Don't use BP_SYM.
50678 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
50679 <bp-asm.h>.
50680 (memset): Don't use BP_SYM.
50681 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50682 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50683 (__bzero): Don't use BP_SYM.
50684 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50685 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50686 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
50687 <bp-sym.h> and <bp-asm.h>.
50688 (memcmp): Don't use BP_SYM. Remove comment about bounded
50689 pointers.
50690 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
50691 <bp-sym.h> and <bp-asm.h>.
50692 (memcpy): Don't use BP_SYM.
50693 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
50694 <bp-sym.h> and <bp-asm.h>.
50695 (memset): Don't use BP_SYM.
50696 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50697 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50698 (__bzero): Don't use BP_SYM.
50699 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50700 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50701 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
50702 <bp-sym.h> and <bp-asm.h>.
50703 (strncmp): Don't use BP_SYM. Remove comment about bounded
50704 pointers.
50705 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
50706 <bp-sym.h> and <bp-asm.h>.
50707 (memcpy): Don't use BP_SYM.
50708 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
50709 <bp-sym.h> and <bp-asm.h>.
50710 (memset): Don't use BP_SYM.
50711 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50712 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50713 (__bzero): Don't use BP_SYM.
50714 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50715 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50716 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
50717 <bp-sym.h> and <bp-asm.h>.
50718 (__memchr): Don't use BP_SYM.
50719 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
50720 <bp-sym.h> and <bp-asm.h>.
50721 (memcmp): Don't use BP_SYM. Remove comment about bounded
50722 pointers.
50723 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
50724 <bp-sym.h> and <bp-asm.h>.
50725 (memcpy): Don't use BP_SYM.
50726 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
50727 <bp-sym.h> and <bp-asm.h>.
50728 (__mempcpy): Don't use BP_SYM.
50729 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
50730 <bp-sym.h> and <bp-asm.h>.
50731 (__memrchr): Don't use BP_SYM.
50732 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
50733 <bp-sym.h> and <bp-asm.h>.
50734 (memset): Don't use BP_SYM.
50735 (__bzero): Likewise.
50736 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
50737 <bp-sym.h> and <bp-asm.h>.
50738 (__rawmemchr): Don't use BP_SYM.
50739 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
50740 <bp-sym.h> and <bp-asm.h>.
50741 (__STRCMP): Don't use BP_SYM.
50742 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
50743 <bp-sym.h> and <bp-asm.h>.
50744 (strchr): Don't use BP_SYM.
50745 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
50746 <bp-sym.h> and <bp-asm.h>.
50747 (__strchrnul): Don't use BP_SYM.
50748 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
50749 <bp-sym.h> and <bp-asm.h>.
50750 (strlen): Don't use BP_SYM.
50751 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
50752 <bp-sym.h> and <bp-asm.h>.
50753 (strncmp): Don't use BP_SYM. Remove comment about bounded
50754 pointers.
50755 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
50756 <bp-sym.h> and <bp-asm.h>.
50757 (__strnlen): Don't use BP_SYM.
50758 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
50759 <bp-sym.h> and <bp-asm.h>.
50760 (__GI__setjmp): Don't use BP_SYM.
50761 (_setjmp): Likewise.
50762 (__sigsetjmp): Likewise.
50763 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
50764 (L(start_addresses)): Don't use BP_SYM.
50765 (_start): Likewise.
50766 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
50767 <bp-asm.h>.
50768 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
50769 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
50770 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50771 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50772 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
50773 <bp-asm.h>.
50774 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
50775 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
50776 about bounded pointers.
50777 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50778 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50779 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
50780 <bp-asm.h>.
50781 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
50782 about bounded pointers. Remove GKM FIXME comments.
50783 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50784 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
50785 <bp-asm.h>.
50786 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
50787 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
50788 Remove GKM FIXME comments.
50789 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50790 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50791 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
50792 <bp-asm.h>.
50793 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
50794 about bounded pointers. Remove GKM FIXME comment.
50795 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
50796 and <bp-asm.h>.
50797 (strncmp): Don't use BP_SYM. Remove comment about bounded
50798 pointers.
50799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
50800 <bp-sym.h> and <bp-asm.h>.
50801 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
50803 <bp-sym.h> and <bp-asm.h>.
50804 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
50805 comment.
50806
50807 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50808
50809 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
50810 call free(NULL).
50811
50812 2013-03-05 David S. Miller <davem@davemloft.net>
50813
50814 * po/es.po: Update from translation team.
50815
50816 2013-03-05 Andreas Jaeger <aj@suse.de>
50817
50818 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
50819 <bits/mman-linux.h>.
50820 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50821 is fine.
50822 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
50823 <bits/mman-linux.h> to end of file.
50824 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50825 is fine.
50826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
50827 <bits/mman-linux.h> to end of file.
50828 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50829 is fine.
50830 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50831 <bits/mman-linux.h> to end of file.
50832
50833 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50834 (MCL_CURRENT, MCL_FUTURE): Define here.
50835
50836 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50837
50838 [BZ #15232]
50839 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50840 attribute_hidden.
50841 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50842
50843 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50844
50845 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50846 fourth parameter needed for rt_sigprocmask syscall.
50847 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50848 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50849 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50850 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50851 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50852 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50853
50854 2013-03-04 Joseph Myers <joseph@codesourcery.com>
50855
50856 [BZ #13550]
50857 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50858 comment about bounded pointers.
50859 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50860 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50861
50862 2013-03-04 Andreas Jaeger <aj@suse.de>
50863
50864 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50865 common definitions.
50866
50867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50868 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50869 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50870 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50873
50874 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50875
50876 [BZ #15055]
50877 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50878 __ieee754_sqrl instead of __sqrl.
50879
50880 2013-03-01 Joseph Myers <joseph@codesourcery.com>
50881
50882 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50883 * sysdeps/powerpc/fpu_control.h: ... here.
50884 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50885 * sysdeps/powerpc/bits/fenvinline.h: ... here.
50886 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50887 * sysdeps/powerpc/bits/mathinline.h: ... here.
50888
50889 2013-03-01 Roland McGrath <roland@hack.frob.com>
50890
50891 * elf/dl-hwcaps.c (_dl_important_hwcaps):
50892 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50893 to just [NEED_DL_SYSINFO_DSO].
50894 * elf/dl-support.c: Likewise.
50895 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50896 * elf/rtld.c (dl_main): Likewise.
50897 * elf/setup-vdso.h (setup_vdso): Likewise.
50898 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50899 * sysdeps/unix/sysv/linux/dl-sysdep.c
50900 (_dl_discover_osversion): Likewise.
50901
50902 2013-03-01 Carlos O'Donell <carlos@redhat.com>
50903
50904 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50905 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50906
50907 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
50908
50909 * NEWS: Mention libm performance improvements and non-x86 PI
50910 futex support.
50911
50912 * csu/libc-start.c (__pthread_initialize_minimal): Change
50913 function arguments.
50914 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50915
50916 2013-02-28 Joseph Myers <joseph@codesourcery.com>
50917
50918 [BZ #13550]
50919 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50920 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50921 <bp-sym.h> and <bp-asm.h>.
50922 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50923 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50924 and <bp-asm.h>.
50925 (memcpy): Don't use BP_SYM.
50926 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50927 <bp-asm.h>.
50928 (__mpn_add_n): Don't use BP_SYM.
50929 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50930 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50931 and <bp-asm.h>.
50932 (__mpn_addmul_1): Don't use BP_SYM.
50933 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50934 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50935 <bp-sym.h>.
50936 (_setjmp): Don't use BP_SYM.
50937 (__novmx_setjmp): Likewise.
50938 (__GI__setjmp): Likewise.
50939 (__vmx_setjmp): Likewise.
50940 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50941 <bp-sym.h>.
50942 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50943 (__bzero): Don't use BP_SYM.
50944 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50945 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50946 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50947 <bp-sym.h> and <bp-asm.h>.
50948 (memcpy): Don't use BP_SYM.
50949 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50950 <bp-sym.h> and <bp-asm.h>.
50951 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50953 <bp-sym.h> and <bp-asm.h>.
50954 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50955 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50956 <bp-asm.h>.
50957 (__mpn_lshift): Don't use BP_SYM.
50958 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50959 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50960 <bp-asm.h>.
50961 (memset): Don't use BP_SYM.
50962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50964 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50965 <bp-asm.h>.
50966 (__mpn_mul_1): Don't use BP_SYM.
50967 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50969 <bp-sym.h> and <bp-asm.h>.
50970 (memcmp): Don't use BP_SYM.
50971 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50972 <bp-sym.h> and <bp-asm.h>.
50973 (memcpy): Don't use BP_SYM.
50974 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50975 <bp-sym.h> and <bp-asm.h>.
50976 (memset): Don't use BP_SYM.
50977 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50978 <bp-sym.h> and <bp-asm.h>.
50979 (strncmp): Don't use BP_SYM.
50980 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50981 <bp-sym.h> and <bp-asm.h>.
50982 (memcpy): Don't use BP_SYM.
50983 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50984 <bp-sym.h> and <bp-asm.h>.
50985 (memset): Don't use BP_SYM.
50986 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50987 <bp-sym.h> and <bp-asm.h>.
50988 (__memchr): Don't use BP_SYM.
50989 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50990 <bp-sym.h> and <bp-asm.h>.
50991 (memcmp): Don't use BP_SYM.
50992 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50993 <bp-sym.h> and <bp-asm.h>.
50994 (memcpy): Don't use BP_SYM.
50995 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50996 <bp-sym.h> and <bp-asm.h>.
50997 (__mempcpy): Don't use BP_SYM.
50998 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50999 <bp-sym.h> and <bp-asm.h>.
51000 (__memrchr): Don't use BP_SYM.
51001 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51002 <bp-sym.h> and <bp-asm.h>.
51003 (memset): Don't use BP_SYM.
51004 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51005 <bp-sym.h> and <bp-asm.h>.
51006 (__rawmemchr): Don't use BP_SYM.
51007 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51008 <bp-sym.h> and <bp-asm.h>.
51009 (__STRCMP): Don't use BP_SYM.
51010 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51011 <bp-sym.h> and <bp-asm.h>.
51012 (strchr): Don't use BP_SYM.
51013 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51014 <bp-sym.h> and <bp-asm.h>.
51015 (__strchrnul): Don't use BP_SYM.
51016 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51017 <bp-sym.h> and <bp-asm.h>.
51018 (strlen): Don't use BP_SYM.
51019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51020 <bp-sym.h> and <bp-asm.h>.
51021 (strncmp): Don't use BP_SYM.
51022 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51023 <bp-sym.h> and <bp-asm.h>.
51024 (__strnlen): Don't use BP_SYM.
51025 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51026 <bp-asm.h>.
51027 (__mpn_rshift): Don't use BP_SYM.
51028 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51029 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51030 <bp-sym.h> and <bp-asm.h>.
51031 (__sigsetjmp): Don't use BP_SYM.
51032 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51033 (L(start_addresses)): Don't use BP_SYM.
51034 (_start): Likewise.
51035 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51036 <bp-asm.h>.
51037 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51038 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51039 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51040 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51041 <bp-asm.h>.
51042 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51043 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51044 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51045 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51046 <bp-asm.h>.
51047 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51048 comments.
51049 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51050 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51051 <bp-asm.h>.
51052 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
51053 FIXME comments.
51054 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51055 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51056 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51057 <bp-asm.h>.
51058 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51059 comment.
51060 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51061 and <bp-asm.h>.
51062 (strncmp): Don't use BP_SYM,
51063 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51064 <bp-asm.h>.
51065 (__mpn_sub_n): Don't use BP_SYM.
51066 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51067 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51068 and <bp-asm.h>.
51069 (__mpn_submul_1): Don't use BP_SYM.
51070 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51072 <bp-sym.h> and <bp-asm.h>.
51073 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51075 <bp-sym.h> and <bp-asm.h>.
51076 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51077 comment.
51078
51079 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51080
51081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51082 Use ZK to minimize writes to Z.
51083 (sub_magnitudes): Simplify code a bit.
51084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51085 Use ZK to minimize writes to Z.
51086 (sub_magnitudes): Simplify code a bit.
51087
51088 2013-02-27 Roland McGrath <roland@hack.frob.com>
51089
51090 * csu/gmon-start.c: Add special exception to license text.
51091
51092 2013-02-27 Richard Henderson <rth@redhat.com>
51093
51094 * scripts/config.guess: Update from config.git.
51095 * scripts/config.sub: Likewise.
51096
51097 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51098
51099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51100
51101 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51102
51103 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51104
51105 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51106
51107 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51108
51109 2013-02-26 Roland McGrath <roland@hack.frob.com>
51110
51111 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51112 [$(build-shared = yes].
51113
51114 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51115
51116 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51117 (__mul): Reduce iterations for calculating mantissa.
51118
51119 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51120 MPTWO.
51121 (__mpranred): Likewise.
51122
51123 [BZ #15160]
51124 * malloc/memusagestat.c (main): Draw graphs for heap and stack
51125 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51126
51127 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
51128
51129 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51130 Define __attribute__.
51131
51132 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51133
51134 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51135 unused.
51136 * posix/regex_internal.h (__attribute): Remove.
51137 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51138 (re_string_context_at): Likewise.
51139 (bitset_not): Use __attribute__ and mark function as possibly
51140 unused.
51141 (bitset_merge): Likewise.
51142 (bitset_mask): Likewise.
51143 (re_string_char_size_at): Likewise.
51144 (re_string_wchar_at): Likewise.
51145 (re_string_elem_size_at): Likewise.
51146
51147 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51148
51149 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51150 code.
51151 (cc32): Likewise.
51152
51153 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51154 (__acr): Likewise.
51155 (__cpy): Likewise.
51156 (norm): Likewise.
51157 (denorm): Likewise.
51158 (__dbl_mp): Likewise.
51159 (add_magnitudes): Likewise.
51160 (sub_magnitudes): Likewise.
51161 (__mul): Likewise.
51162 (__inv): Likewise.
51163
51164 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51165 style.
51166
51167 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51168 style.
51169
51170 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51171 code.
51172
51173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51174 up changes with default code.
51175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51176 Likewise.
51177
51178 2013-02-24 Allan McRae <allan@archlinux.org>
51179
51180 * manual/socket.texi (The Internet Namespace): Order menu items
51181 to match that in the file.
51182
51183 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51184 node listing of the info page menu.
51185
51186 2013-02-21 Joseph Myers <joseph@codesourcery.com>
51187
51188 [BZ #13550]
51189 * sysdeps/i386/bp-asm.h: Remove file.
51190 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51191 (PARMS): Do not use macros from bp-asm.h.
51192 (S1): Likewise.
51193 (S2): Likewise.
51194 (SIZE): Likewise.
51195 (__mpn_add_n): Do not use BP_SYM
51196 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51197 "bp-asm.h".
51198 (PARMS): Do not use macros from bp-asm.h.
51199 (S1): Likewise.
51200 (SIZE): Likewise.
51201 (__mpn_addmul_1): Do not use BP_SYM
51202 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51203 "bp-asm.h".
51204 (PARMS): Do not use macros from bp-asm.h.
51205 (SIGMSK): Likewise.
51206 (_setjmp): Likewise. Do not use BP_SYM.
51207 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51208 "bp-asm.h".
51209 (PARMS): Do not use macros from bp-asm.h.
51210 (SIGMSK): Likewise.
51211 (setjmp): Likewise. Do not use BP_SYM.
51212 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51213 "bp-asm.h".
51214 (PARMS): Do not use macros from bp-asm.h.
51215 (__frexp): Do not use BP_SYM.
51216 (frexp): Likewise.
51217 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51218 "bp-asm.h".
51219 (PARMS): Do not use macros from bp-asm.h.
51220 (__frexpf): Do not use BP_SYM.
51221 (frexpf): Likewise.
51222 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51223 "bp-asm.h".
51224 (PARMS): Do not use macros from bp-asm.h.
51225 (__frexpl): Do not use BP_SYM.
51226 (frexpl): Likewise.
51227 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51228 "bp-asm.h".
51229 (PARMS): Do not use macros from bp-asm.h.
51230 (__remquo): Do not use BP_SYM.
51231 (remquo): Likewise.
51232 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51233 "bp-asm.h".
51234 (PARMS): Do not use macros from bp-asm.h.
51235 (__remquof): Do not use BP_SYM.
51236 (remquof): Likewise.
51237 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51238 "bp-asm.h".
51239 (PARMS): Do not use macros from bp-asm.h.
51240 (__remquol): Do not use BP_SYM.
51241 (remquol): Likewise.
51242 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51243 "bp-asm.h".
51244 (PARMS): Do not use macros from bp-asm.h.
51245 (DEST): Likewise.
51246 (SRC): Likewise.
51247 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
51248 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51249 "bp-asm.h".
51250 (PARMS): Do not use macros from bp-asm.h.
51251 (strlen): Do not use BP_SYM.
51252 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51253 "bp-asm.h".
51254 (PARMS): Do not use macros from bp-asm.h.
51255 (S1): Likewise.
51256 (S2): Likewise.
51257 (SIZE): Likewise.
51258 (__mpn_add_n): Do not use BP_SYM.
51259 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51260 "bp-asm.h".
51261 (PARMS): Do not use macros from bp-asm.h.
51262 (S1): Likewise.
51263 (SIZE): Likewise.
51264 (__mpn_addmul_1): Do not use BP_SYM.
51265 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51266 weak_alias.
51267 (bzero): Likewise.
51268 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51269 "bp-asm.h".
51270 (PARMS): Do not use macros from bp-asm.h.
51271 (S): Likewise.
51272 (SIZE): Likewise.
51273 (__mpn_lshift): Do not use BP_SYM.
51274 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51275 "bp-asm.h".
51276 (PARMS): Do not use macros from bp-asm.h.
51277 (DEST): Likewise.
51278 (SRC): Likewise.
51279 (LEN): Likewise.
51280 (memcpy): Likewise. Do not use BP_SYM.
51281 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51282 libc_hidden_def and weak_alias.
51283 (mempcpy): Do not use BP_SYM in weak_alias.
51284 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51285 "bp-asm.h".
51286 (PARMS): Do not use macros from bp-asm.h.
51287 (DEST): Likewise.
51288 (LEN): Likewise.
51289 [!BZERO_P] (CHR): Likewise.
51290 (memset): Likewise. Do not use BP_SYM.
51291 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51292 "bp-asm.h".
51293 (PARMS): Do not use macros from bp-asm.h.
51294 (S1): Likewise.
51295 (SIZE): Likewise.
51296 (__mpn_mul_1): Do not use BP_SYM.
51297 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51298 "bp-asm.h".
51299 (PARMS): Do not use macros from bp-asm.h.
51300 (S): Likewise.
51301 (SIZE): Likewise.
51302 (__mpn_rshift): Do not use BP_SYM.
51303 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51304 "bp-asm.h".
51305 (PARMS): Do not use macros from bp-asm.h.
51306 (STR): Likewise.
51307 (CHR): Likewise.
51308 (strchr): Likewise. Do not use BP_SYM.
51309 (index): Do not use BP_SYM in weak_alias.
51310 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51311 "bp-asm.h".
51312 (PARMS): Do not use macros from bp-asm.h.
51313 (DEST): Likewise.
51314 (SRC): Likewise.
51315 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
51316 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51317 "bp-asm.h".
51318 (PARMS): Do not use macros from bp-asm.h.
51319 (strlen): Do not use BP_SYM.
51320 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51321 "bp-asm.h".
51322 (PARMS): Do not use macros from bp-asm.h.
51323 (S1): Likewise.
51324 (S2): Likewise.
51325 (SIZE): Likewise.
51326 (__mpn_sub_n): Do not use BP_SYM.
51327 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51328 "bp-asm.h".
51329 (PARMS): Do not use macros from bp-asm.h.
51330 (S1): Likewise.
51331 (SIZE): Likewise.
51332 (__mpn_submul_1): Do not use BP_SYM.
51333 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51334 "bp-asm.h".
51335 (PARMS): Do not use macros from bp-asm.h.
51336 (S1): Likewise.
51337 (S2): Likewise.
51338 (SIZE): Likewise.
51339 (__mpn_add_n): Do not use BP_SYM.
51340 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51341 weak_alias.
51342 (bzero): Likewise.
51343 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51344 "bp-asm.h".
51345 (PARMS): Do not use macros from bp-asm.h.
51346 (BLK2): Likewise.
51347 (LEN): Likewise.
51348 (memcmp): Do not use BP_SYM.
51349 (bcmp): Do not use BP_SYM in weak_alias.
51350 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
51351 "bp-asm.h".
51352 (PARMS): Do not use macros from bp-asm.h.
51353 (DEST): Likewise.
51354 (SRC): Likewise.
51355 (LEN): Likewise.
51356 (memcpy): Likewise. Do not use BP_SYM.
51357 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
51358 "bp-asm.h".
51359 (PARMS): Do not use macros from bp-asm.h.
51360 (DEST): Likewise.
51361 (SRC): Likewise.
51362 (LEN): Likewise.
51363 (memmove): Likewise. Do not use BP_SYM.
51364 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
51365 "bp-asm.h".
51366 (PARMS): Do not use macros from bp-asm.h.
51367 (DEST): Likewise.
51368 (SRC): Likewise.
51369 (LEN): Likewise.
51370 (__mempcpy): Likewise. Do not use BP_SYM.
51371 (mempcpy): Do not use BP_SYM in weak_alias.
51372 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
51373 "bp-asm.h".
51374 (PARMS): Do not use macros from bp-asm.h.
51375 (DEST): Likewise.
51376 (LEN): Likewise.
51377 [!BZERO_P] (CHR): Likewise.
51378 (memset): Likewise. Do not use BP_SYM.
51379 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
51380 "bp-asm.h".
51381 (PARMS): Do not use macros from bp-asm.h.
51382 (STR2): Likewise.
51383 (strcmp): Do not use BP_SYM.
51384 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
51385 "bp-asm.h".
51386 (PARMS): Do not use macros from bp-asm.h.
51387 (STR): Likewise.
51388 (DELIM): Likewise.
51389 [USE_AS_STRTOK_R] (SAVE): Likewise.
51390 (FUNCTION): Likewise. Do not use BP_SYM.
51391 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
51392 aliases.
51393 (strtok_r): Likewise.
51394 (__GI___strtok_r): Likewise.
51395 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51396 (PARMS): Do not use macros from bp-asm.h.
51397 (S): Likewise.
51398 (SIZE): Likewise.
51399 (__mpn_lshift): Do not use BP_SYM.
51400 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51401 (PARMS): Do not use macros from bp-asm.h.
51402 (STR): Likewise.
51403 (CHR): Likewise.
51404 (__memchr): Do not use BP_SYM.
51405 (memchr): Do not use BP_SYM in weak_alias.
51406 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51407 (PARMS): Do not use macros from bp-asm.h.
51408 (BLK2): Likewise.
51409 (LEN): Likewise.
51410 (memcmp): Do not use BP_SYM.
51411 (bcmp): Do not use BP_SYM in weak_alias.
51412 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
51413 (PARMS): Do not use macros from bp-asm.h.
51414 (S1): Likewise.
51415 (SIZE): Likewise.
51416 (__mpn_mul_1): Do not use BP_SYM.
51417 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
51418 "bp-asm.h".
51419 (PARMS): Do not use macros from bp-asm.h.
51420 (STR): Likewise.
51421 (CHR): Likewise.
51422 (__rawmemchr): Do not use BP_SYM.
51423 (rawmemchr): Do not use BP_SYM in weak_alias.
51424 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
51425 (PARMS): Do not use macros from bp-asm.h.
51426 (S): Likewise.
51427 (SIZE): Likewise.
51428 (__mpn_rshift): Do not use BP_SYM.
51429 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
51430 (PARMS): Do not use macros from bp-asm.h.
51431 (SIGMSK): Likewise.
51432 (__sigsetjmp): Likewise. Do not use BP_SYM.
51433 * sysdeps/i386/start.S: Do not include "bp-sym.h".
51434 (_start): Do not use BP_SYM.
51435 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
51436 (PARMS): Do not use macros from bp-asm.h.
51437 (DEST): Likewise.
51438 (SRC): Likewise.
51439 (__stpcpy): Likewise. Do not use BP_SYM.
51440 (stpcpy): Do not use BP_SYM in weak_alias.
51441 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
51442 "bp-asm.h".
51443 (PARMS): Do not use macros from bp-asm.h.
51444 (DEST): Likewise.
51445 (SRC): Likewise.
51446 (LEN): Likewise.
51447 (__stpncpy): Likewise. Do not use BP_SYM.
51448 (stpncpy): Do not use BP_SYM in weak_alias.
51449 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
51450 (PARMS): Do not use macros from bp-asm.h.
51451 (STR): Likewise.
51452 (CHR): Likewise.
51453 (strchr): Likewise. Do not use BP_SYM.
51454 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
51455 "bp-asm.h".
51456 (PARMS): Do not use macros from bp-asm.h.
51457 (STR): Likewise.
51458 (CHR): Likewise.
51459 (__strchrnul): Likewise. Do not use BP_SYM.
51460 (strchrnul): Do not use BP_SYM in weak_alias.
51461 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
51462 "bp-asm.h".
51463 (PARMS): Do not use macros from bp-asm.h.
51464 (STOP): Likewise.
51465 (strcspn): Do not use BP_SYM.
51466 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
51467 "bp-asm.h".
51468 (PARMS): Do not use macros from bp-asm.h.
51469 (STR): Likewise.
51470 (STOP): Likewise.
51471 (strpbrk): Likewise. Do not use BP_SYM.
51472 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
51473 "bp-asm.h".
51474 (PARMS): Do not use macros from bp-asm.h.
51475 (STR): Likewise.
51476 (CHR): Likewise.
51477 (strrchr): Likewise. Do not use BP_SYM.
51478 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
51479 (PARMS): Do not use macros from bp-asm.h.
51480 (SKIP): Likewise.
51481 (strspn): Do not use BP_SYM.
51482 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
51483 (PARMS): Do not use macros from bp-asm.h.
51484 (STR): Likewise.
51485 (DELIM): Likewise.
51486 (SAVE): Likewise.
51487 (FUNCTION): Likewise. Do not use BP_SYM.
51488 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
51489 aliases.
51490 (strtok_r): Likewise.
51491 (__GI___strtok_r): Likewise.
51492 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51493 (PARMS): Do not use macros from bp-asm.h.
51494 (S1): Likewise.
51495 (S2): Likewise.
51496 (SIZE): Likewise.
51497 (__mpn_sub_n): Do not use BP_SYM.
51498 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
51499 "bp-asm.h".
51500 (PARMS): Do not use macros from bp-asm.h.
51501 (S1): Likewise.
51502 (SIZE): Likewise.
51503 (__mpn_submul_1): Do not use BP_SYM.
51504 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
51505 <bp-sym.h>.
51506 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
51507 and <bp-asm.h>.
51508 (PARMS): Do not use macros from bp-asm.h.
51509 (FLAGS): Likewise.
51510 (PTID): Likewise.
51511 (TLS): Likewise.
51512 (CTID): Likewise.
51513 (__clone): Do not use BP_SYM.
51514 (clone): Do not use BP_SYM in weak_alias.
51515 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
51516 and <bp-asm.h>.
51517 (PARMS): Do not use macros from bp-asm.h.
51518 (LEN): Likewise.
51519 (__mmap64): Do not use BP_SYM.
51520 (mmap64): Do not use BP_SYM in weak_alias.
51521 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51522 <bp-sym.h> and <bp-asm.h>.
51523 (PARMS): Do not use macros from bp-asm.h.
51524 (__posix_fadvise64_l64): Do not use BP_SYM.
51525 * sysdeps/unix/sysv/linux/i386/semtimedop.S
51526 (PARMS): Do not use macros from bp-asm.h.
51527 (NSOPS): Likewise.
51528 (semtimedop): Do not use BP_SYM.
51529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
51530 and <bp-asm.h>.
51531
51532 2013-02-21 Allan McRae <allan@archlinux.org>
51533
51534 * manual/message.texi (Charset conversion in gettext):
51535 Move @end statement to beginning of line.
51536
51537 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51538
51539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
51540 static.
51541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51542 Likewise.
51543
51544 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
51545 (denorm): Likewise.
51546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
51547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
51548
51549 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51550
51551 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
51552 tail-call to the resolved function if pltexit isn't needed.
51553
51554 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51555
51556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
51557 or Y being zero as being unlikely.
51558 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51559 Likewise.
51560
51561 2013-02-20 Carlos O'Donell <carlos@redhat.com>
51562
51563 * manual/nss.texi (System Databases and Name Service Switch):
51564 Remove frobnicate @pxref.
51565
51566 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51567
51568 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51569 __attribute__ ((unused)) to __attribute__ ((__unused__)).
51570
51571 2013-02-20 Petr Machata <pmachata@redhat.com>
51572
51573 * elf/elf.h (R_ARM_TARGET1): New macro.
51574 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
51575 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
51576 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
51577 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
51578 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
51579 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
51580 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
51581 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
51582 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
51583 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
51584 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
51585 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
51586 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
51587 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
51588 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
51589 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
51590 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
51591 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
51592 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
51593 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
51594 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
51595 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
51596 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
51597 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
51598 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
51599 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
51600 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
51601 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
51602 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
51603 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
51604 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
51605 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
51606 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
51607 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
51608 (R_ARM_THM_GOT_BREL12): Likewise.
51609 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
51610 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
51611 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
51612 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
51613 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
51614 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
51615 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
51616 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
51617 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
51618
51619 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
51620
51621 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
51622 __attribute_used__ to __attribute__ ((unused)).
51623
51624 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51625
51626 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
51627 powerpc mpa.c.
51628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
51629 comment formatting.
51630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
51631
51632 2013-02-19 Joseph Myers <joseph@codesourcery.com>
51633
51634 [BZ #13550]
51635 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
51636 Remove macro.
51637 (ENTER): Remove both macro definitions.
51638 (LEAVE): Likewise.
51639 (CHECK_BOUNDS_LOW): Likewise.
51640 (CHECK_BOUNDS_HIGH): Likewise.
51641 (CHECK_BOUNDS_BOTH): Likewise.
51642 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
51643 (RETURN_BOUNDED_POINTER): Likewise.
51644 (RETURN_NULL_BOUNDED_POINTER): Likewise.
51645 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
51646 (POP_ERRNO_LOCATION_RETURN): Likewise.
51647 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
51648 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51649 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
51650 macros.
51651 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51652 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
51653 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
51654 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
51655 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
51656 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
51657 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
51658 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
51659 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
51660 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
51661 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
51662 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
51663 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51664 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
51665 removed macros.
51666 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51667 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
51668 macros.
51669 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51670 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
51671 * sysdeps/i386/i586/memset.S (memset): Likewise.
51672 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
51673 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51674 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
51675 macros.
51676 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51677 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
51678 Change uses of L(2) to L(out).
51679 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
51680 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
51681 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
51682 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51683 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
51684 removed macros.
51685 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51686 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
51687 macros.
51688 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51689 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
51690 (RETURN): Do not use macro LEAVE.
51691 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
51692 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
51693 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
51694 * sysdeps/i386/i686/memset.S (memset): Likewise.
51695 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
51696 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
51697 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51698 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
51699 Likewise.
51700 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51701 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
51702 L(1_2) and L(1_3) into L(1).
51703 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51704 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
51705 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51706 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
51707 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51708 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
51709 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
51710 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51711 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
51712 macros.
51713 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
51714 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51715 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
51716 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
51717 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
51718 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51719 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
51720 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
51721 * sysdeps/i386/strcspn.S (strcspn): Likewise.
51722 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
51723 * sysdeps/i386/strrchr.S (strrchr): Likewise.
51724 * sysdeps/i386/strspn.S (strspn): Likewise.
51725 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
51726 conditional code.
51727 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51728 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
51729 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
51730 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
51731 L(1_3) into L(1_1).
51732 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
51733 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51734 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
51735 macros.
51736 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51737
51738 2013-02-19 Jakub Jelinek <jakub@redhat.com>
51739
51740 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
51741 macro.
51742
51743 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
51744
51745 * math/atest-exp.c (exp_mpn): Remove ROUND.
51746 * math/atest-exp2.c (exp_mpn): Likewise.
51747 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
51748
51749 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
51750 * stdlib/tst-tls-atexit-lib.c: Likewise.
51751 * stdlib/tst-tls-atexit.c: Likewise.
51752
51753 2013-02-18 Mike Frysinger <vapier@gentoo.org>
51754
51755 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
51756 and __attribute_alloc_size__.
51757
51758 2013-02-18 Mike Frysinger <vapier@gentoo.org>
51759
51760 * include/programs/xmalloc.h: Change __attribute_alloc_size to
51761 __attribute_alloc_size__.
51762 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
51763 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
51764
51765 2013-02-18 Mike Frysinger <vapier@gentoo.org>
51766
51767 * include/programs/xmalloc.h: New file.
51768 * catgets/gencat.c: Include it.
51769 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
51770 * elf/pldd.c: Likewise.
51771 * iconv/iconv_charmap.c: Likewise.
51772 * iconv/iconvconfig.c: Likewise.
51773 * iconv/strtab.c: Likewise.
51774 * locale/programs/locale.c: Likewise.
51775 * locale/programs/localedef.h: Likewise.
51776 * locale/programs/simple-hash.c: Likewise.
51777 * nscd/nscd.h: Likewise.
51778 * nss/makedb.c: Likewise.
51779 * sysdeps/generic/ldconfig.h: Likewise.
51780
51781 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51782
51783 * Versions.def: Add GLIBC_2.18.
51784 * include/link.h (struct link_map): New member l_tls_dtor_count.
51785 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
51786 (__call_tls_dtors): Likewise.
51787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
51788 __cxa_thread_atexit_impl.
51789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51790 Likewise.
51791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51792 Likewise.
51793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51794 Likewise.
51795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51796 Likewise.
51797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
51799 Likewise.
51800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
51801 Likewise.
51802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51804 Likewise.
51805 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
51806 (tests): Add test case tst-tls-atexit.
51807 (modules-names): Add shared library for tst-tls-atexit.
51808 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
51809 (GLIBC_PRIVATE): Add __call_tls_dtors.
51810 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
51811 for libstdc++.
51812 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
51813 * stdlib/tst-tls-atexit.c: New test case.
51814 * stdlib/tst-tls-atexit-lib.c: New test case.
51815
51816 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
51817
51818 * elf/Versions (ld): Add _dl_find_dso_for_object.
51819 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
51820 * elf/dl-open.c (_dl_find_dso_for_object): New function.
51821 (dl_open_worker): Use _dl_find_dso_for_object.
51822 * elf/dl-sym.c (do_sym): Likewise.
51823 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
51824
51825 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51826
51827 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51828 Syntactic changes only.
51829 (_dl_runtime_profile): Do a tail-call to the resolved function.
51830
51831 2013-02-17 Joseph Myers <joseph@codesourcery.com>
51832
51833 [BZ #13550]
51834 * sysdeps/x86_64/bp-asm.h: Remove file.
51835 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51836 <bp-sym.h> and <bp-asm.h>.
51837 (__clone): Do not use BP_SYM.
51838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51839 <bp-sym.h> and <bp-asm.h>.
51840 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51841 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51842 "bp-asm.h".
51843 (_setjmp): Do not use BP_SYM.
51844 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51845 "bp-asm.h".
51846 (setjmp): Do not use BP_SYM.
51847 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51848 libc_hidden_def.
51849 (mempcpy): Do not use BP_SYM in weak_alias.
51850 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51851 "bp-asm.h".
51852 (strchr): Do not use BP_SYM.
51853 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51854 "bp-asm.h".
51855 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51856 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51857 (_start): Do not use BP_SYM.
51858 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51859 "bp-asm.h".
51860 (strcat): Do not use BP_SYM.
51861 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51862 "bp-asm.h".
51863 (STRCMP): Do not use BP_SYM.
51864 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51865 "bp-asm.h".
51866 (STRCPY): Do not use BP_SYM.
51867 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51868 "bp-asm.h".
51869 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51870 "bp-asm.h".
51871 (FUNCTION): Do not use BP_SYM.
51872 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51873 weak_alias.
51874 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51875
51876 2013-02-17 Andreas Jaeger <aj@suse.de>
51877
51878 * time/Versions: Sort entries.
51879 * string/Versions: Likewise.
51880 * resolv/Versions: Likewise.
51881 * posix/Versions: Likewise.
51882 * iconv/Versions: Likewise.
51883 * elf/Versions: Likewise.
51884 * wcsmbs/Versions: Likewise.
51885
51886 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51887
51888 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51889 loop termination condition.
51890
51891 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51892 variable to calculate EZ.
51893 (__sqr): Likewise.
51894
51895 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51896 the lower precision input.
51897
51898 2013-02-15 Joseph Myers <joseph@codesourcery.com>
51899
51900 [BZ #13550]
51901 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51902 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51903 (run-via-rtld-prefix): Do not handle %-bp tests.
51904 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51905 (all-object-suffixes): Remove .ob.
51906 (bppfx): Remove variable.
51907 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51908 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51909 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51910 [$(build-bounded) = yes] (libtype.ob): Likewise.
51911 * Makerules (elide-routines.ob): Remove variable.
51912 (do-tests-clean): Do not handle *-bp.out.
51913 (common-mostlyclean): Do not handle *-bp and *-bp.out.
51914 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51915 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51916 (tests): Do not include $(tests-bp.out).
51917 (xtests): Do not include $(xtests-bp.out).
51918 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51919 [$(build-bounded) = yes] ($(addprefix
51920 $(objpfx),$(binaries-bounded))): Remove rule.
51921 ($(objpfx)%-bp.out): Remove rule.
51922 * config.make.in (build-bounded): Remove variable.
51923 * crypt/Makefile [$(build-bounded) = yes]
51924 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51925 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51926 append to variable.
51927 [$(build-bounded) = yes] (install-lib): Likewise.
51928 [$(build-bounded) = yes] (generated): Likewise.
51929 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51930 Remove rule.
51931 * intl/Makefile [$(build-bounded) = yes]
51932 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51933 * math/Makefile [$(build-bounded) = yes]
51934 ($(tests:%=$(objpfx)%-bp): Likewise.
51935 * misc/Makefile [$(build-bounded) = yes]
51936 ($(objpfx)tst-tsearch-bp): Likewise.
51937 * nptl/Makeconfig (bounded-thread-library): Remove variable.
51938 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51939 Remove dependency.
51940 * string/Makefile (o-objects.ob): Remove variable.
51941 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51942 (CFLAGS-.ob): Remove variable.
51943 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51944 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51945 both definitions of variable.
51946 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51947 (ASFLAGS-.ob): Remove variable.
51948
51949 2013-02-14 Joseph Myers <joseph@codesourcery.com>
51950
51951 [BZ #13550]
51952 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51953 Remove __BOUNDED_POINTERS__ from condition.
51954 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51955 * string/bits/string2.h [!__NO_STRING_INLINES &&
51956 !__BOUNDED_POINTERS__]: Likewise.
51957 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51958 Likewise.
51959 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51960 Remove conditional code.
51961 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51962 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51963 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51964 condition.
51965
51966 [BZ #13550]
51967 * csu/libc-start.c: Do not include <bp-sym.h>.
51968 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51969 * elf/dl-open.c: Do not include <bp-sym.h>.
51970 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51971 * math/fegetenv.c: Do not include <bp-sym.h>.
51972 (fegetenv): Do not use BP_SYM in versioned symbols.
51973 * nptl/sysdeps/pthread/bits/libc-lockP.h
51974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51975 <bp-sym.h>.
51976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51977 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51979 (__pthread_mutex_destroy): Likewise.
51980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51981 (__pthread_mutex_lock): Likewise.
51982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51983 (__pthread_mutex_trylock): Likewise.
51984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51985 (__pthread_mutex_unlock): Likewise.
51986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51987 (__pthread_mutexattr_init): Likewise.
51988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51989 (__pthread_mutexattr_destroy): Likewise.
51990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51991 (__pthread_mutexattr_settype): Likewise.
51992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51993 (__pthread_rwlock_init): Likewise.
51994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51995 (__pthread_rwlock_destroy): Likewise.
51996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51997 (__pthread_rwlock_rdlock): Likewise.
51998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51999 (__pthread_rwlock_tryrdlock): Likewise.
52000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52001 (__pthread_rwlock_wrlock): Likewise.
52002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52003 (__pthread_rwlock_trywrlock): Likewise.
52004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52005 (__pthread_rwlock_unlock): Likewise.
52006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52007 (__pthread_key_create): Likewise.
52008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52009 (__pthread_setspecific): Likewise.
52010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52011 (__pthread_getspecific): Likewise.
52012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52013 Likewise.
52014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52015 (_pthread_cleanup_push_defer): Likewise.
52016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52017 (_pthread_cleanup_pop_restore): Likewise.
52018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52019 (pthread_setcancelstate): Likewise.
52020 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52021 <bp-sym.h>.
52022 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52023 (memchr): Do not use BP_SYM in weak_alias.
52024 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52025 (fegetenv): Do not use BP_SYM in versioned symbols.
52026 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52027 (fesetenv): Do not use BP_SYM in versioned symbols.
52028 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52029 (feupdateenv): Do not use BP_SYM in versioned symbols.
52030 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52031 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52032 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52033 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52034 (open64): Do not use BP_SYM in weak_alias.
52035 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52036 (fegetenv): Do not use BP_SYM in versioned symbols.
52037 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52038 (fesetenv): Do not use BP_SYM in versioned symbols.
52039 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52040 (feupdateenv): Do not use BP_SYM in versioned symbols.
52041 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52042 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52043 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52044 (feraiseexcept): Do not use BP_SYM in versioned symbols.
52045 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52046 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52047 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52048 <bp-sym.h>.
52049 (__libc_start_main): Do not use BP_SYM.
52050
52051 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52052
52053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52054 redundant return line.
52055 (norm): Likewise.
52056 (denorm): Likewise.
52057 (dbl_mp): Likewise.
52058 (sub_magnitudes): Likewise.
52059 (__add): Likewise.
52060 (__sub): Likewise.
52061 (__mul): Likewise.
52062 (__inv): Likewise.
52063 (__dvd): Likewise.
52064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52065 (norm): Likewise.
52066 (denorm): Likewise.
52067 (dbl_mp): Likewise.
52068 (sub_magnitudes): Likewise.
52069 (__add): Likewise.
52070 (__sub): Likewise.
52071 (__mul): Likewise.
52072 (__inv): Likewise.
52073 (__dvd): Likewise.
52074
52075 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52076 instead of __mul.
52077 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52078 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52079 (cc32): Likewise.
52080
52081 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52082 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52084 of __mul for squares.
52085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52086 function
52087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52088 Likewise.
52089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52090 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52091
52092 2013-02-13 Joseph Myers <joseph@codesourcery.com>
52093
52094 [BZ #13550]
52095 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52096 code.
52097 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52098 prototype or function definition. Rename ubp_* variables and
52099 parameters. Remove argv definitions conditional on
52100 [__BOUNDED_POINTERS__].
52101 * debug/backtrace.c (__backtrace): Do not use __unbounded.
52102 * elf/dl-runtime.c (_dl_fixup): Likewise.
52103 * include/set-hooks.h (RUN_HOOK): Likewise.
52104 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52105 definition.
52106 * string/strcpy.c (strcpy): Do not use __unbounded.
52107 * sysdeps/generic/frame.h (struct layout): Likewise.
52108 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52109 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52110 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52111 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52112 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52113 (__backtrace): Likewise.
52114 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52115 use __ptrvalue.
52116 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52117 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52118 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52119 Likewise.
52120 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52121 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52122 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52123 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52124 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52125 Do not use __unbounded.
52126 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52127 Rename __unboundedrlimits parameter to rlimits in prototype.
52128 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52129 Do not use __unbounded.
52130 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52131 not use __ptrvalue.
52132 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52133 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52134 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52135 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52136 __ptrvalue or __unbounded.
52137 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52138 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52139 use __unbounded.
52140 (__new_msgctl): Do not use __ptrvalue.
52141 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52142 __unbounded.
52143 (__libc_msgrcv): Do not use __ptrvalue.
52144 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52145 startup_info): Do not use __unbounded.
52146 (__libc_start_main): Likewise. Rename ubp_* variables and
52147 parameters. Remove argv definitions conditional on
52148 [__BOUNDED_POINTERS__].
52149 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52150 __ptrvalue.
52151 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52152 use __unbounded.
52153 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52154 or __ptrvalue.
52155 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52156 use __unbounded.
52157 (__new_shmctl): Do not use __ptrvalue.
52158 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52159 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52160 Likewise.
52161 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52162 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52163 (__libc_sigaction): Likewise.
52164 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52165 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52166 Likewise.
52167 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52168
52169 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
52170
52171 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52172
52173 * string/mempcpy.c: Implement by calling memcpy.
52174
52175 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52176
52177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52178
52179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52180 evaluation.
52181
52182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52183 values in the mantissa.
52184
52185 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52186 minimize writes to Z.
52187 (sub_magnitudes): Simplify code a bit.
52188
52189 2013-02-12 Roland McGrath <roland@hack.frob.com>
52190
52191 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52192 from the message. The linker prefixes all warnings with that already.
52193
52194 2013-02-12 Andreas Schwab <schwab@suse.de>
52195
52196 [BZ #15078]
52197 * posix/regexec.c (extend_buffers): Add parameter min_len.
52198 (check_matching): Pass minimum needed length.
52199 (clean_state_log_if_needed): Likewise.
52200 (get_subexp): Likewise.
52201 * posix/Makefile (tests): Add bug-regex34.
52202 (bug-regex34-ENV): Define.
52203 * posix/bug-regex34.c: New file.
52204
52205 [BZ #11561]
52206 * posix/regcomp.c (parse_bracket_exp): When looking up collating
52207 elements compare against the byte sequence of it, not its name.
52208 * posix/Makefile (tests): Add bug-regex35.
52209 (bug-regex35-ENV): Define.
52210 * posix/bug-regex35.c: New file.
52211
52212 2013-02-11 Tom de Vries <tom@codesourcery.com>
52213
52214 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
52215 comment.
52216 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52217 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52218 (CHECK_EOL): Add undef.
52219
52220 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
52221
52222 * bits/stdlib-bsearch.h: New file.
52223 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52224 * stdlib/stdlib.h: Likewise.
52225
52226 2013-02-11 Roland McGrath <roland@hack.frob.com>
52227
52228 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52229 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52230 declaration.
52231 * manual/search.texi (Array Search Function): Add missing const in
52232 lfind prototype.
52233 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52234 declaration to use rlim_t.
52235 (Basic Scheduling Functions): Remove erroneous const from
52236 sched_getparam prototype. Remove erroneous * from
52237 sched_get_priority_max and sched_get_priority_min prototypes.
52238 (Resource Usage): Fix summary @comment on vtimes to refer to
52239 sys/vtimes.h rather than vtimes.h.
52240 Add missing *s in vtimes prototype.
52241 (Limits on Resources): Fix ulimit prototype to return long int.
52242 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52243 prototypes to use long int rather than double.
52244 (BSD Random): Fix initstate and setstate to use char *, not void *.
52245 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52246 prototype to make second argument 'struct aiocb64 *const[]'.
52247 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52248 (Status of AIO Operations): Remove erroneous const in aio_return and
52249 aio_return64 prototypes.
52250 (Synchronizing I/O): Fix sync prototype to return void.
52251 * manual/startup.texi (Suboptions): Remove an erroneous const in
52252 getsubopt prototype.
52253 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52254 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52255 use size_t rather than int.
52256 (Scanning All Users): Likewise for getpwent_r.
52257 (Setting Groups): Add missing const to setgroups prototype.
52258 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52259 * manual/socket.texi (Host Names): Fix gethostbyaddr and
52260 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52261 'const void *' rather than 'const char *'.
52262 (Host Address Functions): Likewise for inet_ntop.
52263 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52264 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52265 ssize_t for return value.
52266 (Sending Data): Likewise for send, sendto, sendmsg.
52267 (Socket Option Functions): Add a missing const in setsockopt prototype.
52268 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52269 use wchar_t for the argument.
52270 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52271 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52272 take no arguments.
52273 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52274 double/float/long double for second argument.
52275 Fix return types of significand, significandf, significandl.
52276 * manual/filesys.texi (Setting Permissions): Use mode_t for second
52277 argument in fchmod prototype.
52278 (File Owner): Use uid_t and gid_t in fchown prototype.
52279 (File Times): Add const to utimes, futimes, and lutimes prototypes.
52280 (Making Special Files): Use mode_t and dev_t in mknod prototype.
52281 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52282 use 'const struct dirent **' as argument types to CMP function pointer
52283 argument.
52284 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52285 (File Times): Fix summary magic @comment for struct utimbuf and utime
52286 to refer to utime.h, not time.h.
52287 * manual/string.texi (Argz Functions): Add missing const in
52288 argz_extract and argz_next prototypes.
52289 (Finding Tokens in a String): Likewise for basename.
52290 (String/Array Comparison): Fix typo in wcscasecmp prototype.
52291 (Copying and Concatenation): Fix typo in wmemmove prototype.
52292 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52293 (Signal Stack): Remove erroneous const in sigstack prototype.
52294 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52295 prototype.
52296 (Simple Calendar Time): Likewise for stime.
52297 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52298 prototype.
52299 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52300 say sys/sysctl.h instead.
52301 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52302 and vsyslog prototypes.
52303
52304 2013-02-11 Tom de Vries <tom@codesourcery.com>
52305
52306 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52307 Remove.
52308
52309 2013-02-11 Roland McGrath <roland@hack.frob.com>
52310
52311 * misc/sys/mman.h: Fix typo in mremap comment.
52312
52313 2013-02-08 Roland McGrath <roland@hack.frob.com>
52314
52315 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52316 the '\0' terminator.
52317
52318 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52319
52320 [BZ #13550]
52321 * debug/segfault.c: Don't include <bp-checks.h>.
52322 * sysdeps/generic/bp-checks.h: Remove file.
52323 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52324 (__GETDENTS): Don't use CHECK_N.
52325 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52326 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52327 (__getgroups): Don't use CHECK_N.
52328 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52329 (setgroups): Don't use CHECK_N.
52330 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52331 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52332 (__libc_msgrcv): Don't use CHECK_N.
52333 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52334 (__libc_msgsnd): Don't use CHECK_N.
52335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52336 <bp-checks.h>.
52337 (__libc_pread): Don't use CHECK_N.
52338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52339 include <bp-checks.h>.
52340 (__libc_pread64): Don't use CHECK_N.
52341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52342 include <bp-checks.h>.
52343 (__libc_pwrite): Don't use CHECK_N.
52344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52345 include <bp-checks.h>.
52346 (__libc_pwrite64): Don't use CHECK_N.
52347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
52348 <bp-checks.h>.
52349 (__libc_pread): Don't use CHECK_N.
52350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
52351 include <bp-checks.h>.
52352 (__libc_pread64): Don't use CHECK_N.
52353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
52354 include <bp-checks.h>.
52355 (__libc_pwrite): Don't use CHECK_N.
52356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
52357 include <bp-checks.h>.
52358 (__libc_pwrite64): Don't use CHECK_N.
52359 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
52360 (do_pread): Don't use CHECK_N.
52361 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
52362 (do_pread64): Don't use CHECK_N.
52363 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
52364 (do_pwrite): Don't use CHECK_N.
52365 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
52366 (do_pwrite64): Don't use CHECK_N.
52367 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
52368 (__libc_readv): Don't use CHECK_N.
52369 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
52370 (semop): Don't use CHECK_N.
52371 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
52372 <bp-checks.h>.
52373 (semtimedop): Don't use CHECK_N.
52374 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
52375 (__libc_pread): Don't use CHECK_N.
52376 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
52377 <bp-checks.h>.
52378 (__libc_pread64): Don't use CHECK_N.
52379 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
52380 <bp-checks.h>.
52381 (__libc_pwrite): Don't use CHECK_N.
52382 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
52383 <bp-checks.h>.
52384 (__libc_pwrite64): Don't use CHECK_N.
52385 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
52386 <bp-checks.h>.
52387 (__libc_msgrcv): Don't use CHECK_N.
52388 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
52389 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
52390 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
52391 (__libc_writev): Don't use CHECK_N.
52392
52393 2013-02-08 Roland McGrath <roland@hack.frob.com>
52394
52395 * string/strcpy.c: Removed unused variable.
52396
52397 * Makeconfig (+sysdep-includes): Define with := rather than =.
52398 Use an existing include/ subdir of each sysdeps dir before it.
52399
52400 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52401
52402 * nscd/connection.c (register_traced_file): Comment function.
52403 [HAVE_INOTIFY] (union __inev): Define.
52404 [HAVE_INOTIFY] (inotify_check_files): New function.
52405 [HAVE_INOTIFY] (clear_db_cache): Likewise.
52406 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
52407 clear_db_cache.
52408 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
52409
52410 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52411
52412 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
52413 loaded if not already and that a failure is permanent.
52414
52415 2013-02-08 Carlos O'Donell <carlos@redhat.com>
52416
52417 [BZ #15006]
52418 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
52419 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
52420
52421 2013-02-08 Joseph Myers <joseph@codesourcery.com>
52422
52423 [BZ #13550]
52424 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
52425 (CHECK_1_NULL_OK): Likewise.
52426 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
52427 (__fxstat): Do not use CHECK_1.
52428 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
52429 <bp-checks.h>.
52430 (___fxstat64): Do not use CHECK_1.
52431 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
52432 <bp-checks.h>.
52433 (__fxstatat): Do not use CHECK_1.
52434 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
52435 <bp-checks.h>.
52436 (__fxstatat64): Do not use CHECK_1.
52437 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
52438 <bp-checks.h>.
52439 (__fxstat): Do not use CHECK_1.
52440 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
52441 <bp-checks.h>.
52442 (__fxstatat): Do not use CHECK_1.
52443 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
52444 <bp-checks.h>.
52445 (__getresgid): Do not use CHECK_1.
52446 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
52447 <bp-checks.h>.
52448 (__getresuid): Do not use CHECK_1.
52449 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
52450 <bp-checks.h>.
52451 (__lxstat): Do not use CHECK_1.
52452 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
52453 <bp-checks.h>.
52454 (__old_msgctl): Do not use CHECK_1.
52455 (__new_msgctl): Likewise.
52456 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
52457 <bp-checks.h>.
52458 (__new_setrlimit): Do not use CHECK_1.
52459 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
52460 <bp-checks.h>.
52461 (__old_shmctl): Do not use CHECK_1.
52462 (__new_shmctl): Likewise.
52463 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
52464 <bp-checks.h>.
52465 (__xstat): Do not use CHECK_1.
52466 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
52467 (__lxstat): Do not use CHECK_1.
52468 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
52469 <bp-checks.h>.
52470 (___lxstat64): Do not use CHECK_1.
52471 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
52472 (__old_msgctl): Do not use CHECK_1.
52473 (__new_msgctl): Likewise.
52474 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
52475 <bp-checks.h>.
52476 (__gettimeofday): Do not use CHECK_1.
52477 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
52478 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
52479 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
52480 <bp-checks.h>.
52481 (__gettimeofday): Do not use CHECK_1.
52482 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
52483 (__old_shmctl): Do not use CHECK_1_NULL_OK.
52484 (__new_shmctl): Do not use CHECK_1.
52485 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
52486 <bp-checks.h>.
52487 (do_sigtimedwait): Do not use CHECK_1.
52488 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
52489 <bp-checks.h>.
52490 (do_sigwaitinfo): Do not use CHECK_1.
52491 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
52492 <bp-checks.h>.
52493 (msgctl): Do not use CHECK_1.
52494 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
52495 <bp-checks.h>.
52496 (shmctl): Do not use CHECK_1.
52497 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
52498 (ustat): Do not use CHECK_1.
52499 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
52500 <bp-checks.h>.
52501 (__fxstat): Do not use CHECK_1.
52502 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
52503 <bp-checks.h>.
52504 (__fxstatat): Do not use CHECK_1.
52505 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
52506 <bp-checks.h>.
52507 (__lxstat): Do not use CHECK_1.
52508 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
52509 <bp-checks.h>.
52510 (__xstat): Do not use CHECK_1.
52511 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
52512 (__xstat): Do not use CHECK_1.
52513 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
52514 (___xstat64): Do not use CHECK_1.
52515
52516 [BZ #13550]
52517 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
52518 definitions.
52519 (CHECK_BOUNDS_HIGH): Likewise.
52520 * string/strcpy.c: Do not include <bp-checks.h>.
52521 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
52522
52523 2013-02-07 Roland McGrath <roland@hack.frob.com>
52524
52525 * nscd/nscd-client.h (__nscd_drop_map_ref):
52526 Add __attribute__ ((unused)).
52527 * nis/nss-nisplus.h (niserr2nss): Likewise.
52528
52529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
52530 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
52531
52532 * csu/libc-tls.c (init_static_tls, init_slotinfo):
52533 Remove inline keyword.
52534 * include/rounding-mode.h (round_away): Likewise.
52535 * libio/wfileops.c (adjust_wide_data): Likewise.
52536 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
52537 (__m128i_strloadu_tolower): Likewise.
52538 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
52539 (__m128i_strloadu_tolower): Likewise.
52540 * time/mktime.c (ydhms_diff): Likewise.
52541 * locale/elem-hash.h (elem_hash): Likewise.
52542 * locale/setlocale.c (setdata): Likewise.
52543 * posix/regex_internal.h (re_string_char_size_at): Likewise.
52544 (re_string_wchar_at): Likewise.
52545 (bitset_not, bitset_merge, bitset_mask): Likewise.
52546 [!(__GNUC__ > 3)] (inline): Remove macro.
52547 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
52548 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
52549 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
52550 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
52551 * string/memcmp.c (memcmp_bytes): Likewise.
52552 * locale/programs/locarchive.c (compute_hashval): Likewise.
52553 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
52554 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
52555 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
52556 * nss/getent.c (print_rpc, print_protocols): Likewise.
52557 (print_passwd, print_group, print_aliases): Likewise.
52558 * nis/nss-nisplus.h (niserr2nss): Likewise.
52559 * nscd/connections.c (restart_p): Likewise.
52560 Change return type to bool.
52561
52562 2013-02-05 Roland McGrath <roland@hack.frob.com>
52563
52564 * Makeconfig (all-Depend-files): Add existing
52565 $(sorted-subdirs:=/Depend) files.
52566 (all-subdirs): Remove nss.
52567 * sysdeps/unix/inet/Subdirs: Add it here instead.
52568 * hesiod/Depend: New file.
52569
52570 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
52571 instead of calling alloca.
52572
52573 * io/lseek.c (__lseek): Rename to __libc_lseek.
52574 Define __lseek as an alias.
52575
52576 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
52577
52578 2013-02-04 Carlos O'Donell <carlos@redhat.com>
52579
52580 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
52581 else clause and remove check for non-standard endianness.
52582
52583 2013-02-04 David S. Miller <davem@davemloft.net>
52584
52585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52586
52587 2013-02-04 Joseph Myers <joseph@codesourcery.com>
52588
52589 [BZ #13550]
52590 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
52591 (__ubp_memchr): Remove prototype.
52592 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
52593 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52594 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
52595 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
52596 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
52597 Remove alias.
52598 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
52599 (__ubp_memchr): Likewise.
52600 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
52601 (__ubp_memchr): Likewise.
52602 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
52603 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
52604 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
52605 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
52606 CHECK_STRING.
52607 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52608 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
52609 (__getcwd): Do not use CHECK_STRING.
52610 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
52611 <bp-checks.h>.
52612 (__real_chown): Do not use CHECK_STRING.
52613 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
52614 <bp-checks.h>.
52615 (fchownat): Do not use CHECK_STRING.
52616 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
52617 CHECK_STRING.
52618 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
52619 <bp-checks.h>.
52620 (__lchown): Do not use CHECK_STRING.
52621 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52622 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52623 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52624 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
52625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
52626 include <bp-checks.h>.
52627 (truncate64): Do not use CHECK_STRING.
52628 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
52629 <bp-checks.h>.
52630 (__real_chown): Do not use CHECK_STRING.
52631 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
52632 <bp-checks.h>.
52633 (__lchown): Do not use CHECK_STRING.
52634 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
52635 <bp-checks.h>.
52636 (__chown): Do not use CHECK_STRING.
52637 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
52638 <bp-checks.h>.
52639 (truncate64): Do not use CHECK_STRING.
52640 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
52641 Likewise.
52642 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
52643 (__xmknod): Do not use CHECK_STRING.
52644 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
52645 <bp-checks.h>.
52646 (__xmknodat): Do not use CHECK_STRING.
52647 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52648 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
52649
52650 2013-02-04 Andreas Schwab <schwab@suse.de>
52651
52652 [BZ #14142]
52653 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
52654 * include/netdb.h: Likewise for h_errno.
52655 * elf/tst-stackguard1.c: Include <tls.h>.
52656
52657 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
52658
52659 * elf/link.h (struct link_map): Extend the l_addr comment.
52660 * include/link.h (struct link_map): Likewise.
52661
52662 2013-02-01 Joseph Myers <joseph@codesourcery.com>
52663
52664 [BZ #13550]
52665 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
52666 (BOUNDED_1): Remove macro.
52667 * debug/backtrace.c: Don't include <bp-checks.h>.
52668 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
52669 (__backtrace): Likewise.
52670 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
52671 <bp-checks.h>.
52672 (__backtrace): Don't use BOUNDED_1.
52673 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
52674 <bp-checks.h>.
52675 (__backtrace): Don't use BOUNDED_1.
52676 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
52677 (__backtrace): Don't use BOUNDED_1.
52678 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
52679 (shmat): Don't use BOUNDED_N.
52680
52681 2013-01-31 Joseph Myers <joseph@codesourcery.com>
52682
52683 [BZ #13550]
52684 * sysdeps/generic/bp-start.h: Remove file.
52685 * csu/libc-start.c: Don't include <bp-start.h>.
52686 (LIBC_START_MAIN): Set up __environ directly instead of using
52687 INIT_ARGV_and_ENVIRON.
52688 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
52689 <bp-start.h>.
52690
52691 [BZ #13550]
52692 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
52693 definitions.
52694 (CHECK_FCNTL): Likewise.
52695 (CHECK_N_PAGES): Likewise.
52696
52697 [BZ #13550]
52698 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
52699 definitions.
52700 (CHECK_SIGSET_NULL_OK): Likewise.
52701 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
52702 <bp-checks.h>.
52703 (sigpending): Don't use CHECK_SIGSET.
52704 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
52705 <bp-checks.h>.
52706 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52707 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
52708 <bp-checks.h>.
52709 (do_sigsuspend): Don't use CHECK_SIGSET.
52710 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
52711 use CHECK_SIGSET.
52712 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52713 (do_sigwait): Don't use CHECK_SIGSET.
52714 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
52715 use CHECK_SIGSET.
52716 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
52717 include <bp-checks.h>.
52718 (sigpending): Don't use CHECK_SIGSET.
52719 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
52720 include <bp-checks.h>.
52721 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52722 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
52723 <bp-checks.h>.
52724 (sigpending): Don't use CHECK_SIGSET.
52725 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
52726 <bp-checks.h>.
52727 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
52728
52729 [BZ #13550]
52730 * sysdeps/generic/bp-semctl.h: Remove file.
52731 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52732 <bp-checks.h> and <bp-semctl.h>.
52733 (__old_semctl): Don't use CHECK_SEMCTL.
52734 (__new_semctl): Likewise.
52735 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
52736 and <bp-semctl.h>.
52737 (__old_semctl): Don't use CHECK_SEMCTL.
52738 (__new_semctl): Likewise.
52739 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
52740 <bp-checks.h> and <bp-semctl.h>.
52741 (__old_semctl): Don't use CHECK_SEMCTL.
52742 (__new_semctl): Likewise.
52743 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
52744 <bp-checks.h> and <bp-semctl.h>.
52745 (semctl): Don't use CHECK_SEMCTL.
52746
52747 [BZ #13550]
52748 * Makerules (elide-bp-thunks): Remove variable.
52749 (elide-routines.oS): Don't use $(elide-bp-thunks).
52750 (elide-routines.os): Likewise.
52751 (elide-routines.o): Likewise.
52752 (elide-routines.op): Likewise.
52753 (elide-routines.og): Likewise.
52754 (objects): Don't use $(bp-thunks).
52755 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
52756 include.
52757 (common-generated): Do not add s-proto-bp.d.
52758 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
52759 (int): Likewise.
52760 (typ): Likewise.
52761 Do not generate makefile rules for bounded-pointer thunks.
52762 * sysdeps/generic/bp-thunks.h: Remove file.
52763 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
52764 * sysdeps/unix/s-proto-bp.S: Likewise.
52765
52766 [BZ #15062]
52767 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
52768 parts of result separately when argument is not close to line from
52769 -i to i and one part of argument is small.
52770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
52771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
52772 * math/libm-test.inc (cacos_test): Add more tests.
52773 (casin_test): Likewise.
52774 (casinh_test): Likewise.
52775 * sysdeps/i386/fpu/libm-test-ulps: Update.
52776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52777
52778 2013-01-31 David S. Miller <davem@davemloft.net>
52779
52780 * po/de.po: Update from translation team.
52781
52782 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
52783
52784 * time/tzfile.c: Include stdint.h for SIZE_MAX.
52785
52786 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
52787
52788 * configure.in (_AC_PROG_CC_C89): New definition.
52789 * configure: Regenerate.
52790
52791 * configure.in (AC_PROG_CPP): New definition.
52792 * configure: Regenerate.
52793
52794 2013-01-23 Joseph Myers <joseph@codesourcery.com>
52795
52796 * debug/tst-backtrace.h: New file.
52797 * debug/tst-backtrace2.c: Include tst-backtrace.h.
52798 (ret): Remove variable.
52799 (x): Likewise.
52800 (FAIL): Remove macro.
52801 (NO_INLINE): Likewise.
52802 (fn1): Use match function instead of strstr.
52803 * debug/tst-backtrace3.c: Include tst-backtrace.h.
52804 (ret): Remove variable.
52805 (x): Likewise.
52806 (FAIL): Remove macro.
52807 (NO_INLINE): Likewise.
52808 (fn): Use match function instead of strstr.
52809 * debug/tst-backtrace4.c: Include tst-backtrace.h.
52810 (ret): Remove variable.
52811 (x): Likewise.
52812 (FAIL): Remove macro.
52813 (NO_INLINE): Likewise.
52814 (handle_signal): Use match function instead of strstr.
52815 * debug/tst-backtrace5.c: Include tst-backtrace.h.
52816 (ret): Remove variable.
52817 (x): Likewise.
52818 (FAIL): Remove macro.
52819 (NO_INLINE): Likewise.
52820 (handle_signal): Use match function instead of strstr.
52821
52822 2013-01-23 Roland McGrath <roland@hack.frob.com>
52823
52824 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
52825
52826 2013-01-23 David S. Miller <davem@davemloft.net>
52827
52828 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52829 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52830 argument of CAS if possible.
52831 * sysdeps/sparc/sparc64/bits/atomic.h
52832 (__arch_compare_and_exchange_val_32_acq): Likewise.
52833 (__arch_compare_and_exchange_val_64_acq): Likewise.
52834
52835 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
52836
52837 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52838 * sysdeps/posix/ulimit.c: ... this.
52839 Include <limits.h>.
52840 * sysdeps/unix/bsd/ulimit.c: Remove file.
52841
52842 2013-01-23 Adam Conrad <adconrad@0c3.net>
52843
52844 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52845 (LDFLAGS-tst-array5): Likewise.
52846
52847 2013-01-23 Joseph Myers <joseph@codesourcery.com>
52848
52849 [BZ #15036]
52850 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52851 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52852 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52854
52855 2013-01-21 David S. Miller <davem@davemloft.net>
52856
52857 * sysdeps/sparc/backtrace.c: New file.
52858 * sysdeps/sparc/sparc32/backtrace.h: New file.
52859 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52860 * sysdeps/sparc/sparc64/backtrace.h: New file.
52861 * sysdeps/sparc/sparc64/backtrace.c: Delete.
52862 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52863 -funwind-tables.
52864
52865 2013-01-21 Andreas Schwab <schwab@suse.de>
52866
52867 [BZ #15020]
52868 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52869 closed its stdout.
52870
52871 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
52872
52873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52874 "mpa2.h".
52875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52876
52877 2013-01-18 Joseph Myers <joseph@codesourcery.com>
52878 Mark Mitchell <mark@codesourcery.com>
52879 Tom de Vries <tom@codesourcery.com>
52880 Paul Pluzhnikov <ppluzhnikov@google.com>
52881
52882 * debug/tst-backtrace2.c: New file.
52883 * debug/tst-backtrace3.c: Likewise.
52884 * debug/tst-backtrace4.c: Likewise.
52885 * debug/tst-backtrace5.c: Likewise.
52886 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52887 (CFLAGS-tst-backtrace3.c): Likewise.
52888 (CFLAGS-tst-backtrace4.c): Likewise.
52889 (CFLAGS-tst-backtrace5.c): Likewise.
52890 (LDFLAGS-tst-backtrace2): Likewise.
52891 (LDFLAGS-tst-backtrace3): Likewise.
52892 (LDFLAGS-tst-backtrace4): Likewise.
52893 (LDFLAGS-tst-backtrace5): Likewise.
52894 (tests): Add new tests tst-backtrace2, tst-backtrace3,
52895 tst-backtrace4 and tst-backtrace5.
52896
52897 2013-01-18 Anton Blanchard <anton@samba.org>
52898 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52899
52900 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52901 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52902 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52903 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52905 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52906 "+r" and remove output regs list as redundant. Add explicit inline
52907 asm to specify register of return val to work around compiler codegen
52908 bug. Remove (int) cast on return value. Add return type parameter to
52909 use in macro so that this macro does not truncate return value for
52910 64-bit values.
52911 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52912 pass to INTERNAL_VSYSCALL_NCS.
52913 (INLINE_VSYSCALL): Add 'long int' as return type to
52914 INTERNAL_VSYSCALL_NCS macro invocation.
52915 (INTERNAL_VSYSCALL): Add 'long int' as return type to
52916 INTERNAL_VSYSCALL_NCS macro invocation.
52917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52918
52919 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52920
52921 [BZ #14496]
52922 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52923 Fix application of SIMD FP exception mask.
52924
52925 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52926 mp_no from a power of two.
52927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52928 __mpexp_twomm1. Use __pow_mp.
52929
52930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52931 multiplication.
52932
52933 2013-01-17 David S. Miller <davem@davemloft.net>
52934
52935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52936
52937 2013-01-17 Joseph Myers <joseph@codesourcery.com>
52938
52939 [BZ #15023]
52940 * include/complex.h: Condition contents on [!_COMPLEX_H].
52941 (__kernel_casinhf): New prototype.
52942 (__kernel_casinh): Likewise.
52943 (__kernel_casinhl): Likewise.
52944 * math/Makefile (libm_calls): Add k_casinh.
52945 * math/k_casinh.c: New file.
52946 * math/k_casinhf.c: Likewise.
52947 * math/k_casinhl.c: Likewise.
52948 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52949 finite nonzero arguments.
52950 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52951 finite nonzero arguments.
52952 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52953 finite nonzero arguments.
52954 * math/s_casinh.c: Do not include <float.h>.
52955 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52956 * math/s_casinhf.c: Do not include <float.h>.
52957 (__casinhf): Move code for finite nonzero arguments to
52958 k_casinhf.c.
52959 * math/s_casinhl.c: Do not include <float.h>.
52960 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52961 redefine.
52962 (__casinhl): Move code for finite nonzero arguments to
52963 k_casinhl.c.
52964 * math/libm-test.inc (cacos_test): Add more tests.
52965 * sysdeps/i386/fpu/libm-test-ulps: Update.
52966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52967
52968 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
52969
52970 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52971 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52972 [!HAVE_MREMAP]: Remove [defined linux] case.
52973 * malloc/arena.c: Do not include <malloc-sysdep.h>.
52974
52975 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
52976
52977 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52978
52979 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
52980
52981 * elf/elf.h (R_386_SIZE32): New relocation.
52982 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52983 R_386_SIZE32.
52984 (elf_machine_rela): Likewise.
52985 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52986 R_X86_64_SIZE64 and R_X86_64_SIZE32.
52987
52988 2013-01-17 Joseph Myers <joseph@codesourcery.com>
52989
52990 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52991 (FP_FAST_FMA): Do not define.
52992 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52993 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52994 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52995 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52996 !_SOFT_FLOAT]: Likewise.
52997 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52998 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52999 value.
53000 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53001 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53002 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53003 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53004 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53005 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53006 file.
53007
53008 2013-01-16 Andreas Schwab <schwab@suse.de>
53009
53010 [BZ #14327]
53011 * include/stdlib.h (__mktemp): Add declaration.
53012 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53013 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53014
53015 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
53016
53017 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53018 definitions.
53019 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53020 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53021 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53022 definitions here.
53023 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53024 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53025 definitions.
53026 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53027 and ONE.
53028 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53029 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53030 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53031 definitions.
53032 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53033 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53034 definitions.
53035 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53036
53037 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53038
53039 2013-01-15 David S. Miller <davem@davemloft.net>
53040
53041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53042 trunc{,f} to libm-sysdep_routes.
53043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53045 file.
53046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53048 file.
53049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53050 file.
53051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53053 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53054 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53055 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53056 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53057 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53058 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53059
53060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53061 nearbyint{,f} to libm-sysdep_routes.
53062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53064 New file.
53065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53066 file.
53067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53068 New file.
53069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53070 file.
53071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53073 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53074 file.
53075 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53076 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53077 file.
53078 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53079 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53080 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53081
53082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53083 libc_feholdexcept and libc_fesetenv.
53084
53085 2013-01-15 Mike Frysinger <vapier@gentoo.org>
53086
53087 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53088
53089 2013-01-14 David S. Miller <davem@davemloft.net>
53090
53091 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53092 (SPARC_ASM_VIS2_IFUNC): Likewise.
53093 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53095 use of 'siam' instruction.
53096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53097 Likewise.
53098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53099 Likewise.
53100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53101 Likewise.
53102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53107 file.
53108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53109 file.
53110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53111 file.
53112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53113 file.
53114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53119 new VIS2 routines.
53120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53123 Likewise.
53124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53129 routines to libm-sysdep_routines.
53130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53131
53132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53133 fdim/fdimf to libm-sysdep_routines.
53134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53135 file.
53136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53138 file.
53139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53142 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53143 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53144 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53145 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53146
53147 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53148
53149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53150 to optimize copies.
53151
53152 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53154 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53155
53156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53157 local variable MPTWO.
53158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53159 Likewise.
53160
53161 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53162
53163 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53164 GLOB_NOESCAPE.
53165
53166 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53167
53168 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53169
53170 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53171
53172 * manual/pattern.texi (glob_t): Document gl_flags.
53173 (glob64_t): Likewise.
53174
53175 2013-01-11 David S. Miller <davem@davemloft.net>
53176
53177 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53178 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53179 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
53180 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53181 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53182 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53183 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53184 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53185 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53186 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53187 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53188 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53189 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53190
53191 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53192 sparc V9 rather than using V8 code.
53193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53195
53196 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53197 Move to...
53198 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53199 Here.
53200
53201 2013-01-11 Roland McGrath <roland@hack.frob.com>
53202
53203 [BZ #14941]
53204 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53205 not in the main loop.
53206 * configure: Regenerated.
53207
53208 2013-01-11 Joseph Myers <joseph@codesourcery.com>
53209
53210 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53211 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53212 to just #else.
53213 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
53214 [!__GLIBC_HAVE_LONG_LONG] case.
53215 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53216 condition to just #else.
53217 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53218 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53219 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53220 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53221 unconditional.
53222 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53223 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53224 #elif condition to just #else.
53225 * sysdeps/unix/sysv/linux/sys/sysmacros.h
53226 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53227 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53228 #elif condition to just #else.
53229
53230 2013-01-11 Steve Ellcey <sellcey@mips.com>
53231
53232 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53233 (EF_MIPS_ARCH_64): Fix value.
53234 (EF_MIPS_ARCH_32R2): New.
53235 (EF_MIPS_ARCH_64R2): New.
53236
53237 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
53238
53239 * Makeconfig (+link-pie-before-libc): New.
53240 (+link-pie-after-libc): Likewise.
53241 (+link-pie-tests): Likewise.
53242 (+link-pie): Rewritten.
53243 (link-before-libc): Remove $(config-LDFLAGS).
53244 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53245 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53246 (config-LDFLAGS): Renamed to ...
53247 (rtld-LDFLAGS): This.
53248 (rtld-tests-LDFLAGS): New macro.
53249 (link-libc-rpath-link): Likewise.
53250 (link-libc-tests-rpath-link): Likewise.
53251 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53252 (link-libc): Prepand $(link-libc-rpath-link).
53253 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53254 (test-program-prefix): New macro.
53255 (test-via-rtld-prefix): Likewise.
53256 (test-program-cmd): Likewise.
53257 (host-test-program-cmd): Likewise.
53258 * Makefile ($(common-objpfx)testrun.sh): Replace
53259 $(run-program-prefix) with $(test-program-prefix).
53260 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53261 $(rtld-LDFLAGS).
53262 ($(common-objpfx)shlib.lds): Likewise.
53263 (build-module-helper): Likewise.
53264 ($(common-objpfx)format.lds): Likewise.
53265 * Rules (binaries-pie-tests): New.
53266 (binaries-pie-notests): Likewise.
53267 (binaries-pie): Rewritten.
53268 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53269 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53270 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53271 (make-test-out): Replace $(host-built-program-cmd) with
53272 $(host-test-program-cmd).
53273 * config.make.in (build-hardcoded-path-in-tests): New variable.
53274 * configure.in (--enable-hardcoded-path-in-tests): New configure
53275 option.
53276 (hardcoded_path_in_tests): New AC_SUBST.
53277 * configure: Regenerated.
53278 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53279 $(built-program-cmd) with $(test-program-cmd).
53280 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53281 (test_program_cmd): This.
53282 * elf/Makefile ($(objpfx)order.out): Run test with
53283 $(test-program-prefix).
53284 ($(objpfx)order2.out): Likewise.
53285 ($(objpfx)tst-initorder.out): Likewise.
53286 ($(objpfx)tst-initorder2.out): Likewise.
53287 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53288 $(test-program-cmd).
53289 ($(objpfx)tst-array1-static.out): Likewise.
53290 ($(objpfx)tst-array2.out): Likewise.
53291 ($(objpfx)tst-array3.out): Likewise.
53292 ($(objpfx)tst-array4.out): Likewise.
53293 ($(objpfx)tst-array5.out): Likewise.
53294 ($(objpfx)tst-array5-static.out): Likewise.
53295 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53296 $(test-program-cmd).
53297 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53298 $(run-program-prefix) with $(test-program-prefix).
53299 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53300 (test_program_prefix): This.
53301 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53302 $(run-program-prefix) with $(test-program-prefix).
53303 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53304 (test_program_prefix): This.
53305 * iconvdata/tst-tables.sh: Likewise.
53306 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53307 $(run-program-prefix) with $(test-program-prefix).
53308 ($(objpfx)tst-translit.out): Likewise.
53309 ($(objpfx)tst-gettext2.out): Likewise.
53310 ($(objpfx)tst-gettext4.out): Likewise.
53311 ($(objpfx)tst-gettext6.out): Likewise.
53312 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53313 (test_program_prefix): This.
53314 * intl/tst-gettext2.sh: Likewise.
53315 * intl/tst-gettext4.sh Likewise.
53316 * intl/tst-gettext6.sh: Likewise.
53317 * intl/tst-translit.sh: Likewise.
53318 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53319 with $(test-program-cmd).
53320 * libio/Makefile ($(objpfx)test-freopen.out): Replace
53321 $(run-program-prefix) with $(test-program-prefix).
53322 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53323 (test_program_prefix): This.
53324 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53325 $(run-program-prefix) with $(test-program-prefix).
53326 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53327 (test_program_prefix): This.
53328 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53329 * posix/Makefile ($(objpfx)globtest.out): Replace
53330 $(run-via-rtld-prefix) and $(test-wrapper) with
53331 $(test-program-prefix) and $(test-via-rtld-prefix).
53332 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53333 $(test-program-prefix).
53334 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53335 $(host-test-program-cmd).
53336 (tst-spawn-ARGS): Likewise.
53337 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53338 $(test-program-prefix).
53339 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53340 (test_via_rtld_prefix): This.
53341 (test_wrapper): Renamed to ...
53342 (test_program_prefix): This.
53343 (run_program_prefix): Replaced by test_program_prefix.
53344 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53345 (test_program_prefix): This.
53346 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
53347 with $(host-test-program-cmd).
53348 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
53349 $(run-program-prefix) with $(test-program-prefix).
53350 ($(objpfx)tst-printf.out): Likewise.
53351 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
53352 $(test-program-cmd).
53353 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
53354 (test_program_prefix): This.
53355 * stdio-common/tst-unbputc.sh: Likewise.
53356 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
53357 $(run-program-prefix) with $(test-program-prefix).
53358 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
53359 (test_program_prefix): This.
53360 * string/Makefile ($(objpfx)tst-svc.out): Replace
53361 $(built-program-cmd) with $(test-program-cmd).
53362
53363 2013-01-11 Andreas Jaeger <aj@suse.de>
53364
53365 [BZ #15003]
53366 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
53367 value. Sync with Linux 3.7.
53368
53369 2013-01-10 David S. Miller <davem@davemloft.net>
53370
53371 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
53372 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53373 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53374
53375 2013-01-10 Roland McGrath <roland@hack.frob.com>
53376
53377 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
53378 never set.
53379 * configure: Regenerated.
53380
53381 2013-01-10 David S. Miller <davem@davemloft.net>
53382
53383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53384 sparc V9 rather than using V8 code.
53385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53387
53388 2013-01-10 Roland McGrath <roland@hack.frob.com>
53389
53390 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
53391 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
53392 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
53393 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
53394 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
53395 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
53396 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
53397 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
53398 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
53399 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
53400 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
53401 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
53402 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
53403 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
53404 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
53405 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
53406 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
53407 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
53408 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
53409 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
53410 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
53411 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
53412 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
53413 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
53414 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
53415 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
53416 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
53417
53418 2013-01-10 David S. Miller <davem@davemloft.net>
53419
53420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53421
53422 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53423
53424 * posix/Makefile (tests-static): New variable.
53425 (tests): Add $(tests-static).
53426 (tst-exec-static-ARGS): New variable.
53427 (tst-spawn-static-ARGS): Likewise.
53428 * posix/tst-exec-static.c: New file.
53429 * posix/tst-spawn-static.c: Likewise.
53430 * posix/tst-exec.c: Support run directly.
53431 * posix/tst-spawn.c: Likewise.
53432
53433 2013-01-10 Joseph Myers <joseph@codesourcery.com>
53434
53435 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
53436 long.
53437 * math/bits/mathcalls.h (llrint): Likewise.
53438 (llround): Likewise.
53439 * stdlib/stdlib.h (struct drand48_data): Likewise.
53440 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
53441 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
53442 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
53443 Likewise.
53444 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
53445 Likewise.
53446 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
53447 (elf_greg_t): Likewise.
53448 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
53449 (__jmp_buf): Likewise.
53450 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
53451 definitions.
53452 (llrint): Likewise, for all definitions.
53453 (llrintl): Likewise.
53454
53455 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
53456 Remove [__GNUC__] condition.
53457 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
53458 condition to just [__USE_ISOC99].
53459 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
53460
53461 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
53462
53463 [BZ #14200]
53464 * sysdeps/unix/sysv/linux/x86/bits/environments.h
53465 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
53466 defined.
53467 (_POSIX_V6_ILP32_OFF32): Likewise.
53468 (_XBS5_ILP32_OFF32): Likewise.
53469 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
53470 (__ILP32_OFFBIG_LDFLAGS): Likewise.
53471
53472 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53473
53474 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
53475
53476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
53477 doubles __mpexp_twomm1. Adjust usage.
53478 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
53479 Remove.
53480
53481 2013-01-10 Andreas Schwab <schwab@suse.de>
53482
53483 [BZ #14964]
53484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
53485 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
53486
53487 2013-01-09 David S. Miller <davem@davemloft.net>
53488
53489 [BZ #15003]
53490 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
53491 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
53492 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
53493 (TCP_FASTOPEN): Define.
53494 (tcp_repair_opt): New structure.
53495 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
53496 enum values.
53497 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
53498 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
53499 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
53500 (tcp_cookie_transactions): New structure.
53501
53502 2013-01-09 Anton Blanchard <anton@samba.org>
53503
53504 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
53505 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
53506 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
53507 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
53508
53509 2013-01-09 Joseph Myers <joseph@codesourcery.com>
53510
53511 * include/features.h (__USE_ANSI): Remove.
53512
53513 2013-01-09 Roland McGrath <roland@hack.frob.com>
53514
53515 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
53516
53517 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
53518
53519 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
53520
53521 * sysdeps/s390/fpu/libm-test-ulps: Update.
53522
53523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53524
53525 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
53526 (__acr): Likewise.
53527 (__cpy): Likewise.
53528 (norm): Likewise.
53529 (denorm): Likewise.
53530 (__mp_dbl): Likewise.
53531 (__dbl_mp): Likewise.
53532 (add_magnitudes): Likewise.
53533 (sub_magnitudes): Likewise.
53534 (__add): Likewise.
53535 (__sub): Likewise.
53536 (__mul): Likewise.
53537 (__inv): Likewise.
53538 (__dvd): Likewise.
53539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
53540 (__acr): Likewise.
53541 (__cpy): Likewise.
53542 (norm): Likewise.
53543 (denorm): Likewise.
53544 (__mp_dbl): Likewise.
53545 (__dbl_mp): Likewise.
53546 (add_magnitudes): Likewise.
53547 (sub_magnitudes): Likewise.
53548 (__add): Likewise.
53549 (__sub): Likewise.
53550 (__mul): Likewise.
53551 (__inv): Likewise.
53552 (__dvd): Likewise.
53553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
53554 (__acr): Likewise.
53555 (__cpy): Likewise.
53556 (norm): Likewise.
53557 (denorm): Likewise.
53558 (__mp_dbl): Likewise.
53559 (__dbl_mp): Likewise.
53560 (add_magnitudes): Likewise.
53561 (sub_magnitudes): Likewise.
53562 (__add): Likewise.
53563 (__sub): Likewise.
53564 (__mul): Likewise.
53565 (__inv): Likewise.
53566 (__dvd): Likewise.
53567
53568 2013-01-08 Joseph Myers <joseph@codesourcery.com>
53569
53570 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
53571 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
53572 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
53573 2 && __USE_EXTERN_INLINES]: Likewise.
53574
53575 2013-01-08 Andreas Jaeger <aj@suse.de>
53576
53577 [BZ# 14985]
53578 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
53579 Remove.
53580 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53581 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
53582
53583 2013-01-07 Anton Blanchard <anton@samba.org>
53584
53585 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
53586 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
53587 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
53588 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
53589 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53591 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
53592 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53594 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53595 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53599 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
53600 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53601 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53602 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53603 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
53604 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53605 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
53606 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
53607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53608 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
53609 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
53610 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53611 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53612 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
53613 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
53614 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53615 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
53616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53617 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53618 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
53619 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
53620 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53621 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53622 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53623 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
53624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
53626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53627 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
53628
53629 2013-01-07 Joseph Myers <joseph@codesourcery.com>
53630
53631 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
53632 (__MALLOC_PMT): Likewise.
53633 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
53634 [__GNUC__], only on [_LIBC].
53635 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53636 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
53637 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
53638 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
53639 forward declaration.
53640 (realloc_hook_ini): Likewise.
53641 (memalign_hook_ini): Likewise.
53642 (__libc_memalign): Do not use __MALLOC_PMT in variable
53643 declaration.
53644 (__libc_valloc): Likewise.
53645 (__libc_pvalloc): Likewise.
53646 (__libc_calloc): Likewise.
53647 (__posix_memalign): Likewise.
53648
53649 [BZ #14996]
53650 * math/s_casinh.c: Include <float.h>.
53651 (__casinh): Do not do computation with squaring and square root
53652 for large arguments.
53653 * math/s_casinhf.c: Include <float.h>.
53654 (__casinhf): Do not do computation with squaring and square root
53655 for large arguments.
53656 * math/s_casinhl.c: Include <float.h>.
53657 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
53658 (__casinhl): Do not do computation with squaring and square root
53659 for large arguments.
53660 * math/libm-test.inc (casin_test): Add more tests.
53661 (casinh_test): Likewise.
53662 * sysdeps/i386/fpu/libm-test-ulps: Update.
53663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53664
53665 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
53666
53667 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
53668 (__x86_64_raw_data_cache_size): Likewise.
53669 (__x86_64_data_cache_size_half): Likewise.
53670 (__x86_64_raw_data_cache_size_half): Likewise.
53671 (__x86_64_shared_cache_size): Likewise.
53672 (__x86_64_raw_shared_cache_size): Likewise.
53673 (__x86_64_shared_cache_size_half): Likewise.
53674 (__x86_64_raw_shared_cache_size_half): Likewise.
53675 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
53676 to ...
53677 (__x86_data_cache_size): This.
53678 (__x86_64_raw_data_cache_size): Renamed to ...
53679 (__x86_raw_data_cache_size): This.
53680 (__x86_64_data_cache_size_half): Renamed to ...
53681 (__x86_data_cache_size_half): This.
53682 (__x86_64_raw_data_cache_size_half): Renamed to ...
53683 (__x86_raw_data_cache_size_half): This.
53684 (__x86_64_shared_cache_size): Renamed to ...
53685 (__x86_shared_cache_size): This.
53686 (__x86_64_raw_shared_cache_size): Renamed to ...
53687 (__x86_raw_shared_cache_size): This.
53688 (__x86_64_shared_cache_size_half): Renamed to ...
53689 (__x86_shared_cache_size_half): This.
53690 (__x86_64_raw_shared_cache_size_half): Renamed to ...
53691 (__x86_raw_shared_cache_size_half): This.
53692 * sysdeps/x86_64/memcpy.S: Updated.
53693 * sysdeps/x86_64/memset.S: Likewise.
53694 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
53695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53697
53698 2013-01-04 David S. Miller <davem@davemloft.net>
53699
53700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53701
53702 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
53703
53704 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
53705 1 to avoid redefinition warning.
53706 (__USE_GNU): Don't define.
53707 (init_signaling_nan): Protoize.
53708
53709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53710
53711 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53712
53713 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
53714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
53715 (__cpymn): Likewise.
53716 (norm): Remove commented code.
53717 (denorm): Likewise.
53718 (__mp_dbl): Likewise.
53719 (__inv): Likewise.
53720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
53721 (__cpymn): Likewise.
53722 (norm): Remove commented code.
53723 (denorm): Likewise.
53724 (__mp_dbl): Likewise.
53725 (__inv): Likewise.
53726
53727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
53728 mp_no value for 1.0 and 2.0.
53729 (norm): Use RADIXI instead of radixi.d.
53730 (denorm): Likewise.
53731 (__mul): Use 0.0 instead of zero.d.
53732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
53733 mp_no value for 1.0 and 2.0.
53734 (norm): Use RADIXI instead of radixi.d.
53735 (denorm): Likewise.
53736 (__mul): Use 0.0 instead of zero.d.
53737
53738 2013-01-04 Joseph Myers <joseph@codesourcery.com>
53739
53740 [BZ #14994]
53741 * math/s_casinh.c (__casinh): Reduce finite argument to first
53742 quadrant then set signs of results at the end.
53743 * math/s_casinhf.c (__casinhf): Likewise.
53744 * math/s_casinhl.c (__casinhl): Likewise.
53745 * math/libm-test.inc (casin_test): Add more tests.
53746 (casinh_test): Likewise.
53747 * sysdeps/i386/fpu/libm-test-ulps: Update.
53748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53749
53750 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53751
53752 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
53753
53754 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
53755
53756 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
53757 declarations.
53758 (denorm): Likewise.
53759 (__mp_dbl): Likewise.
53760 (__inv): Likewise.
53761
53762 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
53763 and adjust the header comment.
53764
53765 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
53766 variable name from declaration.
53767
53768 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
53769
53770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53771 Initialize COMMON_CPUID_INDEX_7 element.
53772 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
53773 (CPUID_RTM): Likewise.
53774 (HAS_RTM): Likewise.
53775 (COMMON_CPUID_INDEX_7): New enum.
53776
53777 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
53778
53779 [BZ #14981]
53780 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
53781 size is zero, record memory as freed.
53782
53783 2013-01-03 Andreas Jaeger <aj@suse.de>
53784
53785 * po/ia.po: Add new Interlingua translation.
53786
53787 2012-01-03 Allan McRae <allan@archlinux.org>
53788
53789 * locale/programs/localedef.c: Fix description of '--posix' flag.
53790
53791 2013-01-02 Joseph Myers <joseph@codesourcery.com>
53792
53793 * NEWS: Update dates in second copyright notice.
53794 * README: Update copyright dates in example.
53795 * manual/libc.texinfo: Update copyright dates.
53796 * scripts/test-installation.pl: Update copyright date in --version
53797 output.
53798
53799 * hurd/ctty-input.c: Fix copyright notice formatting.
53800 * hurd/ctty-output.c: Likewise.
53801 * hurd/dtable.c: Likewise.
53802 * hurd/hurd-raise.c: Likewise.
53803 * hurd/hurdprio.c: Likewise.
53804 * hurd/msgportdemux.c: Likewise.
53805 * misc/sys/file.h: Likewise.
53806 * misc/sys/ioctl.h: Likewise.
53807 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53808 * sysdeps/mach/hurd/chdir.c: Likewise.
53809 * sysdeps/mach/hurd/fchdir.c: Likewise.
53810 * sysdeps/mach/hurd/rename.c: Likewise.
53811 * sysdeps/mach/hurd/rmdir.c: Likewise.
53812 * sysdeps/mach/hurd/seekdir.c: Likewise.
53813 * sysdeps/mach/hurd/setsid.c: Likewise.
53814 * sysdeps/posix/wait3.c: Likewise.
53815
53816 * All files with FSF copyright notices: Update copyright dates
53817 using scripts/update-copyrights.
53818 * intl/plural.c: Regenerated.
53819 * locale/programs/charmap-kw.h: Likewise.
53820 * locale/programs/locfile-kw.h: Likewise.
53821
53822 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
53823
53824 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
53825 four values.
53826
53827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
53828 calculation loop and add branch prediction.
53829
53830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53831 check access beyond bounds of m1np.
53832
53833 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53834 MPTWO.
53835 (__inv): Remove local variable MPTWO to use the global
53836 constant.
53837 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53839 variable MPTWO.
53840 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53841 MP3HALFS static const.
53842
53843 2013-01-01 David S. Miller <davem@davemloft.net>
53844
53845 * po/ca.po: Update from translation team.
53846
53847 2013-01-01 Joseph Myers <joseph@codesourcery.com>
53848
53849 * scripts/update-copyrights: New file.
53850 * Makeconfig: Reformat copyright notice.
53851 * ctype/ctype.h: Likewise.
53852 * debug/swprintf_chk.c: Likewise.
53853 * elf/dl-cache.c: Likewise.
53854 * elf/dl-debug.c: Likewise.
53855 * elf/dl-object.c: Likewise.
53856 * grp/initgroups.c: Likewise.
53857 * hurd/Makefile: Likewise.
53858 * hurd/hurd/signal.h: Likewise.
53859 * hurd/hurdfault.c: Likewise.
53860 * hurd/hurdioctl.c: Likewise.
53861 * hurd/hurdlookup.c: Likewise.
53862 * hurd/intr-msg.c: Likewise.
53863 * iconv/gconv_open.c: Likewise.
53864 * libio/swprintf.c: Likewise.
53865 * locale/lc-ctype.c: Likewise.
53866 * locale/nl_langinfo.c: Likewise.
53867 * mach/Machrules: Likewise.
53868 * mach/Makefile: Likewise.
53869 * malloc/obstack.h: Likewise.
53870 * manual/Makefile: Likewise.
53871 * manual/tsort.awk: Likewise.
53872 * misc/bits/stab.def: Likewise.
53873 * nis/nis_print_group_entry.c: Likewise.
53874 * nis/nis_table.c: Likewise.
53875 * nis/nss_compat/compat-pwd.c: Likewise.
53876 * nis/nss_compat/compat-spwd.c: Likewise.
53877 * po/Makefile: Likewise.
53878 * posix/fnmatch.c: Likewise.
53879 * posix/regex.h: Likewise.
53880 * resolv/Makefile: Likewise.
53881 * resolv/nss_dns/dns-network.c: Likewise.
53882 * resolv/res_hconf.c: Likewise.
53883 * scripts/gen-sorted.awk: Likewise.
53884 * soft-fp/soft-fp.h: Likewise.
53885 * stdio-common/printf.h: Likewise.
53886 * stdlib/monetary.h: Likewise.
53887 * stdlib/random.c: Likewise.
53888 * stdlib/random_r.c: Likewise.
53889 * sysdeps/generic/Makefile: Likewise.
53890 * sysdeps/gnu/Makefile: Likewise.
53891 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53893 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53898 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53899 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53901 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53902 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53903 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53904 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53905 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53906 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53907 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53909 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53911 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53912 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53913 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53914 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53915 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53917 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53918 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53919 * sysdeps/mach/hurd/errnos.awk: Likewise.
53920 * sysdeps/mach/hurd/fork.c: Likewise.
53921 * sysdeps/mach/hurd/getcwd.c: Likewise.
53922 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53923 * sysdeps/mach/hurd/mmap.c: Likewise.
53924 * sysdeps/mach/hurd/utimes.c: Likewise.
53925 * sysdeps/mach/hurd/xmknod.c: Likewise.
53926 * sysdeps/posix/profil.c: Likewise.
53927 * sysdeps/posix/readdir_r.c: Likewise.
53928 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53929 * sysdeps/powerpc/bits/setjmp.h: Likewise.
53930 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53931 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53933 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53934 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53935 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53937 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53938 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53939 * sysdeps/pthread/lio_listio.c: Likewise.
53940 * sysdeps/sparc/dl-procinfo.h: Likewise.
53941 * sysdeps/unix/i386/sysdep.S: Likewise.
53942 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53943 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53944 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53945 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53947 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53948 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53949 * sysdeps/unix/sysv/linux/speed.c: Likewise.
53950 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53951 * sysdeps/wordsize-32/divdi3.c: Likewise.
53952 * time/sys/time.h: Likewise.
53953 * wcsmbs/Makefile: Likewise.
53954
53955 2013-01-01 David S. Miller <davem@davemloft.net>
53956
53957 * po/fr.po: Update from translation team.
53958
53959 * catgets/gencat.c: Update copyright year.
53960 * csu/version.c: Likewise.
53961 * debug/catchsegv.sh: Likewise.
53962 * debug/pcprofiledump.c: Likewise.
53963 * debug/xtrace.sh: Likewise.
53964 * elf/ldconfig.c: Likewise.
53965 * elf/ldd.bash.in: Likewise.
53966 * elf/pldd.c: Likewise.
53967 * elf/sotruss.ksh: Likewise.
53968 * elf/sprof.c: Likewise.
53969 * iconv/iconv_prog.c: Likewise.
53970 * iconv/iconvconfig.c: Likewise.
53971 * locale/programs/locale.c: Likewise.
53972 * locale/programs/localedef.c: Likewise.
53973 * login/programs/pt_chown.c: Likewise.
53974 * malloc/memusage.sh: Likewise.
53975 * malloc/memusagestat.c: Likewise.
53976 * malloc/mtrace.pl: Likewise.
53977 * nscd/nscd.c: Likewise.
53978 * nss/getent.c: Likewise.
53979 * nss/makedb.c: Likewise.
53980 * posix/getconf.c: Likewise.
53981
53982 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
53983
53984 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53985 numbers.
53986
53987 2012-12-30 Mike Frysinger <vapier@gentoo.org>
53988
53989 * math/bits/mathcalls.h (modf): Use __nonnull.
53990
53991 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53992
53993 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53994 (split): Use macro CN instead of the bare value.
53995 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53996 could be used.
53997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53998 instead of the bare value.
53999 (power1): Likewise.
54000
54001 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54002
54003 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54004 __ATAN_TWOM.
54005 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54006
54007 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54008 their values.
54009 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54010 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54011 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54012 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54013
54014 2012-12-28 Andreas Jaeger <aj@suse.de>
54015
54016 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
54017 values are from Linux 3.7.
54018
54019 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54020 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
54021
54022 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54023
54024 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54025 TRUE case.
54026
54027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54028 (norm): Likewise.
54029 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54030 variables with preprocessor constants.
54031 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54032 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54033 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54034
54035 2012-12-27 Bruno Haible <bruno@clisp.org>
54036
54037 [BZ #14317]
54038 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54039 only if needed.
54040
54041 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54042
54043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54044 and use variable directly.
54045 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54046
54047 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54048 MPONE.
54049 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54050 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54051 variable MPONE.
54052 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54054 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54055 include directive. Remove local variable MPONE.
54056 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54057 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54058 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54059
54060 2012-12-25 David S. Miller <davem@davemloft.net>
54061
54062 * version.h (RELEASE): Set to "development".
54063 (VERSION): Set to "2.17.90".
54064 * NEWS: Add 2.18 section.
54065
54066 2012-12-21 David S. Miller <davem@davemloft.net>
54067
54068 * po/hr.po: Update from translation team.
54069
54070 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54071
54072 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54073
54074 2012-12-19 Steve Ellcey <sellcey@mips.com>
54075
54076 * NEWS: Mention new memcpy for MIPS.
54077
54078 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54079
54080 * manual/contrib.texi (Contributors): Spelling correction.
54081
54082 2012-12-15 David S. Miller <davem@davemloft.net>
54083
54084 * po/ru.po: Update from translation team.
54085
54086 2012-12-13 David S. Miller <davem@davemloft.net>
54087
54088 * NEWS: Mention IFUNC testsuite enhancements.
54089
54090 * po/pl.po: Update from translation team.
54091 * po/bg.po: Likewise.
54092
54093 * manual/contrib.texi (Contributors): Update entries for Hongjiu
54094 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
54095
54096 2012-12-11 David S. Miller <davem@davemloft.net>
54097
54098 * po/sv.po: Update from translation team.
54099
54100 * po/vi.po: Update from translation team.
54101
54102 * po/cs.po: Update from translation team.
54103
54104 * po/de.po: Update from translation team.
54105 * po/eo.po: Likewise.
54106 * po/nl.po: Likewise.
54107
54108 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54109
54110 [BZ #14246]
54111 * manual/argp.texi (Argp Helper Functions): Move node to follow
54112 Argp Parsing State.
54113
54114 [BZ #14872]
54115 * manual/conf.texi (Limits on File System Capacity): Mention if
54116 terminating null is included in the max size.
54117
54118 2012-12-10 Andreas Jaeger <aj@suse.de>
54119
54120 * po/cs.po: Update from translation team.
54121
54122 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54123
54124 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54125 void pointer and cast to uintptr_t.
54126 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54127 path.
54128 * sysdeps/s390/s390-64/memcpy.S: Likewise.
54129 * sysdeps/s390/s390-64/memset.S: Likewise.
54130
54131 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
54132
54133 [BZ #14833]
54134 * menual/message.texi (Message Translation): Fix typos.
54135 (Helper programs for gettext): Likewise.
54136
54137 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
54138
54139 [BZ #14898]
54140 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54141 Change to -1.
54142
54143 2012-12-07 David S. Miller <davem@davemloft.net>
54144
54145 * po/libc.pot: Update.
54146
54147 2012-12-07 Richard Henderson <rth@redhat.com>
54148
54149 [BZ #10114]
54150 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54151 normal/normal case to before the switch.
54152 (_FP_DIV): Likewise.
54153
54154 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
54155 Mike Frysinger <vapier@gentoo.org>
54156
54157 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54158 check for __NR_fadvise64_64.
54159
54160 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
54161
54162 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54163 0, not just to plain "0" as a statement.
54164 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54165 with cw.
54166
54167 2012-12-06 Joseph Myers <joseph@codesourcery.com>
54168
54169 * NEWS: Use sourceware.org in Bugzilla URL.
54170
54171 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
54172
54173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54174 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54175
54176 * stdio-common/tst-put-error.c (do_test): Add newline to the
54177 padded test to ensure flush.
54178
54179 2012-12-05 Jeff Law <law@redhat.com>
54180
54181 * sunrpc/etc.rpc (fedfs_admin): Add entry.
54182
54183 2012-12-05 Joseph Myers <joseph@codesourcery.com>
54184
54185 * README: Don't refer to ports add-on as distributed separately.
54186 Mention AArch64 in list of systems supported in the ports add-on.
54187
54188 * LICENSES: Add more non-FSF copyright and license notices.
54189
54190 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54191 ((unused)).
54192
54193 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54194
54195 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54196 10000 as width of padded output.
54197
54198 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54199
54200 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54201
54202 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54203 variable LX with __attribute__ ((unused)).
54204 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54205 Likewise.
54206 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54207 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54208 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54209 with __attribute__ ((unused)).
54210
54211 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
54212
54213 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54214
54215 2012-12-04 Joseph Myers <joseph@codesourcery.com>
54216
54217 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54218 (CFLAGS-nldbl-acos.c): New variable.
54219 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54220 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54221 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54222 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54223 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54224 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54225 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54226 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54227 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54228 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54229 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54230 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54231 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54232 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54233 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54234 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54235 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54236 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54237 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54238 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54239 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54240 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54241 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54242 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54243 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54244 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54245 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54246 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54247 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54248 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54249 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54250 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54251 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54252 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54253 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54254 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54255 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54256 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54257 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54258 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54259 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54260 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54261 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54262 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54263 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54264 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54265 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54266 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54267 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54268 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54269 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54270 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54271 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54272 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54273 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54274 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54275 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54276 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54277 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54278 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54279 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54280 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54281 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54282 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54283 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54284 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54285 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54286 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54287 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54288 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54289 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54290 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54291 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54292 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54293 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54294 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54295 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54296 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54297 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54298 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54299 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54300 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54301 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54302 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54303 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54304 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54305 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54306 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54307 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54308 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54309 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54310 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54311 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54312 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54313 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54314 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54315 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54316
54317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54318 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54319
54320 [BZ #14914]
54321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54322 whole low double instead of just low 47 bits when splitting values
54323 into two parts.
54324
54325 2012-12-03 Allan McRae <allan@archlinux.org>
54326
54327 * manual/stdio.texi (Predefined Printf Handlers): Remove
54328 @hsep and @vsep usage.
54329
54330 2012-12-03 Mike Frysinger <vapier@gentoo.org>
54331
54332 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54333 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54334
54335 2012-12-03 Jeff Law <law@redhat.com>
54336
54337 * time/sys/time.h (settimeofday): Do not mark TV argument
54338 as __nonnull.
54339
54340 2012-12-01 Mike Frysinger <vapier@gentoo.org>
54341
54342 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54343 when currently writing and seek to current position when not.
54344 * libio/Makefile (tests): Remove bug-fclose1.
54345 * libio/bug-fclose1.c: Delete.
54346
54347 2012-12-01 Joseph Myers <joseph@codesourcery.com>
54348
54349 * manual/arith.texi (feenableexcept): Fix typo.
54350 (fedisableexcept): Likewise.
54351
54352 2012-11-30 Roland McGrath <roland@hack.frob.com>
54353
54354 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
54355 second, differently-typed declaration, rather than a cast.
54356
54357 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54358
54359 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
54360 * include/rpc/svc.h: ... here.
54361
54362 2012-11-30 Aurelien Jarno <aurel32@debian.org>
54363
54364 [BZ #13013]
54365 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
54366 depending n and resplen2 to catch cases where answer
54367 equals answerp2.
54368
54369 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
54370
54371 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
54372 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
54373
54374 2012-11-29 Mike Frysinger <vapier@gentoo.org>
54375
54376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
54377
54378 2012-11-29 Roland McGrath <roland@hack.frob.com>
54379
54380 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
54381
54382 2012-11-28 Jeff Law <law@redhat.com>
54383
54384 [BZ #13761]
54385 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
54386 dataset_temporary. Track alloca usage into alloca_used.
54387 If dataset is large allocate and release it via malloc/free.
54388
54389 2012-06-04 Florian Weimer <fweimer@redhat.com>
54390
54391 [BZ #14197]
54392 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
54393
54394 2012-11-28 David S. Miller <davem@davemloft.net>
54395
54396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54397
54398 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54399
54400 [BZ #14803]
54401 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
54402 of pi/2 rounded to nearest to 64 bits.
54403 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
54404 nearest to 64 bits.
54405 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
54406 bits.
54407
54408 2012-11-28 Jeff Law <law@redhat.com>
54409 Martin Osvald <mosvald@redhat.com>
54410
54411 [BZ #14889]
54412 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
54413 * sunrpc/svc.c: Include time.h.
54414 (__svc_accept_failed): New function.
54415 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
54416 any reason other than EINTR, call __svc_accept_failed.
54417 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
54418 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
54419
54420 2012-11-28 Andreas Schwab <schwab@suse.de>
54421
54422 * scripts/abilist.awk: Also handle indirect functions in .opd
54423 section.
54424
54425 2012-11-28 Joseph Myers <joseph@codesourcery.com>
54426
54427 [BZ #13881]
54428 * sysdeps/x86/fpu/powl_helper.c: New file.
54429 * sysdeps/x86/fpu/Makefile: Likewise.
54430 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
54431 (p3): New object.
54432 (__ieee754_powl): Use __powl_helper for finite arguments except
54433 integer exponents below 8.
54434 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
54435 (p3): New object.
54436 (__ieee754_powl): Use __powl_helper for finite arguments except
54437 integer exponents below 8.
54438 * math/libm-test.inc (pow_test): Add more tests and enable some
54439 previously disabled tests.
54440 * sysdeps/i386/fpu/libm-test-ulps: Update.
54441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54442
54443 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54444 Carlos O'Donell <carlos_odonell@mentor.com>
54445
54446 * nss/makedb.c (is_prime): Assert that input is odd and greater
54447 than 4. Note that fact in a comment too.
54448 (next_prime): Add 4 to input.
54449
54450 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54451
54452 [BZ #11741]
54453 * libio/Makefile (tests): Add test case tst-fwrite-error.
54454 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
54455 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
54456 * libio/tst-fwrite-error.c: New test case.
54457
54458 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
54459
54460 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
54461 before casting to void *.
54462 * include/libc-internal.h (__pointer_type): New macro.
54463 (__integer_if_pointer_type_sub): Likewise.
54464 (__integer_if_pointer_type): Likewise.
54465 (cast_to_integer): Likewise.
54466 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
54467 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
54468 before casting to atomic64_t.
54469 (atomic_exchange_acq): Likewise.
54470 (__arch_exchange_and_add_body): Likewise.
54471 (__arch_add_body): Likewise.
54472 (atomic_add_negative): Likewise.
54473 (atomic_add_zero): Likewise.
54474
54475 2012-11-26 Joseph Myers <joseph@codesourcery.com>
54476
54477 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
54478 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
54479 (add_fdes): Likewise.
54480 (linear_search_fdes): Likewise.
54481 (binary_search_unencoded_fdes): Likewise.
54482
54483 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
54484
54485 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
54486
54487 2012-11-24 Adam Conrad <adconrad@0c3.net>
54488
54489 * configure.in: Autodetect C++ header directories.
54490 * configure: Regenerated.
54491
54492 2012-11-23 Mike Frysinger <vapier@gentoo.org>
54493
54494 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
54495
54496 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
54497
54498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54499
54500 2012-11-22 Joseph Myers <joseph@codesourcery.com>
54501
54502 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
54503 LDBL_MANT_DIG == 106]: Disable some tests.
54504 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54505 Likewise.
54506 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
54507 Likewise.
54508
54509 [BZ #14871]
54510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54511 input for small inputs. Return +/- pi/2 for large inputs.
54512 * math/libm-test.inc (atan_test): Add more tests.
54513
54514 * sysdeps/generic/unwind-dw2-fde-glibc.c
54515 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
54516 __attribute__ ((unused)).
54517
54518 [BZ #14645]
54519 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
54520 x * y if x and y are nonzero and z is zero.
54521
54522 [BZ #14811]
54523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
54524 nonzero exponents with absolute value below 0x1p-117 to +/-
54525 0x1p-117.
54526
54527 [BZ #14869]
54528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
54529 up arguments below 2**-450, not just those below 2**-500.
54530 * math/libm-test.inc (hypot_test): Add another test.
54531
54532 [BZ #14868]
54533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
54534 Return a+b for ratio over 2**120, not 2**60.
54535 * math/libm-test.inc (hypot_test): Add another test.
54536
54537 * math/libm-test.inc (clog_test): Use
54538 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
54539 (clog10_test): Likewise.
54540
54541 [BZ #6778]
54542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
54543
54544 2012-11-22 Andreas Schwab <schwab@suse.de>
54545
54546 * sysdeps/i386/fpu/libm-test-ulps: Update.
54547
54548 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
54549
54550 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
54551 printf output with newline.
54552
54553 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
54554
54555 [BZ #14865]
54556 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
54557 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
54558 -z nodlopen, -z initfirst and -z execstack support.
54559 * configure: Regenerated.
54560
54561 * elf/elf.h (DF_1_NODIRECT): New macro.
54562 (DF_1_IGNMULDEF): Likewise.
54563 (DF_1_NOKSYMS): Likewise.
54564 (DF_1_NOHDR): Likewise.
54565 (DF_1_EDITED): Likewise.
54566 (DF_1_NORELOC): Likewise.
54567 (DF_1_SYMINTPOSE): Likewise.
54568 (DF_1_GLOBAUDIT): Likewise.
54569 (DF_1_SINGLETON): Likewise.
54570 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
54571 DT_1_SUPPORTED_MASK bits.
54572 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
54573
54574 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
54575
54576 * sysdeps/unix/make-syscalls.sh: Document prefixes.
54577
54578 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
54579
54580 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
54581 macro.
54582
54583 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
54584 (sendmmsg): Move declarations...
54585 * socket/sys/socket.h: ... here.
54586 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
54587 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
54588 include it from...
54589 * socket/recvmmsg.c: ... this new file.
54590 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
54591 (sendmmsg): Rename to __sendmmsg, create weak alias and make
54592 definition of __sendmmsg hidden.
54593 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
54594 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
54595 Move ENOSYS stub into and include it from...
54596 * socket/sendmmsg.c: ... this new file.
54597 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
54598 (sysdep_routines): Move recvmmsg and sendmmsg...
54599 * socket/Makefile (routines): ... here.
54600 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
54601 (GLIBC_PRIVATE): Add __sendmmsg.
54602 * include/sys/socket.h (__sendmmsg): Add declarations.
54603 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
54604 sendmmsg.
54605
54606 2012-11-20 Joseph Myers <joseph@codesourcery.com>
54607
54608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
54609 variable I1 with __attribute__ ((unused)).
54610 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54611
54612 2012-11-19 Joseph Myers <joseph@codesourcery.com>
54613
54614 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
54615 DUMMY variables with __attribute__ ((unused)).
54616
54617 * bits/byteswap.h: Include <bits/types.h>.
54618 (__bswap_64): Use __uint64_t instead of unsigned long long int.
54619
54620 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
54621
54622 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
54623 string_t. Do not manually set errno.
54624 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
54625 length with __strnlen. Make sure to both set errno and return it on
54626 failure.
54627
54628 2012-11-19 David S. Miller <davem@davemloft.net>
54629
54630 With help from Joseph Myers.
54631 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
54632 very large arguments properly.
54633 * math/libm-test.inc (atan_test): New tests.
54634 (atan2_test): New tests.
54635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54637
54638 2012-11-19 Joseph Myers <joseph@codesourcery.com>
54639
54640 [BZ #14856]
54641 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
54642 Define to 3.
54643
54644 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
54645 [POSIX] (EADDRNOTAVAIL): Likewise.
54646 [POSIX] (EAFNOSUPPORT): Likewise.
54647 [POSIX] (EALREADY): Likewise.
54648 [POSIX] (ECONNABORTED): Likewise.
54649 [POSIX] (ECONNREFUSED): Likewise.
54650 [POSIX] (ECONNRESET): Likewise.
54651 [POSIX] (EDESTADDRREQ): Likewise.
54652 [POSIX] (EDQUOT): Likewise.
54653 [POSIX] (EHOSTUNREACH): Likewise.
54654 [POSIX] (EIDRM): Likewise.
54655 [POSIX] (EISCONN): Likewise.
54656 [POSIX] (ELOOP): Likewise.
54657 [POSIX] (EMULTIHOP): Likewise.
54658 [POSIX] (ENETDOWN): Likewise.
54659 [POSIX] (ENETUNREACH): Likewise.
54660 [POSIX] (ENOBUFS): Likewise.
54661 [POSIX] (ENODATA): Likewise.
54662 [POSIX] (ENOLINK): Likewise.
54663 [POSIX] (ENOMSG): Likewise.
54664 [POSIX] (ENOPROTOOPT): Likewise.
54665 [POSIX] (ENOSR): Likewise.
54666 [POSIX] (ENOSTR): Likewise.
54667 [POSIX] (ENOTCONN): Likewise.
54668 [POSIX] (ENOTSOCK): Likewise.
54669 [POSIX] (EOPNOTSUPP): Likewise.
54670 [POSIX] (EOVERFLOW): Likewise.
54671 [POSIX] (EPROTO): Likewise.
54672 [POSIX] (EPROTONOSUPPORT): Likewise.
54673 [POSIX] (EPROTOTYPE): Likewise.
54674 [POSIX] (ESTALE): Likewise.
54675 [POSIX] (ETIME): Likewise.
54676 [POSIX] (ETXTBSY): Likewise.
54677 [POSIX] (EWOULDBLOCK): Likewise.
54678 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
54679 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
54680 [POSIX] (SEEK_CUR): Likewise.
54681 [POSIX] (SEEK_END): Likewise.
54682 [POSIX || UNIX98] (mode_t): Do not require.
54683 [POSIX] (off_t): Likewise.
54684 [POSIX] (pid_t): Likewise.
54685 [POSIX] (sys/stat.h): Do not allow header.
54686 [POSIX] (unistd.h): Likewise.
54687 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
54688 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
54689 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
54690 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
54691 require.
54692 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
54693 sigevent): Specify elements.
54694 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
54695 entry.
54696 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
54697 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
54698
54699 * conform/data/cpio.h-data [POSIX]: Disable whole file.
54700 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
54701 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
54702 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
54703 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
54704 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
54705 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
54706 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
54707 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
54708 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
54709 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
54710 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
54711 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
54712 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
54713 Likewise.
54714 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
54715 Likewise.
54716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
54717 Likewise.
54718 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
54719 Likewise.
54720 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
54721 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
54722 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
54723 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
54724 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
54725 Specify lower bound on value.
54726 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
54727 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
54728 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
54729 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
54730 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
54731 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
54732 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
54733 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
54734 value.
54735 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
54736 as optional.
54737 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
54738 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
54739 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
54740 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
54741 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
54742 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
54743 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
54744 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
54745 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
54746 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
54747 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
54748 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
54749 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
54750 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
54751 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
54752 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
54753 entry.
54754 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
54755 optional.
54756 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
54757 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
54758 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
54759 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
54760 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
54761 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
54762 Likewise.
54763 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
54764 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
54765 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
54766 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
54767 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
54768 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
54769 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
54770 as optional.
54771 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
54772 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
54773 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
54774 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
54775 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
54776 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
54777 specify as optional.
54778 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
54779 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
54780 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
54781 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
54782 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
54783 [XPG3] (NL_LANGMAX): Likewise.
54784 [POSIX || XPG3] (NL_MSGMAX): Likewise.
54785 [POSIX || XPG3] (NL_NMAX): Likewise.
54786 [POSIX || XPG3] (NL_SETMAX): Likewise.
54787 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
54788 [XPG3] (NZERO): Likewise.
54789 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
54790 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
54791 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
54792 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
54793 (REG_ERANGE): Expect.
54794 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
54795 optional-constant.
54796 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
54797 Use (void) in prototype.
54798 [POSIX] (*_t): Allow.
54799 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
54800 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
54801 (WRDE_BADVAL): Expect.
54802
54803 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
54804 expect.
54805 [XPG3 || XPG4] (O_RSYNC): Likewise.
54806 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
54807 Likewise.
54808 [XPG3 || XPG4] (pthread_sigmask): Likewise.
54809 [XPG3 || XPG4] (sigqueue): Likewise.
54810 [XPG3 || XPG4] (sigtimedwait): Likewise.
54811 [XPG3 || XPG4] (sigwaitinfo): Likewise.
54812 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
54813 [XPG3 || XPG4] (vsnprintf): Likewise.
54814 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
54815 Likewise.
54816 [XPG3 || XPG4] (blksize_t): Likewise.
54817 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
54818 Likewise.
54819 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
54820 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
54821 [XPG3 || XPG4] (struct itimerspec): Likewise.
54822 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
54823 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
54824 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
54825 [XPG3 || XPG4] (clockid_t): Likewise.
54826 [XPG3 || XPG4] (timer_t): Likewise.
54827 [XPG3 || XPG4] (clock_getres): Likewise.
54828 [XPG3 || XPG4] (clock_gettime): Likewise.
54829 [XPG3 || XPG4] (clock_settime): Likewise.
54830 [XPG3 || XPG4] (nanosleep): Likewise.
54831 [XPG3 || XPG4] (timer_create): Likewise.
54832 [XPG3 || XPG4] (timer_delete): Likewise.
54833 [XPG3 || XPG4] (timer_gettime): Likewise.
54834 [XPG3 || XPG4] (timer_getoverrun): Likewise.
54835 [XPG3 || XPG4] (timer_settime): Likewise.
54836 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54837 [XPG3 || XPG4] (getlogin_r): Likewise.
54838 [XPG3 || XPG4] (pread): Likewise.
54839 [XPG3 || XPG4] (pthread_atfork): Likewise.
54840 [XPG3 || XPG4] (pwrite): Likewise.
54841
54842 [BZ #14835]
54843 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54844 <bits/siginfo.h>.
54845
54846 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
54847
54848 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54849 finalizing MALLSTREAM.
54850
54851 * sysdeps/mach/hurd/syncfs.c: New file.
54852
54853 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
54854
54855 [BZ #14719]
54856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54857 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54858 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54859 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54860 (_nss_dns_gethostbyname4_r): Likewise.
54861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54862 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54863
54864 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
54865
54866 [BZ #13763]
54867 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54868
54869 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
54870
54871 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54872 * elf/cache.c (print_entry): Print ",AArch64" for
54873 FLAG_AARCH64_LIB64
54874
54875 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54876 * elf/cache.c (print_entry): Print ",hard-float" for
54877 FLAG_ARM_LIBHF.
54878
54879 2012-11-18 David S. Miller <davem@davemloft.net>
54880
54881 With help from Joseph Myers.
54882 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54883 cutoff to 2**-13.
54884 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54885 cutoff to 2**-25.
54886 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54887 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54888 small.
54889 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54890 * math/libm-test.inc (y0_test): New tests.
54891 (y1_test): New tests.
54892 * sysdeps/i386/fpu/libm-test-ulps: Update.
54893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54895
54896 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
54897
54898 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54899 64-bit targets.
54900 * configure: Regenerated.
54901
54902 2012-11-17 David S. Miller <davem@davemloft.net>
54903
54904 [BZ #14811]
54905 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54906 nonzero exponents with absolute value below 0x1p-128 to +/-
54907 0x1p-128.
54908
54909 2012-11-17 Joseph Myers <joseph@codesourcery.com>
54910
54911 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54912
54913 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54914
54915 * posix/getconf-speclist.c: New file.
54916 * posix/posix-envs.def: Likewise.
54917 * posix/confstr.c (START_ENV_GROUP): New macro.
54918 (END_ENV_GROUP): Likewise.
54919 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54920 (KNOWN_PRESENT_ENV_STRING): Likewise.
54921 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54922 (UNKNOWN_ENVIRONMENT): Likewise.
54923 (confstr): Include posix-envs.def instead of handling
54924 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54925 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54926 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54927 (END_ENV_GROUP): Likewise.
54928 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54929 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54930 (UNKNOWN_ENVIRONMENT): Likewise.
54931 (__sysconf): Include posix-envs.def instead of handling associated
54932 cases directly here.
54933 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54934 preprocessing getconf-speclist.c rather than running getconf or
54935 generating empty file.
54936
54937 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
54938
54939 * scripts/check-local-headers.sh: Ignore 'mach' headers.
54940
54941 2012-11-16 Andrej Lajovic <natrij@gmail.com>
54942
54943 [BZ #14672]
54944 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54945
54946 2012-11-16 David S. Miller <davem@davemloft.net>
54947
54948 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54949 smaller than LDBL_EPSILON/2.0L, just return xm1.
54950
54951 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
54952
54953 * elf/tst-array1.c (init): Set constructor priority to 1000.
54954 (fini): Set destructor priority to 1000.
54955 * elf/tst-array2dep.c: Likewise.
54956
54957 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54958
54959 [BZ #11741]
54960 * libio/fileops.c (_IO_new_file_write): Correctly return error.
54961 (_IO_new_file_xsputn): Also return EOF if none of the input
54962 data was written when overflow failed.
54963 * libio/iopadn.c (_IO_padn): Likewise.
54964 * libio/iowpadn.c (_IO_wpadn): Likewise.
54965 * stdio-common/tst-put-error.c: Add copyright notice.
54966 (do_test): Add case for printing padded string.
54967 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54968 _IO_padn returned error.
54969 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54970 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54971 return EOF.
54972
54973 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
54974
54975 * libio/libioP.h: Add comment note that the references to C++
54976 bits are now obsolete.
54977
54978 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54979
54980 * math/libm-test.inc (check_complex): Use asprintf.
54981
54982 2012-11-14 Joseph Myers <joseph@codesourcery.com>
54983
54984 * debug/pcprofiledump.c (print_version): Update copyright year.
54985 * malloc/memusagestat.c (print_version): Likewise.
54986
54987 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
54988
54989 [BZ #14831]
54990 * elf/Makefile (tests): Add tst-audit8.
54991 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54992 ($(objpfx)tst-audit8.out): New target.
54993 (tst-audit8-ENV): New variable.
54994 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54995 audit if l_reloc_result is NULL.
54996 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54997 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54998 * elf/tst-audit8.c: New file.
54999
55000 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55001
55002 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55003 * misc/Makefile (CFLAGS-select.c): Define.
55004 * posix/Makefile (CFLAGS-pause.c): Define.
55005
55006 2012-11-13 David S. Miller <davem@davemloft.net>
55007
55008 * crypt/Makefile: Move test targets after toplevel Rules
55009 inclusion. Grab any necessary sysdep routines when linking.
55010 * crypt/md5.c (md5_process_block): Remove define, we will always
55011 name it __md5_process_block.
55012 (md5_finish_ctx): Update md5_process_block call.
55013 (md5_stream): Likewise.
55014 (md5_process_bytes): Likewise.
55015 (md5_process_block): Rename to __md5_process_block and move to ...
55016 * crypt/md5-block.c: ... here.
55017 * crypt/sha256.c (sha256_process_block): Move to ...
55018 * crypt/sha256-block.c: ... here.
55019 * crypt/sha512.c (sha512_process_block): Move to ...
55020 * crypt/sha512-block.c: ... here.
55021 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55022 path.
55023 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55024 * sysdeps/sparc/sparc64/multiarch/Makefile
55025 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55026 crypt subdir.
55027 (localedef-aux): Add md5 crypto assembler when in locale subdir.
55028 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55029 multiarch changes.
55030 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55031 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55032 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55033 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55034 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55035 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55036 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55037 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55039 file.
55040 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55041 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55042 file.
55043 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55044
55045 2012-11-13 Joseph Myers <joseph@codesourcery.com>
55046
55047 * timezone/tzselect.ksh: Update from tzcode git revision
55048 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55049 * timezone/zdump.c: Likewise.
55050 * timezone/zic.c: Likewise.
55051 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55052 in TZVERSION setting, not $(PKGVERSION).
55053 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
55054 REPORT_BUGS_TO settings.
55055
55056 [BZ #14838]
55057 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55058 macro.
55059
55060 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55061
55062 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55063 detection to immediately after _FP_ROUND().
55064 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55065 bits are 0.
55066
55067 2012-11-11 David S. Miller <davem@davemloft.net>
55068
55069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55070 inttypes.h
55071 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55072 __close rather than their public counterparts.
55073
55074 2012-11-10 Joseph Myers <joseph@codesourcery.com>
55075
55076 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55077 file.
55078 [UNIX98] (sem_timedwait): Do not expect.
55079 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55080 [XPG4 || UNIX98] (sockatmark): Do not expect.
55081 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55082 (clock_getcpuclockid): Do not expect.
55083 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55084 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55085 Do not expect.
55086 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55087 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55088 [UNIX98] (vwscanf): Likewise.
55089 [UNIX98] (vswscanf): Likewise.
55090
55091 2012-11-09 Joseph Myers <joseph@codesourcery.com>
55092
55093 * timezone/version.h: Remove file.
55094 * timezone/README: Do not refer to version.h.
55095 * timezone/Makefile ($(objpfx)zic.o): New dependency on
55096 $(objpfx)version.h.
55097 ($(objpfx)zdump.o): Likewise.
55098 ($(objpfx)version.h): New target.
55099
55100 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55101 2012i.
55102 * timezone/README: Don't mention modification to tzselect.ksh.
55103 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55104 work on unmodified tzselect.ksh. Substitute version numbers in
55105 tzselect.ksh.
55106
55107 * Makefile (format-me): Remove.
55108 (INSTALL): Adjust indentation. Use commands directly instead of
55109 using $(format-me).
55110
55111 * aclocal.m4 (ACX_PKGVERSION): New macro.
55112 (ACX_BUGURL): Likewise.
55113 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55114 (PKGVERSION): New AC_DEFINE_UNQUOTED.
55115 (REPORT_BUGS_TO): Likewise.
55116 * configure: Regenerated.
55117 * config.h.in (PKGVERSION): New macro.
55118 (REPORT_BUGS_TO): Likewise.
55119 * config.make.in (PKGVERSION): New variable.
55120 (PKGVERSION_TEXI): Likewise.
55121 (REPORT_BUGS_TO): Likewise.
55122 (REPORT_BUGS_TEXI): Likewise.
55123 * Makefile (format-me): Use -I$(common-objpfx)manual.
55124 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55125 ($(common-objpfx)manual/%): New target.
55126 (manual/%): Remove target.
55127 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55128 (print_version): Use PKGVERSION.
55129 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55130 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55131 and REPORT_BUGS_TO.
55132 ($(objpfx)xtrace): Likewise.
55133 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55134 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55135 (print_version): Use PKGVERSION.
55136 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55137 (do_version): Use PKGVERSION.
55138 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55139 REPORT_BUGS_TO.
55140 (common-ldd-rewrite): Likewise.
55141 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55142 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55143 (print_version): Use PKGVERSION.
55144 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55145 * elf/pldd.c (argp_program_bug_address): Remove variable.
55146 (more_help): New function.
55147 (argp): Use more_help.
55148 (print_version): Use PKGVERSION.
55149 * elf/sln.c (main): Use PKGVERSION.
55150 (usage): Use REPORT_BUGS_TO.
55151 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55152 (top level): Use PKGVERSION.
55153 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55154 (print_version): Use PKGVERSION.
55155 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55156 (print_version): Use PKGVERSION.
55157 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55158 (print_version): Use PKGVERSION.
55159 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55160 (print_version): Use PKGVERSION.
55161 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55162 (print_version): Use PKGVERSION.
55163 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55164 (print_version): Use PKGVERSION.
55165 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55166 and BUGURL.
55167 ($(objpfx)memusage): Likewise.
55168 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55169 (do_version): Use PKGVERSION.
55170 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55171 (print_version): Use PKGVERSION.
55172 * malloc/mtrace.pl ($PACKAGE): Remove variable.
55173 ($PKGVERSION): New variable.
55174 ($REPORT_BUGS_TO): Likewise.
55175 (usage): Use $REPORT_BUGS_TO.
55176 (top level): Use $PKGVERSION.
55177 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55178 ($(objpfx)pkgvers.texi): New rule.
55179 ($(objpfx)stamp-pkgvers): Likewise.
55180 * manual/install.texi: Include pkgvers.texi.
55181 (--with-pkgversion): Document new configure option.
55182 (--with-bugurl): Likewise.
55183 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55184 than necessarily for this particular distribution. Use
55185 REPORT_BUGS_TO for where to report bugs.
55186 * INSTALL: Regenerated.
55187 * manual/libc.texinfo: Include pkgvers.texi.
55188 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55189 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55190 (print_version): Use PKGVERSION.
55191 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55192 (print_version): Use PKGVERSION.
55193 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55194 (print_version): Use PKGVERSION.
55195 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55196 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55197 macro.
55198 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55199 (print_version): Use PKGVERSION.
55200 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55201 (print_version): Use PKGVERSION.
55202 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55203 and PKGVERSION.
55204
55205 * timezone/checktab.awk: Update from tzcode 2012i.
55206 * timezone/ialloc.c: Likewise.
55207 * timezone/private.h: Likewise.
55208 * timezone/scheck.c: Likewise.
55209 * timezone/tzfile.h: Likewise.
55210 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55211 (TZVERSION): Hardcode tzcode version number.
55212 * timezone/zdump.c: Update from tzcode 2012i.
55213 * timezone/zic.c: Likewise.
55214 * timezone/version.h: New file.
55215 * timezone/README: Describe version.h. Update upstream location.
55216
55217 [BZ #14824]
55218 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55219 (mktemp): Enable declaration.
55220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55222 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55223 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55224 Likewise.
55225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55226 Likewise.
55227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55228 Likewise.
55229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55230 Likewise.
55231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55232 Likewise.
55233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55234 Likewise.
55235
55236 [BZ #14821]
55237 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55238 offset in buffer as u_int32_t not u_long. Consistently use memcpy
55239 for copies of such integer values.
55240 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55241 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55242
55243 2012-11-09 Andreas Jaeger <aj@suse.de>
55244
55245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55246 definitions and declarations that are provided by
55247 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55248
55249 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55250
55251 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55252 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55253 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55254 definition.
55255
55256 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55257
55258 * elf/elf.h: Update comment before AArch64 relocations.
55259
55260 2012-11-07 David S. Miller <davem@davemloft.net>
55261
55262 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55263 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55264 (__start_context): Declare.
55265 (__makecontext_ret): Delete.
55266 (__makecontext): Hook up __start_context instead of
55267 __makecontext_ret.
55268 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55269 (sysdep_routines): Add __start_context when in stdlib.
55270
55271 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55272
55273 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55274 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55275 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
55276 hardcoded "nm".
55277 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
55278 (READELF): New variable. Use it instead of hardcoded "readelf".
55279
55280 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
55281
55282 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55283 * sysdeps/x86/Makefile: Here.
55284 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55285 * sysdeps/x86/tst-xmmymm.sh: This.
55286
55287 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55288
55289 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55290 expectations.
55291 [UNIX98] (pthread_barrier_t): Do not expect.
55292 [UNIX98] (pthread_barrierattr_t): Likewise.
55293 [UNIX98] (pthread_spinlock_t): Likewise.
55294 [UNIX98] (pthread_barrier_destroy): Likewise.
55295 [UNIX98] (pthread_barrier_init): Likewise.
55296 [UNIX98] (pthread_barrier_wait): Likewise.
55297 [UNIX98] (pthread_barrierattr_destroy): Likewise.
55298 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55299 [UNIX98] (pthread_barrierattr_init): Likewise.
55300 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55301 [UNIX98] (pthread_getcpuclockid): Likewise.
55302 [UNIX98] (pthread_mutex_timedlock): Likewise.
55303 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55304 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55305 [UNIX98] (pthread_sigmask): Likewise.
55306 [UNIX98] (pthread_spin_destroy): Likewise.
55307 [UNIX98] (pthread_spin_init): Likewise.
55308 [UNIX98] (pthread_spin_lock): Likewise.
55309 [UNIX98] (pthread_spin_trylock): Likewise.
55310 [UNIX98] (pthread_spin_unlock): Likewise.
55311 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55312 Do not expect.
55313 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55314 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55315 [XPG3 || XPG4] (pthread_cond_t): Likewise.
55316 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55317 [XPG3 || XPG4] (pthread_key_t): Likewise.
55318 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55319 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55320 [XPG3 || XPG4] (pthread_once_t): Likewise.
55321 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55322 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55323 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55324 [XPG3 || XPG4] (pthread_t): Likewise.
55325
55326 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55327 not expect.
55328 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55329
55330 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55331 Change function return type to int.
55332
55333 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55334 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55335 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55336 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55337 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55338 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55339 [!POSIX] (posix_madvise): Likewise.
55340 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55341 && !UNIX98].
55342 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55343 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55344 (mode_t): Likewise.
55345 (posix_mem_offset): Likewise.
55346 (posix_typed_mem_get_info): Likewise.
55347 (posix_typed_mem_open): Likewise.
55348
55349 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
55350 Change condition to [XOPEN2K8].
55351
55352 * conform/conformtest.pl: Preprocess allow-header data with -x c
55353 instead of from stdin.
55354 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
55355 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
55356 [C99-based standards] (cerfc): Likewise.
55357 [C99-based standards] (cexp2): Likewise.
55358 [C99-based standards] (cexpm1): Likewise.
55359 [C99-based standards] (clog10): Likewise.
55360 [C99-based standards] (clog1p): Likewise.
55361 [C99-based standards] (clog2): Likewise.
55362 [C99-based standards] (clgamma): Likewise.
55363 [C99-based standards] (ctgamma): Likewise.
55364 [C99-based standards] (cerff): Likewise.
55365 [C99-based standards] (cerfcf): Likewise.
55366 [C99-based standards] (cexp2f): Likewise.
55367 [C99-based standards] (cexpm1f): Likewise.
55368 [C99-based standards] (clog10f): Likewise.
55369 [C99-based standards] (clog1pf): Likewise.
55370 [C99-based standards] (clog2f): Likewise.
55371 [C99-based standards] (clgammaf): Likewise.
55372 [C99-based standards] (ctgammaf): Likewise.
55373 [C99-based standards] (cerfl): Likewise.
55374 [C99-based standards] (cerfcl): Likewise.
55375 [C99-based standards] (cexp2l): Likewise.
55376 [C99-based standards] (cexpm1l): Likewise.
55377 [C99-based standards] (clog10l): Likewise.
55378 [C99-based standards] (clog1pl): Likewise.
55379 [C99-based standards] (clog2l): Likewise.
55380 [C99-based standards] (clgammal): Likewise.
55381 [C99-based standards] (ctgammal): Likewise.
55382 * conform/data/inttypes.h-data [C99-based standards]: Include
55383 stdint.h-data. Remove all expectations for stdint.h contents.
55384 [C99-based standards] (PRI*): Do not allow.
55385 [C99-based standards] (SCN*): Likewise.
55386 [C99-based standards] (*_t): Likewise.
55387 [C99-based-standards] (PRId8): Expect macro.
55388 [C99-based-standards] (PRIi8): Likewise.
55389 [C99-based-standards] (PRIo8): Likewise.
55390 [C99-based-standards] (PRIu8): Likewise.
55391 [C99-based-standards] (PRIx8): Likewise.
55392 [C99-based-standards] (PRIX8): Likewise.
55393 [C99-based-standards] (SCNd8): Likewise.
55394 [C99-based-standards] (SCNi8): Likewise.
55395 [C99-based-standards] (SCNo8): Likewise.
55396 [C99-based-standards] (SCNu8): Likewise.
55397 [C99-based-standards] (SCNx8): Likewise.
55398 [C99-based-standards] (PRIdLEAST8): Likewise.
55399 [C99-based-standards] (PRIiLEAST8): Likewise.
55400 [C99-based-standards] (PRIoLEAST8): Likewise.
55401 [C99-based-standards] (PRIuLEAST8): Likewise.
55402 [C99-based-standards] (PRIxLEAST8): Likewise.
55403 [C99-based-standards] (PRIXLEAST8): Likewise.
55404 [C99-based-standards] (SCNdLEAST8): Likewise.
55405 [C99-based-standards] (SCNiLEAST8): Likewise.
55406 [C99-based-standards] (SCNoLEAST8): Likewise.
55407 [C99-based-standards] (SCNuLEAST8): Likewise.
55408 [C99-based-standards] (SCNxLEAST8): Likewise.
55409 [C99-based-standards] (PRIdFAST8): Likewise.
55410 [C99-based-standards] (PRIiFAST8): Likewise.
55411 [C99-based-standards] (PRIoFAST8): Likewise.
55412 [C99-based-standards] (PRIuFAST8): Likewise.
55413 [C99-based-standards] (PRIxFAST8): Likewise.
55414 [C99-based-standards] (PRIXFAST8): Likewise.
55415 [C99-based-standards] (SCNdFAST8): Likewise.
55416 [C99-based-standards] (SCNiFAST8): Likewise.
55417 [C99-based-standards] (SCNoFAST8): Likewise.
55418 [C99-based-standards] (SCNuFAST8): Likewise.
55419 [C99-based-standards] (SCNxFAST8): Likewise.
55420 [C99-based-standards] (PRId16): Likewise.
55421 [C99-based-standards] (PRIi16): Likewise.
55422 [C99-based-standards] (PRIo16): Likewise.
55423 [C99-based-standards] (PRIu16): Likewise.
55424 [C99-based-standards] (PRIx16): Likewise.
55425 [C99-based-standards] (PRIX16): Likewise.
55426 [C99-based-standards] (SCNd16): Likewise.
55427 [C99-based-standards] (SCNi16): Likewise.
55428 [C99-based-standards] (SCNo16): Likewise.
55429 [C99-based-standards] (SCNu16): Likewise.
55430 [C99-based-standards] (SCNx16): Likewise.
55431 [C99-based-standards] (PRIdLEAST16): Likewise.
55432 [C99-based-standards] (PRIiLEAST16): Likewise.
55433 [C99-based-standards] (PRIoLEAST16): Likewise.
55434 [C99-based-standards] (PRIuLEAST16): Likewise.
55435 [C99-based-standards] (PRIxLEAST16): Likewise.
55436 [C99-based-standards] (PRIXLEAST16): Likewise.
55437 [C99-based-standards] (SCNdLEAST16): Likewise.
55438 [C99-based-standards] (SCNiLEAST16): Likewise.
55439 [C99-based-standards] (SCNoLEAST16): Likewise.
55440 [C99-based-standards] (SCNuLEAST16): Likewise.
55441 [C99-based-standards] (SCNxLEAST16): Likewise.
55442 [C99-based-standards] (PRIdFAST16): Likewise.
55443 [C99-based-standards] (PRIiFAST16): Likewise.
55444 [C99-based-standards] (PRIoFAST16): Likewise.
55445 [C99-based-standards] (PRIuFAST16): Likewise.
55446 [C99-based-standards] (PRIxFAST16): Likewise.
55447 [C99-based-standards] (PRIXFAST16): Likewise.
55448 [C99-based-standards] (SCNdFAST16): Likewise.
55449 [C99-based-standards] (SCNiFAST16): Likewise.
55450 [C99-based-standards] (SCNoFAST16): Likewise.
55451 [C99-based-standards] (SCNuFAST16): Likewise.
55452 [C99-based-standards] (SCNxFAST16): Likewise.
55453 [C99-based-standards] (PRId32): Likewise.
55454 [C99-based-standards] (PRIi32): Likewise.
55455 [C99-based-standards] (PRIo32): Likewise.
55456 [C99-based-standards] (PRIu32): Likewise.
55457 [C99-based-standards] (PRIx32): Likewise.
55458 [C99-based-standards] (PRIX32): Likewise.
55459 [C99-based-standards] (SCNd32): Likewise.
55460 [C99-based-standards] (SCNi32): Likewise.
55461 [C99-based-standards] (SCNo32): Likewise.
55462 [C99-based-standards] (SCNu32): Likewise.
55463 [C99-based-standards] (SCNx32): Likewise.
55464 [C99-based-standards] (PRIdLEAST32): Likewise.
55465 [C99-based-standards] (PRIiLEAST32): Likewise.
55466 [C99-based-standards] (PRIoLEAST32): Likewise.
55467 [C99-based-standards] (PRIuLEAST32): Likewise.
55468 [C99-based-standards] (PRIxLEAST32): Likewise.
55469 [C99-based-standards] (PRIXLEAST32): Likewise.
55470 [C99-based-standards] (SCNdLEAST32): Likewise.
55471 [C99-based-standards] (SCNiLEAST32): Likewise.
55472 [C99-based-standards] (SCNoLEAST32): Likewise.
55473 [C99-based-standards] (SCNuLEAST32): Likewise.
55474 [C99-based-standards] (SCNxLEAST32): Likewise.
55475 [C99-based-standards] (PRIdFAST32): Likewise.
55476 [C99-based-standards] (PRIiFAST32): Likewise.
55477 [C99-based-standards] (PRIoFAST32): Likewise.
55478 [C99-based-standards] (PRIuFAST32): Likewise.
55479 [C99-based-standards] (PRIxFAST32): Likewise.
55480 [C99-based-standards] (PRIXFAST32): Likewise.
55481 [C99-based-standards] (SCNdFAST32): Likewise.
55482 [C99-based-standards] (SCNiFAST32): Likewise.
55483 [C99-based-standards] (SCNoFAST32): Likewise.
55484 [C99-based-standards] (SCNuFAST32): Likewise.
55485 [C99-based-standards] (SCNxFAST32): Likewise.
55486 [C99-based-standards] (PRId64): Likewise.
55487 [C99-based-standards] (PRIi64): Likewise.
55488 [C99-based-standards] (PRIo64): Likewise.
55489 [C99-based-standards] (PRIu64): Likewise.
55490 [C99-based-standards] (PRIx64): Likewise.
55491 [C99-based-standards] (PRIX64): Likewise.
55492 [C99-based-standards] (SCNd64): Likewise.
55493 [C99-based-standards] (SCNi64): Likewise.
55494 [C99-based-standards] (SCNo64): Likewise.
55495 [C99-based-standards] (SCNu64): Likewise.
55496 [C99-based-standards] (SCNx64): Likewise.
55497 [C99-based-standards] (PRIdLEAST64): Likewise.
55498 [C99-based-standards] (PRIiLEAST64): Likewise.
55499 [C99-based-standards] (PRIoLEAST64): Likewise.
55500 [C99-based-standards] (PRIuLEAST64): Likewise.
55501 [C99-based-standards] (PRIxLEAST64): Likewise.
55502 [C99-based-standards] (PRIXLEAST64): Likewise.
55503 [C99-based-standards] (SCNdLEAST64): Likewise.
55504 [C99-based-standards] (SCNiLEAST64): Likewise.
55505 [C99-based-standards] (SCNoLEAST64): Likewise.
55506 [C99-based-standards] (SCNuLEAST64): Likewise.
55507 [C99-based-standards] (SCNxLEAST64): Likewise.
55508 [C99-based-standards] (PRIdFAST64): Likewise.
55509 [C99-based-standards] (PRIiFAST64): Likewise.
55510 [C99-based-standards] (PRIoFAST64): Likewise.
55511 [C99-based-standards] (PRIuFAST64): Likewise.
55512 [C99-based-standards] (PRIxFAST64): Likewise.
55513 [C99-based-standards] (PRIXFAST64): Likewise.
55514 [C99-based-standards] (SCNdFAST64): Likewise.
55515 [C99-based-standards] (SCNiFAST64): Likewise.
55516 [C99-based-standards] (SCNoFAST64): Likewise.
55517 [C99-based-standards] (SCNuFAST64): Likewise.
55518 [C99-based-standards] (SCNxFAST64): Likewise.
55519 [C99-based-standards] (PRIdMAX): Likewise.
55520 [C99-based-standards] (PRIiMAX): Likewise.
55521 [C99-based-standards] (PRIoMAX): Likewise.
55522 [C99-based-standards] (PRIuMAX): Likewise.
55523 [C99-based-standards] (PRIxMAX): Likewise.
55524 [C99-based-standards] (PRIXMAX): Likewise.
55525 [C99-based-standards] (SCNdMAX): Likewise.
55526 [C99-based-standards] (SCNiMAX): Likewise.
55527 [C99-based-standards] (SCNoMAX): Likewise.
55528 [C99-based-standards] (SCNuMAX): Likewise.
55529 [C99-based-standards] (SCNxMAX): Likewise.
55530 [C99-based-standards] (PRIdPTR): Likewise.
55531 [C99-based-standards] (PRIiPTR): Likewise.
55532 [C99-based-standards] (PRIoPTR): Likewise.
55533 [C99-based-standards] (PRIuPTR): Likewise.
55534 [C99-based-standards] (PRIxPTR): Likewise.
55535 [C99-based-standards] (PRIXPTR): Likewise.
55536 [C99-based-standards] (SCNdPTR): Likewise.
55537 [C99-based-standards] (SCNiPTR): Likewise.
55538 [C99-based-standards] (SCNoPTR): Likewise.
55539 [C99-based-standards] (SCNuPTR): Likewise.
55540 [C99-based-standards] (SCNxPTR): Likewise.
55541 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
55542 allow.
55543 * conform/data/stdint.h-data: Update comments to clarify
55544 requirements.
55545 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
55546 type.
55547 [C99-based standards] (INT8_MAX): Likewise.
55548 [C99-based standards] (INT16_MIN): Likewise.
55549 [C99-based standards] (INT16_MAX): Likewise.
55550 [C99-based standards] (INT32_MIN): Likewise.
55551 [C99-based standards] (INT32_MAX): Likewise.
55552 [C99-based standards] (INT64_MIN): Likewise.
55553 [C99-based standards] (INT64_MAX): Likewise.
55554 [C99-based standards] (UINT8_MAX): Likewise.
55555 [C99-based standards] (UINT16_MAX): Likewise.
55556 [C99-based standards] (UINT32_MAX): Likewise.
55557 [C99-based standards] (UINT64_MAX): Likewise.
55558 [C99-based standards] (INT_LEAST8_MIN): Likewise.
55559 [C99-based standards] (INT_LEAST8_MAX): Likewise.
55560 [C99-based standards] (INT_LEAST16_MIN): Likewise.
55561 [C99-based standards] (INT_LEAST16_MAX): Likewise.
55562 [C99-based standards] (INT_LEAST32_MIN): Likewise.
55563 [C99-based standards] (INT_LEAST32_MAX): Likewise.
55564 [C99-based standards] (INT_LEAST64_MIN): Likewise.
55565 [C99-based standards] (INT_LEAST64_MAX): Likewise.
55566 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
55567 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
55568 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
55569 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
55570 [C99-based standards] (INT_FAST8_MIN): Likewise.
55571 [C99-based standards] (INT_FAST8_MAX): Likewise.
55572 [C99-based standards] (INT_FAST16_MIN): Likewise.
55573 [C99-based standards] (INT_FAST16_MAX): Likewise.
55574 [C99-based standards] (INT_FAST32_MIN): Likewise.
55575 [C99-based standards] (INT_FAST32_MAX): Likewise.
55576 [C99-based standards] (INT_FAST64_MIN): Likewise.
55577 [C99-based standards] (INT_FAST64_MAX): Likewise.
55578 [C99-based standards] (UINT_FAST8_MAX): Likewise.
55579 [C99-based standards] (UINT_FAST16_MAX): Likewise.
55580 [C99-based standards] (UINT_FAST32_MAX): Likewise.
55581 [C99-based standards] (UINT_FAST64_MAX): Likewise.
55582 [C99-based standards] (INTPTR_MIN): Likewise.
55583 [C99-based standards] (INTPTR_MAX): Likewise.
55584 [C99-based standards] (UINTPTR_MAX): Likewise.
55585 [C99-based standards] (INTMAX_MIN): Likewise.
55586 [C99-based standards] (INTMAX_MAX): Likewise.
55587 [C99-based standards] (UINTMAX_MAX): Likewise.
55588 [C99-based standards] (PTRDIFF_MIN): Likewise.
55589 [C99-based standards] (PTRDIFF_MAX): Likewise.
55590 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
55591 [C99-based standards] (SIZE_MAX): Likewise.
55592 [C99-based standards] (WCHAR_MAX): Likewise.
55593 [C99-based standards] (WINT_MAX): Likewise.
55594 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
55595 constraint on value.
55596 [C99-based standards] (WCHAR_MIN): Likewise.
55597 [C99-based standards] (WINT_MIN): Likewise.
55598 [C99-based standards] (*_t): Allow.
55599 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
55600 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
55601 Include math.h-data and complex.h-data. Remove all expectations
55602 of math.h and complex.h contents.
55603 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
55604 at end of line.
55605 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
55606 (struct tm): Expect tag.
55607 [C99-based-standards] (wcstof): Expect function.
55608 [C99-based-standards] (wcstold): Likewise.
55609 [C99-based-standards] (wcstoll): Likewise.
55610 [C99-based-standards] (wcstoull): Likewise.
55611 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
55612 macro-int-constant. Specify type.
55613 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
55614 constraint on value.
55615 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55616 Specify type.
55617 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
55618 Specify value.
55619 [ISO C standards]: Do not allow headers.
55620 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
55621 wcs[abcdefghijklmnopqrstuvwxyz]*.
55622 [ISO C standards] (*_t): Do not allow.
55623 * conform/data/wctype.h-data [C99-based standards] (iswblank):
55624 Expect function.
55625 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
55626 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
55627 Specify type.
55628 [ISO C standards]: Do not allow headers.
55629 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
55630 is[abcdefghijklmnopqrstuvwxyz]*.
55631 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
55632 to[abcdefghijklmnopqrstuvwxyz]*.
55633 [ISO C standards] (*_t): Do not allow.
55634 * conform/data/stdalign.h-data: New file.
55635 * conform/data/stdbool.h-data: Likewise.
55636 * conform/data/stdnoreturn.h-data: Likewise.
55637
55638 2012-11-07 Roland McGrath <roland@hack.frob.com>
55639
55640 [BZ #14815]
55641 * manual/filesys.texi (Directory Entries): Typo fix.
55642 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
55643
55644 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55645
55646 * elf/elf.h (EM_AARCH64): New macro.
55647 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
55648 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
55649 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
55650 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
55651 (R_AARCH64_TLSDESC): Likewise.
55652 (NT_ARM_TLS): Likewise.
55653 (NT_ARM_HW_BREAK): Likewise.
55654 (NT_ARM_HW_WATCH): Likewise.
55655
55656 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55657
55658 [BZ #14811]
55659 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
55660 (__ieee754_powl): Saturate nonzero exponents with absolute value
55661 below 0x1p-79 to +/- 0x1p-79.
55662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
55663 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
55664 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
55665 nonzero exponents with absolute value below 0x1p-32 to +/-
55666 0x1p-32.
55667 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
55668 (__ieee754_powl): Saturate nonzero exponents with absolute value
55669 below 0x1p-79 to +/- 0x1p-79.
55670 * math/libm-test.inc (pow_test): Add more tests.
55671
55672 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55673
55674 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
55675 _dl_s390_cap_flags with kernel. Increase string length.
55676 (_dl_s390_platforms): Add z196 and zEC12.
55677
55678 2012-11-07 Joseph Myers <joseph@codesourcery.com>
55679
55680 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
55681 Change XOPEN21K to XOPEN2K.
55682
55683 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
55684
55685 * string/memmove.c: Use memcpy when possible.
55686
55687 2012-11-06 Andreas Jaeger <aj@suse.de>
55688
55689 * po/eo.po: Update from translation team.
55690
55691 2012-11-06 Joseph Myers <joseph@codesourcery.com>
55692
55693 [BZ #14793]
55694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
55695 exponent and small x and y exponents, scale x or y up. Increase
55696 by 2 the exponent used in scaling up.
55697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55698 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55699 * math/libm-test.inc (fma_test): Add more tests.
55700 (fma_test_towardzero): Likewise.
55701 (fma_test_downward): Likewise.
55702 (fma_test_upward): Likewise.
55703
55704 2012-11-05 Joseph Myers <joseph@codesourcery.com>
55705
55706 [BZ #14805]
55707 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
55708 fenv_t *.
55709
55710 [BZ #14801]
55711 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
55712 namespace for names of struct fields.
55713 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
55714 fenv_t fields.
55715 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
55716 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
55717
55718 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
55719
55720 [BZ #3665]
55721 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
55722
55723 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
55724
55725 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
55726 PTR_DEMANGLE.
55727
55728 [BZ #5246]
55729 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
55730 PTR_DEMANGLE.
55731
55732 2012-11-04 Joseph Myers <joseph@codesourcery.com>
55733
55734 [BZ #14797]
55735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
55736 definitely overflow as x * y not x * y + z.
55737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55739 * math/libm-test.inc (fma_test): Add more tests.
55740 (fma_test_towardzero): Likewise.
55741 (fma_test_downward): Likewise.
55742 (fma_test_upward): Likewise.
55743
55744 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
55745
55746 [BZ #157]
55747
55748 * include/stub-tag.h: Remove file.
55749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
55750 '#include' of it.
55751 * manual/maint.texi (Porting): Don't reference it.
55752 * Makerules ($(objpfx)stubs): Likewise.
55753 * dirent/closedir.c: Don't include <stub-tag.h>.
55754 * dirent/dirfd.c: Likewise.
55755 * dirent/fdopendir.c: Likewise.
55756 * dirent/getdents.c: Likewise.
55757 * dirent/getdents64.c: Likewise.
55758 * dirent/opendir.c: Likewise.
55759 * dirent/readdir.c: Likewise.
55760 * dirent/readdir64.c: Likewise.
55761 * dirent/readdir64_r.c: Likewise.
55762 * dirent/readdir_r.c: Likewise.
55763 * dirent/rewinddir.c: Likewise.
55764 * dirent/seekdir.c: Likewise.
55765 * dirent/telldir.c: Likewise.
55766 * gmon/profil.c: Likewise.
55767 * grp/setgroups.c: Likewise.
55768 * inet/if_index.c: Likewise.
55769 * io/access.c: Likewise.
55770 * io/chdir.c: Likewise.
55771 * io/chmod.c: Likewise.
55772 * io/chown.c: Likewise.
55773 * io/close.c: Likewise.
55774 * io/dup.c: Likewise.
55775 * io/dup2.c: Likewise.
55776 * io/dup3.c: Likewise.
55777 * io/euidaccess.c: Likewise.
55778 * io/faccessat.c: Likewise.
55779 * io/fchdir.c: Likewise.
55780 * io/fchmod.c: Likewise.
55781 * io/fchmodat.c: Likewise.
55782 * io/fchown.c: Likewise.
55783 * io/fchownat.c: Likewise.
55784 * io/fcntl.c: Likewise.
55785 * io/flock.c: Likewise.
55786 * io/fstatfs.c: Likewise.
55787 * io/fstatfs64.c: Likewise.
55788 * io/fstatvfs.c: Likewise.
55789 * io/fstatvfs64.c: Likewise.
55790 * io/futimens.c: Likewise.
55791 * io/fxstat.c: Likewise.
55792 * io/fxstat64.c: Likewise.
55793 * io/fxstatat.c: Likewise.
55794 * io/fxstatat64.c: Likewise.
55795 * io/getcwd.c: Likewise.
55796 * io/isatty.c: Likewise.
55797 * io/lchmod.c: Likewise.
55798 * io/lchown.c: Likewise.
55799 * io/link.c: Likewise.
55800 * io/linkat.c: Likewise.
55801 * io/lseek.c: Likewise.
55802 * io/lseek64.c: Likewise.
55803 * io/lxstat64.c: Likewise.
55804 * io/mkdir.c: Likewise.
55805 * io/mkdirat.c: Likewise.
55806 * io/mkfifo.c: Likewise.
55807 * io/mkfifoat.c: Likewise.
55808 * io/open.c: Likewise.
55809 * io/open64.c: Likewise.
55810 * io/openat.c: Likewise.
55811 * io/openat64.c: Likewise.
55812 * io/pipe.c: Likewise.
55813 * io/pipe2.c: Likewise.
55814 * io/poll.c: Likewise.
55815 * io/posix_fadvise.c: Likewise.
55816 * io/posix_fadvise64.c: Likewise.
55817 * io/posix_fallocate.c: Likewise.
55818 * io/posix_fallocate64.c: Likewise.
55819 * io/read.c: Likewise.
55820 * io/readlink.c: Likewise.
55821 * io/readlinkat.c: Likewise.
55822 * io/rmdir.c: Likewise.
55823 * io/sendfile.c: Likewise.
55824 * io/sendfile64.c: Likewise.
55825 * io/statfs.c: Likewise.
55826 * io/statfs64.c: Likewise.
55827 * io/statvfs.c: Likewise.
55828 * io/statvfs64.c: Likewise.
55829 * io/symlink.c: Likewise.
55830 * io/symlinkat.c: Likewise.
55831 * io/ttyname.c: Likewise.
55832 * io/ttyname_r.c: Likewise.
55833 * io/umask.c: Likewise.
55834 * io/unlink.c: Likewise.
55835 * io/unlinkat.c: Likewise.
55836 * io/utime.c: Likewise.
55837 * io/utimensat.c: Likewise.
55838 * io/write.c: Likewise.
55839 * io/xmknod.c: Likewise.
55840 * io/xmknodat.c: Likewise.
55841 * io/xstat.c: Likewise.
55842 * io/xstat64.c: Likewise.
55843 * login/getpt.c: Likewise.
55844 * login/grantpt.c: Likewise.
55845 * login/unlockpt.c: Likewise.
55846 * math/e_acoshl.c: Likewise.
55847 * math/e_acosl.c: Likewise.
55848 * math/e_asinl.c: Likewise.
55849 * math/e_atan2l.c: Likewise.
55850 * math/e_atanhl.c: Likewise.
55851 * math/e_coshl.c: Likewise.
55852 * math/e_expl.c: Likewise.
55853 * math/e_fmodl.c: Likewise.
55854 * math/e_gammal_r.c: Likewise.
55855 * math/e_hypotl.c: Likewise.
55856 * math/e_j0l.c: Likewise.
55857 * math/e_j1l.c: Likewise.
55858 * math/e_jnl.c: Likewise.
55859 * math/e_lgammal_r.c: Likewise.
55860 * math/e_log10l.c: Likewise.
55861 * math/e_log2l.c: Likewise.
55862 * math/e_logl.c: Likewise.
55863 * math/e_powl.c: Likewise.
55864 * math/e_rem_pio2l.c: Likewise.
55865 * math/e_sinhl.c: Likewise.
55866 * math/e_sqrtl.c: Likewise.
55867 * math/fclrexcpt.c: Likewise.
55868 * math/fedisblxcpt.c: Likewise.
55869 * math/feenablxcpt.c: Likewise.
55870 * math/fegetenv.c: Likewise.
55871 * math/fegetexcept.c: Likewise.
55872 * math/fegetround.c: Likewise.
55873 * math/feholdexcpt.c: Likewise.
55874 * math/fesetenv.c: Likewise.
55875 * math/fesetround.c: Likewise.
55876 * math/feupdateenv.c: Likewise.
55877 * math/fgetexcptflg.c: Likewise.
55878 * math/fraiseexcpt.c: Likewise.
55879 * math/fsetexcptflg.c: Likewise.
55880 * math/ftestexcept.c: Likewise.
55881 * math/k_cosl.c: Likewise.
55882 * math/k_rem_pio2l.c: Likewise.
55883 * math/k_sinl.c: Likewise.
55884 * math/k_tanl.c: Likewise.
55885 * math/s_asinhl.c: Likewise.
55886 * math/s_atanl.c: Likewise.
55887 * math/s_cbrtl.c: Likewise.
55888 * math/s_erfl.c: Likewise.
55889 * math/s_expm1l.c: Likewise.
55890 * math/s_log1pl.c: Likewise.
55891 * math/s_tanhl.c: Likewise.
55892 * misc/acct.c: Likewise.
55893 * misc/brk.c: Likewise.
55894 * misc/chflags.c: Likewise.
55895 * misc/chroot.c: Likewise.
55896 * misc/fchflags.c: Likewise.
55897 * misc/fgetxattr.c: Likewise.
55898 * misc/flistxattr.c: Likewise.
55899 * misc/fremovexattr.c: Likewise.
55900 * misc/fsetxattr.c: Likewise.
55901 * misc/fsync.c: Likewise.
55902 * misc/ftruncate.c: Likewise.
55903 * misc/futimes.c: Likewise.
55904 * misc/futimesat.c: Likewise.
55905 * misc/getdomain.c: Likewise.
55906 * misc/getdtsz.c: Likewise.
55907 * misc/gethostid.c: Likewise.
55908 * misc/gethostname.c: Likewise.
55909 * misc/getloadavg.c: Likewise.
55910 * misc/getpagesize.c: Likewise.
55911 * misc/getsysstats.c: Likewise.
55912 * misc/getxattr.c: Likewise.
55913 * misc/gtty.c: Likewise.
55914 * misc/ioctl.c: Likewise.
55915 * misc/lgetxattr.c: Likewise.
55916 * misc/listxattr.c: Likewise.
55917 * misc/llistxattr.c: Likewise.
55918 * misc/lremovexattr.c: Likewise.
55919 * misc/lsetxattr.c: Likewise.
55920 * misc/lutimes.c: Likewise.
55921 * misc/madvise.c: Likewise.
55922 * misc/mincore.c: Likewise.
55923 * misc/mlock.c: Likewise.
55924 * misc/mlockall.c: Likewise.
55925 * misc/mmap.c: Likewise.
55926 * misc/mprotect.c: Likewise.
55927 * misc/msync.c: Likewise.
55928 * misc/munlock.c: Likewise.
55929 * misc/munlockall.c: Likewise.
55930 * misc/munmap.c: Likewise.
55931 * misc/preadv.c: Likewise.
55932 * misc/preadv64.c: Likewise.
55933 * misc/ptrace.c: Likewise.
55934 * misc/pwritev.c: Likewise.
55935 * misc/pwritev64.c: Likewise.
55936 * misc/readv.c: Likewise.
55937 * misc/reboot.c: Likewise.
55938 * misc/remap_file_pages.c: Likewise.
55939 * misc/removexattr.c: Likewise.
55940 * misc/revoke.c: Likewise.
55941 * misc/select.c: Likewise.
55942 * misc/setdomain.c: Likewise.
55943 * misc/setegid.c: Likewise.
55944 * misc/seteuid.c: Likewise.
55945 * misc/sethostid.c: Likewise.
55946 * misc/sethostname.c: Likewise.
55947 * misc/setregid.c: Likewise.
55948 * misc/setreuid.c: Likewise.
55949 * misc/setxattr.c: Likewise.
55950 * misc/sstk.c: Likewise.
55951 * misc/stty.c: Likewise.
55952 * misc/swapoff.c: Likewise.
55953 * misc/swapon.c: Likewise.
55954 * misc/sync.c: Likewise.
55955 * misc/syncfs.c: Likewise.
55956 * misc/syscall.c: Likewise.
55957 * misc/truncate.c: Likewise.
55958 * misc/ualarm.c: Likewise.
55959 * misc/usleep.c: Likewise.
55960 * misc/ustat.c: Likewise.
55961 * misc/utimes.c: Likewise.
55962 * misc/vhangup.c: Likewise.
55963 * misc/writev.c: Likewise.
55964 * posix/_exit.c: Likewise.
55965 * posix/alarm.c: Likewise.
55966 * posix/execve.c: Likewise.
55967 * posix/fexecve.c: Likewise.
55968 * posix/fork.c: Likewise.
55969 * posix/fpathconf.c: Likewise.
55970 * posix/getaddrinfo.c: Likewise.
55971 * posix/getegid.c: Likewise.
55972 * posix/geteuid.c: Likewise.
55973 * posix/getgid.c: Likewise.
55974 * posix/getgroups.c: Likewise.
55975 * posix/getlogin.c: Likewise.
55976 * posix/getlogin_r.c: Likewise.
55977 * posix/getpgid.c: Likewise.
55978 * posix/getpid.c: Likewise.
55979 * posix/getppid.c: Likewise.
55980 * posix/getresgid.c: Likewise.
55981 * posix/getresuid.c: Likewise.
55982 * posix/getsid.c: Likewise.
55983 * posix/getuid.c: Likewise.
55984 * posix/glob64.c: Likewise.
55985 * posix/nanosleep.c: Likewise.
55986 * posix/pathconf.c: Likewise.
55987 * posix/pause.c: Likewise.
55988 * posix/posix_madvise.c: Likewise.
55989 * posix/pread.c: Likewise.
55990 * posix/pread64.c: Likewise.
55991 * posix/pwrite.c: Likewise.
55992 * posix/pwrite64.c: Likewise.
55993 * posix/sched_getaffinity.c: Likewise.
55994 * posix/sched_getp.c: Likewise.
55995 * posix/sched_gets.c: Likewise.
55996 * posix/sched_primax.c: Likewise.
55997 * posix/sched_primin.c: Likewise.
55998 * posix/sched_rr_gi.c: Likewise.
55999 * posix/sched_setaffinity.c: Likewise.
56000 * posix/sched_setp.c: Likewise.
56001 * posix/sched_sets.c: Likewise.
56002 * posix/sched_yield.c: Likewise.
56003 * posix/setgid.c: Likewise.
56004 * posix/setlogin.c: Likewise.
56005 * posix/setpgid.c: Likewise.
56006 * posix/setresgid.c: Likewise.
56007 * posix/setresuid.c: Likewise.
56008 * posix/setsid.c: Likewise.
56009 * posix/setuid.c: Likewise.
56010 * posix/sleep.c: Likewise.
56011 * posix/spawni.c: Likewise.
56012 * posix/sysconf.c: Likewise.
56013 * posix/times.c: Likewise.
56014 * posix/wait.c: Likewise.
56015 * posix/wait3.c: Likewise.
56016 * posix/wait4.c: Likewise.
56017 * posix/waitpid.c: Likewise.
56018 * resolv/gai_sigqueue.c: Likewise.
56019 * resource/getpriority.c: Likewise.
56020 * resource/getrlimit.c: Likewise.
56021 * resource/getrusage.c: Likewise.
56022 * resource/nice.c: Likewise.
56023 * resource/setpriority.c: Likewise.
56024 * resource/setrlimit.c: Likewise.
56025 * resource/ulimit.c: Likewise.
56026 * rt/aio_cancel.c: Likewise.
56027 * rt/aio_fsync.c: Likewise.
56028 * rt/aio_read.c: Likewise.
56029 * rt/aio_sigqueue.c: Likewise.
56030 * rt/aio_suspend.c: Likewise.
56031 * rt/aio_write.c: Likewise.
56032 * rt/clock_getres.c: Likewise.
56033 * rt/clock_gettime.c: Likewise.
56034 * rt/clock_nanosleep.c: Likewise.
56035 * rt/clock_settime.c: Likewise.
56036 * rt/lio_listio.c: Likewise.
56037 * rt/mq_close.c: Likewise.
56038 * rt/mq_getattr.c: Likewise.
56039 * rt/mq_notify.c: Likewise.
56040 * rt/mq_open.c: Likewise.
56041 * rt/mq_receive.c: Likewise.
56042 * rt/mq_send.c: Likewise.
56043 * rt/mq_setattr.c: Likewise.
56044 * rt/mq_timedreceive.c: Likewise.
56045 * rt/mq_timedsend.c: Likewise.
56046 * rt/mq_unlink.c: Likewise.
56047 * rt/shm_open.c: Likewise.
56048 * rt/shm_unlink.c: Likewise.
56049 * rt/timer_create.c: Likewise.
56050 * rt/timer_delete.c: Likewise.
56051 * rt/timer_getoverr.c: Likewise.
56052 * rt/timer_gettime.c: Likewise.
56053 * rt/timer_settime.c: Likewise.
56054 * setjmp/__longjmp.c: Likewise.
56055 * setjmp/setjmp.c: Likewise.
56056 * signal/kill.c: Likewise.
56057 * signal/killpg.c: Likewise.
56058 * signal/raise.c: Likewise.
56059 * signal/sigaction.c: Likewise.
56060 * signal/sigaltstack.c: Likewise.
56061 * signal/sigblock.c: Likewise.
56062 * signal/sigignore.c: Likewise.
56063 * signal/sigintr.c: Likewise.
56064 * signal/signal.c: Likewise.
56065 * signal/sigpause.c: Likewise.
56066 * signal/sigpending.c: Likewise.
56067 * signal/sigqueue.c: Likewise.
56068 * signal/sigreturn.c: Likewise.
56069 * signal/sigset.c: Likewise.
56070 * signal/sigsetmask.c: Likewise.
56071 * signal/sigstack.c: Likewise.
56072 * signal/sigsuspend.c: Likewise.
56073 * signal/sigtimedwait.c: Likewise.
56074 * signal/sigvec.c: Likewise.
56075 * signal/sigwait.c: Likewise.
56076 * signal/sigwaitinfo.c: Likewise.
56077 * signal/sysv_signal.c: Likewise.
56078 * socket/accept.c: Likewise.
56079 * socket/accept4.c: Likewise.
56080 * socket/bind.c: Likewise.
56081 * socket/connect.c: Likewise.
56082 * socket/getpeername.c: Likewise.
56083 * socket/getsockname.c: Likewise.
56084 * socket/getsockopt.c: Likewise.
56085 * socket/isfdtype.c: Likewise.
56086 * socket/listen.c: Likewise.
56087 * socket/recv.c: Likewise.
56088 * socket/recvfrom.c: Likewise.
56089 * socket/recvmsg.c: Likewise.
56090 * socket/send.c: Likewise.
56091 * socket/sendmsg.c: Likewise.
56092 * socket/sendto.c: Likewise.
56093 * socket/setsockopt.c: Likewise.
56094 * socket/shutdown.c: Likewise.
56095 * socket/sockatmark.c: Likewise.
56096 * socket/socket.c: Likewise.
56097 * socket/socketpair.c: Likewise.
56098 * stdio-common/ctermid.c: Likewise.
56099 * stdio-common/cuserid.c: Likewise.
56100 * stdio-common/remove.c: Likewise.
56101 * stdio-common/rename.c: Likewise.
56102 * stdio-common/renameat.c: Likewise.
56103 * stdio-common/tempname.c: Likewise.
56104 * stdlib/getcontext.c: Likewise.
56105 * stdlib/makecontext.c: Likewise.
56106 * stdlib/setcontext.c: Likewise.
56107 * stdlib/swapcontext.c: Likewise.
56108 * stdlib/system.c: Likewise.
56109 * streams/fattach.c: Likewise.
56110 * streams/fdetach.c: Likewise.
56111 * streams/getmsg.c: Likewise.
56112 * streams/getpmsg.c: Likewise.
56113 * streams/putmsg.c: Likewise.
56114 * streams/putpmsg.c: Likewise.
56115 * sysdeps/unix/bsd/getpt.c: Likewise.
56116 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56117 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56118 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56120 Likewise.
56121 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56122 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56123 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56124 * sysvipc/msgctl.c: Likewise.
56125 * sysvipc/msgget.c: Likewise.
56126 * sysvipc/msgrcv.c: Likewise.
56127 * sysvipc/msgsnd.c: Likewise.
56128 * sysvipc/semctl.c: Likewise.
56129 * sysvipc/semget.c: Likewise.
56130 * sysvipc/semop.c: Likewise.
56131 * sysvipc/semtimedop.c: Likewise.
56132 * sysvipc/shmat.c: Likewise.
56133 * sysvipc/shmctl.c: Likewise.
56134 * sysvipc/shmdt.c: Likewise.
56135 * sysvipc/shmget.c: Likewise.
56136 * termios/tcdrain.c: Likewise.
56137 * termios/tcflow.c: Likewise.
56138 * termios/tcflush.c: Likewise.
56139 * termios/tcgetattr.c: Likewise.
56140 * termios/tcgetpgrp.c: Likewise.
56141 * termios/tcsendbrk.c: Likewise.
56142 * termios/tcsetattr.c: Likewise.
56143 * termios/tcsetpgrp.c: Likewise.
56144 * time/adjtime.c: Likewise.
56145 * time/clock.c: Likewise.
56146 * time/getitimer.c: Likewise.
56147 * time/gettimeofday.c: Likewise.
56148 * time/setitimer.c: Likewise.
56149 * time/settimeofday.c: Likewise.
56150 * time/stime.c: Likewise.
56151 * time/time.c: Likewise.
56152
56153 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
56154
56155 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56156 /usr/old/bin.
56157
56158 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56159 instead of spaces.
56160 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56161
56162 2012-11-03 Joseph Myers <joseph@codesourcery.com>
56163
56164 [BZ #14796]
56165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56166 FE_TONEAREST before applying Dekker multiplication and Knuth
56167 addition. Clear inexact exceptions and check for exact zero
56168 results afterwards.
56169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56170 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56172 * math/libm-test.inc (fma_test): Add more tests.
56173 (fma_test_towardzero): Likewise.
56174 (fma_test_downward): Likewise.
56175 (fma_test_upward): Likewise.
56176 * sysdeps/generic/math_private.h (default_libc_fesetround): New
56177 function.
56178 (libc_fesetround): New macro.
56179 (libc_fesetroundf): Likewise.
56180 (libc_fesetroundl): Likewise.
56181 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56182 function.
56183 (libc_fesetround_387): Likewise.
56184 (libc_fesetroundf): New macro.
56185 (libc_fesetround): Likewise.
56186 (libc_fesetroundl): Likewise.
56187 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56188 function.
56189 (libc_fesetroundf): New macro.
56190 (libc_fesetround): Likewise.
56191 (libc_fesetroundl): Likewise.
56192 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56193 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56194 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56195 libm_hidden_ver.
56196 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56197 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56198 libm_hidden_def.
56199 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56200 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56201 libm_hidden_ver.
56202 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56203 libm_hidden_def.
56204
56205 [BZ #3439]
56206 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56207 integer constant usable in #if and use that to give value to enum
56208 constant.
56209 (FE_DIVBYZERO): Likewise.
56210 (FE_UNDERFLOW): Likewise.
56211 (FE_OVERFLOW): Likewise.
56212 (FE_INVALID): Likewise.
56213 (FE_INVALID_SNAN): Likewise.
56214 (FE_INVALID_ISI): Likewise.
56215 (FE_INVALID_IDI): Likewise.
56216 (FE_INVALID_ZDZ): Likewise.
56217 (FE_INVALID_IMZ): Likewise.
56218 (FE_INVALID_COMPARE): Likewise.
56219 (FE_INVALID_SOFTWARE): Likewise.
56220 (FE_INVALID_SQRT): Likewise.
56221 (FE_INVALID_INTEGER_CONVERSION): Likewise.
56222 (FE_TONEAREST): Likewise.
56223 (FE_TOWARDZERO): Likewise.
56224 (FE_UPWARD): Likewise.
56225 (FE_DOWNWARD): Likewise.
56226 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56227 (FE_DIVBYZERO): Likewise.
56228 (FE_OVERFLOW): Likewise.
56229 (FE_UNDERFLOW): Likewise.
56230 (FE_INEXACT): Likewise.
56231 (FE_TONEAREST): Likewise.
56232 (FE_DOWNWARD): Likewise.
56233 (FE_UPWARD): Likewise.
56234 (FE_TOWARDZERO): Likewise.
56235 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56236 (FE_UNDERFLOW): Likewise.
56237 (FE_OVERFLOW): Likewise.
56238 (FE_DIVBYZERO): Likewise.
56239 (FE_INVALID): Likewise.
56240 (FE_TONEAREST): Likewise.
56241 (FE_TOWARDZERO): Likewise.
56242 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56243 (FE_OVERFLOW): Likewise.
56244 (FE_UNDERFLOW): Likewise.
56245 (FE_DIVBYZERO): Likewise.
56246 (FE_INEXACT): Likewise.
56247 (FE_TONEAREST): Likewise.
56248 (FE_TOWARDZERO): Likewise.
56249 (FE_UPWARD): Likewise.
56250 (FE_DOWNWARD): Likewise.
56251 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56252 (FE_DIVBYZERO): Likewise.
56253 (FE_OVERFLOW): Likewise.
56254 (FE_UNDERFLOW): Likewise.
56255 (FE_INEXACT): Likewise.
56256 (FE_TONEAREST): Likewise.
56257 (FE_DOWNWARD): Likewise.
56258 (FE_UPWARD): Likewise.
56259 (FE_TOWARDZERO): Likewise.
56260
56261 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
56262
56263 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56264
56265 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
56266
56267 * scripts/cross-test-ssh.sh (command): Use newlines to separate
56268 commands. Quote $PWD.
56269 (blacklist_exports): Don't use remove_newlines. Replace "declare
56270 -x" by "export".
56271 (remove_newlines): Remove.
56272
56273 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
56274
56275 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56276 * stdlib/stdlib.h (atof): Moved to ...
56277 * include/bits/stdlib-float.h: Here. New file.
56278 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56279 * stdlib/bits/stdlib-float.h: New file.
56280 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56281 -mno-sse -mno-mmx.
56282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56283 <xmmintrin.h>.
56284
56285 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56286
56287 * conform/conformtest.pl (@headers): Add fenv.h.
56288 * conform/data/fenv.h-data: New file.
56289 * include/fenv.h [_ISOMAC]: Disable all contents of file except
56290 include of <math/fenv.h>.
56291
56292 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56293 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56294 && !UNIX98]. Enables tests for XOPEN2K8.
56295 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56296 POSIX2008]: Likewise.
56297
56298 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56299 (struct rusage): Do not expect type or its members.
56300
56301 [BZ #3439]
56302 * math/math.h (FP_NAN): Define macro to integer constant usable in
56303 #if and use that to give value to enum constant.
56304 (FP_INFINITE): Likewise.
56305 (FP_ZERO): Likewise.
56306 (FP_SUBNORMAL): Likewise.
56307 (FP_NORMAL): Likewise.
56308
56309 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
56310
56311 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56312 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56313 arguments.
56314
56315 2012-11-02 Roland McGrath <roland@hack.frob.com>
56316
56317 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56318 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56319 autoconf-time if not.
56320 * configure.in: Remove AC_PREREQ.
56321
56322 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56323
56324 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56325 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56326 of the internal implementation.
56327
56328 2012-11-02 Joseph Myers <joseph@codesourcery.com>
56329
56330 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56331 except include of <misc/sys/syslog.h>.
56332
56333 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56334
56335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56336 function returns with a NULL context exit with zero.
56337
56338 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56339
56340 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56341
56342 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
56343
56344 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56345 (run_program_cmd): This.
56346 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
56347 (tst_langinfo): New variable. Use it.
56348
56349 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
56350
56351 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
56352 floating point opcodes.
56353
56354 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56355
56356 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
56357 variable.
56358
56359 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
56360
56361 * sysdeps/mach/hurd/powerpc: Remove directory.
56362 * sysdeps/mach/powerpc: Likewise.
56363
56364 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
56365
56366 * scripts/check-local-headers.sh: Ignore c++ headers.
56367
56368 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56369
56370 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
56371 __libc_cleanup_region_start argument.
56372
56373 2012-11-01 Joseph Myers <joseph@codesourcery.com>
56374
56375 [BZ #14784]
56376 [BZ #14785]
56377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
56378 x * y using scaling, not as x * y + z.
56379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56381 * math/libm-test.inc (fma_test): Add more tests.
56382 (fma_test_towardzero): Likewise.
56383 (fma_test_downward): Likewise.
56384 (fma_test_upward): Likewise.
56385
56386 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
56387
56388 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
56389
56390 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56391
56392 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
56393 New variable.
56394
56395 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
56396
56397 * rt/tst-shm.c (worker): Correct checking for mmap failure.
56398
56399 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56400
56401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56402 Fix sort order.
56403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56404 Likewise.
56405
56406 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
56407
56408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56409 Fix the order of the list for glibc 2.17.
56410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56411 Likewise.
56412
56413 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
56414
56415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56416
56417 2012-10-31 Joseph Myers <joseph@codesourcery.com>
56418
56419 [BZ #14610]
56420 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
56421 for low part of x being zero before using __atanl (y).
56422 * math/libm-test.inc (atan2_test): Add another test.
56423
56424 * manual/install.texi (Configuring and compiling): Document
56425 general use of test-wrapper and test-wrapper-env.
56426 * INSTALL: Regenerated.
56427
56428 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
56429 (__fma): Do not extract and scale down low bits on after-rounding
56430 systems when result rounded to normal precision would have normal
56431 exponent.
56432 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
56433 (__fmal): Do not extract and scale down low bits on after-rounding
56434 systems when result rounded to normal precision would have normal
56435 exponent.
56436 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
56437 (__fmal): Do not extract and scale down low bits on after-rounding
56438 systems when result rounded to normal precision would have normal
56439 exponent.
56440 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
56441 macro.
56442 (fma_test): Add more tests.
56443 (fma_test_towardzero): Likewise.
56444 (fma_test_downward): Likewise.
56445 (fma_test_upward): Likewise.
56446
56447 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
56448
56449 * sysdeps/i386/tininess.h: Renamed to ...
56450 * sysdeps/x86/tininess.h: This.
56451 * sysdeps/x86_64/tininess.h: Removed.
56452
56453 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56454
56455 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
56456 input. Use $(build-program-cmd).
56457 ($(objpfx)tst-array1-static.out): Likewise.
56458 ($(objpfx)tst-array2.out): Likewise.
56459 ($(objpfx)tst-array3.out): Likewise.
56460 ($(objpfx)tst-array4.out): Likewise.
56461 ($(objpfx)tst-array5.out): Likewise.
56462 ($(objpfx)tst-array5-static.out): Likewise.
56463
56464 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
56465
56466 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
56467 if defined.
56468
56469 * nss/nsswitch.h (nss_interface_function): Provide new
56470 macro for use with NSS functions.
56471 * grp/initgroups.c: Use new macro.
56472 * nss/getXXbyYY.c: Likewise.
56473 * nss/getXXbyYY_r.c: Likewise.
56474 * nss/getXXent.c: Likewise.
56475 * nss/getXXent_r.c: Likewise.
56476 * sysdeps/posix/getaddrinfo.c: Likewise.
56477
56478 2012-10-30 Andreas Jaeger <aj@suse.de>
56479
56480 * po/ru.po: Update Russion translation from translation project.
56481
56482 2012-10-30 Joseph Myers <joseph@codesourcery.com>
56483
56484 [BZ #14152]
56485 [BZ #14783]
56486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
56487 result and shift together with sticky bit instead of replicating
56488 round-to-nearest rounding.
56489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56491 * math/libm-test.inc (fma_test): Add more tests. Do not permit
56492 missing underflow exceptions.
56493 (fma_test_towardzero): Add more tests.
56494 (fma_test_downward): Likewise.
56495 (fma_test_upward): Likewise.
56496
56497 [BZ #14047]
56498 * sysdeps/generic/tininess.h: New file.
56499 * sysdeps/i386/tininess.h: Likewise.
56500 * sysdeps/sh/tininess.h: Likewise.
56501 * sysdeps/x86_64/tininess.h: Likewise.
56502 * stdlib/tst-strtod-underflow.c: Likewise.
56503 * stdlib/tst-tininess.c: Likewise.
56504 * stdlib/strtod_l.c: Include <tininess.h>.
56505 (round_and_return): Do not set errno for exact underflow cases.
56506 Force an underflow exception when setting errno for underflow.
56507 Determine underflow based on rounding to normal precision if
56508 TININESS_AFTER_ROUNDING.
56509 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
56510 ERANGE for exact underflow cases.
56511 * stdlib/Makefile (tests): Add tst-tininess and
56512 tst-strtod-underflow.
56513 ($(objpfx)tst-tininess): Use $(link-libm).
56514 ($(objpfx)tst-strtod-underflow): Likewise.
56515
56516 2012-10-30 Andreas Jaeger <aj@suse.de>
56517
56518 [BZ#14767]
56519 * elf/Makefile (tests): Remove conditional for have-initfini-array
56520 since this is now always required and the variable does not exist
56521 anymore.
56522 (tests-static): Likewise.
56523 (modules-names): Likewise.
56524
56525 * po/eo.po: Add Esperanto translation from translation project.
56526
56527 * elf/tst-array1.c (fini_array): Make writeable so that it can be
56528 merged with constructor/destructor.
56529 (init_array): Likewise.
56530 * elf/tst-array2dep.c (fini_array): Likewise.
56531 (init_array): Likewise.
56532
56533 2012-10-29 Mike Frysinger <vapier@gentoo.org>
56534
56535 * manual/message.texi: Delete @cartouche tags.
56536
56537 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
56538
56539 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
56540 EOPNOTSUPP.
56541 * sysdeps/mach/hurd/fsync.c: Likewise.
56542
56543 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
56544 [_POSIX_REALTIME_SIGNALS]: Change condition to
56545 [_POSIX_REALTIME_SIGNALS > 0].
56546
56547 2012-10-27 Andreas Jaeger <aj@suse.de>
56548
56549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
56550 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
56551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
56552 [__WORDSIZE != 64]: Likewise.
56553
56554 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
56555
56556 * iconvdata/tst-table.sh: Remove ${SHELL}.
56557 * iconvdata/tst-tables.sh: Likewise.
56558
56559 2012-10-25 David S. Miller <davem@davemloft.net>
56560
56561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56562 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
56563 of strtoull.
56564
56565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
56566 ifunc-impl-list.c
56567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56568 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
56569 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
56570 file.
56571
56572 2012-10-25 Roland McGrath <roland@hack.frob.com>
56573
56574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56575 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
56576 __getdirentries.
56577
56578 2012-10-25 Joseph Myers <joseph@codesourcery.com>
56579 Jim Blandy <jimb@codesourcery.com>
56580
56581 * scripts/cross-test-ssh.sh: New file.
56582 * manual/install.texi (Configuring and compiling): Document use of
56583 cross-test-ssh.sh.
56584 * INSTALL: Regenerated.
56585
56586 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
56587
56588 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
56589 EOPNOTSUPP.
56590
56591 2012-10-25 Joseph Myers <joseph@codesourcery.com>
56592
56593 * Makeconfig (run-program-prefix): Fix comment.
56594
56595 2012-10-24 Joseph Myers <joseph@codesourcery.com>
56596 Jim Blandy <jimb@codesourcery.com>
56597
56598 * Makeconfig (test-wrapper): New variable,
56599 (test-wrapper-env): Likewise.
56600 [$(cross-compiling) = yes && $(test-wrapper) != ""]
56601 (run-built-tests): Define to yes.
56602 (run-program-prefix): Use $(test-wrapper).
56603 (built-program-cmd): Likewise.
56604 * Rules (make-test-out): Use $(test-wrapper-env) and
56605 $(host-built-program-cmd).
56606 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
56607 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
56608 tst-pathopt.sh.
56609 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
56610 $(test-wrapper-env) to tst-rtld-load-self.sh.
56611 ($(objpfx)order2.out): Use $(test-wrapper).
56612 ($(objpfx)tst-initorder.out): Likewise.
56613 ($(objpfx)tst-initorder2.out): Likewise.
56614 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
56615 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
56616 (test_wrapper_env): New variable. Use it to run ld.so.
56617 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
56618 Use it to run ld.so.
56619 (test_wrapper_env): Likewise.
56620 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
56621 $(test-wrapper) to run-iconv-test.sh.
56622 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
56623 (ICONV): Use $test_wrapper.
56624 * posix/Makefile ($(objpfx)globtest.out): Pass
56625 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
56626 globtest.sh, not $(run-program-prefix).
56627 * posix/globtest.sh (run_via_rtld_prefix): New variable.
56628 (test_wrapper): Likewise.
56629 (test_wrapper_env): Likewise. Use it to run globtest with HOME
56630 set together with run_via_rtld_prefix.
56631 (run_program_prefix): Define in terms of test_wrapper and
56632 run_via_rtld_prefix.
56633
56634 2012-10-24 Roland McGrath <roland@hack.frob.com>
56635
56636 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
56637 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
56638 Targets removed.
56639
56640 [BZ #14743]
56641 * include/time.h: Remove librt_hidden_proto (clock_gettime).
56642 Declare __clock_getres, __clock_gettime, __clock_settime,
56643 __clock_nanosleep, and __clock_getcpuclockid.
56644 * rt/clock_gettime.c: Define __clock_gettime as an alias.
56645 Remove librt_hidden_def (clock_gettime).
56646 * sysdeps/unix/clock_gettime.c: Likewise.
56647 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
56648 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
56649 * rt/clock_getres.c: Define __clock_getres as an alias.
56650 * sysdeps/posix/clock_getres.c: Likewise.
56651 * rt/clock_settime.c: Define __clock_settime as an alias.
56652 * sysdeps/unix/clock_settime.c: Likewise.
56653 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
56654 * sysdeps/unix/clock_nanosleep.c: Likewise.
56655 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
56656 * rt/clock-compat.c: New file.
56657 * rt/Makefile (librt-routines): Add clock-compat and move
56658 $(clock-routines) to ...
56659 (routines): ... here, new variable.
56660 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
56661 Don't add get_clockfreq here.
56662 * rt/Versions (libc: GLIBC_2.17): New version set.
56663 Add clock_* symbols here.
56664 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
56665 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
56666 (GLIBC_2.17): Add clock_* symbols.
56667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56671 Likewise.
56672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56673 Likewise.
56674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56678 * NEWS: Mention the move.
56679
56680 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56681 Use __open, __read, __close rather than their public counterparts.
56682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56683 (__get_clockfreq_via_cpuinfo): Likewise.
56684 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
56685 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
56686
56687 * config.h.in (HAVE_IFUNC): New #undef.
56688 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
56689 was successful.
56690 * configure: Regenerated.
56691
56692 2012-10-24 Mike Frysinger <vapier@gentoo.org>
56693
56694 * configure.in: Move READELF check to start of file.
56695 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
56696 libc_cv_asm_gnu_indirect_function in the process.
56697 * configure: Regenerated.
56698
56699 2012-10-24 Mike Frysinger <vapier@gentoo.org>
56700
56701 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
56702 send the output to /dev/null.
56703 (libc_cv_cc_with_libunwind): Likewise.
56704 (libc_cv_as_noexecstack): Likewise.
56705 * configure: Regenerate.
56706
56707 2012-10-24 Joseph Myers <joseph@codesourcery.com>
56708
56709 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
56710
56711 * posix/globtest.sh (TMPDIR): Do not set.
56712 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
56713 (testout): Likewise.
56714
56715 2012-10-24 Andreas Jaeger <aj@suse.de>
56716
56717 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
56718 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
56719 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
56720 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
56721 posix_fadvise64, posix_fallocate64.
56722
56723 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
56724 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
56725 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
56726 Likewise.
56727 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
56728 Likewise.
56729 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
56730
56731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
56732 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
56733 <bits/fcntl-linux.h>.
56734 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
56735
56736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
56737 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
56738 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
56739 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
56740 [__WORDSIZE != 64]: Likewise.
56741
56742 2012-10-23 Joseph Myers <joseph@codesourcery.com>
56743
56744 * Makeconfig (run-built-tests): New variable.
56745 * Rules [$(cross-compiling) = yes]: Change condition to
56746 [$(run-built-tests) = no].
56747 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
56748 to [$(run-built-tests) = yes].
56749 * elf/Makefile [$(cross-compiling) = no]: Likewise.
56750 * grp/Makefile [$(cross-compiling) = no]: Likewise.
56751 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
56752 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
56753 * intl/Makefile [$(cross-compiling) = no]: Likewise.
56754 * io/Makefile [$(cross-compiling) = no]: Likewise.
56755 * libio/Makefile [$(cross-compiling) = no]: Likewise.
56756 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
56757 * misc/Makefile [$(cross-compiling) = no]: Likewise.
56758 * posix/Makefile [$(cross-compiling) = no]: Likewise.
56759 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
56760 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
56761 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
56762 * string/Makefile [$(cross-compiling) = no]: Likewise.
56763
56764 * posix/Makefile ($(objpfx)globtest.out): Pass
56765 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
56766 $(rtld-installed-name).
56767 * posix/globtest.sh (elf_objpfx): Remove variable.
56768 (rtld_installed_name): Likewise.
56769 (library_path): Likewise.
56770 (run_program_prefix): New variable. Use for running globtest
56771 binary.
56772
56773 2012-10-23 Jim Blandy <jimb@codesourcery.com>
56774 Joseph Myers <joseph@codesourcery.com>
56775
56776 * Makeconfig (host-built-program-cmd): New variable.
56777 * elf/Makefile (tst-stackguard1-ARGS): Use
56778 $(host-built-program-cmd).
56779 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
56780 (tst-spawn-ARGS): Likewise.
56781 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
56782
56783 2012-10-23 Joseph Myers <joseph@codesourcery.com>
56784 Jim Blandy <jimb@codesourcery.com>
56785
56786 * Makeconfig (run-via-rtld-prefix): New variable.
56787 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
56788 (built-program-cmd): Likewise.
56789
56790 2012-10-22 Andreas Jaeger <aj@suse.de>
56791
56792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
56793 __O_RSYNC if it exists, otherwise to O_SYNC.
56794
56795 2012-10-22 Jim Blandy <jimb@codesourcery.com>
56796 Joseph Myers <joseph@codesourcery.com>
56797
56798 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
56799 /dev/null.
56800 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
56801 from /dev/null
56802 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
56803 /dev/null.
56804
56805 2012-10-22 Andreas Jaeger <aj@suse.de>
56806
56807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
56808 Define always.
56809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
56810
56811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56812 bits/fcntl-linux.h.
56813
56814 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
56815 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
56816
56817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
56818 to __O_LARGEFILE.
56819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
56820 to __O_LARGEFILE.
56821
56822 2012-10-21 Jim Blandy <jimb@codesourcery.com>
56823 Joseph Myers <joseph@codesourcery.com>
56824
56825 * config.make.in (NM): New variable.
56826
56827 2012-10-21 Andreas Jaeger <aj@suse.de>
56828
56829 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56830 definitions and declarations that are provided by
56831 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56832
56833 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
56834
56835 [BZ #14683]
56836 * elf/Makefile (tests-static): Add tst-leaks1-static.
56837 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56838 ($(objpfx)tst-leaks1-static): New rule.
56839 ($(objpfx)tst-leaks1-static-mem): Likewise.
56840 (tst-leaks1-static-ENV): New macro.
56841 * elf/dl-open.c (dl_open_worker): Check the main application
56842 only if SHARED is defined.
56843 * elf/tst-leaks1-static.c: New file.
56844
56845 2012-10-20 Andreas Jaeger <aj@suse.de>
56846
56847 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56848 generic values for Linux.
56849 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56850 and declarations that are provided by <bits/fcntl-linux.h> and
56851 include <bits/fcntl-linux.h>.
56852 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56854
56855 2012-10-20 Roland McGrath <roland@hack.frob.com>
56856
56857 * io/fcntl.h: Move include of <bits/types.h> to the top and
56858 include it unconditionally.
56859
56860 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
56861
56862 * wcsmbs/Makefile (tests-ifunc): New variable.
56863 (tests): Add $(tests-ifunc).
56864 * wcsmbs/test-wcschr-ifunc.c: New file.
56865 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56866 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56867 * wcsmbs/test-wcslen-ifunc.c: Likewise.
56868 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56869 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56870
56871 * string/Makefile (tests-ifunc): New variable.
56872 (tests): Add $(tests-ifunc).
56873 * string/test-memccpy.c (TEST_NAME): New macro.
56874 * string/test-memchr.c (TEST_NAME): Likewise.
56875 * string/test-memcmp.c (TEST_NAME): Likewise.
56876 * string/test-memcpy.c (TEST_NAME): Likewise.
56877 * string/test-memmem.c (TEST_NAME): Likewise.
56878 * string/test-memmove.c (TEST_NAME): Likewise.
56879 * string/test-memset.c (TEST_NAME): Likewise.
56880 * string/test-rawmemchr.c (TEST_NAME): Likewise.
56881 * string/test-stpcpy.c (TEST_NAME): Likewise.
56882 * string/test-stpncpy.c (TEST_NAME): Likewise.
56883 * string/test-strcasecmp.c (TEST_NAME): Likewise.
56884 * string/test-strcasestr.c (TEST_NAME): Likewise.
56885 * string/test-strcat.c (TEST_NAME): Likewise.
56886 * string/test-strchr.c (TEST_NAME): Likewise.
56887 * string/test-strcmp.c(TEST_NAME): Likewise.
56888 * string/test-strcpy.c (TEST_NAME): Likewise.
56889 * string/test-strcspn.c (TEST_NAME): Likewise.
56890 * string/test-strlen.c (TEST_NAME): Likewise.
56891 * string/test-strncasecmp.c (TEST_NAME): Likewise.
56892 * string/test-strncmp.c (TEST_NAME): Likewise.
56893 * string/test-strncpy.c (TEST_NAME): Likewise.
56894 * string/test-strnlen.c (TEST_NAME): Likewise.
56895 * string/test-strpbrk.c (TEST_NAME): Likewise.
56896 * string/test-strrchr.c (TEST_NAME): Likewise.
56897 * string/test-strspn.c (TEST_NAME): Likewise.
56898 * string/test-strstr.c (TEST_NAME): Likewise.
56899 * string/test-bcopy-ifunc.c: New file.
56900 * string/test-bzero-ifunc.c: Likewise.
56901 * string/test-memccpy-ifunc.c: Likewise.
56902 * string/test-memchr-ifunc.c: Likewise.
56903 * string/test-memcmp-ifunc.c: Likewise.
56904 * string/test-memcpy-ifunc.c: Likewise.
56905 * string/test-memmem-ifunc.c: Likewise.
56906 * string/test-memmove-ifunc.c: Likewise.
56907 * string/test-mempcpy-ifunc.c: Likewise.
56908 * string/test-memset-ifunc.c: Likewise.
56909 * string/test-rawmemchr-ifunc.c: Likewise.
56910 * string/test-stpcpy-ifunc.c: Likewise.
56911 * string/test-stpncpy-ifunc.c: Likewise.
56912 * string/test-strcasecmp-ifunc.c: Likewise.
56913 * string/test-strcasestr-ifunc.c: Likewise.
56914 * string/test-strcat-ifunc.c: Likewise.
56915 * string/test-strchr-ifunc.c: Likewise.
56916 * string/test-strchrnul-ifunc.c: Likewise.
56917 * string/test-strcmp-ifunc.c: Likewise.
56918 * string/test-strcpy-ifunc.c: Likewise.
56919 * string/test-strcspn-ifunc.c: Likewise.
56920 * string/test-strlen-ifunc.c: Likewise.
56921 * string/test-strncasecmp-ifunc.c: Likewise.
56922 * string/test-strncat-ifunc.c: Likewise.
56923 * string/test-strncmp-ifunc.c: Likewise.
56924 * string/test-strncpy-ifunc.c: Likewise.
56925 * string/test-strnlen-ifunc.c: Likewise.
56926 * string/test-strpbrk-ifunc.c: Likewise.
56927 * string/test-strrchr-ifunc.c: Likewise.
56928 * string/test-strspn-ifunc.c: Likewise.
56929 * string/test-strstr-ifunc.c: Likewise.
56930
56931 * debug/Makefile (tests-ifunc): New variable.
56932 (tests): Add $(tests-ifunc).
56933 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56934 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56935 * debug/test-stpcpy_chk-ifunc.c: New file.
56936 * debug/test-strcpy_chk-ifunc.c: Likewise.
56937
56938 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
56939
56940 [BZ #13601]
56941 * elf/dl-load.c (open_verify): Retry read if the entire ELF
56942 header is not read in.
56943
56944 2012-10-19 Joseph Myers <joseph@codesourcery.com>
56945
56946 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
56947 script to $(SHELL) as $<. Pass $(common-objpfx) to script
56948 directly. Pass built executable to script as
56949 $(built-program-cmd).
56950 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
56951 $testprogram without using LD_LIBRARY_PATH and $ldso.
56952
56953 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56954 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56955 $(rtld-installed-name).
56956 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56957 (rtld_installed_name): Likewise.
56958 (library_path): Likewise.
56959 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
56960 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56961 $(run-program-prefix) to tst-tables.sh.
56962 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
56963 it to run tst-table-from and tst-table-to.
56964 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56965 Pass it to tst-table.sh.
56966 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56967 $(run-program-prefix) to tst-gettext.sh.
56968 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56969 tst-translit.sh.
56970 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56971 tst-gettext2.sh.
56972 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
56973 to run tst-gettext.
56974 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
56975 to run tst-gettext2.
56976 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
56977 to run tst-translit.
56978 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56979 $(run-program-prefix) to tst-mtrace.sh.
56980 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
56981 to run tst-mtrace.
56982 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56983 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56984 $(rtld-installed-name).
56985 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56986 (rtld_installed_name): Likewise.
56987 (run_program_prefix): New variable. Use it to run wordexp-test.
56988
56989 * Makeconfig (ARCH): Remove all definitions.
56990 (machine): Likewise.
56991 [ARCH]: Remove conditional code.
56992 [!objdir]: Give error.
56993 [!objdir] (objpfx): Remove.
56994 [!objdir] (common-objpfx): Likewise.
56995 [!objdir] (common-objdir): Likewise.
56996 * configure.in (config_makefile): Remove. Hardcode Makefile in
56997 AC_CONFIG_FILES call.
56998 * configure: Regenerated.
56999
57000 [BZ #13888]
57001 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57002 or TMPDIR.
57003 (testout): Likewise.
57004
57005 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57006 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57007 $(rtld-installed-name).
57008 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57009 (rtld_installed_name): Likwise.
57010 (runit): Remove function.
57011 (run_getconf): New variable, Use it for running getconf binary.
57012
57013 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
57014
57015 [BZ #14716]
57016 * string/test-memmem.c (check_result): New function.
57017 (do_one_test): Use it.
57018 (check1): New function.
57019 (test_main): Use it.
57020
57021 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
57022
57023 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57024
57025 2012-10-18 Joseph Myers <joseph@codesourcery.com>
57026
57027 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57028 (_G_LSEEK64): Likewise.
57029 (_G_MMAP64): Likewise.
57030 (_G_FSTAT64): Likewise.
57031 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57032 (_G_LSEEK64): Likewise.
57033 (_G_MMAP64): Likewise.
57034 (_G_FSTAT64): Likewise.
57035 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57036 unconditional. Call __mmap64 directly.
57037 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57038 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
57039 __lseek64 directly.
57040 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57041 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
57042 __mmap64 directly.
57043 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57044 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
57045 __lseek64 directly.
57046 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57047 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
57048 __lseek64 directly.
57049 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57050 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
57051 __lseek64 directly.
57052 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57053 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
57054 __fxstat64 directly.
57055 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57056 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57057 unconditional.
57058 (freopen64) [!_G_OPEN64]: Remove conditional code.
57059 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57060 unconditional.
57061 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57062 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57063 unconditional.
57064 (ftello64) [!_G_LSEEK64]: Remove conditional code.
57065 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57066 unconditional.
57067 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57068 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57069 unconditional.
57070 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57071 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57072 unconditional.
57073 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57074 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57075 unconditional.
57076 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57077 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57078 unconditional.
57079 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57080
57081 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
57082
57083 [BZ #12140]
57084 * manual/memory.texi (Malloc Tunable Parameters): Add note
57085 about free list pointers overwriting some perturb bytes.
57086 Wording suggested by Roland McGrath.
57087
57088 2012-10-17 Joseph Myers <joseph@codesourcery.com>
57089
57090 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57091 (lgamma_test): Likewise.
57092 (tgamma_test): Likewise.
57093
57094 2012-10-16 Florian Weimer <fweimer@redhat.com>
57095
57096 [BZ #14700]
57097 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57098 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57099
57100 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
57101
57102 * NEWS: Mention BZ #14716.
57103 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57104 when removing AVAILABLE1_USES_J macro.
57105
57106 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
57107
57108 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57109 (__bswap_64): __uint64_t for unsigned 64-bit int.
57110
57111 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
57112
57113 * include/string.h (memmem): Declare libc hidden alias.
57114 * string/memmem.c (memmem): Define libc hidden alias.
57115 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57116 __read, __close instead of open, read, close.
57117
57118 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
57119
57120 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57121 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57122 global and hidden.
57123 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57124 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57125 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57126 Likewise.
57127 (__rawmemchr_sse2): Likewise.
57128 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57129 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57130 (__strchr_sse2): Likewise.
57131 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57132 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57133 (__strcasecmp_sse2): Likewise.
57134 (__strncasecmp_sse2): Likewise.
57135 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57136 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57137 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57138 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57139 (__strrchr_sse2): Likewise.
57140 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57141 ifunc-impl-list.c.
57142 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57143 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57144 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57145 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57146 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57147 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57148 * sysdeps/x86_64/multiarch/memset.S: Likewise.
57149 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57150 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57151 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57152 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57153 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57154 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57155 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57156 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57157 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57158 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57159 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57160 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57161 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57162 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57163 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57164 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57165 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57166 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57167 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57168 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57169 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57170 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57171 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57172
57173 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57174 global and hidden.
57175 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57176 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57177 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57178 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57179 Likewise.
57180 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57181 Likewise.
57182 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57183 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57184 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57185 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57186 ifunc-impl-list.c.
57187 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57188 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57189 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57190 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57191 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57192 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57193 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57194 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57195 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57196 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57197 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57198 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57199 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57200 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57201 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57202 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57203 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57204 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57205 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57206 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57207 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57208 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57209 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57210 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57211 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57212 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57213 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57214 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57215 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57216 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57217 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57218 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57219 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57220 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57221 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57222 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57223 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57224 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57225 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57226 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57227 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57228
57229 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57230 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57231 * include/ifunc-impl-list.h: New file.
57232 * misc/ifunc-impl-list.c: Likewise.
57233 * misc/Makefile (routines): Add ifunc-impl-list.
57234 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57235 * string/test-string.h: Include <ifunc-impl-list.h>.
57236 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57237 TEST_NAME]: New variables.
57238 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57239 are defined.
57240 (test_init): Call __libc_ifunc_impl_list to initialize
57241 func_list if TEST_IFUNC and TEST_NAME are defined.
57242
57243 * string/Makefile (strop-tests): Add bcopy and bzero.
57244 * string/test-bcopy.c: New file.
57245 * string/test-bzero.c: Likewise.
57246 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57247 defined.
57248 * string/test-memset.c: Support bzero test if TEST_BZERO is
57249 defined.
57250 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57251 __libc_memmove.
57252 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57253 __libc_memset.
57254 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57255 of memset.
57256
57257 2012-10-10 Joseph Myers <joseph@codesourcery.com>
57258
57259 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57260 * configure: Regenerated.
57261
57262 * Makeconfig (+link-static-before-libc): Don't include
57263 $(link-static-libc).
57264
57265 * libio/libio.h (_IO_pos_t): Remove.
57266
57267 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57268
57269 * NEWS: Add note about FIPS mode. Wording suggested by Roland
57270 McGrath.
57271
57272 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57273
57274 * crypt/crypt-entry.c: Include fips-private.h.
57275 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57276 * crypt/md5c-test.c (main): Tolerate disabled MD5.
57277 * sysdeps/unix/sysv/linux/fips-private.h: New file.
57278 * sysdeps/generic/fips-private.h: New file, dummy fallback.
57279
57280 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
57281
57282 * crypt/crypt-private.h: Include stdbool.h.
57283 (_ufc_setup_salt_r): Return bool.
57284 * crypt/crypt-entry.c: Include errno.h.
57285 (__crypt_r): Return NULL with EINVAL for bad salt.
57286 * crypt/crypt_util.c (bad_for_salt): New.
57287 (_ufc_setup_salt_r): Check that salt is long enough and within
57288 the specified alphabet.
57289 * crypt/badsalttest.c: New file.
57290 * crypt/Makefile (tests): Add it.
57291 ($(objpfx)badsalttest): New.
57292
57293 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
57294
57295 * NEWS: Add entry for BZ #14602.
57296
57297 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57298
57299 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57300 type-generic.
57301 * math/libm-test.inc: Update comment listing what functions and
57302 macros are tested.
57303 (isgreater_test): New function.
57304 (isgreaterequal_test): Likewise.
57305 (isless_test): Likewise.
57306 (islessequal_test): Likewise.
57307 (islessgreater_test): Likewise.
57308 (isunordered_test): Likewise.
57309 (main): Call the new functions.
57310
57311 2012-10-09 Roland McGrath <roland@hack.frob.com>
57312
57313 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57314 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57315 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57316 * sysdeps/i386/configure: Regenerated.
57317 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57318 * sysdeps/mach/configure: Regenerated.
57319 * sysdeps/mach/hurd/configure: Regenerated.
57320 * sysdeps/powerpc/configure: Regenerated.
57321 * sysdeps/powerpc/powerpc32/configure: Regenerated.
57322 * sysdeps/powerpc/powerpc64/configure: Regenerated.
57323 * sysdeps/s390/s390-32/configure: Regenerated.
57324 * sysdeps/s390/s390-64/configure: Regenerated.
57325 * sysdeps/sh/configure: Regenerated.
57326 * sysdeps/sparc/configure: Regenerated.
57327 * sysdeps/unix/sysv/linux/configure: Regenerated.
57328 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57329 * sysdeps/x86_64/configure: Regenerated.
57330
57331 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57332 defined. Don't check if MAP is NULL.
57333
57334 2012-10-09 Joseph Myers <joseph@codesourcery.com>
57335
57336 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57337 (_G_stat64): Likewise.
57338 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57339 (_G_stat64): Likewise.
57340 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57341 instead of struct _G_stat64.
57342 * libio/fileops.c (mmap_remap_check): Likewise.
57343 (decide_maybe_mmap): Likewise.
57344 (_IO_new_file_seekoff): Likewise.
57345 (_IO_file_stat): Likewise.
57346 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
57347 _G_off64_t.
57348 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
57349 instead of struct _G_stat64.
57350 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57351
57352 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
57353
57354 [BZ #14602]
57355 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57356 Replace with ...
57357 (CHECK_EOL): New macro.
57358 (two_way_short_needle): Check beginning of haystack for EOL. Use
57359 CHECK_EOL.
57360 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57361 Replace with CHECK_EOL.
57362 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
57363 Replace with CHECK_EOL.
57364
57365 2012-10-08 Joseph Myers <joseph@codesourcery.com>
57366
57367 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
57368 type-generic.
57369 * math/libm-test.inc: Update comment listing what functions and
57370 macros are tested.
57371 (finite_test): New function.
57372 (isinf_test): Likewise.
57373 (isnan_test): Likewise.
57374 (fpclassify_test): Test subnormal input.
57375 (isfinite_test): Likewise.
57376 (isnormal_test): Likewise.
57377 (main): Call the new functions.
57378
57379 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
57380
57381 [BZ #14660]
57382 * Makerules (%.dynsym): Force C locale when running
57383 $(OBJDUMP) --dynamic-syms.
57384
57385 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
57386
57387 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
57388 <stdint.h>.
57389
57390 2012-10-06 David S. Miller <davem@davemloft.net>
57391
57392 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
57393 upper 32-bits of the length value in %o2 since we use branch-on-register
57394 tests which consider the entire 64-bit register.
57395
57396 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
57397
57398 * string/test-strstr.c (check2): Add a test for page boundary.
57399
57400 2012-10-05 David S. Miller <davem@davemloft.net>
57401
57402 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
57403 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
57404 file.
57405 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57406 sysdep_routines.
57407 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57408 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
57409 and bzero when HWCAP_SPARC_CRYPTO is present.
57410
57411 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
57412
57413 [BZ #14602]
57414 * string/test-strstr.c (check2): New function.
57415 (test_main): Call check2.
57416
57417 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
57418 and bug-strchr1.
57419 * string/bug-strcasestr1.c (do_test): Moved to ...
57420 * string/test-strcasestr.c (check1): Here. New function.
57421 (do_one_test): Break out result checking code into ...
57422 (check_result): This. New function.
57423 (do_one_test): Call check_result.
57424 (test_main): Call check1.
57425 * string/bug-strchr1.c (do_test): Moved to ...
57426 * string/test-strchr.c (check1): Here. New function.
57427 (do_one_test): Break out result checking code into ...
57428 (check_result): This. New function.
57429 (do_one_test): Call check_result.
57430 (test_main): Call check1.
57431 * string/bug-strstr1.c (main): Moved to ...
57432 * string/test-strstr.c (check1): Here. New function.
57433 (do_one_test): Break out result checking code into ...
57434 (check_result): This. New function.
57435 (do_one_test): Call check_result.
57436 (test_main): Call check1.
57437 * string/bug-strcasestr1.c: Removed.
57438 * string/bug-strchr1.c: Likewise.
57439 * string/bug-strstr1.c: Likewise.
57440
57441 * elf/Makefile (dl-routines): Add hwcaps.
57442 * elf/dl-support.c (_dl_important_hwcaps): Removed.
57443 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
57444 (_dl_important_hwcaps): Moved to ...
57445 * elf/dl-hwcaps.c: Here. New file.
57446 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
57447
57448 [BZ #14557]
57449 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
57450 if IS_IN_rtld isn't defined.
57451
57452 * elf/dl-support.c (_dl_sysinfo_map): New.
57453 Include "get-dynamic-info.h" and "setup-vdso.h".
57454 (_dl_non_dynamic_init): Call setup_vdso.
57455 * elf/dynamic-link.h: Don't include <assert.h>.
57456 (elf_get_dynamic_info): Moved to ...
57457 * elf/get-dynamic-info.h: Here. New file.
57458 * elf/dynamic-link.h: Include "get-dynamic-info.h".
57459 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
57460 * elf/setup-vdso.h: Here. New file.
57461 * elf/rtld.c: Include "setup-vdso.h".
57462 (dl_main): Call setup_vdso.
57463
57464 2012-10-05 Joseph Myers <joseph@codesourcery.com>
57465
57466 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
57467 creal in comment listing functions tested. List finite, isinf,
57468 isnan, isless, islessequal, isgreater, isgreaterequal,
57469 islessgreater, isunordered, lgamma_r and pow10 as functions and
57470 macros not tested. Mention which functions not tested are aliases
57471 for other functions. Fix typo. Note that signs of NaNs are not
57472 tested.
57473
57474 * scripts/config.guess: Update from config.git.
57475 * scripts/config.sub: Likewise.
57476
57477 2012-10-04 Roland McGrath <roland@hack.frob.com>
57478
57479 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
57480 * misc/madvise.c (madvise): Renamed to __madvise.
57481 Make madvise a weak alias.
57482 * include/sys/mman.h: Declare __madvise.
57483 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
57484 * sysdeps/unix/syscalls.list
57485 (madvise): Make __madvise the strong name, and madvise a weak alias.
57486 * sysdeps/unix/sysv/linux/syscalls.list
57487 (madvise, mmap): Remove redundant entries.
57488 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
57489 * malloc/malloc.c (mtrim): Likewise.
57490 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
57491
57492 2012-10-03 Roland McGrath <roland@hack.frob.com>
57493
57494 * sysdeps/mach/hurd/dl-cache.c: File removed.
57495 * config.h.in (USE_LDCONFIG): New #undef.
57496 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
57497 * configure: Regenerated.
57498 * elf/Makefile (dl-routines): Add dl-cache only under
57499 [$(use-ldconfig) = yes].
57500 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
57501 cache on [USE_LDCONFIG].
57502 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
57503 [USE_LDCONFIG].
57504 * elf/rtld.c (dl_main): Likewise.
57505
57506 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
57507
57508 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
57509 _SC_LEVEL4_CACHE_LINESIZE.
57510
57511 2012-10-03 Roland McGrath <roland@hack.frob.com>
57512
57513 * sysdeps/unix/bsd/confstr.h: File removed.
57514
57515 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
57516
57517 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
57518 sys/sdt-config.h.
57519
57520 2012-10-02 Roland McGrath <roland@hack.frob.com>
57521
57522 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
57523 Make 'mapoff' field ElfW(Off) rather than off_t.
57524
57525 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
57526
57527 * nscd/Makefile: Remove nscd-cflags and all its users.
57528 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
57529 (CFLAGS-nonlib): Add compiler flags for nscd modules.
57530
57531 [BZ #10631]
57532 * malloc.c (malloc_printerr): Clarify error message.
57533
57534 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
57535
57536 [BZ #14648]
57537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57538 Set bit_FMA_Usable if FMA is supported.
57539 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
57540 macro.
57541 (bit_FMA4_Usable): Updated.
57542 (index_FMA_Usable): New macro.
57543 (CPUID_FMA): Likewise.
57544 (HAS_FMA): Defined with bit_FMA_Usable.
57545
57546 2012-10-01 Roland McGrath <roland@hack.frob.com>
57547
57548 * bits/types.h (__swblk_t): Type removed.
57549 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
57550 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
57551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57552 (__SWBLK_T_TYPE): Likewise.
57553 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57554 (__SWBLK_T_TYPE): Likewise.
57555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57556 (__SWBLK_T_TYPE): Likewise.
57557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57558 (__SWBLK_T_TYPE): Likewise.
57559
57560 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
57561 Honza Horak <hhorak@redhat.com>
57562
57563 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
57564 (xdr_mapname): Use YPMAXMAP as maxsize.
57565 (xdr_peername): Use YPMAXPEER as maxsize.
57566 (xdr_keydat): Use YPAXRECORD as maxsize.
57567 (xdr_valdat): Use YPMAXRECORD as maxsize.
57568
57569 2012-10-01 Roland McGrath <roland@hack.frob.com>
57570
57571 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
57572
57573 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
57574 * csu/init-first.c: ... here.
57575 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
57576 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
57577 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
57578 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
57579 * sysdeps/i386/init-first.c: File removed.
57580 * sysdeps/sh/init-first.c: File removed.
57581
57582 2012-10-01 Joseph Myers <joseph@codesourcery.com>
57583
57584 [BZ #14645]
57585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
57586 if x * y might underflow to zero and z is zero.
57587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57588 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57589 * math/libm-test.inc (min_subnorm_value): New variable.
57590 (fma_test): Add more tests.
57591 (fma_test_towardzero): Likewise.
57592 (fma_test_downward): Likewise.
57593 (fma_test_upward): Likewise.
57594 (initialize): Set min_subnorm_value.
57595
57596 2012-09-29 Joseph Myers <joseph@codesourcery.com>
57597
57598 [BZ #14638]
57599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
57600 0 + 0.
57601 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
57602 mode for addition resulting in exact zero.
57603 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
57604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
57605 exact 0 + 0.
57606 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57608 * math/libm-test.inc (fma_test): Add more tests.
57609 (fma_test_towardzero): New function.
57610 (fma_test_downward): Likewise.
57611 (fma_test_upward): Likewise.
57612 (main): Call the new functions.
57613
57614 2012-09-28 David S. Miller <davem@davemloft.net>
57615
57616 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
57617
57618 2012-09-28 Roland McGrath <roland@hack.frob.com>
57619
57620 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
57621 instead of SIGALRM.
57622
57623 * sysdeps/gnu/_G_config.h: Moved to ...
57624 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
57625 * sysdeps/mach/hurd/_G_config.h: Moved to ...
57626 * sysdeps/generic/_G_config.h: ... here.
57627
57628 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
57629
57630 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
57631
57632 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
57633 Conditionalize target on [libnss_test1.so-version].
57634
57635 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
57636
57637 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
57638 (elfobjdir): Move out of conditionals.
57639
57640 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
57641 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
57642 (__nss_lookup_function): Conditionalize label remove_from_tree on
57643 [!DO_STATIC_NSS || SHARED], matching its only use.
57644
57645 2012-09-28 David S. Miller <davem@davemloft.net>
57646
57647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
57648 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
57649 file.
57650 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
57651 sysdep_routines.
57652 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
57653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
57654 when HWCAP_SPARC_CRYPTO is present.
57655
57656 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57657
57658 * io/tst-mknodat.c: Create a FIFO instead of a socket.
57659
57660 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
57661
57662 [BZ #6530]
57663 * stdio-common/vfprintf.c (process_string_arg): Revert
57664 2000-07-22 change.
57665
57666 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
57667
57668 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
57669 for testcase.
57670 * stdio-common/tst-sprintf.c: Include <locale.h>
57671 (main): Test sprintf's handling of incomplete multibyte
57672 characters.
57673
57674 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
57675
57676 * elf/dl-runtime.c (VERSYMIDX): Removed.
57677 * elf/dl-version.c (VERSYMIDX): Likewise.
57678 * elf/do-rel.h (VERSYMIDX): Likewise.
57679 (VALIDX): Likewise.
57680 * elf/dynamic-link.h (VERSYMIDX): Likewise.
57681 * elf/rtld.c (VALIDX): Likewise.
57682 (ADDRIDX): Likewise.
57683 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
57684 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
57685 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
57686 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
57687 (VALIDX): Likewise.
57688 (ADDRIDX): Likewise.
57689
57690 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57691
57692 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
57693
57694 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
57695
57696 [BZ #11438]
57697 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
57698 to global scope.
57699 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
57700 addresses are in the same scope as 192.0.2/24.
57701 * posix/gai.conf: Document new scope table defaults.
57702
57703 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57704
57705 [BZ #5298]
57706 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
57707 for ftell. Compute offsets from write pointers instead.
57708 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
57709
57710 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57711
57712 [BZ #14543]
57713 * libio/Makefile (tests): New test case tst-fseek.
57714 * libio/tst-fseek.c: New test case to verify that fseek/ftell
57715 combination works in wide mode.
57716 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
57717 state when the external buffer state changes.
57718
57719 2012-09-27 David S. Miller <davem@davemloft.net>
57720
57721 [BZ #14376]
57722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
57723 pass reloc->r_addend in as the 'high' argument to
57724 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
57725
57726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57727
57728 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
57729
57730 * rt/tst-aio2.c: Include <pthread.h>.
57731 * rt/tst-aio3.c: Likewise.
57732
57733 2012-09-27 Steve Ellcey <sellcey@mips.com>
57734
57735 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
57736
57737 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
57738
57739 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
57740 contents on [SHARED].
57741
57742 2012-09-26 Marek Polacek <polacek@redhat.com>
57743
57744 [BZ #14530]
57745 [BZ #13741]
57746 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
57747 for C++ and GCC <4.3 as well as for non GCC compilers.
57748
57749 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57750
57751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57752
57753 2012-09-25 Roland McGrath <roland@hack.frob.com>
57754
57755 * Makefile.in (all, install): Declare with .PHONY.
57756 Reported by Michael Hope <michael.hope@linaro.org>.
57757
57758 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57759
57760 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
57761 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
57762 system header.
57763 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
57764 Likewise.
57765 (sydep_routines): Add the new and the internal functions.
57766 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
57767 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
57768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
57769 (GLIBC_2.17): Add the new function.
57770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57771 (GLIBC_2.17): Likewise.
57772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
57773 (GLIBC_2.17): Likewise.
57774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
57775 (GLIBC_2.17): Likewise.
57776 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
57777
57778 2012-09-25 Alan Modra <amodra@gmail.com>
57779
57780 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
57781 Add release barrier before setting once_control to say
57782 initialisation is done. Add hints on lwarx. Use macro in
57783 place of isync.
57784 (clear_once_control): Add release barrier.
57785
57786 2012-09-25 Joseph Myers <joseph@codesourcery.com>
57787
57788 [BZ #13629]
57789 * math/s_clog.c (__clog): Handle more values close to |z| = 1
57790 specially.
57791 * math/s_clog10.c (__clog10): Likewise.
57792 * math/s_clog10f.c (__clog10f): Likewise.
57793 * math/s_clog10l.c (__clog10l): Likewise.
57794 * math/s_clogf.c (__clogf): Likewise.
57795 * math/s_clogl.c (__clogl): Likewise.
57796 * math/Makefile (libm-calls): Add x2y2m1.
57797 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
57798 (__x2y2m1): Likewise.
57799 (__x2y2m1l): Likewise.
57800 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
57801 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
57802 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
57803 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57804 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
57805 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
57806 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
57807 * sysdeps/i386/fpu/libm-test-ulps: Update.
57808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57809
57810 [BZ #14621]
57811 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
57812 int as type of variable DEPTH.
57813 (glob): Use size_t instead of int as type of variables NEWCOUNT
57814 and OLD_PATHC.
57815
57816 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57817
57818 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57819 Add s_sincosf-sse2.
57820 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
57821 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
57822 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
57823 macros for using routine as __sincosf_ia32.
57824 Use macro for function declaration and weak_alias.
57825 * sysdeps/i386/fpu/libm-test-ulps: Update.
57826
57827 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
57828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57829
57830 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57831 subnormal argument.
57832 * math/s_cexpf.c (__cexpf): Likewise.
57833 * math/s_csinf.c (__csinf): Likewise.
57834 * math/s_csinhf.c (__csinhf): Likewise.
57835 * math/s_ctanf.c (__ctanf): Likewise.
57836 * math/s_ctanhf.c (__ctanhf): Likewise.
57837 * math/s_ccosh.c (__ccoshf): Likewise.
57838 * math/s_cexp.c (__cexpl): Likewise.
57839 * math/s_csin.c (__csin): Likewise.
57840 * math/s_csinh.c (__csinh): Likewise.
57841 * math/s_ctan.c (__ctan): Likewise.
57842 * math/s_ctanh.c (ctanh): Likewise.
57843 * math/s_ccoshl.c (__ccoshl): Likewise.
57844 * math/s_cexpl.c (__cexpl): Likewise.
57845 * math/s_csinl.c (__csinl): Likewise.
57846 * math/s_csinhl.c (__csinhl): Likewise.
57847 * math/s_ctanl.c (__ctanl): Likewise.
57848 * math/s_ctanhl.c (__ctanhl): Likewise.
57849
57850 2012-09-25 Joseph Myers <joseph@codesourcery.com>
57851
57852 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57853 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57854 (_IO_off_t): Define to __off_t, not _G_off_t.
57855 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57856 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57857 (_IO_wint_t): Define to wint_t, not _G_wint_t.
57858 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57859 type of __dummy and __dummy2 fields.
57860 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57861 (_G_ssize_t): Likewise.
57862 (_G_off_t): Likewise.
57863 (_G_pid_t): Likewise.
57864 (_G_uid_t): Likewise.
57865 (_G_wchar_t): Likewise.
57866 (_G_wint_t): Likewise.
57867 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57868 (_G_ssize_t): Likewise.
57869 (_G_off_t): Likewise.
57870 (_G_pid_t): Likewise.
57871 (_G_uid_t): Likewise.
57872 (_G_wchar_t): Likewise.
57873 (_G_wint_t): Likewise.
57874 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57875 (_G_ssize_t): Likewise.
57876 (_G_off_t): Likewise.
57877 (_G_pid_t): Likewise.
57878 (_G_uid_t): Likewise.
57879 (_G_wchar_t): Likewise.
57880 (_G_wint_t): Likewise.
57881
57882 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57883
57884 * malloc/arena.c: Include malloc-sysdep.h.
57885 (shrink_heap): Use check_may_shrink_heap to decide if madvise
57886 is sufficient to shrink the heap or an unmap is needed.
57887 * sysdeps/generic/malloc-sysdep.h: New file. Define
57888 new function check_may_shrink_heap.
57889 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
57890 new function check_may_shrink_heap.
57891
57892 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
57893
57894 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57895 comments.
57896
57897 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
57898
57899 * catgets/test-gencat.sh: Add "set -e".
57900 * elf/tst-pathopt.sh: Likewise.
57901 * grp/tst_fgetgrent.sh: Likewise.
57902 * iconvdata/run-iconv-test.sh: Likewise.
57903 * intl/tst-gettext.sh: Likewise.
57904 * intl/tst-gettext2.sh: Likewise.
57905 * intl/tst-gettext4.sh: Likewise.
57906 * intl/tst-gettext6.sh: Likewise.
57907 * intl/tst-translit.sh: Likewise.
57908 * io/ftwtest-sh: Likewise.
57909 * libio/test-freopen.sh: Likewise.
57910 * malloc/tst-mtrace.sh: Likewise.
57911 * posix/globtest.sh: Likewise.
57912 * posix/tst-getconf.sh: Likewise.
57913 * posix/wordexp-tst.sh: Likewise.
57914 * stdio-common/tst-printf.sh: Likewise.
57915 * stdio-common/tst-unbputc.sh: Likewise.
57916 * stdlib/tst-fmtmsg.sh: Likewise.
57917 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57918 * catgets/Makefile: Do not specify -e option when running
57919 testsuite shell scripts.
57920 * elf/Makefile: Likewise.
57921 * grp/Makefile: Likewise.
57922 * iconvdata/Makefile: Likewise.
57923 * intl/Makefile: Likewise.
57924 * io/Makefile: Likewise.
57925 * libio/Makefile: Likewise.
57926 * malloc/Makefile: Likewise.
57927 * posix/Makefile: Likewise.
57928 * stdio-common/Makefile: Likewise.
57929 * stdlib/Makefile: Likewise.
57930 * sysdeps/x86_64/Makefile: Likewise.
57931
57932 * io/ftwtest-sh: Add copyright header.
57933 * posix/globtest.sh: Likewise.
57934 * posix/tst-getconf.sh: Likewise.
57935 * posix/wordexp-tst.sh: Likewise.
57936 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57937
57938 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
57939
57940 [BZ #13679]
57941 * Makeconfig (+link): Defined as $(+link-static) if
57942 $(build-shared) isn't yes.
57943 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57944 isn't yes.
57945 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57946
57947 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57948
57949 [BZ #14562]
57950 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57951 new chunk size with MALLOC_ALIGN_MASK.
57952
57953 2012-09-24 Joseph Myers <joseph@codesourcery.com>
57954
57955 [BZ #5044]
57956 * stdio-common/printf_fphex.c: Include <stdbool.h> and
57957 <rounding-mode.h>.
57958 (__printf_fphex): Determine rounding using get_rounding_mode and
57959 round_away.
57960 * stdio-common/tst-printf-round.c (struct hex_test): New
57961 structure.
57962 (hex_tests): New variable.
57963 (test_hex_in_one_mode): New function.
57964 (do_test): Also run tests for hex float output.
57965
57966 2012-09-21 Joseph Myers <joseph@codesourcery.com>
57967
57968 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57969 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57970 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57971 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57972 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57973 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57974 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57975 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57976
57977 2012-09-20 Joseph Myers <joseph@codesourcery.com>
57978
57979 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57980 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57981 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57982 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57983
57984 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
57985
57986 [BZ #14579]
57987 * elf/rtld.c (dl_main): Limit the check for self loading to normal
57988 mode only.
57989 * elf/tst-rtld-load-self.sh: New test.
57990 * elf/Makefile: Run it.
57991
57992 2012-09-18 Joseph Myers <joseph@codesourcery.com>
57993
57994 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57995 (tst-writev-ENV): Remove.
57996 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57997
57998 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
57999
58000 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58001
58002 2012-09-17 Joseph Myers <joseph@codesourcery.com>
58003
58004 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58005 unconditional.
58006 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58007 Likewise.
58008 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58009 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58010 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58011 Likewise.
58012
58013 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
58014
58015 [BZ #14587]
58016 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58017 * config.make.in (have-cpp-asm-debuginfo): Removed.
58018 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58019 * configure: Regenerated.
58020
58021 2012-09-14 Joseph Myers <joseph@codesourcery.com>
58022
58023 [BZ #5044]
58024 * stdio-common/printf_fp.c: Include <stdbool.h> and
58025 <rounding-mode.h>.
58026 (___printf_fp): Determine rounding using get_rounding_mode and
58027 round_away.
58028 * stdio-common/tst-printf-round.c: New file.
58029 * stdio-common/Makefile (tests): Add tst-printf-round.
58030 (link-libm): New variable.
58031 ($(objpfx)tst-printf-round): Depend in $(link-libm).
58032
58033 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
58034
58035 [BZ #14576]
58036 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58037 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58038 Likewise.
58039 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58040 Likewise.
58041
58042 2012-09-13 Joseph Myers <joseph@codesourcery.com>
58043
58044 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58045 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58046 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58048
58049 2012-09-12 Joseph Myers <joseph@codesourcery.com>
58050
58051 [BZ #14518]
58052 * include/rounding-mode.h: New file.
58053 * sysdeps/generic/get-rounding-mode.h: Likewise.
58054 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58055 * stdlib/strtod_l.c: Include <rounding-mode.h>.
58056 (MAX_VALUE): New macro.
58057 (MIN_VALUE): Likewise.
58058 (overflow_value): New function.
58059 (underflow_value): Likewise.
58060 (round_and_return): Use overflow_value and underflow_value to
58061 determine return values in overflow and underflow cases. Use
58062 round_away to determine rounding depending on rounding mode.
58063 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58064 determine return values in overflow and underflow cases.
58065 * stdlib/tst-strtod-round.c: Include <fenv.h>.
58066 (struct test_results): New structure.
58067 (struct test): Use struct test_results to store expected results
58068 for all rounding modes.
58069 (TEST): Include expected results for all rounding modes.
58070 (test_in_one_mode): New function.
58071 (do_test): Use test_in_one_mode to compute and check results.
58072 Check results for all rounding modes.
58073 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58074 $(link-libm).
58075
58076 2012-12-09 Allan McRae <allan@archlinux.org>
58077
58078 * sysdeps/i386/fpu/libm-test-ulps: Update
58079
58080 2012-09-11 Joseph Myers <joseph@codesourcery.com>
58081
58082 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58083 (_G_int32_t): Likewise.
58084 (_G_uint16_t): Likewise.
58085 (_G_uint32_t): Likewise.
58086 (_G_HAVE_BOOL): Likewise.
58087 (_G_HAVE_ATEXIT): Likewise.
58088 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58089 (_G_HAVE_IO_FILE_OPEN): Likewise.
58090 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58091 (_G_int32_t): Likewise.
58092 (_G_uint16_t): Likewise.
58093 (_G_uint32_t): Likewise.
58094 (_G_HAVE_BOOL): Likewise.
58095 (_G_HAVE_ATEXIT): Likewise.
58096 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58097 (_G_HAVE_IO_FILE_OPEN): Likewise.
58098 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58099 (_G_int32_t): Likewise.
58100 (_G_uint16_t): Likewise.
58101 (_G_uint32_t): Likewise.
58102 (_G_HAVE_BOOL): Likewise.
58103 (_G_HAVE_ATEXIT): Likewise.
58104 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58105 (_G_HAVE_IO_FILE_OPEN): Likewise.
58106
58107 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
58108
58109 * csu/libc-tls.c: Update copyright years.
58110
58111 2012-09-10 Joseph Myers <joseph@codesourcery.com>
58112
58113 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58114 [!_G_USING_THUNKS]: Remove conditional code.
58115 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58116 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58117
58118 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58119 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58120 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58121 (_G_VTABLE_LABEL_PREFIX): Likewise.
58122 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58123 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58124 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58125 (_G_VTABLE_LABEL_PREFIX): Likewise.
58126 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58127 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58128 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58129 (_G_VTABLE_LABEL_PREFIX): Likewise.
58130 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58131
58132 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
58133
58134 * libio/Makefile: Include ../Makeconfig before tests.
58135 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58136 only if $(build-shared) is yes.
58137
58138 * iconv/gconv_db.c: Update copyright years.
58139
58140 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58141
58142 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58143 unwind info if defined PIC. Fix special cases description.
58144 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58145
58146 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58147 DP_HI_MASK entry.
58148 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58149
58150 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
58151
58152 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58153
58154 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58155 is NULL.
58156
58157 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58158 (LDLIBS-tst-chk4): This.
58159 (LDFLAGS-tst-chk5): Renamed to ...
58160 (LDLIBS-tst-chk5): This.
58161 (LDFLAGS-tst-chk6): Renamed to ...
58162 (LDLIBS-tst-chk6): This.
58163 (LDFLAGS-tst-lfschk4): Renamed to ...
58164 (LDLIBS-tst-lfschk4): This.
58165 (LDFLAGS-tst-lfschk5): Renamed to ...
58166 (LDLIBS-tst-lfschk5): This.
58167 (LDFLAGS-tst-lfschk6): Renamed to ...
58168 (LDLIBS-tst-lfschk6): This.
58169
58170 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58171 on $(common-objpfx)soversions.mk.
58172
58173 2012-09-07 Joseph Myers <joseph@codesourcery.com>
58174
58175 [BZ #10014]
58176 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58177 example host name.
58178
58179 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58180
58181 * malloc/arena.c (arena_get_retry): New function that gets
58182 another arena for the caller to try its request on.
58183 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58184 current arena cannot fulfill the request.
58185 (__libc_memalign): Likewise.
58186 (__libc_memalign): Likewise.
58187 (__libc_pvalloc): Likewise.
58188 (__libc_calloc): Likewise.
58189
58190 2012-09-05 John Tobey <john.tobey@gmail.com>
58191
58192 [BZ #13542]
58193 * manual/arith.texi (Operations on Complex): Fix description
58194 of carg branch cut.
58195
58196 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58197
58198 [BZ #10014]
58199 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58200 host name.
58201
58202 [BZ #10038]
58203 * manual/memory.texi (Memory): Make order of menu items match
58204 order of sections.
58205
58206 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58207
58208 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58209 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
58210 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58211
58212 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58213
58214 * csu/libc-tls.c (static_dtv): Renamed to ...
58215 (_dl_static_dtv): This. Make it global.
58216 (_dl_initial_dtv): Removed.
58217 (__libc_setup_tls): Updated.
58218 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58219 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58220 DL_INITIAL_DTV.
58221
58222 2012-09-06 Petr Machata <pmachata@redhat.com>
58223
58224 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58225 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58226 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58227 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58228
58229 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58230
58231 [BZ #14545]
58232 * csu/libc-tls.c (_dl_initial_dtv): New variable.
58233 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58234 freeing dtv[-1].
58235
58236 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
58237
58238 [BZ #14544]
58239 * Makeconfig (link-static-before-libc): Replace $(+prector)
58240 with $(+prectorT).
58241 (link-static-after-libc): Replace $(+postctor) with
58242 $(+postctorT).
58243 (link-bounded): Replace $(+prector)/$(+postctor) with
58244 $(+prectorT)/$(+postctorT).
58245 (+prectorT): New macro.
58246 (+postctorT): Likewise.
58247
58248 2012-09-06 Joseph Myers <joseph@codesourcery.com>
58249
58250 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58251 (round_str): Handle values above the maximum for IBM long double
58252 as inexact.
58253 * stdlib/tst-strtod-round.c (tests): Regenerated.
58254
58255 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58256
58257 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58258 assembler flag.
58259 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58260 zarch_nohighgprs around the zarch optimized routines.
58261 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58262 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58264 for zarch.
58265
58266 2012-09-05 David S. Miller <davem@davemloft.net>
58267
58268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58269
58270 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58271 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58272 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58273 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58274 entries.
58275
58276 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58277
58278 * malloc/arena.c: Fold copyright years.
58279 * malloc/mcheck.c, malloc/memusage.c: Likewise.
58280
58281 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58282
58283 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58284
58285 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58286
58287 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
58288
58289 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58290
58291 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58292 change internal state upon failure.
58293
58294 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
58295
58296 * malloc/mcheck.c (mcheck_check_all): Fix typo.
58297 * malloc/memusage.c (mmap): Likewise.
58298 (mmap64, mremap): Likewise. Adjust name in comment.
58299
58300 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58301
58302 * libio/fileops.c: Fix typos in comments.
58303 * libio/oldfileops.c: Likewise.
58304 * libio/wfileops.c: Likewise.
58305
58306 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
58307
58308 [BZ #1349]
58309 * malloc/Makefile (tests): Add tst-malloc-usable test case.
58310 (tst-malloc-usable-ENV): Set environment for test case.
58311 * malloc/hooks.c (malloc_check_get_size): New function to get
58312 requested size.
58313 * malloc/malloc.c (musable): Use malloc_check_get_size.
58314 * malloc/tst-malloc-usable.c: New test case.
58315
58316 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58317
58318 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58319
58320 2012-09-05 Allan McRae <allan@archlinux.org>
58321
58322 [BZ #13966]
58323 * configure.in (CXX_SYSINCLUDES): Use compiler output to
58324 determine header location.
58325 * configure: Regenerated.
58326
58327 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
58328
58329 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58330 float format.
58331 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58332 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58333 format.
58334 (test): Regenerate.
58335
58336 2012-09-04 David S. Miller <davem@davemloft.net>
58337
58338 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58339 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58341
58342 2012-09-04 Florian Weimer <fweimer@redhat.com>
58343
58344 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58345 failures.
58346
58347 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
58348
58349 2012-09-04 Joseph Myers <joseph@codesourcery.com>
58350
58351 [BZ #9914]
58352 * libio/iogetdelim.c: Include <limits.h>.
58353 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
58354 + len + 1 would overflow.
58355
58356 2012-09-03 Andreas Jaeger <aj@suse.de>
58357
58358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58359 * sysdeps/i386/fpu/libm-test-ulps: Update.
58360
58361 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58362
58363 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58364 Add s_sinf-sse2, s_conf-sse2.
58365
58366 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
58367 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
58368 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
58369 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
58370
58371 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
58372 for using routine as __sinf_ia32.
58373 Use macro for function declaration and weak_alias.
58374 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
58375 for using routine as __cosf_ia32.
58376 Use macro for function declaration and weak_alias.
58377
58378 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
58379 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
58380
58381 * sysdeps/x86_64/fpu/s_sinf.S: New file.
58382 * sysdeps/x86_64/fpu/s_cosf.S: New file.
58383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58384
58385 * math/libm-test.inc (cos_test): Add more test cases.
58386 (sin_test): Likewise.
58387 (sincos_test): Likewise.
58388
58389 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58390
58391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
58392 (IFUNC_RESOLVE): Make pointers to the specialized implementations
58393 hidden.
58394 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58395
58396 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
58397
58398 [BZ #14538]
58399 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
58400 first element of the GOT.
58401 (elf_machine_load_address): Return the difference between
58402 the runtime address of _DYNAMIC and elf_machine_dynamic ().
58403
58404 2012-09-01 Allan McRae <allan@archlinux.org>
58405
58406 [BZ #13412]
58407 * configure.in (AWK): Require gawk version 3.0 or later.
58408 * configure: Regenerated.
58409
58410 2012-09-01 Joseph Myers <joseph@codesourcery.com>
58411
58412 * sysdeps/unix/sysv/linux/kernel-features.h
58413 (__ASSUME_POSIX_CPU_TIMERS): Remove.
58414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58415 [__NR_clock_getres]: Make code unconditional.
58416 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
58417 (clock_getcpuclockid): Remove code left unreachable by removal of
58418 conditionals.
58419 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
58420 code unconditional.
58421 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58422 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58423 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
58424 Make code unconditional.
58425 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
58426 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58427 * sysdeps/unix/sysv/linux/clock_settime.c
58428 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
58429 conditional code.
58430 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
58431 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
58432
58433 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
58434
58435 [BZ #14476]
58436 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
58437 scripts/test-installation.pl.
58438
58439 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
58440 and $ld_so_version if it is set.
58441
58442 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58443
58444 [BZ #14516]
58445 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
58446 failure if reading from procfs failed.
58447 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
58448
58449 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58450
58451 * sysdeps/unix/sysv/linux/kernel-features.h
58452 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
58453 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58454 Remove conditional code.
58455 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58456 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
58457 Remove conditional code.
58458 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58459 * sysdeps/unix/sysv/linux/i386/fxstat.c
58460 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58462 * sysdeps/unix/sysv/linux/i386/fxstatat.c
58463 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58465 * sysdeps/unix/sysv/linux/i386/lxstat.c
58466 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
58467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58468 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
58469 Remove conditional code.
58470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58471 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
58472 Remove conditional code.
58473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58474 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
58475 <kernel-features.h>.
58476 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
58477 Remove.
58478 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
58479 Remove conditional code.
58480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
58481 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
58482 Remove conditional.
58483
58484 2012-08-27 Mike Frysinger <vapier@gentoo.org>
58485
58486 [BZ #5400]
58487 * NEWS: Add fixed bug number.
58488
58489 2012-08-27 Joseph Myers <joseph@codesourcery.com>
58490
58491 [BZ #14519]
58492 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
58493 underflowing exponent in case of negative sign.
58494 * stdlib/tst-strtod-round-data: Add more tests.
58495 * stdlib/tst-strtod-round.c (tests): Regenerated.
58496
58497 [BZ #3479]
58498 * stdlib/strtod_l.c (NDIG): Remove.
58499 (HEXNDIG): Likewise.
58500 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
58501 smallest representable value.
58502 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
58503 lie within an exact representation of 1/2 ulp of the result.
58504 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
58505 unconditionally.
58506 (TENS_P9_IDX): Define unconditionally.
58507 (TENS_P9_SIZE): Likewise.
58508 (TENS_P10_IDX): Likewise.
58509 (TENS_P10_SIZE): Likewise.
58510 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
58511 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
58512 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
58513 entries for 10^2^13 and 10^2^14.
58514 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
58515 (TENS_P13_IDX): Define.
58516 (TENS_P13_SIZE): Likewise.
58517 (TENS_P14_IDX): Likewise.
58518 (TENS_P14_SIZE): Likewise.
58519 (_fpioconst_pow10): Change array size to
58520 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
58521 unconditional.
58522 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
58523 1024]: Add entries for 10^2^13 and 10^2^14.
58524 [LAST_POW10 > _LAST_POW10]: Remove #error.
58525 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
58526 (_fpioconst_pow10): Change array size to
58527 FPIOCONST_POW10_ARRAY_SIZE.
58528 * stdlib/gen-fpioconst.c: New file.
58529 * stdlib/gen-tst-strtod-round.c: Likewise.
58530 * stdlib/tst-strtod-round-data: Likewise.
58531 * stdlib/tst-strtod-round.c: Likewise.
58532 * stdlib/Makefile (tests): Add tst-strtod-round.
58533
58534 [BZ #14459]
58535 * stdlib/strtod_l.c: Include <stdint.h>.
58536 (NDEBUG): Do not define.
58537 (round_and_return): Change EXPONENT parameter to type intmax_t.
58538 Rearrange calculations to avoid internal overflow possibilities.
58539 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
58540 Rearrange calculations to avoid internal overflow possibilities.
58541 Assert that number fits inside MPNSIZE limbs.
58542 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
58543 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
58544 calculations and add assertions to avoid internal overflow
58545 possibilities. Add casts to avoid signed/unsigned operations.
58546 * stdlib/tst-strtod-overflow.c: New file.
58547 * stdlib/Makefile (tests): Add tst-strtod-overflow.
58548
58549 2012-08-25 Marek Polacek <polacek@redhat.com>
58550
58551 * time/time.h: Fix some typos in comments.
58552
58553 2012-08-23 Roland McGrath <roland@hack.frob.com>
58554
58555 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
58556 * posix/tst-rfc3484-2.c: Likewise.
58557 * posix/tst-rfc3484-3.c: Likewise.
58558
58559 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
58560
58561 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
58562 (EF_ARM_ABI_FLOAT_HARD): Likewise.
58563
58564 2012-08-23 Joseph Myers <joseph@codesourcery.com>
58565
58566 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
58567 #include of fxstatat64.c.
58568
58569 2012-08-22 Roland McGrath <roland@hack.frob.com>
58570
58571 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
58572 * shadow/getspent_r.c: Likewise.
58573 * shadow/getspnam.c: Likewise.
58574 * shadow/getspnam_r.c: Likewise.
58575 * gshadow/getsgent.c: Likewise.
58576 * gshadow/getsgent_r.c: Likewise.
58577 * gshadow/getsgnam.c: Likewise.
58578 * gshadow/getsgnam_r.c: Likewise.
58579 * inet/getnetbyad.c: Likewise.
58580 * inet/getnetbyad_r.c: Likewise.
58581 * inet/getnetbynm.c: Likewise.
58582 * inet/getnetbynm_r.c: Likewise.
58583 * inet/getnetent.c: Likewise.
58584 * inet/getnetent_r.c: Likewise.
58585 * inet/getproto.c: Likewise.
58586 * inet/getproto_r.c: Likewise.
58587 * inet/getprtent.c: Likewise.
58588 * inet/getprtent_r.c: Likewise.
58589 * inet/getprtname.c: Likewise.
58590 * inet/getprtname_r.c: Likewise.
58591 * inet/getrpcbyname.c: Likewise.
58592 * inet/getrpcbyname_r.c: Likewise.
58593 * inet/getrpcbynumber.c: Likewise.
58594 * inet/getrpcbynumber_r.c: Likewise.
58595 * inet/getrpcent.c: Likewise.
58596 * inet/getrpcent_r.c: Likewise.
58597 * inet/getaliasent.c: Likewise.
58598 * inet/getaliasent_r.c: Likewise.
58599 * inet/getaliasname.c: Likewise.
58600 * inet/getaliasname_r.c: Likewise.
58601 * nscd/getgrgid_r.c: Likewise.
58602 * nscd/getgrnam_r.c: Likewise.
58603 * nscd/gethstbyad_r.c: Likewise.
58604 * nscd/gethstbynm3_r.c: Likewise.
58605 * nscd/getpwnam_r.c: Likewise.
58606 * nscd/getpwuid_r.c: Likewise.
58607 * nscd/getsrvbynm_r.c: Likewise.
58608 * nscd/getsrvbypt_r.c: Likewise.
58609 * nscd/gai.c: Likewise.
58610
58611 * configure.in (build_nscd): New substituted variable, set
58612 by --disable-build-nscd and defaults to $use_nscd.
58613 * configure: Regenerated.
58614 * config.make.in (build-nscd): New substituted variable.
58615 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
58616 Change conditional to require [$(build-nscd) = yes] as well.
58617 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
58618
58619 [BZ# 13696]
58620 * configure.in (use_nscd): New substituted variable, set by
58621 --disable-nscd. If enabled, define USE_NSCD.
58622 * configure: Regenerated.
58623 * config.h.in: Add USE_NSCD.
58624 * config.make.in (use-nscd): New substituted variable.
58625 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
58626 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
58627 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
58628 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
58629 (CFLAGS-getgrnam_r.c): Likewise.
58630 (CFLAGS-initgroups.c): Likewise.
58631 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
58632 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
58633 Variables removed.
58634 * inet/getnetgrent_r.c
58635 (nscd_setnetgrent): New function, broken out of ...
58636 (setnetgrent): ... here. Call it.
58637 (innetgr): Conditionalize nscd bits on [USE_NSCD].
58638 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
58639 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
58640 * nscd/Makefile (routines, aux): Move definitions after include of
58641 Makeconfig. Conditionalize on [$(use-nscd) != no].
58642 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
58643 Conditionalize on [USE_NSCD].
58644 (is_nscd, nscd_init_cb): Likewise.
58645 (nss_load_library): Conditionalize init callback on [USE_NSCD].
58646 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
58647 * nss/nss_db/db-init.c: Likewise.
58648 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
58649 [USE_NSCD].
58650 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
58651 (make_request): Use it.
58652 (cache_valid_p): New function.
58653 (__check_pf): Use it.
58654 * NEWS: Add item for --disable-nscd.
58655
58656 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
58657
58658 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
58659 to support sed >= 4.2.1-20-ga9bf076.
58660 * configure: Regenerated.
58661
58662 2012-08-22 Roland McGrath <roland@hack.frob.com>
58663
58664 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
58665 Conditionalize whole body on [IREL].
58666
58667 2012-08-22 Jeff Law <law@redhat.com>
58668
58669 [BZ #14505]
58670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
58671 if the family is PF_UNSPEC.
58672
58673 2012-08-22 Mike Frysinger <vapier@gentoo.org>
58674
58675 * Makerules (lib-version): Rename from V.
58676 (install-lib-nosubdir): Change V to lib-version.
58677
58678 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
58679
58680 [BZ #14252]
58681 * powerpc32/power6/wcschr.c: New file.
58682 * powerpc32/power6/wcscpy.c: New file.
58683 * powerpc32/power6/wcsrchr.c: New file.
58684 * powerpc64/power6/wcschr.c: New file.
58685 * powerpc64/power6/wcscpy.c: New file.
58686 * powerpc64/power6/wcsrchr.c: New file.
58687
58688 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
58689
58690 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
58691 (two_way_short_needle): Use it.
58692 * string/strstr.c (AVAILABLE1_USES_J): Define.
58693 * string/strcasestr.c: Likewise.
58694
58695 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
58696 array references.
58697 * string/strcasestr.c (TOLOWER): Make side-effect safe.
58698
58699 [BZ #11607]
58700 * NEWS: Add an entry.
58701 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
58702 define their defaults.
58703 (two_way_short_needle): Detect end-of-string on-the-fly.
58704 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
58705 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
58706 * string/bug-strcasestr1.c: New test.
58707 * string/Makefile: Run it.
58708
58709 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
58710
58711 [BZ #11607]
58712 * string/str-two-way.h (two_way_short_needle): Optimize matching of
58713 the first character.
58714
58715 2012-08-21 Roland McGrath <roland@hack.frob.com>
58716
58717 * csu/elf-init.c (__libc_csu_irel): Function removed.
58718 * csu/libc-start.c (apply_irel): New function.
58719 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
58720
58721 2012-08-21 Joseph Myers <joseph@codesourcery.com>
58722
58723 * sysdeps/unix/sysv/linux/kernel-features.h
58724 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
58725 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
58726 <kernel-features.h>.
58727 [__NR_fadvise64_64]: Make code unconditional.
58728 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
58729 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58730 !__NR_fadvise64_64)]: Likewise.
58731 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
58732 !__NR_fadvise64_64))]: Likewise.
58733 [__NR_fadvise64]: Make code unconditional.
58734 [!__NR_fadvise64]: Remove conditional code.
58735 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
58736 <kernel-features.h>.
58737 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58738 unconditional.
58739 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58740 conditional code.
58741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
58742 not include <kernel-features.h>.
58743 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58744 unconditional.
58745 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58746 conditional code.
58747 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
58748 include <kernel-features.h>.
58749 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
58750 unconditional.
58751 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
58752 conditional code.
58753
58754 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58755
58756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
58757 slight instruction rearrangements per scrollpipe analysis.
58758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58759
58760 2012-08-20 Roland McGrath <roland@hack.frob.com>
58761
58762 * manual/syslog.texi (syslog; vsyslog, closelog):
58763 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
58764 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
58765
58766 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
58767 DSOCAPS to match condition on defining it.
58768
58769 2012-08-20 Joseph Myers <joseph@codesourcery.com>
58770
58771 * sysdeps/unix/sysv/linux/kernel-features.h
58772 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
58773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
58774 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58775 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
58777 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58778 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
58780 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
58781 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
58782
58783 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
58784 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
58785
58786 * sysdeps/unix/sysv/linux/kernel-features.h
58787 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
58788 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
58789 unconditional.
58790 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58791 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
58792 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58793 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58794 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
58795 Make code unconditional.
58796 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58797 (__mmap64) [!__NR_mmap2]: Likewise.
58798 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
58799 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
58800 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58801 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
58802 [__NR_mmap2]: Make code unconditional.
58803 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
58804 (__mmap64) [!__NR_mmap2]: Likewise.
58805
58806 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58807
58808 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
58809
58810 2012-08-18 Andreas Jaeger <aj@suse.de>
58811
58812 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
58813
58814 2012-08-18 Mike Frysinger <vapier@gentoo.org>
58815
58816 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
58817 * include/unistd.h (__have_sock_cloexec): Likewise.
58818 (__have_pipe2): Likewise.
58819 (__have_dup3): Likewise.
58820
58821 2012-08-18 Mike Frysinger <vapier@gentoo.org>
58822
58823 [BZ #9685]
58824 * include/unistd.h (__have_pipe2): Change define into an extern int.
58825 (__have_dup3): Likewise.
58826 * socket/have_sock_cloexec.c: Include fcntl.h.
58827 (__have_pipe2): New variable.
58828 (__have_dup3): Likewise.
58829
58830 2012-08-17 Mike Frysinger <vapier@gentoo.org>
58831
58832 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58833
58834 2012-08-17 Marek Polacek <polacek@redhat.com>
58835
58836 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58837 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58838
58839 2012-08-17 Roland McGrath <roland@hack.frob.com>
58840
58841 * configure.in: Add AC_SUBST for sysheaders.
58842 * configure: Regenerated.
58843 * config.make.in (sysheaders): New substituted variable.
58844
58845 * sysdeps/unix/mkfifo.c: Moved ...
58846 * sysdeps/posix/mkfifo.c: ... here.
58847 * sysdeps/unix/mkfifoat.c: Moved ...
58848 * sysdeps/posix/mkfifoat.c: ... here.
58849
58850 * sysdeps/unix/utime.c: Moved ...
58851 * sysdeps/posix/utime.c: ... here.
58852
58853 * sysdeps/unix/time.c: Moved ...
58854 * sysdeps/posix/time.c: ... here.
58855 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58856 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58857
58858 * sysdeps/unix/nice.c: Moved ...
58859 * sysdeps/posix/nice.c: ... here.
58860
58861 * sysdeps/unix/alarm.c: Moved ...
58862 * sysdeps/posix/alarm.c: ... here.
58863
58864 * intl/Makefile ($(codeset_mo)): Depend on the input file.
58865
58866 2012-08-17 Jeff Law <law@redhat.com>
58867
58868 * intl/Makefile (codeset_mo): New variable.
58869 ($(codeset_mo)): New target.
58870 (tst-codeset.out): Depend on that. Remove explicit rule.
58871 (tst-gettext3.out, tst-gettext5.out): Likewise.
58872 (LOCPATH-ENV, tst-codeset-ENV): New variables.
58873 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58874 * intl/tst-codeset.sh: Remove.
58875 * intl/tst-gettext3.sh: Likewise.
58876 * intl/tst-gettext5.sh: Likewise.
58877
58878 2012-08-17 Roland McGrath <roland@hack.frob.com>
58879
58880 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
58881 * sysdeps/unix/syscalls.list: ... here.
58882
58883 * sysdeps/posix/getaddrinfo.c
58884 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58885 (gaiconf_init, gaiconf_reload): Use them.
58886 [!_STATBUF_ST_NSEC]
58887 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58888 Define using time_t rather than struct timespec.
58889
58890 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58891 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58892 Macros removed.
58893 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58894 [!NO_THREADS].
58895 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58896 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58897 Likewise.
58898
58899 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58900 __libc_cleanup_push argument.
58901
58902 * bits/param.h: New file.
58903 * misc/sys/param.h: New file.
58904 * include/sys/param.h: New file.
58905 * misc/Makefile (headers): Add bits/param.h.
58906 * sysdeps/generic/sys/param.h: File removed.
58907 * sysdeps/unix/sysv/linux/bits/param.h: New file.
58908 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58909 * sysdeps/mach/hurd/bits/param.h: New file.
58910 * sysdeps/mach/hurd/sys/param.h: File removed.
58911
58912 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58913 last change.
58914
58915 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58916 [_IO_MTSAFE_IO].
58917 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58918 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58919 New macros.
58920
58921 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58922 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58923 rather than -D_IO_MTSAFE_IO conditionally.
58924 * stdio-common/Makefile (CPPFLAGS): Likewise.
58925 * wcsmbs/Makefile (CPPFLAGS): Likewise.
58926 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58927 Use $(libio-mtsafe).
58928 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58929 of -D_IO_MTSAFE_IO.
58930 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58931 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58932 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58933 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58934 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58935 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58936 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58937 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58938 (CFLAGS-fread_u_chk.c): Likewise.
58939 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58940 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58941 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58942 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58943 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58944 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58945 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58946 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58947 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58948
58949 * libio/Makefile: Test [$(libc-reentrant) = yes]
58950 instead of [$(filter %REENTRANT, $(defines)) nonempty].
58951
58952 * Makeconfig
58953 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58954 * sysdeps/pthread/configure: File removed.
58955 * sysdeps/pthread/Makeconfig: New file.
58956 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58957 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58958
58959 2012-08-16 Gary Benson <gbenson@redhat.com>
58960
58961 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58962 unmapping the first object in a namespace.
58963
58964 2012-08-16 Roland McGrath <roland@hack.frob.com>
58965
58966 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58967 (__internal_setnetgrent): ... this. Add internal_function to
58968 definition. Add libc_hidden_def.
58969 (setnetgrent): Update caller.
58970 (internal_endnetgrent): Renamed to ...
58971 (__internal_endnetgrent): ... this. Add internal_function to
58972 definition. Add libc_hidden_def.
58973 (endnetgrent): Update caller.
58974 (internal_getnetgrent_r): Renamed to ...
58975 (__internal_getnetgrent_r): ... this. Add internal_function to
58976 definition. Add libc_hidden_def.
58977 (__getnetgrent_r): Update caller.
58978 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
58979
58980 2012-08-16 Joseph Myers <joseph@codesourcery.com>
58981
58982 * stdlib/longlong.h: Update from GCC.
58983
58984 2012-08-16 Roland McGrath <roland@hack.frob.com>
58985
58986 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58987 on _QL, which is set by umul_ppmm but never used.
58988 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58989 variables, which are set by GMP macros but never used.
58990 * stdio-common/_itowa.c (_itowa): Likewise.
58991 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58992 * stdlib/mod_1.c (mpn_mod_1): Likewise.
58993
58994 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
58995
58996 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58997 struct La_sh_regs is not constant.
58998 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58999 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59000 and struct La_sparc64_regs are not constant.
59001
59002 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59003
59004 * sysdeps/unix/sysv/linux/kernel-features.h
59005 (__ASSUME_POSIX_TIMERS): Remove.
59006 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59007 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59008 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59009 Make code unconditional.
59010 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59011 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59012 Make code unconditional.
59013 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59014 * sysdeps/unix/sysv/linux/clock_nanosleep.c
59015 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59016 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59017 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59018 Make code unconditional.
59019 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59020 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59021 (__libc_missing_posix_timers): Remove.
59022
59023 2012-08-15 Roland McGrath <roland@hack.frob.com>
59024
59025 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59026 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59027
59028 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59029
59030 * elf/dl-sym.c: Include <stdlib.h>.
59031
59032 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59033 constants, which avoids warnings in 32-bit builds.
59034
59035 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59036 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59037
59038 * misc/lseek.c: File moved to ...
59039 * io/lseek.c: ... here.
59040
59041 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59042
59043 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59044 shifting LEN more than 31 bits at once.
59045
59046 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59047
59048 [BZ #14195]
59049 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59050 segmentation fault for a case of two empty input strings.
59051 * string/test-strncasecmp.c (check1): Renamed to...
59052 (bz12205): ...this.
59053 (bz14195): Add new testcase for two empty input strings and N > 0.
59054 (test_main): Call new testcase, adapt for renamed function.
59055
59056 2012-08-15 Andreas Jaeger <aj@suse.de>
59057
59058 [BZ #14090]
59059 * crypt/md5test2.c: New test, based on test supplied by Serge
59060 Belyshev <belyshev@depni.sinp.msu.ru>.
59061 * crypt/Makefile (xtests): Add md5test-giant..
59062 * crypt/Makefile ($(objpfx)md5test-giant): Add.
59063
59064 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
59065
59066 [BZ #14090]
59067 * crypt/md5.c (md5_process_block): Don't assume the buffer
59068 length is less than 2**32.
59069 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59070 length is less than 2**64.
59071
59072 2012-08-15 Roland McGrath <roland@hack.frob.com>
59073
59074 * string/str-two-way.h: Include <sys/param.h>.
59075 (MAX): Macro removed.
59076
59077 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59078 Move #define and #undef of memmove to just before and after
59079 including <string.h>.
59080
59081 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59082 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59083 and after including <string.h>. Move declarations of
59084 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59085 to before #include "string/memmove.c".
59086
59087 * include/dirent.h: Declare __getdirentries.
59088
59089 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59090 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59091
59092 2012-08-14 Mike Frysinger <vapier@gentoo.org>
59093
59094 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59095 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59096 * sysdeps/i386/configure: Regenerated.
59097 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59098 STABS_CURRENT_FILE, and STABS_FUN.
59099 (END): Remove call to STABS_FUN_END.
59100 (STABS_CURRENT_FILE1): Delete.
59101 (STABS_CURRENT_FILE): Likewise.
59102 (STABS_FUN): Likewise.
59103 (STABS_FUN_END): Likewise.
59104 (STABS_FUN2): Likewise.
59105 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59106 * sysdeps/x86_64/configure: Regenerated.
59107
59108 2012-08-14 Roland McGrath <roland@hack.frob.com>
59109
59110 * elf/dl-open.c: Include <atomic.h>.
59111 * elf/dl-lookup.c: Likewise.
59112
59113 2012-08-14 Joseph Myers <joseph@codesourcery.com>
59114
59115 * sysdeps/unix/sysv/linux/kernel-features.h
59116 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59117 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59118 unconditionally.
59119 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59120 unconditionally.
59121 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59122 condition on __ASSUME_CLONE_THREAD_FLAGS.
59123
59124 2012-08-14 Andreas Jaeger <aj@suse.de>
59125
59126 * sysdeps/i386/fpu/libm-test-ulps: Update.
59127
59128 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
59129
59130 * include/atomic.h (atomic_exchange_and_add): Split into ...
59131 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59132 New atomic macros.
59133
59134 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
59135
59136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59137
59138 2012-08-13 Jeff Law <law@redhat.com>
59139
59140 * manual/stdio.texi (snprintf): Clarify handling of the trailing
59141 null byte in the output string.
59142
59143 2012-08-10 Joseph Myers <joseph@codesourcery.com>
59144
59145 * sysdeps/unix/sysv/linux/kernel-features.h
59146 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59147 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59148 (__ASSUME_ARG_MAX_STACK_BASED): Define.
59149 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59150 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59151 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
59152 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59153
59154 2012-08-09 Jeff Law <law@redhat.com>
59155
59156 [BZ #13939]
59157 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59158 When avoid_arena is set, don't retry in the that arena. Pick the
59159 next one, whatever it might be.
59160 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59161 (arena_lock): Pass in new parameter to arena_get2.
59162 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59163 arena_get2.
59164 (__libc_malloc): Unify retrying after main arena failure with
59165 __libc_memalign version.
59166 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59167
59168 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
59169
59170 [BZ #14166]
59171 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59172 to __redirect_strstr.
59173 (__strstr_sse42): Use typeof __redirect_strstr.
59174 (__strstr_ia32): Likewise.
59175 (__libc_strstr): New prototype.
59176 (strstr): Renamed to ...
59177 (__libc_strstr): This.
59178 (strstr): New strong alias of __libc_strstr.
59179 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59180 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59181 __redirect_time.
59182 Include <time.h>.
59183 (__libc_time): New prototype.
59184 (time_ifunc): Replace time with __libc_time.
59185 (time): New strong alias and hidden definition of __libc_time.
59186 (__GI_time): Remove strong alias.
59187 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59188 Include <stddef.h>.
59189 (memmove): Redefined to __redirect_memmove.
59190 (__memmove_sse2): Use typeof __redirect_memmove.
59191 (__memmove_ssse3): Likewise.
59192 (__memmove_ssse3_back): Likewise.
59193 (__libc_memmove): New prototype.
59194 (memmove): Renamed to ...
59195 (__libc_memmove): This.
59196 (memmove): New strong alias of __libc_memmove.
59197
59198 2012-08-08 Mark Salter <msalter@redhat.com>
59199
59200 * elf/elf.h
59201 (R_MN10300_TLS_GD): Define.
59202 (R_MN10300_TLS_LD): Likewise.
59203 (R_MN10300_TLS_LDO): Likewise.
59204 (R_MN10300_TLS_GOTIE): Likewise.
59205 (R_MN10300_TLS_IE): Likewise.
59206 (R_MN10300_TLS_LE): Likewise.
59207 (R_MN10300_TLS_DTPMOD): Likewise.
59208 (R_MN10300_TLS_DTPOFF): Likewise.
59209 (R_MN10300_TLS_TPOFF): Likewise.
59210 (R_MN10300_SYM_DIFF): Likewise.
59211 (R_MN10300_ALIGN): Likewise.
59212 (R_MN10300_NUM): Update.
59213
59214 2012-08-08 Joseph Myers <joseph@codesourcery.com>
59215
59216 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59217 Remove.
59218
59219 2012-08-08 Roland McGrath <roland@hack.frob.com>
59220
59221 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59222
59223 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59224 sysdeps/unix -> sysdeps/posix move.
59225 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59226
59227 2012-08-07 Allan McRae <allan@archlinux.org>
59228
59229 [BZ #14303]
59230 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59231 (SUNOS_CPP): Likewise.
59232 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59233 not found.
59234 (open_input): Call CPP using execvp.
59235
59236 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59237
59238 * sysdeps/unix/sysv/linux/kernel-features.h
59239 (__ASSUME_PROT_GROWSUPDOWN): Remove.
59240 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59241 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59242 (__ASSUME_WAITID_SYSCALL): Likewise.
59243 * sysdeps/unix/sysv/linux/dl-execstack.c
59244 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59245 code unconditional.
59246 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59247 conditional code.
59248 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59249 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59250 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59251 code.
59252 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59253 unconditional.
59254 [__ASSUME_WAITID_SYSCALL]: Likewise.
59255 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59256
59257 2012-08-07 Roland McGrath <roland@hack.frob.com>
59258
59259 * sysdeps/unix/closedir.c: Renamed to ...
59260 * sysdeps/posix/closedir.c: ... here.
59261 * sysdeps/unix/dirfd.c: Renamed to ...
59262 * sysdeps/posix/dirfd.c: ... here.
59263 * sysdeps/unix/dirstream.h: Renamed to ...
59264 * sysdeps/posix/dirstream.h: ... here.
59265 * sysdeps/unix/fdopendir.c: Renamed to ...
59266 * sysdeps/posix/fdopendir.c: ... here.
59267 * sysdeps/unix/opendir.c: Renamed to ...
59268 * sysdeps/posix/opendir.c: ... here.
59269 * sysdeps/unix/readdir.c: Renamed to ...
59270 * sysdeps/posix/readdir.c: ... here.
59271 * sysdeps/unix/readdir_r.c: Renamed to ...
59272 * sysdeps/posix/readdir_r.c: ... here.
59273 * sysdeps/unix/rewinddir.c: Renamed to ...
59274 * sysdeps/posix/rewinddir.c: ... here.
59275 * sysdeps/unix/seekdir.c: Renamed to ...
59276 * sysdeps/posix/seekdir.c: ... here.
59277 * sysdeps/unix/telldir.c: Renamed to ...
59278 * sysdeps/posix/telldir.c: ... here.
59279 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59280 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59281 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59282 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59283
59284 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59285 * bits/fcntl.h: ... here.
59286
59287 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59288 not 0.
59289 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59290 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59291 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59292 (struct flock): Move l_start, l_len to the beginning.
59293 Use __pid_t for l_pid.
59294 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59295 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59296 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59297 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59298 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59299 [__USE_LARGEFILE64] (struct flock64): New type.
59300 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59301
59302 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59303 * bits/dirent.h: ... here.
59304
59305 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59306 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59307
59308 2012-08-07 Joseph Myers <joseph@codesourcery.com>
59309
59310 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59311 Change from 2.6.0 to 2.6.16.
59312 * sysdeps/unix/sysv/linux/configure: Regenerated.
59313 * sysdeps/unix/sysv/linux/kernel-features.h
59314 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59315 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59316 version.
59317 (__ASSUME_UTIMES): Likewise.
59318 (__ASSUME_CLONE_STOPPED): Remove.
59319 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59320 architectures, not kernel version.
59321 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59322 (__ASSUME_NO_CLONE_DETACHED): Likewise.
59323 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59324 (__ASSUME_WAITID_SYSCALL): Likewise.
59325 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59326 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59327 * README: State 2.6.16 as minimum Linux kernel version. Do not
59328 refer to older versions.
59329
59330 2012-08-06 Roland McGrath <roland@hack.frob.com>
59331
59332 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59333 Define alphasort64 as an alias.
59334 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59335 Define versionsort64 as an alias.
59336 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59337 Define scandir64 as an alias.
59338 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59339 Define scandirat64 as an alias.
59340 * dirent/alphasort64.c (alphasort64):
59341 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59342 * dirent/versionsort64.c: Likewise.
59343 * dirent/scandir64.c: Likewise.
59344 * dirent/scandirat64.c: Likewise.
59345 * sysdeps/wordsize-64/alphasort.c: File removed.
59346 * sysdeps/wordsize-64/alphasort64.c: File removed.
59347 * sysdeps/wordsize-64/scandir.c: File removed.
59348 * sysdeps/wordsize-64/scandir64.c: File removed.
59349 * sysdeps/wordsize-64/scandirat.c: File removed.
59350 * sysdeps/wordsize-64/scandirat64.c: File removed.
59351 * sysdeps/wordsize-64/versionsort.c: File removed.
59352 * sysdeps/wordsize-64/versionsort64.c: File removed.
59353 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
59354 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
59355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
59356 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
59357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
59358 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
59359 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
59360 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
59361
59362 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
59363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59364 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
59365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59366 [defined __arch64__ || defined __sparcv9]
59367 (__INO_T_MATCHES_INO64_T): New macro.
59368 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59369 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
59370 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
59371 * sysdeps/unix/sysv/linux/bits/dirent.h
59372 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
59373 (_DIRENT_MATCHES_DIRENT64): New macro.
59374
59375 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
59376 Define lockf64 as an alias.
59377 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
59378 Define fseeko64 as an alias.
59379 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
59380 Define ftello64 as an alias.
59381 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
59382 Define _IO_fgetpos64 and fgetpos64 as aliases.
59383 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
59384 Define _IO_fsetpos64 and fsetpos64 as aliases.
59385 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
59386 Conditionalize body on this.
59387 * libio/fseeko64.c: Likewise.
59388 * libio/ftello64.c: Likewise.
59389 * libio/iofgetpos64.c: Likewise.
59390 * libio/iofsetpos64.c: Likewise.
59391 * sysdeps/wordsize-64/lockf.c: File removed.
59392 * sysdeps/wordsize-64/lockf64.c: File removed.
59393 * sysdeps/wordsize-64/fseeko.c: File removed.
59394 * sysdeps/wordsize-64/fseeko64.c: File removed.
59395 * sysdeps/wordsize-64/ftello.c: File removed.
59396 * sysdeps/wordsize-64/ftello64.c: File removed.
59397 * sysdeps/wordsize-64/iofgetpos.c: File removed.
59398 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
59399 * sysdeps/wordsize-64/iofsetpos.c: File removed.
59400 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
59401 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
59402 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
59403 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
59404 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
59405 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
59406 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
59407 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
59408 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
59409 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
59410 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
59411
59412 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
59414 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
59415 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59416 [defined __arch64__ || defined __sparcv9]
59417 (__OFF_T_MATCHES_OFF64_T): New macro.
59418 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59419 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
59420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59421 (__OFF_T_MATCHES_OFF64_T): New macro.
59422
59423 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59424
59425 * stdlib/secure-getenv.c (__secure_getenv): Replace
59426 GLIBC_2_16 with GLIBC_2_17.
59427
59428 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
59429
59430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
59431 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
59432
59433 2012-08-03 David S. Miller <davem@davemloft.net>
59434
59435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59436
59437 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59438
59439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
59440 Remove.
59441 (__ASSUME_CORRECT_SI_PID): Likewise.
59442 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
59443 (__ASSUME_TMPFS_NAME): Likewise.
59444 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
59445 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
59446 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
59447 (HAVE_AUX_SECURE): Make definition unconditional.
59448 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
59449 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
59450
59451 2012-08-03 Roland McGrath <roland@hack.frob.com>
59452
59453 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
59454 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
59455 * sysdeps/mach/hurd/eloop-threshold.h: New file.
59456 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59457 __eloop_threshold instead of SYMLOOP_MAX.
59458
59459 * sysdeps/generic/eloop-threshold.h: New file.
59460 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
59461 of MAXSYMLINKS.
59462 * elf/chroot_canon.c (chroot_canon): Likewise.
59463
59464 2012-08-03 Joseph Myers <joseph@codesourcery.com>
59465
59466 [BZ #13717]
59467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59468 Change to 2.6.0 everywhere.
59469 * sysdeps/unix/sysv/linux/configure: Regenerated.
59470 * sysdeps/unix/sysv/linux/kernel-features.h
59471 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
59472 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
59473 kernel versions.
59474 (__ASSUME_POSIX_TIMERS): Define unconditionally.
59475 (__ASSUME_FUTEX_REQUEUE): Remove.
59476 (__ASSUME_STATFS64): Define unconditionally.
59477 (__ASSUME_AT_SECURE): Likewise.
59478 (__ASSUME_CORRECT_SI_PID): Likewise.
59479 (__ASSUME_TGKILL): Define without depending on kernel version for
59480 i386.
59481 (__ASSUME_UTIMES): Likewise.
59482 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
59483 kernel version.
59484 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
59485 (__ASSUME_TMPFS_NAME): Likewise.
59486 * README: Update reference to Linux kernel versions.
59487
59488 2012-08-02 Marek Polacek <polacek@redhat.com>
59489
59490 [BZ# 14150]
59491 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
59492 libc_cv_asm_type_prefix with %.
59493 * configure: Regenerated.
59494 * include/libc-symbols.h: Remove comment about
59495 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59496 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
59497 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
59498 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
59499 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
59500 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
59501 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
59502 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
59503 * elf/tst-unique2mod1.c: Likewise.
59504 * elf/tst-unique1mod2.c: Likewise.
59505 * elf/tst-unique1mod1.c: Likewise.
59506 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
59507 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
59508 Replace ASM_TYPE_DIRECTIVE with .type.
59509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59510 * sysdeps/i386/sysdep.h: Likewise.
59511 * sysdeps/x86_64/sysdep.h: Likewise.
59512 * sysdeps/sh/sysdep.h: Likewise.
59513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59514 Do not define ASM_TYPE_DIRECTIVE.
59515 * sysdeps/powerpc/sysdep.h: Likewise.
59516 * sysdeps/powerpc/powerpc32/sysdep.h:
59517 Replace ASM_TYPE_DIRECTIVE with .type.
59518 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59519 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59520 * sysdeps/i386/fpu/e_powf.S: Likewise.
59521 * sysdeps/i386/fpu/e_expl.S: Likewise.
59522 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59524 * sysdeps/i386/fpu/e_pow.S: Likewise.
59525 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59527 * sysdeps/i386/fpu/s_expm1.S: Likewise.
59528 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59529 * sysdeps/i386/fpu/e_log2.S: Likewise.
59530 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59531 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59532 * sysdeps/i386/fpu/e_powl.S: Likewise.
59533 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59534 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59535 * sysdeps/i386/fpu/e_logl.S: Likewise.
59536 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59537 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59538 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59539 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59540 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59541 * sysdeps/i386/fpu/e_log.S: Likewise.
59542 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59543 * sysdeps/i386/fpu/e_logf.S: Likewise.
59544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59545 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59546 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59547 * sysdeps/i386/fpu/e_log10.S: Likewise.
59548 * sysdeps/i386/fpu/s_frexp.S: Likewise.
59549 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59550 * sysdeps/i386/fpu/s_asinh.S: Likewise.
59551 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59552 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59553 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
59554 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59555 * sysdeps/i386/i686/strtok.S: Likewise.
59556 * sysdeps/i386/i386-mcount.S: Likewise.
59557 * sysdeps/i386/strtok.S: Likewise.
59558 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
59559 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59560 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59561 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59562 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59563 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59564 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59565 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59566 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59567 * sysdeps/x86_64/_mcount.S: Likewise.
59568 * sysdeps/x86_64/strtok.S: Likewise.
59569 * sysdeps/sh/_mcount.S: Likewise.
59570
59571 2012-08-01 Roland McGrath <roland@hack.frob.com>
59572
59573 * libio/iofopen.c: Include <fcntl.h>.
59574 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
59575 (_IO_fopen64, fopen64): Define as aliases.
59576 * libio/iofopen64.c: Include <fcntl.h>.
59577 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
59578 Conditionalize body on this.
59579 * sysdeps/wordsize-64/iofopen.c: File removed.
59580 * sysdeps/wordsize-64/iofopen64.c: File removed.
59581
59582 2012-08-01 Marek Polacek <polacek@redhat.com>
59583
59584 * libc/Makeconfig: Use elf in place of binfmt-subdir.
59585 Use dlfcn directly instead of a variable.
59586 (binfmt-subdir): Do not define.
59587 (dlfcn): Likewise.
59588
59589 2012-08-01 Joseph Myers <joseph@codesourcery.com>
59590
59591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
59592 Remove all definitions.
59593 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
59594 <kernel-features.h>.
59595 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59596 (miss_F_GETOWN_EX): Remove all definitions.
59597 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
59598 macro definition.
59599 [!__ASSUME_FCNTL64]: Remove conditional code.
59600 [__ASSUME_FCNTL64]: Make code unconditional.
59601 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
59602 <kernel-features.h>.
59603 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
59604 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
59605 (lockf64) [__NR_fcntl64]: Make code unconditional.
59606 (lockf64) [__ASSUME_FCNTL64]: Likewise.
59607
59608 * sysdeps/unix/sysv/linux/kernel-features.h
59609 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
59610 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
59611 Make code unconditional.
59612 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59613 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
59615 [__NR_vfork]: Make code unconditional.
59616 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59617 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
59619 [__NR_vfork]: Make code unconditional.
59620 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
59621 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
59622
59623 2012-08-01 Roland McGrath <roland@hack.frob.com>
59624
59625 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
59626 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
59627
59628 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59629 Define mkstemp64 as an alias.
59630 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59631 Define mkstemps64 as an alias.
59632 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59633 Define mkostemp64 as an alias.
59634 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59635 Define mkostemps64 as an alias.
59636 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
59637 Conditionalize body on this.
59638 * misc/mkostemp64.c: Likewise.
59639 * misc/mkostemps64.c: Likewise.
59640 * misc/mkstemps64.c: Likewise.
59641 * sysdeps/wordsize-64/mkstemp64.c: File removed.
59642 * sysdeps/wordsize-64/mkostemp64.c: File removed.
59643 * sysdeps/wordsize-64/mkostemp.c: File removed.
59644 * sysdeps/wordsize-64/mkstemp.c: File removed.
59645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
59646 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
59647 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
59648 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
59649
59650 [BZ #14138]
59651 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
59652 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
59653 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
59654 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
59655
59656 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
59657 compat_symbol macros from <shlib-compat.h> rather than the underlying
59658 default_symbol_version and symbol_version macros, so that DEFAULT
59659 lines in shlib-versions are respected.
59660 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
59661
59662 2012-08-01 Florian Weimer <fweimer@redhat.com>
59663
59664 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
59665 Declare with warn_unused_result.
59666 (setgid, setregid, setegid, setresgid): Likewise.
59667 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
59668 Likewise.
59669 * WUR-REPORT: Remove set*id functions.
59670
59671 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
59672
59673 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
59674
59675 2012-07-31 Roland McGrath <roland@hack.frob.com>
59676
59677 [BZ #10191]
59678 * include/sys/socket.h (__libc_accept, __libc_accept4):
59679 Add attribute_hidden.
59680 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
59681
59682 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
59683 use of PTR_MANGLE.
59684 * inet/getnetgrent_r.c (setup): Likewise.
59685
59686 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
59687
59688 2012-07-31 David S. Miller <davem@davemloft.net>
59689
59690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59691
59692 2012-07-31 Joseph Myers <joseph@codesourcery.com>
59693
59694 [BZ #13629]
59695 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
59696 value between 1.0 and 2.0 and smaller part has absolute value less
59697 than 1.0.
59698 * math/s_clog10.c (__clog10): Likewise.
59699 * math/s_clog10f.c (__clog10f): Likewise.
59700 * math/s_clog10l.c (__clog10l): Likewise.
59701 * math/s_clogf.c (__clogf): Likewise.
59702 * math/s_clogl.c (__clogl): Likewise.
59703 * math/libm-test.inc (clog_test): Add more tests.
59704 (clog10_test): Likewise.
59705 * sysdeps/i386/fpu/libm-test-ulps: Update.
59706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59707
59708 2012-07-31 Florian Weimer <fweimer@redhat.com>
59709
59710 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
59711 Exit with zero in case no suitable GID is found, and write a
59712 message to standard error.
59713
59714 2012-07-30 Roland McGrath <roland@hack.frob.com>
59715
59716 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
59717 rather than to 1.
59718 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
59719 (MAXPATHLEN): Removed.
59720 (NOGROUP, NODEV): New macros.
59721 (setbit, clrbit, isset, isclr): New macros.
59722 (howmany, roundup, powerof2): New macros.
59723 (DEV_BSIZE): New macro.
59724
59725 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
59726 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
59727
59728 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
59729 definition on [!__NO_LONG_DOUBLE_MATH].
59730
59731 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
59732 PTR_MANGLE and PTR_DEMANGLE.
59733
59734 * socket/accept4.c (accept4): Rename to __libc_accept4.
59735 Define accept4 as a weak alias.
59736
59737 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
59738 on [_DIRENT_HAVE_D_TYPE].
59739 * io/ftw.c (ftw_dir): Likewise.
59740
59741 * io/xmknod.c (__xmknod): Don't check PATH for being null.
59742
59743 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
59744
59745 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
59746 Use the BSD numbers rather than the arbitrary ones we had.
59747 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
59748 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
59749 (SIGXCPU, SIGXFSZ): New macros.
59750 (_NSIG): Now 32.
59751
59752 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
59753 initializer on [_LIBC_REENTRANT].
59754
59755 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
59756 definitions inside [_POSIX_MAPPED_FILES].
59757
59758 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
59759
59760 * dirent/opendir.c: Include <fcntl.h>.
59761
59762 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
59763 (__libc_getspecific): Likewise.
59764 (__libc_key_create): Likewise.
59765
59766 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
59767 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
59768 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
59769 (tmpfile64): Define as alias.
59770 * sysdeps/wordsize-64/tmpfile.c: File removed.
59771 * sysdeps/wordsize-64/tmpfile64.c: File removed.
59772 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
59773 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
59774
59775 * stdio-common/vfscanf.c: Include <stdbool.h>.
59776 * nss/makedb.c: Likewise.
59777 * stdio-common/_i18n_number.h: Likewise.
59778 * argp/argp-help.c: Likewise.
59779 * posix/wordexp.c: Likewise.
59780 * sysdeps/posix/spawni.c: Likewise.
59781 * nss/nss_files/files-initgroups.c: Likewise.
59782 * stdio-common/reg-modifier.c: Include <stdlib.h>.
59783 * nss/nss_files/files-initgroups.c: Likewise.
59784 * nss/nss_db/db-netgrp.c: Likewise.
59785 * nss/nss_db/db-initgroups.c: Likewise.
59786 * io/fchmodat.c: Include <sys/stat.h>.
59787
59788 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
59789 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
59790
59791 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
59792 [HAVE_MMAP].
59793
59794 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
59795 Add multiple inclusion protection.
59796
59797 2012-07-27 David S. Miller <davem@davemloft.net>
59798
59799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59800
59801 2012-07-27 Gary Benson <gbenson@redhat.com>
59802
59803 [BZ #14298]
59804 * elf/rtld.c: Include <stap-probe.h>.
59805 (dl_main): Added static probes "init_start" and "init_complete".
59806 * elf/dl-load.c: Include <stap-probe.h>.
59807 (lose): Take new parameter "nsid".
59808 Added static probe "map_failed".
59809 (_dl_map_object_from_fd): Pass namespace id to lose.
59810 Added static probe "map_start".
59811 (open_verify): Pass namespace id to lose.
59812 * elf/dl-open.c: Include <stap-probe.h>.
59813 (dl_open_worker) Added static probes "map_complete", "reloc_start"
59814 and "reloc_complete".
59815 * elf/dl-close.c: Include <stap-probe.h>.
59816 (_dl_close_worker): Added static probes "unmap_start" and
59817 "unmap_complete".
59818 * elf/rtld-debugger-interface.txt: New file documenting the above.
59819
59820 2012-07-26 Roland McGrath <roland@hack.frob.com>
59821
59822 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
59823 rather than a string variable.
59824 * sunrpc/rpc_main.c (h_output): Likewise.
59825 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
59826
59827 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
59828
59829 * inet/check_native.c: New file.
59830
59831 2012-07-26 Joseph Myers <joseph@codesourcery.com>
59832
59833 [BZ #13629]
59834 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59835 if larger part has absolute value 1.0.
59836 * math/s_clog10.c (__clog10): Likewise.
59837 * math/s_clog10f.c (__clog10f): Likewise.
59838 * math/s_clog10l.c (__clog10l): Likewise.
59839 * math/s_clogf.c (__clogf): Likewise.
59840 * math/s_clogl.c (__clogl): Likewise.
59841 * math/libm-test.inc (clog_test): Add more tests.
59842 (clog10_test): Likewise.
59843 * sysdeps/i386/fpu/libm-test-ulps: Update.
59844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59845
59846 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59847 (pltexit): Likewise.
59848 (La_regs): Likewise.
59849 (La_retval): Likewise.
59850 (int_retval): Likewise.
59851 Update #error for removed macros to refer only to definitions in
59852 tst-audit.h.
59853 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59854 macro.
59855 (pltexit): Likewise.
59856 (La_regs): Likewise.
59857 (La_retval): Likewise.
59858 (int_retval): Likewise.
59859 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59860 macro.
59861 (pltexit): Likewise.
59862 (La_regs): Likewise.
59863 (La_retval): Likewise.
59864 (int_retval): Likewise.
59865 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59866 macro.
59867 (pltexit): Likewise.
59868 (La_regs): Likewise.
59869 (La_retval): Likewise.
59870 (int_retval): Likewise.
59871 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59872 macro.
59873 (pltexit): Likewise.
59874 (La_regs): Likewise.
59875 (La_retval): Likewise.
59876 (int_retval): Likewise.
59877 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59878 macro.
59879 (pltexit): Likewise.
59880 (La_regs): Likewise.
59881 (La_retval): Likewise.
59882 (int_retval): Likewise.
59883 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59884 macro.
59885 (pltexit): Likewise.
59886 (La_regs): Likewise.
59887 (La_retval): Likewise.
59888 (int_retval): Likewise.
59889 * sysdeps/generic/tst-audit.h: Update comment to refer only to
59890 macro definitions in tst-audit.h.
59891 * sysdeps/i386/tst-audit.h: New file.
59892 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59893 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59894 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59895 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59896 * sysdeps/sh/tst-audit.h: Likewise.
59897 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59898 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59899 * sysdeps/x86_64/tst-audit.h: Likewise.
59900
59901 2012-07-26 Andreas Jaeger <aj@suse.de>
59902
59903 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59904 ptrace.
59905
59906 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59907 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59908 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59909 PTRACE_O_MASK.
59910 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59911 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59912 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59913
59914 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59915 value.
59916
59917 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59918 _sigsys.
59919 (si_call_addr, si_syscall, si_arch): Define new macro.
59920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59921 _sigsys.
59922 (si_call_addr, si_syscall, si_arch): Define new marcro.
59923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59924 _sigsys.
59925 (si_call_addr, si_syscall, si_arch): Define new macro.
59926 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59927 _sigsys.
59928 (si_call_addr, si_syscall, si_arch): Define new macro.
59929
59930 2012-07-25 Joseph Myers <joseph@codesourcery.com>
59931
59932 [BZ #13717]
59933 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59934 Change to 2.4.21 where previously 2.4.1.
59935 * sysdeps/unix/sysv/linux/configure: Regenerated.
59936 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59937 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59938 Linux kernel version.
59939 (__ASSUME_STD_AUXV): Remove.
59940 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59941 kernel version.
59942 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59943 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59944 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59945 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59946 (__ASSUME_NETLINK_SUPPORT): Likewise.
59947 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59948 (__no_netlink_support): Remove conditional definition.
59949 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59950 Remove.
59951 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59952 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59953 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59954 (if_nameindex_ioctl): Remove.
59955 (if_nameindex_netlink): Do not handle __no_netlink_support.
59956 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59957 code.
59958 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59959 Remove conditional code.
59960 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59961 code.
59962 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59963 unconditional.
59964 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59965 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59966 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59967 Remove.
59968 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59969 [!__ASSUME_STD_AUXV]: Remove conditional code.
59970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59971 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59972 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59974 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59975 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59976 code.
59977 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59979 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59980 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59981 conditional code.
59982 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59984 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59985 code.
59986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59987 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59988 conditional code.
59989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59990 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59991 code unconditional.
59992 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59993 conditional code.
59994 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59995 unconditional.
59996 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59997 conditional code.
59998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59999 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60000 unconditional.
60001 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60002 conditional code.
60003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60004 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60005 code unconditional.
60006 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60007 conditional code.
60008 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60009 unconditional.
60010 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60011 conditional code.
60012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60013 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60014 code unconditional.
60015 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60016 conditional code.
60017 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60018 unconditional.
60019 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60020 conditional code.
60021
60022 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
60023
60024 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60025 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60026 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60027 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60028 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60029 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60030 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60031 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60032 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60033 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60034 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60035 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60036 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60037 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60039 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60040 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60042 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60044 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60045 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60046 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60047
60048 2012-07-25 Florian Weimer <fweimer@redhat.com>
60049
60050 * Versions.def: Add GLIBC_2.17.
60051 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60052 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60053 Introduce __libc_secure_getenv.
60054 * stdlib/Versions (2.17): Add secure_getenv
60055 (GLIBC_PRIVATE): Add __libc_secure_getenv.
60056 * stdlib/secure-getenv.c: Rename __secure_getenv to
60057 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
60058 symbol __secure_getenv for GLIBC_2.0.
60059 * stdlib/tst-secure-getenv.c: New.
60060 * stdlib/Makefile (tests): Add testcase.
60061 * manual/startup.texi (Environment Access): Document
60062 secure_getenv.
60063 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60064 __libc_secure_getenv.
60065 * inet/ruserpass.c (ruserpass): Likewise.
60066 * malloc/mtrace.c (mtrace): Likewise.
60067 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60068 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60069 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60070 * sysdeps/posix/tempname.c: Likewise. Evaluate
60071 HAVE_SECURE_GETENV.
60072 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60073 __secure_getenv to __libc_secure_getenv.
60074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60076 Likewise.
60077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60078 Likewise.
60079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60086
60087 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60088
60089 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60090 (struct La_i86_retval): Likewise.
60091 (struct La_x86_64_regs): Likewise.
60092 (struct La_x86_64_retval): Likewise.
60093 (struct La_x32_regs): Likewise.
60094 (struct La_x32_retval): Likewise.
60095 (struct La_ppc32_regs): Likewise.
60096 (struct La_ppc32_retval): Likewise.
60097 (struct La_ppc64_regs): Likewise.
60098 (struct La_ppc64_retval): Likewise.
60099 (struct La_sh_regs): Likewise.
60100 (struct La_sh_retval): Likewise.
60101 (struct La_s390_32_regs): Likewise.
60102 (struct La_s390_32_retval): Likewise.
60103 (struct La_s390_64_regs): Likewise.
60104 (struct La_s390_64_retval): Likewise.
60105 (struct La_sparc32_regs): Likewise.
60106 (struct La_sparc32_retval): Likewise.
60107 (struct La_sparc64_regs): Likewise.
60108 (struct La_sparc64_retval): Likewise.
60109 (struct audit_ifaces): Remove architecture-specific pltenter and
60110 pltexit members.
60111 * sysdeps/i386/ldsodefs.h: New file.
60112 * sysdeps/powerpc/ldsodefs.h: Likewise.
60113 * sysdeps/s390/ldsodefs.h: Likewise.
60114 * sysdeps/sh/ldsodefs.h: Likewise.
60115 * sysdeps/sparc/ldsodefs.h: Likewise.
60116 * sysdeps/x86_64/ldsodefs.h: Likewise.
60117
60118 2012-07-25 Marek Polacek <polacek@redhat.com>
60119
60120 [BZ #6808]
60121 * math/libm-test.inc (yn_test): Add another test.
60122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60123 to ERANGE when the result is +-Inf.
60124 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60125 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60126 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60127 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60128
60129 2012-07-24 Joseph Myers <joseph@codesourcery.com>
60130
60131 * conform/data/time.h-data (NULL): Use macro-constant. Require
60132 equal to 0.
60133 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
60134 clock_t.
60135 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
60136
60137 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
60138
60139 * configure.in <sysdeps resolving>: Correct printing
60140 Implies_before.
60141 * configure: Regenerate.
60142
60143 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
60144
60145 * math/w_ilogb.c: Include <limits.h>.
60146 * math/w_ilogbl.c: Likewise.
60147
60148 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60149
60150 * manual/lang.texi (__va_copy): Document primarily as ISO C99
60151 va_copy. Document allowing for unavailable va_copy only as
60152 pre-C99 compatibility.
60153 * manual/string.texi (Copying and Concatenation): Use va_copy
60154 instead of __va_copy in concat example.
60155
60156 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
60157
60158 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60159 (__sendto): Use create_address_port. Initialize APORT and deallocate
60160 it if not null.
60161
60162 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60163 with O_NOLINK passed to __file_name_lookup.
60164
60165 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60166 with O_NOLINK passed to __file_name_lookup.
60167
60168 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60169 negative N or less than NGIDS.
60170
60171 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60172 type to string_t. Set ERANGE as errno and return it if NAME is not big
60173 enough. Use memcpy instead of strncpy.
60174
60175 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60176
60177 * elf/Makefile (check-data): Remove.
60178 (localplt.data): New vpath directive.
60179 ($(objpfx)check-localplt.out): Use localplt.data from vpath
60180 instead of $(check-data).
60181 * scripts/data/localplt-generic.data: Move to ...
60182 * sysdeps/generic/localplt.data: ... here.
60183 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60184 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60185 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60187 ... here.
60188 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60190 ... here.
60191 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60193 ... here.
60194 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60196 ... here.
60197 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60199 ... here.
60200 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60202 ... here.
60203
60204 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60205
60206 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60207 PPC32 and PPC64 files.
60208 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60209 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60210
60211 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60212
60213 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60214 __makecontext_ret to ...
60215 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60216 ... here and call exit if uc_link is NULL. New file.
60217 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60218 __makecontext_ret.S.
60219 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60220 __makecontext_ret to ...
60221 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60222 ... here and call exit if uc_link is NULL. New file.
60223 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60224 __makecontext_ret.S.
60225
60226 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60227
60228 * elf/elf.h (R_390_IRELATIVE): New definition.
60229 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60230 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
60231 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60232 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60233 (elf_machine_lazy_rel): Likewise.
60234 * sysdeps/s390/dl-irel.h: New file.
60235 * sysdeps/s390/s390-64/memcpy.S: New asm code.
60236 * sysdeps/s390/s390-64/memset.S: New asm code.
60237 * sysdeps/s390/s390-64/memcmp.S: New asm code.
60238 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60239 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60240 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60241 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60242 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60243 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60244 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60245 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60246 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60247 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60248 * sysdeps/s390/s390-32/memcpy.S: New asm code.
60249 * sysdeps/s390/s390-32/memset.S: New asm code.
60250 * sysdeps/s390/s390-32/memcmp.S: New asm code.
60251
60252 2012-07-17 Marek Polacek <polacek@redhat.com>
60253
60254 [BZ #14349]
60255 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60256 * sysdeps/s390/s390-64/configure.in: Likewise.
60257 * sysdeps/sparc/configure.in: Likewise.
60258 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60259 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60260 * sysdeps/i386/configure.in: Likewise.
60261 * sysdeps/x86_64/configure.in: Likewise.
60262 * sysdeps/sh/configure.in: Likewise.
60263 * sysdeps/s390/s390-32/configure: Regenerated.
60264 * sysdeps/s390/s390-64/configure: Likewise.
60265 * sysdeps/x86_64/configure: Likewise.
60266 * sysdeps/sh/configure: Likewise.
60267 * sysdeps/powerpc/powerpc64/configure: Likewise.
60268 * sysdeps/powerpc/powerpc32/configure: Likewise.
60269 * sysdeps/sparc/configure: Likwise.
60270 * sysdeps/i386/configure: Likewise.
60271
60272 * elf/dl-open.c: Comment fixes.
60273
60274 2012-07-17 Joseph Myers <joseph@codesourcery.com>
60275
60276 * Makefile [CXX] (check-data): Remove.
60277 [CXX] (c++-types.data): New vpath directive.
60278 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60279 vpath. Do not allow for C++ type data being missing.
60280 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60281 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60282 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60283 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60284 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60285 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60286 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60288 ... here.
60289 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60291 ... here.
60292 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60294 ... here.
60295 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60297 ... here.
60298 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60300 ... here.
60301 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60303 ... here.
60304 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60306 ... here.
60307 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60309
60310 * elf/tls-macros.h (TLS_LE): Move architecture-specific
60311 definitions to architecture-specific files.
60312 (TLS_IE): Likewise.
60313 (TLS_LD): Likewise.
60314 (TLS_GD): Likewise.
60315 * sysdeps/i386/tls-macros.h: New file.
60316 * sysdeps/powerpc/tls-macros.h: Likewise.
60317 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60318 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60319 * sysdeps/sh/tls-macros.h: Likewise.
60320 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60321 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60322 * sysdeps/x86_64/tls-macros.h: Likewise.
60323
60324 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60325
60326 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60327 zero value for regular exit case.
60328
60329 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60330 (__start_context): Preserve zero value for regular exit case.
60331
60332 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
60333 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60334
60335 * manual/setjmp.texi (setcontext): Clarify normal process
60336 termination when uc_link is the null pointer.
60337 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60338 exit call.
60339
60340 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
60341
60342 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60343 preprocessor. Test for each exception mask separately.
60344
60345 2012-07-16 Andreas Jaeger <aj@suse.de>
60346
60347 * po/ru.po: Update from translation team.
60348
60349 2012-07-15 Joseph Myers <joseph@codesourcery.com>
60350
60351 * conform/data/string.h-data (NULL): Use macro-constant. Require
60352 equal to 0.
60353 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60354 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60355 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
60356 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
60357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
60358
60359 2012-07-13 Andreas Jaeger <aj@suse.de>
60360
60361 * po/fr.po: Update from translation team.
60362
60363 2012-07-12 Marek Polacek <polacek@redhat.com>
60364
60365 [BZ #14173]
60366 * math/libm-test.inc (yn_test): Add test for BZ #14173.
60367 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
60368 loop condition.
60369
60370 2012-07-12 Joseph Myers <joseph@codesourcery.com>
60371
60372 [BZ #13717]
60373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60374 Change to 2.4.1 where previously 2.4.0.
60375 * sysdeps/unix/sysv/linux/configure: Regenerated.
60376 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
60377 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
60378 version.
60379 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
60380 (__ASSUME_AT_CLKTCK): Remove.
60381 (__ASSUME_AT_PAGESIZE): Likewise.
60382 (__ASSUME_AT_XID): Likewise.
60383 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
60384 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
60385 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
60386 unconditionally.
60387 (HAVE_AUX_PAGESIZE): Likewise.
60388 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
60389 [__ASSUME_AT_CLKTCK]: Make code unconditional.
60390 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
60391
60392 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
60393
60394 [BZ #14307]
60395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
60396 the temporary buffer used to invoke __gethostbyname2_r,
60397 __gethostbyaddr_r and gethostbyname4_r to make room for struct
60398 host_data / struct gaih_addrtuple.
60399 * resolv/nss_dns/dns-host.c (global scope): Move definition of
60400 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
60401 header file nss/nsswitch.h.
60402 * nss/nsswitch.h (global scope): Add definition of implementation
60403 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
60404 resolv/nss_dns/dns-host.c).
60405
60406 2012-07-11 Andreas Jaeger <aj@suse.de>
60407
60408 * po/fr.po: Update from translation team.
60409
60410 * po/sv.po: Update from translation team
60411 * po/fr.po: Another update from translation team.
60412
60413 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60414
60415 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
60416 for subnormals or multiply small sinh result by itself.
60417 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60419
60420 2012-07-11 David S. Miller <davem@davemloft.net>
60421
60422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60423
60424 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
60425
60426 [BZ #14347]
60427 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
60428 (INTERNAL_MARK): Shift it here.
60429
60430 2012-07-10 Marek Polacek <polacek@redhat.com>
60431
60432 [BZ #14151]
60433 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
60434 libc_cv_asm_global_directive with .globl.
60435 * configure: Regenerated.
60436 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
60437 with .globl.
60438 * sysdeps/i386/configure: Regenerated.
60439 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
60440 with .globl.
60441 * sysdeps/x86_64/configure: Regenerated.
60442 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
60443 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
60444 * elf/tst-unique2mod2.c: Likewise.
60445 * elf/tst-unique2mod1.c: Likewise.
60446 * elf/tst-unique1mod2.c: Likewise.
60447 * elf/tst-unique1mod1.c: Likewise.
60448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
60449 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60450 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60451 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60452 * sysdeps/mach/sysdep.h: Likewise.
60453 * sysdeps/i386/sysdep.h: Likewise.
60454 * sysdeps/i386/i386-mcount.S: Likewise.
60455 * sysdeps/x86_64/_mcount.S: Likewise.
60456 * sysdeps/x86_64/sysdep.h: Likewise.
60457 * sysdeps/sh/_mcount.S: Likewise.
60458 * sysdeps/sh/sysdep.h: Likewise.
60459 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
60460 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
60461 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
60462 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
60463 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
60464 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
60465 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
60466 * locale/localeinfo.h: Likewise.
60467 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
60468 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
60469
60470 2012-07-09 Roland McGrath <roland@hack.frob.com>
60471
60472 [BZ #14336]
60473 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
60474 system".
60475 * manual/message.texi (The Uniforum approach): Likewise.
60476 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
60477 (glibc iconv Implementation): Likewise.
60478
60479 2012-07-09 Joseph Myers <joseph@codesourcery.com>
60480
60481 [BZ #14337]
60482 * math/s_clog.c (__clog): Avoid scaling a value down where that
60483 could result in underflow.
60484 * math/s_clog10.c (__clog10): Likewise.
60485 * math/s_clog10f.c (__clog10f): Likewise.
60486 * math/s_clog10l.c (__clog10l): Likewise.
60487 * math/s_clogf.c (__clogf): Likewise.
60488 * math/s_clogl.c (__clogl): Likewise.
60489 * math/libm-test.inc (clog_test): Add more tests.
60490 (clog10_test): Likewise.
60491 * sysdeps/i386/fpu/libm-test-ulps: Update.
60492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60493
60494 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
60495
60496 [BZ #14283]
60497 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
60498 by 7 not 8 to examine high bit of fractional part.
60499
60500 [BZ #14042]
60501 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
60502 for call to __mcount_internal.
60503 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
60504 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
60505 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
60506
60507 2012-07-06 Joseph Myers <joseph@codesourcery.com>
60508
60509 [BZ #14154]
60510 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
60511 approximation for values within 0x1p-13f of an odd multiple of
60512 pi/4.
60513 * math/libm-test.inc (tan_test): Do not allow spurious underflow
60514 exception. Add more tests.
60515 * sysdeps/i386/fpu/libm-test-ulps: Update.
60516
60517 [BZ #6778]
60518 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
60519 inputs and return -1 for them. Do not check for +Inf in case not
60520 reachable for +Inf.
60521 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
60522 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
60523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60524 and return -1 for them. Do not check for +Inf in case not
60525 reachable for +Inf.
60526 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
60527 define.
60528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60529 and return -1 for them. Do not check for +Inf in case not
60530 reachable for +Inf.
60531 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
60532 spurious underflow.
60533 * sysdeps/i386/fpu/libm-test-ulps: Update.
60534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60535
60536 2012-07-06 Mike Frysinger <vapier@gentoo.org>
60537
60538 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
60539
60540 2012-07-05 Joseph Myers <joseph@codesourcery.com>
60541
60542 [BZ #14157]
60543 [BZ #14331]
60544 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
60545 could result in spurious underflow. Scale down values above
60546 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
60547 * math/s_csqrtf.c (__csqrtf): Likewise.
60548 * math/s_csqrtl.c (__csqrtl): Likewise.
60549 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
60550 spurious underflow.
60551 * sysdeps/i386/fpu/libm-test-ulps: Update.
60552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60553
60554 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
60555
60556 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
60557 xopen-msg.sed.
60558 * catgets/xopen-msg.awk: New file.
60559 * catgets/xopen-msg.sed: Removed.
60560
60561 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
60562 po2text.sed.
60563 * intl/po2test.awk: New file.
60564 * intl/po2test.sed: Removed.
60565
60566 2012-07-04 Joseph Myers <joseph@codesourcery.com>
60567
60568 [BZ #14328]
60569 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
60570 or multiply small sinh result by itself.
60571 * math/s_ctanf.c (__ctanf): Likewise.
60572 * math/s_ctanh.c (__ctanh): Likewise.
60573 * math/s_ctanhf.c (__ctanhf): Likewise.
60574 * math/s_ctanhl.c (__ctanhl): Likewise.
60575 * math/s_ctanl.c (__ctanl): Likewise.
60576 * math/libm-test.inc (ctan_test_tonearest): New function.
60577 (ctan_test_towardzero): Likewise.
60578 (ctan_test_downward): Likewise.
60579 (ctan_test_upward): Likewise.
60580 (ctanh_test_tonearest): Likewise.
60581 (ctanh_test_towardzero): Likewise.
60582 (ctanh_test_downward): Likewise.
60583 (ctanh_test_upward): Likewise.
60584 (main): Call these new functions.
60585 * sysdeps/i386/fpu/libm-test-ulps: Update.
60586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60587
60588 2012-07-03 Mike Frysinger <vapier@gentoo.org>
60589
60590 * .gitignore: Delete /ports entry.
60591
60592 2012-07-03 Andreas Jaeger <aj@suse.de>
60593
60594 * po/bg.po: Update from translation team.
60595 * po/cs.po: Likewise.
60596 * po/de.po: Likewise.
60597 * po/hr.po: Likewise.
60598 * po/nl.pl: Likewise.
60599 * po/pl.po: Likewise.
60600 * po/vi.po: Likewise.
60601
60602 2012-07-03 Joseph Myers <joseph@codesourcery.com>
60603
60604 * Makeconfig [!+link] (+link-before-libc): New variable.
60605 [!+link] (+link-after-libc): Likewise.
60606 [!+link] (+link-tests): Likewise.
60607 [!+link] (+link): Define in terms of $(+link-before-libc) and
60608 $(+link-after-libc).
60609 [!+link-static] (+link-static-before-libc): New variable.
60610 [!+link-static] (+link-static-after-libc): Likewise.
60611 [!+link-static] (+link-static-tests): Likewise.
60612 [!+link-static] (+link-static): Define in terms of
60613 $(+link-static-before-libc) and $(+link-static-after-libc).
60614 [build-shared] (link-libc-before-gnulib): New variable.
60615 [build-shared] (link-libc-tests): Likewise.
60616 [build-shared] (link-libc): Define in terms of
60617 $(link-libc-before-gnulib).
60618 [!build-shared] (link-libc-tests): New variable.
60619 (link-libc-static-tests): New variable.
60620 [!gnulib] (gnulib-arch): New variable.
60621 [!gnulib] (gnulib-tests): Likewise.
60622 [!gnulib] (static-gnulib-arch): Likewise.
60623 [!gnulib] (static-gnulib-tests): Likewise.
60624 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
60625 Define with "=" instead of ":=".
60626 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
60627 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
60628 * Rules (binaries-all-notests): New variable.
60629 (binaries-all-tests): Likewise.
60630 (binaries-static-notests): Likewise.
60631 (binaries-static-tests): Likewise.
60632 (binaries-all): Define using $(binaries-all-notests) and
60633 $(binaries-all-tests).
60634 (binaries-static): Define using $(binaries-static-notests) and
60635 $(binaries-static-tests).
60636 (binaries-shared-tests): New variable.
60637 (binaries-shared-notests): Likewise.
60638 (binaries-shared): Remove variable.
60639 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
60640 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
60641 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
60642 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
60643 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
60644 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
60645 * elf/Makefile (sln-modules): New variable.
60646 (extra-objs): Add $(sln-modules:=.o).
60647 (ldconfig-modules): Add static-stubs.
60648 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
60649 * elf/static-stubs.c: New file.
60650
60651 [BZ #14283]
60652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
60653 by 7 not 8 to examine high bit of fractional part. Use volatile
60654 variables when splitting into final array of floats if
60655 __FLT_EVAL_METHOD__ != 0.
60656 * math/libm-test.inc (cos_test): Add another test.
60657 (sin_test): Likewise.
60658 * sysdeps/i386/fpu/libm-test-ulps: Update.
60659
60660 [BZ #14273]
60661 * math/libm-test.inc (cosh_test): Add more tests.
60662
60663 * version.h (RELEASE): Set to "development".
60664 (VERSION): Set to "2.16.90".
60665
60666 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
60667
60668 * NEWS: Update copyright. Remove last-updated date.
60669 Mention math library bug fixes and timezone data changes.
60670 * README: Mention GNU/Hurd, x32, and HPPA support status.
60671
60672 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
60673
60674 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
60675
60676 2012-06-27 Andreas Jaeger <aj@suse.de>
60677
60678 * manual/contrib.texi (Contributors): Add Samuel Thibault.
60679
60680 2012-06-25 Andreas Jaeger <aj@suse.de>
60681
60682 * sysdeps/s390/fpu/libm-test-ulps: Update.
60683
60684 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
60685 Thomas Schwinge <thomas@codesourcery.com>
60686
60687 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
60688 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
60689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
60690 fanotify_mark.
60691
60692 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
60693
60694 * sysdeps/mach/start.c: Remove file.
60695 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
60696 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
60697 * sysdeps/sh/init-first.c: Likewise.
60698
60699 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
60700 registers for frame unwinding purposes, add CFI directives.
60701 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60702 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
60703 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
60704 Likewise.
60705
60706 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
60707 __fortify_fail returning.
60708 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
60709
60710 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
60711 sysdeps/sh/____longjmp_chk.S.
60712 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
60713 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
60714 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
60715 (gen-as-const-headers): Append sigaltstack-offsets.sym.
60716
60717 * sysdeps/sh/abort-instr.h: New file.
60718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
60719 process in case exit returns.
60720
60721 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
60722 initialize the GOT register before use.
60723
60724 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
60725 calculation of ARGC > 4.
60726
60727 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
60728 meaningful names to some local labels.
60729
60730 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60731 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60732
60733 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
60734 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
60735 (__arch_compare_and_exchange_val_16_acq): Likewise.
60736 (__arch_compare_and_exchange_val_32_acq): Likewise.
60737 (atomic_exchange_and_add): Fix gUSA sequence.
60738 (atomic_add): Likewise.
60739 (atomic_add_negative): Likewise.
60740 (atomic_add_zero): Likewise.
60741 (atomic_bit_test_set): Likewise.
60742
60743 2012-06-22 Andreas Schwab <schwab@redhat.com>
60744
60745 [BZ #13579]
60746 * include/link.h (struct link_map): Add l_free_initfini.
60747 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
60748 l_initfini.
60749 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
60750 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
60751 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
60752 set.
60753
60754 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
60755
60756 * configure.in: Use AC_LANG_SOURCE.
60757 * configure: Regenerate.
60758
60759 2012-06-22 Roland McGrath <roland@hack.frob.com>
60760
60761 * configure.in (libc_cv_localstatedir): New substituted variable.
60762 * configure: Regenerated.
60763 * config.make.in (localstatedir): New variable, substituted from
60764 libc_cv_localstatedir.
60765 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
60766 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
60767 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
60768 * sysdeps/gnu/configure: Regenerated.
60769
60770 2012-06-21 Jeff Law <law@redhat.com>
60771
60772 [BZ #14277]
60773 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
60774 free. Simplify list management for _LIBC case.
60775
60776 2012-06-21 Joseph Myers <joseph@codesourcery.com>
60777
60778 [BZ #14273]
60779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
60780 Clear sign bit of 64-bit integer value before comparing against
60781 overflow value.
60782
60783 * sysdeps/mach/configure: Regenerated.
60784
60785 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
60786
60787 [BZ #14278]
60788 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
60789
60790 2012-06-21 Jeff Law <law@redhat.com>
60791
60792 [BZ #13882]
60793 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
60794 uint16_t for elements in the "seen" array to avoid char overflows.
60795 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60796 * elf/dl-open.c (dl_open_worker): Likewise.
60797
60798 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
60799
60800 * scripts/list-sources.sh: Scan PORTS for translations.
60801 * po/libc.pot: Regenerated.
60802
60803 2012-06-21 Andreas Jaeger <aj@suse.de>
60804
60805 [BZ #12194]
60806 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
60807 warning.
60808 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
60809 * bits/byteswap-16.h (__bswap_16): Likewise.
60810 * bits/byteswap.h (__bswap_constant_16): Likewise.
60811
60812 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
60813
60814 [BZ #14117]
60815 * sysdeps/i386/fpu_control.h: Removed.
60816 * sysdeps/x86_64/fpu_control.h: Moved to ...
60817 * sysdeps/x86/fpu_control.h: Here.
60818
60819 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
60820 (_FPU_SETCW): Likewise.
60821
60822 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
60823
60824 [BZ #14117]
60825 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
60826 * sysdeps/x86/fpu/bits/mathinline.h: This.
60827 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60828
60829 [BZ #14050]
60830 [BZ #14117]
60831 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60832 functions if __x86_64__ is defined.
60833
60834 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
60835
60836 * string/endian.h: Add !__ASSEMBLER__ condition for including
60837 conversion interfaces.
60838
60839 2012-06-15 Joseph Myers <joseph@codesourcery.com>
60840
60841 [BZ #14241]
60842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60843 of ABS(x) in calculating zero to negative powers other than odd
60844 integers.
60845 * math/libm-test.inc (pow_test): Add more tests.
60846
60847 2012-06-15 Andreas Jaeger <aj@suse.de>
60848
60849 * manual/contrib.texi (Contributors): Update entry of Liubov
60850 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60851 Machado Filho.
60852
60853 2012-06-15 Cyril Hrubis <metan@ucw.cz>
60854
60855 * string/string.h: Add __wur to GNU version of strerror_r.
60856
60857 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
60858
60859 [BZ #14229]
60860 * string/Makefile (tests): Add tst-strtok_r.
60861 * string/tst-strtok_r.c: New file.
60862 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60863 RAX_LP/RDX_LP on SAVE_PTR.
60864
60865 2012-06-14 Roland McGrath <roland@hack.frob.com>
60866
60867 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60868
60869 2012-06-14 Joseph Myers <joseph@codesourcery.com>
60870
60871 * libm_test.inc (csqrt_test): Allow more spurious underflow
60872 exceptions.
60873 (j0_test): Likewise.
60874 (j1_test): Likewise.
60875 (y0_test): Likewise.
60876 (y1_test): Likewise.
60877
60878 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
60879
60880 * po/Makefile (libc.pot): Use UTF-8 charset.
60881
60882 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
60883
60884 [BZ #14210]
60885 Suppress sign-conversion warning from FD_SET.
60886 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60887 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60888 not unsigned long int.
60889 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60890
60891 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
60892
60893 [BZ #14050]
60894 [BZ #14117]
60895 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60896 __extern_always_inline instead of __extern_inline.
60897 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60898 (__signbit): Likewise.
60899 (__signbitl): Support C++ namespace.
60900 (lrintf): New inline function.
60901 (lrint): Likewise.
60902 (llrintf): Likewise.
60903 (llrint): Likewise.
60904 (fmaxf): Likewise.
60905 (fmax): Likewise.
60906 (fminf): Likewise.
60907 (fmin): Likewise.
60908 (rint): Likewise.
60909 (rintf): Likewise.
60910 (ceil): Likewise.
60911 (ceilf): Likewise.
60912 (floor): Likewise.
60913 (floorf): Likewise.
60914 (nearbyint): Likewise.
60915 (nearbyintf): Likewise.
60916
60917 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
60918
60919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60920 non-default versions.
60921
60922 2012-06-11 Roland McGrath <roland@hack.frob.com>
60923
60924 [BZ #14218]
60925 * manual/argp.texi (Argp): Reword argp_parse description slightly.
60926
60927 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
60928
60929 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60930 (FE_UPWARD, FE_DOWNWARD): Don't define.
60931 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60932 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60933
60934 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60935 reading it.
60936 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60937 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60938
60939 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
60940
60941 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60943 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60944 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60945
60946 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
60947
60948 [BZ #14117]
60949 * sysdeps/i386/fpu/bits/fenv.h: Removed.
60950 * sysdeps/i386/fpu/Implies: New file.
60951 * sysdeps/x86_64/fpu/Implies: Likewise.
60952 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60953 * sysdeps/x86/fpu/bits/fenv.h: This.
60954
60955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60956 __SSE_MATH__.
60957
60958 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
60959
60960 [BZ #14134]
60961 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60962 character 0xffff that matches the last element of the
60963 conversion table.
60964
60965 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60966
60967 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60968 fmodl commit.
60969
60970 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60971
60972 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60973 values higher than 25.6283.
60974
60975 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60976
60977 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60978 subnormal exponent extraction and add some __builtin_expect.
60979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60980 Fix for subnormal mantissa calculation.
60981
60982 2012-06-04 Mike Frysinger <vapier@gentoo.org>
60983
60984 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60985 cpu2 is -1 and errno is not ENOSYS.
60986
60987 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
60988
60989 [BZ #14117]
60990 * sysdeps/i386/i486/bits/string.h: Renamed to ...
60991 * sysdeps/x86/bits/string.h: This.
60992 * sysdeps/x86_64/bits/string.h: Removed.
60993
60994 * sysdeps/i386/i486/bits/string.h: Define inline functions only
60995 if not compiling for x86-64, but compiling for >= i486.
60996
60997 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60998 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60999
61000 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61001 New macro from Linux kernel 3.4.0.
61002 (FP_XSTATE_MAGIC2): Likewise.
61003 (FP_XSTATE_MAGIC2_SIZE): Likewise.
61004 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61005 (struct _fpx_sw_bytes): New struct.
61006 (struct _xsave_hdr): Likewise.
61007 (struct _ymmh_state): Likewise.
61008 (struct _xstate): Likewise.
61009
61010 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61011 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61013 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61014 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61015 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61016
61017 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61018 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61019 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61020 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61021 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61022 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61023
61024 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61025
61026 [BZ #13743]
61027 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61028 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61029 (sysdep_headers): Include sys/platform/ppc.h.
61030 * sysdeps/powerpc/test-gettimebase.c: Test for
61031 __ppc_get_timebase() to catch future ISA opcode/insn changes.
61032 * manual/Makefile (appendices): Include platform.texi.
61033 * manual/contrib.texi (Contributors): Update @node pointers.
61034 * manual/maint.texi (Maintenance): Likewise.
61035 (Platform): New node.
61036 * manual/platform.texi: New file. Document the new features.
61037
61038 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61039 Jakub Jelinek <jakub@redhat.com>
61040
61041 [BZ #14188]
61042 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61043 where __builtin_expect is unavailable.
61044
61045 2012-06-03 David S. Miller <davem@davemloft.net>
61046
61047 * stdlib/longlong.h: Updated from GCC.
61048
61049 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
61050
61051 [BZ #14042]
61052 * sysdeps/powerpc/powerpc32/mcount.c: New file.
61053 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61054 __mcount_internal.
61055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61056 (GLIBC_2.16): Likewise.
61057
61058 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61059
61060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61061
61062 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61063
61064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61065 (default-abi): New variable.
61066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61067 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61068 variable.
61069 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61070 Likewise.
61071 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61072 Likewise.
61073 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61074 Likewise.
61075
61076 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61077 definition. Document in comment.
61078
61079 2012-06-01 David S. Miller <davem@davemloft.net>
61080
61081 * stdlib/longlong.h: Updated from GCC.
61082
61083 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61084
61085 [BZ #14117]
61086 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61087 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61088 sys/debugreg.h sys/io.h here.
61089 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61090 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61091 sys/io.h.
61092 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61093 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61094 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61095 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61096 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61097 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61098
61099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61100 Define only if __x86_64__ is defined.
61101
61102 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61103
61104 [BZ #14048]
61105 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61106 Use int64_t for variable i.
61107 * math/libm-test.inc (fmod_test): Add more tests.
61108
61109 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61110 z computation is not scheduled after fetestexcept.
61111 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61112 Use math_force_eval instead of asm to ensure calculation scheduled
61113 before exception test.
61114 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61115 Ensure a1 + u.d computation is not scheduled after fetestexcept.
61116
61117 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
61118
61119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61120 computation is not scheduled after fetestexcept.
61121
61122 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61123
61124 [BZ #14117]
61125 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61126 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61127
61128 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61129
61130 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61131 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61132
61133 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61134
61135 [BZ #14117]
61136 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61137 <bits/wordsize.h>.
61138 (__WCHAR_MIN): Support __WORDSIZE == 64.
61139 (__WCHAR_MAX): Likewise.
61140
61141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61142 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61143
61144 [BZ #14183]
61145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61146 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61147
61148 [BZ #14117]
61149 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61150 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61151
61152 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61153 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61154
61155 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61156 Defined to 1 if __x86_64__ isn't defined.
61157 (_STAT_VER_LINUX_OLD): New.
61158 (st_atime): Remove duplicate.
61159 (st_mtime): Likewise.
61160 (st_ctime): Likewise.
61161
61162 2012-05-31 David S. Miller <davem@davemloft.net>
61163
61164 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61165 entries.
61166
61167 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
61168
61169 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61170 gen-libm-test.pl.
61171
61172 [BZ #14132]
61173 * elf/dl-reloc.c: Include <_itoa.h>.
61174 (_dl_reloc_bad_type): Remove use of INTUSE.
61175 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61176 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61177 * stdio-common/psiginfo.c (psiginfo): Likewise.
61178 * stdio-common/psignal.c (psignal): Likewise.
61179 * string/strsignal.c (strsignal): Likewise.
61180 * include/signal.h (_sys_siglist): Declare hidden proto.
61181 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
61182 INTVARDEF with libc_hidden_data_def.
61183 * stdio-common/itoa-udigits.c: Likewise.
61184 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61185 (_itoa_lower_digits_internal): Remove declaration.
61186 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61187 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61188 (_sys_sigabbrev_internal): Remove aliases.
61189 (_sys_siglist): Define hidden alias.
61190
61191 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
61192
61193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61194 bits/sysctl.h.
61195
61196 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61197
61198 [BZ #14117]
61199 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61200 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61201
61202 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61203 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61204 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61205 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61207 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61208
61209 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61211 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61212
61213 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61214 with __addr.
61215 (insw): Likewise.
61216 (insl): Likewise.
61217 (outsb): Likewise.
61218 (outsw): Likewise.
61219 (outsl): Likewise.
61220
61221 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61223 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61224
61225 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61226 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61228 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61229 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61230 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61231
61232 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61233 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61234
61235 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61236 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61237
61238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61240 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61241
61242 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61243 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61244 to ...
61245 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61246
61247 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61248 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61249 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61250
61251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61252 for x86-64.
61253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61254
61255 2012-05-31 Joseph Myers <joseph@codesourcery.com>
61256
61257 * math/math.h (M_El): Use two more decimal places.
61258 (M_LOG2El): Likewise.
61259 (M_LOG10El): Likewise.
61260 (M_LN2l): Likewise.
61261 (M_LN10l): Likewise.
61262 (M_PIl): Likewise.
61263 (M_PI_2l): Likewise.
61264 (M_PI_4l): Likewise.
61265 (M_1_PIl): Likewise.
61266 (M_2_PIl): Likewise.
61267 (M_2_SQRTPIl): Likewise.
61268 (M_SQRT2l): Likewise.
61269 (M_SQRT1_2l): Likewise.
61270
61271 2012-05-31 David S. Miller <davem@davemloft.net>
61272
61273 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61274 values between float registers.
61275 * sysdeps/sparc/sparc64/memset.S: Likewise.
61276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61277
61278 2012-05-31 Mike Frysinger <vapier@gentoo.org>
61279
61280 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61281 -D_FORTIFY_SOURCE=1.
61282 (CPPFLAGS-tst-longjmp_chk.c): Define.
61283 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61284 (CPPFLAGS-tst-longjmp_chk2.c): Define.
61285 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61286 CFLAGS-tst-wchar-h.c.
61287
61288 2012-05-31 Marek Polacek <polacek@redhat.com>
61289
61290 [BZ #14132]
61291 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61292 __endmntent_internal): Remove declaration.
61293 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61294 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61295 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61296
61297 2012-05-30 David S. Miller <davem@davemloft.net>
61298
61299 * sysdeps/sparc/sparc32/soft-fp/q_util.c
61300 (___Q_simulate_exceptions): Use real FP ops rather than writing
61301 into the %fsr.
61302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61303 Likewise.
61304
61305 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61306
61307 [BZ #14117]
61308 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61309 * sysdeps/x86/bits/xtitypes.h: This.
61310
61311 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61312 * sysdeps/x86/bits/wordsize.h: This.
61313
61314 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61315 * sysdeps/x86/bits/huge_vall.h: This.
61316
61317 * sysdeps/i386/bits/select.h: Removed.
61318 * sysdeps/x86_64/bits/select.h: Renamed to ...
61319 * sysdeps/x86/bits/select.h: This.
61320
61321 * sysdeps/i386/bits/setjmp.h: Removed.
61322 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61323 * sysdeps/x86/bits/setjmp.h: This.
61324
61325 * sysdeps/i386/bits/mathdef.h: Removed.
61326 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61327 * sysdeps/x86/bits/mathdef.h: This.
61328
61329 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
61330
61331 [BZ #14132]
61332 * include/sys/socket.h (__connect_internal)
61333 (__libc_sa_len_internal): Remove declaration.
61334 (__connect, __libc_sa_len): Declare hidden_proto.
61335 (SA_LEN): Remove use of INTUSE.
61336 * socket/connect.c: Add libc_hidden_def.
61337 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61338 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61339 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61340 alias.
61341 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61342 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61343 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61344 of adding _internal alias.
61345
61346 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61347
61348 [BZ #14117]
61349 * sysdeps/i386/bits/link.h: Removed.
61350 * sysdeps/i386/bits/linkmap.h: Likewise.
61351 * sysdeps/x86_64/bits/link.h: Renamed to ...
61352 * sysdeps/x86/bits/link.h: This.
61353 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
61354 * sysdeps/x86/bits/linkmap.h: This.
61355
61356 * sysdeps/i386/bits/endian.h: Removed.
61357 * sysdeps/x86_64/bits/endian.h: Renamed to ...
61358 * sysdeps/x86/bits/endian.h: This.
61359
61360 * sysdeps/i386/bits/byteswap.h: Removed.
61361 * sysdeps/i386/bits/byteswap-16.h: Likewise.
61362 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
61363 * sysdeps/x86/bits/byteswap.h: This.
61364 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
61365 * sysdeps/x86/bits/byteswap-16.h: This.
61366 * sysdeps/i386/Implies: Add x86.
61367 * sysdeps/x86_64/Implies: Likewise.
61368
61369 2012-05-30 David S. Miller <davem@davemloft.net>
61370
61371 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
61372 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
61373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61374 (FP_TRAPPING_EXCEPTIONS): Define.
61375 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
61376 (FP_TRAPPING_EXCEPTIONS): Define.
61377 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61378 subnormals only when inexact has been signalled or underflow
61379 exceptions are enabled.
61380 (_FP_PACK_CANONICAL): Likewise.
61381
61382 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61383
61384 [BZ #14183]
61385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
61386 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
61387
61388 2012-05-30 Richard Henderson <rth@twiddle.net>
61389
61390 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
61391 with #ifndef NOT_IN_libc.
61392
61393 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
61394 marked to avoid plt entry.
61395
61396 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
61397
61398 [BZ #14112]
61399 * Makeconfig (default-abi): New macro.
61400 (abi-includes): Likewise.
61401 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
61402 $(abi-$(default-abi)-lib-soname) for soname if defined.
61403 ($(common-objpfx)gnu/lib-names.stmp): Generate from
61404 abi-variants.
61405 * Makefile (installed-stubs): Likewise.
61406 * include/stubs-biarch.h: Removed.
61407 * scripts/lib-names.awk: Only handle one library at a time.
61408 * scripts/soversions.awk: Remove WORDSIZE support.
61409 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
61410 entries.
61411 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
61412 Removed.
61413 (syscall-list-default-condition): Likewise.
61414 (syscall-list-default-condition): Likewise.
61415 (syscall-list-includes): Likewise.
61416 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
61417 syscall-list-* with abi-*. Handle undefined abi-variants.
61418 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
61419 * sysdeps/unix/sysv/linux/i386/Implies: New file.
61420 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
61421 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
61422 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
61423 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
61424 Removed.
61425 (syscall-list-32-options): Likewise.
61426 (syscall-list-32-condition): Likewise.
61427 (syscall-list-64-options): Likewise.
61428 (syscall-list-64-condition): Likewise.
61429 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
61430 macro.
61431 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
61432 Renamed to ...
61433 (abi-*): This.
61434 (abi-64-ld-soname): New macro.
61435 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
61436 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
61437 Renamed to ...
61438 (abi-*): This.
61439 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
61440 * sysdeps/x86_64/x32/shlib-versions: Likewise.
61441
61442 2012-05-30 Joseph Myers <joseph@codesourcery.com>
61443
61444 * sysdeps/unix/sysv/linux/kernel-features.h
61445 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
61446 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
61447 include <kernel-features.h>.
61448 [!__NR_ftruncate64]: Remove conditional code.
61449 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61450 [__NR_ftruncate64]: Make code unconditional.
61451 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61452 * sysdeps/unix/sysv/linux/truncate64.c: Do not
61453 include <kernel-features.h>.
61454 [!__NR_ftruncate64]: Remove conditional code.
61455 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61456 [__NR_ftruncate64]: Make code unconditional.
61457 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
61459 include <kernel-features.h>.
61460 [!__NR_ftruncate64]: Remove conditional code.
61461 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61462 [__NR_ftruncate64]: Make code unconditional.
61463 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61465 include <kernel-features.h>.
61466 [!__NR_ftruncate64]: Remove conditional code.
61467 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61468 [__NR_ftruncate64]: Make code unconditional.
61469 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
61470
61471 * configure.in (libc_cv_fpie): Weaken to a compile test using
61472 LIBC_TRY_CC_OPTION.
61473 * configure: Regenerated.
61474
61475 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61476
61477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
61478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
61479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
61480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61481 Refreshed.
61482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
61483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
61484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
61485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
61486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
61487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61488 Refreshed.
61489
61490 2012-05-27 David S. Miller <davem@davemloft.net>
61491
61492 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
61493 (___Q_zero): New.
61494 (__Q_simulate_exceptions): Return void. Change to simulate
61495 exceptions by writing into the %fsr.
61496 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
61497 (__Qp_handle_exceptions): Likewise.
61498 (numbers): Delete.
61499 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
61500 __Qp_handle_exceptions.
61501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
61502 __Qp_handle_exceptions.
61503 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61504 as unused and give dummy FP_RND_NEAREST initializer.
61505 (FP_INHIBIT_RESULTS): Define.
61506 (___Q_simulate_exceptions): Update declaration.
61507 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
61508 formatting.
61509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
61510 as unused and give dummy FP_RND_NEAREST initializer.
61511 (__Qp_handle_exceptions): Update declaration.
61512 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
61513 formatting.
61514
61515 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
61516
61517 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
61518 the temporary FPU control word.
61519 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
61520 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
61521 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
61522 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61523 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61524 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
61525 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
61526 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61527 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
61528 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
61529 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61530
61531 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61532
61533 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
61534 fields.
61535
61536 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
61537
61538 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
61539 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
61540 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
61541 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
61542 Likewise.
61543 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
61544 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
61545 Likewise.
61546
61547 2012-05-27 Ulrich Drepper <drepper@gmail.com>
61548
61549 * po/h.po: Update from translation team.
61550
61551 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
61552
61553 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
61554
61555 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
61556 handling of denormals.
61557 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61558 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
61559 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61560 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
61563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
61564 Likewise.
61565
61566 2012-05-26 Marek Polacek <polacek@redhat.com>
61567
61568 [BZ #14152]
61569 * math/libm-test.inc (fma_test): Don't always expect underflow
61570 exception.
61571
61572 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
61573
61574 [BZ #12416]
61575 * elf/tst-execstack.c: Include stackinfo.h.
61576 (do_test): Adjust test case to ensure that pthread_getattr_np
61577 behaviour remains the same after marking stack executable.
61578
61579 2012-05-25 Joseph Myers <joseph@codesourcery.com>
61580
61581 * sysdeps/unix/sysv/linux/kernel-features.h
61582 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
61583 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
61584 kernel-features.h.
61585 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61586 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61587 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
61588 kernel-features.h.
61589 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
61590 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
61591
61592 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
61593
61594 * configure.in: Define the default includes to being none.
61595 * configure: Regenerated.
61596
61597 2012-05-25 Roland McGrath <roland@hack.frob.com>
61598
61599 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
61600 * sysdeps/x86_64/setjmp.S: Likewise.
61601 * sysdeps/i386/bsd-setjmp.S: Likewise.
61602 * sysdeps/i386/bsd-_setjmp.S: Likewise.
61603 * sysdeps/i386/setjmp.S: Likewise.
61604 * sysdeps/i386/__longjmp.S: Likewise.
61605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61606 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
61607
61608 * include/stap-probe.h: New file.
61609 * configure.in: Handle --enable-systemtap.
61610 * configure: Regenerated.
61611 * config.h.in (USE_STAP_PROBE): New #undef.
61612 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61613 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
61614 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
61615
61616 2012-05-25 Joseph Myers <joseph@codesourcery.com>
61617
61618 [BZ #13717]
61619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61620 to 2.4.0 where earlier.
61621 * sysdeps/unix/sysv/linux/configure: Regenerated.
61622 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61623 <kernel-features.h>.
61624 [__ASSUME_32BITUIDS]: Make code unconditional.
61625 [!__ASSUME_32BITUIDS]: Remove conditional code.
61626 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
61627 <kernel-features.h>.
61628 [__ASSUME_32BITUIDS]: Make code unconditional.
61629 [!__ASSUME_32BITUIDS]: Remove conditional code.
61630 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
61631 [__ASSUME_32BITUIDS]: Make code unconditional.
61632 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
61633 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
61634 <kernel-features.h>.
61635 [__ASSUME_32BITUIDS]: Make code unconditional.
61636 [!__ASSUME_32BITUIDS]: Remove conditional code.
61637 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
61638 <kernel-features.h>.
61639 [__ASSUME_32BITUIDS]: Make code unconditional.
61640 [!__ASSUME_32BITUIDS]: Remove conditional code.
61641 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
61642 <kernel-features.h>.
61643 [__ASSUME_32BITUIDS]: Make code unconditional.
61644 [!__ASSUME_32BITUIDS]: Remove conditional code.
61645 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
61646 <kernel-features.h>.
61647 [__ASSUME_32BITUIDS]: Make code unconditional.
61648 [!__ASSUME_32BITUIDS]: Remove conditional code.
61649 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61650 <kernel-features.h>.
61651 [__ASSUME_32BITUIDS]: Make code unconditional.
61652 [!__ASSUME_32BITUIDS]: Remove conditional code.
61653 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61654 <kernel-features.h>.
61655 [__ASSUME_32BITUIDS]: Make code unconditional.
61656 [!__ASSUME_32BITUIDS]: Remove conditional code.
61657 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
61658 <kernel-features.h>.
61659 [__ASSUME_32BITUIDS]: Make code unconditional.
61660 [!__ASSUME_32BITUIDS]: Remove conditional code.
61661 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61662 <kernel-features.h>.
61663 [__ASSUME_32BITUIDS]: Make code unconditional.
61664 [!__ASSUME_32BITUIDS]: Remove conditional code.
61665 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61666 <kernel-features.h>.
61667 [__ASSUME_32BITUIDS]: Make code unconditional.
61668 [!__ASSUME_32BITUIDS]: Remove conditional code.
61669 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
61670 <kernel-features.h>.
61671 [__ASSUME_32BITUIDS]: Make code unconditional.
61672 [!__ASSUME_32BITUIDS]: Remove conditional code.
61673 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
61674 <kernel-features.h>.
61675 [__NR_setresgid] (__setresgid): Do not declare.
61676 [__ASSUME_32BITUIDS]: Make code unconditional.
61677 [!__ASSUME_32BITUIDS]: Remove conditional code.
61678 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
61679 <kernel-features.h>.
61680 [__NR_setresuid] (__setresuid): Do not declare.
61681 [__ASSUME_32BITUIDS]: Make code unconditional.
61682 [!__ASSUME_32BITUIDS]: Remove conditional code.
61683 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
61684 <kernel-features.h>.
61685 [__ASSUME_32BITUIDS]: Make code unconditional.
61686 [!__ASSUME_32BITUIDS]: Remove conditional code.
61687 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
61688 <kernel-features.h>.
61689 [__ASSUME_32BITUIDS]: Make code unconditional.
61690 [!__ASSUME_32BITUIDS]: Remove conditional code.
61691 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
61692 <kernel-features.h>.
61693 [__ASSUME_32BITUIDS]: Make code unconditional.
61694 [!__ASSUME_32BITUIDS]: Remove conditional code.
61695 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
61696 <kernel-features.h>.
61697 [__ASSUME_32BITUIDS]: Make code unconditional.
61698 [!__ASSUME_32BITUIDS]: Remove conditional code.
61699 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
61700 <kernel-features.h>.
61701 [__ASSUME_32BITUIDS]: Make code unconditional.
61702 [!__ASSUME_32BITUIDS]: Remove conditional code.
61703 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
61704 <kernel-features.h>.
61705 [__ASSUME_32BITUIDS]: Make code unconditional.
61706 [!__ASSUME_32BITUIDS]: Remove conditional code.
61707 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
61708 <kernel-features.h>.
61709 [__ASSUME_32BITUIDS]: Make code unconditional.
61710 [!__ASSUME_32BITUIDS]: Remove conditional code.
61711 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
61712 <kernel-features.h>.
61713 [__ASSUME_32BITUIDS]: Make code unconditional.
61714 [!__ASSUME_32BITUIDS]: Remove conditional code.
61715 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
61716 <kernel-features.h>.
61717 [__ASSUME_32BITUIDS]: Make code unconditional.
61718 [!__ASSUME_32BITUIDS]: Remove conditional code.
61719 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61720 <kernel-features.h>.
61721 [__ASSUME_32BITUIDS]: Make code unconditional.
61722 [!__ASSUME_32BITUIDS]: Remove conditional code.
61723 * sysdeps/unix/sysv/linux/kernel-features.h
61724 (__ASSUME_SETRESUID_SYSCALL): Remove.
61725 (__ASSUME_SETRESGID_SYSCALL): Likewise.
61726 (__ASSUME_32BITUIDS): Likewise.
61727 (__ASSUME_LDT_WORKS): Likewise.
61728 (__ASSUME_O_DIRECTORY): Likewise.
61729 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
61730 architecture but not kernel version.
61731 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
61732 (__ASSUME_MMAP2_SYSCALL): Likewise.
61733 (__ASSUME_STAT64_SYSCALL): Likewise.
61734 (__ASSUME_IPC64): Likewise.
61735 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
61736 <kernel-features.h>.
61737 [__ASSUME_32BITUIDS]: Make code unconditional.
61738 [!__ASSUME_32BITUIDS]: Remove conditional code.
61739 * sysdeps/unix/sysv/linux/opendir.c: Do not include
61740 <kernel-features.h>.
61741 [__ASSUME_O_DIRECTORY]: Make code unconditional.
61742 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
61743 132096]: Remove conditional code.
61744 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
61745 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61746 <kernel-features.h>.
61747 [__ASSUME_32BITUIDS]: Make code unconditional.
61748 [!__ASSUME_32BITUIDS]: Remove conditional code.
61749 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61750 <kernel-features.h>.
61751 [__ASSUME_32BITUIDS]: Make code unconditional.
61752 [!__ASSUME_32BITUIDS]: Remove conditional code.
61753 * sysdeps/unix/sysv/linux/setegid.c: Do not include
61754 <kernel-features.h>.
61755 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
61756 unconditional.
61757 (__setresgid): Do not declare.
61758 [__ASSUME_32BITUIDS]: Make code unconditional.
61759 [!__ASSUME_32BITUIDS]: Remove conditional code.
61760 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
61761 <kernel-features.h>.
61762 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
61763 unconditional.
61764 (__setresuid): Do not declare.
61765 [__ASSUME_32BITUIDS]: Make code unconditional.
61766 [!__ASSUME_32BITUIDS]: Remove conditional code.
61767 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61768 <kernel-features.h>.
61769 [__ASSUME_32BITUIDS]: Make code unconditional.
61770 [!__ASSUME_32BITUIDS]: Remove conditional code.
61771 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
61772 <kernel-features.h>.
61773 [__ASSUME_32BITUIDS]: Make code unconditional.
61774 [!__ASSUME_32BITUIDS]: Remove conditional code.
61775
61776 2012-05-25 Richard Henderson <rth@twiddle.net>
61777
61778 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
61779 dl_hwcap to ifunc resolver.
61780 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
61781 elf_ifunc_invoke.
61782 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
61783 dl_hwcap to ifunc resolver.
61784 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
61785
61786 2012-05-24 Joseph Myers <joseph@codesourcery.com>
61787
61788 [BZ #14153]
61789 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
61790 for |x| <= 2**-26, not 2**-57.
61791 * math/libm-test.inc (acos_test): Do not allow spurious underflow
61792 exception.
61793
61794 2012-05-24 Jeff Law <law@redhat.com>
61795
61796 * stdio-common/Makefile (tests): Add bug25.
61797 * stdio-common/bug25.c: New test.
61798
61799 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
61800
61801 [BZ #13576]
61802 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
61803 multiple of MALLOC_ALIGNMENT in size.
61804 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
61805
61806 2012-05-24 Joseph Myers <joseph@codesourcery.com>
61807
61808 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
61809 Require >= 256.
61810 (FILENAME_MAX): Use macro-int-constant.
61811 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
61812 (_IOFBF): Use macro-int-constant.
61813 (_IOLBF): Likewise.
61814 (_IONBF): Likewise.
61815 (SEEK_CUR): Likewise.
61816 (SEEK_END): Likewise.
61817 (SEEK_SET): Likewise.
61818 (TMP_MAX): Likewise.
61819 (EOF): Use macro-int-constant. Require < 0.
61820 (NULL): Use macro-constant. Require == 0.
61821 (stdin): Require type to be FILE *.
61822 (stdout): Likewise.
61823 (stderr): Likewise.
61824 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
61825 macro-int-constant.
61826 (EXIT_SUCCESS): Likewise.
61827 (NULL): Use macro-constant. Require == 0.
61828 (RAND_MAX): Use macro-int-constant.
61829 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61830 [C99-based standards] (strtof): Require function.
61831 [C99-based standards] (strtold): Likewise.
61832 [C99-based standards] (strtoll): Likewise.
61833 [C99-based standards] (strtoull): Likewise.
61834 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61835 [ISO || ISO99 || ISO11] (limits.h): Likewise.
61836 [ISO || ISO99 || ISO11] (math.h): Likewise.
61837 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61838 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61840
61841 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
61842
61843 [BZ #14132]
61844 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61845 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61846 * intl/dgettext.c (DCGETTEXT): Likewise.
61847 * intl/gettext.c (DCGETTEXT): Likewise.
61848 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61849 * posix/regex_internal.h (gettext): Likewise.
61850 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61851 Remove declaration.
61852 * include/argz.h (__argz_count_internal)
61853 (__argz_stringify_internal): Remove declaration.
61854 (__argz_count, __argz_stringify): Declare hidden proto.
61855 * intl/dcgettext.c: Remove use of INTDEF.
61856 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61857 * string/argz-stringify.c: Likewise.
61858 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61859 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61860 Declare hidden proto.
61861 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61862 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61863 Declare hidden proto.
61864 * include/stdio.h (__asprintf_internal): Don't declare.
61865 (__asprintf): Don't define as macro. Declare hidden proto.
61866 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61867 (__fsetlocking): Declare hidden proto.
61868 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61869 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61870 hidden proto.
61871 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61872 (_IO_setlinebuf): Remove use of INTUSE.
61873 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61874 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61875 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61876 Remove declaration.
61877 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61878 (_IO_do_flush): Remove use of INTUSE.
61879 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61880 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61881 (_IO_adjust_column, _IO_least_wmarker)
61882 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61883 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61884 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61885 (_IO_default_doallocate, _IO_wdefault_doallocate)
61886 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61887 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61888 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61889 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61890 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61891 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61892 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61893 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61894 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61895 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61896 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61897 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61898 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61899 proto.
61900 (_IO_flush_all_internal, _IO_adjust_column_internal)
61901 (_IO_default_uflow_internal, _IO_default_finish_internal)
61902 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61903 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61904 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61905 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61906 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61907 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61908 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61909 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61910 (_IO_file_close_internal, _IO_file_close_it_internal)
61911 (_IO_file_underflow_internal, _IO_file_overflow_internal)
61912 (_IO_file_init_internal, _IO_file_attach_internal)
61913 (_IO_file_fopen_internal, _IO_file_read_internal)
61914 (_IO_file_sync_internal, _IO_file_seek_internal)
61915 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61916 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61917 (_IO_str_underflow_internal, _IO_str_overflow_internal)
61918 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61919 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61920 (_IO_list_all_internal, _IO_link_in_internal)
61921 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61922 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61923 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61924 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61925 (_IO_do_write_internal, _IO_padn_internal)
61926 (_IO_getline_info_internal, _IO_getline_internal)
61927 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61928 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61929 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61930 (_IO_vfscanf_internal, _IO_vfprintf_internal)
61931 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61932 (_IO_init_internal, _IO_un_link_internal): Don't declare.
61933 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61934 with libc_hidden_ver, remove use of INTUSE.
61935 * libio/genops.c: Likewise.
61936 * libio/freopen.c: Likewise.
61937 * libio/freopen64.c: Likewise.
61938 * libio/iofclose.c: Likewise.
61939 * libio/iofdopen.c: Likewise.
61940 * libio/iofflush.c: Likewise.
61941 * libio/iofflush_u.c: Likewise.
61942 * libio/iofgets.c: Likewise.
61943 * libio/iofgets_u.c: Likewise.
61944 * libio/iofopen.c: Likewise.
61945 * libio/iofopncook.c: Likewise.
61946 * libio/iofread.c: Likewise.
61947 * libio/iofread_u.c: Likewise.
61948 * libio/ioftell.c: Likewise.
61949 * libio/iofwrite.c: Likewise.
61950 * libio/iogetline.c: Likewise.
61951 * libio/iogets.c: Likewise.
61952 * libio/iogetwline.c: Likewise.
61953 * libio/iopadn.c: Likewise.
61954 * libio/iopopen.c: Likewise.
61955 * libio/ioseekoff.c: Likewise.
61956 * libio/ioseekpos.c: Likewise.
61957 * libio/iosetbuffer.c: Likewise.
61958 * libio/iosetvbuf.c: Likewise.
61959 * libio/ioungetc.c: Likewise.
61960 * libio/ioungetwc.c: Likewise.
61961 * libio/iovdprintf.c: Likewise.
61962 * libio/iovsprintf.c: Likewise.
61963 * libio/iovsscanf.c: Likewise.
61964 * libio/memstream.c: Likewise.
61965 * libio/obprintf.c: Likewise.
61966 * libio/oldfileops.c: Likewise.
61967 * libio/oldiofclose.c: Likewise.
61968 * libio/oldiofdopen.c: Likewise.
61969 * libio/oldiofopen.c: Likewise.
61970 * libio/oldiopopen.c: Likewise.
61971 * libio/oldstdfiles.c: Likewise.
61972 * libio/putc.c: Likewise.
61973 * libio/setbuf.c: Likewise.
61974 * libio/setlinebuf.c: Likewise.
61975 * libio/stdfiles.c: Likewise.
61976 * libio/strops.c: Likewise.
61977 * libio/vasprintf.c: Likewise.
61978 * libio/vscanf.c: Likewise.
61979 * libio/vsnprintf.c: Likewise.
61980 * libio/vswprintf.c: Likewise.
61981 * libio/wfiledoalloc.c: Likewise.
61982 * libio/wfileops.c: Likewise.
61983 * libio/wgenops.c: Likewise.
61984 * libio/wmemstream.c: Likewise.
61985 * libio/wstrops.c: Likewise.
61986 * libio/__fpurge.c: Likewise.
61987 * libio/__fsetlocking.c: Likewise.
61988 * assert/assert.c: Likewise.
61989 * debug/fgets_chk.c: Likewise.
61990 * debug/fgets_u_chk.c: Likewise.
61991 * debug/fread_chk.c: Likewise.
61992 * debug/fread_u_chk.c: Likewise.
61993 * debug/gets_chk.c: Likewise.
61994 * debug/obprintf_chk.c: Likewise.
61995 * debug/vasprintf_chk.c: Likewise.
61996 * debug/vdprintf_chk.c: Likewise.
61997 * debug/vsnprintf_chk.c: Likewise.
61998 * debug/vsprintf_chk.c: Likewise.
61999 * malloc/mtrace.c: Likewise.
62000 * misc/error.c: Likewise.
62001 * misc/syslog.c: Likewise.
62002 * stdio-common/asprintf.c: Likewise.
62003 * stdio-common/fxprintf.c: Likewise.
62004 * stdio-common/getw.c: Likewise.
62005 * stdio-common/isoc99_fscanf.c: Likewise.
62006 * stdio-common/isoc99_scanf.c: Likewise.
62007 * stdio-common/isoc99_vfscanf.c: Likewise.
62008 * stdio-common/isoc99_vscanf.c: Likewise.
62009 * stdio-common/isoc99_vsscanf.c: Likewise.
62010 * stdio-common/printf-prs.c: Likewise.
62011 * stdio-common/printf_fp.c: Likewise.
62012 * stdio-common/printf_fphex.c: Likewise.
62013 * stdio-common/printf_size.c: Likewise.
62014 * stdio-common/putw.c: Likewise.
62015 * stdio-common/scanf.c: Likewise.
62016 * stdio-common/sprintf.c: Likewise.
62017 * stdio-common/tmpfile.c: Likewise.
62018 * stdio-common/vfprintf.c: Likewise.
62019 * stdio-common/vfscanf.c: Likewise.
62020 * stdlib/strfmon_l.c: Likewise.
62021 * sunrpc/openchild.c: Likewise.
62022 * sunrpc/xdr_stdio.c: Likewise.
62023 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62024 * sysdeps/mach/hurd/tmpfile.c: Likewise.
62025
62026 2012-05-24 Roland McGrath <roland@hack.frob.com>
62027
62028 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62029
62030 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62031 in the third column, to generate for the shared library an IFUNC
62032 that uses _dl_vdso_vsym.
62033 * Makerules (COMPILE.c, compile-stdin.c): New variables.
62034 * Makeconfig (object-suffixes-noshared): New variable.
62035
62036 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62037 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62038 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62039 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62040
62041 [BZ #14132]
62042 * include/sys/time.h (__gettimeofday): Remove macro.
62043 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62044 * time/gettimeofday.c (__gettimeofday): Remove #undef.
62045 Remove INTDEF.
62046 (__gettimeofday): Add libc_hidden_def.
62047 (gettimeofday): Add libc_hidden_weak.
62048 * sysdeps/mach/gettimeofday.c: Likewise.
62049 * sysdeps/posix/gettimeofday.c: Likewise.
62050 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62051 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62052 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62053 (__gettimeofday_internal): Remove strong_alias.
62054 (__gettimeofday): Add libc_hidden_def.
62055 (gettimeofday): Add libc_hidden_weak.
62056 * sysdeps/unix/syscalls.list (gettimeofday):
62057 Remove __gettimeofday_internal alias.
62058
62059 2012-05-24 Daniel Jacobowitz <drow@false.org>
62060 H.J. Lu <hongjiu.lu@intel.com>
62061
62062 [BZ #12495]
62063 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62064 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62065 (largebin_index_32_big): New.
62066 (largebin_index): Use it for 16-byte alignment.
62067 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
62068 correction with front_misalign.
62069
62070 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62071
62072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62074 Likewise.
62075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62076 Likewise.
62077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62078 Likewise.
62079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62080 Likewise.
62081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62082 Likewise.
62083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62084 Likewise.
62085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62086 Likewise.
62087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62088 Likewise.
62089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62090 Likewise.
62091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62092 Likewise.
62093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62094 Likewise.
62095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62096 Likewise.
62097
62098 * scripts/data/c++-types-x32-linux-gnu.data: New file.
62099 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62100
62101 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62102
62103 [BZ #10846]
62104 [BZ #14036]
62105 * math/libm-test.inc (exp_test): Add test from bug 14036.
62106 (pow_test): Add test from bug 10846.
62107
62108 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62109 and other flags.
62110 (special_function): Do not include flags in test name.
62111 (parse_args): Likewise.
62112 * sysdeps/i386/fpu/libm-test-ulps: Update.
62113 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62114 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62115 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62117
62118 * math/gen-libm-test.pl (%beautify): Add entries for underflow
62119 exceptions.
62120 * math/libm-test.inc ("Philosophy"): Update comment about
62121 exception testing.
62122 (UNDERFLOW_EXCEPTION): New macro.
62123 (UNDERFLOW_EXCEPTION_OK): Likewise.
62124 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62125 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62126 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62127 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62128 (INVALID_EXCEPTION_OK): Update value.
62129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62130 (OVERFLOW_EXCEPTION_OK): Likewise.
62131 (IGNORE_ZERO_INF_SIGN): Likewise.
62132 (test_exceptions): Handle underflow exceptions.
62133 (acos_test): Update for underflow exception expectations.
62134 (cexp_test): Likewise.
62135 (clog_test): Likewise.
62136 (clog10_test): Likewise.
62137 (csqrt_test): Likewise.
62138 (ctan_test): Likewise.
62139 (ctanh_test): Likewise.
62140 (exp_test): Likewise.
62141 (exp10_test): Likewise.
62142 (exp2_test): Likewise.
62143 (expm1_test): Likewise.
62144 (fma_test): Likewise.
62145 (j0_test): Likewise.
62146 (jn_test): Likewise.
62147 (nexttoward_test): Likewise.
62148 (pow_test): Likewise.
62149 (scalbn_test): Likewise.
62150 (scalbln_test): Likewise.
62151 (tan_test): Likewise.
62152 (y1_test): Likewise.
62153 * sysdeps/i386/fpu/libm-test-ulps: Update.
62154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62155
62156 2012-05-23 David S. Miller <davem@davemloft.net>
62157
62158 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62159 (__libc_sigaction): Remove unused local variables.
62160
62161 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62162
62163 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62164
62165 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
62166
62167 mktime: avoid signed integer overflow
62168 * time/mktime.c (__mktime_internal): Do not mishandle the case
62169 where diff == INT_MIN.
62170
62171 mktime: simplify computation of average
62172 * time/mktime.c (ranged_convert): Use new time_t_avg function
62173 instead of rolling our own (probably-slower) code.
62174
62175 mktime: do not assume signed right shift propagates sign bit
62176 * time/mktime.c (isdst_differ): New static function.
62177 (__mktime_internal): No need to normalize tm_isdst now.
62178 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62179 tm_isdst values.
62180
62181 mktime: merge another wrapv change from gnulib
62182 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62183 from some compilers.
62184
62185 mktime: remove incorrect attempt at unusual arithmetics
62186 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62187 The code didn't really work on such machines anyway.
62188 (TYPE_MINIMUM): Assume two's complement.
62189 (twos_complement_arithmetic): Verify that long_int and time_t
62190 are two's complement (or unsigned, in the latter case).
62191
62192 mktime: check signed shifts on long_int and time_t, too
62193 * time/mktime.c (SHR): Check that shifts work as desired
62194 on the types long_int and time_t too, as SHR is used on
62195 such types.
62196
62197 mktime: do not assume 'long' is wide enough
62198 * time/mktime.c (verify): Move decl up.
62199 (long_int): New type.
62200 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62201 to remove assumption in the code that 'long' is wide enough to
62202 store year values. This assumption is not true on x32 and on
62203 some non-glibc platforms.
62204
62205 mktime: merge wrapv change from gnulib
62206 * time/mktime.c (WRAPV): New macro.
62207 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62208 (guess_time_tm, __mktime_internal): Do not assume that signed
62209 integer overflow wraps around; modern compilers generate code
62210 where this assumption is no longer valid.
62211
62212 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62213
62214 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62215 Replace "jmp L(pseudo_end)" with "ret".
62216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62217 Likewise.
62218
62219 2012-05-23 Andreas Jaeger <aj@suse.de>
62220
62221 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62222 * sysdeps/unix/sysv/linux/poll.c: Remove file.
62223
62224 2012-05-23 Andreas Jaeger <aj@suse.de>
62225 Maximilian Attems <max@stro.at>
62226
62227 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62228 New macros.
62229
62230 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62231
62232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62233 code so that pseudo_end is just ret and the stack pointer is
62234 correct also for static library in error case.
62235
62236 2012-05-23 Joseph Myers <joseph@codesourcery.com>
62237
62238 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62239 move to syscalls.list.
62240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62244
62245 * manual/install.texi (Running make install): Do not mention Linux
62246 kernel version for which pt_chown is not needed.
62247 (Linux): Do not mention problems with nscd with 2.0 kernels.
62248 * INSTALL: Regenerated.
62249
62250 2012-05-23 Andreas Jaeger <aj@suse.de>
62251
62252 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62253 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62254 macro.
62255 * sysdeps/unix/sysv/linux/s390/bits/mman.h
62256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62257 * sysdeps/unix/sysv/linux/sh/bits/mman.h
62258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62259 * sysdeps/unix/sysv/linux/i386/bits/mman.h
62260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62261 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62263 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62264 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62265 * sysdeps/unix/sysv/linux/bits/in.h
62266 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62267
62268 2012-05-22 Roland McGrath <roland@hack.frob.com>
62269
62270 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62271 (PREPARE_VERSION): Just use assert instead, it will be elided
62272 under [NDEBUG] anyway.
62273
62274 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62275
62276 * sysdeps/unix/sysv/linux/Makefile: Include
62277 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62278 (sysdep_routines): Remove sysctl.
62279 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62280 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62281 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62282 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62283 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62284
62285 2012-05-22 Andreas Jaeger <aj@suse.de>
62286
62287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62288 that pseudo_end is just ret and the stack pointer is correct also
62289 for static library in error case.
62290
62291 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
62292
62293 [BZ #14122]
62294 * nss/nsswitch.c (defconfig_entries): New variable.
62295 (__nss_database_lookup): Don't leak defconfig entries.
62296 (nss_parse_service_list): Don't leak on error paths.
62297 (free_database_entries): New function.
62298 (free_defconfig): New function.
62299 (free_mem): Move common code to free_database_entries.
62300
62301 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62302
62303 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62304 Add arch_prctl.
62305 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62306
62307 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62308 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62310 New macro.
62311 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62312 (INTERNAL_SYSCALL_TYPES): Likewise.
62313 (LOAD_ARGS_TYPES_[1-6]): Likewise.
62314 (LOAD_REGS_TYPES_[1-6]): Likewise.
62315 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62316 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62317
62318 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62319
62320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62321 copysignl for GLIBC_2_0.
62322 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62323 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62324 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62325 logbl for GLIBC_2_0.
62326 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62327 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62328
62329 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62330
62331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62333
62334 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62335 Use "neg %eax".
62336
62337 * time/mktime.c: Update copyright years.
62338
62339 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
62340
62341 mktime: merge comment-quoting-style change from gnulib
62342 * time/mktime.c: Quote 'like this' in comments.
62343 The GNU coding standards suggest that we no longer quote `like this',
62344 as "`" and "'" are typically rendered asymmetrically nowadays.
62345 The typical gnulib style is to quote 'like this' when quoting
62346 code, and "like this" when quoting English.
62347
62348 * time/mktime.c (compile-command): Add "-I.".
62349
62350 mktime: merge mktime-internal.h change from gnulib
62351 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
62352
62353 mktime: merge time_r change from gnulib
62354 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
62355
62356 mktime: merge DEBUG change from gnulib
62357 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
62358 case system <time.h> has a #define.
62359
62360 mktime: merge <sys/types.h> change from gnulib
62361 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
62362 since <time.t> is now guaranteed to define time_t.
62363
62364 mktime: merge HAVE_CONFIG_H change from gnulib
62365 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
62366
62367 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
62368
62369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62370 Use "neg %eax".
62371
62372 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
62373 __rlim_t cast.
62374 (struct rusage): Use anonymous union to pad each field to
62375 __syscall_slong_t.
62376
62377 2012-05-21 David S. Miller <davem@davemloft.net>
62378
62379 * Makefules (o-iterator): Remove .s cases.
62380 (compile-command.s): Delete.
62381 (COMPILE.s): Delete.
62382 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
62383
62384 2012-05-21 Joseph Myers <joseph@codesourcery.com>
62385
62386 * configure.in (libc_cv_predef_stack_protector): Only consider
62387 "foobar" and "__stack_chk_fail" lines in libc_undefs.
62388 * configure: Regenerated.
62389
62390 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62391
62392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
62393 New macro. Use R*LP on int and pointer.
62394 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
62395 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62396 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
62397 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
62398
62399 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
62400 [__WORDSIZE_TIME64_COMPAT32] instead of
62401 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
62402 (struct utmp): Likewise.
62403 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
62404 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
62405 Renamed to ...
62406 (__WORDSIZE_TIME64_COMPAT32): This.
62407 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
62408 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
62409 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
62410 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
62411 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
62412 (__WORDSIZE_TIME64_COMPAT32): New macro.
62413
62414 2012-05-21 Andreas Jaeger <aj@suse.de>
62415
62416 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
62417 only if [SHARED]. Add prototype for __wcschr_ia32.
62418
62419 2012-05-21 Roland McGrath <roland@hack.frob.com>
62420
62421 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
62422 of %rbp unmolested in the jmp_buf while mangling the low bits.
62423 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
62424 unmolested high bits of %rbp while demangling the low bits.
62425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62426
62427 2012-05-21 Andreas Jaeger <aj@suse.de>
62428
62429 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
62430 * sunrpc/svc_simple.c: Use it for registerrpc.
62431 * sunrpc/xcrypt.c: Use it for passwd2des.
62432
62433 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
62434
62435 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62436
62437 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
62438 Don't define if [__SYSCALL_WORDSIZE != 32].
62439 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
62440 New macro.
62441
62442 2012-05-21 Bruno Haible <bruno@clisp.org>
62443 Andreas Jaeger <aj@suse.de>
62444
62445 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
62446 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
62447 inptr and inend for must_buffer_ch.
62448 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
62449 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
62450 * stdio-common/Makefile (tests): Remove bug15.
62451 (bug15-ENV): Remove macro.
62452 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
62453 anymore.
62454
62455 2012-05-19 Andreas Jaeger <aj@suse.de>
62456 Roland McGrath <roland@hack.frob.com>
62457
62458 * manual/contrib.texi: Completely rewritten. It contains now an
62459 alphabetical list of contributors and their contributions.
62460
62461 2012-05-21 Richard Henderson <rth@twiddle.net>
62462
62463 * misc/getauxval.c (__getauxval): Use unsigned long int.
62464 * misc/sys/auxv.h: Include <sys/cdefs.h>.
62465 (getauxval): Use unsigned long int.
62466
62467 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
62468
62469 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62470
62471 2012-05-21 Roland McGrath <roland@hack.frob.com>
62472
62473 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
62474 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
62475 __alignof__ (long double).
62476
62477 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62478
62479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62480
62481 2012-05-20 Richard Henderson <rth@twiddle.net>
62482
62483 * misc/getauxval.c: New file.
62484 * misc/sys/auxv.h: New file.
62485 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
62486 (routines): Add getauxval.
62487 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
62488 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
62489 * elf/dl-sysdep.c (_dl_auxv): Remove.
62490 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
62491 * elf/dl-support.c (_dl_auxv): New variable.
62492 (_dl_aux_init): Initialize it.
62493 * manual/startup.texi (Auxiliary Vector): New node.
62494 * sysdeps/generic/bits/hwcap.h: New file.
62495 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
62496 * sysdeps/powerpc/sysdep.h: ... here. Include it.
62497 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
62498 * sysdeps/sparc/sysdep.h: ... here. Include it.
62499 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
62500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
62501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62502 Update.
62503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
62504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
62505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
62506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
62507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
62509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
62510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
62511
62512 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62513
62514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62515
62516 2012-05-19 David S. Miller <davem@davemloft.net>
62517
62518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62519
62520 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62521
62522 [BZ #14123]
62523 * math/s_ccosh.c: Include <float.h>
62524 (__ccosh): Avoid internal overflow calculating sinh and cosh
62525 values before multiplying by sin and cos values.
62526 * math/s_ccoshf.c: Likewise.
62527 * math/s_ccoshl.c: Likewise.
62528 * math/s_csin.c: Likewise.
62529 * math/s_csinf.c: Likewise.
62530 * math/s_csinl.c: Likewise.
62531 * math/s_csinh.c: Likewise.
62532 * math/s_csinhf.c: Likewise.
62533 * math/s_csinhl.c: Likewise.
62534 * math/libm-test.inc (ccos_test): Add more tests.
62535 (ccosh_test): Likewise.
62536 (csin_test): Likewise.
62537 (csinh_test): Likewise.
62538 * sysdeps/i386/fpu/libm-test-ulps: Update.
62539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62540
62541 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
62542
62543 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
62544 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
62545
62546 * sysdeps/x86_64/x32/_itoa.h: Add comment.
62547
62548 2012-05-19 Joseph Myers <joseph@codesourcery.com>
62549
62550 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
62551 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
62552 * sysdeps/powerpc/soft-fp/Versions: Likewise.
62553 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
62554 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
62555 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
62556 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
62557 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
62558 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
62559 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
62560 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
62561 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
62562 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
62563 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
62564 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
62565 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
62566 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
62567 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
62568 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
62569 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
62570 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
62571 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
62572 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
62573 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
62574 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
62575 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
62576 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
62577 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
62578 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
62579 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
62580 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
62581
62582 2012-05-18 Andreas Jaeger <aj@suse.de>
62583
62584 * csu/.gitignore: Delete.
62585
62586 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62587
62588 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
62589 (timex): Use __syscall_slong_t.
62590
62591 2012-05-18 Andreas Jaeger <aj@suse.de>
62592 Carlos O'Donell <carlos_odonell@mentor.com>
62593
62594 * manual/install.texi (Configuring and compiling): Update
62595 description about files modified in the source directory.
62596 * INSTALL: Regenerated.
62597
62598 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62599
62600 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
62601 value. Use "or" to set return value to -1.
62602 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
62603 negate return value.
62604
62605 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62606
62607 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
62608 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
62609 failure if the compiler has Graphite support disabled.
62610 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
62611 Likewise.
62612 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
62613 (CFLAGS-memmove.c): Likewise.
62614 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
62615 Likewise.
62616
62617 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
62618
62619 * sysdeps/x86_64/x32/_itoa.h: New file.
62620
62621 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
62622 getdents system call only if kernel and user dirents have the
62623 same d_ino and d_off.
62624
62625 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62626 LLONG_MAX != LONG_MAX.
62627 (_itoa_word): Use _ITOA_WORD_TYPE on value.
62628 (_fitoa_word): Likewise.
62629
62630 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
62631 years.
62632 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
62633 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
62634 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
62635
62636 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
62637 include <bits/wordsize.h>. Check __x86_64__ instead of
62638 __WORDSIZE.
62639 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
62640 if __x86_64__ is defined. Use anonymous union on fpstate.
62641
62642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
62643 anonymous union.
62644
62645 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
62646
62647 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
62648 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
62649 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
62650 Refer to _rtld_local_ro instead of _rtld_global_ro.
62651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
62652 Likewise.
62653 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
62654 Likewise.
62655 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
62656 Likewise.
62657 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
62658 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
62659 of _rtld_global, and rtld_progname instead of _dl_argv[0].
62660
62661 [BZ #10882]
62662 * sysdeps/powerpc/powerpc32/dl-machine.c
62663 (__elf_machine_runtime_setup) [PROF]: Don't reference
62664 _dl_prof_resolve.
62665
62666 2012-05-18 Andreas Jaeger <aj@suse.de>
62667
62668 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
62669 function only available for GCCs before 3.4 since GCC 3.4
62670 introduced a builtin.
62671 (lrint): Likewise.
62672 (llrintf): Likewise.
62673 (llrint): Likewise.
62674 (fmaxf): Likewise.
62675 (fmax): Likewise.
62676 (fminf): Likewise.
62677 (fmin): Likewise.
62678 (rint): Likewise.
62679 (rintf): Likewise.
62680 (nearbyint): Likewise.
62681 (nearbyintf): Likewise.
62682 (ceil): Likewise.
62683 (ceilf): Likewise.
62684 (floor): Likewise.
62685 (floorf): Likewise.
62686
62687 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
62688
62689 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
62690 on both fields and cast pointer to __syscall_ulong_t.
62691
62692 * bits/types.h (__fsword_t): New type.
62693 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
62694 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
62695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62696 (__FSWORD_T_TYPE): Likewise.
62697 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62698 (__FSWORD_T_TYPE): Likewise.
62699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62700 (__FSWORD_T_TYPE): Likewise.
62701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
62702 (__FSWORD_T_TYPE): Likewise.
62703 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
62704 __SWORD_TYPE with __fsword_t.
62705 (statfs64): Likewise.
62706
62707 2012-05-17 David S. Miller <davem@davemloft.net>
62708
62709 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
62710
62711 2012-05-17 Andreas Jaeger <aj@suse.de>
62712
62713 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
62714 warning.
62715
62716 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
62717
62718 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
62719
62720 2012-05-17 Andreas Jaeger <aj@suse.de>
62721
62722 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
62723 when it is used.
62724
62725 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
62726
62727 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
62728
62729 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
62730
62731 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
62732 * sysdeps/x86_64/tst-mallocalign1.c: New file.
62733
62734 2012-05-17 Andreas Jaeger <aj@suse.de>
62735 Carlos O'Donell <carlos_odonell@mentor.com>
62736
62737 [BZ #14059]
62738 * sysdeps/x86_64/multiarch/init-arch.h
62739 (bit_YMM_Usable): Rename to...
62740 (bit_AVX_Usable): ... this.
62741 (bit_FMA4_Usable): New macro.
62742 (bit_XMM_state): New macro.
62743 (bit_YMM_state): New macro.
62744 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
62745 [__ASSEMBLER__] (index_AVX_Usable): ... this.
62746 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
62747 (CPUID_OSXSAVE): New macro.
62748 (CPUID_AVX): New macro.
62749 (CPUID_FMA4): New macro.
62750 (index_YMM_Usable): Rename to...
62751 (index_AVX_Usable): ... this.
62752 (HAS_AVX): Use HAS_ARCH_FEATURE.
62753 (HAS_FMA4): Likewise.
62754 (HAS_YMM_USABLE): Remove.
62755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62756 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
62757 are present.
62758 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
62759 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
62760 * sysdeps/x86_64/multiarch/Makefile: Likewise.
62761 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
62762 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
62763
62764 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
62765
62766 * math/libm-test.c: Support platforms without multiple rounding modes.
62767 * math/bug-nextafter.c: Support platforms without FP exceptions.
62768 * math/bug-nexttoward.c: Likewise.
62769 * math/test-fenv.c: Likewise.
62770 * math/test-misc.c: Likewise.
62771 * stdlib/bug-getcontext.c: Likewise.
62772
62773 2012-05-17 Andreas Jaeger <aj@suse.de>
62774
62775 * manual/examples/search.c (critter_cmp): Change signature to
62776 avoid warnings.
62777 * manual/string.texi (Collation Functions): Likewise.
62778
62779 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62780
62781 * bits/types.h: Fold copyright years.
62782 * bits/typesizes.h: Likewise.
62783 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
62784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
62785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
62786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
62787 * time/time.h: Likewise.
62788
62789 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
62790
62791 [BZ #208]
62792 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
62793 in instead of returning them. Return void.
62794 (__libc_mallinfo): Accumulate over all arenas.
62795 (__malloc_stats): Adjust for change in int_mallinfo interface.
62796
62797 2012-05-16 Roland McGrath <roland@hack.frob.com>
62798
62799 [BZ #10375]
62800 * configure.in (NM): Add AC_CHECK_TOOL for it.
62801 (libc_extra_cflags): New substituted variable.
62802 Check for -fstack-protector being used implicitly.
62803 * configure: Regenerated.
62804 * config.make.in (config-extra-cflags): New variable,
62805 gets @libc_extra_cflags@.
62806 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
62807
62808 [BZ #10375]
62809 * configure.in: Check for _FORTIFY_SOURCE being predefined.
62810 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
62811 * configure: Regenerated.
62812 * config.make.in (CPPUNDEFS): New substituted variable.
62813 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
62814 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
62815 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
62816
62817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62818
62819 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
62820 (mq_attr): Use __syscall_slong_t.
62821
62822 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62823
62824 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
62825 Check __x86_64__ instead of __WORDSIZE.
62826 (_STAT_VER_LINUX): Likewise.
62827 (stat): Check __x86_64__ instead of __WORDSIZE. Use
62828 __syscall_ulong_t and __syscall_slong_t.
62829 (stat64): Likewise.
62830
62831 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62832
62833 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62834
62835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62836
62837 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62838
62839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62840
62841 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62842 __syscall_ulong_t.
62843
62844 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62845 include <bits/wordsize.h>. Check __x86_64__ instead of
62846 __WORDSIZE.
62847 (greg_t): Use "__extension__ long long int" if __x86_64__ is
62848 defined.
62849 (mcontext_t): Replace "unsigned long" with "unsigned long long".
62850
62851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62852 include <bits/wordsize.h>. Check __x86_64__ instead of
62853 __WORDSIZE.
62854 (user_regs_struct): Use "__extension__ unsigned long long"
62855 instead of "unsigned long" if __x86_64__ is defined.
62856 (user): Likewise. Pad after pointer field if __ILP32__ is
62857 defined.
62858
62859 2012-05-16 Joseph Myers <joseph@codesourcery.com>
62860
62861 * configure.in (makeinfo): Require version 4.5 or later. Allow
62862 versions 5 to 9.
62863 * configure: Regenerated.
62864 * manual/install.texi (texinfo): Increase version requirement to
62865 4.5 or later.
62866 * INSTALL: Regenerated.
62867
62868 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62869
62870 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
62871
62872 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62873
62874 * sysdeps/x86_64/x32/ffs.c: New file.
62875
62876 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62877 __syscall_ulong_t.
62878 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62879 defined. Use __syscall_ulong_t.
62880 (shminfo): Use __syscall_ulong_t.
62881 (shm_info): Likewise.
62882
62883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62884 __syscall_ulong_t.
62885
62886 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62887 <bits/wordsize.h>.
62888 (msgqnum_t): Use __syscall_ulong_t.
62889 (msglen_t): Likewise.
62890 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
62891 __syscall_ulong_t.
62892
62893 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62894 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62895
62896 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62897
62898 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62899 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62900
62901 * sysvipc/sys/msg.h (msgbuf): Replace long int with
62902 __syscall_slong_t.
62903
62904 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62905 include <bits/wordsize.h>. Check __x86_64__ instead of
62906 __WORDSIZE.
62907
62908 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62909 "unsigned long long int" if __x86_64__ is defined.
62910 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62911
62912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62913 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
62914 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62915
62916 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62917 <stdint.h>.
62918 (GET_PC): Cast to uintptr_t first.
62919 (GET_FRAME): Likewise.
62920 (GET_STACK): Likewise.
62921
62922 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62923 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62924 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62925 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62926 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62927 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62928 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62929 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62930 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62931 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62932 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62933 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62934 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62935 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62936 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62937 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62938 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62939 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62940 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62941 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62942 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62943 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62944 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62945 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62946 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62947 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62948 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62949 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62950 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62951
62952 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
62953
62954 * Makerules (+depfiles): Also collect depfiles from .oS in
62955 $(extra-objs).
62956 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62957 .oS, $(libnldbl-routines)).
62958
62959 * Makerules (native-compile-mkdep-flags): Define.
62960 * sunrpc/Makefile (extra-objs): Add $(addprefix
62961 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62962 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62963 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
62964 calling $(make-target-directory).
62965
62966 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62967
62968 * bits/types.h (__snseconds_t): Removed.
62969 * time/time.h (struct timespec): Replace __snseconds_t with
62970 __syscall_slong_t.
62971 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62972 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62973 Likewise.
62974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62975 (__SNSECONDS_T_TYPE): Likewise.
62976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62977 (__SNSECONDS_T_TYPE): Likewise.
62978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62979 (__SNSECONDS_T_TYPE): Likewise.
62980
62981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62982
62983 * sysdeps/mach/hurd/bits/typesizes.h
62984 (__SYSCALL_SLONG_TYPE): New macro.
62985 (__SYSCALL_ULONG_TYPE): Likewise.
62986
62987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
62988
62989 * bits/types.h (__syscall_slong_t): New type.
62990 (__syscall_ulong_t): Likewise.
62991
62992 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62993 (__SYSCALL_ULONG_TYPE): Likewise.
62994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62995 (__SYSCALL_SLONG_TYPE): Likewise.
62996 (__SYSCALL_ULONG_TYPE): Likewise.
62997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62998 (__SYSCALL_SLONG_TYPE): Likewise.
62999 (__SYSCALL_ULONG_TYPE): Likewise.
63000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63001 (__SYSCALL_SLONG_TYPE): Likewise.
63002 (__SYSCALL_ULONG_TYPE): Likewise.
63003
63004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63005
63006 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63007 Add sigaltstack-offsets.sym.
63008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63009 <sigaltstack-offsets.h>.
63010 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
63011 longjmp_msg pointer.
63012 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
63013 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63014 signal stack.
63015 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63016
63017 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63018
63019 * elf/stackguard-macros.h: Remove file.
63020 * sysdeps/generic/stackguard-macros.h: New file.
63021 * sysdeps/i386/stackguard-macros.h: Likewise.
63022 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63023 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63024 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63025 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63026 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63027 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63028 * sysdeps/x86_64/stackguard-macros.h: Likewise.
63029 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63030 <elf/stackguard-macros.h>.
63031
63032 [BZ #14109]
63033 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63034 __aligned__ in attribute.
63035 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63036 (gregset_t): Likewise.
63037
63038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63039
63040 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63041 * sysdeps/x86_64/64/Implies-after: Here. New file.
63042 * sysdeps/x86_64/x32/Implies-after: New file.
63043
63044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63045
63046 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63047 and access return value for _dl_profile_fixup. Use R10_LP to
63048 load frame size.
63049
63050 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63051
63052 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63053
63054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63055
63056 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63057 * sysdeps/x86_64/x32/sysdep.h: New file.
63058
63059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63060
63061 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63062 * sysdeps/x86_64/setjmp.S: Likewise.
63063
63064 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63065
63066 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63067 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63068 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63069 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63070 remove unused global constant.
63071
63072 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
63073
63074 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63075 include of <not-cancel.h>.
63076
63077 2012-05-15 Roland McGrath <roland@hack.frob.com>
63078
63079 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63080
63081 2012-05-15 Jeff Law <law@redhat.com>
63082 Andreas Jaeger <aj@suse.de>
63083
63084 [BZ #13594]
63085 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63086 out from...
63087 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63088 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63089 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63090 code changing __hst_map_handle.map.
63091
63092 2012-05-15 Roland McGrath <roland@hack.frob.com>
63093
63094 * configure.in (sysnames): Look for Implies-before and Implies-after
63095 files.
63096 * configure: Regenerated.
63097
63098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63099
63100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63101 8-byte data alignment with LP_SIZE alignment.
63102
63103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63104
63105 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63106 into R10_LP.
63107
63108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63109
63110 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63111
63112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63113
63114 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63115 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63116 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63117 Likewise.
63118 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63119
63120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63121
63122 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63123 (stackinfo_sub_sp): Likewise.
63124
63125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63126
63127 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63128 RAX_LP.
63129
63130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63131
63132 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63133 into R*_LP.
63134
63135 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63136
63137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63138 sizes into R*_LP.
63139
63140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63141
63142 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63143
63144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63145
63146 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63147 into R11_LP and load __x86_64_shared_cache_size_half into
63148 R8_LP.
63149
63150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63151
63152 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63153 R8_LP.
63154
63155 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63156
63157 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63158 logb for POWER7.
63159 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63160 logbf for POWER7.
63161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63162 logbl for POWER7.
63163 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63164 powerpc32/power7/fpu/s_logb.c via #include.
63165 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63166 powerpc32/power7/fpu/s_logbf.c via #include.
63167 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63168 powerpc32/power7/fpu/s_logbl.c via #include.
63169
63170 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63171
63172 * README.libm: Remove file.
63173
63174 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63175
63176 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63177 count for x32. Use R*_LP and omit operand-size suffix.
63178
63179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63180
63181 * shlib-versions: Move x86_64-.*-linux.* entries to ...
63182 * sysdeps/x86_64/64/shlib-versions: Here. New file.
63183 * sysdeps/x86_64/x32/shlib-versions: New file.
63184
63185 2012-05-14 Roland McGrath <roland@hack.frob.com>
63186
63187 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63188 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63189 Use _dl_fatal_printf instead.
63190
63191 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63192
63193 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63194 set if not set by the user. Do not allow for being unset.
63195 * sysdeps/unix/sysv/linux/configure: Regenerated.
63196
63197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63198
63199 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63200 the `q' suffix from lea and replace .quad with ASM_ADDR.
63201
63202 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63203
63204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63205 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
63206 instead of $17.
63207 (PTR_DEMANGLE): Likewise.
63208
63209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63210
63211 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63212 (LP_OP): Likewise.
63213 (ASM_ADDR): Likewise.
63214 (RAX_LP): Likewise.
63215 (RBP_LP): Likewise.
63216 (RBX_LP): Likewise.
63217 (RCX_LP): Likewise.
63218 (RDI_LP): Likewise.
63219 (RSI_LP): Likewise.
63220 (RSP_LP): Likewise.
63221 (R8_LP): Likewise.
63222 (R9_LP): Likewise.
63223 (R10_LP): Likewise.
63224 (R10_LP): Likewise.
63225 (R11_LP): Likewise.
63226 (R12_LP): Likewise.
63227 (R13_LP): Likewise.
63228 (R14_LP): Likewise.
63229 (R15_LP): Likewise.
63230
63231 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63232
63233 * sysdeps/x86_64/x32/dl-machine.h: New file.
63234
63235 2012-05-14 Andreas Jaeger <aj@suse.de>
63236
63237 * manual/Makefile (subdir): Remove export of subdir.
63238 (all): Remove target.
63239 (.PHONY): Remove all from list.
63240 (mkinstalldirs): Remove.
63241 (.PHONY): Remove installdirs from list.
63242 ($(inst_infodir)/libc.info): Use make-target-directory.
63243 (installdirs): Remove.
63244 (subdir_%): Remove.
63245 (glibc-targets): Remove.
63246 (lib): Remove.
63247 (stubs): Remove.
63248 ($(objpfx)stubs ../po/manual.pot): Remove.
63249 ($(objpfx)stamp%): Remove.
63250 (make-target-directory): Remove.
63251 (subdir_install): Remove.
63252 (routines): Remove.
63253 (aux): Remove.
63254 (sources): Remove.
63255 (objects): Remove.
63256 (headers): Remove.
63257
63258 [BZ #13750]
63259 * manual/.gitignore: Remove, it's not needed anymore.
63260 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63261 all files in it.
63262 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63263 directory.
63264 (texis): Renamed to $(objpfx)texis.
63265 (texis-path): New, contains path to generated files.
63266 (chapters.%): Use texis-path for complete path, add extra argument
63267 libc-texinfo.sh.
63268 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63269 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63270 (summary,texi, stamp-summary): Use complete path of
63271 files. Generate files in build dir.
63272 (dir-add.texi): Build in build dir.
63273 (libm-err.texi,stamp-libm-err): Likewise.
63274 (version.texi, stamp-version): Likewise.
63275 (.%c.texi): Likewise.
63276 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63277 (mostlyclean): Remove target.
63278 (realclean): Remove target.
63279 (generated): Add new variable with contents from mostlyclean and
63280 realclean, remove entries duplicated in common-mostlyclean, add
63281 stamp-libm-err and stamp-version.
63282 (generated-dirs): Add libc directory.
63283 ($(inst_infodir)/libc.info): Install files from build dir.
63284
63285 * manual/install.texi (Configuring and compiling): Adjust since
63286 the info files are not part of the tar ball anymore.
63287
63288 2012-05-14 Andreas Jaeger <aj@suse.de>
63289
63290 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63291 variable.
63292
63293 2012-05-14 Joseph Myers <joseph@codesourcery.com>
63294
63295 [BZ #13717]
63296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63297 to 2.2.0 where earlier.
63298 * sysdeps/unix/sysv/linux/configure: Regenerated.
63299 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63300 Remove conditional code.
63301 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63302 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63303 Remove conditional code.
63304 [!__NR_lchown]: Likewise.
63305 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63306 [__NR_lchown]: Likewise.
63307 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63308 comment referencing __ASSUME_LCHOWN_SYSCALL.
63309 * sysdeps/unix/sysv/linux/i386/sigaction.c
63310 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63311 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63312 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63313 Remove conditional code.
63314 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63315 (__protocol_available): Remove #if 0 code.
63316 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63317 conditional code.
63318 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63319 * sysdeps/unix/sysv/linux/kernel-features.h
63320 (__ASSUME_GETCWD_SYSCALL): Don't define.
63321 (__ASSUME_REALTIME_SIGNALS): Likewise.
63322 (__ASSUME_PREAD_SYSCALL): Likewise.
63323 (__ASSUME_PWRITE_SYSCALL): Likewise.
63324 (__ASSUME_POLL_SYSCALL): Likewise.
63325 (__ASSUME_LCHOWN_SYSCALL): Likewise.
63326 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63327 non-SPARC.
63328 (__ASSUME_SIOCGIFNAME): Don't define.
63329 (__ASSUME_MSG_NOSIGNAL): Likewise.
63330 (__ASSUME_SENDFILE): Define unconditionally.
63331 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63332 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63333 conditional code.
63334 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63335 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63337 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63338 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63339 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63340 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63345 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
63348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
63351 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
63354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
63357 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63358 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
63360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
63363 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63365 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
63366 Remove conditional code.
63367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63368 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63369 Remove conditional code.
63370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63371 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
63372 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
63373 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63374 Remove conditional code.
63375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63376 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
63377 Remove conditional code.
63378 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63379 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
63380 Remove conditional code.
63381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63382 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
63383 Remove conditional code.
63384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63385 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
63386 Remove conditional code.
63387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63388 * sysdeps/unix/sysv/linux/sh/pwrite64.c
63389 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
63390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
63391 * sysdeps/unix/sysv/linux/sigaction.c
63392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63394 * sysdeps/unix/sysv/linux/sigpending.c
63395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63397 * sysdeps/unix/sysv/linux/sigprocmask.c
63398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63400 * sysdeps/unix/sysv/linux/sigsuspend.c
63401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63403 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63404 (__libc_missing_rt_sigs): Remove.
63405 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
63406 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
63407 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
63408 Remove conditional code.
63409 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
63410 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
63411 return 1.
63412 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
63413 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
63414 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
63415 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
63416
63417 2012-05-14 Andreas Jaeger <aj@suse.de>
63418
63419 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
63420 it's not used in glibc.
63421 (__coshm1): Likewise.
63422 (__acosh1p): Likewise.
63423 (__sgn): Likewise.
63424
63425 * manual/string.texi (Copying and Concatenation): Add missing
63426 variable in concat example.
63427 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
63428
63429 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63430
63431 [BZ #14103]
63432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
63433 __builtin_clzl with __builtin_clzll.
63434
63435 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63436
63437 [BZ #14104]
63438 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
63439 libc_freeres_ptr.
63440
63441 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63442
63443 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
63444 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
63445 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
63446 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
63447
63448 2012-05-14 Mike Frysinger <vapier@gentoo.org>
63449
63450 * NEWS: Update ia64 info.
63451
63452 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
63453
63454 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
63455 used as bcopy.
63456
63457 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
63458
63459 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
63460 * sysdeps/unix/syscalls.list (dup3): Likewise.
63461 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
63462 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
63463
63464 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63465
63466 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
63467 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
63468
63469 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
63470
63471 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
63472 thread pointer.
63473 (TLS_IE): Use mov/add instead of movq/addq to load thread
63474 pointer.
63475 (TLS_GD_PREFIX): New.
63476 (TLS_GD): Use it.
63477
63478 2012-05-11 David S. Miller <davem@davemloft.net>
63479
63480 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
63481 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
63482 (_FPU_SETCW): Likewise.
63483
63484 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63485
63486 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
63487 is 32-byte aligned.
63488
63489 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
63490
63491 [BZ #11837]
63492 * iconvdata/gb18030.c: Update tables.
63493 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
63494 characters specially.
63495 (BODY for TO_LOOP): Add encoding of missing ranges.
63496
63497 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
63498
63499 [BZ #13673]
63500 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
63501 * sysdeps/mach/hurd/dup3.c: Likewise.
63502 * sysdeps/mach/hurd/readlinkat.c: Likewise.
63503 * sysdeps/powerpc/memmove.c:: Likewise.
63504
63505 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63506
63507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
63508 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
63509
63510 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63511
63512 * elf/elf.h (R_X86_64_RELATIVE64): New.
63513 (R_X86_64_NUM): Updated.
63514 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
63515 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
63516 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
63517 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
63518 tst-quad1pie tst-quad2pie
63519 (modules-names): Add tst-quadmod1 tst-quadmod2.
63520 ($(objpfx)tst-quad1): New dependency.
63521 ($(objpfx)tst-quad2): Likewise.
63522 ($(objpfx)tst-quad1pie): Likewise.
63523 ($(objpfx)tst-quad2pie): Likewise.
63524 * sysdeps/x86_64/tst-quad1.c: New file.
63525 * sysdeps/x86_64/tst-quad1pie.c: New file.
63526 * sysdeps/x86_64/tst-quad2.c: Likewise.
63527 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
63528 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
63529 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
63530 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
63531 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
63532
63533 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63534
63535 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
63536 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
63537 * streams/stropts.h (t_scalar_t): Define type.
63538
63539 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
63540 (_PATH_PRESERVE): Set to "/var/lib".
63541 (_PATH_RWHODIR): Set to "/var/spool/rwho".
63542
63543 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
63544 instead of int.
63545
63546 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
63547 if __dir_mkfile succeeded.
63548
63549 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
63550 checking for _hurd_dtablesize. Unlock it right after having
63551 finished _hurd_dtable allocation.
63552
63553 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63554
63555 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
63556 * sysdeps/mach/hurd/configure: Regenerated.
63557 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
63558 special-casing to...
63559 * sysdeps/gnu/configure.in: ... this new file.
63560 * sysdeps/unix/sysv/linux/configure: Regenerated.
63561 * sysdeps/gnu/configure: New generated file.
63562
63563 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
63564 for Linux: use nsec instead of usec, as well as:
63565 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
63566 members of type struct timespec.
63567 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
63568 New macros.
63569 (struct stat64): Likewise.
63570 (_STATBUF_ST_NSEC): New macro.
63571 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
63572
63573 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63574 __strtoul_internal rather than strtoul.
63575
63576 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63577
63578 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
63579 and reject them.
63580
63581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63582
63583 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
63584 which preserves existing values.
63585 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
63586
63587 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63588
63589 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
63590 TIMEOUT values. Return EINVAL for NFDS values either negative or
63591 greater than FD_SETSIZE.
63592
63593 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63594
63595 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
63596 allocated, call __vm_protect to finish enabling the existing space, and
63597 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
63598 allocate the remainder.
63599
63600 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63601
63602 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
63603 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
63604
63605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63606
63607 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
63608 sysdeps/mach/hurd/readlink.c.
63609
63610 * posix/tst-sysconf.c (posix_options): Only use
63611 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
63612 _POSIX_SYNCHRONIZED_IO when they are defined
63613 * sysdeps/mach/hurd/bits/posix_opt.h:
63614 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
63615 (_XOPEN_REALTIME): Undefine macro.
63616 (_XOPEN_REALTIME_THREADS): Undefine macro.
63617 (_XOPEN_SHM): Undefine macro.
63618 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
63619 macro to -1.
63620 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
63621 macro to -1.
63622 (_POSIX_ASYNC_IO): Undefine macro.
63623 (_POSIX_PRIORITIZED_IO): Undefine macro.
63624 (_POSIX_SPIN_LOCKS): Define macro to -1.
63625
63626 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
63627 SA_NODEFER, SA_RESETHAND.
63628 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
63629 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
63630 F_DUPFD_CLOEXEC.
63631
63632 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63633
63634 * elf/Makefile (pldd-modules): Define unconditionally.
63635
63636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63637
63638 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
63639
63640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63641
63642 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
63643 Return ENOENT when name is empty.
63644 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
63645
63646 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63647
63648 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
63649
63650 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
63651
63652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63653
63654 Fix mlock in all cases except non-readable pages.
63655 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
63656 instead of VM_PROT_ALL as parameter to __vm_wire function.
63657
63658 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
63659 (__mkdir): When path is `/', just fail with EEXIST.
63660 * sysdeps/mach/hurd/mkdirat.c: Likewise.
63661
63662 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63663
63664 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
63665 <sys/uio.h> (for writev).
63666 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
63667 and <sys/param.h> (for MIN).
63668
63669 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
63670
63671 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
63672 REQUESTED_TIME. Properly set the remaining time and return EINTR
63673 if interrupted.
63674
63675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63676
63677 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
63678 Depend on against $(link-rpcuserlibs).
63679
63680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63681
63682 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
63683 (__libc_stack_end): Do not use attribute_relro.
63684 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
63685 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
63686 to libthread-provided value.
63687 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
63688 attribute_relro.
63689
63690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63691
63692 [BZ #3748]
63693 * bits/libc-lock.h (__libc_once_get): New macro.
63694 * sysdeps/mach/bits/libc-lock.h: Likewise.
63695 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
63696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
63697 instead of using implementation details.
63698
63699 * libio/fileops.c: Unconditionally include <kernel-features.h>.
63700 * libio/freopen.c: Likewise.
63701 * libio/freopen64.c: Likewise.
63702 * misc/syslog.c: Likewise.
63703 * nscd/connections.c: Likewise.
63704 * nscd/netgroupcache.c: Likewise.
63705 * sysdeps/posix/getcwd.c: Likewise.
63706
63707 2012-05-10 Roland McGrath <roland@hack.frob.com>
63708
63709 * math/w_ilogbf.c: Add #include <limits.h>.
63710
63711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63712
63713 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
63714 path instead of returning without unlocking.
63715
63716 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
63717 immediate-write ioctls.
63718 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
63719
63720 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63721
63722 * sysdeps/mach/hurd/i386/init-first.c (init): Use
63723 __builtin_frame_address instead of making assumptions about the
63724 location of the return address relative to DATA. Force early load of
63725 the return address.
63726 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
63727 __builtin_frame_address.
63728
63729 dup3 for GNU Hurd.
63730 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
63731 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
63732 implement dup3 and do some further code clean-ups.
63733 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
63734 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
63735
63736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63737
63738 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
63739
63740 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
63741 HURD_CRITICAL_END around holding _hurd_dtable_lock.
63742 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
63743 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
63744 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
63745 d->port.lock.
63746
63747 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
63748 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
63749 when handler == SIG_ERR, not when handler != SIG_ERR.
63750
63751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63752
63753 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
63754 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
63755 definitions.
63756
63757 accept4 for GNU Hurd.
63758 * include/sys/socket.h (__libc_accept4): New prototype.
63759 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
63760 to implement __libc_accept4.
63761 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
63762 __libc_accept4.
63763 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
63764
63765 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
63766 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
63767 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
63768 signal-defines.sym.
63769
63770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63771
63772 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
63773
63774 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
63775
63776 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
63777 assertion on O_CLOEXEC flag.
63778 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
63779 * hurd/intern-fd.c: Likewise.
63780 * hurd/port2fd.c: Likewise.
63781
63782 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
63783
63784 [BZ #3906]
63785 * bits/in.h (IPV6_PKTINFO): Define new macro.
63786 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
63787
63788 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63789
63790 [BZ #13954]
63791 [BZ #13955]
63792 [BZ #13956]
63793 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
63794 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63795 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
63796 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63798 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63799 * math/libm-test.inc (logb_test) : Additional logb tests.
63800
63801 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
63802 Andreas Jaeger <aj@suse.de>
63803
63804 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
63805 * configure: Regenerated.
63806 * config.h.in (LINK_OBSOLETE_RPC): New macro.
63807 * config.make.in (link-obsolete-rpc): New substituted variable.
63808 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
63809 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
63810 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63811 (shared-only-routines): Don't set it under [link-obsolete-rpc],
63812 so that libc.a contains the symbols.
63813 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
63814 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
63815 * sunrpc/auth_none.c: Likewise.
63816 * sunrpc/auth_unix.c: Likewise.
63817 * sunrpc/authdes_prot.c: Likewise.
63818 * sunrpc/authuxprot.c: Likewise.
63819 * sunrpc/clnt_gen.c: Likewise.
63820 * sunrpc/clnt_perr.c: Likewise.
63821 * sunrpc/clnt_raw.c: Likewise.
63822 * sunrpc/clnt_simp.c: Likewise.
63823 * sunrpc/clnt_tcp.c: Likewise.
63824 * sunrpc/clnt_udp.c: Likewise.
63825 * sunrpc/clnt_unix.c: Likewise.
63826 * sunrpc/des_crypt.c: Likewise.
63827 * sunrpc/des_soft.c: Likewise.
63828 * sunrpc/get_myaddr.c: Likewise.
63829 * sunrpc/key_call.c: Likewise.
63830 * sunrpc/key_prot.c: Likewise.
63831 * sunrpc/netname.c: Likewise.
63832 * sunrpc/pm_getmaps.c: Likewise.
63833 * sunrpc/pm_getport.c: Likewise.
63834 * sunrpc/pmap_clnt.c: Likewise.
63835 * sunrpc/pmap_prot.c: Likewise.
63836 * sunrpc/pmap_prot2.c: Likewise.
63837 * sunrpc/pmap_rmt.c: Likewise.
63838 * sunrpc/publickey.c: Likewise.
63839 * sunrpc/rpc_cmsg.c: Likewise.
63840 * sunrpc/rpc_common.c: Likewise.
63841 * sunrpc/rpc_dtable.c: Likewise.
63842 * sunrpc/rpc_prot.c: Likewise.
63843 * sunrpc/rpc_thread.c: Likewise.
63844 * sunrpc/rtime.c: Likewise.
63845 * sunrpc/svc.c: Likewise.
63846 * sunrpc/svc_auth.c: Likewise.
63847 * sunrpc/svc_raw.c: Likewise.
63848 * sunrpc/svc_run.c: Likewise.
63849 * sunrpc/svc_tcp.c: Likewise.
63850 * sunrpc/svc_udp.c: Likewise.
63851 * sunrpc/svc_unix.c: Likewise.
63852 * sunrpc/svcauth_des.c: Likewise.
63853 * sunrpc/xcrypt.c: Likewise.
63854 * sunrpc/xdr.c: Likewise.
63855 * sunrpc/xdr_array.c: Likewise.
63856 * sunrpc/xdr_float.c: Likewise.
63857 * sunrpc/xdr_intXX_t.c: Likewise.
63858 * sunrpc/xdr_mem.c: Likewise.
63859 * sunrpc/xdr_rec.c: Likewise.
63860 * sunrpc/xdr_ref.c: Likewise.
63861 * sunrpc/xdr_sizeof.c: Likewise.
63862 * sunrpc/xdr_stdio.c: Likewise.
63863
63864 2012-05-10 Roland McGrath <roland@hack.frob.com>
63865
63866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63867 change. Update copyright years.
63868
63869 2012-05-10 Joseph Myers <joseph@codesourcery.com>
63870
63871 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63872
63873 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
63874 Joseph Myers <joseph@codesourcery.com>
63875 Paul Pluzhnikov <ppluzhnikov@google.com>
63876
63877 [BZ #14012]
63878 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63879 requiring rpcgen.
63880 [cross-compiling] (extra-libs): Likewise.
63881 [cross-compiling] (extra-libs-others): Likewise.
63882 [cross-compiling] (librpcsvc-routines): Likewise.
63883 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63884 [cross-compiling] (omit-deps): Likewise.
63885 (sunrpc-CPPFLAGS): New variable.
63886 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63887 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63888 (cross-rpcgen-objs): New variable.
63889 (extra-objs): Append $(cross-rpcgen-objs).
63890 ($(cross-rpcgen-objs)): New rule.
63891 ($(objpfx)cross-rpcgen): Likewise.
63892 (rpcgen-cmd): Define to use $(built-program-file). Expand
63893 comment.
63894 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63895 ($(objpfx)x%.stmp): Likewise.
63896 * sunrpc/proto.h [IS_IN_build] (_): Define.
63897 [IS_IN_build] (_libc_intl_domainname): Likewise.
63898
63899 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
63900
63901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63902 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63903 and R_X86_64_TPOFF64.
63904
63905 2012-05-10 Joseph Myers <joseph@codesourcery.com>
63906
63907 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63908 sysdeps/unix/sysv/syscalls.list.
63909 (stime): Likewise.
63910 (utime): Likewise.
63911 * sysdeps/unix/sysv/syscalls.list: Remove file.
63912
63913 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
63914
63915 [BZ #3440]
63916 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63917 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63918 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63919 (__LC_IDENTIFICATION): Make these macros useful in #if
63920 expressions, as required by C99.
63921
63922 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
63923
63924 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63925 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
63926 after this.
63927
63928 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
63929
63930 * stdlib/longlong.h: Updated from GCC.
63931
63932 2012-05-09 Andreas Jaeger <aj@suse.de>
63933
63934 * nscd/nscd.c (run_modes): Make named enum, reorder so that
63935 default is first entry.
63936 (run_mode): Set type.
63937 (main): Remove informal message about syslog.
63938 (options): Fix typo.
63939
63940 [BZ #14053]
63941 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63942 to asm.
63943 (lrint): Likewise.
63944 (llrintf): Likewise.
63945 (llrint): Likewise.
63946 (rint): Likewise.
63947 (rintf): Likewise.
63948 (nearbyint): Likewise.
63949 (nearbyintf): Likewise.
63950
63951 2012-05-09 Andreas Jaeger <aj@suse.de>
63952 Pedro Alves <palves@redhat.com>
63953
63954 * nscd/nscd.c (run_mode): Use enum.
63955 (main): Cleanup coding style issue.
63956
63957 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
63958 Andreas Jaeger <aj@suse.de>
63959
63960 * nscd/nscd.c (go_background): Replaced with...
63961 (run_mode): ... this.
63962 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63963 (options): Add -F --foreground.
63964 (main): Implement it.
63965 (parse_opt): Parse it.
63966
63967 2012-05-09 Andreas Jaeger <aj@suse.de>
63968
63969 [BZ #14083]
63970 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63971 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63972 -Wconversion warning.
63973 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63974 Likewise.
63975
63976 2012-05-09 Joseph Myers <joseph@codesourcery.com>
63977
63978 * conform/data/locale.h-data (NULL): Use macro-constant. Require
63979 == 0.
63980 (LC_ALL): Use macro-int-constant.
63981 (LC_COLLATE): Likewise.
63982 (LC_CTYPE): Likewise.
63983 (LC_MESSAGES): Likewise.
63984 (LC_MONETARY): Likewise.
63985 (LC_NUMERIC): Likewise.
63986 (LC_TIME): Likewise.
63987 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63988 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
63990 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63991 Specify type.
63992 [C99-based standards] (float_t): Expect type.
63993 [C99-based standards] (double_t): Expect type.
63994 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
63995 type.
63996 [C99-based standards] (HUGE_VALL): Likewise.
63997 [C99-based standards] (INFINITY): Likewise.
63998 [C99-based standards] (NAN): Likewise.
63999 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64000 [C99-based standards] (FP_NAN): Likewise.
64001 [C99-based standards] (FP_NORMAL): Likewise.
64002 [C99-based standards] (FP_SUBNORMAL): Likewise.
64003 [C99-based standards] (FP_ZERO): Likewise.
64004 [C99-based standards] (FP_FAST_FMA): Use
64005 optional-macro-int-constant. Specify type. Require == 1.
64006 [C99-based standards] (FP_FAST_FMAF): Likewise.
64007 [C99-based standards] (FP_FAST_FMAL): Likewise.
64008 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64009 [C99-based standards] (FP_ILOGBNAN): Likewise.
64010 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64011 Specify type.
64012 [C99-based standards] (MATH_ERREXCEPT): Likewise.
64013 [C99-based standards] (math_errhandling): Specify type.
64014 [ISO99 || ISO11] (signgam): Do not allow.
64015 [non-C99-based standards] (copysignf): Do not allow.
64016 [non-C99-based standards] (exp2f): Likewise.
64017 [non-C99-based standards] (log2f): Likewise.
64018 [non-C99-based standards] (modff): Allow.
64019 [non-C99-based standards] (erff): Do not allow.
64020 [non-C99-based standards] (erfcf): Likewise.
64021 [non-C99-based standards] (gammaf): Likewise.
64022 [non-C99-based standards] (hypotf): Likewise.
64023 [non-C99-based standards] (j0f): Likewise.
64024 [non-C99-based standards] (j1f): Likewise.
64025 [non-C99-based standards] (jnf): Likewise.
64026 [non-C99-based standards] (lgammaf): Likewise.
64027 [non-C99-based standards] (tgammaf): Likewise.
64028 [non-C99-based standards] (y0f): Likewise.
64029 [non-C99-based standards] (y1f): Likewise.
64030 [non-C99-based standards] (ynf): Likewise.
64031 [non-C99-based standards] (isnanf): Likewise.
64032 [non-C99-based standards] (acoshf): Likewise.
64033 [non-C99-based standards] (asinhf): Likewise.
64034 [non-C99-based standards] (atanhf): Likewise.
64035 [non-C99-based standards] (cbrtf): Likewise.
64036 [non-C99-based standards] (expm1f): Likewise.
64037 [non-C99-based standards] (ilogbf): Likewise.
64038 [non-C99-based standards] (log1pf): Likewise.
64039 [non-C99-based standards] (logbf): Likewise.
64040 [non-C99-based standards] (nextafterf): Likewise.
64041 [non-C99-based standards] (remainderf): Likewise.
64042 [non-C99-based standards] (rintf): Likewise.
64043 [non-C99-based standards] (scalbf): Likewise.
64044 [non-C99-based standards] (copysignl): Likewise.
64045 [non-C99-based standards] (exp2l): Likewise.
64046 [non-C99-based standards] (log2l): Likewise.
64047 [non-C99-based standards] (modfl): Allow.
64048 [non-C99-based standards] (erfl): Do not allow.
64049 [non-C99-based standards] (erfcl): Likewise.
64050 [non-C99-based standards] (gammal): Likewise.
64051 [non-C99-based standards] (hypotl): Likewise.
64052 [non-C99-based standards] (j0l): Likewise.
64053 [non-C99-based standards] (j1l): Likewise.
64054 [non-C99-based standards] (jnl): Likewise.
64055 [non-C99-based standards] (lgammal): Likewise.
64056 [non-C99-based standards] (tgammal): Likewise.
64057 [non-C99-based standards] (y0l): Likewise.
64058 [non-C99-based standards] (y1l): Likewise.
64059 [non-C99-based standards] (ynl): Likewise.
64060 [non-C99-based standards] (isnanl): Likewise.
64061 [non-C99-based standards] (acoshl): Likewise.
64062 [non-C99-based standards] (asinhl): Likewise.
64063 [non-C99-based standards] (atanhl): Likewise.
64064 [non-C99-based standards] (cbrtl): Likewise.
64065 [non-C99-based standards] (expm1l): Likewise.
64066 [non-C99-based standards] (ilogbl): Likewise.
64067 [non-C99-based standards] (log1pl): Likewise.
64068 [non-C99-based standards] (logbl): Likewise.
64069 [non-C99-based standards] (nextafterl): Likewise.
64070 [non-C99-based standards] (remainderl): Likewise.
64071 [non-C99-based standards] (rintl): Likewise.
64072 [non-C99-based standards] (scalbl): Likewise.
64073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64074 [non-C99-based standards] (FP_*): Do not allow.
64075 [C99-based standards] (FP_*): Change to
64076 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64077 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64078 allow.
64079 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64080 (SIG_ERR): Likewise.
64081 [X/Open-based standards] (SIG_HOLD): Likewise.
64082 (SIG_IGN): Likewise.
64083 (SIGABRT): Use macro-int-constant. Specify type. Require
64084 positive value.
64085 (SIGFPE): Likewise.
64086 (SIGILL): Likewise.
64087 (SIGINT): Likewise.
64088 (SIGSEGV): Likewise.
64089 (SIGTER): Likewise.
64090 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64091 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64092 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64093 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64094 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64095 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64096 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64097 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64098 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64099 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64100 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64101 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64102 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64103 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64104 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64105 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64106 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64107 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64108 [X/Open-based standards] (SIGTRAP): Likewise.
64109 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64110 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64111 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64112 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64113 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64114 allow.
64115
64116 2012-05-08 Ian Wienand <ianw@vmware.com>
64117
64118 [BZ #14080]
64119 * time/tzset.c (__tzset_parse_tz): Update default rules for
64120 daylight time changes in the Energy Policy Act of 2005.
64121
64122 2012-05-09 Andreas Jaeger <aj@suse.de>
64123
64124 [BZ #13983]
64125 * elf/ldconfig.c (parse_conf): Change string to make clear that
64126 ldconfig only issued a warning if ld.so.conf does not exist.
64127
64128 2012-05-08 David S. Miller <davem@davemloft.net>
64129
64130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64131 movxtod instead of popping the value on the stack.
64132
64133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64134
64135 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
64136
64137 * config.h.in: Add HAVE_ARM_PCS_VFP.
64138
64139 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
64140
64141 [BZ #13979]
64142 * include/features.h: Warn if user requests __FORTIFY_SOURCE
64143 checking but the checks are disabled for any reason.
64144
64145 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
64146
64147 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64148 and ELF64_R_TYPE with ELFW(R_TYPE).
64149
64150 2012-05-08 Joseph Myers <joseph@codesourcery.com>
64151
64152 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64153 (ulimit): Likewise.
64154
64155 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64156 (settimeofday): Likewise.
64157
64158 2012-05-08 Mike Frysinger <vapier@gentoo.org>
64159
64160 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
64161 a struct th_u2 inside the union, and move tu_block/tu_code into
64162 a new th_u3 union of tu_block/tu_code inside of that. Move
64163 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
64164 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
64165 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64166 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64167 (th_stuff): Change to th_u1.tu_stuff.
64168 (th_data): Define.
64169 (th_msg): Change to th_u1.th_u2.tu_data.
64170
64171 2012-05-07 David S. Miller <davem@davemloft.net>
64172
64173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64174
64175 [BZ #14074]
64176 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64177 (SETUP_PIC_REG): Use it.
64178 (SETUP_PIC_REG_LEAF): Use it.
64179
64180 2012-05-07 Joseph Myers <joseph@codesourcery.com>
64181
64182 [BZ #13885]
64183 [BZ #13923]
64184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64185 USE_AS_EXPM1L.
64186 (EXPL_FINITE): Likewise.
64187 (FLDLOG): Likewise.
64188 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64189 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64190 e_expl.S.
64191 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64192 USE_AS_EXPM1L.
64193 (EXPL_FINITE): Likewise.
64194 (FLDLOG): Likewise.
64195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64196 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64197 e_expl.S.
64198 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
64199 test of -max_value argument for long double.
64200 * sysdeps/i386/fpu/libm-test-ulps: Update.
64201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64202
64203 2012-05-06 David S. Miller <davem@davemloft.net>
64204
64205 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64206 quad soft-float symbols whose references which are compiler
64207 generated.
64208 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64209
64210 2012-05-06 Joseph Myers <joseph@codesourcery.com>
64211
64212 [BZ #13884]
64213 [BZ #13914]
64214 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64215 USE_AS_EXP10L.
64216 (EXPL_FINITE): Likewise.
64217 (FLDLOG): Likewise.
64218 (c0): Likewise.
64219 (c1): Likewise.
64220 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64221 Adjust comments for base varying.
64222 (__expl_finite): Change alias to EXPL_FINITE.
64223 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64224 e_expl.S.
64225 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64226 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64227 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64228 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64229 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64230 USE_AS_EXP10L.
64231 (EXPL_FINITE): Likewise.
64232 (FLDLOG): Likewise.
64233 (c0): Likewise.
64234 (c1): Likewise.
64235 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
64236 Adjust comments for base varying.
64237 (__expl_finite): Change alias to EXPL_FINITE.
64238 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
64239 tests for bugs.
64240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64241
64242 [BZ #14064]
64243 * math/libm-test.inc (check_float_internal): Correct ulp
64244 calculation for subnormal expected results.
64245
64246 2012-05-06 Andreas Jaeger <aj@suse.de>
64247
64248 * Makeconfig (+math-flags): New, set to -frounding-math.
64249 (+cflags): Add +math-flags so that all of glibc gets compiled with
64250 it.
64251
64252 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64253
64254 2012-05-05 Joseph Myers <joseph@codesourcery.com>
64255
64256 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64257 Disable one test.
64258
64259 [BZ #13787]
64260 [BZ #13922]
64261 [BZ #14036]
64262 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64263 (__ieee754_expl): Allow for and saturate large arguments.
64264 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64265 (u_threshold): Likewise.
64266 (__exp): Call __ieee754_exp before checking for overflow and
64267 underflow.
64268 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64269 (u_threshold): Likewise.
64270 (__expf): Call __ieee754_expf before checking for overflow and
64271 underflow.
64272 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64273 (u_threshold): Likewise.
64274 (__expl): Call __ieee754_expl before checking for overflow and
64275 underflow.
64276 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64277 (__ieee754_expl): Allow for and saturate large arguments.
64278 * math/libm-test.inc (exp_test): Add another test. Do not allow
64279 missing overflow exception on overflow.
64280 (expm1_test): Do not allow missing overflow exception on overflow.
64281
64282 * sysdeps/i386/fpu/e_expl.c: Move to ...
64283 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
64284 rather than using inline asm.
64285 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64286 * sysdeps/x86_64/fpu/e_expl.S: Copy from
64287 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64288
64289 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64290 (nice): Likewise.
64291 (poll): Likewise.
64292 (signal): Likewise.
64293 (time): Likewise.
64294 (times): Likewise.
64295
64296 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64297
64298 * sysdeps/unix/syscalls.list (adjtime): Add entry from
64299 sysdeps/unix/common/syscalls.list.
64300 (fchmod): Likewise.
64301 (fchown): Likewise.
64302 (ftruncate): Likewise.
64303 (getrusage): Likewise.
64304 (gettimeofday): Likewise.
64305 (setpgid): Likewise.
64306 (setregid): Likewise.
64307 (setreuid): Likewise.
64308 (sigaction): Likewise.
64309 (truncate): Likewise.
64310 (vhangup): Likewise.
64311 * sysdeps/unix/common/syscalls.list: Remove file.
64312 * sysdeps/unix/bsd/Implies: Don't include unix/common.
64313 * sysdeps/unix/sysv/linux/Implies: Likewise.
64314
64315 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
64316
64317 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64319 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64320 Moved to ...
64321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64322 Here.
64323 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64324 to ...
64325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64326 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64327 to ...
64328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64329 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64330 to ...
64331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64332 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64333 to ...
64334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64335 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64336 to ...
64337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64338 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64339 to ...
64340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64341 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64342 to ...
64343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64344 Here.
64345 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
64346 to ...
64347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
64348 Here.
64349 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
64350 to ...
64351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
64352 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
64353 Moved to ...
64354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
64355 Here.
64356 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
64357 to ...
64358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
64359
64360 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64361
64362 * sysdeps/unix/common/bits/dirent.h: Remove file.
64363 * sysdeps/unix/common/bits/fcntl.h: Likewise.
64364
64365 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
64366 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
64367 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
64368 * sysdeps/unix/bsd/isatty.c: Likewise.
64369 * sysdeps/unix/bsd/tcdrain.c: Likewise.
64370 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
64371 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
64372
64373 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64374
64375 [BZ #13563]
64376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
64377 long double comparison inaccuracies.
64378 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
64379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64380
64381 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
64382
64383 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
64384 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
64385
64386 2012-05-04 Joseph Myers <joseph@codesourcery.com>
64387
64388 [BZ #14049]
64389 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
64390 nonzero digits before rounding a hex value.
64391 * stdlib/tst-strtod.c (tests): Add another test.
64392
64393 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64394
64395 * sysdeps/s390/fpu/libm-test-ulps: Update.
64396
64397 2012-05-03 Andreas Jaeger <aj@suse.de>
64398
64399 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
64400 does not get optimized out.
64401 (malloc_opt_barrier): New.
64402
64403 2012-05-03 Andreas Jaeger <aj@suse.de>
64404 Roland McGrath <roland@hack.frob.com>
64405
64406 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
64407 intermediate file deletion.
64408 (generated): Add .symlist files.
64409
64410 2012-05-03 Joseph Myers <joseph@codesourcery.com>
64411
64412 [BZ #13775]
64413 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
64414 Redirect under this condition.
64415 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64416 [__USE_GNU] (__dprintf_chk): Not under this condition.
64417 [__USE_GNU] (__vdprintf_chk): Likewise.
64418 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
64419 under this condition.
64420 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
64421 [__USE_XOPEN2K8] (dprintf): Define under this condition.
64422 [__USE_XOPEN2K8] (vdprintf): Likewise.
64423 [__USE_GNU] (__dprintf_chk): Not under this condition.
64424 [__USE_GNU] (__vdprintf_chk): Likewise.
64425 [__USE_GNU] (dprintf): Likewise.
64426 [__USE_GNU] (vdprintf): Likewise.
64427
64428 2012-05-03 Roland McGrath <roland@hack.frob.com>
64429
64430 * elf/Makefile (common-generated): Set this instead of generated for
64431 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
64432 $(all-built-dso)-derived lists.
64433
64434 2012-05-03 Andreas Jaeger <aj@suse.de>
64435
64436 * sysdeps/i386/fpu/libm-test-ulps: Update.
64437
64438 * FAQ: Removed.
64439 * FAQ.in: Likewise.
64440 * scripts/gen-FAQ.pl: Likewise.
64441 * manual/install.texi (Installation): Point to online location of
64442 FAQ.
64443 * Makefile (files-for-dist): Remove FAQ.
64444 (FAQ): Remove.
64445
64446 2012-05-02 Allan McRae <allan@archlinux.org>
64447
64448 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
64449 (LDFLAGS-reldepmod5.so): Likewise.
64450 (LDFLAGS-reldep6mod1.so): Likewise.
64451 (LDFLAGS-reldep6mod4.so): Likewise.
64452 (LDFLAGS-reldep8mod3.so): Likewise.
64453 (LDFLAGS-unload4mod1.so): Likewise.
64454 (LDFLAGS-unload4mod2.so): Likewise.
64455 (LDFLAGS-tst-initorder): Likewise.
64456 (LDFLAGS-tst-initordera2.so): Likewise.
64457 (LDFLAGS-tst-initordera3.so): Likewise.
64458 (LDFLAGS-tst-initordera4.so): Likewise.
64459 (LDFLAGS-tst-initorderb2.so): Likewise.
64460 (LDFLAGS-noload): Likewise.
64461 (LDFLAGS-next): Likewise.
64462 (LDFLAGS-order2mod1.so): Likewise.
64463 (LDFLAGS-order2mod2.so): Likewise.
64464 (LDFLAGS-tst-initorder2): Likewise.
64465 (LDFLAGS-tst-initorder2a.so): Likewise.
64466 (LDFLAGS-tst-initorder2b.so): Likewise.
64467 (LDFLAGS-tst-initorder2c.so): Likewise.
64468 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
64469
64470 2012-05-02 David S. Miller <davem@davemloft.net>
64471
64472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64473
64474 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
64475
64476 [BZ #14055]
64477 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
64478
64479 2012-05-02 Andreas Jaeger <aj@suse.de>
64480
64481 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
64482 since we manipulate rounding mode.
64483 (CPPFLAGS-test-idouble.c): Likewise.
64484 (CPPFLAGS-test-ifloat.c): Likewise.
64485 (CFLAGS-test-ldouble.c): Likewise.
64486 (CFLAGS-test-double.c): Likewise.
64487 (CFLAGS-test-float.c): Likewise.
64488 (CFLAGS-test-misc.c): Likewise.
64489 (CFLAGS-test-test-fenv.c): Likewise.
64490
64491 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64492
64493 [BZ #2550]
64494 [BZ #2570]
64495 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
64496 comparisons to determine direction to adjust input.
64497
64498 2012-05-01 Roland McGrath <roland@hack.frob.com>
64499
64500 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
64501 output to the target.
64502
64503 * scripts/localplt.awk: New file.
64504 * elf/Makefile ($(objpfx)check-localplt): Target removed.
64505 (check-localplt-CFLAGS): Variable removed.
64506 ($(all-built-dso:=.jmprel)): New static pattern rule.
64507 (generated): Add those targets.
64508 (localplt-built-dso): New variable.
64509 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
64510
64511 * elf/check-localplt.c: File removed.
64512
64513 * scripts/check-execstack.awk: New file.
64514 * elf/Makefile ($(objpfx)check-execstack): Target removed.
64515 (check-execstack-CFLAGS): Variable removed.
64516 ($(objpfx)check-execstack.h): Target removed.
64517 ($(objpfx)execstack-default): New target.
64518 (generated): Add that instead of check-execstack.h.
64519 ($(all-built-dso:=.phdr)): New static pattern rule.
64520 (generated): Add those targets.
64521 * elf/check-execstack.c: File removed.
64522
64523 * scripts/check-textrel.awk: New file.
64524 * elf/Makefile ($(objpfx)check-textrel): Target removed.
64525 (check-textrel-CFLAGS): Variable removed.
64526 (all-built-dso): Use := to define.o
64527 ($(all-built-dso:=.dyn)): New static pattern rule.
64528 (generated): Add those targets.
64529 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
64530 * config.make.in (READELF): New substituted variable.
64531 * elf/check-textrel.c: File removed.
64532
64533 2012-05-01 Joseph Myers <joseph@codesourcery.com>
64534
64535 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64536 allow.
64537 * conform/data/ctype.h-data [C99-based standards] (isblank):
64538 Expect function.
64539 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
64540 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
64541 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64542 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
64543 Specify type. Require positive value.
64544 (EILSEQ): Likewise.
64545 (ERANGE): Likewise.
64546 [ISO || POSIX] (EILSEQ): Do not expect.
64547 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
64548 Specify type. Require positive value.
64549 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
64550 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
64551 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
64552 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
64553 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
64554 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
64555 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
64556 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
64557 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
64558 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
64559 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
64560 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
64561 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
64562 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
64563 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
64564 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
64565 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
64566 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
64567 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
64568 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
64569 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
64570 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
64571 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
64572 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
64573 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
64574 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
64575 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
64576 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
64577 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
64578 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
64579 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
64580 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
64581 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
64582 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
64583 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
64584 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
64585 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
64586 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
64587 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
64588 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
64589 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
64590 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
64591 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
64592 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
64593 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
64594 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
64595 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
64596 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
64597 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
64598 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
64599 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
64600 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
64601 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
64602 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
64603 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
64604 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
64605 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
64606 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
64607 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
64608 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
64609 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
64610 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
64611 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
64612 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
64613 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
64614 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
64615 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
64616 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
64617 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
64618 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
64619 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
64620 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
64621 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
64622 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
64623 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
64624 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
64625 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
64626 Require >= 2.
64627 (FLT_ROUNDS): Expect as macro, not constant.
64628 (FLT_MANT_DIG): Use macro-int-constant.
64629 (DBL_MANT_DIG): Likewise.
64630 (LDBL_MANT_DIG): Likewise.
64631 (FLT_DIG): Likewise.
64632 (DBL_DIG): Likewise.
64633 (LDBL_DIG): Likewise.
64634 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
64635 (DBL_MIN_EXP): Likewise.
64636 (LDBL_MIN_EXP): Likewise.
64637 (FLT_MAX_EXP): Use macro-int-constant.
64638 (DBL_MAX_EXP): Likewise.
64639 (LDBL_MAX_EXP): Likewise.
64640 (FLT_MAX_10_EXP): Likewise.
64641 (DBL_MAX_10_EXP): Likewise.
64642 (LDBL_MAX_10_EXP): Likewise.
64643 (FLT_MAX): Use macro-constant.
64644 (DBL_MAX): Likewise.
64645 (LDBL_MAX): Likewise.
64646 (FLT_EPSILON): Use macro-constant. Give upper bound.
64647 (DBL_EPSILON): Likewise.
64648 (LDBL_EPSILON): Likewise.
64649 (FLT_MIN): Likewise.
64650 (DBL_MIN): Likewise.
64651 (LDBL_MIN): Likewise.
64652 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
64653 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
64654 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
64655 [ISO11] (FLT_HAS_SUBNORM): Likewise.
64656 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
64657 [ISO11] (DBL_DECIMAL_DIG): Likewise.
64658 [ISO11] (FLT_DECIMAL_DIG): Likewise.
64659 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
64660 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
64661 [ISO11] (FLT_TRUE_MIN): Likewise.
64662 [ISO11] (LDBL_TRUE_MIN): Likewise.
64663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64664 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
64665 (SCHAR_MIN): Use macro-int-constant. Specify type.
64666 (SCHAR_MAX): Likewise.
64667 (UCHAR_MAX): Likewise.
64668 (CHAR_MIN): Likewise.
64669 (CHAR_MAX): Likewise.
64670 (MB_LEN_MAX): Use macro-int-constant.
64671 (SHRT_MIN): Use macro-int-constant. Specify type.
64672 (SHRT_MAX): Likewise.
64673 (USHRT_MAX): Likewise.
64674 (INT_MAX): Likewise.
64675 (INT_MIN): Use macro-int-constant. Specify type. Make upper
64676 bound negative.
64677 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
64678 bound with "U".
64679 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
64680 bound with "L".
64681 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
64682 bound negative. Suffix upper bound with "L".
64683 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
64684 bound with "UL".
64685 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
64686 Specify type.
64687 [C99-based standards] (LLONG_MAX): Likewise.
64688 [C99-based standards] (ULLONG_MAX): Likewise.
64689 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
64690 == 0.
64691 [ISO11] (max_align_t): Require type.
64692 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64693
64694 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
64695 from $CFLAGS, without defining away __attribute__ calls.
64696 (checknamespace): Use $CFLAGS_namespace.
64697
64698 * conform/conformtest.pl (@keywords): Only include C99 keywords
64699 for standards based on C99 or C11.
64700
64701 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
64702 Disable tests.
64703 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
64704 UNIX98]: Likewise.
64705
64706 * conform/conformtest.pl: Handle "macro-int-constant" and test for
64707 usability of symbols in #if.
64708
64709 * conform/conformtest.pl: If macro or constant types start
64710 "promoted:", expect the symbol to be of the following type
64711 promoted by the integer promotions.
64712
64713 * conform/conformtest.pl: Parse all "constant" and "macro" lines
64714 in one place. Also handle "macro-constant".
64715
64716 * conform/conformtest.pl: Only accept expected macro values with
64717 "==". Parse all "macro" lines in one place.
64718 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
64719
64720 * conform/conformtest.pl: Handle braced types on "constant" lines
64721 instead of handling "typed-constant".
64722 * conform/data/signal.h-data: Use "constant" instead of
64723 "typed-constant".
64724
64725 * conform/conformtest.pl: Handle "optional-" at start of lines in
64726 one place rather than duplicating several cases. Handle each
64727 format of "macro" line with initial "optional-".
64728
64729 * conform/conformtest.pl: Only accept expected constant or
64730 optional-constant values with "==". Parse all "constant" lines in
64731 one place. Parse all "optional-constant" lines in one place.
64732 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
64733 * conform/data/fmtmsg.h-data: Likewise.
64734 * conform/data/netinet/in.h-data: Likewise.
64735 * conform/data/tar.h-data: Likewise.
64736 * conform/data/limits.h-data: Use "==" form on "constant" and
64737 "optional-constant" lines.
64738
64739 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
64740 Use -std=c99 for XOPEN2K.
64741 (@knownproblems): Remove.
64742 (newtoken): Don't check %isknown.
64743
64744 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
64745 Do not expect macro.
64746 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
64747 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
64748 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
64749 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
64750 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
64751 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
64752 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
64753 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
64754 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
64755 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
64756 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
64757 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
64758 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
64759 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
64760 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
64761 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
64762 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
64763 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
64764 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
64765 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
64766 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
64767 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
64768 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
64769 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
64770 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
64771 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
64772 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
64773 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
64774 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
64775 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
64776 [XPG3] (acosh): Likewise.
64777 [XPG3] (asinh): Likewise.
64778 [XPG3] (atanh): Likewise.
64779 [XPG3] (cbrt): Likewise.
64780 [XPG3] (expm1): Likewise.
64781 [XPG3] (ilogb): Likewise.
64782 [XPG3] (log1p): Likewise.
64783 [XPG3] (logb): Likewise.
64784 [XPG3] (nextafter): Likewise.
64785 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
64786 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
64787 [XPG3] (remainder): Likewise.
64788 [XPG3] (rint): Likewise.
64789 [XPG3 || XPG4 || UNIX98] (round): Likewise.
64790 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
64791 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
64792 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
64793 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
64794 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
64795 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
64796 [UNIX98 || XOPEN2K] (scalb): Expect.
64797 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
64798 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
64799 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
64800 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
64801 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
64802 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
64803 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
64804 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
64805 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
64806 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
64807 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
64808 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
64809 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
64810 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
64811 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
64812 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
64813 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
64814 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
64815 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
64816 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
64817 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
64818 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
64819 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
64820 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
64821 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
64822 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
64823 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
64824 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
64825 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
64826 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
64827 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
64828 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64829 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64830 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64831 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64832 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64833 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64834 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64835 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64836 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64837 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64838 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64839 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64840 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64841 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64842 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64843 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64844 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64845 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64846 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64847 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64848 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64849 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64850 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64851 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64852 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64853 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64854 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64855 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64856 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64857 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64858 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64859 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64860 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64861 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64862 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64863 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64864 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64865 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64866 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64867 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64868 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64869 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64870 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64871 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64872 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64873 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64874 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64875 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64876 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64877 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64878 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64879 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64880 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64881 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64882 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64883 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64884 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64885 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64886 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64887 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64888 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64889 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64890 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64891 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64892 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64893 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64894 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64895 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64896 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64897 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64898 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64899 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64900 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64901 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64902 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64903 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64904 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64905 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64906 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64907 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64908 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64909 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64910 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64911 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64912 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64913 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64914 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64915 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64916 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64917 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64918 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64919 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64920 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64921 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64922 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64923 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64924 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64925 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64926 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64927 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64928 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64929 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64930 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64931 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64932 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64933 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64934
64935 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64936 _XOPEN_SOURCE_EXTENDED for XPG4.
64937
64938 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64939
64940 * Makeconfig (localtime): Remove variable.
64941 (inst_localtime-file): Likewise.
64942
64943 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
64944
64945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64946 Update.
64947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64948 Update.
64949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64950 Update.
64951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64952 Update.
64953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64954 Update.
64955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64956 Update.
64957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64958 Update.
64959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64960 Update.
64961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64962 Update.
64963
64964 2012-05-01 Joseph Myers <joseph@codesourcery.com>
64965
64966 [BZ #2550]
64967 [BZ #2570]
64968 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64969 comparisons to determine direction to adjust input.
64970 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64971 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64972 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64973 Likewise.
64974 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64975 Likewise.
64976 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64977 Likewise.
64978 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64979 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64980 Likewise.
64981 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64982 Likewise.
64983 * math/libm-test.inc (nexttoward_test): Add more tests.
64984
64985 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
64986
64987 [BZ #14040]
64988 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64989 in version GLIBC_2.1, not GLIBC_2.0.
64990 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64991 Likewise.
64992
64993 2012-04-30 Joseph Myers <joseph@codesourcery.com>
64994
64995 [BZ #13942]
64996 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64997 (1 - x) * (1 + x).
64998 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64999 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65000 * math/libm-test.inc (acos_test): Add more tests.
65001 (asin_test): Likewise.
65002 * sysdeps/i386/fpu/libm-test-ulps: Update.
65003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65004
65005 [BZ #14034]
65006 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65007 of square root.
65008 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65009 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65010 * math/libm-test.inc (acos_test_tonearest): New function.
65011 (acos_test_towardzero): Likewise.
65012 (acos_test_downward): Likewise.
65013 (acos_test_upward): Likewise.
65014 (asin_test_tonearest): Likewise.
65015 (asin_test_towardzero): Likewise.
65016 (asin_test_downward): Likewise.
65017 (asin_test_upward): Likewise.
65018 (main): Call the new functions.
65019 * sysdeps/i386/fpu/libm-test-ulps: Update.
65020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65021
65022 [BZ #13884]
65023 [BZ #13924]
65024 * math/e_exp10.c: Include <float.h>.
65025 (__ieee754_exp10): Handle underflow here rather than multiplying
65026 large negative argument by M_LN10.
65027 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65028 of __ieee754_expf.
65029 * math/e_exp10l.c: Include <float.h>.
65030 (__ieee754_exp10l): Handle underflow here rather than multiplying
65031 large negative argument by M_LN10l.
65032 * math/libm-test.inc (exp10_test): Add another test. Do not allow
65033 spurious overflow exception on underflow.
65034
65035 2012-04-29 Marek Polacek <polacek@redhat.com>
65036
65037 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65038 (__fortify_function): New macro.
65039 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65040 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65041 __extern_always_inline.
65042 * libio/bits/stdio2.h: Likewise.
65043 * libio/bits/stdio.h: Likewise.
65044 * string/string.h: Likewise.
65045 * string/bits/string3.h: Likewise.
65046 * include/stdio.h: Likewise.
65047 * stdlib/bits/stdlib.h: Likewise.
65048 * stdlib/stdlib.h: Likewise.
65049 * rt/bits/mqueue2.h: Likewise.
65050 * rt/mqueue.h: Likewise.
65051 * posix/bits/unistd.h: Likewise.
65052 * posix/unistd.h: Likewise.
65053 * io/bits/poll2.h: Likewise.
65054 * io/bits/fcntl2.h: Likewise.
65055 * io/fcntl.h: Likewise.
65056 * io/sys/poll.h: Likewise.
65057 * misc/bits/syslog.h: Likewise.
65058 * misc/bits/syslog-ldbl.h: Likewise.
65059 * misc/sys/syslog.h: Likewise.
65060 * socket/bits/socket2.h: Likewise.
65061 * socket/sys/socket.h: Likewise.
65062 * debug/tst-chk1.c: Likewise.
65063 * wcsmbs/bits/wchar2.h: Likewise.
65064 * wcsmbs/bits/wchar-ldbl.h: Likewise.
65065 * wcsmbs/wchar.h: Likewise.
65066
65067 2012-04-29 Andreas Jaeger <aj@suse.de>
65068
65069 * Makerules (tests): Remove enable-check-abi protection.
65070 (check-abi-warn): Remove.
65071 (check-abi-%): Remove check-abi-warn usage.
65072
65073 * configure.in: Remove check-abi configure option.
65074 * configure: Regenerated.
65075 * config.make.in (enable-check-abi): Remove.
65076
65077 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
65078
65079 [BZ #14033]
65080 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65081 double functions to double *_finite functions.
65082
65083 [BZ #13941]
65084 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65085 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65086 LDBL_MIN_EXP.
65087 * stdio-common/Makefile (tests): Add tst-sprintf3.
65088 * stdio-common/tst-sprintf3.c: New file.
65089
65090 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65091 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65092
65093 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65094
65095 * conform/conformtest.pl: Remove duplicate typed-constant
65096 handling.
65097
65098 2012-04-28 David S. Miller <davem@davemloft.net>
65099
65100 * Makerules (%.abilist): Add vpath on sysdep_dirs.
65101 (check-abi-%): Remove AWK script prerequisite and explicit
65102 abilist directory.
65103 (check-abi): Rewrite to just diff the symlist with the abilist.
65104 (config-tls, config-abi-config): Delete, no longer used.
65105 (update-abi-%): Remove AWK script and explicit abilist directory.
65106 (update-abi): Rewrite to simply compare and conditionally copy the
65107 symlist and the sysdep abilist file. Remove update-abi-config
65108 checks.
65109 * abilist/ld.abilist: Remove.
65110 * abilist/libBrokenLocale.abilist: Remove.
65111 * abilist/libanl.abilist: Remove.
65112 * abilist/libcrypt.abilist: Remove.
65113 * abilist/libdl.abilist: Remove.
65114 * abilist/librt.abilist: Remove.
65115 * abilist/libthread_db.abilist: Remove.
65116 * abilist/libutil.abilist: Remove.
65117 * scripts/extract-abilist.awk: Remove.
65118 * scripts/merge-abilist.awk: Remove.
65119 * sysdeps/generic/libcidn.abilist: New file.
65120 * sysdeps/generic/libnss_compat.abilist: New file.
65121 * sysdeps/generic/libnss_db.abilist: New file.
65122 * sysdeps/generic/libnss_dns.abilist: New file.
65123 * sysdeps/generic/libnss_files.abilist: New file.
65124 * sysdeps/generic/libnss_hesiod.abilist: New file.
65125 * sysdeps/generic/libnss_nis.abilist: New file.
65126 * sysdeps/generic/libnss_nisplus.abilist: New file.
65127 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65128 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65129 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65130 file.
65131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65132 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65133 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65134 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65135 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65136 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65137 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65138 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65139 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65140 file.
65141 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65142 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65143 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65144 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65145 file.
65146 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65147 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65148 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65149 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65150 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65151 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65152 file.
65153 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65154 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65155 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65156 file.
65157 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65159 New file.
65160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65161 New file.
65162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65163 New file.
65164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65165 New file.
65166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65167 New file.
65168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65169 New file.
65170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65171 New file.
65172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65173 New file.
65174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65175 New file.
65176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65177 New file.
65178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65179 New file.
65180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65181 New file.
65182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65183 New file.
65184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65185 file.
65186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65187 New file.
65188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65189 New file.
65190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65191 file.
65192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65193 New file.
65194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65195 New file.
65196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65197 file.
65198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65199 New file.
65200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65201 New file.
65202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65203 New file.
65204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65205 New file.
65206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65207 New file.
65208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65209 New file.
65210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65212 file.
65213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65214 New file.
65215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65216 file.
65217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65218 file.
65219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65220 file.
65221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65222 file.
65223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65224 file.
65225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65226 New file.
65227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65228 file.
65229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65230 file.
65231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65232 New file.
65233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65234 file.
65235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65237 file.
65238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65239 New file.
65240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65241 file.
65242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65243 file.
65244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65245 file.
65246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65247 file.
65248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65249 file.
65250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65251 New file.
65252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65253 file.
65254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65255 file.
65256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65257 New file.
65258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65259 file.
65260 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65261 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65262 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65263 file.
65264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65265 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65266 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65267 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65268 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65269 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65270 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65271 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65272 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65273 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65276 file.
65277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65278 New file.
65279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65280 file.
65281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65282 file.
65283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65284 file.
65285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65286 file.
65287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65288 file.
65289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65290 New file.
65291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65292 New file.
65293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65294 file.
65295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65296 New file.
65297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65298 file.
65299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65301 file.
65302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65303 New file.
65304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65305 file.
65306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65307 file.
65308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65309 file.
65310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65311 file.
65312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65313 file.
65314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65315 New file.
65316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65317 New file.
65318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65319 file.
65320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65321 New file.
65322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65323 file.
65324
65325 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65326
65327 * conform/conformtest.pl: Fix typo in handling typed-constant from
65328 allow-header.
65329
65330 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65331
65332 * README: Cut down references to pre-2.6 Linux kernels and
65333 Linuxthreads. Update lists of configurations in libc and ports
65334 and sort alphabetically. Say "or newer" with Linux kernel version
65335 requirements.
65336
65337 * config.h.in [IS_IN_build]: Allow compiling without optimization.
65338
65339 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65340
65341 [BZ #887]
65342 * math/libm-test.inc (logb_test_downward): New test to expose
65343 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65344 rounding mode.
65345
65346 2012-04-27 Joseph Myers <joseph@codesourcery.com>
65347
65348 [BZ #14027]
65349 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
65350 to be done.
65351 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
65352 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
65353
65354 2012-04-26 Joseph Myers <joseph@codesourcery.com>
65355
65356 * sysdeps/unix/i386/brk.S: Remove file.
65357 * sysdeps/unix/i386/dl-brk.S: Likewise.
65358 * sysdeps/unix/i386/pipe.S: Likewise.
65359 * sysdeps/unix/i386/sigreturn.S: Likewise.
65360 * sysdeps/unix/i386/syscall.S: Likewise.
65361 * sysdeps/unix/i386/vfork.S: Likewise.
65362 * sysdeps/unix/i386/wait.S: Likewise.
65363
65364 * sysdeps/unix/common/tcsendbrk.c: Move to ...
65365 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
65366
65367 * configure.in (arm*-none*): Do not allow without
65368 --enable-hacker-mode.
65369 (netbsd*): Remove case setting base_os.
65370 (386bsd*): Likewise.
65371 (freebsd*): Likewise.
65372 (bsdi*): Likewise.
65373 (osf*): Likewise.
65374 (sunos*): Likewise.
65375 (ultrix*): Likewise.
65376 (newsos*): Likewise.
65377 (dynix*): Likewise.
65378 (*bsd*): Likewise.
65379 (sysv*): Likewise.
65380 (isc*): Likewise.
65381 (esix*): Likewise.
65382 (sco*): Likewise.
65383 (minix*): Likewise.
65384 (irix4*): Likewise.
65385 (irix6*): Likewise.
65386 (solaris[2-9]*): Likewise.
65387 (none): Likewise.
65388 * configure: Regenerated.
65389
65390 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65391
65392 [BZ #11521]
65393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
65394 overflow or cancellation in calculating denominator.
65395 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
65396 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
65397 down expression to avoid unexpected rounding in newer GCCs.
65398 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
65399
65400 2012-04-26 David S. Miller <davem@davemloft.net>
65401
65402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
65403 long-double compat symbols.
65404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
65408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
65410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
65411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
65412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
65413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
65414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
65415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
65416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
65417
65418 2012-04-25 David S. Miller <davem@davemloft.net>
65419
65420 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
65421 HWCAP_* values only after the memory barriers have been defined.
65422 (atomic_full_barrier): Define.
65423 (atomic_read_barrier): Define.
65424 (atomic_write_barrier): Define.
65425
65426 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65427
65428 * shlib-versions: Add libgcc_s version information.
65429 * sysdeps/generic/libgcc_s.h: Remove.
65430 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
65431 libgcc_s.h.
65432 * sysdeps/gnu/unwind-resume.c: Likewise.
65433 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
65434
65435 2012-04-25 David S. Miller <davem@davemloft.net>
65436
65437 * sysdeps/unix/sparc/brk.S: Delete.
65438 * sysdeps/unix/sparc/dl-brk.S: Delete.
65439 * sysdeps/unix/sparc/pipe.S: Delete.
65440 * sysdeps/unix/sparc/sysdep.S: Delete.
65441 * sysdeps/unix/sparc/sysdep.h: Delete.
65442 * sysdeps/unix/sparc/vfork.S: Delete.
65443 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
65444 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
65445 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
65446 (ret_ERRVAL, r0, r1, MOVE): Define.
65447 (JUMPTARGET): Remove.
65448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
65449 sysdeps/unix/sparc/sysdep.h
65450 (ENTRY, END): Remove.
65451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65452
65453 2012-04-25 Joseph Myers <joseph@codesourcery.com>
65454
65455 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
65456 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
65457 -DIS_IN_build.
65458
65459 * timezone/README: Update upstream location and email address for
65460 tzcode and tzdata.
65461 * timezone/zdump.c: Update from tzcode 2012b.
65462 * timezone/zic.c: Likewise.
65463
65464 * configure.in (libc_cv_as_needed): Remove test.
65465 * configure: Regenerated.
65466 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
65467 conditional definition.
65468 [$(have-as-needed) != yes] (no-as-needed): Likewise.
65469 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
65470 * config.make.in (have-as-needed): Remove variable.
65471
65472 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65473 Paul Pluzhnikov <ppluzhnikov@google.com>
65474
65475 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
65476 strings correctly.
65477
65478 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
65479
65480 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
65481 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65482 * sysdeps/sh/strlen.S: Likewise.
65483
65484 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65485
65486 * sysdeps/unix/fork.S: Remove file.
65487 * sysdeps/unix/i386/fork.S: Likewise.
65488 * sysdeps/unix/sparc/fork.S: Likewise.
65489
65490 * sysdeps/unix/system.c: Remove file.
65491 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
65492
65493 * sysdeps/unix/getegid.S: Remove file.
65494 * sysdeps/unix/geteuid.S: Likewise.
65495
65496 2012-04-24 Roland McGrath <roland@hack.frob.com>
65497
65498 * scripts/check-localplt.awk: New file.
65499 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
65500 of diff.
65501 * scripts/data/localplt-generic.data: Add a comment.
65502
65503 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
65504 NODE when __dir_mkfile failed.
65505 * sysdeps/mach/hurd/symlinkat.c: Likewise.
65506 Reported by Ludovic Courtès <ludo@gnu.org>.
65507
65508 2012-04-24 Andreas Jaeger <aj@suse.de>
65509
65510 * Makerules (common-clean): Also remove gen-as-const-headers
65511 files.
65512
65513 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65514
65515 * Makerules (native-compile): Do not change working directory for
65516 build. Use $(OUTPUT_OPTION) in command.
65517 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
65518
65519 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65520
65521 [BZ #13886]
65522 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
65523 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
65524 * math/libm-test.inc (floor_test): Add more tests.
65525 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
65526
65527 2012-04-24 Joseph Myers <joseph@codesourcery.com>
65528
65529 * sysdeps/unix/getdents.c: Remove file.
65530 * sysdeps/unix/sysv/getdents.c: Likewise.
65531 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
65532
65533 * sysdeps/unix/syscalls.list (madvise): Add syscall from
65534 sysdeps/unix/mman/syscalls.list.
65535 (mmap): Likewise.
65536 (mprotect): Likewise.
65537 (msync): Likewise.
65538 (munmap): Likewise.
65539 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
65540 * sysdeps/unix/mman/syscalls.list: Remove.
65541 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
65542
65543 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
65544 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
65545 * configure: Regenerated.
65546 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
65547 $(libgcc_s_suffix).
65548 * config.make.in (libgcc_s_suffix): Remove variable.
65549
65550 2012-04-23 Joseph Myers <joseph@codesourcery.com>
65551
65552 * sysdeps/unix/sysv/gethostname.c: Move to ...
65553 * sysdeps/posix/gethostname.c: ... here.
65554
65555 * sysdeps/unix/execve.S: Remove file.
65556
65557 * sysdeps/unix/_exit.S: Remove file.
65558
65559 2012-04-23 Andreas Jaeger <aj@suse.de>
65560
65561 [BZ #13739]
65562 * manual/Makefile: Remove make dist support, there's no
65563 need for a stand-alone documentation tar ball.
65564 (TEXI2DVI): Define always, it's not in Makeconfig.
65565 (dist): Removed.
65566 (tar-it): Removed.
65567 (edition): Removed.
65568 (glibc-doc-$(edition).tar): Removed
65569 (%.Z): Removed.
65570 (%.gz): Removed.
65571 (%.uu): Removed.
65572 (ETAGS): Remove, it's in Makeconfig.
65573 (move-if-change): Remove, it's in Makeconfig.
65574
65575 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
65576
65577 [BZ #13970]
65578 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
65579 (strtod, strtof, strtold, strtol, strtoul, strtoq)
65580 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
65581 (strtod_l, strtof_l, strtold_l): Remove __wur.
65582 It is not necessarily an error to ignore strtol's return value.
65583 One can reliably look at the stored endptr to decide whether
65584 the number had valid syntax.
65585
65586 2012-04-21 Andreas Jaeger <aj@suse.de>
65587
65588 [BZ #13739]
65589 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
65590
65591 2012-04-21 Joseph Myers <joseph@codesourcery.com>
65592
65593 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
65594 * sysdeps/unix/sysv/Versions: Remove file.
65595
65596 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
65597
65598 [BZ #13927]
65599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65600
65601 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
65602
65603 [BZ #7064]
65604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
65605 version from __vm86.
65606
65607 2012-04-20 Joseph Myers <joseph@codesourcery.com>
65608
65609 * sysdeps/unix/common/lxstat.c: Remove file.
65610 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
65611
65612 * sysdeps/unix/sysv/Makefile: Remove file.
65613
65614 * sysdeps/unix/sysv/direct.h: Remove file.
65615
65616 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
65617 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
65618 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
65619 * sysdeps/unix/sysv/bits/signum.h: Likewise.
65620 * sysdeps/unix/sysv/bits/stat.h: Likewise.
65621 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
65622 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
65623
65624 * sysdeps/unix/sysv/setrlimit.c: Remove file.
65625
65626 * sysdeps/unix/xmknod.c: Remove file.
65627 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
65628
65629 * sysdeps/unix/sysv/settimeofday.c: Remove file.
65630
65631 * sysdeps/unix/sysv/i386/time.S: Remove file.
65632
65633 * sysdeps/unix/fxstat.c: Remove file.
65634 * sysdeps/unix/xstat.c: Likewise.
65635 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
65636
65637 * sysdeps/unix/sysv/sigaction.c: Remove file.
65638
65639 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
65640 (sysdep_headers): Remove variable.
65641 [termio.h not in sysdep_headers] (generated): Likewise.
65642 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
65643 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
65644 * sysdeps/unix/sysv/tcdrain.c: Likewise.
65645 * sysdeps/unix/sysv/tcflow.c: Likewise.
65646 * sysdeps/unix/sysv/tcflush.c: Likewise.
65647 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
65648 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
65649 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
65650 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
65651 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
65652
65653 * sysdeps/unix/siglist.c: Remove file.
65654
65655 * sysdeps/unix/getppid.S: Remove file.
65656
65657 * sysdeps/unix/mkdir.c: Remove file.
65658 * sysdeps/unix/rmdir.c: Likewise.
65659
65660 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
65661
65662 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
65663 ERR_MAX value.
65664 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
65665 errlist-compat value.
65666
65667 2012-04-18 David S. Miller <davem@davemloft.net>
65668
65669 * sysdeps/generic/memcopy.h (reg_char): Delete.
65670 * debug/strcat_chk.c: Use char, not reg_char.
65671 * debug/strcpy_chk.c: Likewise.
65672 * debug/strncat_chk.c: Likewise.
65673 * debug/strncpy_chk.c: Likewise.
65674 * string/memchr.c: Likewise.
65675 * string/memrchr.c: Likewise.
65676 * string/rawmemchr.c: Likewise.
65677 * string/strcat.c: Likewise.
65678 * string/strchr.c: Likewise.
65679 * string/strchrnul.c: Likewise.
65680 * string/strcmp.c: Likewise.
65681 * string/strcpy.c: Likewise.
65682 * string/strncat.c: Likewise.
65683 * string/strncmp.c: Likewise.
65684 * string/strncpy.c: Likewise.
65685
65686 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65687
65688 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
65689 __builtin_memcopy is called when src and dest ranges are known to not
65690 overlap.
65691
65692 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65693
65694 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
65695 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
65696 fwd_align_merge macro call.
65697 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
65698 bwd_align_merge macro call.
65699 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65700
65701 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
65702
65703 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
65704 bwd_align_merge macros.
65705 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
65706 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
65707 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65708
65709 2012-04-18 David S. Miller <davem@davemloft.net>
65710
65711 * sysdeps/sparc/sparc64/memcopy.h: Delete.
65712
65713 2012-04-18 Andreas Jaeger <aj@suse.de>
65714
65715 [BZ# 6794]
65716 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
65717 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
65718 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65719
65720 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
65721 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
65722 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65723
65724 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
65725 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
65726 Adjust for changed ldbl-128 files.
65727
65728 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
65729 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
65730 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65731
65732 2012-04-17 David S. Miller <davem@davemloft.net>
65733
65734 * sysdeps/sparc/sparc32/memcopy.h: Delete.
65735
65736 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
65737
65738 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
65739 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
65740 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
65741 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
65742 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
65743 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
65744
65745 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65746
65747 [BZ #6794]
65748 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
65749 * math/libm-test.inc: Add ilogb errno and exception tests.
65750 * math/w_ilogb.c: New file: ilogb wrapper.
65751 * math/w_ilogbf.c: New file: ilogbf wrapper.
65752 * math/w_ilogbl.c: New file: ilogbl wrapper.
65753 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
65754 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
65755 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
65756 exception being thrown with 0.0 as argument.
65757 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
65758 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
65759 exception being thrown with 0.0 as argument.
65760 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
65761 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65762 exception being thrown with 0.0 as argument.
65763 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
65764 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65765 exception being thrown with 0.0 as argument.
65766 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
65767 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
65768 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
65769 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
65770 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
65771 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
65772 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
65773 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
65774 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
65775
65776 2012-04-17 Petr Baudis <pasky@ucw.cz>
65777
65778 * include/sys/uio.h: Change __vector to __iovec to avoid clash
65779 with altivec.
65780
65781 2012-04-16 Marek Polacek <polacek@redhat.com>
65782
65783 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
65784
65785 2012-04-16 Marek Polacek <polacek@redhat.com>
65786
65787 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
65788 operands of fdivp instruction.
65789
65790 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
65791
65792 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
65793 * elf/tst-auditmod3b.c: Likewise.
65794 * elf/tst-auditmod4b.c: Likewise.
65795 * elf/tst-auditmod5b.c: Likewise.
65796 * elf/tst-auditmod6b.c: Likewise.
65797 * elf/tst-auditmod6c.c: Likewise.
65798 * elf/tst-auditmod7b.c: Likewise.
65799 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
65800 * sysdeps/x86_64/preconfigure.in: Likewise.
65801 * sysdeps/x86_64/preconfigure: Regenerated.
65802
65803 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
65804
65805 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
65806 __ILP32__.
65807
65808 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
65809
65810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65811 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
65812
65813 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
65814
65815 [BZ #13973]
65816 * locale/iso-639.def: Fix gl language name. Spotted by
65817 Yaron Shahrabani.
65818
65819 2012-04-12 Roland McGrath <roland@hack.frob.com>
65820
65821 [BZ #2074]
65822 * libio/libio.h (__io_write_fn): Update comment.
65823
65824 2012-04-12 Petr Baudis <pasky@ucw.cz>
65825
65826 [BZ #2074]
65827 * stdio.texi (Hook Functions): The user provided writer function
65828 is not allowed to return -1.
65829
65830 2012-04-11 David S. Miller <davem@davemloft.net>
65831
65832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65833
65834 2012-04-11 Mike Frysinger <vapier@gentoo.org>
65835
65836 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65837 Add a leading slash to rtkaio.
65838
65839 2012-04-11 Jim Meyering <meyering@redhat.com>
65840
65841 [BZ #11959]
65842 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65843 It is not necessarily an error to ignore fwrite's return
65844 value. One can reliably use ferror to test for errors after
65845 the fact.
65846
65847 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
65848
65849 * bits/types.h (__snseconds_t): New type.
65850 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65851
65852 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65854 (__SNSECONDS_T_TYPE): Likewise.
65855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65856 (__SNSECONDS_T_TYPE): Likewise.
65857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65858 (__SNSECONDS_T_TYPE): Likewise.
65859
65860 2012-04-10 Andreas Jaeger <aj@suse.de>
65861
65862 [BZ #2636]
65863 * manual/time.texi (Processor Time): Return type of times is
65864 elapsed real time since an arbitrary point in the past.
65865 (CPU Time): Move CLK_TCK from here...
65866 (Processor Time): ...to here. Correct description.
65867 * manual/conf.texi (Constants for Sysconf): Correct description of
65868 _SC_CLK_TCK.
65869
65870 2012-04-10 David S. Miller <davem@davemloft.net>
65871
65872 [BZ #13967]
65873 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65874 where the is a gap between DT_REL(A) and DT_JMPREL.
65875
65876 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
65877
65878 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65879 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65880 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65881
65882 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65883
65884 * elf/dl-support.c (_dl_inhibit_cache): New variable.
65885 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65886 (dl_main): Handle --inhibit-cache.
65887 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65888 _dl_inhibit_cache.
65889 * elf/dl-load.c (_dl_map_object): Use it.
65890 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65891
65892 2012-04-09 Joseph Myers <joseph@codesourcery.com>
65893
65894 [BZ #13872]
65895 * sysdeps/i386/fpu/e_powl.S (p78): New object.
65896 (__ieee754_powl): Saturate large exponents rather than testing for
65897 overflow of y*log2(x).
65898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65899 * math/libm-test.inc (pow_test): Do not permit spurious overflow
65900 exceptions.
65901
65902 [BZ #11521]
65903 * math/s_ctan.c: Include <float.h>.
65904 (__ctan): Avoid internal overflow or cancellation in calculating
65905 denominator.
65906 * math/s_ctanf.c: Likewise.
65907 * math/s_ctanl.c: Likewise.
65908 * math/s_ctanh.c: Likewise.
65909 * math/s_ctanhf.c: Likewise.
65910 * math/s_ctanhl.c: Likewise.
65911 * math/libm-test.inc (ctan_test): Add more tests.
65912 (ctanh_test): Likewise.
65913 * sysdeps/i386/fpu/libm-test-ulps: Update.
65914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65915
65916 2012-04-09 Andreas Jaeger <aj@suse.de>
65917
65918 [BZ #6894]
65919 * manual/filesys.texi (Directory Entries): Mention that d_namlen
65920 is an optional BSD extension.
65921
65922 [BZ #10254]
65923 * manual/stdio.texi (Opening Streams): Document additional fopen
65924 parameters.
65925
65926 2012-04-09 Roland McGrath <roland@hack.frob.com>
65927
65928 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65929 %eax without telling the compiler.
65930
65931 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
65932
65933 [BZ # 13963]
65934 * manual/install.texi: Use sourceware.org.
65935
65936 2012-04-09 Joseph Myers <joseph@codesourcery.com>
65937
65938 [BZ #13873]
65939 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65940 (__ieee754_pow): Generate overflow and underflow using huge*huge
65941 and tiny*tiny rather than just returning constant infinity or zero
65942 for large exponents.
65943 * math/libm-test.inc (pow_test): Require overflow exceptions for
65944 applicable cases of large exponents.
65945
65946 [BZ #706]
65947 * sysdeps/i386/fpu/e_pow.S (p10): New object.
65948 (__ieee754_pow): Use iterative multiplication algorithm only for
65949 integer exponents with absolute value below 1024. Check for odd
65950 integer exponents when using algorithm for real exponents.
65951 * math/libm-test.inc (pow_test): Add more tests.
65952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65953
65954 2012-04-08 Joseph Myers <joseph@codesourcery.com>
65955
65956 [BZ #13705]
65957 * math/libm-test.inc (exp_test): Do not allow overflow exception
65958 on underflow test.
65959
65960 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
65961
65962 [BZ #13705]
65963 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65964 instead of __kernel_standard_f.
65965
65966 2012-04-08 Mike Frysinger <vapier@gentoo.org>
65967
65968 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65969 * sysdeps/x86_64/memset_chk.S: Likewise.
65970
65971 2012-04-08 Andreas Jaeger <aj@suse.de>
65972
65973 [BZ #10153]
65974 * manual/startup.texi (Environment Access): Describe return value
65975 for putenv and setenv.
65976
65977 [BZ #6895]
65978 * manual/filesys.texi (Directory Entries): Add description for
65979 DT_LNK.
65980
65981 [BZ #6890]
65982 * manual/filesys.texi (Directory Entries): Clarify that it's file
65983 system not operating system in the description of DT_UNKNOWN.
65984
65985 [BZ #6578]
65986 * manual/syslog.texi (closelog): Fix reference, it's openlog.
65987
65988 2012-04-08 Stephen Compall <s11@member.fsf.org>
65989
65990 [BZ #6649]
65991 * manual/llio.texi (Opening and Closing Files): Add cross
65992 reference to explain mode argument.
65993
65994 2012-04-07 Mike Frysinger <vapier@gentoo.org>
65995
65996 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65997 * sysdeps/x86_64/memset_chk.S: Likewise.
65998
65999 2012-04-07 David S. Miller <davem@davemloft.net>
66000
66001 * elf/elf.h (R_SPARC_WDISP10): Define.
66002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66003 R_SPARC_SIZE32.
66004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66005 R_SPARC_SIZE64 and R_SPARC_H34.
66006
66007 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
66008
66009 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66010 conditions and remove no longer applicable assertion.
66011
66012 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66013
66014 * bits/byteswap.h: Include <features.h>.
66015 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66016 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66017
66018 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66019
66020 * bits/byteswap.h (__bswap_16): Removed.
66021 Include <bits/byteswap-16.h> to get __bswap_16.
66022 * sysdeps/i386/bits/byteswap.h: Likewise.
66023 * sysdeps/s390/bits/byteswap.h: Likewise.
66024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66025 * bits/byteswap-16.h: New file.
66026 * sysdeps/i386/bits/byteswap-16.h: Likewise.
66027 * sysdeps/s390/bits/byteswap-16.h: Likewise.
66028 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66029 * string/Makefile (headers): Add bits/byteswap-16.h.
66030
66031 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
66032
66033 [BZ #13895]
66034 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66035 extra indirection.
66036 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66037 * nss/tst-nss-static.c: New.
66038
66039 2012-04-06 Robert Millan <rmh@gnu.org>
66040
66041 [BZ #6486]
66042 * manual/llio.texi (File Position Primitive): lseek
66043 refers to WHENCE when it really means OFFSET.
66044
66045 2012-04-06 Andreas Jaeger <aj@suse.de>
66046
66047 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66048 strncmp declarations.
66049
66050 * abilist/libc.abilist: Add __poll and __ppoll.
66051
66052 2012-04-05 David S. Miller <davem@davemloft.net>
66053
66054 * scripts/check-local-headers.sh: Accept a host triplet in the
66055 path matched by the exclude regexp.
66056
66057 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66058 definition.
66059 * sysdeps/powerpc/powerpc32/dl-machine.h
66060 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66061 * sysdeps/s390/s390-32/dl-machine.h
66062 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66063 * sysdeps/sparc/sparc32/dl-machine.h
66064 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66065 * sysdeps/sparc/sparc64/dl-machine.h
66066 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66067
66068 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66069 lazy binding.
66070 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66071 undefined symbol errors.
66072
66073 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66074 DT_NEEDED entries.
66075
66076 2012-04-05 Michael Matz <matz@suse.de>
66077
66078 [BZ #13592]
66079 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66080
66081 2012-04-05 Andreas Jaeger <aj@suse.de>
66082
66083 [BZ #13908]
66084 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66085 comment.
66086
66087 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66088
66089 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66090 which ROUND is no valid rounding mode.
66091
66092 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66093
66094 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66095 read again.
66096 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66097
66098 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66099
66100 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66101 an exception using FPU order intentionally.
66102
66103 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66104
66105 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66106 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66107 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66108 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66109
66110 2012-04-05 Simon Josefsson <simon@josefsson.org>
66111
66112 [BZ #12340]
66113 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66114 EINVAL when BUFLEN is too smal.
66115
66116 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
66117
66118 [BZ #13553]
66119 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66120 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66121
66122 2012-04-03 Andreas Jaeger <aj@suse.de>
66123
66124 [BZ #13938]
66125 * manual/setjmp.texi (System V contexts): Fix sentence.
66126
66127 [BZ #13926]
66128 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66129 New macro for this case.
66130 [!__GNUC__] (__bswap_64): New inline function for this case.
66131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66132 * bits/byteswap.h: Likewise.
66133 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66134 ull, guard with __GLIBC_HAVE_LONG_LONG.
66135
66136 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66137 __GLIBC_HAVE_LONG_LONG.
66138
66139 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66140 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66141
66142 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66143
66144 [BZ #13691]
66145 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66146 inptr and inend, rather than using last_ch.
66147
66148 2012-04-02 David S. Miller <davem@davemloft.net>
66149
66150 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66151 * stdio-common/printf-parse.h (read_int): Change return type to
66152 'int', return -1 on INT_MAX overflow.
66153 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66154 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
66155 overflows INT_MAX. Check for overflow of in-format-string precision
66156 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
66157 SIZE_MAX not INT_MAX for integer overflow test.
66158 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66159 skip the construct in the format string but do not record anything.
66160 * stdio-common/bug22.c: Adjust to test both width/prevision
66161 INT_MAX overflow as well as total length INT_MAX overflow. Check
66162 explicitly for proper errno values.
66163
66164 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
66165
66166 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66167 CHAR_MAX.
66168 * string/test-strcmp.c [! WIDE]: Likewise.
66169 * time/tst-mktime2.c: Likewise for INT_MAX.
66170 * string/test-string.h: #include <sys/param.h> for MIN.
66171
66172 * csu/init-first.c (__libc_init_first): Call __ctype_init.
66173 * sysdeps/i386/init-first.c (init): Likewise.
66174 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66175 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66176 * sysdeps/sh/init-first.c (init): Likewise.
66177
66178 2012-04-01 Ulrich Drepper <drepper@gmail.com>
66179
66180 * po/ru.po: Update from translation team.
66181 * po/vi.po: Likewise.
66182
66183 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
66184
66185 * resolv/nss_dns/dns-host.c: Merge copyright years.
66186
66187 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66188
66189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66190 Optimize memcpy with prefetch if
66191 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
66192 src, dst pointers have unequal 16 byte alignments.
66193
66194 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
66195
66196 [BZ #13928]
66197 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66198 from a CNAME entry and return the minimum ttl for the query.
66199 (gaih_getanswer_slice): Likewise.
66200
66201 2012-03-30 Jeff Law <law@redhat.com>
66202
66203 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66204 due to long keys.
66205 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66206 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66207
66208 * resolv/nss_dns/dns-host.c: Update copyright year.
66209
66210 2012-03-30 Ulrich Drepper <drepper@gmail.com>
66211
66212 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66213 requests to save a system call. Fix check that all bytes are sent.
66214
66215 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66216 comments for sendmmsg.
66217
66218 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66219
66220 [BZ #13691]
66221 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66222 with only 1 character between 0x0041 and 0x01b0.
66223 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66224 * wcsmbs/tst-mbsnrtowcs.c: New file.
66225
66226 2012-03-29 David S. Miller <davem@davemloft.net>
66227
66228 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66229 small copies by hand.
66230
66231 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66232
66233 [BZ #13761]
66234 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66235 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66236 group memberships.
66237
66238 2012-03-28 David S. Miller <davem@davemloft.net>
66239
66240 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66241 that branches into memcpy.
66242 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66244 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66245 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66247 bits.
66248 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66249 implementation too.
66250 * sysdeps/sparc/mempcpy.S: New file.
66251
66252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66253 the IFUNC routine in the libc case.
66254 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66255
66256 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66257 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66258 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66259 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66260 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66261 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66262 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66263 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66264
66265 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66266 loop to 256 bytes instead of 64 bytes and fix test signedness.
66267
66268 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66269 * sysdeps/sparc/sparc32/Makefile: rather than here...
66270 * sysdeps/sparc/sparc64/Makefile: and here.
66271
66272 2012-03-28 Ulrich Drepper <drepper@gmail.com>
66273
66274 * malloc/mallocbug.c: Avoid warnings about unused variables.
66275
66276 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
66277
66278 [BZ #13760]
66279 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66280 in the right place. Discard and retry query if response is
66281 larger than input buffer size.
66282
66283 2012-03-28 Joseph Myers <joseph@codesourcery.com>
66284
66285 [BZ #369]
66286 [BZ #2678]
66287 [BZ #3866]
66288 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66289 x for large integer exponent.
66290 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66291 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
66292 sign of result as needed afterwards.
66293 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66294 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66295 result for underflowing pow the same as for overflow.
66296 (__kernel_standard_l): Handle powl overflow and underflow here
66297 rather than calling __kernel_standard.
66298 * math/libm-test.inc (pow_test): Add more tests.
66299
66300 [BZ #3868]
66301 [BZ #13879]
66302 [BZ #13910]
66303 [BZ #13911]
66304 [BZ #13912]
66305 [BZ #13913]
66306 [BZ #13915]
66307 [BZ #13916]
66308 [BZ #13917]
66309 [BZ #13918]
66310 [BZ #13919]
66311 [BZ #13920]
66312 [BZ #13921]
66313 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66314 * sysdeps/ieee754/k_standard.c: Include <float.h>.
66315 (__kernel_standard_l): New function.
66316 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66317 __kernel_standard.
66318 * math/w_acosl.c (__acosl): Likewise.
66319 * math/w_asinl.c (__asinl): Likewise.
66320 * math/w_atan2l.c (__atan2l): Likewise.
66321 * math/w_atanhl.c (__atanhl): Likewise.
66322 * math/w_coshl.c (__coshl): Likewise.
66323 * math/w_exp10l.c (__exp10l): Likewise.
66324 * math/w_exp2l.c (__exp2l): Likewise.
66325 * math/w_fmodl.c (__fmodl): Likewise.
66326 * math/w_hypotl.c (__hypotl): Likewise.
66327 * math/w_j0l.c (__j0l, __y0l): Likewise.
66328 * math/w_j1l.c (__j1l, __y1l): Likewise.
66329 * math/w_jnl.c (__jnl, __ynl): Likewise.
66330 * math/w_lgammal.c (__lgammal): Likewise.
66331 * math/w_log10l.c (__log10l): Likewise.
66332 * math/w_log2l.c (__log2l): Likewise.
66333 * math/w_logl.c (__logl): Likewise.
66334 * math/w_powl.c (__powl): Likewise.
66335 * math/w_remainderl.c (__remainderl): Likewise.
66336 * math/w_scalbl.c (sysv_scalbl): Likewise.
66337 * math/w_sinhl.c (__sinhl): Likewise.
66338 * math/w_sqrtl.c (__sqrtl): Likewise.
66339 * math/w_tgammal.c (__tgammal): Likewise.
66340 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66341 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66342 * math/libm-test.inc (acos_test): Add more tests.
66343 (acosh_test): Likewise.
66344 (asin_test): Likewise.
66345 (atanh_test): Likewise.
66346 (exp_test): Likewise.
66347 (exp10_test): Likewise.
66348 (exp2_test): Likewise.
66349 (expm1_test): Likewise.
66350 (lgamma_test): Likewise.
66351 (log_test): Likewise.
66352 (log10_test): Likewise.
66353 (log1p_test): Likewise.
66354 (log2_test): Likewise.
66355 (pow_test): Do not allow some spurious overflow exceptions.
66356 (sqrt_test): Add more tests.
66357 (tgamma_test): Likewise.
66358 (y0_test): Likewise.
66359 (y1_test): Likewise.
66360 (yn_test): Likewise.
66361
66362 2012-03-27 Anton Blanchard <anton@samba.org>
66363
66364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
66365 MAP_HUGETLB.
66366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66367 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
66368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66369
66370 2012-03-27 David S. Miller <davem@davemloft.net>
66371
66372 * conform/Makefile: Run run-conformtest.sh using $(BASH).
66373
66374 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
66375 have-as-vis3 check.
66376
66377 2012-03-27 Andreas Jaeger <aj@suse.de>
66378
66379 * sysdeps/x86_64/elf/configure.in: Moved to ...
66380 * sysdeps/x86_64/configure.in: ... here.
66381 * sysdeps/x86_64/elf/start.S: Moved to ...
66382 * sysdeps/x86_64/start.S: ... here.
66383 * sysdeps/x86_64/elf/configure: Delete.
66384
66385 * sysdeps/x86_64/configure.in: Merge contents from
66386 sysdeps/i386/configure.in (without i686 check).
66387
66388 * sysdeps/i386/elf/Versions: Merge into ...
66389 * sysdeps/i386/Versions: ... this.
66390 * sysdeps/i386/elf/Versions: Delete file.
66391 * sysdeps/i386/elf/start.S: Moved to ...
66392 * sysdeps/i386/start.S: ...here.
66393 * sysdeps/i386/elf/configure.in: Merge into...
66394 * sysdeps/i386/configure.in: ...here.
66395 * sysdeps/i386/elf/configure.in: Delete file.
66396 * sysdeps/i386/elf/configure: Delete file.
66397
66398 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
66399 * debug/backtracesyms.c: ... here.
66400 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
66401 * debug/backtracesymsfd.c: ... here.
66402 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
66403 * sysdeps/generic/ifunc-sel.h: ... here.
66404
66405 * sysdeps/unix/i386/start.c: Delete file.
66406 * sysdeps/unix/sparc/start.c: Delete file.
66407 * sysdeps/unix/start.c: Delete file.
66408
66409 * sysdeps/sh/elf/configure.in: Moved to ...
66410 * sysdeps/sh/configure.in: ... here.
66411 * sysdeps/sh/elf/start.S: Moved to ...
66412 * sysdeps/sh/start.S: ... here.
66413 * sysdeps/sh/elf/configure: Delete file.
66414
66415 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
66416 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
66417 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
66418 * sysdeps/powerpc/powerpc64/entry.h: ... here.
66419 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
66420 * sysdeps/powerpc/powerpc64/start.S: here.
66421 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
66422 * sysdeps/powerpc/powerpc64/Makefile: ... this.
66423 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
66424 * sysdeps/powerpc/powerpc64/configure.in: ... this.
66425 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
66426
66427 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
66428 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
66429 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
66430 * sysdeps/powerpc/powerpc32/start.S: ... here.
66431 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
66432 * sysdeps/powerpc/powerpc32/configure.in: ... this.
66433 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
66434
66435 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
66436 * sysdeps/powerpc/ifunc-sel.h: ... here.
66437 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
66438 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
66439
66440 * sysdeps/sparc/elf/configure.in: Moved to ...
66441 * sysdeps/sparc/configure.in: ... here.
66442 * sysdeps/sparc/elf/configure: Delete file.
66443 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
66444 * sysdeps/sparc/sparc32/start.S: ... here.
66445 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
66446 * sysdeps/sparc/sparc64/start.S: ... here.
66447 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
66448 * sysdeps/sparc/sparc32/Makefile: ... this.
66449 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
66450 * sysdeps/sparc/sparc64/Makefile: ... this.
66451
66452 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
66453 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
66454 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
66455 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
66456 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
66457 * sysdeps/s390/s390-32/setjmp.S: ... here.
66458 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
66459 * sysdeps/s390/s390-32/configure.in: ... here.
66460 * sysdeps/s390/s390-32/elf/configure: Delete file.
66461 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
66462 * sysdeps/s390/s390-32/start.S: ... here.
66463
66464 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
66465 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
66466 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
66467 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
66468 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
66469 * sysdeps/s390/s390-64/setjmp.S: ... here.
66470 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
66471 * sysdeps/s390/s390-64/configure.in: ... here
66472 * sysdeps/s390/s390-64/elf/configure: Delete file.
66473 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
66474 * sysdeps/s390/s390-64/start.S: ... here.
66475 * sysdeps/s390/s390-64/elf/configure: Delete.
66476
66477 * configure.in: Remove support for elf directories in sysdeps.
66478
66479 * configure: Regenerated.
66480 * sysdeps/i386/configure: Regenerated.
66481 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66482 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66483 * sysdeps/s390/s390-32/configure: Regenerated.
66484 * sysdeps/s390/s390-64/configure: Regenerated.
66485 * sysdeps/sh/configure: Regenerated.
66486 * sysdeps/sparc/configure: Regenerated.
66487 * sysdeps/x86_64/configure: Regenerated.
66488
66489 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
66490
66491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66492
66493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
66494 denormal result into account.
66495
66496 2012-03-25 Roland McGrath <roland@hack.frob.com>
66497
66498 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
66499 Reported by Allan McRae <allan@archlinux.org>.
66500
66501 2012-03-23 Jeff Law <law@redhat.com>
66502
66503 * nss/getnssent.c (__nss_getent): Fix typo.
66504
66505 2012-03-23 David S. Miller <davem@davemloft.net>
66506
66507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66508
66509 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
66510
66511 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
66512 to pad to uint64_t for each field.
66513 (dl_tls_index): Replace unsigned long with uint64_t.
66514
66515 2012-03-23 Daniel Jacobowitz <dmj@google.com>
66516 Paul Pluzhnikov <ppluzhnikov@google.com>
66517
66518 [BZ #6528]
66519 * grp/Makefile (otherlibs): Don't set it.
66520 * inet/Makefile (otherlibs): Likewise.
66521 * login/Makefile (otherlibs): Likewise.
66522 * nscd/Makefile (otherlibs): Likewise.
66523 * posix/Makefile (otherlibs): Likewise.
66524 * pwd/Makefile (otherlibs): Likewise.
66525 * rt/Makefile (otherlibs): Likewise.
66526 * sunrpc/Makefile (otherlibs): Likewise.
66527 * nss/Makefile (otherlibs): Likewise.
66528 Add libnss_files to routines and static-only-routines.
66529 ($(objpfx)getent): Remove rule.
66530 * resolv/Makefile: Add libnss_dns and libresolv to routines and
66531 static-only-routines.
66532
66533 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66534
66535 [BZ #13892]
66536 * math/s_cexp.c: Include <float.h>.
66537 (__cexp): Handle exp result overflowing not necessarily
66538 overflowing both real and imaginary parts of result.
66539 * math/s_cexpf.c: Likewise.
66540 * math/s_cexpl.c: Likewise.
66541 * math/libm-test.inc (cexp_test): Add more tests.
66542 * sysdeps/i386/fpu/libm-test-ulps: Update.
66543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66544
66545 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66546
66547 * include/link.h (ELFW): New macro.
66548 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
66549 Replace ELF64_R_TYPE with ELFW(R_TYPE).
66550
66551 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66552
66553 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
66554 with uint64_t.
66555
66556 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66557
66558 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
66559 declaration.
66560 (struct La_x32_retval): Likewise.
66561
66562 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
66563
66564 * sysdeps/x86_64/preconfigure.in: New file.
66565 * sysdeps/x86_64/preconfigure: New generated file.
66566
66567 2012-03-22 Joseph Myers <joseph@codesourcery.com>
66568
66569 [BZ #13824]
66570 * math/e_exp2l.c: Include <float.h>.
66571 (__ieee754_exp2l): Handle overflow and underflow cases
66572 separately. Only pass fractional part of argument to
66573 __ieee754_expl.
66574 * math/libm-test.inc (exp2_test): Add more tests.
66575
66576 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
66577 negating x to take absolute value.
66578 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66579 Likewise.
66580 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
66581 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
66582 Likewise.
66583 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
66584 computing low part if x was negated.
66585 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
66586
66587 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66588
66589 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
66590 la_x32_gnu_pltexit.
66591 (pltexit): Cast int_retval to ptrdiff_t.
66592 * elf/tst-auditmod3b.c: Likewise.
66593 * elf/tst-auditmod4b.c: Likewise.
66594 * elf/tst-auditmod5b.c: Likewise.
66595 * elf/tst-auditmod6b.c: Likewise.
66596 * elf/tst-auditmod6c.c: Likewise.
66597 * elf/tst-auditmod7b.c: Likewise.
66598
66599 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
66600 and x32_gnu_pltexit.
66601
66602 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
66603 __ELF_NATIVE_CLASS.
66604 (La_x32_regs): New macro.
66605 (La_x32_retval): Likewise.
66606 (la_x32_gnu_pltenter): New function prototype.
66607 (la_x32_gnu_pltexit): Likewise.
66608
66609 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
66610
66611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
66612 exponent.
66613
66614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66615
66616 * configure.in (libc_cv_cc_nofma): Check for option to disable
66617 generation of FMA instructions.
66618 * configure: Regenerate.
66619 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
66620 * sysdeps/ieee754/dbl-64/Makefile: New file.
66621 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
66622 Remove brandred-fma4.
66623 (CFLAGS-brandred-fma4.c): Remove.
66624 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
66625 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
66626 define.
66627 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
66628 define.
66629
66630 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66631
66632 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66633 LLONG_MAX != LONG_MAX.
66634 (_itoa_word): Use _ITOA_WORD_TYPE on value.
66635 (_fitoa_word): Likewise.
66636 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
66637 LLONG_MAX != LONG_MAX.
66638 * stdio-common/_itowa.h: Include <_itoa.h>.
66639 (_itowa_word): Use _ITOA_WORD_TYPE on value.
66640 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
66641 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
66642 only if not defined.
66643 (_ITOA_WORD_TYPE): Likewise.
66644 (_itoa_word): Use _ITOA_WORD_TYPE on value.
66645 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
66646
66647 2012-03-21 David S. Miller <davem@davemloft.net>
66648
66649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66650
66651 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66652
66653 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
66654 of x86_64 when setting libc_cv_slibdir, libdir and
66655 libc_cv_localedir.
66656 * sysdeps/unix/sysv/linux/configure: Regenerated.
66657
66658 2012-03-21 Joseph Myers <joseph@codesourcery.com>
66659
66660 * manual/lang.texi (Old Varargs): Remove section.
66661 (How Variadic): Update menu.
66662 (va_start): Do not mention varargs.h.
66663
66664 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
66665 Joseph Myers <joseph@codesourcery.com>
66666
66667 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
66668 link test.
66669 * configure: Regenerated.
66670
66671 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
66672
66673 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
66674 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
66675 conformtest.pl
66676
66677 2012-03-21 Joseph Myers <joseph@codesourcery.com>
66678
66679 * NOTES: Remove.
66680 * Makefile (files-for-dist): Remove NOTES.
66681 (NOTES): Remove rule.
66682 * README: Don't refer to NOTES.
66683 * manual/creature.texi: Don't include macros.texi.
66684 * manual/intro.texi (creature.texi): Remove comment referring to
66685 NOTES.
66686
66687 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
66688 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
66689 * configure: Regenerated.
66690 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
66691 LIBC_TRY_CC_OPTION.
66692 (libc_cv_as_i686): Likewise.
66693 (libc_cv_cc_avx): Likewise.
66694 (libc_cv_cc_sse2avx): Likewise.
66695 (libc_cv_cc_fma4): Likewise.
66696 (libc_cv_cc_novzeroupper): Likewise.
66697 * sysdeps/i386/configure: Regenerated.
66698
66699 [BZ #13883]
66700 * sysdeps/i386/fpu/s_cexp.S: Remove.
66701 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
66702 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
66703 * math/libm-test.inc (cexp_test): Add more tests.
66704 * sysdeps/i386/fpu/libm-test-ulps: Update.
66705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66706
66707 2012-03-21 Allan McRae <allan@archlinux.org>
66708
66709 * timezone/Makefile: Do not install iso3166.tab and zone.tab
66710
66711 2012-03-21 Joseph Myers <joseph@codesourcery.com>
66712
66713 [BZ #13871]
66714 * math/w_exp2.c: Do not include <float.h>.
66715 (o_threshold, u_threshold): Remove.
66716 (__exp2): Calculate result before checking finiteness and calling
66717 __kernel_standard.
66718 * math/w_exp2f.c: Likewise.
66719 * math/w_exp2l.c: Likewise.
66720 * math/libm-test.inc (exp2_test): Require overflow exception for
66721 1e6 input.
66722
66723 [BZ #3866]
66724 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
66725 range of signed 64-bit integers before using fistpll. Remove
66726 checks for whether integers fit in mantissa bits.
66727 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
66728 the range of signed 32-bit integers before using fistpl. Remove
66729 checks for whether integers fit in mantissa bits.
66730 * sysdeps/i386/fpu/e_powl.S (p64): New object.
66731 (__ieee754_powl): Test for y outside the range of signed 64-bit
66732 integers before using fistpll. Reduce 64-bit values to 63-bit
66733 ones as needed.
66734 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
66735 divide-by-zero is raised for zero to large negative powers.
66736 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
66737 (__ieee754_powl): Test for y outside the range of signed 64-bit
66738 integers before using fistpll. Reduce 64-bit values to 63-bit
66739 ones as needed.
66740 * math/libm-test.inc (pow_test): Add more tests.
66741
66742 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
66743
66744 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
66745 <stdio-common/_itoa.h>.
66746 * debug/segfault.c: Likewise.
66747 * elf/dl-cache.c: Likewise.
66748 * elf/dl-minimal.c: Likewise.
66749 * elf/dl-misc.c: Likewise.
66750 * elf/dl-sysdep.c: Likewise.
66751 * elf/dl-version.c: Likewise.
66752 * elf/rtld.c: Likewise.
66753 * hurd/hurdsock.c: Likewise.
66754 * hurd/lookup-retry.c: Likewise.
66755 * malloc/malloc.c: Likewise.
66756 * malloc/mtrace.c: Likewise.
66757 * nscd/nscd_getgr_r.c: Likewise.
66758 * nscd/nscd_getpw_r.c: Likewise.
66759 * nscd/nscd_getserv_r.c: Likewise.
66760 * posix/getopt_init.c: Likewise.
66761 * posix/wordexp.c: Likewise.
66762 * stdio-common/_itoa.c: Likewise.
66763 * stdio-common/printf_fphex.c: Likewise.
66764 * stdio-common/vfprintf.c: Likewise.
66765 * string/_strerror.c: Likewise.
66766 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
66767 * sysdeps/i386/i686/hp-timing.h: Likewise.
66768 * sysdeps/mach/_strerror.c: Likewise.
66769 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
66770 * sysdeps/mach/hurd/sethostid.c: Likewise.
66771 * sysdeps/mach/hurd/xmknodat.c: Likewise.
66772 * sysdeps/mach/xpg-strerror.c: Likewise.
66773 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66774 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66775 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
66776 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
66777 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66778 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
66779 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
66780 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
66781 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
66782 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
66783 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
66784 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
66785 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
66786 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66787 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66788 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
66789 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
66790 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
66791 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
66792 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
66793 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
66794
66795 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
66796
66797 * stdio-common/_itoa.h: Moved to ...
66798 * sysdeps/generic/_itoa.h: Here.
66799
66800 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
66801
66802 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
66803 instead of "_itoa.h" and "_itowa.h".
66804 * stdio-common/vfprintf.: Likewise.
66805
66806 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
66807
66808 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
66809 <bits/wordsize.h>.
66810 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
66811 (__signbit): Likwise.
66812 (llrintf): Likwise.
66813 (llrint): Likwise.
66814
66815 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
66816
66817 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
66818 __WORDSIZE != 64.
66819
66820 2012-03-20 Joseph Myers <joseph@codesourcery.com>
66821
66822 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
66823 OVERFLOW_EXCEPTION_OK.
66824 * math/libm-test.inc ("Philosophy"): Update comment about
66825 exception testing.
66826 (OVERFLOW_EXCEPTION): Define.
66827 (OVERFLOW_EXCEPTION_OK): Likewise.
66828 (INVALID_EXCEPTION_OK): Renumber.
66829 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66830 (IGNORE_ZERO_INF_SIGN): Likewise.
66831 (test_exceptions): Handle FE_OVERFLOW.
66832 (exp10_test): Expect overflow exceptions.
66833 (exp2_test): Likewise.
66834 (expm1_test): Likewise.
66835 (nextafter_test): Likewise.
66836 (pow_test): Likewise.
66837 (scalbn_test): Likewise.
66838 (scalbln_test): Likewise.
66839
66840 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66841
66842 * sysdeps/x86_64/bits/atomic.h
66843 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66844 64bit integer.
66845 (atomic_exchange_acq): Likewise.
66846 (__arch_exchange_and_add_body): Likewise.
66847 (__arch_add_body): Likewise.
66848 (atomic_add_negative): Likewise.
66849 (atomic_add_zero): Likewise.
66850
66851 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66852
66853 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66854 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66855
66856 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66857
66858 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66859 Check __x86_64__ instead of __WORDSIZE.
66860
66861 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66862
66863 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66864
66865 2012-03-19 David S. Miller <davem@davemloft.net>
66866
66867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66868
66869 * sysdeps/sparc/fpu/fenv_private.h: New file.
66870 * sysdeps/sparc/fpu/math_private.h: Use it.
66871 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66872 Remove.
66873 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66874 (libc_feholdexcept_setroundl): Remove.
66875 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66876 Remove.
66877 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66878 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66879
66880 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66881
66882 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66883 int64_t instead of long int.
66884 (INSERT_WORDS64): Likwise.
66885
66886 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
66887
66888 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66889 _Unwind_GetCFA return to _Unwind_Ptr first.
66890
66891 2012-03-19 Joseph Myers <joseph@codesourcery.com>
66892
66893 [BZ #13629]
66894 * math/s_clog.c: Include <float.h>.
66895 (__clog): Scale large or subnormal inputs.
66896 * math/s_clogf.c: Likewise.
66897 * math/s_clogl.c: Likewise.
66898 * math/s_clog10.c: Include <float.h>.
66899 (M_LOG10_2): Define.
66900 (__clog10): Scale large or subnormal inputs.
66901 * math/s_clog10f.c: Likewise.
66902 * math/s_clog10l.c: Likewise.
66903 * math/libm-test.inc (clog_test): Add more tests.
66904 (clog10_test): Likewise.
66905 * sysdeps/i386/fpu/libm-test-ulps: Update.
66906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66907
66908 [BZ #11451]
66909 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66910 x and y.
66911 * math/libm-test.inc (atan2_test): Add another test.
66912
66913 * Makerules (common-objdir-compile): Remove.
66914 * sysdeps/unix/Makefile (config-generated): Do not add
66915 $(unix-generated) to variable.
66916 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66917 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66918 Remove rule.
66919 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66920 Likewise.
66921 [generic bits/local_lim.h] (before-compile): Do not append to
66922 variable.
66923 [generic bits/local_lim.h] (common-generated): Likewise.
66924 [generic sys/param.h] (before-compile): Do not append to variable.
66925 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66926 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66927 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66928 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66929 include.
66930 [generic sys/param.h] (sys/param.h-includes): Remove variable.
66931 [generic sys/param.h] (sys/param.h-includes): Remove rule.
66932 [generic sys/param.h] ($(addprefix
66933 $(common-objpfx),$(sys/param.h-includes))): Likewise.
66934 [generic sys/param.h] (common-generated): Do not append to
66935 variable.
66936 [generic sys/param.h] (sysdep_headers): Likewise.
66937 [generic bits/errno.h] (before-compile): Do not append to
66938 variable.
66939 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66940 rule.
66941 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66942 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66943 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66944 [generic bits/errno.h] (common-generated): Do not append to
66945 variable.
66946 [generic bits/ioctls.h] (before-compile): Do not append to
66947 variable.
66948 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66949 rule.
66950 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66951 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66952 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66953 rule.
66954 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66955 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66956 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66957 [generic bits/ioctls.h] (common-generated): Do not append to
66958 variable.
66959 [generic sys/syscall.h] (syscall.h): Remove variable.
66960 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66961 rule.
66962 [generic sys/syscall.h] (before-compile): Do not append to
66963 variable.
66964 [generic sys/syscall.h] (common-generated): Likewise.
66965 * sysdeps/unix/errnos-tmpl.c: Remove file.
66966 * sysdeps/unix/errnos.awk: Likewise.
66967 * sysdeps/unix/ioctls-tmpl.c: Likewise.
66968 * sysdeps/unix/ioctls.awk: Likewise.
66969 * sysdeps/unix/mk-local_lim.c: Likewise.
66970 * sysdeps/unix/snarf-ioctls: Likewise.
66971
66972 2012-03-19 Richard Henderson <rth@twiddle.net>
66973
66974 * sysdeps/i386/fpu/fenv_private.h: New file.
66975 * sysdeps/i386/fpu/math_private.h: Use it.
66976 (math_opt_barrier, math_force_eval): Remove.
66977 (libc_feholdexcept_setround_53bit): Remove.
66978 (libc_feupdateenv_53bit): Remove.
66979 * sysdeps/x86_64/fpu/math_private.h: Likewise.
66980 (math_opt_barrier, math_force_eval): Remove.
66981 (libc_feholdexcept): Remove.
66982 (libc_feholdexcept_setround): Remove.
66983 (libc_fetestexcept, libc_fesetenv): Remove.
66984 (libc_feupdateenv_test): Remove.
66985 (libc_feupdateenv, libc_feholdsetround): Remove.
66986 (libc_feresetround): Remove.
66987
66988 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66989 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66990
66991 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66992 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66993 (libc_feupdateenv_testl): New.
66994 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66995 (libc_feupdateenv_testf): New.
66996 (libc_feupdateenv): Use libc_feupdateenv_test.
66997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66998 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66999
67000 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67001 (libc_feholdsetroundf, libc_feholdsetroundl): New.
67002 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67003 (libc_feresetround_noex): New.
67004 (libc_feresetround_noexf): New.
67005 (libc_feresetround_noexl): New.
67006 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67007 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67008 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67009 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67010 SET_RESTORE_ROUND.
67011 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67013 (__cos): Likewise.
67014 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67015 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67016 SET_RESTORE_ROUND_NOEX.
67017 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67018 SET_RESTORE_ROUND_NOEXF.
67019 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67020 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67021 (libc_feholdsetroundf): New.
67022 (libc_feresetround, libc_feresetroundf): New.
67023
67024 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67025 (libc_feholdexcept_setround_53bit): Convert from macro to function.
67026 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
67027
67028 * sysdeps/generic/math_private.h: Include <fenv.h>.
67029 (default_libc_feholdexcept): New.
67030 (default_libc_feholdexcept_setround): New.
67031 (default_libc_fesetenv, default_libc_feupdateenv): New.
67032 (libc_feholdexcept): Only define if undefined.
67033 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67034 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67035 (libc_feholdexcept_setroundl): Likewise.
67036 (libc_feholdexcept_setround_53bit): Likewise.
67037 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67038 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67039 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67040 (libc_feupdateenv_53bit): Likewise.
67041 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67042 (libc_feholdexcept): Convert from macro to inline function.
67043 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67044 (libc_fesetenv, libc_feupdateenv): Likewise.
67045
67046 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67047 not previously defined.
67048 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67049 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67050 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67051 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67052 * sysdeps/ieee754/flt-32/math_private.h: New file.
67053 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67054 math_private.h below SET_FLOAT_WORD.
67055 (__isnan, __isinf_ns, __finite): Remove.
67056 (__isnanf, __isinf_nsf, __finitef): Remove.
67057
67058 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
67059
67060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67061
67062 2012-03-17 David S. Miller <davem@davemloft.net>
67063
67064 [BZ #6471]
67065 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67066 for 2.16.
67067
67068 2012-03-16 David S. Miller <davem@davemloft.net>
67069
67070 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67071 warnings.
67072
67073 [BZ #6471]
67074 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67075 properly.
67076 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67077 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67078 sysdep_routines when subdir is sysvipc.
67079 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67080 __getshmlba helper.
67081
67082 * sysdeps/sparc/fpu/libm-test/ulps: Update.
67083
67084 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67085
67086 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67087 [__LP64__].
67088
67089 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67090
67091 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67092 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67093 (__lround): Renamed to ...
67094 (__llround): This. Replace long int with long long int.
67095 Define lround functions as aliases of llround functions.
67096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67097
67098 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67099
67100 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67101 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
67102 adresses to uintptr_t. Replace "long int" and "unsigned long
67103 int" with "greg_t" on va_arg.
67104
67105 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67106
67107 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67108 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67109
67110 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67111 Move e_machine check before EI_CLASS check. Handle x32
67112 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67113 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67114 SKIP_EM_IA_64 and include
67115 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67116
67117 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67118 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67119 (add_system_dir): New macro.
67120
67121 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67122 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67123
67124 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67125
67126 [BZ #2551]
67127 [BZ #2552]
67128 [BZ #2553]
67129 [BZ #2554]
67130 [BZ #2562]
67131 [BZ #2563]
67132 [BZ #2565]
67133 [BZ #2566]
67134 [BZ #2576]
67135 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67136 (y0): Likewise.
67137 * math/w_j0f.c (j0f): Likewise.
67138 (y0f): Likewise.
67139 * math/w_j0l.c (__j0l): Likewise.
67140 (__y0l): Likewise.
67141 * math/w_j1.c (j1): Likewise.
67142 (y1): Likewise.
67143 * math/w_j1f.c (j1f): Likewise.
67144 (y1f): Likewise.
67145 * math/w_j1l.c (__j1l): Likewise.
67146 (__y1l): Likewise.
67147 * math/w_jn.c (jn): Likewise.
67148 (yn): Likewise.
67149 * math/w_jnf.c (jnf): Likewise.
67150 (ynf): Likewise.
67151 * math/w_jnl.c (__jnl): Likewise.
67152 (__ynl): Likewise.
67153 * math/libm-test.inc (j0_test): Add more tests.
67154 (j1_test): Likewise.
67155 (jn_test): Likewise. Add trailing semicolon to existing test.
67156 (y0_test): Likewise.
67157 (y1_test): Likewise.
67158 * sysdeps/i386/fpu/libm-test-ulps: Update.
67159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67160
67161 [BZ #13851]
67162 [BZ #13854]
67163 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67164 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67165 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67167 (__tanl): Set errno for infinite argument.
67168 * sysdeps/i386/fpu/mptan.c: Remove.
67169 * sysdeps/i386/fpu/s_tan.S: Likewise.
67170 * sysdeps/i386/fpu/s_tanl.S: Likewise.
67171 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67172 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67173 * math/libm-test.inc (tan_test): Add more tests and enable more
67174 tests for double and long double.
67175 * sysdeps/i386/fpu/libm-test-ulps: Update.
67176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67177
67178 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
67179
67180 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67181 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67182
67183 2012-03-16 Roland McGrath <roland@hack.frob.com>
67184
67185 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67186 * configure.in: Use it for both main tree and add-ons.
67187 * configure: Regenerated.
67188
67189 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67190
67191 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67192
67193 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67194
67195 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67196 in comment.
67197
67198 [BZ #13851]
67199 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67200 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67201 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67202 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67203 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67204 infinite argument.
67205 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67207 != 0 for prec == 2.
67208 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67209 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67210 * sysdeps/i386/fpu/s_cosl.S: Likewise.
67211 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67212 * sysdeps/i386/fpu/s_sinl.S: Likewise.
67213 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67214 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67215 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67216 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67217 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67218 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67219 * math/libm-test.inc (cos_test): Add more tests and enable more
67220 tests for long double.
67221 (sin_test): Likewise.
67222 (sincos_test): Likewise.
67223 * sysdeps/i386/fpu/libm-test-ulps: Update.
67224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67225
67226 2012-03-16 David S. Miller <davem@davemloft.net>
67227
67228 * sysdeps/sparc/fpu/math_private.h: New file.
67229
67230 2012-03-15 David S. Miller <davem@davemloft.net>
67231
67232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67233 file.
67234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67236 file.
67237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67243 sysdep routines.
67244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67245
67246 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67247 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67248
67249 * sysdeps/sparc/sparc-ifunc.h: New file.
67250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67251 sparc-ifunc.h
67252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67254 Likewise.
67255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67256 Likewise.
67257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67261 Likewise.
67262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67267 Likewise.
67268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67269 Likewise.
67270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67289 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67291 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67294
67295 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67296
67297 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67298 scaling.
67299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67300
67301 2012-03-15 Andreas Jaeger <aj@suse.de>
67302
67303 [BZ #13852]
67304 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67305 ieee754/flt-32 implementation for sin, cos and sincos.
67306 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67307 * sysdeps/i386/fpu/s_cosf.S: Likewise.
67308 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67309 * sysdeps/i386/fpu/s_sinf.S: Likewise.
67310 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67311 ieee754/flt-32 implementation for tan.
67312
67313 * math/libm-test.inc (cos_test): Enable some large input tests for
67314 float as well
67315 (sin_test): Likewise.
67316 (sincos_test): Likewise.
67317 (tan_test): Add tests for large input.
67318
67319 * sysdeps/i386/fpu/libm-test-ulps: Update.
67320
67321 2012-03-15 Andreas Jaeger <aj@suse.de>
67322
67323 [BZ #13658]
67324 * math/libm-test.inc (cos_test): Add more test cases.
67325 (sin_test): Likewise.
67326 (sincos_test): Likewise.
67327
67328 2012-03-15 Andreas Jaeger <aj@suse.de>
67329
67330 [BZ #13837]
67331 * math/libm-test.inc (cos_test): Add a test case for large input
67332 value.
67333 (sin_test): Likewise.
67334 (sincos_test): Likewise.
67335
67336 2012-03-15 Andreas Jaeger <aj@suse.de>
67337 Joseph Myers <joseph@codesourcery.com>
67338
67339 [BZ #13658]
67340 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67341 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67342 * sysdeps/i386/fpu/branred.c: Likewise.
67343 * sysdeps/i386/fpu/dosincos.c: Likewise.
67344 * sysdeps/i386/fpu/mpa.c: Likewise.
67345 * sysdeps/i386/fpu/s_cos.S: Likewise.
67346 * sysdeps/i386/fpu/s_sin.S: Likewise.
67347 * sysdeps/i386/fpu/s_sincos.S: Likewise.
67348 * sysdeps/i386/fpu/sincos32.c: Likewise.
67349
67350 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
67351 Define.
67352 (libc_feupdateenv_53bit): Define.
67353 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
67354 Define.
67355 (libc_feupdateenv_53bit): Define.
67356
67357 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
67358 53 bit (without extend i386 double precision).
67359
67360 * math/libm-test.inc (sincos_test): Add tests for large input.
67361 (sin): Likewise.
67362 (cos): Likewise.
67363
67364 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
67365
67366 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
67367
67368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67369
67370 2012-03-15 David S. Miller <davem@davemloft.net>
67371
67372 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
67373 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
67374 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
67375 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
67376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
67377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
67378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
67379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
67380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
67381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
67382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
67383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
67384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
67385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
67386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
67387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
67388 file.
67389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
67390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
67391 file.
67392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
67393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
67394 file.
67395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
67396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
67397 file.
67398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
67399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
67400 fmin/fmax sysdep routines.
67401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67402
67403 2012-03-14 David S. Miller <davem@davemloft.net>
67404
67405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
67406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
67407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
67408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
67409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
67410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
67411 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
67412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
67413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
67414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
67415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
67416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
67417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
67418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
67419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
67420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
67421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
67422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
67423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
67424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
67425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
67426 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
67427 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
67428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
67429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
67430 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
67431 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
67432 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
67433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
67434 routines.
67435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
67436 file.
67437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
67438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
67439 file.
67440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
67441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
67442 file.
67443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
67444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
67445 file.
67446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
67447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
67448 file.
67449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
67450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
67451 file.
67452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
67453 file.
67454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
67455 file.
67456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
67457 file.
67458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
67459 New file.
67460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
67461 file.
67462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
67463 file.
67464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
67465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
67466 file.
67467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
67468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
67469 file.
67470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
67471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
67472 file.
67473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
67474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
67475 VIS3 routines.
67476
67477 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
67478 New file.
67479
67480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67481
67482 * sysdeps/sparc/configure.in: New file.
67483 * sysdeps/sparc/configure: Generate.
67484 * configure.in (libc_cv_sparc_as_vis3): Substitute.
67485 * configure: Regenerate.
67486 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
67487 * config.make.in (have-as-vis3): New.
67488 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
67489 available use -Av9d instead of -Av9a.
67490 * sysdeps/sparc/sparc64/Makefile: Likewise.
67491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
67492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
67493 New file.
67494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
67495 file.
67496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
67497 New file.
67498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
67499 file.
67500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
67501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
67502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
67503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
67504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
67505
67506 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
67507 fzeros/fnegs to load 0x80000000 into a float register instead of
67508 using the stack.
67509 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
67510
67511 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67512
67513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67514 bits/syscall.h.
67515 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
67516 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
67517 ($(inst_includedir)/bits/syscall.h): Remove rule.
67518 ($(objpfx)bits/syscall.d): Include instead of
67519 $(objpfx)syscall-list.d.
67520 (generated): Change syscall-list.h and syscall-list.d to
67521 bits/syscall.h and bits/syscall.d.
67522
67523 2012-03-14 Roland McGrath <roland@hack.frob.com>
67524
67525 [BZ #13846]
67526 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
67527
67528 2012-03-14 Joseph Myers <joseph@codesourcery.com>
67529
67530 [BZ #13841]
67531 * math/s_csqrt.c: Include <float.h>.
67532 (__csqrt): Scale large or subnormal inputs.
67533 * math/s_csqrtf.c: Likewise.
67534 * math/s_csqrtl.c: Likewise.
67535 * math/libm-test.inc (csqrt_test): Add more tests.
67536 * sysdeps/i386/fpu/libm-test-ulps: Update.
67537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67538
67539 [BZ #13840]
67540 * math/libm-test.inc (hypot_test): Add more tests.
67541
67542 2012-03-13 David S. Miller <davem@davemloft.net>
67543
67544 [BZ #13840]
67545 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
67546 double-precision for the calculation instead of scaling.
67547
67548 2012-03-13 Joseph Myers <joseph@codesourcery.com>
67549
67550 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
67551 manipulate bits before adding and subtracting TWO52[sx].
67552 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
67553 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
67554 Likewise.
67555 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
67556
67557 2012-03-13 David S. Miller <davem@davemloft.net>
67558
67559 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
67560 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
67561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
67562 rtld-global-offsets.h
67563 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67564
67565 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
67566 large parameters.
67567
67568 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
67569
67570 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
67571 'err' in the ifdef scope in which it is actually used.
67572
67573 * nss/nss_db/db-init.c: Include string.h
67574
67575 2012-03-12 David S. Miller <davem@davemloft.net>
67576
67577 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67578 masking out of the most significant byte of random value used.
67579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67580 Fix coding style in previous change.
67581
67582 * sysdeps/unix/sysv/linux/kernel-features.h
67583 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
67584 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
67585 expression.
67586 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
67587 later.
67588
67589 2012-03-11 David S. Miller <davem@davemloft.net>
67590
67591 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67592 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
67593 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
67594 for 'resultvar' otherwise things get truncated on 64-bit.
67595
67596 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67597 Fix masking out of the most significant byte of random value used.
67598
67599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67600
67601 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
67602
67603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67604
67605 2012-03-09 David S. Miller <davem@davemloft.net>
67606
67607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
67608 variables with appropriate CPP guards.
67609 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
67610 from the frame pointer, not the stack pointer. Correct layout
67611 comments. Fix test on resulting framesize and the management of
67612 the outregs buffer for pltexit. Preserve floating point return
67613 values across _dl_call_pltexit call.
67614 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
67615 framesize and the management of the outregs buffer for pltexit.
67616 Preserve floating point return values across _dl_call_pltexit
67617 call.
67618 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
67619 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
67620 (la_sparc64_gnu_pltexit): New functions.
67621 (print_exit): Fix format string for return register value.
67622
67623 2012-03-10 Joseph Myers <joseph@codesourcery.com>
67624
67625 * sunrpc/Makefile (others): Add rpcgen.
67626 ($(objpfx)rpcgen): Remove special build rule and dependency on
67627 libc.
67628 * sunrpc/rpcgen.c: New file.
67629
67630 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
67631
67632 [BZ #13673]
67633 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
67634 * stdio-common/bug-vfprintf-nargs.c: Likewise.
67635 * sysdeps/i386/crti.S: Likewise.
67636 * sysdeps/i386/crtn.S: Likewise.
67637 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
67638 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
67639 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
67640 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
67641 * sysdeps/sh/crti.S: Likewise.
67642 * sysdeps/sh/crtn.S: Likewise.
67643 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67644
67645 [BZ #13673]
67646 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
67647 with URL.
67648 * locale/programs/locfile-kw.gperf: Likewise.
67649 * locale/programs/charmap-kw.h: Regenerated.
67650 * locale/programs/locfile-kw.h: Likewise.
67651
67652 [BZ #13673]
67653 * intl/plural.y: Replace FSF snail mail address with URL.
67654 * intl/plural.c: Regenerated.
67655
67656 2012-03-09 Richard Henderson <rth@twiddle.net>
67657
67658 * include/math_private.h: Remove file.
67659 * math/math_private.h: Move file ...
67660 * sysdeps/generic/math_private.h: ... here.
67661
67662 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
67663 * sysdeps/powerpc/fpu/math_private.h: Likewise.
67664 * sysdeps/x86_64/fpu/math_private.h: Likewise.
67665
67666 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
67667 and <math_private.h>.
67668 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67669 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67670 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67671 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67672 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67673 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
67674 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67676 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
67677 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67679 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67680 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
67681 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67682 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
67683 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
67684 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67685 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
67686 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
67687 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
67688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67689 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
67690 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
67691 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67692 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
67693 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67694 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
67695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67698 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
67699 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67700 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
67701 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67702 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67703 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67704 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67705 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67706 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67707 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67708 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
67709 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67710 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67711 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
67712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
67713 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67714 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
67715 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
67716 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67717 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67718 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
67719 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
67720 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
67721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67722 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
67723 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67724 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
67726 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
67727 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
67728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67729 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
67730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67731 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67732 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
67733 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67734 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67735 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67736 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
67737 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
67738 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67739 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67742 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
67743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
67744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
67745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
67747 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
67748 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
67750 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67751 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67752 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
67754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
67755 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
67756 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
67757 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67758 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67759 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
67760 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67761 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
67762 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
67763 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
67764 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67765 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
67766 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67767 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
67768 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
67769 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
67770 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
67771 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
67772 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67773 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
67774 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
67775 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
67776 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67777 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67778 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67779 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67780 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
67781 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67782 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
67783 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67784 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67785 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67786 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67787 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67788 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67789 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67791 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
67792 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67793 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67794 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67795 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
67796 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67797 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
67798 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
67799 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67800 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67801 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
67802 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
67803 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67804 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67805 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67806 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
67807 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67808 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67809 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67810 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67811 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
67812 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
67813 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67814 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67815 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67816 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
67817 * sysdeps/ieee754/k_standard.c: Likewise.
67818 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
67819 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
67820 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67821 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
67822 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
67823 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
67824 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
67825 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
67826 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
67827 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
67828 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67829 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67830 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67831 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67832 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67833 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67834 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67835 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67836 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67837 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67838 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67839 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67840 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67841 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67842 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67843 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67844 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67845 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67846 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67847 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67848 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67849 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67850 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67851 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67852 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67853 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67854 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67855 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67856 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67857 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67858 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67859 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67860 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67861 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67862 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67863 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67864 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67866 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67867 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67868 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67869 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67870 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67871 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67874 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67875 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67876 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67877 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67878 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67879 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67880 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67881 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67882 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67883 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67884 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67885 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67886 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67887 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67888 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67890 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67891 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67892 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67894 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67895 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67897 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67898 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67899 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67900 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67901 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67902 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67903 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67904 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67905 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67906 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67907 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67908 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67909 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67910 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67911 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67912 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67913 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67914 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67915 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67916 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67917 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67919 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67920 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67921 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67922 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67925 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67926 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67927 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67928 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67929 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67930 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67931 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67932 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67934 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67935 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67936 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67937 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67938 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67939 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67940 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67941 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67942 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67943 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67944 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67945 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67946 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67947 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67948 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67949 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67950 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67951 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67952 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67953 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67954 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67955 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67956 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67957 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67958 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67959 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67960 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67961 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67962 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67964 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67965 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67966 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67967 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67968 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67969 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67970 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67971 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67972 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67973 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67974 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67975 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67976 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67977 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67978 * sysdeps/ieee754/s_lib_version.c: Likewise.
67979 * sysdeps/ieee754/s_matherr.c: Likewise.
67980 * sysdeps/ieee754/s_signgam.c: Likewise.
67981 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67982 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67983 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67984 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67985 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67986 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67987 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67988 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67989 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67990 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67991 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67992 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67993 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67994 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67995 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67996 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67997 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67998 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67999 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68001 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68002
68003 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68004
68005 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68006 * sunrpc/rpc_main.c: Likewise.
68007 * sunrpc/rpc_svcout.c: Likewise.
68008
68009 2012-03-09 David S. Miller <davem@davemloft.net>
68010
68011 * include/math_private.h: New file.
68012
68013 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68014
68015 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68016 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68017 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68018 from <bits/socket_type.h>.
68019 (enum __socket_type): Don't define here.
68020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68022 bits/socket_type.h.
68023
68024 [BZ #13566]
68025 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68026 checking __USE_GNU.
68027
68028 * Makerules ($(inst_includedir)/%.h): New rule.
68029 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68030 (install-others): Remove variable setting.
68031 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68032
68033 2012-03-08 Richard Henderson <rth@twiddle.net>
68034
68035 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68036 from macro to inline function; merge with the
68037 !__LIBC_INTERNAL_MATH_INLINES version.
68038 (__ieee754_sqrtf): Likewise.
68039
68040 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68041 to inline function.
68042 (__rintf, __floor, __floorf): Likewise.
68043
68044 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68045 macro to inline function.
68046 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68047
68048 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68049 not <math/math_private.h>.
68050
68051 2012-03-08 David S. Miller <davem@davemloft.net>
68052
68053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68054 copyright year.
68055 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68056
68057 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
68058
68059 * resolv/gai_misc.c (handle_requests): Fix struct timespec
68060 normalization.
68061 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68062 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68063
68064 2012-03-08 Ulrich Drepper <drepper@gmail.com>
68065
68066 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
68067 be defined individually, they must be defined as a block. Define
68068 S for printing a string instead of hidint the different by using a
68069 macro for adding the 'l'.
68070 * stdio-common/tst-fphex-wide.c: Adjust.
68071
68072 2012-03-07 Marek Polacek <polacek@redhat.com>
68073
68074 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68075
68076 2012-03-08 Marek Polacek <polacek@redhat.com>
68077
68078 [BZ #13806]
68079 * stdio-common/Makefile (tests): Add tst-fphex-wide.
68080 * stdio-common/tst-fphex.c: Define a few macros to make the
68081 test reusable. Use them.
68082 * stdio-common/tst-fphex-wide.c: New file.
68083
68084 2012-03-08 Joseph Myers <joseph@codesourcery.com>
68085
68086 [BZ #6911]
68087 * manual/macros.texi (gnusystems): New macro.
68088 (nongnusystems): Likewise.
68089 (gnulinuxhurdsystems): Likewise.
68090 (gnuhurdsystems): Likewise..
68091 (gnulinuxsystems): Likewise.
68092 * manual/charset.texi: Use new macros or @theglibc{} to refer to
68093 variants of the GNU system, not "GNU system".
68094 * manual/conf.texi: Likewise.
68095 * manual/errno.texi: Likewise. Update example of errno macro
68096 expansion.
68097 * manual/filesys.texi: Likewise.
68098 (getumask): Document as specific to GNU/Hurd.
68099 * manual/install.texi: Likewise. Reword some references to
68100 GNU/Linux.
68101 * manual/intro.texi: Likewise.
68102 * manual/io.texi: Likewise.
68103 (File Name Portability): Detail which constraints are inapplicable
68104 to all GNU systems and which are only inapplicable to GNU/Hurd.
68105 * manual/job.texi: Likewise.
68106 * manual/llio.texi: Likewise.
68107 (O_NOCTTY): Document as present on GNU/Linux.
68108 * manual/maint.texi: Likewise.
68109 * manual/memory.texi: Likewise.
68110 * manual/pattern.texi: Likewise.
68111 * manual/pipe.texi: Likewise.
68112 * manual/process.texi: Likewise.
68113 * manual/resource.texi: Likewise.
68114 (RUSAGE_CHILDREN): Remove statement about specifying a particular
68115 child on GNU/Hurd.
68116 * manual/setjmp.texi: Likewise.
68117 * manual/signal.texi: Likewise.
68118 * manual/startup.texi: Likewise.
68119 * manual/stdio.texi: Likewise.
68120 * manual/terminal.texi: Likewise.
68121 (ONLCR): Document as POSIX.
68122 (OXTABS): Document availability on GNU/Linux as XTABS.
68123 (ONOEOT): Document availability separately from other bits.
68124 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68125 * manual/time.texi: Likewise.
68126 * manual/users.texi: Likewise.
68127 * INSTALL: Regenerated.
68128 * sysdeps/gnu/errlist.c: Regenerated.
68129
68130 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68131 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68132 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
68133 puts.
68134 * configure: Regenerated.
68135
68136 2012-03-07 Joseph Myers <joseph@codesourcery.com>
68137
68138 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68139 default includes instead of AC_HEADER_CHECK.
68140 * sysdeps/i386/configure: Regenerated.
68141
68142 [BZ #10716]
68143 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68144 * math/s_cacoshf.c (__cacoshf): Likewise.
68145 * math/s_cacoshl.c (__cacoshl): Likewise.
68146 * math/s_casinh.c (__casinh): Set signs of result from argument.
68147 * math/s_casinhf.c (__casinhf): Likewise.
68148 * math/s_casinhl.c (__casinhl): Likewise.
68149 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68150 (casinh_test): Add more tests.
68151 * sysdeps/i386/fpu/libm-test-ulps: Update.
68152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68153
68154 2012-03-07 Ulrich Drepper <drepper@gmail.com>
68155
68156 * po/zh_TW.po: Update from translation team.
68157
68158 * login/Makefile (distribute): Remove variable.
68159 * catgets/Makefile: Likewise.
68160 * mach/Makefile: Likewise.
68161 * malloc/Makefile: Likewise.
68162 * misc/Makefile: Likewise.
68163 * iconv/Makefile: Likewise.
68164 * nscd/Makefile: Likewise.
68165 * hurd/Makefile: Likewise.
68166 * manual/Makefile: Likewise.
68167 * locale/Makefile: Likewise.
68168 * intl/Makefile: Likewise.
68169 * conform/Makefile: Likewise.
68170 * nss/Makefile: Likewise.
68171 * time/Makefile: Likewise.
68172 * soft-fp/Makefile: Likewise.
68173 * dirent/Makefile: Likewise.
68174 * gmon/Makefile: Likewise.
68175 * po/Makefile: Likewise.
68176 * rt/Makefile: Likewise.
68177 * socket/Makefile: Likewise.
68178 * math/Makefile: Likewise.
68179 * signal/Makefile: Likewise.
68180 * debug/Makefile: Likewise.
68181 * elf/Makefile: Likewise.
68182 * timezone/Makefile: Likewise.
68183 * stdlib/Makefile: Likewise.
68184 * iconvdata/Makefile: Likewise.
68185 * sunrpc/Makefile: Likewise.
68186 * io/Makefile: Likewise.
68187 * argp/Makefile: Likewise.
68188 * inet/Makefile: Likewise.
68189 * hesiod/Makefile: Likewise.
68190 * grp/Makefile: Likewise.
68191 * csu/Makefile: Likewise.
68192 * wctype/Makefile: Likewise.
68193 * crypt/Makefile: Likewise.
68194 * libio/Makefile: Likewise.
68195 * string/Makefile: Likewise.
68196 * nis/Makefile: Likewise.
68197 * resolv/Makefile: Likewise.
68198 * stdio-common/Makefile: Likewise.
68199 * wcsmbs/Makefile: Likewise.
68200 * dlfcn/Makefile: Likewise.
68201 * posix/Makefile: Likewise.
68202
68203 [BZ #6959]
68204 * timezone/Makefile: Don't install timezone files, just the programs
68205 and scripts.
68206
68207 2012-03-06 Ulrich Drepper <drepper@gmail.com>
68208
68209 * nss/databases.def: Add missing gshadow entry.
68210
68211 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
68212
68213 2012-03-06 Marek Polacek <polacek@redhat.com>
68214
68215 [BZ #13726]
68216 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68217 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68218 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68219 * stdio-common/tst-long-dbl-fphex.c: New file.
68220
68221 2012-03-06 David S. Miller <davem@davemloft.net>
68222
68223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68224 (set_obp_int): New function.
68225 (get_obp_int): New function.
68226 (__get_clockfreq_via_dev_openprom): Likewise.
68227 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68228 Avoid unused variable warnings on 'val' and use builtin_expect.
68229 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68230 __builtin_expect.
68231 (INLINE_CLONE_SYSCALL): Likewise.
68232
68233 2012-03-05 David S. Miller <davem@davemloft.net>
68234
68235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68236
68237 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
68238
68239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68240
68241 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68242 only for |x| >= 40.
68243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68244
68245 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
68246
68247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68248 Replace gettimeofday with __vdso_gettimeofday.
68249
68250 * sysdeps/unix/sysv/linux/x86_64/init-first.c
68251 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68252 __vdso_clock_gettime and __vdso_getcpu.
68253
68254 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68255 time with __vdso_time.
68256
68257 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68258
68259 * manual/lang.texi (size_t): Note types to which size_t may be
68260 equivalent with the GNU C Library, but do not describe when
68261 differences between them are significant.
68262
68263 2012-03-05 Andreas Jaeger <aj@suse.de>
68264
68265 * sysdeps/i386/fpu/libm-test-ulps: Update.
68266
68267 2012-03-05 Joseph Myers <joseph@codesourcery.com>
68268
68269 [BZ #3976]
68270 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68271 (__ieee754_pow): Save and restore rounding mode and use
68272 round-to-nearest for main computations.
68273 * math/libm-test.inc (pow_test_tonearest): New function.
68274 (pow_test_towardzero): Likewise.
68275 (pow_test_downward): Likewise.
68276 (pow_test_upward): Likewise.
68277 (main): Call the new functions.
68278 * sysdeps/i386/fpu/libm-test-ulps: Update.
68279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68280
68281 [BZ #3976]
68282 * math/libm-test.inc (cosh_test_tonearest): New function.
68283 (cosh_test_towardzero): Likewise.
68284 (cosh_test_downward): Likewise.
68285 (cosh_test_upward): Likewise.
68286 (sinh_test_tonearest): Likewise.
68287 (sinh_test_towardzero): Likewise.
68288 (sinh_test_downward): Likewise.
68289 (sinh_test_upward): Likewise.
68290 (main): Call the new functions.
68291 * sysdeps/i386/fpu/libm-test-ulps: Update.
68292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68293
68294 2012-03-05 Tom de Vries <tom@codesourcery.com>
68295
68296 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68297 default stack guard is set in last bytes.
68298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68299
68300 2012-03-05 Kees Cook <keescook@chromium.org>
68301
68302 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68303
68304 [BZ #13656]
68305 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68306 possibly allocate from heap instead of stack.
68307 * stdio-common/bug-vfprintf-nargs.c: New file.
68308 * stdio-common/Makefile (tests): Add nargs overflow test.
68309
68310 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
68311
68312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68313
68314 2012-03-03 Marek Polacek <polacek@redhat.com>
68315
68316 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68317 * math/math_private.h: Likewise.
68318 * stdlib/tst-strtod.c: Likewise.
68319 * sysdeps/i386/i486/bits/atomic.h: Likewise.
68320 * sysdeps/x86_64/bits/atomic.h: Likewise.
68321
68322 2012-03-02 David S. Miller <davem@davemloft.net>
68323
68324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68328 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68329 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68330 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68331 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68332
68333 2012-03-02 Roland McGrath <roland@hack.frob.com>
68334
68335 [BZ #13792]
68336 * manual/examples/README: New file, says the example source files
68337 can be used under GPL>=2.
68338 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68339 line containing just "*/".
68340 * manual/examples/add.c: Add copyright header (GPL>=2).
68341 * manual/examples/argp-ex1.c: Likewise.
68342 * manual/examples/argp-ex2.c: Likewise.
68343 * manual/examples/argp-ex3.c: Likewise.
68344 * manual/examples/argp-ex4.c: Likewise.
68345 * manual/examples/atexit.c: Likewise.
68346 * manual/examples/db.c: Likewise.
68347 * manual/examples/dir.c: Likewise.
68348 * manual/examples/dir2.c: Likewise.
68349 * manual/examples/execinfo.c: Likewise.
68350 * manual/examples/filecli.c: Likewise.
68351 * manual/examples/filesrv.c: Likewise.
68352 * manual/examples/fmtmsgexpl.c: Likewise.
68353 * manual/examples/genpass.c: Likewise.
68354 * manual/examples/inetcli.c: Likewise.
68355 * manual/examples/inetsrv.c: Likewise.
68356 * manual/examples/isockad.c: Likewise.
68357 * manual/examples/longopt.c: Likewise.
68358 * manual/examples/memopen.c: Likewise.
68359 * manual/examples/memstrm.c: Likewise.
68360 * manual/examples/mkfsock.c: Likewise.
68361 * manual/examples/mkisock.c: Likewise.
68362 * manual/examples/mygetpass.c: Likewise.
68363 * manual/examples/pipe.c: Likewise.
68364 * manual/examples/popen.c: Likewise.
68365 * manual/examples/rprintf.c: Likewise.
68366 * manual/examples/search.c: Likewise.
68367 * manual/examples/select.c: Likewise.
68368 * manual/examples/setjmp.c: Likewise.
68369 * manual/examples/sigh1.c: Likewise.
68370 * manual/examples/sigusr.c: Likewise.
68371 * manual/examples/stpcpy.c: Likewise.
68372 * manual/examples/strdupa.c: Likewise.
68373 * manual/examples/strftim.c: Likewise.
68374 * manual/examples/strncat.c: Likewise.
68375 * manual/examples/subopt.c: Likewise.
68376 * manual/examples/swapcontext.c: Likewise.
68377 * manual/examples/termios.c: Likewise.
68378 * manual/examples/testopt.c: Likewise.
68379 * manual/examples/testpass.c: Likewise.
68380 * manual/examples/timeval_subtract.c: Likewise.
68381
68382 [BZ #13792]
68383 * manual/time.texi (Elapsed Time): Move timeval_subtract example
68384 function to ...
68385 * manual/timeval_subtract.c.texi: ... here, new file.
68386
68387 2012-03-02 David S. Miller <davem@davemloft.net>
68388
68389 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
68390
68391 2012-03-02 Joseph Myers <joseph@codesourcery.com>
68392
68393 [BZ #3976]
68394 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
68395 (__sin): Save and restore rounding mode and use round-to-nearest
68396 for all computations.
68397 (__cos): Save and restore rounding mode and use round-to-nearest
68398 for all computations.
68399 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
68400 <fenv.h>.
68401 (tan): Save and restore rounding mode and use round-to-nearest for
68402 all computations.
68403 * math/libm-test.inc (cos_test_tonearest): New function.
68404 (cos_test_towardzero): Likewise.
68405 (cos_test_downward): Likewise.
68406 (cos_test_upward): Likewise.
68407 (sin_test_tonearest): Likewise.
68408 (sin_test_towardzero): Likewise.
68409 (sin_test_downward): Likewise.
68410 (sin_test_upward): Likewise.
68411 (tan_test_tonearest): Likewise.
68412 (tan_test_towardzero): Likewise.
68413 (tan_test_downward): Likewise.
68414 (tan_test_upward): Likewise.
68415 (main): Call the new functions.
68416 * sysdeps/i386/fpu/libm-test-ulps: Update.
68417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68418
68419 [BZ #10135]
68420 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
68421 small n, then large n, before computing and testing k+n.
68422 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
68423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
68424 Likewise.
68425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
68426 Likewise.
68427 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
68428 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
68429 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
68430 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
68431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
68432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
68433 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
68434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
68435 * math/libm-test.inc (scalbn_test): Add more tests.
68436 (scalbln_test): Likewise.
68437
68438 * manual/filesys.texi (mode_t): Describe constraints on size and
68439 signedness, not exact equivalence to a particular type.
68440 (ino_t): Likewise.
68441 (ino64_t): Likewise.
68442 (dev_t): Likewise.
68443 (nlink_t): Likewise.
68444 (blkcnt_t): Likewise.
68445 (blkcnt64_t): Likewise.
68446 * manual/llio.texi (off_t): Likewise.
68447
68448 [BZ #3976]
68449 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
68450 (__ieee754_exp): Save and restore rounding mode and use
68451 round-to-nearest for all computations.
68452 * math/libm-test.inc (exp_test_tonearest): New function.
68453 (exp_test_towardzero): Likewise.
68454 (exp_test_downward): Likewise.
68455 (exp_test_upward): Likewise.
68456 (main): Call the new functions.
68457 * sysdeps/i386/fpu/libm-test-ulps: Update.
68458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68459
68460 2012-03-01 Chris Demetriou <cgd@google.com>
68461
68462 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
68463 have predictable order.
68464
68465 2012-03-01 David S. Miller <davem@davemloft.net>
68466
68467 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
68468
68469 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
68470 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
68471 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
68472 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
68473
68474 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
68475 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
68476 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
68477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
68478 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
68479 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
68480 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
68481 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
68482 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
68483
68484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68485
68486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
68487 * sysdeps/sparc/fpu/libm-test-ulps: to here.
68488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
68489
68490 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
68491 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68493 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
68494 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
68495 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
68496 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
68497 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68498 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68499 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
68500 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
68501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68506 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
68507 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
68508 * sysdeps/sparc/elf/configure: Regenerated.
68509
68510 2012-03-01 Joseph Myers <joseph@codesourcery.com>
68511
68512 * configure.in (AS, LD): Require binutils 2.20 or later.
68513 * configure: Regenerated.
68514 * manual/install.texi (Tools for Compilation): Give binutils 2.20
68515 as required minimum version.
68516 * INSTALL: Regenerated.
68517
68518 [BZ #2541]
68519 [BZ #4108]
68520 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
68521 before squaring exponent.
68522 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
68523 bottom long double and 27 bits of top long double before squaring
68524 exponent.
68525 * math/libm-test.inc (erfc_test): Add more tests.
68526 * sysdeps/i386/fpu/libm-test-ulps: Update.
68527 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68529
68530 2012-03-01 Kai Tietz <ktietz@redhat.com>
68531
68532 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
68533 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
68534 containing bit-fields.
68535 * soft-fp/extended.h (_FP_UNION_E): Likewise.
68536 * soft-fp/single.h (_FP_UNION_S): Likewise.
68537 * soft-fp/double.h (_FP_UNION_D): Likewise.
68538
68539 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68540
68541 [BZ #13786]
68542 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
68543 not include ../strcmp.S.
68544 [USE_AS_STRNCASECMP_L]: Likewise.
68545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
68546 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
68547 * sysdeps/i386/i686/multiarch/strncase_l-c.c
68548 (__strncasecmp_l_ia32): Define as alias to
68549 __strncasecmp_l_nonascii.
68550
68551 [BZ #5794]
68552 * math/libm-test.inc (expm1_test): Add test for bug 5794.
68553 * sysdeps/i386/fpu/libm-test-ulps: Update.
68554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68555
68556 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
68557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68558
68559 2012-02-29 Jeff Law <law@redhat.com>
68560
68561 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
68562 out of bounds read.
68563
68564 2012-02-29 Marek Polacek <polacek@redhat.com>
68565
68566 [BZ #13706]
68567 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
68568 * elf/Makefile: Add rules to run tst-unused-dep.out.
68569
68570 2012-02-28 David S. Miller <davem@davemloft.net>
68571
68572 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
68573 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
68574 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
68575 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
68576 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
68577 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
68578
68579 2012-02-29 Joseph Myers <joseph@codesourcery.com>
68580
68581 * math/libm-test.inc (llround_test): Move one test from
68582 lround_test. Use TEST_f_L in moved test.
68583 (lround_test): Move misplaced test to llround_test. Add testcase
68584 from bug 2561.
68585
68586 2012-02-28 Ulrich Drepper <drepper@gmail.com>
68587
68588 * sysdeps/x86_64/fpu/e_expf.S: New file.
68589 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
68590
68591 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
68592
68593 [BZ #13637]
68594 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
68595 of remain_len that may cause incomplete multi-byte character and
68596 false match.
68597 * posix/bug-regex33.c: New file.
68598 * posix/Makefile (tests): Add bug-regex33.
68599
68600 2012-02-28 Joseph Myers <joseph@codesourcery.com>
68601
68602 * manual/macros.texi: New file.
68603 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
68604 * manual/libc.texinfo: Include macros.texi.
68605 * manual/creatute.texi: Likewise.
68606 * manual/install.texi: Likewise.
68607 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
68608 @glibcadj{} in references to the GNU C Library.
68609 * manual/charset.texi: Likewise.
68610 * manual/conf.texi: Likewise.
68611 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
68612 when not using those macros.
68613 * manual/creature.texi: Likewise.
68614 * manual/crypt.texi: Likewise.
68615 * manual/errno.texi: Likewise.
68616 * manual/filesys.texi: Likewise.
68617 * manual/header.texi: Likewise.
68618 * manual/install.texi: Likewise.
68619 * manual/intro.texi: Likewise.
68620 * manual/io.texi: Likewise.
68621 * manual/job.texi: Likewise.
68622 * manual/lang.texi: Likewise.
68623 * manual/libc.texiinfo: Likewise.
68624 * manual/llio.texi: Likewise.
68625 * manual/locale.texi: Likewise.
68626 * manual/maint.texi: Likewise.
68627 * manual/math.texi: Likewise.
68628 * manual/memory.texi: Likewise.
68629 * manual/message.texi: Likewise.
68630 * manual/nss.texi: Likewise.
68631 * manual/pattern.texi: Likewise.
68632 * manual/process.texi: Likewise.
68633 * manual/resource.texi: Likewise.
68634 * manual/search.texi: Likewise.
68635 * manual/setjmp.texi: Likewise.
68636 * manual/signal.texi: Likewise.
68637 * manual/socket.texi: Likewise.
68638 * manual/startup.texi: Likewise.
68639 * manual/stdio.texi: Likewise.
68640 * manual/string.texi: Likewise.
68641 * manual/sysinfo.texi: Likewise.
68642 * manual/syslog.texi: Likewise.
68643 * manual/terminal.texi: Likewise.
68644 * manual/time.texi: Likewise.
68645 * manual/users.texi: Likewise.
68646 * INSTALL: Regenerated.
68647 * NOTES: Regenerated.
68648 * sysdeps/gnu/errlist.c: Regenerated.
68649
68650 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
68651
68652 * include/dirent.h: Include <dirstream.h> before
68653 <dirent/dirent.h>.
68654
68655 2012-02-28 David S. Miller <davem@davemloft.net>
68656
68657 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
68658 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
68659 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
68660 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
68661
68662 2012-02-27 David S. Miller <davem@davemloft.net>
68663
68664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
68665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
68666 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
68667 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
68668
68669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
68670 frame pointer instead of stack pointer relative arg slot.
68671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68672 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68673 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68674
68675 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
68676
68677 [BZ #3992]
68678 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
68679
68680 2012-02-27 David S. Miller <davem@davemloft.net>
68681
68682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
68683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
68684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
68686 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
68687 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
68688 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
68689 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
68690
68691 2012-02-27 Joseph Myers <joseph@codesourcery.com>
68692
68693 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
68694 later. Allow versions 5-9.
68695 * configure: Regenerated.
68696 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
68697 required minimum version and 4.6 as recommended version. Do not
68698 mention bugs in GCC 2.7 and 2.8.
68699 * INSTALL: Regenerated.
68700
68701 2012-02-27 David S. Miller <davem@davemloft.net>
68702
68703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
68704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
68705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
68706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
68707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
68708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
68709 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
68710 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
68711
68712 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
68713 manipulate bits before adding and subtracting TWO112[sx].
68714 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68715
68716 2012-02-27 Roland McGrath <roland@hack.frob.com>
68717
68718 [BZ #13775]
68719 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
68720 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
68721 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
68722 being in POSIX, because they are in 1003.1-2008.
68723
68724 * rt/tst-aio.c: Include <fcntl.h>.
68725 * rt/tst-aio7.c: Likewise.
68726 * rt/tst-aio64.c: Likewise.
68727
68728 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
68729
68730 2012-02-27 Joseph Myers <joseph@codesourcery.com>
68731
68732 * manual/install.texi (--with-headers): Describe headers as
68733 interface headers, not private headers.
68734 (Specific advice for GNU/Linux systems): Describe use of headers
68735 from "make headers_install", not private headers from older
68736 kernels.
68737 * INSTALL: Regenerated.
68738 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
68739 Change to 2.6.19.
68740 * sysdeps/unix/sysv/linux/configure: Regenerated.
68741
68742 * manual/llio.texi (fclean): Remove documentation.
68743
68744 * manual/Makefile (libc-texi-generated): New variable. Include
68745 version.texi.
68746 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
68747 $(libc-texi-generated), not duplicated list of files.
68748 (version.texi, stamp-version): New rules.
68749 (realclean): Remove $(libc-texi-generated), not individual files
68750 from that list. Do not remove dir-add.texinfo.
68751 * manual/libc.texinfo: Comment out uses of edition numbers and
68752 references to printed manual. Remove last-updated dates.
68753 (EDITION): Comment out.
68754 (ISBN): Likewise.
68755 (VERSION, UPDATED): Remove.
68756 (version.texi): Include.
68757
68758 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
68759
68760 * sysdeps/posix/spawni.c: Include <signal.h>.
68761 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
68762 * sysdeps/pthread/aio_fsync.c: Likewise.
68763
68764 2012-02-26 Ulrich Drepper <drepper@gmail.com>
68765
68766 * conform/Makefile (tests): Run only when not cross-compiling and
68767 when fast-check is not defined.
68768
68769 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
68770 * conform/data/limits.h-data: Fixes for POSIX2008.
68771 * conform/run-conformtest.sh: Run all tests.
68772 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
68773 headers.
68774 * include/bits/dlfcn.h: Likewise.
68775 * include/langinfo.h: Likewise.
68776 * include/monetary.h: Likewise.
68777 * include/sys/poll.h: Likewise.
68778
68779 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
68780 for __USE_GNU.
68781 * posix/spawn.h: Define __need_sigset_t.
68782 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
68783 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
68784 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
68785 to get sigevent_t only.
68786 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
68787 only for __USE_GNU.
68788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68789 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68790 process_vm_writev only for __USE_GNU.
68791 * termios/termios.h: Declare tcgetsid also for POSIX2008.
68792
68793 * conform/Makefile: For now ignore errors from run-conformtest.
68794 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
68795 POSIX to avoid namespace pollution. Don't prepend headers.
68796 * conform/data/aio.h-data: Fixes for POSIX testing.
68797 * conform/data/fcntl.h-data: Likewise.
68798 * conform/data/glob.h-data: Likewise.
68799 * conform/data/grp.h-data: Likewise.
68800 * conform/data/pthread.h-data: Likewise.
68801 * conform/data/pwd.h-data: Likewise.
68802 * conform/data/signal.h-data: Likewise.
68803 * conform/data/spawn.h-data: Likewise.
68804 * conform/data/stdio.h-data: Likewise.
68805 * conform/data/stdlib.h-data: Likewise.
68806 * conform/data/stropts.h-data: Likewise.
68807 * conform/data/sys/mman.h-data: Likewise.
68808 * conform/data/sys/stat.h-data: Likewise.
68809 * conform/data/sys/types.h-data: Likewise.
68810 * conform/data/sys/wait.h-data: Likewise.
68811 * conform/data/time.h-data: Likewise.
68812 * conform/data/unistd.h-data: Likewise.
68813 * conform/data/utime.h-data: Likewise.
68814
68815 * io/sys/stat.h: fchmod was always in POSIX.
68816 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
68817 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
68818 * rt/aio.h: Define __need_timespec before including <time.h>.
68819 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
68820 struct. Add forward declaration of pthread_attr_t and use it in
68821 sigevent.
68822 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68824 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
68825 always remove CLK_TCK definition.
68826
68827 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
68828
68829 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68830
68831 2012-02-25 Ulrich Drepper <drepper@gmail.com>
68832
68833 * conform/run-conformtest.sh: New file.
68834 * conform/Makefile: Run run-conformtest for tests.
68835 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
68836 support.
68837
68838 * conform/data/uchar.h-data: New file.
68839 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68840 * conform/data/arpa/inet.h-data: Likewise.
68841 * conform/data/assert.h-data: Likewise.
68842 * conform/data/complex.h-data: Likewise.
68843 * conform/data/cpio.h-data: Likewise.
68844 * conform/data/ctype.h-data: Likewise.
68845 * conform/data/dirent.h-data: Likewise.
68846 * conform/data/dlfcn.h-data: Likewise.
68847 * conform/data/errno.h-data: Likewise.
68848 * conform/data/fcntl.h-data: Likewise.
68849 * conform/data/float.h-data: Likewise.
68850 * conform/data/fmtmsg.h-data: Likewise.
68851 * conform/data/fnmatch.h-data: Likewise.
68852 * conform/data/ftw.h-data: Likewise.
68853 * conform/data/glob.h-data: Likewise.
68854 * conform/data/grp.h-data: Likewise.
68855 * conform/data/iconv.h-data: Likewise.
68856 * conform/data/inttypes.h-data: Likewise.
68857 * conform/data/langinfo.h-data: Likewise.
68858 * conform/data/libgen.h-data: Likewise.
68859 * conform/data/limits.h-data: Likewise.
68860 * conform/data/locale.h-data: Likewise.
68861 * conform/data/math.h-data: Likewise.
68862 * conform/data/monetary.h-data: Likewise.
68863 * conform/data/mqueue.h-data: Likewise.
68864 * conform/data/ndbm.h-data: Likewise.
68865 * conform/data/net/if.h-data: Likewise.
68866 * conform/data/netdb.h-data: Likewise.
68867 * conform/data/netinet/in.h-data: Likewise.
68868 * conform/data/nl_types.h-data: Likewise.
68869 * conform/data/poll.h-data: Likewise.
68870 * conform/data/pthread.h-data: Likewise.
68871 * conform/data/pwd.h-data: Likewise.
68872 * conform/data/regex.h-data: Likewise.
68873 * conform/data/sched.h-data: Likewise.
68874 * conform/data/search.h-data: Likewise.
68875 * conform/data/semaphore.h-data: Likewise.
68876 * conform/data/setjmp.h-data: Likewise.
68877 * conform/data/signal.h-data: Likewise.
68878 * conform/data/spawn.h-data: Likewise.
68879 * conform/data/stdarg.h-data: Likewise.
68880 * conform/data/stdio.h-data: Likewise.
68881 * conform/data/stdlib.h-data: Likewise.
68882 * conform/data/string.h-data: Likewise.
68883 * conform/data/strings.h-data: Likewise.
68884 * conform/data/stropts.h-data: Likewise.
68885 * conform/data/sys/ipc.h-data: Likewise.
68886 * conform/data/sys/mman.h-data: Likewise.
68887 * conform/data/sys/msg.h-data: Likewise.
68888 * conform/data/sys/resource.h-data: Likewise.
68889 * conform/data/sys/select.h-data: Likewise.
68890 * conform/data/sys/sem.h-data: Likewise.
68891 * conform/data/sys/shm.h-data: Likewise.
68892 * conform/data/sys/socket.h-data: Likewise.
68893 * conform/data/sys/stat.h-data: Likewise.
68894 * conform/data/sys/statvfs.h-data: Likewise.
68895 * conform/data/sys/time.h-data: Likewise.
68896 * conform/data/sys/timeb.h-data: Likewise.
68897 * conform/data/sys/times.h-data: Likewise.
68898 * conform/data/sys/types.h-data: Likewise.
68899 * conform/data/sys/uio.h-data: Likewise.
68900 * conform/data/sys/un.h-data: Likewise.
68901 * conform/data/sys/utsname.h-data: Likewise.
68902 * conform/data/sys/wait.h-data: Likewise.
68903 * conform/data/syslog.h-data: Likewise.
68904 * conform/data/tar.h-data: Likewise.
68905 * conform/data/termios.h-data: Likewise.
68906 * conform/data/utime.h-data: Likewise.
68907 * conform/data/utmpx.h-data: Likewise.
68908 * conform/data/varargs.h-data: Likewise.
68909 * conform/data/wchar.h-data: Likewise.
68910 * conform/data/wctype.h-data: Likewise.
68911 * conform/data/wordexp.h-data: Likewise.
68912
68913 * include/stropts.h: New file.
68914 * include/uchar.h: New file.
68915 * include/aio.h: Changes to allow conformtest.pl to use the headers.
68916 * include/assert.h: Likewise.
68917 * include/ctype.h: Likewise.
68918 * include/dirent.h: Likewise.
68919 * include/dlfcn.h: Likewise.
68920 * include/fcntl.h: Likewise.
68921 * include/fnmatch.h: Likewise.
68922 * include/glob.h: Likewise.
68923 * include/grp.h: Likewise.
68924 * include/libio.h: Likewise.
68925 * include/locale.h: Likewise.
68926 * include/math.h: Likewise.
68927 * include/net/if.h: Likewise.
68928 * include/netdb.h: Likewise.
68929 * include/netinet/in.h: Likewise.
68930 * include/pthread.h: Likewise.
68931 * include/pwd.h: Likewise.
68932 * include/regex.h: Likewise.
68933 * include/sched.h: Likewise.
68934 * include/search.h: Likewise.
68935 * include/setjmp.h: Likewise.
68936 * include/signal.h: Likewise.
68937 * include/stdio.h: Likewise.
68938 * include/stdlib.h: Likewise.
68939 * include/string.h: Likewise.
68940 * include/sys/cdefs.h: Likewise.
68941 * include/sys/mman.h: Likewise.
68942 * include/sys/msg.h: Likewise.
68943 * include/sys/resource.h: Likewise.
68944 * include/sys/select.h: Likewise.
68945 * include/sys/socket.h: Likewise.
68946 * include/sys/stat.h: Likewise.
68947 * include/sys/statvfs.h: Likewise.
68948 * include/sys/time.h: Likewise.
68949 * include/sys/times.h: Likewise.
68950 * include/sys/uio.h: Likewise.
68951 * include/sys/utsname.h: Likewise.
68952 * include/sys/wait.h: Likewise.
68953 * include/termios.h: Likewise.
68954 * include/time.h: Likewise.
68955 * include/ulimit.h: Likewise.
68956 * include/unistd.h: Likewise.
68957 * include/utime.h: Likewise.
68958 * include/wchar.h: Likewise.
68959 * include/wctype.h: Likewise.
68960 * include/wordexp.h: Likewise.
68961
68962 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68963
68964 * time/time.h: TIME_UTC must be a macro.
68965 Make timespec_get available for ISO C11 only as well.
68966
68967 2012-02-24 Ulrich Drepper <drepper@gmail.com>
68968
68969 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68970 Reported by Peng Haitao <penght@cn.fujitsu.com>.
68971
68972 2012-02-24 Joseph Myers <joseph@codesourcery.com>
68973
68974 * configure.in: Use -o not -a in test for unsupported multi-arch.
68975
68976 2012-02-24 Joseph Myers <joseph@codesourcery.com>
68977
68978 * manual/texinfo.tex: Update to version 2012-01-19.16.
68979
68980 2012-02-24 Joseph Myers <joseph@codesourcery.com>
68981
68982 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68983
68984 2012-02-24 Roland McGrath <roland@hack.frob.com>
68985
68986 [BZ #13738]
68987 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68988 * manual/fdl-1.3.texi: New file.
68989 * manual/fdl-1.1.texi: File removed.
68990
68991 [BZ #13738]
68992 * manual/libc.texinfo (FDL_VERSION): New @set.
68993 Use it for mention of FDL in cover text.
68994 (Documentation License): Use it in @include file name.
68995
68996 2012-02-22 Joseph Myers <joseph@codesourcery.com>
68997 Roland McGrath <roland@hack.frob.com>
68998
68999 [BZ #5461]
69000 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69001 (not LONG_LONG_MAX and LONG_LONG_MIN.
69002 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69003 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
69004 name.
69005 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69006
69007 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69008
69009 [BZ #2547]
69010 [BZ #11365]
69011 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69012 manipulate bits before adding and subtracting TWO23[sx].
69013 * math/libm-test.inc (nearbyint_test): Add more tests.
69014
69015 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69016
69017 [BZ #2548]
69018 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69019 bits before adding and subtracting TWO23[sx].
69020 * math/libm-test.inc (rint_test): Add more tests.
69021 (rint_test_tonearest): Likewise.
69022 (rint_test_towardzero): Likewise.
69023 (rint_test_downward): Likewise.
69024 (rint_test_upward: Likewise.
69025
69026 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69027
69028 [BZ #10110]
69029 * include/stdc-predef.h: New file. Extracted from features.h.
69030 * include/features.h: Include stdc-predef.h.
69031 * Makefile (headers): Add stdc-predef.h.
69032 * CONFORMANCE (Compiler limitations): Update.
69033
69034 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69035
69036 * manual/libc.texinfo (VERSION, UPDATED): Revert.
69037
69038 2012-02-21 David S. Miller <davem@davemloft.net>
69039
69040 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69041 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69042
69043 2012-02-20 David S. Miller <davem@davemloft.net>
69044
69045 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69046 using a normal save/restore sequence, rather than allocating a
69047 dummy stack frame just to store a frame pointer and restore.
69048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69049
69050 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69051
69052 * manual/install.texi: Fix stray word in line-wrapped comment.
69053
69054 2012-02-20 David S. Miller <davem@davemloft.net>
69055
69056 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69057 both binutils and gcc support GOTDATA.
69058
69059 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69060 "rd %pc" in the PIC register setup sequences.
69061
69062 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69063 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69064 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69065 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69066 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69068 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69069 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69071 (SYSCALL_ERROR_HANDLER): Likewise.
69072 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69073 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69075 (SYSCALL_ERROR_HANDLER): Likewise.
69076
69077 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69078 (HAVE_GCC_GOTDATA): New.
69079 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69080 relocation support in both binutils and gcc.
69081 * sysdeps/sparc/elf/configure: Regenerate.
69082
69083 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69084 * sysdeps/sparc/sparc32/elf/configure: Delete.
69085 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69086 * sysdeps/sparc/sparc64/elf/configure: Delete.
69087 * sysdeps/sparc/elf/configure.in: New file.
69088 * sysdeps/sparc/elf/configure: Generate.
69089
69090 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69091 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69092 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69093 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69094 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69095
69096 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69097
69098 * manual/install.texi: Do not mention specific glibc version
69099 numbers.
69100 * manual/libc.texinfo (VERSION, UPDATED): Update.
69101 (@copying): Use @copyright{} and range of years.
69102
69103 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69104
69105 [BZ #13695]
69106 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69107 [crti.S not in sysdirs] (generated): Do not append.
69108 [crti.S not in sysdirs] (omit-deps): Likewise.
69109 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69110 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69111 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69112 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69113 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69114 Likewise.
69115 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69116 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69117 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69118 * csu/defs.awk: Remove file.
69119 * sysdeps/generic/initfini.c: Likewise.
69120 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69121 variable.
69122 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69123 Likewise.
69124
69125 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69126
69127 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69128 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69129 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69131 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69132 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69133 <bits/epoll.h>.
69134 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69135 (__EPOLL_PACKED): Define to empty if not defined by
69136 <bits/epoll.h>.
69137 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69139 bits/epoll.h.
69140
69141 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69142
69143 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69144 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69145 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69146 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69147 <bits/timerfd.h>.
69148 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69150 bits/timerfd.h.
69151
69152 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69153
69154 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69155 in C locale.
69156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69157 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69160
69161 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
69162
69163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69164 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69165
69166 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
69167
69168 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69169 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69170 defined.
69171 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69172 Likewise.
69173 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69174 entry for 2.16.
69175
69176 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
69177
69178 * math/w_acos.c: Use non-signaling floating-point comparisons.
69179 * math/w_acosf.c: Likewise.
69180 * math/w_acosh.c: Likewise.
69181 * math/w_acoshf.c: Likewise.
69182 * math/w_acoshl.c: Likewise.
69183 * math/w_acosl.c: Likewise.
69184 * math/w_asin.c: Likewise.
69185 * math/w_asinf.c: Likewise.
69186 * math/w_asinl.c: Likewise.
69187 * math/w_atanh.c: Likewise.
69188 * math/w_atanhf.c: Likewise.
69189 * math/w_atanhl.c: Likewise.
69190 * math/w_exp2.c: Likewise.
69191 * math/w_exp2f.c: Likewise.
69192 * math/w_exp2l.c: Likewise.
69193 * math/w_j0.c: Likewise.
69194 * math/w_j0f.c: Likewise.
69195 * math/w_j0l.c: Likewise.
69196 * math/w_j1.c: Likewise.
69197 * math/w_j1f.c: Likewise.
69198 * math/w_j1l.c: Likewise.
69199 * math/w_jn.c: Likewise.
69200 * math/w_jnf.c: Likewise.
69201 * math/w_log.c: Likewise.
69202 * math/w_log10.c: Likewise.
69203 * math/w_log10f.c: Likewise.
69204 * math/w_log10l.c: Likewise.
69205 * math/w_log2.c: Likewise.
69206 * math/w_log2f.c: Likewise.
69207 * math/w_log2l.c: Likewise.
69208 * math/w_logf.c: Likewise.
69209 * math/w_logl.c: Likewise.
69210 * math/w_sqrt.c: Likewise.
69211 * math/w_sqrtf.c: Likewise.
69212 * math/w_sqrtl.c: Likewise.
69213 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69214 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69215 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69216 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69217 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69218
69219 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69220
69221 [BZ #9739]
69222 * manual/string.texi (strnlen): Use correct parameter name in
69223 equivalent expression.
69224
69225 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69226
69227 [BZ #11174]
69228 * manual/users.texi (seteuid): Consistently use neweuid for
69229 argument name.
69230
69231 2012-02-19 Joseph Myers <joseph@codesourcery.com>
69232
69233 [BZ #13704]
69234 * manual/nss.texi (Services in the NSS configuration): Correct
69235 list of services in example configuration file.
69236
69237 2012-02-19 Nick Bowler <nbowler@draconx.ca>
69238
69239 [BZ #11322]
69240 * manual/arith.texi: Remove statements about negative zero
69241 behaving identically to zero.
69242
69243 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69244
69245 [BZ #5993]
69246 * manual/install.texi: Do not document upgrading from libc5.
69247
69248 2012-02-18 Joseph Myers <joseph@codesourcery.com>
69249
69250 [BZ #4596]
69251 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69252
69253 2012-02-18 David S. Miller <davem@davemloft.net>
69254
69255 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69256 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69257 %o7 across the call.
69258 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69259 instead.
69260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69261 SETUP_PIC_REG_LEAF.
69262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69263 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69264 * sysdeps/sparc/crtn.S: Likewise.
69265
69266 2012-02-17 Ulrich Drepper <drepper@gmail.com>
69267
69268 * aout/Makefile: Remove.
69269
69270 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
69271
69272 [BZ #13058]
69273 * manual/examples/argp-ex1.c (main): Format definition in GNU
69274 style.
69275 * manual/examples/argp-ex2.c (main): Likewise.
69276 * manual/examples/argp-ex3.c (main): Likewise.
69277 * manual/examples/argp-ex4.c (main): Likewise.
69278 * manual/examples/longopt.c (main): Use new-style prototype
69279 definition.
69280 * manual/examples/strncat.c (main): Specify return type and use
69281 (void) for arguments.
69282 * manual/examples/subopt.c (main): Use char **argv argument.
69283
69284 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69285
69286 [BZ #5077]
69287 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69288 rounding modes.
69289
69290 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
69291
69292 [BZ #6907]
69293 * manual/string.texi (strchr): Change when strchrnul is
69294 recommended.
69295
69296 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
69297
69298 [BZ #174]
69299 * manual/locale.texi (setlocale): Document LOCPATH.
69300
69301 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69302
69303 [BZ #10210]
69304 * manual/process.texi (execle): Move @dots{} before last argument.
69305
69306 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
69307
69308 [BZ #12047]
69309 * manual/charset.texi (Generic Charset Conversion): Fix typo
69310 (LC_TYPE -> LC_CTYPE).
69311
69312 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
69313
69314 [BZ #5805]
69315 * manual/arith.texi (scalbn): Use @var{} on parameter names.
69316 (scalbnf): Likewise.
69317 (scalbnl): Likewise.
69318 (scalbln): Likewise.
69319 (scalblnf): Likewise.
69320 (scalblnl): Likewise.
69321 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69322 (vwarnx): Likewise.
69323 (verr): Likewise.
69324 (verrx): Likewise.
69325 * manual/filesys.texi (telldir): Use braces around return type.
69326 * manual/llio.texi (mmap): Add space after comma.
69327 (mmap64): Likewise.
69328 * manual/math.texi (jn): Use @var{} on parameter names.
69329 (jnf): Likewise.
69330 (jnl): Likewise.
69331 (yn): Likewise.
69332 (ynf): Likewise.
69333 (ynl): Likewise.
69334 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69335 line.
69336 * manual/resource.texi (ulimit): Use @dots{} instead of literal
69337 "...".
69338 (sched_get_priority_min): Remove semicolon on @deftypefun line.
69339 (sched_get_priority_max): Likewise.
69340 * manual/signal.texi (sigvec): Add space after comma.
69341 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69342 names.
69343 (if_indextoname): Likewise.
69344 (if_freenameindex): Likewise.
69345 (sendto): Use ',' instead of '.' in prototype.
69346 * manual/startup.texi (syscall): Use @dots{} instead of literal
69347 "...".
69348 * manual/stdio.texi (__fpending): Separate initial words of
69349 paragraph from @deftypefun line.
69350 * manual/syslog.texi (syslog): Use @dots{} instead of literal
69351 "...".
69352 (vsyslog): Use @var{} on parameter names.
69353 * manual/terminal.texi (stty): Use @var{} on parameter names.
69354 * manual/users.texi (getutmp): Use @var{} on parameter names.
69355 (getutmpx): Likewise.
69356
69357 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69358
69359 [BZ #6884]
69360 * manual/stdio.texi (fopen): Fix typos in description of
69361 ",ccs=STRING".
69362
69363 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
69364
69365 [BZ #4026]
69366 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
69367 get clock_id definition.
69368
69369 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
69370
69371 [BZ #4822]
69372 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
69373 (madvise): Cast every argument to void on its own.
69374
69375 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69376
69377 [BZ #9902]
69378 * manual/startup.texi (Exit Status): Fix typo.
69379
69380 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69381
69382 [BZ #10140]
69383 * manual/examples/argp-ex1.c: Include <stdlib.h>.
69384 * manual/examples/argp-ex2.c: Likewise.
69385 * manual/examples/argp-ex3.c: Likewise.
69386
69387 2012-02-16 Richard Henderson <rth@redhat.com>
69388
69389 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
69390 * sysdeps/s390/s390-32/initfini.c: Remove.
69391 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
69392 * sysdeps/s390/s390-64/initfini.c: Remove.
69393
69394 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69395
69396 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
69397 compiler output for sysdeps/generic/initfini.c.
69398 * sysdeps/sh/elf/initfini.c: Remove file.
69399
69400 2012-02-16 David S. Miller <davem@davemloft.net>
69401
69402 [BZ #11494]
69403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
69404
69405 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
69406 * sysdeps/sparc/crti.S: New file.
69407 * sysdeps/sparc/crtn.S: New file.
69408 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
69409 * sysdeps/sparc/sparc64/Makefile: Likewise.
69410
69411 2012-02-15 Mike Frysinger <vapier@gentoo.org>
69412
69413 [BZ #3335]
69414 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
69415
69416 2012-02-15 Roland McGrath <roland@hack.frob.com>
69417
69418 [BZ #4822]
69419 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
69420
69421 * mach/devstream.c (cookie_io_functions_t): Macro removed.
69422 (write, read, close): Likewise.
69423 Patch by Aurelien Jarno <aurelien@aurel32.net>.
69424
69425 2012-02-15 Joseph Myers <joseph@codesourcery.com>
69426
69427 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
69428 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
69429 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
69430 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
69431 <bits/signalfd.h>.
69432 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
69433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69434 bits/signalfd.h.
69435
69436 2012-02-14 Marek Polacek <polacek@redhat.com>
69437
69438 * sysdeps/x86_64/crti.S: New file.
69439 * sysdeps/x86_64/crtn.S: New file.
69440 * sysdeps/x86_64/elf/initfini.c: Remove file.
69441
69442 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69443
69444 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
69445 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
69446 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
69447 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
69448 <bits/inotify.h>.
69449 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
69450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69451 bits/inotify.h.
69452
69453 2012-02-13 Joseph Myers <joseph@codesourcery.com>
69454
69455 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
69456 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
69457 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
69458 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
69459 <bits/eventfd.h>.
69460 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
69461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69462 bits/eventfd.h.
69463
69464 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
69465
69466 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
69467 __feraiseexcept instead of feraiseexcept.
69468
69469 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
69470 nanosleep invocations.
69471 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
69472 strings, and add error checking for a nanosleep invocations.
69473
69474 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
69475
69476 Replace FSF snail mail address with URLs, as per GNU coding standards.
69477 Most of the snail mail addresses were wrong anyway, and omitting
69478 them makes the source code easier to maintain. Almost all of the
69479 changes are to license notices and to locale LC_IDENTIFICATION
69480 addresses, except for this one:
69481 * manual/libc.texinfo: In "Published by", give the FSF's URL,
69482 not its snail mail address.
69483
69484 2012-02-09 Richard Henderson <rth@twiddle.net>
69485
69486 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
69487 of kernel-features.h.
69488
69489 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
69490
69491 2012-02-08 Marek Polacek <polacek@redhat.com>
69492
69493 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
69494 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
69495 * sysdeps/gnu/_G_config.h: Likewise.
69496 * sysdeps/generic/_G_config.h: Likewise.
69497
69498 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
69499
69500 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
69501 tests.
69502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69503
69504 * sysdeps/powerpc/powerpc32/crti.S: New file.
69505 * sysdeps/powerpc/powerpc32/crtn.S: New file.
69506 * sysdeps/powerpc/powerpc64/crti.S: New file.
69507 * sysdeps/powerpc/powerpc64/crtn.S: New file.
69508
69509 * Makeconfig (have-initfini): Don't set.
69510 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
69511 * configure.in (nopic_initfini): Don't substitute.
69512 * config.h.in (HAVE_INITFINI): Don't #undef.
69513 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
69514 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
69515
69516 2012-02-08 Joseph Myers <joseph@codesourcery.com>
69517
69518 Support crti.S and crtn.S provided directly by architectures.
69519 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
69520 [crti.S in sysdirs] (omit-deps): Likewise.
69521 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
69522 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
69523 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
69524 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
69525 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
69526 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
69527 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
69528 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
69529 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
69530 compiler output for sysdeps/generic/initfini.c.
69531 * sysdeps/i386/elf/Makefile: Remove file.
69532 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
69533
69534 2012-02-07 Marek Polacek <polacek@redhat.com>
69535
69536 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
69537 * sysdeps/gnu/_G_config.h: Likewise.
69538 * sysdeps/mach/hurd/_G_config.h: Likewise.
69539
69540 2012-02-07 Marek Polacek <polacek@redhat.com>
69541
69542 * math/Makefile (tests): Add tst-CMPLX2.
69543 * math/tst-CMPLX2.c: New file.
69544
69545 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
69546
69547 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69548
69549 * math/libm-test.inc (jn_test): Add missing L suffix.
69550
69551 2012-02-06 Marek Polacek <polacek@redhat.com>
69552
69553 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
69554 * sysdeps/i386/fpu/e_powf.S: Likewise.
69555 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69556 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
69558 * sysdeps/i386/fpu/e_pow.S: Likewise.
69559 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
69560 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69561 * sysdeps/i386/fpu/s_expm1.S: Likewise.
69562 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
69563 * sysdeps/i386/fpu/e_log2.S: Likewise.
69564 * sysdeps/i386/fpu/e_log2l.S: Likewise.
69565 * sysdeps/i386/fpu/e_scalb.S: Likewise.
69566 * sysdeps/i386/fpu/e_powl.S: Likewise.
69567 * sysdeps/i386/fpu/s_log1p.S: Likewise.
69568 * sysdeps/i386/fpu/e_log10f.S: Likewise.
69569 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
69570 * sysdeps/i386/fpu/e_logl.S: Likewise.
69571 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
69572 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
69573 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
69574 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
69575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
69576 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69577 * sysdeps/i386/fpu/e_log.S: Likewise.
69578 * sysdeps/i386/fpu/s_cexp.S: Likewise.
69579 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69580 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
69581 * sysdeps/i386/fpu/e_logf.S: Likewise.
69582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
69583 * sysdeps/i386/fpu/e_atanh.S: Likewise.
69584 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
69585 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
69586 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69587 * sysdeps/i386/fpu/e_log10.S: Likewise.
69588 * sysdeps/i386/fpu/s_frexp.S: Likewise.
69589 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69590 * sysdeps/i386/fpu/s_asinh.S: Likewise.
69591 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
69592 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69593 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
69594 * sysdeps/i386/asm-syntax.h: Likewise.
69595 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69596 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69597 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69598 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
69599 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
69600 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69601 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
69602 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
69603 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69604 * sysdeps/powerpc/sysdep.h: Likewise.
69605 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
69606 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69607
69608 2012-02-06 Joseph Myers <joseph@codesourcery.com>
69609
69610 [BZ #411]
69611 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
69612
69613 2012-02-06 Joseph Myers <joseph@codesourcery.com>
69614
69615 * sysdeps/i386/sysdep.h: Include <features.h>.
69616 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
69617 version.
69618
69619 2012-02-05 Joseph Myers <joseph@codesourcery.com>
69620
69621 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
69622 Define.
69623 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
69624 LOAD_PIC_REG_STR.
69625
69626 2012-02-03 Joseph Myers <joseph@codesourcery.com>
69627
69628 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
69629 (SETUP_PIC_REG): Use GET_PC_THUNK.
69630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
69631 macro.
69632
69633 2012-02-03 Joseph Myers <joseph@codesourcery.com>
69634
69635 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
69636 for non-PIC compilation.
69637 (SETUP_PIC_REG): Add .p2align directive.
69638 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
69639 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
69640 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69641 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69642 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
69643 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69644 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
69645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69646 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69647 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69648 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69649 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69650 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69652 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69653 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
69654 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
69655 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69656 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69657 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69659 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
69660 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69661 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
69663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
69664 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
69666 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69667 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69668 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69669 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69670 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69671 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69672 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69673 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69674 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69675 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69676 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69677 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69678 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69679
69680 2012-02-03 Joseph Myers <joseph@codesourcery.com>
69681
69682 * math/tst-CMPLX.c: Include <stdio.h>.
69683
69684 2012-01-31 Joseph Myers <joseph@codesourcery.com>
69685
69686 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69687 float.
69688 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69689 * sysdeps/sparc/bits/mathdef.h: Likewise.
69690
69691 2012-01-31 Marek Polacek <polacek@redhat.com>
69692
69693 * libio/libio.h: Don't define _PARAMS.
69694 * locale/programs/config.h: Don't define PARAMS.
69695 * stdlib/strtol_l.c: Likewise.
69696 (__strtol_l): Remove PARAMS from the prototype.
69697
69698 2012-01-31 Ulrich Drepper <drepper@gmail.com>
69699
69700 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
69701 names. Just use the correct names. Remove unnecessary wrapper
69702 functions.
69703 * malloc/arena.c: Likewise.
69704 * malloc/hooks.c: Likewise.
69705
69706 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
69707 ARENA_TEST says not to. Simplify test for creation of a new arena.
69708 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
69709
69710 2012-01-30 Ulrich Drepper <drepper@gmail.com>
69711
69712 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
69713 into tail calls.
69714 (update_get_addr): New function.
69715 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
69716 GET_ADDR_MODULE parameter.
69717
69718 2012-01-30 Joseph Myers <joseph@codesourcery.com>
69719
69720 * crypt/cert.c: Remove __STDC__ conditionals.
69721 * crypt/crypt-entry.c: Likewise.
69722 * crypt/crypt_util.c: Likewise.
69723 * libio/filedoalloc.c: Likewise.
69724 * libio/fileops.c: Likewise.
69725 * libio/genops.c: Likewise.
69726 * libio/iofclose.c: Likewise.
69727 * libio/iofdopen.c: Likewise.
69728 * libio/iofopen.c: Likewise.
69729 * libio/iofopen64.c: Likewise.
69730 * libio/iogetdelim.c: Likewise.
69731 * libio/iopopen.c: Likewise.
69732 * libio/obprintf.c: Likewise.
69733 * libio/oldfileops.c: Likewise.
69734 * libio/oldiofclose.c: Likewise.
69735 * libio/oldiofdopen.c: Likewise.
69736 * libio/oldiofopen.c: Likewise.
69737 * libio/oldiopopen.c: Likewise.
69738 * libio/wfiledoalloc.c: Likewise.
69739 * libio/wgenops.c: Likewise.
69740 * locale/programs/xmalloc.c: Likewise.
69741 * misc/syslog.c: Likewise.
69742 * stdio-common/xbug.c: Likewise.
69743 * string/memchr.c: Likewise.
69744 * string/memcmp.c: Likewise.
69745 * string/memrchr.c: Likewise.
69746 * string/rawmemchr.c: Likewise.
69747 * sysdeps/posix/getcwd.c: Likewise.
69748 * time/strftime_l.c: Likewise.
69749
69750 2012-01-30 Joseph Myers <joseph@codesourcery.com>
69751
69752 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
69753 * config.make.in (config-cflags-sse2avx): Define.
69754 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
69755 Fix typo.
69756
69757 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
69758
69759 * scripts/config.guess: Update from upstream config git repository.
69760 * scripts/config.sub: Likewise.
69761
69762 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
69763
69764 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
69765 (EM_NUM): Update.
69766 (R_TILEPRO_*, R_TILEGX_*): New macros.
69767
69768 * scripts/firstversions.awk: Fix bug in version range handling.
69769
69770 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
69771
69772 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
69773
69774 * include/sys/epoll.h: New file.
69775 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
69776 libc_hidden_def.
69777
69778 2012-01-28 Ulrich Drepper <drepper@gmail.com>
69779
69780 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
69781 Avoid unnecessary __WORDSIZE == 64 test.
69782 (fmaxf): Use VEX format if possible.
69783 (fmax): Likewise.
69784 (fminf): Likewise.
69785 (fmin): Likewise.
69786
69787 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
69788 * math/math_private.h: Remove libc_fegetround* and
69789 libc_fesetround*.
69790 * sysdeps/i386/configure.in: Check for -msse2avx.
69791 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
69792 also if SSE2AVX is defined.
69793 Remove libc_fegetround* and libc_fesetround*.
69794 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
69795 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
69796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
69797 of HAS_YMM_USABLE.
69798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69799 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69800 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69802 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69803
69804 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
69805
69806 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69807
69808 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
69809 size is not set.
69810 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69811
69812 2012-01-27 Ulrich Drepper <drepper@gmail.com>
69813
69814 [BZ #13618]
69815 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
69816 relocation.
69817 * Makeconfig (libm): Define.
69818 * elf/Makefile: Add rules to build and run tst-relsort1.
69819 * elf/tst-relsort1.c: New file.
69820 * elf/tst-relsort1mod1.c: New file.
69821 * elf/tst-relsort1mod2.c: New file.
69822
69823 2012-01-27 Joseph Myers <joseph@codesourcery.com>
69824
69825 * math/s_ldexp.c: Remove __STDC__ conditionals.
69826 * math/s_ldexpf.c: Likewise.
69827 * math/s_ldexpl.c: Likewise.
69828 * math/s_nextafter.c: Likewise.
69829 * math/s_nexttowardf.c: Likewise.
69830 * math/s_significand.c: Likewise.
69831 * math/s_significandf.c: Likewise.
69832 * math/s_significandl.c: Likewise.
69833 * math/w_jnl.c: Likewise.
69834 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69835 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69836 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69837 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69838 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69840 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69841 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69842 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69843 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69844 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69846 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69847 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69848 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69849 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69850 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69853 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69854 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69855 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69856 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69857 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69858 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69859 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69860 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69861 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69862 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69863 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69864 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69865 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69866 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69867 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69868 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69869 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69870 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69871 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69872 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69873 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69874 * sysdeps/ieee754/k_standard.c: Likewise.
69875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69876 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69877 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69878 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69879 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69880 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69881 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69882 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69883 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69884 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69885 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69886 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69887 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69888 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69889 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69890 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69891 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69892 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69894 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69897 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69898 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69899 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69900 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69902 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69904 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69905 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69906 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69907 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69908 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69910 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69911 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69912 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69913 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69914 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69915 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69917 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69918 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69919 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69924 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69925 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69928 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69929 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69931 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69932 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69933 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69934 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69935 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69936 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69937 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69938 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69939 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69940 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69941 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69942 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69943 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69944 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69945 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69950 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69951 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69952 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69953 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69954 * sysdeps/ieee754/s_matherr.c: Likewise.
69955 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69956 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69959
69960 2012-01-26 Joseph Myers <joseph@codesourcery.com>
69961
69962 * crypt/md5.h: Remove __STDC__ conditionals.
69963 * libio/libioP.h: Likewise.
69964 * locale/programs/config.h: Likewise.
69965 * sysdeps/generic/sysdep.h: Likewise.
69966 * sysdeps/i386/asm-syntax.h: Likewise.
69967 * sysdeps/s390/asm-syntax.h: Likewise.
69968 * sysdeps/unix/sysdep.h: Likewise.
69969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69971
69972 2012-01-26 Joseph Myers <joseph@codesourcery.com>
69973
69974 * libio/libio.h: Remove __STDC__ conditionals.
69975 * malloc/obstack.h: Likewise.
69976 * math/complex.h: Likewise.
69977 * math/math.h: Likewise.
69978 * sysdeps/generic/_G_config.h: Likewise.
69979 * sysdeps/gnu/_G_config.h: Likewise.
69980 * sysdeps/mach/hurd/_G_config.h: Likewise.
69981 * sysdeps/powerpc/bits/mathdef.h: Likewise.
69982 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69983 * sysdeps/sparc/bits/mathdef.h: Likewise.
69984
69985 2012-01-26 Ulrich Drepper <drepper@gmail.com>
69986
69987 [BZ #13583]
69988 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69989 Clean up HAS_* macros.
69990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69991 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69992 possible.
69993 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69994 HAS_AVX.
69995 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69996 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69998 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69999 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70000
70001 2012-01-25 Joseph Myers <joseph@codesourcery.com>
70002
70003 * elf/tst-unique3.cc (gets): Remove declaration.
70004 * elf/tst-unique3lib.cc (gets): Likewise.
70005 * elf/tst-unique3lib2.cc (gets): Likewise.
70006 * elf/tst-unique4.cc (gets): Likewise.
70007
70008 2012-01-24 Ulrich Drepper <drepper@gmail.com>
70009
70010 * include/stdio.h: Add C++ protection. Add gets declarations and
70011 definitions.
70012 * debug/tst-chk1.c: Don't declare gets here.
70013 * stdio-common/tst-gets.c: Likewise.
70014
70015 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70016
70017 * posix/glob: Remove directory.
70018
70019 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70020
70021 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70022
70023 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
70024
70025 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70026 of the non-standard EPFNOSUPPORT.
70027
70028 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
70029
70030 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70031 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70032 ANYWHERE set to 1 only on KERN_NO_SPACE error.
70033
70034 2012-01-21 Ulrich Drepper <drepper@gmail.com>
70035
70036 * wcsmbs/uchar.h: Test __STDC_VERSION__.
70037
70038 2012-01-20 Ulrich Drepper <drepper@gmail.com>
70039
70040 * nscd/aicache.c (addhstaiX): Do not cache negative results of
70041 transient errors.
70042 * nscd/grpcache.c (cache_addgr): Likewise.
70043 * nscd/hstcache.c (cache_addhst): Likewise.
70044 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70045 * nscd/pwdcache.c (cache_addpw): Likewise.
70046 * nscd/servicescache.c (cache_addserv): Likewise.
70047
70048 2012-01-16 Ulrich Drepper <drepper@gmail.com>
70049
70050 * malloc/malloc.c: Various cleanups.
70051 * malloc/hooks.c: Likewise.
70052
70053 * stdlib/Makefile (tests): Add bug-fmtmsg1.
70054 * stdlib/bug-fmtmsg1.c: New file.
70055
70056 * stdlib/fmtmsg.c (init): Add missing unlock.
70057 Patch by Peng Haitao <penght@cn.fujitsu.com>.
70058
70059 2012-01-12 Marek Polacek <polacek@redhat.com>
70060
70061 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70062 and _GNU_SOURCE.
70063
70064 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
70065
70066 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70067 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70068 macro to ensure uniqueness of label name.
70069 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70070 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70071
70072 2012-01-11 Ulrich Drepper <drepper@gmail.com>
70073
70074 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70075
70076 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70077 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70080
70081 2012-01-10 Ulrich Drepper <drepper@gmail.com>
70082
70083 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70084
70085 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70086 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70087 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70088
70089 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70090
70091 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70092 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70093 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70095
70096 * math/bits/math-finite.h: Add ldexp support.
70097
70098 2012-01-10 Marek Polacek <polacek@redhat.com>
70099
70100 * locale/programs/localedef.h (show_archive_content): Add noreturn
70101 attribute.
70102
70103 2012-01-09 Ulrich Drepper <drepper@gmail.com>
70104
70105 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70106
70107 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70108
70109 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70110
70111 * io/Makefile (headers): Add bits/poll2.h.
70112
70113 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
70114
70115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70116 typo #include statement.
70117
70118 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70119
70120 * include/sys/cdefs.h: Define __attribute_alloc_size.
70121 * catgets/gencat.c: Add alloc_size attribute and apply consistently
70122 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70123 * elf/pldd.c: Likewise.
70124 * iconv/iconv_charmap.c: Likewise.
70125 * iconv/iconvconfig.c: Likewise.
70126 * iconv/strtab.c: Likewise.
70127 * locale/programs/locale.c: Likewise.
70128 * locale/programs/localedef.h: Likewise.
70129 * locale/programs/simple-hash.c: Likewise.
70130 * nscd/nscd.h: Likewise.
70131 * nss/makedb.c: Likewise.
70132 * sysdeps/generic/ldconfig.h: Likewise.
70133 * locale/programs/localedef.c: Remove xmalloc prototype.
70134 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70135
70136 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70137
70138 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70139 appropriate.
70140
70141 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70142
70143 * math/Makefile (tests): Add tst-CMPLX.
70144 * math/tst-CMPLX.c: New file.
70145
70146 * math/complex.h (CMPLXL): Fix typo.
70147
70148 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70149 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70150 GLIBC_2.16.
70151 * debug/tst-chk1.c: Add poll and ppoll tests.
70152 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70153 * include/sys/poll.h: Add hidden proto for ppoll.
70154 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70155 * sysdeps/mach/hurd/ppoll.c: Likewise.
70156 * io/ppoll.c: Likewise.
70157 * debug/poll_chk.c: New file.
70158 * debug/ppoll_chk.c: New file.
70159 * include/bits/poll2.h: New file.
70160 * io/bits/poll2.h: New file.
70161
70162 [BZ #1350]
70163 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70164
70165 * configure.in: static is always set to yes. Remove.
70166 * config.make.in: Don't set build-static.
70167 * Makeconfig: Remove use of build-static.
70168 * dlfcn/Makefile: Likewise.
70169 * elf/Makefile: Likewise.
70170 * math/Makefile: Likewise.
70171 * misc/Makefile: Likewise.
70172 * nptl/Makefile: Likewise.
70173 * sysdeps/mach/hurd/Makefile: Likewise.
70174
70175 * configure.in: PWD_P is not used anymore.
70176 * config.make.in: Remove PWD_P entry.
70177
70178 * configure.in: Remove last remnants of RANLIB.
70179 No need to check for signed size_t anymore.
70180 Don't set libc_commonpagesize and libc_relro_required here for Alpha
70181 and IA-64.
70182 Remove __builtin_expect test because we require at least gcc 3.4.
70183 * aclocal.m4: Likewise.
70184
70185 * wcsmbs/mbrtoc16.c: Implement using towc function.
70186 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70187 * wcsmbs/wcsmbsload.c: Likewise.
70188 * iconv/gconv_simple.c: Likewise.
70189 * iconv/gconv_int.h: Likewise.
70190 * iconv/gconv_builtin.h: Likewise.
70191 * iconv/iconv_prog.c: Remove CHAR16 handling.
70192
70193 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70194
70195 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70196
70197 * configure.in: Remove --with-elf and --enable-bounded options.
70198 Dont set base_machine for ia64. More non-ELF conditions removed.
70199 Remove testing and setting of leading underscore information.
70200 * config.make.in (build-bounded): Set to no.
70201 * config.h.in: Remove NO_UNDERSCORES entry.
70202 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
70203 them.
70204 * csu/start.c: Remove !NO_UNDERSCORE code.
70205 * locale/localeinfo.h: Likewise.
70206 * sysdeps/generic/machine-gmon.h: Likewise.
70207 * sysdeps/generic/sysdep.h: Likewise.
70208 * sysdeps/i386/sysdep.h: Likewise.
70209 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70210 * sysdeps/mach/sysdep.h: Likewise.
70211 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70212 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70213 * sysdeps/sh/sysdep.h: Likewise.
70214 * sysdeps/sparc/sparc32/alloca.S: Likewise.
70215 * sysdeps/unix/i386/sysdep.S: Likewise.
70216 * sysdeps/unix/sparc/start.c: Likewise.
70217 * sysdeps/unix/sparc/sysdep.S: Likewise.
70218 * sysdeps/unix/sparc/sysdep.h: Likewise.
70219 * sysdeps/unix/start.c: Likewise.
70220 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70221 * sysdeps/x86_64/sysdep.h: Likewise.
70222
70223 2012-01-07 Ulrich Drepper <drepper@gmail.com>
70224
70225 [BZ #13553]
70226 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70227 for non-gcc.
70228 * argp/argp-fmtstream.h: Use const instead __const.
70229 * argp/argp.h: Likewise.
70230 * assert/assert.h: Likewise.
70231 * bits/fenv.h: Likewise.
70232 * bits/sched.h: Likewise.
70233 * bits/sigset.h: Likewise.
70234 * bits/sigthread.h: Likewise.
70235 * catgets/nl_types.h: Likewise.
70236 * conform/data/pthread.h-data: Likewise.
70237 * crypt/crypt-private.h: Likewise.
70238 * crypt/crypt.h: Likewise.
70239 * crypt/crypt_util.c: Likewise.
70240 * ctype/ctype.h: Likewise.
70241 * debug/execinfo.h: Likewise.
70242 * debug/mbsnrtowcs_chk.c: Likewise.
70243 * debug/mbsrtowcs_chk.c: Likewise.
70244 * debug/wcsnrtombs_chk.c: Likewise.
70245 * debug/wcsrtombs_chk.c: Likewise.
70246 * debug/wcstombs_chk.c: Likewise.
70247 * dirent/dirent.h: Likewise.
70248 * dlfcn/dlfcn.h: Likewise.
70249 * elf/neededtest4.c: Likewise.
70250 * grp/grp.h: Likewise.
70251 * gshadow/gshadow.h: Likewise.
70252 * iconv/gconv.h: Likewise.
70253 * iconv/gconv_int.h: Likewise.
70254 * iconv/gconv_simple.c: Likewise.
70255 * iconv/iconv.h: Likewise.
70256 * iconv/loop.c: Likewise.
70257 * iconv/skeleton.c: Likewise.
70258 * include/aio.h: Likewise.
70259 * include/aliases.h: Likewise.
70260 * include/argz.h: Likewise.
70261 * include/arpa/inet.h: Likewise.
70262 * include/assert.h: Likewise.
70263 * include/dirent.h: Likewise.
70264 * include/dlfcn.h: Likewise.
70265 * include/execinfo.h: Likewise.
70266 * include/fcntl.h: Likewise.
70267 * include/fenv.h: Likewise.
70268 * include/glob.h: Likewise.
70269 * include/grp.h: Likewise.
70270 * include/libintl.h: Likewise.
70271 * include/mntent.h: Likewise.
70272 * include/netdb.h: Likewise.
70273 * include/pwd.h: Likewise.
70274 * include/rpc/netdb.h: Likewise.
70275 * include/sched.h: Likewise.
70276 * include/search.h: Likewise.
70277 * include/shadow.h: Likewise.
70278 * include/signal.h: Likewise.
70279 * include/stdio.h: Likewise.
70280 * include/stdlib.h: Likewise.
70281 * include/string.h: Likewise.
70282 * include/sys/socket.h: Likewise.
70283 * include/sys/stat.h: Likewise.
70284 * include/sys/statfs.h: Likewise.
70285 * include/sys/statvfs.h: Likewise.
70286 * include/sys/syslog.h: Likewise.
70287 * include/sys/time.h: Likewise.
70288 * include/sys/uio.h: Likewise.
70289 * include/time.h: Likewise.
70290 * include/unistd.h: Likewise.
70291 * include/utmp.h: Likewise.
70292 * include/wchar.h: Likewise.
70293 * include/wctype.h: Likewise.
70294 * inet/aliases.h: Likewise.
70295 * inet/arpa/inet.h: Likewise.
70296 * inet/netinet/ether.h: Likewise.
70297 * inet/netinet/in.h: Likewise.
70298 * intl/libintl.h: Likewise.
70299 * io/bits/fcntl2.h: Likewise.
70300 * io/fcntl.h: Likewise.
70301 * io/ftw.h: Likewise.
70302 * io/sys/poll.h: Likewise.
70303 * io/sys/stat.h: Likewise.
70304 * io/sys/statfs.h: Likewise.
70305 * io/sys/statvfs.h: Likewise.
70306 * io/utime.h: Likewise.
70307 * libio/bits/stdio.h: Likewise.
70308 * libio/bits/stdio2.h: Likewise.
70309 * libio/libio.h: Likewise.
70310 * libio/libioP.h: Likewise.
70311 * libio/stdio.h: Likewise.
70312 * locale/lc-ctype.c: Likewise.
70313 * locale/locale.h: Likewise.
70314 * login/utmp.h: Likewise.
70315 * malloc/arena.c: Likewise.
70316 * malloc/malloc.c: Likewise.
70317 * malloc/malloc.h: Likewise.
70318 * malloc/mcheck.c: Likewise.
70319 * malloc/mtrace.c: Likewise.
70320 * math/bits/mathcalls.h: Likewise.
70321 * math/fenv.h: Likewise.
70322 * math/math_private.h: Likewise.
70323 * misc/bits/error.h: Likewise.
70324 * misc/bits/syslog.h: Likewise.
70325 * misc/err.h: Likewise.
70326 * misc/error.h: Likewise.
70327 * misc/fstab.h: Likewise.
70328 * misc/mntent.h: Likewise.
70329 * misc/regexp.h: Likewise.
70330 * misc/search.h: Likewise.
70331 * misc/sgtty.h: Likewise.
70332 * misc/sys/mman.h: Likewise.
70333 * misc/sys/syslog.h: Likewise.
70334 * misc/sys/uio.h: Likewise.
70335 * misc/sys/xattr.h: Likewise.
70336 * misc/ttyent.h: Likewise.
70337 * nis/rpcsvc/ypclnt.h: Likewise.
70338 * nss/nss.h: Likewise.
70339 * posix/bits/unistd.h: Likewise.
70340 * posix/fnmatch.h: Likewise.
70341 * posix/glob.h: Likewise.
70342 * posix/sched.h: Likewise.
70343 * posix/spawn.h: Likewise.
70344 * posix/sys/wait.h: Likewise.
70345 * posix/unistd.h: Likewise.
70346 * posix/wordexp.h: Likewise.
70347 * pwd/pwd.h: Likewise.
70348 * resolv/netdb.h: Likewise.
70349 * resource/sys/resource.h: Likewise.
70350 * rt/aio.h: Likewise.
70351 * rt/bits/mqueue2.h: Likewise.
70352 * rt/mqueue.h: Likewise.
70353 * shadow/shadow.h: Likewise.
70354 * signal/signal.h: Likewise.
70355 * socket/send.c: Likewise.
70356 * socket/sendto.c: Likewise.
70357 * socket/sys/socket.h: Likewise.
70358 * stdio-common/printf.h: Likewise.
70359 * stdlib/bits/stdlib.h: Likewise.
70360 * stdlib/fmtmsg.h: Likewise.
70361 * stdlib/monetary.h: Likewise.
70362 * stdlib/stdlib.h: Likewise.
70363 * stdlib/ucontext.h: Likewise.
70364 * streams/stropts.h: Likewise.
70365 * string/argz.h: Likewise.
70366 * string/bits/string2.h: Likewise.
70367 * string/string.h: Likewise.
70368 * string/strings.h: Likewise.
70369 * sunrpc/rpc/auth.h: Likewise.
70370 * sunrpc/rpc/auth_des.h: Likewise.
70371 * sunrpc/rpc/clnt.h: Likewise.
70372 * sunrpc/rpc/netdb.h: Likewise.
70373 * sunrpc/rpc/pmap_clnt.h: Likewise.
70374 * sunrpc/rpc/xdr.h: Likewise.
70375 * sysdeps/generic/inttypes.h: Likewise.
70376 * sysdeps/generic/net/if.h: Likewise.
70377 * sysdeps/generic/sys/swap.h: Likewise.
70378 * sysdeps/gnu/net/if.h: Likewise.
70379 * sysdeps/gnu/utmpx.h: Likewise.
70380 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
70381 * sysdeps/i386/i486/bits/string.h: Likewise.
70382 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
70383 * sysdeps/s390/bits/string.h: Likewise.
70384 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
70385 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
70386 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
70387 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
70388 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
70389 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
70390 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
70391 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
70392 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
70393 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
70394 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
70395 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
70396 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
70397 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
70398 * sysdeps/unix/sysv/linux/readv.c: Likewise.
70399 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
70400 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
70401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70402 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
70403 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
70404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70405 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
70406 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
70407 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
70408 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
70409 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
70410 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
70411 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70412 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
70413 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
70414 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
70415 * sysvipc/sys/ipc.h: Likewise.
70416 * sysvipc/sys/msg.h: Likewise.
70417 * sysvipc/sys/sem.h: Likewise.
70418 * sysvipc/sys/shm.h: Likewise.
70419 * termios/termios.h: Likewise.
70420 * time/sys/time.h: Likewise.
70421 * time/time.h: Likewise.
70422 * wcsmbs/bits/wchar2.h: Likewise.
70423 * wcsmbs/uchar.h: Likewise.
70424 * wcsmbs/wchar.h: Likewise.
70425 * wctype/wctype.h: Likewise.
70426
70427 [BZ #13551]
70428 * Makeconfig: Remove all but ELF support including AIX support.
70429 * Makerules: Likewise.
70430 * config.h.in: Likewise.
70431 * config.make.in: Likewise.
70432 * configure: Likewise.
70433 * configure.in: Likewise.
70434 * csu/Makefile: Likewise.
70435 * csu/version.c: Likewise.
70436 * debug/Makefile: Likewise.
70437 * dlfcn/Makefile: Likewise.
70438 * elf/Makefile: Likewise.
70439 * extra-lib.mk: Likewise.
70440 * iconv/Makefile: Likewise.
70441 * include/libc-symbols.h: Likewise.
70442 * include/shlib-compat.h: Likewise.
70443 * resolv/Makefile: Likewise.
70444 * resolv/res_libc.c: Likewise.
70445 * rt/Makefile: Likewise.
70446 * sysdeps/i386/asm-syntax.h: Likewise.
70447 * sysdeps/i386/sysdep.h: Likewise.
70448 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70449 * sysdeps/mach/sysdep.h: Likewise.
70450 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
70451 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
70452 * sysdeps/s390/asm-syntax.h: Likewise.
70453 * sysdeps/s390/s390-32/sysdep.h: Likewise.
70454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
70455 * sysdeps/sh/sysdep.h: Likewise.
70456 * sysdeps/unix/sparc/sysdep.h: Likewise.
70457 * sysdeps/wordsize-32/divdi3.c: Likewise.
70458 * sysdeps/x86_64/sysdep.h: Likewise.
70459
70460 * argp/Versions: Remove _argp_unlock_xxx.
70461
70462 [BZ #13559]
70463 * abilist/ld.abilist: Update. Adjust for removal of tls option.
70464 * abilist/libBrokenLocale.abilist: Likewise.
70465 * abilist/libanl.abilist: Likewise.
70466 * abilist/libc.abilist: Likewise.
70467 * abilist/libcrypt.abilist: Likewise.
70468 * abilist/libdl.abilist: Likewise.
70469 * abilist/libm.abilist: Likewise.
70470 * abilist/libnsl.abilist: Likewise.
70471 * abilist/libpthread.abilist: Likewise.
70472 * abilist/libresolv.abilist: Likewise.
70473 * abilist/librt.abilist: Likewise.
70474 * abilist/libthread_db.abilist: Likewise.
70475 * abilist/libutil.abilist: Likewise.
70476 * abilist/libnss_db.abilist: New file.
70477
70478 * scripts/abilist.awk: Add support for indirect functions.
70479
70480 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
70481
70482 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
70483
70484 * shlib-versions: Remove entries for ports architectures.
70485
70486 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
70487 files in ports.
70488 * elf/stackguard-macros.h: Remove support for IA-64.
70489 * elf/tst-auditmod1.c: Likewise.
70490 * sysdeps/generic/ldsodefs.h: Likewise.
70491
70492 * sysdeps/unix/sysv/linux/configure.in: Ports should define
70493 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
70494 configure files.
70495
70496 [BZ #13552]
70497 * configure.in: Remove --enable-omitfp support.
70498 * FAQ.in: Adjust.
70499 * config.make.in: Likewise.
70500 * Makeconfig: Likewise.
70501 * manual/install.texi: Likewise.
70502
70503 In case anyone cares, the IA-64 architecture could move to ports.
70504 * sysdeps/ia64/*: Removed.
70505 * sysdeps/unix/sysv/linux/ia64/*: Removed.
70506 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
70507
70508 [BZ #13555]
70509 * configure.in: Remove entries for unsupported architectures.
70510
70511 [BZ #13533]
70512 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
70513 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
70514 routines.
70515 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
70516 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
70517 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
70518 fall back to using wcrtomb.
70519 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
70520 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
70521 renaming.
70522 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
70523 * wcsmbs/tst-c16c32-1.c: New file.
70524
70525 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
70526 local variable.
70527
70528 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
70529
70530 * elf/tst-unique3.cc: Add explicit declaration of gets.
70531 * elf/tst-unique3lib.cc: Likewise.
70532 * elf/tst-unique3lib2.cc: Likewise.
70533 * elf/tst-unique4.cc: Likewise.
70534
70535 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
70536
70537 2012-01-06 Joseph Myers <joseph@codesourcery.com>
70538
70539 [BZ #13566]
70540 * assert/assert.h (static_assert): Don't define for C++.
70541 * libio/stdio.h (gets): Do declare for C++ <= C++11.
70542 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
70543
70544 2012-01-03 Ulrich Drepper <drepper@gmail.com>
70545
70546 * iconv/loop.c (single loop): Fix assertion in storing of
70547 remaining bytes.
70548
70549 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
70550
70551 2012-01-01 Ulrich Drepper <drepper@gmail.com>
70552
70553 * posix/getconf.c: Update copyright year.
70554 * nss/getent.c: Likewise.
70555 * nss/makedb.c: Likewise.
70556 * iconv/iconvconfig.c: Likewise.
70557 * iconv/iconv_prog.c: Likewise.
70558 * elf/ldconfig.c: Likewise.
70559 * elf/pldd.c: Likewise.
70560 * elf/sotruss.ksh: Likewise.
70561 * catgets/gencat.c: Likewise.
70562 * csu/version.c: Likewise.
70563 * elf/ldd.bash.in: Likewise.
70564 * elf/sprof.c (print_version): Likewise.
70565 * locale/programs/locale.c: Likewise.
70566 * locale/programs/localedef.c: Likewise.
70567 * login/programs/pt_chown.c: Likewise.
70568 * nscd/nscd.c (print_version): Likewise.
70569 * debug/xtrace.sh: Likewise.
70570 * malloc/memusage.sh: Likewise.
70571 * malloc/mtrace.pl: Likewise.
70572 * debug/catchsegv.sh: Likewise.
70573
70574 2011-12-30 Jakub Jelinek <jakub@redhat.com>
70575
70576 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
70577 pure attribute.
70578
70579 2011-12-24 Ulrich Drepper <drepper@gmail.com>
70580
70581 [BZ #13533]
70582 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
70583 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
70584 transformations.
70585 * iconv/gconv_int.h: Likewise.
70586 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
70587 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
70588 from libc for GLIBC_2.16.
70589 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
70590 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
70591 * wcsmbs/uchar.h: Really define mbstate_t.
70592 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
70593 * wcsmbs/c16rtomb.c: New file.
70594 * wcsmbs/mbrtoc16.c: New file.
70595 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
70596 for C/POSIX locale.
70597 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
70598 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
70599
70600 * wcsmbs/wchar.h: Add missing __restrict.
70601
70602 2011-12-23 Ulrich Drepper <drepper@gmail.com>
70603
70604 [BZ #13532]
70605 * time/Makefile (routines): Add timespec_get.
70606 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
70607 * time/time.h: Define TIME_UTC and declare timespec_get. Define
70608 timespec for ISO C11.
70609 * time/timespec_get.c: New file.
70610 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
70611 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
70612
70613 [BZ #13531]
70614 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
70615 * stdlib/stdlib.h: Declare aligned_alloc.
70616 * Versions.def: Add GLIBC_2.16 for libc.
70617 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
70618
70619 [BZ 13527]
70620 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
70621 ISO C11.
70622
70623 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
70624 code.
70625
70626 [BZ #13528]
70627 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
70628
70629 [BZ #13529]
70630 * assert/assert.h (static_assert): Define.
70631
70632 * version.h: Update for 2.16 development version.
70633
70634 [BZ #13526]
70635 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
70636 _ISOC11_SOURCE.
70637
70638 * version.h (RELEASE): Bump for 2.15 release.
70639 * include/features.h (__GLIBC_MINOR__): Bump to 15.
70640
70641 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
70642 Patch by Marek Polacek <mpolacek@redhat.com>.
70643
70644 * bits/byteswap.h: Protect long long constants with __extension__.
70645 * sysdeps/i386/bits/byteswap.h: Likewise.
70646 * sysdeps/ia64/bits/byteswap.h: Likewise.
70647 * sysdeps/s390/bits/byteswap.h: Likewise.
70648 * sysdeps/x86_64/bits/byteswap.h: Likewise.
70649
70650 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70651
70652 [BZ #13540]
70653 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
70654 destination buffer.
70655 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
70656
70657 2011-12-23 Marek Polacek <polacek@redhat.com>
70658
70659 * elf/dl-addr.c (determine_info): Add inline keyword.
70660 * elf/tst-auditmod4b.c (check_avx): Likewise.
70661 * elf/tst-auditmod6b.c (check_avx): Likewise.
70662 * elf/tst-auditmod6c.c (check_avx): Likewise.
70663 * elf/tst-auditmod7b.c (check_avx): Likewise.
70664
70665 2011-12-23 Ulrich Drepper <drepper@gmail.com>
70666
70667 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
70668 !__SSE_MATH__.
70669
70670 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70671
70672 [BZ #13540]
70673 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
70674 processing for last bytes.
70675
70676 2011-08-06 Bruno Haible <bruno@clisp.org>
70677
70678 [BZ #13061]
70679 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
70680 U+0385, not to U+1FEE.
70681
70682 [BZ #13062]
70683 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
70684 entry for U+00A5 U+0301.
70685
70686 2011-12-22 Ulrich Drepper <drepper@gmail.com>
70687
70688 [BZ #13166]
70689 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
70690 buffer for the output is too small.
70691
70692 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
70693 optimization.
70694
70695 [BZ #13185]
70696 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
70697 SSE flags if possible.
70698
70699 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70700
70701 [BZ #13540]
70702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
70703 processing for last bytes.
70704
70705 2011-12-22 Joseph Myers <joseph@codesourcery.com>
70706
70707 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
70708 (syscall-list-default-options, syscall-list-default-condition)
70709 (syscall-list-includes): Define.
70710 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
70711 list of ABIs and options and #if conditions for each ABI. Do not
70712 handle common syscalls between ABIs specially.
70713 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
70714 Remove.
70715 (syscall-list-variants, syscall-list-32bit-options)
70716 (syscall-list-32bit-condition, syscall-list-64bit-options)
70717 (syscall-list-64bit-condition): Define.
70718 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
70719 (syscall-list-variants, syscall-list-32bit-options)
70720 (syscall-list-32bit-condition, syscall-list-64bit-options)
70721 (syscall-list-64bit-condition): Define.
70722 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
70723 Remove.
70724 (syscall-list-variants, syscall-list-32bit-options)
70725 (syscall-list-32bit-condition, syscall-list-64bit-options)
70726 (syscall-list-64bit-condition): Define.
70727 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
70728 Remove.
70729 (syscall-list-variants, syscall-list-32bit-options)
70730 (syscall-list-32bit-condition, syscall-list-64bit-options)
70731 (syscall-list-64bit-condition): Define.
70732
70733 2011-12-22 Ulrich Drepper <drepper@gmail.com>
70734
70735 * locale/iso-639.def: Add brx entry.
70736
70737 [BZ #13328]
70738 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
70739 Proposed by Mariusz_Cukr <marcukr@op.pl>.
70740
70741 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
70742 __feraiseexcept_renamed.
70743
70744 2011-12-21 Ulrich Drepper <drepper@gmail.com>
70745
70746 [BZ #13538]
70747 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
70748 EPOLLET with unsigned values.
70749 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70750 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
70751
70752 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
70753 to large cancellation.
70754 * math/s_cacoshf.c: Likewise.
70755 * math/s_cacoshl.c: Likewise.
70756
70757 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
70758
70759 [BZ #13305]
70760 [BZ #12786]
70761 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
70762 * math/s_cacoshf.c: Likewise.
70763 * math/s_cacoshl.c: Likewise.
70764
70765 2011-12-21 Ulrich Drepper <drepper@gmail.com>
70766
70767 [BZ #13439]
70768 * iconv/gconv.h: Define __GCONV_SWAP.
70769 * iconvdata/unicode.c: The swap bit must be stored in __flags.
70770 * iconvdata/utf-16.c: Likewise.
70771 * iconvdata/utf-32.c: Likewise.
70772
70773 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
70774
70775 [BZ #13524]
70776 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
70777 numerator after shifting it by one limb.
70778
70779 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
70780
70781 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
70782 under [__USE_EXTERN_INLINES].
70783
70784 2011-12-17 Ulrich Drepper <drepper@gmail.com>
70785
70786 [BZ #13446]
70787 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
70788
70789 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70790
70791 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
70792 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
70793 optimized code.
70794 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
70795 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
70796 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
70797 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
70798 for strncasecmp/strncasecmp_l compilation.
70799 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
70800 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
70801
70802 2011-12-08 Marek Polacek <mpolacek@redhat.com>
70803
70804 [BZ #13484]
70805 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
70806 of __asm__.
70807
70808 2011-12-17 Ulrich Drepper <drepper@gmail.com>
70809
70810 [BZ #13506]
70811 * time/tzfile.c (__tzfile_read): Check values from file header.
70812
70813 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
70814
70815 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
70816 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
70817 * powerpc/powerpc32/dl-start.S: Likewise.
70818 * powerpc/powerpc32/elf/start.S: Likewise.
70819 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
70820 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
70821 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
70822 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
70823 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
70824 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
70825 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
70826 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
70827 * powerpc/powerpc32/fpu/s_round.S: Likewise.
70828 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70829 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70830 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70831 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70832 * powerpc/powerpc32/memset.S: Likewise.
70833 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70834 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70835 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70836 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70837 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70838 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70839 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70840 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70841 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70842 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70843 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70844 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70845 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70846
70847 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70848
70849 * math/libm-test.inc: Added more nearbyint tests.
70850 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70851 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70854
70855 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
70856
70857 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70858 FD_CLOEXEC.
70859
70860 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70861
70862 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70863 Add wcscpy-ssse3 wcscpy-c.
70864 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70865 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70866 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70867 * sysdeps/x86_64/wcschr.S: New file.
70868 * sysdeps/x86_64/wcsrchr.S: New file.
70869 * string/test-strcmp.c: Remove checking of wcscmp function for
70870 wrong alignments.
70871 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70872 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70873 wcsrchr-sse2 wcsrchr-c.
70874 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70875 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70876 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70877 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70878 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70879 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70880 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70881 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70882 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70883 * wcsmbc/wcschr.c (WCSCHR): New macro.
70884
70885 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70886
70887 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70888 * wcsmbs/test-wcsrchr.c: New file.
70889 * string/test-strrchr.c: Add wcsrchr support.
70890 (WIDE): New macro.
70891 * wcsmbs/test-wcscpy.c: New file.
70892 * string/test-strcpy.c: Add wcscpy support.
70893 (WIDE): New macro.
70894
70895 2011-12-10 Ulrich Drepper <drepper@gmail.com>
70896
70897 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70898 the inner loop.
70899
70900 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
70901
70902 [BZ #13472]
70903 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70904
70905 2011-12-04 Ulrich Drepper <drepper@gmail.com>
70906
70907 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70908 Minor optimizations.
70909
70910 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70911 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70912 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70913
70914 2011-12-03 Ulrich Drepper <drepper@gmail.com>
70915
70916 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70917 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70918 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70919 for gcc to avoid warnings.
70920 * inet/Makefile (tests): Add tst-checks.
70921 * inet/tst-checks.c: New file.
70922
70923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70924 warning.
70925
70926 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70927 __wmemcmp_sse2.
70928
70929 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70930 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70931
70932 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70933
70934 2011-12-02 Ulrich Drepper <drepper@gmail.com>
70935
70936 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70937 problem.
70938
70939 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70940
70941 2011-11-29 Joseph Myers <joseph@codesourcery.com>
70942
70943 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70944 conditional on GCC version.
70945 (__arch_compare_and_exchange_val_8_acq)
70946 (__arch_compare_and_exchange_val_16_acq)
70947 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70948 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70949 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70950
70951 2011-12-02 Joseph Myers <joseph@codesourcery.com>
70952
70953 * sysdeps/sh/backtrace.c: New file.
70954
70955 2011-12-02 Andreas Schwab <schwab@redhat.com>
70956
70957 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
70958 parenthesis.
70959
70960 2011-12-01 Andreas Schwab <schwab@redhat.com>
70961
70962 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70963 falling back to utime.
70964
70965 2011-11-30 Andreas Schwab <schwab@redhat.com>
70966
70967 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70968 expectations for float.
70969
70970 2011-11-29 Andreas Schwab <schwab@redhat.com>
70971
70972 * locale/weight.h (findidx): Add parameter len.
70973 * locale/weightwc.h (findidx): Likewise.
70974 * posix/fnmatch_loop.c (FCT): Adjust caller.
70975 * posix/regcomp.c (build_equiv_class): Likewise.
70976 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70977 * posix/regexec.c (check_node_accept_bytes): Likewise.
70978 * string/strcoll_l.c (STRCOLL): Likewise.
70979 * string/strxfrm_l.c (STRXFRM): Likewise.
70980
70981 2011-11-17 Ulrich Drepper <drepper@gmail.com>
70982
70983 * Makefile.in: Remove CVSOPT handling.
70984 * configure.in: Remove use of AC_REVISION.
70985 * iconvdata/Makefile (distribute): No need to filter out CVS.
70986 * scripts/list-sources.sh: Remove CVS, subversion and monotone
70987 handling.
70988
70989 2011-11-16 Andreas Schwab <schwab@redhat.com>
70990
70991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70992 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70993 [USE_AS_STRNCASECMP_L]: Likewise.
70994 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70995 NO_TLS_DIRECT_SEG_REFS.
70996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70997 Fix argument offsets for non-PIC.
70998 [USE_AS_STRNCASECMP_L]: Likewise.
70999 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71000 NO_TLS_DIRECT_SEG_REFS.
71001
71002 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71003
71004 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71005 O_CLOEXEC.
71006 * locale/loadlocale.c (_nl_load_locale): Likewise.
71007
71008 2011-11-15 Andreas Schwab <schwab@redhat.com>
71009
71010 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71011 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71013 (SYSCALL_GETTIME): Set errno on error.
71014
71015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71016 count references to noai6ai_cached.
71017
71018 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71019
71020 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71021
71022 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71023 FD_CLOEXEC for /proc/self/maps.
71024
71025 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71026 FD_CLOEXEC for /proc/meminfo.
71027
71028 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71029 gai.conf.
71030
71031 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
71032 FD_CLOEXEC for given file.
71033
71034 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71035
71036 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71037 FD_CLOEXEC for /etc/hosts.
71038 (_gethtent): Likewise.
71039
71040 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71041
71042 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71043 cancellation and set FD_CLOEXEC for /etc/netgroup.
71044
71045 * nss/nss_files/files-key.c (search): Don't allow cancellation when
71046 reading /etc/publickey.
71047
71048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71049 allow cancellation when reading /etc/group.
71050
71051 * nss/nss_files/files-alias.c (internal_setent): Don't allow
71052 cancellation.
71053 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
71054
71055 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71056 when using data file.
71057
71058 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71059
71060 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71061 (write_nis_obj): Use "c" and "e" in fopen.
71062
71063 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71064
71065 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71066
71067 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71068
71069 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71070
71071 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71072 locale.alias.
71073
71074 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71075
71076 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71077
71078 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71079
71080 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71081 file parsing and set FD_CLOEXEC.
71082
71083 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71084
71085 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71086
71087 2011-11-14 Andreas Schwab <schwab@redhat.com>
71088
71089 * malloc/arena.c (arena_get2): Don't call reused_arena when
71090 _int_new_arena failed.
71091
71092 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71093
71094 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71095 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71099 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71100 to compile strcasecmp and strncasecmp.
71101 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71102 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71103
71104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71105
71106 2011-11-13 Ulrich Drepper <drepper@gmail.com>
71107
71108 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71109 locale-defines.sym to gen-as-const-headers.
71110 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71111 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71113 to compile strcasecmp and strncasecmp.
71114 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71115 strcasecmp_l and strncasecmp_l.
71116 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71117 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71118 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71119 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71120 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71121 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71122 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71123 * sysdeps/i386/i686/multiarch/strncase.S: New file.
71124 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71125 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71126 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71127
71128 2011-11-12 Ulrich Drepper <drepper@gmail.com>
71129
71130 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71131 result of SYSDEP_GETTIME_CPU to retval.
71132 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71133 parameter list to macro. Remove trailing semicolon. Adjust users.
71134
71135 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71136 variable.
71137
71138 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71139 mantissa words.
71140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71141
71142 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71143 from unused variable.
71144
71145 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71146 DWARF definitions.
71147 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71148 for assembling.
71149
71150 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71151 over namespaces.
71152
71153 * sunrpc/rpc_prot.c (rejected): Fix case value.
71154
71155 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71156 unsigned long long int to avoid warnings in shift.
71157
71158 * posix/regex_internal.c (re_string_reconstruct): Actually use result
71159 of use of trans.
71160 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71161 variable tmp.
71162
71163 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71164 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71165 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71166
71167 * nis/nis_table.c (nis_list): Use variable of correct type for
71168 result of __follow_path call.
71169
71170 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71171
71172 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71173 of math functions ceil, trunc, floor, round, and sqrt, when
71174 avaliable on the platform.
71175 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71176 name clash.
71177 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71178 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71179 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71180
71181 2011-10-30 Marek Polacek <mpolacek@redhat.com>
71182
71183 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71185
71186 2011-11-11 Roland McGrath <roland@hack.frob.com>
71187
71188 * include/unistd.h: Fix __readlink return type.
71189 Reported by Chris Metcalf <cmetcalf@tilera.com>.
71190
71191 2011-11-11 Ulrich Drepper <drepper@gmail.com>
71192
71193 * stdlib/ucontext.h: Undo last change for makecontext.
71194
71195 2011-11-11 Andreas Schwab <schwab@redhat.com>
71196
71197 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71198
71199 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71200 * setjmp/setjmp.h: Mark functions as non-leaf.
71201 * setjmp/bits/setjmp2.h: Likewise.
71202 * stdlib/ucontext.h: Likewise.
71203
71204 2011-11-10 Andreas Schwab <schwab@redhat.com>
71205
71206 * malloc/arena.c (_int_new_arena): Don't increment narenas.
71207 (reused_arena): Don't check arena limit.
71208 (arena_get2): Atomically check arena limit.
71209
71210 2011-11-08 Ulrich Drepper <drepper@gmail.com>
71211
71212 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71213 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71214
71215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71216 instructions.
71217
71218 2011-11-07 Andreas Schwab <schwab@redhat.com>
71219
71220 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71221 handler when locking.
71222
71223 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71224 Fix size of allocated buffer.
71225
71226 2011-11-04 Andreas Schwab <schwab@redhat.com>
71227
71228 [BZ #10103]
71229 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71230 declarations for long double functions.
71231 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71232
71233 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71234
71235 2011-11-03 Andreas Schwab <schwab@redhat.com>
71236
71237 * nscd/nscd.c (main): Don't start AVC thread until credentials are
71238 installed.
71239
71240 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71241 is disabled.
71242
71243 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
71244
71245 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71246
71247 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
71248
71249 * include/alloca.h (stackinfo_alloca_round): Define.
71250 (extend_alloca): Use it.
71251 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71252 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71253 here.
71254
71255 * scripts/check-local-headers.sh: Ignore libaudit.h.
71256
71257 * nscd/Makefile (extra-objs): Make recursively expanded.
71258
71259 2011-11-01 Ulrich Drepper <drepper@gmail.com>
71260
71261 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71262 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71263
71264 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71265 * posix/tst-rfc3484-2.c: Likewise.
71266 * posix/tst-rfc3484-3.c: Likewise.
71267
71268 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71269 process_vm_writev.
71270 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71271 process_vm_writev.
71272 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71273 process_vm_writev from libc using GLIBC_2.15 version.
71274
71275 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71276
71277 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
71278
71279 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71280 stack usage.
71281
71282 2011-10-31 Ulrich Drepper <drepper@gmail.com>
71283
71284 [BZ #13367]
71285 * nss/getent.c (initgroups_keys): Show error message in case no group
71286 names are given.
71287
71288 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71289 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71290 __bump_nl_timestamp.
71291 * nscd/connections (nscd_init): When host database is served open
71292 netlink socket and request notification about configuration changes.
71293 (main_loop_poll): Track netlink file descriptor and bump timestamp
71294 in case data becomes available.
71295 (main_loop_epoll): Likewise.
71296 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71297 (database_pers_head): Add extra_data fileds.
71298 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71299 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71300 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71301 Adjust caller.
71302 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71303 in6ai data, call __free_in6ai.
71304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71305 Add -DHAVE_NETLINK.
71306 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
71307 interface information. Reuse previous data if netlink timestamp
71308 is not changed.
71309 (__bump_nl_timestamp): New function.
71310 (__free_in6ai): New function.
71311
71312 2011-10-30 Ulrich Drepper <drepper@gmail.com>
71313
71314 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71315 close_not_cancel_no_status here.
71316 (__check_pf): Reorganize code a bit to not call close twice if OOM.
71317
71318 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71319
71320 [BZ #13276]
71321 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71322 return value.
71323
71324 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71325 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71326 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71327
71328 2011-07-03 Andreas Jaeger <aj@suse.de>
71329
71330 [BZ #10709]
71331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71332 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71333 * math/libm-test.inc (sin_test): Add test case.
71334
71335 2011-10-29 Ulrich Drepper <drepper@gmail.com>
71336
71337 [BZ #13337]
71338 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71339 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71340
71341 * elf/chroot_canon.c (chroot_canon): Cleanups.
71342
71343 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71344
71345 [BZ #13335]
71346 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
71347 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71348
71349 * string/test-strchr.c: Make usable for strchrnul testing.
71350 * string/test-strchrnul.c: New file.
71351 * string/Makefile (strop-tests): Add strchrnul.
71352
71353 * po/it.po: Update from translation team.
71354 * po/es.po: Likewise.
71355
71356 2011-10-28 Ulrich Drepper <drepper@gmail.com>
71357
71358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
71359 the three constants needed as parameters. Drop the others.
71360 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
71361 __m128i_strloadu_tolower.
71362 Create and initialize variable zero and use it in all the places
71363 where _mm_setzero_si128 was used.
71364
71365 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
71366 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
71367 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
71368 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
71369 anymore.
71370 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
71371 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
71372 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
71373 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
71374 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
71375 __mpranred, __mptan.
71376 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
71377 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
71378 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
71379 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
71380 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
71381 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
71382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
71383 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
71384 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
71385
71386 2011-10-28 Andreas Schwab <schwab@redhat.com>
71387
71388 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
71389 redefine if SHARED.
71390 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
71391
71392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
71393 wide char related routines to wcsmbs subdir.
71394
71395 2011-10-27 Andreas Schwab <schwab@redhat.com>
71396
71397 [BZ #13344]
71398 * misc/sys/cdefs.h (__THROWNL): Define.
71399 * posix/unistd.h: Use __THREADNL instead of __THREAD
71400 for memory synchronization functions.
71401
71402 2011-10-26 Roland McGrath <roland@hack.frob.com>
71403
71404 [BZ #13349]
71405 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
71406 doesn't exist.
71407 * manual/stdio.texi (Obstack Streams): Node removed.
71408
71409 2011-10-26 Andreas Schwab <schwab@redhat.com>
71410
71411 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
71412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71413 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71414
71415 * math/math_private.h (math_force_eval): Allow non-addressable
71416 arguments.
71417 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
71418
71419 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71420
71421 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
71422 file is not needed.
71423
71424 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
71425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
71426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71431 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
71432 Add AVX variants.
71433 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
71434 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
71435 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
71436 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
71437 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
71438 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
71439 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
71440 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
71441 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
71442 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
71443 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
71444 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
71445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
71446 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
71447 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
71448 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
71449 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
71450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
71451 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
71452
71453 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
71454 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
71455
71456 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
71457 place. Use VEX encoding when compiling for AVX.
71458
71459 2011-10-25 Andreas Schwab <schwab@redhat.com>
71460
71461 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
71462 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
71463
71464 * string/test-strchr.c (do_test): Don't generate NUL bytes.
71465
71466 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71467
71468 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
71469 useless if() expression.
71470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71472 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71475 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71476 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71479 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71480 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71481 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71482 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71483 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71484 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71485 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71486 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71487 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71488 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71489
71490 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
71491
71492 2011-10-25 Andreas Schwab <schwab@redhat.com>
71493
71494 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
71495 condition.
71496 * elf/dl-fini.c (_dl_sort_fini): Likewise.
71497
71498 2011-10-25 Ulrich Drepper <drepper@gmail.com>
71499
71500 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
71501 .text section. Avoid duplicate constants.
71502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71510 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71511 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
71512 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71513 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71514 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71515 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71516 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71518 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71519 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71525 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
71526 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
71527 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
71528 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
71529 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
71530 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
71531 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
71532 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
71533 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
71534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71535 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
71536 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
71537 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
71538 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
71539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
71540 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
71541 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
71542 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
71543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
71544 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
71545 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
71546 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
71547
71548 2011-10-24 Ulrich Drepper <drepper@gmail.com>
71549
71550 * sysdeps/x86_64/dla.h: Move to ...
71551 * sysdeps/x86_64/fpu/dla.h: ...here.
71552 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
71553 situations. Use __builtin_fma only for gcc 4.6 and up.
71554
71555 * config.make.in: Add have-mfma4 entry.
71556 * configure.in: Substitute libc_cv_cc_fma4.
71557 * math/Makefile (dbl-only-routines): Add sincostab.
71558 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
71559 Use __sincostab not sincos.
71560 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
71561 name is a macro.
71562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
71566 using __copysign.
71567 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
71568 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
71569 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
71570 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
71571 and __inv.
71572 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
71573 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
71574 __copysign.
71575 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
71576 define aliases when function name is a macro.
71577 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
71578 sysdeps/ieee754/dbl-64/sincos.tbl.
71579 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
71580 fma4-enabled routines.
71581 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
71582 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
71583 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
71584 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
71585 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
71586 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
71587 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
71588 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
71589 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
71590 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
71591 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
71592 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
71593 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
71594 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
71595 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
71596 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
71597 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
71598 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
71599 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
71600 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
71601 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
71602 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
71603 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
71604 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
71605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
71606 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
71607 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
71608 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
71609 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
71610 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
71611
71612 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
71613 rename.
71614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71622
71623 2011-10-24 Andreas Schwab <schwab@redhat.com>
71624
71625 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
71626
71627 2011-10-23 Ulrich Drepper <drepper@gmail.com>
71628
71629 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
71630
71631 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
71632 prediction.
71633 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
71634
71635 * string/strnlen.c: Don't define STRNLEN, reverse logic.
71636 Remove unused variable magic_bits.
71637 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
71638
71639 * string/strnlen.c: Define and use STRNLEN macro.
71640 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
71641 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
71642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
71643 * wcsmbs/wcslen.c: Define and use WCSLEN.
71644 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
71645 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
71646 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
71647 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
71648 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
71649 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
71650 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71651
71652 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71653
71654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71655 strnlen-sse2-no-bsf.
71656 Rename strlen-no-bsf to strlen-sse2-no-bsf.
71657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
71658 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
71659 Add strnlen support.
71660 (USE_AS_STRNLEN): New macro.
71661 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
71662 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
71663 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
71664 * sysdeps/x86_64/wcslen.S: New file.
71665
71666 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
71667
71668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71669 XMM-moves are used for copying on small sizes.
71670
71671 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71672
71673 * wcsmbs/Makefile (strop-tests): Add wcschr.
71674 * wcsmbs/test-wcschr.c: New file.
71675 * string/test-strchr.c: Update.
71676 Add wcschr support.
71677 (WIDE): New macro.
71678
71679 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71680
71681 * wcsmbs/Makefile (strop-tests): Add wcslen.
71682 * wcsmbs/test-wcslen.c: New file.
71683 * string/test-strlen.c: Update.
71684 Add wcslen support.
71685 (WIDE): New macro.
71686
71687 2011-10-23 Ulrich Drepper <drepper@gmail.com>
71688
71689 * po/it.po: Update from translation team.
71690
71691 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71692
71693 * sysdeps/x86_64/wcscmp.S: Update.
71694 Fix wrong comparison semantics.
71695 wcscmp shall use signed comparison not unsigned.
71696 Don't use substraction to avoid overflow bug.
71697 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
71698 * wcsmbc/wcscmp.c: Likewise.
71699 * string/test-strcmp.c: Likewise.
71700 Add new tests to check cases with negative values.
71701
71702 2011-10-23 Ulrich Drepper <drepper@gmail.com>
71703
71704 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
71705 * sysdeps/x86_64/dla.h: ...here. New file.
71706 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
71707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71715
71716 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
71717
71718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
71719 __ynl_finite aliases.
71720
71721 2011-10-22 Ulrich Drepper <drepper@gmail.com>
71722
71723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71724
71725 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
71726 define DLA_FMA.
71727 [DLA_FMA] (EMULV): Use DLA_FMA.
71728 [DLA_FMA] (MUL12): Use EMULV.
71729 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
71730 that are not needed.
71731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71738
71739 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
71740
71741 * math/s_nan.c: Undef __nan.
71742 * math/s_nanf.c: Undef __nanf.
71743 * math/s_nanl.c: Undef __nanl.
71744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
71745 "math_private.h".
71746
71747 2011-10-22 Ulrich Drepper <drepper@gmail.com>
71748
71749 * math/s_catan.c: Add branch predictions.
71750 * math/s_catanf.c: Likewise.
71751 * math/s_catanh.c: Likewise.
71752 * math/s_catanhf.c: Likewise.
71753 * math/s_catanhl.c: Likewise.
71754 * math/s_catanl.c: Likewise.
71755 * math/s_cexp.c: Likewise.
71756 * math/s_cexpf.c: Likewise.
71757 * math/s_cexpl.c: Likewise.
71758 * math/s_clog.c: Likewise.
71759 * math/s_clog10.c: Likewise.
71760 * math/s_clog10f.c: Likewise.
71761 * math/s_clog10l.c: Likewise.
71762 * math/s_clogf.c: Likewise.
71763 * math/s_clogl.c: Likewise.
71764 * math/s_csqrt.c: Likewise.
71765 * math/s_csqrtf.c: Likewise.
71766 * math/s_csqrtl.c: Likewise.
71767 * math/s_ctanf.c: Likewise.
71768 * math/s_ctanh.c: Likewise.
71769 * math/s_ctanhf.c: Likewise.
71770 * math/s_ctanhl.c: Likewise.
71771 * math/s_ctanl.c: Likewise.
71772
71773 * math/math_private.h: Define __nan, __nanf, __nanl.
71774 * math/s_cacosh.c: Include <math_private.h>.
71775 * math/s_cacoshl.c: Likewise.
71776 * math/s_casinh.c: Likewise.
71777 * math/s_casinhf.c: Likewise.
71778 * math/s_casinhl.c: Likewise.
71779 * math/s_ccos.c: Rely entire on ccosh.
71780 * math/s_ccosf.c: Rely entire on ccoshf.
71781 * math/s_ccosl.c: Rely entirely on ccoshl.
71782 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
71783 Remove tests for FE_INVALID.
71784 * math/s_ccoshf.c: Likewise.
71785 * math/s_ccoshl.c: Likewise.
71786 * math/s_csin.c: Likewise.
71787 * math/s_csinf.c: Likewise.
71788 * math/s_csinh.c Likewise.
71789 * math/s_csinhf.c: Likewise.
71790 * math/s_csinhl.c: Likewise.
71791 * math/s_csinl.c: Likewise.
71792 * math/s_ctan.c: Likewise.
71793 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
71794 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
71795 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
71796
71797 2011-10-21 Ulrich Drepper <drepper@gmail.com>
71798
71799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
71800 compilation problems.
71801
71802 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
71803 __builtin_expect.
71804
71805 2011-10-20 Ulrich Drepper <drepper@gmail.com>
71806
71807 * sysdeps/i386/configure.in: Test for -mfma4 option.
71808 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
71809 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
71810 COMMON_CPUID_INDEX_80000001.
71811 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
71812 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
71813 use it if FMA3 is not supported.
71814 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
71815
71816 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
71817 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71818
71819 2011-10-20 Andreas Schwab <schwab@redhat.com>
71820
71821 [BZ #12892]
71822 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
71823 it would create a cycle with a link time dependency.
71824
71825 2011-10-19 Ulrich Drepper <drepper@gmail.com>
71826
71827 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
71828 instruction.
71829 * string/Makefile (strop-tests): Add rawmemchr.
71830 * string/test-rawmemchr.c: New file.
71831
71832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
71834 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
71835 when compiling str{,n}casecmp and when AVX is available. Hook up
71836 new optimized code in initializers.
71837
71838 2011-10-19 Andreas Schwab <schwab@redhat.com>
71839
71840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71841 __feraiseexcept instead of feraiseexcept.
71842
71843 2011-10-18 Ulrich Drepper <drepper@gmail.com>
71844
71845 * math/math_private.h: Define defaults for libc_fetestexcept and
71846 libc_feupdateenv.
71847 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71848 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71849 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71850 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71851 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71852 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71853 libc_fetestexcept and libc_feupdateenv.
71854
71855 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71856 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71857 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71858 * sysdeps/x86_64/fpu/math_private.h: Define special version of
71859 libc_feholdexcept_setround.
71860
71861 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71862 Add s_nearbyint-c and s_nearbyintf-c.
71863 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71864 nearbyintf inlines.
71865 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71866 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71867 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71868 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71869
71870 * math/math_private.h: Define defaults for libc_fegetround,
71871 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71872 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71873 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71874 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71875 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71876 standard functions.
71877 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71878 Remove comments and hacks for old compiler versions.
71879 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71880 libc_fegetround, libc_fesetround, libc_feholdexcept, and
71881 libc_feholdexceptl.
71882
71883 2011-10-18 Andreas Schwab <schwab@redhat.com>
71884
71885 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71886 (__feraiseexcept_renamed): Add __NTH.
71887 (feraiseexcept): Add __NTH. Rename local variables to fix
71888 namespace violations.
71889
71890 2011-10-17 Ulrich Drepper <drepper@gmail.com>
71891
71892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71893
71894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71895
71896 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71897 recently added interfaces.
71898 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71899
71900 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71901 about macro parameter expansion.
71902
71903 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71904 __NO_MATH_INLINES is defined. Cleanups.
71905
71906 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71907 and __floorf is target has SSE4.1.
71908 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71909 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71910 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71911 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71912
71913 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71914 name.
71915 (floorf): Likewise.
71916
71917 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71918
71919 2011-10-17 Andreas Schwab <schwab@redhat.com>
71920
71921 * misc/sys/cdefs.h: Fix last change.
71922
71923 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71924 database lookup.
71925
71926 2011-10-16 Ulrich Drepper <drepper@gmail.com>
71927
71928 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71929
71930 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71931 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71933 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71936 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71939 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71940 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71941 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71942 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71943 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71944 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71945 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71946 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71947 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71948 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71949 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71950 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71951 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71952
71953 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71954 ceil, ceilf, floor, floorf.
71955
71956 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71957 Perform IRELATIVE relocations last.
71958
71959 * elf/do-rel.h: Add another parameter nrelative, replacing the
71960 local variable with the same name. Change name of the function
71961 to end in Rel or Rela (uppercase).
71962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71963 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
71964 elf_dynamic_do_##reloc function.
71965
71966 2011-10-15 Ulrich Drepper <drepper@gmail.com>
71967
71968 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71969 is sufficient, at least on modern CPUs.
71970
71971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71972
71973 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71974 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71975
71976 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71977 __expl_finite.
71978 * math/bits/math-finite.h: Add entries for exp.
71979 * math/e_expl.c: Add __*_finite alias.
71980 * sysdeps/i386/fpu/e_exp.S: Likewise.
71981 * sysdeps/i386/fpu/e_expf.S: Likewise.
71982 * sysdeps/i386/fpu/e_expl.c: Likewise.
71983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71984 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71985 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71986 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71987 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71988 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71989 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71990
71991 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71992 is sufficient, at least on modern CPUs.
71993
71994 * ctype/ctype-info.c (__ctype_init): Define.
71995 * include/ctype.h (__ctype_init): Declare.
71996 (__ctype_b_loc): The variable is always initialized.
71997 (__ctype_toupper_loc): Likewise.
71998 (__ctype_tolower_loc): Likewise.
71999 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72000 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72001
72002 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
72003
72004 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72005
72006 * configure.in: Also look in $cxxmachine/include for C++ system
72007 headers.
72008
72009 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72010
72011 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72012 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72013 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72014 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
72015 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72016 (USE_AS_WMEMCMP): New macro.
72017 Fixing indents.
72018 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72019 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72020 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72021 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72023 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72024 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72025 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72026 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72027 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72028 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72029 (USE_AS_WMEMCMP): New macro.
72030 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72031 * sysdeps/string/test-memcmp.c: Update.
72032 Fix simple_wmemcmp.
72033 Add new tests.
72034 * wcsmbs/wmemcmp.c: Update.
72035 (WMEMCMP): New macro.
72036 Fix overflow bug.
72037
72038 2011-10-12 Andreas Jaeger <aj@suse.de>
72039
72040 [BZ #13268]
72041 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72042
72043 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72044
72045 * libio/iofwide.c (do_length): Avoid warning.
72046
72047 * ctype/ctype.h (__isctype_f): Add missing __THROW.
72048
72049 2011-10-14 Ulrich Drepper <drepper@gmail.com>
72050
72051 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72052
72053 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72054 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72055 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72056 * sysdeps/i386/i686/fpu/e_log.S: New file.
72057 * sysdeps/i386/i686/fpu/e_logf.S: New file.
72058 * sysdeps/i386/i686/fpu/e_logl.S: New file.
72059
72060 * ctype/ctype.h: Add support for inlined isXXX functions when
72061 compiling C++ code.
72062
72063 2011-10-14 Andreas Schwab <schwab@redhat.com>
72064
72065 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72066
72067 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72068
72069 2011-10-13 Roland McGrath <roland@hack.frob.com>
72070
72071 [BZ #13291]
72072 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72073
72074 2011-10-13 Andreas Schwab <schwab@redhat.com>
72075
72076 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72077 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72078 feraiseexcept.
72079
72080 * sysdeps/x86_64/memrchr.S: Check for zero size.
72081
72082 * string/stratcliff.c: Add memrchr tests.
72083
72084 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72085
72086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72087 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72088 rawmemchr-sse2 rawmemchr-sse2-bsf.
72089 * sysdeps/i386/i686/multiarch/memchr.S: New file.
72090 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72091 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72092 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72093 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72094 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72095 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72096 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72097 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72098 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72099 * string/memrchr.c (MEMRCHR): New macro.
72100
72101 2011-10-12 Ulrich Drepper <drepper@gmail.com>
72102
72103 Add integration with gcc's -ffinite-math-only and optimize wrapper
72104 functions in libm.
72105 * Versions.def: Define GLIBC_2.15 version for libm.
72106 * math/Makefile (headers): Add bits/math-finite.h.
72107 * math/bits/math-finite.h: New file.
72108 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72109 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72110 * math/e_acoshl.c: Add __*_finite alias.
72111 * math/e_acosl.c: Likewise.
72112 * math/e_asinl.c: Likewise.
72113 * math/e_atan2l.c: Likewise.
72114 * math/e_atanhl.c: Likewise.
72115 * math/e_coshl.c: Likewise.
72116 * math/e_exp10.c: Likewise.
72117 * math/e_exp10f.c: Likewise.
72118 * math/e_exp10l.c: Likewise.
72119 * math/e_exp2l.c: Likewise.
72120 * math/e_fmodl.c: Likewise.
72121 * math/e_gammal_r.c: Likewise.
72122 * math/e_hypotl.c: Likewise.
72123 * math/e_j0l.c: Likewise.
72124 * math/e_j1l.c: Likewise.
72125 * math/e_jnl.c: Likewise.
72126 * math/e_lgammal_r.c: Likewise.
72127 * math/e_log10l.c: Likewise.
72128 * math/e_log2l.c: Likewise.
72129 * math/e_logl.c: Likewise.
72130 * math/e_powl.c: Likewise.
72131 * math/e_sinhl.c: Likewise.
72132 * math/e_sqrtl.c: Likewise.
72133 * math/e_scalb.c: Completely rewritten and optimized.
72134 * math/e_scalbf.c: Likewise.
72135 * math/e_scalbl.c: Likewise.
72136 * math/w_acos.c: Likewise.
72137 * math/w_acosf.c: Likewise.
72138 * math/w_acosl.c: Likewise.
72139 * math/w_acosh.c: Likewise.
72140 * math/w_acoshf.c: Likewise.
72141 * math/w_acoshl.c: Likewise.
72142 * math/w_asin.c: Likewise.
72143 * math/w_asinf.c: Likewise.
72144 * math/w_asinl.c: Likewise.
72145 * math/w_atan2.c: Likewise.
72146 * math/w_atan2f.c: Likewise.
72147 * math/w_atan2l.c: Likewise.
72148 * math/w_atanh.c: Likewise.
72149 * math/w_atanhf.c: Likewise.
72150 * math/w_atanhl.c: Likewise.
72151 * math/w_exp10.c: Likewise.
72152 * math/w_exp10f.c: Likewise.
72153 * math/w_exp10l.c: Likewise.
72154 * math/w_fmod.c: Likewise.
72155 * math/w_fmodf.c: Likewise.
72156 * math/w_fmodl.c: Likewise.
72157 * math/w_j0.c: Likewise.
72158 * math/w_j0f.c: Likewise.
72159 * math/w_j0l.c: Likewise.
72160 * math/w_j1.c: Likewise.
72161 * math/w_j1f.c: Likewise.
72162 * math/w_j1l.c: Likewise.
72163 * math/w_jn.c: Likewise.
72164 * math/w_jnf.c: Likewise.
72165 * math/w_log.c: Likewise.
72166 * math/w_logf.c: Likewise.
72167 * math/w_logl.c: Likewise.
72168 * math/w_log10.c: Likewise.
72169 * math/w_log10f.c: Likewise.
72170 * math/w_log10l.c: Likewise.
72171 * math/w_log2.c: Likewise.
72172 * math/w_log2f.c: Likewise.
72173 * math/w_log2l.c: Likewise.
72174 * math/w_pow.c: Likewise.
72175 * math/w_powf.c: Likewise.
72176 * math/w_powl.c: Likewise.
72177 * math/w_remainder.c: Likewise.
72178 * math/w_remainderf.c: Likewise.
72179 * math/w_remainderl.c: Likewise.
72180 * math/w_scalb.c: Likewise.
72181 * math/w_scalbf.c: Likewise.
72182 * math/w_scalbl.c: Likewise.
72183 * math/w_sqrt.c: Likewise.
72184 * math/w_sqrtf.c: Likewise.
72185 * math/w_sqrtl.c: Likewise.
72186 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72187 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
72188 used.
72189 * math/math_private.h: Declare __kernel_standard_f.
72190 * math/w_cosh.c: Remove cruft and optimize a bit.
72191 * math/w_coshf.c: Likewise.
72192 * math/w_coshl.c: Likewise.
72193 * math/w_exp2.c: Likewise.
72194 * math/w_exp2f.c: Likewise.
72195 * math/w_exp2l.c: Likewise.
72196 * math/w_hypot.c: Likewise.
72197 * math/w_hypotf.c: Likewise.
72198 * math/w_hypotl.c: Likewise.
72199 * math/w_lgamma.c: Likewise.
72200 * math/w_lgamma_r.c: Likewise.
72201 * math/w_lgammaf.c: Likewise.
72202 * math/w_lgammaf_r.c: Likewise.
72203 * math/w_lgammal.c: Likewise.
72204 * math/w_lgammal_r.c: Likewise.
72205 * math/w_sinh.c: Likewise.
72206 * math/w_sinhf.c: Likewise.
72207 * math/w_sinhl.c: Likewise.
72208 * math/w_tgamma.c: Likewise.
72209 * math/w_tgammaf.c: Likewise.
72210 * math/w_tgammal.c: Likewise.
72211 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72213 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72214 Minor optimizations. Pretty printing. Remove cruft.
72215 * sysdeps/i386/fpu/e_acosf.S: Likewise.
72216 * sysdeps/i386/fpu/e_acosh.S: Likewise.
72217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72218 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72219 * sysdeps/i386/fpu/e_acosl.c: Likewise.
72220 * sysdeps/i386/fpu/e_asin.S: Likewise.
72221 * sysdeps/i386/fpu/e_asinf.S: Likewise.
72222 * sysdeps/i386/fpu/e_atan2.S: Likewise.
72223 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72224 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72225 * sysdeps/i386/fpu/e_atanh.S: Likewise.
72226 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72227 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72228 * sysdeps/i386/fpu/e_exp10.S: Likewise.
72229 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72230 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72231 * sysdeps/i386/fpu/e_exp2.S: Likewise.
72232 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72233 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72234 * sysdeps/i386/fpu/e_fmod.S: Likewise.
72235 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72236 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72237 * sysdeps/i386/fpu/e_hypot.S: Likewise.
72238 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72239 * sysdeps/i386/fpu/e_log.S: Likewise.
72240 * sysdeps/i386/fpu/e_log10.S: Likewise.
72241 * sysdeps/i386/fpu/e_log10f.S: Likewise.
72242 * sysdeps/i386/fpu/e_log10l.S: Likewise.
72243 * sysdeps/i386/fpu/e_log2.S: Likewise.
72244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
72245 * sysdeps/i386/fpu/e_log2l.S: Likewise.
72246 * sysdeps/i386/fpu/e_logf.S: Likewise.
72247 * sysdeps/i386/fpu/e_logl.S: Likewise.
72248 * sysdeps/i386/fpu/e_pow.S: Likewise.
72249 * sysdeps/i386/fpu/e_powf.S: Likewise.
72250 * sysdeps/i386/fpu/e_powl.S: Likewise.
72251 * sysdeps/i386/fpu/e_remainder.S: Likewise.
72252 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72253 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72254 * sysdeps/i386/fpu/e_scalb.S: Likewise.
72255 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72257 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72258 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72259 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72260 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72261 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72263 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72264 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72265 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72266 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72267 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72268 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72269 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72270 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72271 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72273 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72274 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72276 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72277 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72278 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72280 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72281 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72284 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72285 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72286 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72287 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72288 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72289 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72290 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72291 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72292 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72293 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72294 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72295 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72296 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72297 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72298 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72299 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72300 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72301 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72302 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72303 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72305 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72306 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72307 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72308 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72309 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72310 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72311 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72312 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72313 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72314 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72315 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72316 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72317 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72318 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72319 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72320 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72321 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72322 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72324 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72325 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72326 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72328 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72330 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72331 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72334 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72336 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72337 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72338 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72339 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72341 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72342 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72343 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72344 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72346 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72347 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72348 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72349 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72350 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72353 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
72354 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72355 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72356 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72357 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
72358 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
72359 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
72360 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
72361 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
72362 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
72363 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
72364 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72366 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72367 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72368 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
72369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72370 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
72371 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
72372 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
72373 (__isnanf): Likewise.
72374 (__isinf_ns): Likewise.
72375 (__isinf_nsf): Likewise.
72376 (__finite): Likewise.
72377 (__finitef): Likewise.
72378 (__ieee754_sqrt): Define as macro.
72379 (__ieee754_sqrtf): Define as macro.
72380 (__ieee754_sqrtl): Define as macro.
72381 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
72382 inlined copy.
72383 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
72384 __FINITE_MATH_ONLY__ consistent.
72385 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
72386
72387 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
72388
72389 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
72390 of rawmemchr.
72391
72392 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
72393
72394 2011-10-09 Ulrich Drepper <drepper@gmail.com>
72395
72396 * po/ja.po: Update from translation team.
72397
72398 2011-10-08 Roland McGrath <roland@hack.frob.com>
72399
72400 * locale/programs/locarchive.c (prepare_address_space): New function.
72401 (create_archive, enlarge_archive, open_archive): Use it.
72402
72403 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
72404 inside [SHARED], where it is used.
72405
72406 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
72407
72408 * nss/getent.c (netgroup_keys): Remove unused variable.
72409 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72410
72411 2011-10-08 Ulrich Drepper <drepper@gmail.com>
72412
72413 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
72414 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
72415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
72416 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
72417 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
72418 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
72419 * math/Makefile (libm-calls): Add s_isinf_ns.
72420 * math/divtc3.c: Use __isinf_nsl instead of isinf.
72421 * math/multc3.c: Likewise.
72422 * math/s_casin.c: Likewise.
72423 * math/s_casinf.c: Likewise.
72424 * math/s_casinl.c: Likewise.
72425 * math/s_ccos.c: Likewise.
72426 * math/s_ccosf.c: Likewise.
72427 * math/s_ccosl.c: Likewise.
72428 * math/s_ctan.c: Likewise.
72429 * math/s_ctanf.c: Likewise.
72430 * math/s_ctanh.c: Likewise.
72431 * math/s_ctanhf.c: Likewise.
72432 * math/s_ctanhl.c: Likewise.
72433 * math/s_ctanl.c: Likewise.
72434 * math/w_fmod.c: Likewise.
72435 * math/w_fmodf.c: Likewise.
72436 * math/w_fmodl.c: Likewise.
72437 * math/w_remainder.c: Likewise.
72438 * math/w_remainderf.c: Likewise.
72439 * math/w_remainderl.c: Likewise.
72440 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
72441 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
72442 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
72443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
72444 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
72445 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
72446 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
72447 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
72448
72449 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
72450 of the number.
72451 * stdio-common/printf_fphex.c: Likewise.
72452 * stdio-common/printf_size.c: Likewise.
72453
72454 * math/e_exp10.c: Include math_private.h using <...> not "...".
72455 * math/e_exp10f.c: Likewise.
72456 * math/e_exp10l.c: Likewise.
72457 * math/e_exp2l.c: Likewise.
72458 * math/e_j0l.c: Likewise.
72459 * math/e_j1l.c: Likewise.
72460 * math/e_jnl.c: Likewise.
72461 * math/e_lgammal_r.c: Likewise.
72462 * math/e_rem_pio2l.c: Likewise.
72463 * math/e_scalb.c: Likewise.
72464 * math/e_scalbf.c: Likewise.
72465 * math/e_scalbl.c: Likewise.
72466 * math/k_cosl.c: Likewise.
72467 * math/k_sinl.c: Likewise.
72468 * math/k_tanl.c: Likewise.
72469 * math/s_cacoshf.c: Likewise.
72470 * math/s_catan.c: Likewise.
72471 * math/s_catanf.c: Likewise.
72472 * math/s_catanh.c: Likewise.
72473 * math/s_catanhf.c: Likewise.
72474 * math/s_catanhl.c: Likewise.
72475 * math/s_catanl.c: Likewise.
72476 * math/s_ccosh.c: Likewise.
72477 * math/s_ccoshf.c: Likewise.
72478 * math/s_ccoshl.c: Likewise.
72479 * math/s_cexp.c: Likewise.
72480 * math/s_cexpf.c: Likewise.
72481 * math/s_cexpl.c: Likewise.
72482 * math/s_clog.c: Likewise.
72483 * math/s_clog10.c: Likewise.
72484 * math/s_clog10f.c: Likewise.
72485 * math/s_clog10l.c: Likewise.
72486 * math/s_clogf.c: Likewise.
72487 * math/s_clogl.c: Likewise.
72488 * math/s_csin.c: Likewise.
72489 * math/s_csinf.c: Likewise.
72490 * math/s_csinh.c: Likewise.
72491 * math/s_csinhf.c: Likewise.
72492 * math/s_csinhl.c: Likewise.
72493 * math/s_csinl.c: Likewise.
72494 * math/s_csqrt.c: Likewise.
72495 * math/s_csqrtf.c: Likewise.
72496 * math/s_csqrtl.c: Likewise.
72497 * math/s_ctan.c: Likewise.
72498 * math/s_ctanf.c: Likewise.
72499 * math/s_ctanh.c: Likewise.
72500 * math/s_ctanhf.c: Likewise.
72501 * math/s_ctanhl.c: Likewise.
72502 * math/s_ctanl.c: Likewise.
72503 * math/s_ldexp.c: Likewise.
72504 * math/s_ldexpf.c: Likewise.
72505 * math/s_ldexpl.c: Likewise.
72506 * math/s_significand.c: Likewise.
72507 * math/s_significandf.c: Likewise.
72508 * math/s_significandl.c: Likewise.
72509 * math/w_acos.c: Likewise.
72510 * math/w_acosf.c: Likewise.
72511 * math/w_acosh.c: Likewise.
72512 * math/w_acoshf.c: Likewise.
72513 * math/w_acoshl.c: Likewise.
72514 * math/w_acosl.c: Likewise.
72515 * math/w_asin.c: Likewise.
72516 * math/w_asinf.c: Likewise.
72517 * math/w_asinl.c: Likewise.
72518 * math/w_atan2.c: Likewise.
72519 * math/w_atan2f.c: Likewise.
72520 * math/w_atan2l.c: Likewise.
72521 * math/w_atanh.c: Likewise.
72522 * math/w_atanhf.c: Likewise.
72523 * math/w_atanhl.c: Likewise.
72524 * math/w_cosh.c: Likewise.
72525 * math/w_coshf.c: Likewise.
72526 * math/w_coshl.c: Likewise.
72527 * math/w_dremf.c: Likewise.
72528 * math/w_exp10.c: Likewise.
72529 * math/w_exp10f.c: Likewise.
72530 * math/w_exp10l.c: Likewise.
72531 * math/w_exp2.c: Likewise.
72532 * math/w_exp2f.c: Likewise.
72533 * math/w_fmod.c: Likewise.
72534 * math/w_fmodf.c: Likewise.
72535 * math/w_fmodl.c: Likewise.
72536 * math/w_hypot.c: Likewise.
72537 * math/w_hypotf.c: Likewise.
72538 * math/w_hypotl.c: Likewise.
72539 * math/w_j0.c: Likewise.
72540 * math/w_j0f.c: Likewise.
72541 * math/w_j0l.c: Likewise.
72542 * math/w_j1.c: Likewise.
72543 * math/w_j1f.c: Likewise.
72544 * math/w_j1l.c: Likewise.
72545 * math/w_jn.c: Likewise.
72546 * math/w_jnf.c: Likewise.
72547 * math/w_jnl.c: Likewise.
72548 * math/w_lgamma.c: Likewise.
72549 * math/w_lgamma_r.c: Likewise.
72550 * math/w_lgammaf.c: Likewise.
72551 * math/w_lgammaf_r.c: Likewise.
72552 * math/w_lgammal.c: Likewise.
72553 * math/w_lgammal_r.c: Likewise.
72554 * math/w_log.c: Likewise.
72555 * math/w_log10.c: Likewise.
72556 * math/w_log10f.c: Likewise.
72557 * math/w_log10l.c: Likewise.
72558 * math/w_log2.c: Likewise.
72559 * math/w_log2f.c: Likewise.
72560 * math/w_log2l.c: Likewise.
72561 * math/w_logf.c: Likewise.
72562 * math/w_logl.c: Likewise.
72563 * math/w_pow.c: Likewise.
72564 * math/w_powf.c: Likewise.
72565 * math/w_powl.c: Likewise.
72566 * math/w_remainder.c: Likewise.
72567 * math/w_remainderf.c: Likewise.
72568 * math/w_remainderl.c: Likewise.
72569 * math/w_scalb.c: Likewise.
72570 * math/w_scalbf.c: Likewise.
72571 * math/w_scalbl.c: Likewise.
72572 * math/w_sinh.c: Likewise.
72573 * math/w_sinhf.c: Likewise.
72574 * math/w_sinhl.c: Likewise.
72575 * math/w_sqrt.c: Likewise.
72576 * math/w_sqrtf.c: Likewise.
72577 * math/w_sqrtl.c: Likewise.
72578 * math/w_tgamma.c: Likewise.
72579 * math/w_tgammaf.c: Likewise.
72580 * math/w_tgammal.c: Likewise.
72581
72582 * po/ja.po: Update from translation team.
72583
72584 2011-09-29 Andreas Jaeger <aj@suse.de>
72585
72586 [BZ #13179]
72587 * sunrpc/netname.c (netname2host): Fix logic.
72588
72589 [BZ #6779]
72590 [BZ #6783]
72591 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
72592 correctly.
72593 * math/w_remainder.c (__remainder): Likewise.
72594 * math/w_remainderf.c (__remainderf): Likewise.
72595 * math/libm-test.inc (remainder_test): Add test cases.
72596
72597 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72598
72599 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
72600 sdiv_qrnnd.
72601
72602 2011-10-07 Ulrich Drepper <drepper@gmail.com>
72603
72604 * string/test-memcmp.c: Avoid unncessary #defines.
72605 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72606
72607 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72608
72609 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
72610 Use new sse2 version for core i3 - i7 as it's faster
72611 than sse42 version.
72612 (bit_Prefer_PMINUB_for_stringop): New.
72613 * sysdeps/x86_64/rawmemchr.S: Update.
72614 Replace with faster SSE2 version.
72615 * sysdeps/x86_64/memrchr.S: New file.
72616 * sysdeps/x86_64/memchr.S: Update.
72617 Replace with faster SSE2 version.
72618
72619 2011-09-12 Marek Polacek <mpolacek@redhat.com>
72620
72621 * elf/dl-load.c (lose): Add cast to avoid warning.
72622
72623 2011-10-07 Ulrich Drepper <drepper@gmail.com>
72624
72625 * po/ca.po: Update from translation team.
72626
72627 * inet/getnetgrent_r.c: Hook up nscd.
72628 * nscd/Makefile (routines): Add nscd_netgroup.
72629 (nscd-modules): Add netgroupcache.
72630 (CFLAGS-netgroupcache.c): Define.
72631 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
72632 (cache_search): Add const to second parameter.
72633 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
72634 INNETGR.
72635 (dbs): Add netgrdb entry.
72636 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
72637 (verify_persistent_db): Handle netgrdb.
72638 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
72639 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
72640 GETFDNETGR.
72641 (netgroup_response_header): Define.
72642 (innetgroup_response_header): Define.
72643 (datahead): Add netgroup_response_header and innetgroup_response_header
72644 elements.
72645 * nscd/nscd.conf: Add entries for netgroup cache.
72646 * nscd/nscd.h (dbtype): Add netgrdb.
72647 (_PATH_NSCD_NETGROUP_DB): Define.
72648 (netgroup_iov_disabled): Declare.
72649 (xmalloc, xcalloc, xrealloc): Move declarations here.
72650 (cache_search): Adjust prototype.
72651 Add netgroup-related prototypes.
72652 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
72653 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
72654 (__nscd_innetgr): Declare.
72655 * nscd/selinux.c (perms): Use access_vector_t as element type and
72656 add netgroup-related initializers.
72657 * nscd/netgroupcache.c: New file.
72658 * nscd/nscd_netgroup.c: New file.
72659 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
72660 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
72661 For four parameters use innetgr.
72662 * nss/nss_files/files-init.c: Add definition and callback for netgr.
72663 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
72664 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
72665 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
72666
72667 * nscd/connections.c (register_traced_file): Don't register file
72668 for disabled databases.
72669
72670 2011-10-06 Ulrich Drepper <drepper@gmail.com>
72671
72672 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
72673
72674 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
72675 from tree and freeing node.
72676
72677 2011-09-25 Jiri Olsa <jolsa@redhat.com>
72678
72679 * nss/nsswitch.c (__nss_database_lookup): Handle
72680 nss_parse_service_list out of memory case.
72681
72682 2011-09-15 Jiri Olsa <jolsa@redhat.com>
72683
72684 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
72685 out of memory case.
72686
72687 2011-10-04 Andreas Schwab <schwab@redhat.com>
72688
72689 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
72690 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
72691 pass it down.
72692 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
72693 elf_machine_rela, elf_machine_lazy_rel.
72694 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
72695 (ELF_DYNAMIC_DO_REL): Likewise.
72696 (ELF_DYNAMIC_DO_RELA): Likewise.
72697 (ELF_DYNAMIC_RELOCATE): Likewise.
72698 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
72699 to ELF_DYNAMIC_DO_REL.
72700 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
72701 (dl_main): In trace mode always set __RTLD_NOIFUNC.
72702 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
72703 elf_machine_rela.
72704 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
72705 skip_ifunc, don't call ifunc function if non-zero.
72706 (elf_machine_rela): Likewise.
72707 (elf_machine_lazy_rel): Likewise.
72708 (elf_machine_lazy_rela): Likewise.
72709 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
72710 (elf_machine_lazy_rel): Likewise.
72711 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
72712 Likewise.
72713 (elf_machine_lazy_rel): Likewise.
72714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72715 Likewise.
72716 (elf_machine_lazy_rel): Likewise.
72717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
72718 (elf_machine_lazy_rel): Likewise.
72719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
72720 (elf_machine_lazy_rel): Likewise.
72721 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
72722 (elf_machine_lazy_rel): Likewise.
72723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
72724 (elf_machine_lazy_rel): Likewise.
72725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
72726 (elf_machine_lazy_rel): Likewise.
72727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
72728 (elf_machine_lazy_rel): Likewise.
72729
72730 2011-09-28 Ulrich Drepper <drepper@gmail.com>
72731
72732 * nss/nss_files/files-init.c (_nss_files_init): Use static
72733 initialization for all the *_traced_file variables.
72734
72735 2011-09-28 Andreas Schwab <schwab@redhat.com>
72736
72737 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72738
72739 2011-09-27 Roland McGrath <roland@hack.frob.com>
72740
72741 [BZ #13226]
72742 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
72743
72744 2011-09-27 Andreas Schwab <schwab@redhat.com>
72745
72746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72747 Reread the line before reparsing it.
72748
72749 2011-09-26 Andreas Schwab <schwab@redhat.com>
72750
72751 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
72752
72753 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
72754 Maxim Kuvyrkov <maxim@codesourcery.com>
72755 Joseph Myers <joseph@codesourcery.com>
72756
72757 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
72758 if needed for __stack_chk_guard.
72759
72760 2011-09-19 Roland McGrath <roland@hack.frob.com>
72761
72762 * sysdeps/posix/spawni.c (script_execute): Always define it.
72763 It will be optimized away if unused.
72764 (maybe_script_execute): New function.
72765 (__spawni): Call it.
72766
72767 * Makerules: Don't include tls.make.
72768 (config-tls): Always set to thread.
72769 * tls.make.c: File removed.
72770
72771 2011-09-19 Mike Frysinger <vapier@gentoo.org>
72772
72773 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
72774 * config.make.in (CPPFLAGS-config): New substituted variable.
72775
72776 2011-09-15 Ulrich Drepper <drepper@gmail.com>
72777
72778 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
72779
72780 [BZ #13192]
72781 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
72782 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
72783
72784 2011-09-15 Roland McGrath <roland@hack.frob.com>
72785
72786 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
72787 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
72788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72789 (CALL_FAIL): Likewise.
72790 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
72791 (CALL_FAIL): Macro removed.
72792 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
72793
72794 2011-09-15 Ulrich Drepper <drepper@gmail.com>
72795
72796 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
72797 for __FINITE_MATH_ONLY__ == 1.
72798
72799 2011-09-15 Andreas Schwab <schwab@redhat.com>
72800
72801 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
72802 __ieee754_sqrt instead of sqrt.
72803 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
72804 __ieee754_sqrtf instead of sqrtf.
72805 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
72806 __floorf instead of floorf.
72807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
72808 __floorf, __truncf instead of floorf, truncf.
72809
72810 2011-09-14 Ulrich Drepper <drepper@gmail.com>
72811
72812 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
72813
72814 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
72815 __extern_always_inline.
72816 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
72817 32-bit.
72818
72819 2011-09-14 Andreas Schwab <schwab@redhat.com>
72820
72821 * elf/rtld.c (dl_main): Also relocate in dependency order when
72822 doing symbol dependency testing.
72823
72824 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
72825
72826 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72827 Always define `refsym'.
72828
72829 2011-09-13 Andreas Schwab <schwab@redhat.com>
72830
72831 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72832 (__FD_ELT): Renamed from __FDELT.
72833 * misc/bits/select2.h (__FD_ELT): Likewise.
72834 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72835 __FD_MASK instead of __FDELT, __FDMASK.
72836 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72837 Likewise.
72838 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72839 Likewise.
72840
72841 * elf/Makefile (gen-ldd): Fix pattern.
72842
72843 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72844 (init_tls): Likewise.
72845
72846 2011-09-12 Ulrich Drepper <drepper@gmail.com>
72847
72848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72849
72850 2011-09-12 Andreas Schwab <schwab@redhat.com>
72851
72852 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72853 `struct cmsghdr *' instead of `void *'.
72854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72855 Likewise.
72856
72857 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
72858
72859 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72860 if non-absolute.
72861 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72862 ldd_rewrite_script.
72863
72864 2011-09-11 Ulrich Drepper <drepper@gmail.com>
72865
72866 * configure.in: Remove --with-tls option.
72867 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72868 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72869 out in case it is missing.
72870 * sysdeps/ia64/elf/configure.in: Likewise.
72871 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72872 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72873 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72874 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72875 * sysdeps/sh/elf/configure.in: Likewise.
72876 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72877 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72878 * sysdeps/x86_64/elf/configure.in: Likewise.
72879 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72880 * sysdeps/mach/hurd/tls.h: Likewise.
72881
72882 [BZ #13067]
72883 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72884
72885 [BZ #13090]
72886 * configure.in: Fix use of AC_INIT.
72887
72888 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72889
72890 2011-09-10 Ulrich Drepper <drepper@gmail.com>
72891
72892 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72893 __set_errno.
72894 * malloc/hooks.c: Likewise.
72895
72896 [BZ #11929]
72897 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
72898 variables statically.
72899 (narenas): Initialize.
72900 (list_lock): Initialize.
72901 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
72902 initializtion of main_arena and list_lock. Small cleanups.
72903 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72904 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
72905 Add initializers to main_arena and mp_.
72906 (malloc_state): Remove pagesize member. Change all users to use
72907 GLRO(dl_pagesize).
72908
72909 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72910 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
72911 is always initialized.
72912
72913 * malloc/malloc.c: Removed unused configurations and dead code.
72914 * malloc/arena.c: Likewise.
72915 * malloc/hooks.c: Likewise.
72916 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72917
72918 * include/tls.h: Removed. USE___THREAD must always be defined.
72919 * bits/libc-tsd.h: Don't handle !USE___THREAD.
72920 * elf/dl-libc.c: Likewise.
72921 * elf/dl-tsd.c: Likewise.
72922 * include/errno.h: Likewise.
72923 * include/netdb.h: Likewise.
72924 * include/resolv.h: Likewise.
72925 * inet/herrno-loc.c: Likewise.
72926 * inet/herrno.c: Likewise.
72927 * malloc/arena.c: Likewise.
72928 * malloc/hooks.c: Likewise.
72929 * malloc/malloc.c: Likewise.
72930 * resolv/res-state.c: Likewise.
72931 * resolv/res_libc.c: Likewise.
72932 * sysdeps/i386/dl-machine.h: Likewise.
72933 * sysdeps/ia64/dl-machine.h: Likewise.
72934 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72935 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72936 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72937 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72938 * sysdeps/sh/dl-machine.h: Likewise.
72939 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72940 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72941 * sysdeps/unix/i386/sysdep.S: Likewise.
72942 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72943 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72948 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72952 * sysdeps/unix/x86_64/sysdep.S: Likewise.
72953 * sysdeps/x86_64/dl-machine.h: Likewise.
72954 * tls.make.c: Likewise.
72955
72956 * configure.in: Remove --with-__thread option. Make tests for
72957 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72958 tls_model attribute fail if no support is available. Remove
72959 USE_IN_LIBIO.
72960 * Makeconfig: Adjust for dropped configure option. All features are
72961 now mandatory.
72962 * Makerules: Likewise.
72963 * Versions.def: Likewise.
72964 * argp/argp-fmtstream.c: Likewise.
72965 * argp/argp-fmtstream.h: Likewise.
72966 * argp/argp-help.c: Likewise.
72967 * assert/assert.c: Likewise.
72968 * config.h.in: Likewise.
72969 * config.make.in: Likewise.
72970 * configure: Likewise.
72971 * configure.in: Likewise.
72972 * csu/Versions: Likewise.
72973 * csu/init.c: Likewise.
72974 * elf/tst-audit2.c: Likewise.
72975 * elf/tst-tls10.c: Likewise.
72976 * elf/tst-tls10.h: Likewise.
72977 * elf/tst-tls11.c: Likewise.
72978 * elf/tst-tls12.c: Likewise.
72979 * elf/tst-tls14.c: Likewise.
72980 * elf/tst-tlsmod11.c: Likewise.
72981 * elf/tst-tlsmod12.c: Likewise.
72982 * elf/tst-tlsmod13.c: Likewise.
72983 * elf/tst-tlsmod13a.c: Likewise.
72984 * elf/tst-tlsmod14a.c: Likewise.
72985 * elf/tst-tlsmod15b.c: Likewise.
72986 * elf/tst-tlsmod16a.c: Likewise.
72987 * elf/tst-tlsmod16b.c: Likewise.
72988 * elf/tst-tlsmod7.c: Likewise.
72989 * elf/tst-tlsmod8.c: Likewise.
72990 * elf/tst-tlsmod9.c: Likewise.
72991 * gmon/gmon.c: Likewise.
72992 * grp/fgetgrent_r.c: Likewise.
72993 * grp/putgrent.c: Likewise.
72994 * hurd/fopenport.c: Likewise.
72995 * include/libc-symbols.h: Likewise.
72996 * include/tls.h: Likewise.
72997 * intl/gettextP.h: Likewise.
72998 * intl/loadinfo.h: Likewise.
72999 * locale/global-locale.c: Likewise.
73000 * locale/localeinfo.h: Likewise.
73001 * mach/devstream.c: Likewise.
73002 * malloc/arena.c: Likewise.
73003 * malloc/set-freeres.c: Likewise.
73004 * misc/err.c: Likewise.
73005 * misc/getttyent.c: Likewise.
73006 * misc/mntent_r.c: Likewise.
73007 * posix/getopt.c: Likewise.
73008 * posix/wordexp.c: Likewise.
73009 * pwd/fgetpwent_r.c: Likewise.
73010 * resolv/Versions: Likewise.
73011 * resolv/res_hconf.c: Likewise.
73012 * shadow/fgetspent_r.c: Likewise.
73013 * shadow/putspent.c: Likewise.
73014 * stdio-common/printf_fphex.c: Likewise.
73015 * stdio-common/tmpfile.c: Likewise.
73016 * stdlib/abort.c: Likewise.
73017 * stdlib/fmtmsg.c: Likewise.
73018 * sunrpc/auth_unix.c: Likewise.
73019 * sunrpc/clnt_perr.c: Likewise.
73020 * sunrpc/clnt_tcp.c: Likewise.
73021 * sunrpc/clnt_udp.c: Likewise.
73022 * sunrpc/clnt_unix.c: Likewise.
73023 * sunrpc/openchild.c: Likewise.
73024 * sunrpc/svc_simple.c: Likewise.
73025 * sunrpc/svc_tcp.c: Likewise.
73026 * sunrpc/svc_udp.c: Likewise.
73027 * sunrpc/svc_unix.c: Likewise.
73028 * sunrpc/xdr.c: Likewise.
73029 * sunrpc/xdr_array.c: Likewise.
73030 * sunrpc/xdr_rec.c: Likewise.
73031 * sunrpc/xdr_ref.c: Likewise.
73032 * sunrpc/xdr_stdio.c: Likewise.
73033
73034 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73035
73036 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73037
73038 2011-07-03 Andreas Jaeger <aj@suse.de>
73039
73040 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73041 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73042 regenerate with gen-libm-tests.pl.
73043
73044 2010-05-12 Petr Baudis <pasky@suse.cz>
73045
73046 [BZ #11589]
73047 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73048 around j0() zero points by switching to j1().
73049 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73052 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73053
73054 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73055
73056 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73057 instead of 0.
73058 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73059 instead of 0.
73060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73061 Patch in part by Pavel Roskin <proski@gnu.org>.
73062
73063 [BZ #13138]
73064 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73065 realloc.
73066 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
73067 Free memory block if necessary.
73068
73069 [BZ #12847]
73070 * libio/genops.c (INTDEF): For string streams the _lock pointer can
73071 be NULL. Don't lock in this case.
73072
73073 2011-09-09 Roland McGrath <roland@hack.frob.com>
73074
73075 * elf/elf.h (ELFOSABI_GNU): New macro.
73076 (ELFOSABI_LINUX): Define to that.
73077
73078 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
73079
73080 * string/strncat.c (strncat): Undef the symbol in case it has been
73081 defined in bits/string.h.
73082
73083 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73084
73085 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73086
73087 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73088 link map.
73089
73090 2011-08-17 Andreas Jaeger <aj@suse.de>
73091
73092 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73093
73094 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
73095 Ian Lance Taylor <iant@google.com>
73096
73097 * math/libm-test.inc (lround_test): New testcase.
73098 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73099
73100 2011-09-08 Ulrich Drepper <drepper@gmail.com>
73101
73102 * Makefile: Remove support for automatic cvs check-ins.
73103 * Makerules: Likewise.
73104 * config.make.in: Likewise.
73105 * configure.in: Likewise.
73106 * intl/Makefile: Likewise.
73107 * locale/Makefile: Likewise.
73108 * po/Makefile: Likewise.
73109 * posix/Makefile: Likewise.
73110 * sysdeps/gnu/Makefile: Likewise.
73111 * sysdeps/mach/hurd/Makefile: Likewise.
73112 * sysdeps/sparc/sparc32/Makefile: Likewise.
73113
73114 [BZ #13118]
73115 * posix/Makefile (bug-regex32-ENV): Define.
73116 Patch by John Stanley <jpsinthemix@verizon.net>.
73117
73118 * misc/Makefile (headers): Add bits/select2.h.
73119 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73120 * misc/bits/select2.h: New file.
73121 * include/bits/select2.h: New file.
73122 * debug/Makefile (routines): Add fdelt_chk.
73123 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73124 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73125 FD_ISSET.
73126 * debug/fdelt_chk.c: New file.
73127
73128 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
73129 * wcsmbs/test-wmemcmp.c: Likewise.
73130 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73131 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73132
73133 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73134
73135 * string/Makefile (strop-tests): Add memcmp.
73136 * string/test-wmemcmp.c: New file.
73137 * string/test-memcmp.c: Add wmemcmp support.
73138
73139 2011-09-08 Roland McGrath <roland@hack.frob.com>
73140
73141 [BZ #13153]
73142 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73143 2011-07-19 change.
73144
73145 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73146 garbage value in a __mach_port_mod_refs call in the cases of the
73147 task-self and thread-self ports.
73148
73149 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73150
73151 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73152
73153 2011-09-08 Andreas Schwab <schwab@redhat.com>
73154
73155 * elf/dl-load.c (lose): Check for non-null L.
73156
73157 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73158
73159 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73160
73161 * elf/dl-libc.c (dlerror_run): Pass back error code from
73162 dl_catch_error.
73163
73164 [BZ #13123]
73165 * elf/dl-load.c (lose): Free l_origin if it is valid.
73166
73167 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73168 names.
73169 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73170 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73171 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73174 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73175
73176 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73177
73178 * sysdeps/powerpc/fpu/e_hypot.c: New file.
73179 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73180 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73181 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73182 * sysdeps/powerpc/fpu/k_cosf.c: New file.
73183 * sysdeps/powerpc/fpu/k_sinf.c: New file.
73184 * sysdeps/powerpc/fpu/s_cosf.c: New file.
73185 * sysdeps/powerpc/fpu/s_sinf.c: New file.
73186 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73187 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73188
73189 2011-08-15 Alan Modra <amodra@gmail.com>
73190
73191 [BZ #13092]
73192 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73193 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73194 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
73195 ppc_mcount to static-only-routines.
73196 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73197 __mcount_internal.
73198 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73199 __mcount_internal with usual JUMPTARGET. Remove useless nop.
73200
73201 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
73202
73203 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73204 for finite and infinity parameters.
73205
73206 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
73207
73208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73209 and add nop instructions for throughput optimization.
73210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73211
73212 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
73213
73214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73215 aligned copy for power7 with vector-scalar instructions.
73216 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73217
73218 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
73219
73220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73221 AVX check.
73222
73223 2011-09-07 Andreas Schwab <schwab@redhat.com>
73224
73225 [BZ #13144]
73226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73227 last change.
73228
73229 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73230
73231 * sysdeps/unix/sysv/linux/x86_64/init-first.c
73232 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73233 syscall wrapper around clock_gettime in __vdso_clock_gettime.
73234 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73235 clock_gettime.
73236
73237 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73238
73239 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73240 Forgot to demangle the pointer.
73241
73242 * sysdeps/i386/sysdep.h: Define atom_text_section.
73243 * sysdeps/x86_64/sysdep.h: Likewise.
73244 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73245 section with atom_text_section.
73246 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73248 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73249 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73250 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73251
73252 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73253 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73254 already be defined. Change to take two parameters and don't assign
73255 result to variable. Adjust all users.
73256 Define INTERNAL_GETTIME if not already defined.
73257 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73258 call.
73259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73260 HAVE_CLOCK_GETTIME_VSYSCALL.
73261 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73262
73263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73264 gettimeofday vsyscall, just use time.
73265
73266 2011-09-06 Andreas Schwab <schwab@redhat.com>
73267
73268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73269 <errno.h>.
73270
73271 2011-09-06 Ulrich Drepper <drepper@gmail.com>
73272
73273 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73274 syscall on x86-64.
73275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73276 syscall.
73277 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73278 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73279 syscall if possible.
73280
73281 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73282
73283 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73284 e_ident. Don't pass to find_mapsXX.
73285 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73286
73287 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73288
73289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73290 strchr-sse2-no-bsf strrchr-sse2-no-bsf
73291 * sysdeps/x86_64/multiarch/strchr.S: Update.
73292 Check bit_slow_BSF bit.
73293 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73294 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73295 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73296
73297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73298
73299 [BZ #13134]
73300 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73301 before glibc 2.15.
73302 (tryshell): Define.
73303 (__spawni): Change last parameter to be flag. Test
73304 SPAWN_XFLAGS_USE_PATH flag to use path or not.
73305 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73306 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73307 * posix/spawni.c: Likewise.
73308 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73309 * posix/spawnp.c: Likewise. Change normal version to use
73310 SPAWN_XFLAGS_USE_PATH.
73311 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73312 SPAWN_XFLAGS_TRY_SHELL.
73313
73314 [BZ #13150]
73315 * posix/glob.h: Remove gcc 1.x support.
73316
73317 [BZ #13068]
73318 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73319
73320 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73321
73322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73323 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73324 strrchr-sse2-bsf
73325 * sysdeps/i386/i686/multiarch/strchr.S: New file.
73326 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73327 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73328 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73329 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73330 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73331
73332 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73333
73334 * sysdeps/x86_64/wcscmp.S: New file.
73335
73336 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73337 wcscmp-c wcscmp-sse2
73338 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73339 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73340 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73341 * wcsmbs/wcscmp.c: Allow renaming.
73342
73343 2011-09-05 David S. Miller <davem@davemloft.net>
73344
73345 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
73346 stack slot, rather than the struct return pointer slot.
73347 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
73348 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
73349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
73350 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
73351
73352 2011-09-05 Ulrich Drepper <drepper@gmail.com>
73353
73354 * po/ja.po: Update from translation team.
73355
73356 [BZ #13144]
73357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
73358 kernel in 64-bit binaries.
73359
73360 2011-09-01 David S. Miller <davem@davemloft.net>
73361
73362 * elf/elf.h (HWCAP_SPARC_*): Move to..
73363 * sysdeps/sparc/sysdep.h: this new file and add new values.
73364 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
73365 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
73366 _DL_HWCAP_COUNT to 24.
73367 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
73368 entries.
73369 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
73370 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
73371 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
73372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
73373 instead of magic constants.
73374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73375
73376 2011-08-31 David S. Miller <davem@davemloft.net>
73377
73378 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
73379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
73380 Reimplement to do errno handling inline.
73381 (SYSCALL_ERROR_HANDLER): New macro.
73382 (__SYSCALL_STRING): Do not do errno handling in asm.
73383 (__CLONE_SYSCALL_STRING): Delete.
73384 (__INTERNAL_SYSCALL_STRING): Delete.
73385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
73386 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
73387 (PSEUDO): Reimplement to do errno handling inline.
73388 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
73389 (SYSCALL_ERROR_HANDLER): New macro.
73390 (__SYSCALL_STRING): Do not do errno handling in asm.
73391 (__CLONE_SYSCALL_STRING): Delete.
73392 (__INTERNAL_SYSCALL_STRING): Delete.
73393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
73394 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
73395 i386.
73396 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
73397 (inline_syscall*): Add 'err' argument.
73398 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
73399 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
73400 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
73401 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
73402
73403 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
73404 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73405
73406 2011-08-30 Andreas Schwab <schwab@redhat.com>
73407
73408 * elf/rtld.c (dl_main): Relocate objects in dependency order.
73409
73410 2011-08-29 Jiri Olsa <jolsa@redhat.com>
73411
73412 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
73413 directive.
73414
73415 2011-08-24 David S. Miller <davem@davemloft.net>
73416
73417 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
73418
73419 2011-08-24 Andreas Schwab <schwab@redhat.com>
73420
73421 * elf/Makefile: Add rules to build and run unload8 test.
73422 * elf/unload8.c: New file.
73423 * elf/unload8mod1.c: New file.
73424 * elf/unload8mod1x.c: New file.
73425 * elf/unload8mod2.c: New file.
73426 * elf/unload8mod3.c: New file.
73427
73428 * elf/dl-close.c (_dl_close_worker): Reset private search list if
73429 it wasn't used.
73430
73431 2011-08-23 David S. Miller <davem@davemloft.net>
73432
73433 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
73434 subtract stack bias.
73435 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
73436 %sp not %fp in calculations.
73437 (_JMPBUF_UNWINDS_ADJ): Likewise.
73438
73439 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
73440 (aio_suspend): Call it to force an exception region around the
73441 AIO_MISC_WAIT() invocation.
73442
73443 2011-08-23 Andreas Schwab <schwab@redhat.com>
73444
73445 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
73446 backslash.
73447
73448 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
73449
73450 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
73451 protection macro.
73452 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
73453 and <dl-machine.h>.
73454 (Elf64_FuncDesc): Remove.
73455
73456 2011-08-22 David S. Miller <davem@davemloft.net>
73457
73458 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
73459 sigaltstack check, add missing cfi directives.
73460 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
73461 missing cfi directives, and sigaltstack handling.
73462
73463 2011-08-16 Andreas Schwab <schwab@redhat.com>
73464
73465 [BZ #11724]
73466 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
73467 object is seen twice.
73468 * elf/dl-fini.c (_dl_sort_fini): Likewise.
73469
73470 * elf/Makefile (distribute): Add tst-initorder2.c.
73471 (tests): Add tst-initorder2.
73472 (modules-names): Add tst-initorder2a tst-initorder2b
73473 tst-initorder2c tst-initorder2d. Add rules to build them.
73474 ($(objpfx)tst-initorder2.out): New rule.
73475 * elf/tst-initorder2.c: New file.
73476 * elf/tst-initorder2.exp: New file.
73477
73478 2011-08-22 Andreas Schwab <schwab@redhat.com>
73479
73480 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
73481
73482 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
73483 dependencies back to end of function.
73484
73485 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73486 $(elfobjdir)/ld.so.
73487
73488 2011-08-21 Ulrich Drepper <drepper@gmail.com>
73489
73490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
73491 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
73492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
73493 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
73494 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
73495 of __vdso_gettimeofday.
73496 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
73497 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
73498 attribute_hidden.
73499 (_libc_vdso_platform_setup): Remove initialization of
73500 __vdso_gettimeofday and __vdso_time.
73501
73502 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73503
73504 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
73505 and fgetc_unlocked.
73506 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
73507 getc_unlocked.
73508
73509 * elf/dl-open.c (add_to_global): Report additions to the global scope
73510 for LD_DEBUG=scopes.
73511 (dl_open_worker): Also print scope of newly loaded dependencies.
73512 (_dl_show_scope): Indicate if there is no scope.
73513
73514 [BZ #13114]
73515 * stdio-common/Makefile (tests): Add bug24.
73516 * stdio-common/bug24.c: New file.
73517
73518 2011-08-19 Andreas Jaeger <aj@suse.de>
73519
73520 [BZ #13114]
73521 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
73522 non-existant file when using close-on-exec mode.
73523
73524 2011-08-20 Ulrich Drepper <drepper@gmail.com>
73525
73526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
73527 the very first instruction.
73528
73529 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
73530 the CFI state in the end.
73531 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
73532 inclusion of dl-trampoline.h.
73533 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
73534
73535 2011-08-19 Andreas Schwab <schwab@redhat.com>
73536
73537 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
73538 expectations for long double.
73539
73540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
73541 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
73542
73543 2011-08-14 David S. Miller <davem@davemloft.net>
73544
73545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
73546 artificual limit depends upon the system page size.
73547
73548 2011-08-17 Ulrich Drepper <drepper@gmail.com>
73549
73550 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
73551 * resolv/Makefile: Define CFLAGS-libresolv.
73552
73553 2011-08-17 Andreas Schwab <schwab@redhat.com>
73554
73555 * nss/makedb.c (compute_tables): Make variables used in nested
73556 function static.
73557
73558 2011-08-17 Ulrich Drepper <drepper@gmail.com>
73559
73560 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
73561 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
73562 if buffer was too small.
73563
73564 * elf/pldd.c (main): Attach to all threads in the process.
73565 Rewrite /proc handling to use *at functions.
73566
73567 2011-08-16 Ulrich Drepper <drepper@gmail.com>
73568
73569 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
73570 specifies first scope to show.
73571 (dl_open_worker): Update callers. Move printing scope of new
73572 object to before the relocation.
73573 * elf/rtld.c (dl_main): Update _dl_show_scope call.
73574 * sysdeps/generic/ldsodefs.h: Update declaration.
73575
73576 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
73577 string for the scope number.
73578
73579 2011-08-14 Ulrich Drepper <drepper@gmail.com>
73580
73581 * nscd/servicescache.c (cache_addserv): Make sure written is always
73582 initialized.
73583
73584 2011-08-14 Roland McGrath <roland@hack.frob.com>
73585
73586 * sysdeps/i386/i486/bits/atomic.h
73587 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
73588 statement expression, so as to suppress "set but not used" warning.
73589 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
73590
73591 * string/strncat.c (STRNCAT): Use prototype definition.
73592
73593 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
73594 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
73595 -Iprograms here.
73596 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
73597 (localedef-modules): Add localedef.
73598 (locale-modules): Add locale.
73599
73600 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
73601 * elf/rtld.c (dl_main): Invert order of assignment in last change,
73602 to avoid a warning.
73603
73604 2011-08-14 David S. Miller <davem@davemloft.net>
73605
73606 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
73607 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
73608
73609 2011-08-13 Ulrich Drepper <drepper@gmail.com>
73610
73611 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73612 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
73613 * elf/rtld.c (dl_main): Set l_name of vDSO.
73614 Call _dl_show_scope when DL_DEBUG_SCOPES.
73615 (process_dl_debug): Recognize scopes flag and also set it for all.
73616 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
73617 Declare _dl_show_scope.
73618
73619 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
73620 (do_dlopen): Pass caller_dlopen to dl_open.
73621 (__libc_dlopen_mode): Initialize caller_dlopen.
73622
73623 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
73624 of libc. Make tolower call locale-independent. Optimize a bit by
73625 using isdigit instead of isalnum.
73626 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
73627
73628 2011-08-12 Ulrich Drepper <drepper@gmail.com>
73629
73630 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
73631 was a dependency or dynamically loaded.
73632
73633 2011-08-11 Ulrich Drepper <drepper@gmail.com>
73634
73635 * intl/l10nflist.c: Allow architecture-specific pop function.
73636 * sysdeps/x86_64/l10nflist.c: New file.
73637
73638 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
73639 classification.
73640
73641 2011-08-10 Andreas Schwab <schwab@redhat.com>
73642
73643 * include/dirent.h: Add libc_hidden_proto for scandirat and
73644 scandirat64. Don't declare __scandirat64.
73645 * dirent/scandirat.c: Add libc_hidden_def.
73646 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
73647 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
73648
73649 2011-08-10 David S. Miller <davem@davemloft.net>
73650
73651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
73652 enum.
73653 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73655 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73656
73657 2011-08-09 Ulrich Drepper <drepper@gmail.com>
73658
73659 * Versions.def [libc]: Add GLIBC_2.15.
73660 * dirent/Makefile (routines): Add scandirat and scandirat64.
73661 * dirent/Versions [libc]: Export scandirat and scandirat64 for
73662 GLIBC_2.15.
73663 * dirent/dirent.h: Declare scandirat and scandirat64.
73664 * dirent/scandirat.c: New file.
73665 * dirent/scandirat64.c: New file.
73666 * sysdeps/wordsize-64/scandirat.c: New file.
73667 * sysdeps/wordsize-64/scandirat64.c: New file.
73668 * dirent/opendir.c: Define opendirat.
73669 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
73670 using scandirat.
73671 * dirent/scandir64.c: Adjust for scandir.c change.
73672 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
73673 __scandirat64, and __scandir_cancel_handler.
73674 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
73675 additional parameter and use openat instead of open (outside of ld.so).
73676 Add new __opendir as wrapper around __opendirat.
73677 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
73678 here without requiring old scandirat implementation.
73679
73680 2011-08-08 Ulrich Drepper <drepper@gmail.com>
73681
73682 * dirent/scandir.c (cancel_handler): Renamed to
73683 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
73684 defined. Adjust users.
73685 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
73686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
73687
73688 2011-08-04 Ulrich Drepper <drepper@gmail.com>
73689
73690 * string/test-string.h (IMPL): Use __STRING to expand name and then
73691 stringify it.
73692
73693 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
73694 of cleanups.
73695
73696 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73697
73698 * string/Makefile: Update.
73699 (strop-tests): Append strncat.
73700 * string/test-wcscmp.c: New file.
73701 New comprehensive test for wcscmp.
73702 * string/test-strcmp.c: Update.
73703 (WIDE): New define.
73704
73705 2011-07-22 Andreas Schwab <schwab@redhat.com>
73706
73707 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
73708 line.
73709
73710 2011-07-26 Andreas Schwab <schwab@redhat.com>
73711
73712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73713 encoding to ACE if AI_IDN.
73714
73715 2011-08-01 Jakub Jelinek <jakub@redhat.com>
73716
73717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
73718 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
73719
73720 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73721
73722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
73723 Fix overflow bug in strncat.
73724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
73725
73726 * string/test-strncat.c: Update.
73727 Add new tests for checking overflow bugs.
73728
73729 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73730
73731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73732 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
73733 * sysdeps/i386/i686/multiarch/strcat.S: New file.
73734 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
73735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
73736 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
73737 * sysdeps/i386/i686/multiarch/strncat.S: New file.
73738 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
73739 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
73740
73741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
73742 (USE_AS_STRCAT): Define.
73743 Add strcat and strncat support.
73744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73745
73746 2011-07-25 Andreas Schwab <schwab@redhat.com>
73747
73748 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
73749 __n bigger than INT_MAX+1.
73750 (__strncmp_g): Likewise.
73751
73752 2011-07-23 Ulrich Drepper <drepper@gmail.com>
73753
73754 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
73755 * libio/stido.h: Likewise.
73756
73757 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
73758 (AF_NFC): Define.
73759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
73760 (AF_NFC): Define.
73761
73762 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
73763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
73764 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
73765 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
73766 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
73767
73768 [BZ #13021]
73769 * scripts/test-installation.pl: Don't expect libnss_test1 to be
73770 installed.
73771
73772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
73773 typo.
73774 (_dl_x86_64_save_sse): Likewise.
73775
73776 2011-07-22 Ulrich Drepper <drepper@gmail.com>
73777
73778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
73779 OSXSAVE.
73780 (_dl_x86_64_save_sse): Likewise.
73781
73782 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
73783
73784 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
73785
73786 2011-07-21 Andreas Schwab <schwab@redhat.com>
73787
73788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
73789 change.
73790 (_dl_x86_64_save_sse): Use correct AVX check.
73791
73792 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73793
73794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
73795 bug in strncpy/strncat.
73796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
73797
73798 2011-07-21 Ulrich Drepper <drepper@gmail.com>
73799
73800 * string/tester.c (test_strcat): Add tests for different alignments
73801 of source and destination.
73802 (test_strncat): Likewise.
73803
73804 2011-07-20 Ulrich Drepper <drepper@gmail.com>
73805
73806 [BZ #12852]
73807 * posix/glob.c (glob): Check passed in values before using them in
73808 expressions to avoid some overflows.
73809 (glob_in_dir): Likewise.
73810
73811 [BZ #13007]
73812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
73813 check for AVX enablement so that we don't crash with old kernels and
73814 new hardware.
73815 * elf/tst-audit4.c: Add same checks here.
73816 * elf/tst-audit6.c: Likewise.
73817
73818 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
73819
73820 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
73821
73822 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
73823
73824 2011-07-20 Ulrich Drepper <drepper@gmail.com>
73825
73826 * po/cs.po: Update from translation team.
73827 * po/bg.po: Likewise.
73828
73829 2011-07-12 Marek Polacek <mpolacek@redhat.com>
73830
73831 * misc/sys/cdefs.h: Add support for const attribute.
73832 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73833 to gnu_dev_{major,minor,makedev} functions.
73834
73835 2011-07-20 Marek Polacek <mpolacek@redhat.com>
73836
73837 * intl/dcigettext.c (get_output_charset): Add missing bracket.
73838
73839 2011-07-20 Andreas Schwab <schwab@redhat.com>
73840
73841 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73842 strlen results.
73843
73844 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73845
73846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73847 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73848 register in order to avoid conflicts with the soft frame pointer
73849 being held in r11 when necessary.
73850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73851 (INTERNAL_VSYSCALL_NCS): Likewise.
73852
73853 2011-07-14 Marek Polacek <mpolacek@redhat.com>
73854
73855 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73856 * elf/dl-fini.c (_dl_fini): Adjust caller.
73857 * elf/dl-close.c (_dl_close_worker): Likewise.
73858 * sysdeps/generic/ldsodefs.h: Adjust declaration.
73859
73860 2011-07-15 Marek Polacek <mpolacek@redhat.com>
73861
73862 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73863 "aux_cache->nlibs < 0".
73864
73865 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73866 in the reload-count case.
73867
73868 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
73869
73870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73871 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73872 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73873 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73874 * sysdeps/x86_64/multiarch/strcat.S: New file.
73875 * sysdeps/x86_64/multiarch/strncat.S: New file.
73876 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73877 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73878 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73879 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73880 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73881 (USE_AS_STRCAT): Define.
73882 Add strcat and strncat support.
73883 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73885 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73886 * string/strncat.c: Update.
73887 (USE_AS_STRNCAT): Define.
73888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73889 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73890 and i7.
73891 * sysdeps/x86_64/multiarch/init-arch.h
73892 (bit_Prefer_PMINUB_for_stringop): New.
73893 (index_Prefer_PMINUB_for_stringop): Likewise.
73894 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73895 bit_Prefer_PMINUB_for_stringop.
73896
73897 2011-07-19 Ulrich Drepper <drepper@gmail.com>
73898
73899 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73900 buffer64.
73901 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73902 of casting of buffer.
73903 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73904 buffer32 and buffer64.
73905 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73906 writes instead of casting of buffer.
73907 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73908 buffer32.
73909 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73910 casting of buffer.
73911
73912 2011-07-19 Andreas Schwab <schwab@redhat.com>
73913
73914 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73915
73916 2011-07-19 Ulrich Drepper <drepper@gmail.com>
73917
73918 * nscd/nscd.c (termination_handler): Don't do anything for a database
73919 if it has not yet been initialized.
73920
73921 2011-07-18 Ulrich Drepper <drepper@gmail.com>
73922
73923 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73924
73925 2011-07-15 Marek Polacek <mpolacek@redhat.com>
73926
73927 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73928
73929 2011-07-18 Ulrich Drepper <drepper@gmail.com>
73930
73931 * po/nl.po: Update from translation team.
73932 * po/sv.po: Likewise.
73933
73934 2011-07-16 Roland McGrath <roland@hack.frob.com>
73935
73936 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73937 now disallowed by GCC.
73938
73939 * configure.in (use-default-link): Default to yes if a test -shared
73940 link meets our qualifications.
73941 * configure: Regenerated.
73942
73943 * config.make.in (output-format): New variable.
73944 * configure.in: Check for ld --print-output-format support.
73945 * configure: Regenerated.
73946 * Makerules ($(common-objpfx)format.lds)
73947 [$(output-format) != unknown]: Just use $(output-format),
73948 instead of the linker-script munging.
73949
73950 2011-07-14 Roland McGrath <roland@hack.frob.com>
73951
73952 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73953 of $(common-objpfx)shlib.lds.
73954 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73955
73956 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73957 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73958
73959 * configure.in (-z relro check): Adjust test code to add a large
73960 writable data section after it.
73961 * configure: Regenerated.
73962
73963 2011-07-11 Roland McGrath <roland@hack.frob.com>
73964
73965 * configure.in (-z relro check): Fix test code to make the variable
73966 truly const.
73967 * configure: Regenerated.
73968
73969 2011-07-11 Ulrich Drepper <drepper@gmail.com>
73970
73971 * nscd/nscd.h (struct traced_file): Define.
73972 (struct database_dyn): Remove inotify_descr, reset_res, and filename
73973 elements. Add traced_files.
73974 (inotify_fd): Declare.
73975 (register_traced_file): Declare.
73976 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73977 (inotify_fd): Export.
73978 (resolv_conf_descr): Remove.
73979 (nscd_init): Move inotify descriptor creation to main.
73980 Don't register files for notification here.
73981 (register_traced_file): New function.
73982 (invalidate_cache): Don't use reset_res to determine whether to call
73983 res_init, go through the list of registered files.
73984 (main_loop_poll): The inotify descriptors are now stored in the
73985 structures for the traced files.
73986 (main_loop_epoll): Likewise.
73987 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
73988 to __nss_disable_nscd.
73989 * nscd/cache.c (prune_cache): There is no single inotify descriptor
73990 for a database anymore. Check the records for all the registered
73991 files instead.
73992 * nss/Makefile (libnss_files-routines): Add files-init.
73993 (libnss_db-routines): Add db-init.
73994 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73995 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73996 * nss/nss_db/db-init.c: New file.
73997 * nss/nss_files/files-init.c: New file.
73998 * nss/nsswitch.c (nss_load_library): New function. Broken out of
73999 __nss_lookup_function.
74000 (__nss_lookup_function): Call nss_load_library.
74001 (nss_load_all_libraries): New function.
74002 (__nss_disable_nscd): Take parameter with callback function for files
74003 to register. Set is_nscd. Load all the DSOs for the NSS modules
74004 used for the cached services.
74005 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74006 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74007 options for features to all the files in nscd.
74008
74009 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74010
74011 2011-07-10 Roland McGrath <roland@hack.frob.com>
74012
74013 * csu/elf-init.c (__libc_csu_init): Comment typo.
74014
74015 2011-07-09 Ulrich Drepper <drepper@gmail.com>
74016
74017 * po/pl.po: Update from translation team.
74018 * po/ja.po: Likewise.
74019 * po/ru.po: Likewise.
74020 * po/ko.po: Likewise.
74021 * po/fr.po: Likewise.
74022
74023 2011-07-09 Roland McGrath <roland@hack.frob.com>
74024
74025 * configure.in (.ctors/.dtors header and trailer check):
74026 Use an empirical test on a built program.
74027 * configure: Regenerated.
74028
74029 * configure.in (-z relro check): Use an empirical test on a built DSO.
74030 Detect, but do not require, on ia64.
74031 * configure: Regenerated.
74032
74033 * configure.in (READELF): Find it with AC_CHECK_TOOL.
74034 Update tests that use readelf to use $READELF instead.
74035 * configure: Regenerated.
74036
74037 2011-07-08 Ulrich Drepper <drepper@gmail.com>
74038
74039 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74040 if the result is not used.
74041
74042 2011-07-05 Andreas Jaeger <aj@suse.de>
74043
74044 [BZ#9696]
74045 * stdlib/tst-strtod.c: Add testcase.
74046
74047 2011-07-07 Ulrich Drepper <drepper@gmail.com>
74048
74049 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74050 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74051 The latter has a higher limit. Take additional parameter to pass to
74052 the new function.
74053 (__pathconf): Pass file to __statfs_link_max.
74054 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74055 __statfs_link_max.
74056 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74057 __statfs_link_max.
74058
74059 [BZ #12868]
74060 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74061 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74062 Handle Lustre.
74063 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74064 (__statfs_filesize_max): Likewise.
74065 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74066
74067 2011-07-05 Andreas Jaeger <aj@suse.de>
74068
74069 * resolv/res_comp.c (dn_skipname): Remove unused variable.
74070
74071 2011-07-06 Marek Polacek <mpolacek@redhat.com>
74072
74073 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74074 `status' variable.
74075 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74076 Likewise.
74077
74078 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
74079
74080 * Makefile (strop-tests): Add strncat.
74081 * string/test-strncat.c: New file.
74082
74083 2011-06-30 Marek Polacek <mpolacek@redhat.com>
74084
74085 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74086
74087 2011-06-21 Andreas Jaeger <aj@suse.de>
74088
74089 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74090 Copy rule from iconvdata/Makefile.
74091
74092 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74093
74094 [BZ #12922]
74095 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74096 but no long options are defined, just return 'W'.
74097
74098 2011-06-22 Marek Polacek <mpolacek@redhat.com>
74099
74100 [BZ #9696]
74101 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74102
74103 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74104
74105 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74106 netgroups to read.
74107 (innetgr): Likewise.
74108
74109 2011-07-05 Roland McGrath <roland@hack.frob.com>
74110
74111 * config.make.in (install_root): Default to $(DESTDIR).
74112
74113 2011-07-05 Ulrich Drepper <drepper@gmail.com>
74114
74115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74116
74117 2011-07-02 Roland McGrath <roland@hack.frob.com>
74118
74119 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74120
74121 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74122 containing directory rather than embedding absolute directory names.
74123
74124 * scripts/check-local-headers.sh: Rewritten using awk.
74125 Match by word, not by line. Print error messages for matches.
74126 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74127
74128 * Makerules [shlib-lds-flags empty]:
74129 ($(common-objpfx)libc_pic.opts): New target.
74130 ($(common-objpfx)libc_pic.os.clean): New target.
74131 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74132
74133 * config.make.in (OBJCOPY): New variable.
74134 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74135 * configure: Regenerated.
74136
74137 * config.make.in (use-default-link): New variable.
74138 * configure.in (use_default_link): Grok --with-default-link to set it.
74139 * configure: Regenerated.
74140 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74141 (shlib-lds, shlib-lds-flags): Define to empty.
74142
74143 * Makerules (shlib-lds): New variable.
74144 (shlib-lds-flags): New variable.
74145 (build-shlib, build-moduile, build-module-asneeded): Use it.
74146 ($(common-objpfx)libc.so): Use $(shlib-lds).
74147 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74148 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74149
74150 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74151 DT_FLAGS/DT_FLAGS_1 with zero flags.
74152
74153 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74154 linker script munging.
74155
74156 2011-07-02 Ulrich Drepper <drepper@gmail.com>
74157
74158 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74159 as 128-bit value.
74160 * crypt/sha512.c (sha512_process_block): Perform total addition using
74161 128-bit if possible.
74162 (__sha512_finish_ctx): Likewise.
74163 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74164 as 64-bit value.
74165 * crypt/sha256.c (SWAP64): Define.
74166 (sha256_process_block): Perform total addition using 64-bit if
74167 possible.
74168 (__sha256_finish_ctx): Likewise.
74169
74170 2011-07-01 Ulrich Drepper <drepper@gmail.com>
74171
74172 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
74173 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74174 * nscd/hstcache.c (cache_addhst): Likewise.
74175 * nscd/grpcache.c (cache_addgr): Likewise.
74176 * nscd/aicache.c (addhstaiX): Likewise.
74177 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74178
74179 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
74180
74181 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74183 * nscd/hstcache.c (cache_addhst): Likewise.
74184 * nscd/grpcache.c (cache_addgr): Likewise.
74185 * nscd/aicache.c (addhstaiX): Likewise.
74186
74187 2011-07-01 Andreas Schwab <schwab@redhat.com>
74188
74189 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74190 domain only when needed.
74191
74192 2011-06-30 Andreas Schwab <schwab@redhat.com>
74193
74194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74195 is always restored.
74196
74197 2011-06-29 Ulrich Drepper <drepper@gmail.com>
74198
74199 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74200 are re-adding the entry.
74201 * nscd/servicescache.c (cache_addserv): Likewise.
74202
74203 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
74204
74205 * sysdeps/generic/dl-irel.h: fix protection against multiple
74206 inclusions.
74207 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74208
74209 2011-06-28 Ulrich Drepper <drepper@gmail.com>
74210
74211 [BZ #12935]
74212 * malloc/memusage.sh: Fix quoting in message.
74213 * debug/xtrace.sh: Likewise.
74214
74215 * configure.in: Remove support for --experimental-malloc option, make
74216 it the default.
74217 * config.make.in: Likewise.
74218 * malloc/Makefile: Likewise.
74219
74220 2011-06-27 Andreas Schwab <schwab@redhat.com>
74221
74222 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74223 two-byte characters.
74224
74225 2011-06-27 Roland McGrath <roland@hack.frob.com>
74226
74227 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74228 AC_CACHE_CHECK invocation.
74229 * configure: Regenerated.
74230
74231 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74232
74233 2011-06-27 Ulrich Drepper <drepper@gmail.com>
74234
74235 [BZ #12350]
74236 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
74237 bit from old_res_options.
74238
74239 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74240
74241 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74242 value type for setfct.
74243
74244 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
74245
74246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74247 __gettimeofday instead of gettimeofday.
74248
74249 2011-06-26 Ulrich Drepper <drepper@gmail.com>
74250
74251 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74252
74253 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
74254
74255 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74256
74257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74258 info.
74259
74260 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74261
74262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74263 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74264 strcpy-sse2-unaligned strncpy-sse2-unaligned
74265 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74266 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74267 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74268 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74269 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74272 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74273 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74274 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74275 (STRCPY): Support SSE2 and SSSE3 versions.
74276
74277 2011-06-24 Ulrich Drepper <drepper@gmail.com>
74278
74279 [BZ #12874]
74280 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74281 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74282 kernels which artificially limit size of requests.
74283
74284 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
74285
74286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74287 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74288 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74289 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74290 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74291 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74292 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74293 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74294 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74296 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74297 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74298 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74299 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74300 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74302 Enable unaligned load optimization for Intel Core i3, i5 and i7
74303 processors.
74304 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74305 Define.
74306 (index_Fast_Unaligned_Load): Define.
74307 (HAS_FAST_UNALIGNED_LOAD): Define.
74308
74309 2011-06-23 Marek Polacek <mpolacek@redhat.com>
74310
74311 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74312
74313 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74314
74315 [BZ #12907]
74316 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74317 until it is clear that the information is realy needed.
74318 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74319
74320 2011-06-22 Andreas Schwab <schwab@redhat.com>
74321
74322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74323
74324 2011-06-22 Ulrich Drepper <drepper@gmail.com>
74325
74326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74327 /sys/devices/system/cpu/online if it is usable.
74328
74329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74330 reading the information from the /proc filesystem to once a second.
74331
74332 2011-06-21 Andreas Jaeger <aj@suse.de>
74333
74334 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74335 NULL after inclusion of kernel headers.
74336
74337 2011-06-21 Ulrich Drepper <drepper@gmail.com>
74338
74339 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74340 calls to internal_setent.
74341
74342 [BZ #12885]
74343 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74344 addresses using gethostbyname4_r ignore IPv4 addresses.
74345
74346 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
74347 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
74348
74349 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
74350
74351 2011-06-20 David S. Miller <davem@davemloft.net>
74352
74353 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
74354 inclusions.
74355 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
74356
74357 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
74358 (elf_irel): Use it.
74359 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
74360 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
74361 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
74362 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
74363 * sysdeps/x86_64/dl-irel.h: Likewise.
74364
74365 * elf/dl-runtime.c: Use elf_ifunc_invoke.
74366 * elf/dl-sym.c: Likewise.
74367
74368 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74369
74370 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
74371 need to dereference resplen2.
74372
74373 2011-06-14 Andreas Schwab <schwab@redhat.com>
74374
74375 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
74376
74377 2011-06-15 Ulrich Drepper <drepper@gmail.com>
74378
74379 * Makeconfig: Define vardbdir and inst_vardbdir.
74380 * nss/Makefile: Add rules to install db-Makefile.
74381
74382 * nss/nss_db/db-XXX.c: Cleanup.
74383
74384 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
74385 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
74386 GLIBC_PRIVATE.
74387 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
74388 * nss/makedb.c: Implement -g option to specify that value strings
74389 are generated and should not be added to table iterated over for
74390 get*ent calls.
74391 * nss/nss_db/db-initgroups.c: New file.
74392
74393 * nss/getent.c: Add support for initgroups lookups through getgrouplist
74394 interface.
74395
74396 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
74397 (internal_getgrouplist): Adjust to name change.
74398 Update use_initgroups_entry if this is not the first call.
74399 * nss/databases.def: Add initgroups entry.
74400
74401 * nss/makedb.c (compute_tables): Check result of multiple hash table
74402 sizes to minimize maximum chain length.
74403
74404 2011-06-14 Ulrich Drepper <drepper@gmail.com>
74405
74406 * Versions.def: Add entry for libnss_db.
74407 * shlib-versions: Likewise.
74408 * nss/Makefile: Add rules to build libnss_db.
74409 * nss/Versions: Add libnss_db information. Organize libnss_files
74410 entries better.
74411 * nss/db-Makefile: Add gshadow support. Change rules for the new
74412 makedb progra. Some minor improvements to generate smaller files.
74413 * nss/nss_db/nss_db.h: Move NSS database header data structures to
74414 here from...
74415 * nss/makedb.c: ...here.
74416 Improve database format to be smaller and require less memory at
74417 runtime.
74418 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
74419 db anymore.
74420 * nss/nss_db/db-netgrp.c: Likewise.
74421 * nss/nss_db/db-open.c: Likewise.
74422 * nss/nss_files/flies-XXX.x: Adjust comments.
74423 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
74424 * nss/nss_files/files-grp.c: Likewise.
74425 * nss/nss_files/files-hosts.c: Likewise.
74426 * nss/nss_files/files-network.c: Likewise.
74427 * nss/nss_files/files-proto.c: Likewise.
74428 * nss/nss_files/files-pwd.c: Likewise.
74429 * nss/nss_files/files-rpc.c: Likewise.
74430 * nss/nss_files/files-service.c: Likewise.
74431 * nss/nss_files/files-sgrp.c: Likewise.
74432 * nss/nss_files/files-spwd.c: Likewise.
74433 * nss/nss_db/db-alias.c: Removed.
74434 * nss/nss_db/dummy-db.h: Removed.
74435
74436 2011-06-02 Ulrich Drepper <drepper@gmail.com>
74437
74438 * nss/makedb.c: Rewritten to not use database library.
74439 * nss/Makefile: Update to build new makedb program.
74440
74441 2011-06-14 Andreas Jaeger <aj@suse.de>
74442
74443 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
74444 memset declaration.
74445
74446 2011-06-10 Andreas Schwab <schwab@redhat.com>
74447
74448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
74449 tmpbuf.
74450
74451 2011-06-10 Roland McGrath <roland@hack.frob.com>
74452
74453 * Makerules (shlib.lds): Fail if the linker script comes out empty.
74454 * elf/Makefile ($(objpfx)ld.so): Likewise.
74455
74456 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
74457 Don't list ld.so twice in dependencies.
74458
74459 * posix/bug-regex31.c: Include <stdlib.h>.
74460
74461 * nscd/hstcache.c (cache_addhst): Remove unused variable.
74462
74463 * nis/nss_compat/compat-spwd.c
74464 (getspent_next_nss_netgr): Remove unused variable.
74465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
74466
74467 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
74468 nonmembers" output to use the right array.
74469
74470 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
74471
74472 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
74473
74474 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
74475 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
74476 * catgets/gencat.c (read_input_file): Likewise.
74477 * locale/programs/locarchive.c (enlarge_archive): Likewise.
74478
74479 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
74480 variable definition inside #if's controlling its use.
74481
74482 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
74483
74484 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
74485
74486 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
74487
74488 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
74489 unreachable code.
74490
74491 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
74492
74493 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
74494 * configure: Regenerated.
74495
74496 * Makerules: Revert last change.
74497 * elf/Makefile: Likewise.
74498
74499 2011-06-09 Roland McGrath <roland@hack.frob.com>
74500
74501 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
74502 * elf/Makefile ($(objpfx)librtld.os): Likewise.
74503 (reloc-link): Likewise.
74504
74505 2011-06-09 Ulrich Drepper <drepper@gmail.com>
74506
74507 * elf/Makefile: Add rules to build pldd.
74508 * elf/pldd.c: New file.
74509 * elf/pldd-xx.c: New file.
74510
74511 2011-06-07 Ulrich Drepper <drepper@gmail.com>
74512
74513 * version.h: Update for 2.15 development version.
74514
74515 2011-06-07 David S. Miller <davem@davemloft.net>
74516
74517 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
74518 ifuncs.
74519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
74520 elf_machine_lazy_rel): Likewise.
74521 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
74522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
74523 elf_machine_lazy_rel): Likewise.
74524 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
74525 dl_hwcap via passed in argument.
74526 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
74527 Likewise.
74528
74529 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74530
74531 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
74532
74533 2011-06-06 Roland McGrath <roland@hack.frob.com>
74534
74535 [BZ #12849]
74536 * manual/fdl-1.1.texi: New file, verbatim from:
74537 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
74538 * manual/lgpl-2.1.texi: New file, verbatim from:
74539 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
74540 * manual/Makefile (licenses): New variable, list those new file names.
74541 (texis): Use it.
74542 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
74543
74544 * manual/fdl.texi: File removed.
74545 * manual/lesser.texi: File removed.
74546 * manual/libc.texinfo (Copying, Documentation License):
74547 Use new @include file names, put @appendix directive before @include.
74548
74549 2011-06-04 Jakub Jelinek <jakub@redhat.com>
74550
74551 [BZ #12841]
74552 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
74553 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
74554 (mq_open): Add __NTH.
74555
74556 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
74557
74558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74559 Assume Intel Core i3/i5/i7 processor if AVX is available.
74560
74561 2011-05-31 Ulrich Drepper <drepper@gmail.com>
74562
74563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
74564 typo.
74565
74566 2011-05-31 Andreas Schwab <schwab@redhat.com>
74567
74568 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
74569 memory. Use alloca_account. Fix memory leak when retrying.
74570
74571 2011-05-31 Ulrich Drepper <drepper@gmail.com>
74572
74573 * version.h (RELEASE): Bump for 2.14 release.
74574 * include/features.h (__GLIBC_MINOR__): Bump to 14.
74575
74576 * config.make.in (RANLIB): Remove entry.
74577
74578 2011-05-30 Ulrich Drepper <drepper@gmail.com>
74579
74580 * po/Makefile (po-sed-cmd): Add ksh to extensions.
74581 (libc.pot): Work around missing support for .ksh extension in xgettext.
74582
74583 [BZ #12684]
74584 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
74585 if both request failed.
74586 (send_dg): In case of server errors clear resplen or *resplen2.
74587
74588 [BZ #12454]
74589 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
74590 when there are multiple maps.
74591 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
74592 (_dl_fini): Remove test here.
74593
74594 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
74595
74596 2011-05-29 Ulrich Drepper <drepper@gmail.com>
74597
74598 [BZ #12350]
74599 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
74600 bit from old_res_options.
74601 (gaih_inet): Likewise.
74602
74603 [BZ #11099]
74604 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
74605 as signed.
74606
74607 * resolv/res_init.c (res_setoptions): Make the code more compact.
74608
74609 [BZ #11558]
74610 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
74611 set RES_USEVC.
74612
74613 [BZ #11634]
74614 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
74615
74616 * malloc/malloc.h: Mark malloc hook variables as deprecated.
74617
74618 [BZ #11781]
74619 * malloc/malloc.h: Declare malloc hook variables as volatile.
74620
74621 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
74622 in last patch.
74623
74624 [BZ #11799]
74625 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
74626 raise in the comment.
74627 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74629 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
74630
74631 2011-05-28 Ulrich Drepper <drepper@gmail.com>
74632
74633 [BZ #12811]
74634 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
74635 grow the buffers more if it already has to be sufficient.
74636 (build_wcs_upper_buffer): Likewise.
74637 * posix/regexec.c (check_matching): Likewise.
74638 (clean_state_log_if_needed): Likewise.
74639 (extend_buffers): Don't enlarge buffers beyond size of the input
74640 buffer.
74641 Patches mostly by Emil Wojak <emil@wojak.eu>.
74642 * posix/bug-regex32.c: New file.
74643 * posix/Makefile (tests): Add bug-regex32.
74644
74645 * locale/findlocale.c (_nl_find_locale): Return right away if
74646 _nl_explode_name failed.
74647 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
74648
74649 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
74650
74651 * debug/xtrace.sh: Unify messages.
74652 * malloc/memusage.sh: Likewise.
74653
74654 [BZ #12813]
74655 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
74656 time symbol from vDSO. Substitute with vsyscall if not available.
74657 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
74658 __vdso_time.
74659
74660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
74661 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
74662 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
74663 Add sendmmsg and internal_sendmmsg.
74664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
74665 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
74666 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
74667
74668 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
74669 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
74670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
74671
74672 2011-05-27 Ulrich Drepper <drepper@gmail.com>
74673
74674 [BZ #12813]
74675 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
74676 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
74677 available.
74678 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
74679 __vdso_getcpu.
74680
74681 [BZ #12814]
74682 * iconvdata/Makefile (tests): Add bug-iconv9.
74683 * iconvdata/bug-iconv9.c: New file.
74684
74685 2011-05-27 Andreas Schwab <schwab@redhat.com>
74686
74687 [BZ #12814]
74688 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
74689
74690 2011-05-25 Jakub Jelinek <jakub@redhat.com>
74691
74692 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74693 (struct user_regs_struct): Change intcs field back to cs.
74694
74695 2011-05-25 Ulrich Drepper <drepper@gmail.com>
74696
74697 * po/ja.po: Update from translation team.
74698
74699 2011-05-23 Ulrich Drepper <drepper@gmail.com>
74700
74701 [BZ #12795]
74702 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
74703 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
74704
74705 2011-05-20 Andreas Schwab <schwab@redhat.com>
74706
74707 * stdlib/longlong.h: Update from GCC.
74708
74709 2011-05-23 Andreas Schwab <schwab@redhat.com>
74710
74711 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
74712 parameter name.
74713 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
74714 Add parameter name.
74715 (__sysconf): Pass it down.
74716
74717 2011-05-22 Ulrich Drepper <drepper@gmail.com>
74718
74719 [BZ #12671]
74720 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
74721 some situations.
74722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
74723 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
74724 add in in __libc_use_alloca calls. Adjust callers.
74725 (glob): Use malloc in some situations.
74726
74727 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
74728 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
74729 pltexit.
74730
74731 2011-05-21 Ulrich Drepper <drepper@gmail.com>
74732
74733 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
74734 and CLOCK_BOOTTIME_ALARM.
74735
74736 [BZ #12782]
74737 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
74738 is returned.
74739
74740 * string/_strerror.c (__strerror_r): Print negative errors as signed
74741 numbers.
74742
74743 [BZ #12777]
74744 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
74745 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
74746 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
74747
74748 * configure.in: Fix typo in redirection and correct removal of test
74749 files in two cases.
74750
74751 [BZ #12788]
74752 * locale/setlocale.c (new_composite_name): Fix test to check for
74753 identical name of all categories.
74754
74755 [BZ #12792]
74756 * libio/filedoalloc.c (local_isatty): New function.
74757 (_IO_file_doallocate): Use local_isatty.
74758 * stdio-common/perror.c (perror): In case a new stream is used
74759 forward the stream error.
74760 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
74761 error flag.
74762
74763 2011-05-20 Ulrich Drepper <drepper@gmail.com>
74764
74765 [BZ #11884]
74766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
74767 alloca.
74768 * include/alloca.h (extend_alloca_account): Define.
74769
74770 [BZ #11857]
74771 * posix/regex.h: Fix comments with documentation of user-accessible
74772 fields after compilation and describe correct free'ing of pattern
74773 after re_compile_pattern.
74774 Patch by Reuben Thomas <rrt@sc3d.org>.
74775
74776 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
74777
74778 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
74779 and -mno-altivec to prevent the compiler from using Altivec and/or
74780 VSX instructions when the corresponding registers are not available.
74781
74782 2011-05-19 Andreas Schwab <schwab@redhat.com>
74783
74784 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
74785
74786 2011-05-19 Ulrich Drepper <drepper@gmail.com>
74787
74788 * libio/freopen.c (freopen): Use __dup2, not dup2.
74789 * libio/freopen64.c (freopen64): Likewise.
74790
74791 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
74792
74793 [BZ #12775]
74794 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
74795 * math/Makefile (tests): Add test-powl.
74796 (CFLAGS-test-powl.c): Define.
74797 * math/test-powl.c: New file.
74798
74799 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
74800
74801 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
74802
74803 2011-05-17 Ulrich Drepper <drepper@gmail.com>
74804
74805 [BZ #11837]
74806 * iconvdata/gb18030.c: Update to GB18020-2005.
74807
74808 2011-05-16 Ulrich Drepper <drepper@gmail.com>
74809
74810 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
74811 RE_SYNTAX_POSIX_AWK): Update to match recent development.
74812 Patch by Aharon Robbins <arnold@skeeve.com>.
74813
74814 [BZ #11892]
74815 * stdlib/putenv.c (putenv): Don't always create copy of the variable
74816 on the stack.
74817
74818 [BZ #11895]
74819 * misc/pselect.c (__pselect): Handle timeout value errors hidden
74820 through underflows.
74821
74822 [BZ #12766]
74823 * misc/error.c (error_at_line): Ensure file_name and old_file_name
74824 point to strings before performing equality test for error_one_per_line
74825 mode.
74826
74827 [BZ #11697]
74828 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74829
74830 [BZ #11820]
74831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74832 (struct user_fpregs_struct): Avoid __uint*_t types.
74833
74834 [BZ #6420]
74835 * malloc/mtrace.c (tr_where): Add additional parameter to point to
74836 symbol info. Use it instead of calling _dl_addr locally.
74837 (lock_and_info): New function.
74838 (tr_freehook): Call lock_and_info and pass symbol info as additional
74839 parameter to tr_where.
74840 (tr_mallochook): Likewise.
74841 (tr_reallochook): Likewise.
74842 (tr_memalignhook): Likewise.
74843
74844 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
74845 used and couldn't be at all thread-safe.
74846
74847 2011-05-15 Ulrich Drepper <drepper@gmail.com>
74848
74849 * libio/freopen.c (freopen): Don't close old file descriptor
74850 before the new one is opened. Instead dup the new file descriptor
74851 to the old one after the new stream is created.
74852 * libio/freopen64.c (freopen64): Likewise.
74853 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74854 * libio/fileops.c (_IO_new_file_close_it): Handle new
74855 _IO_FLAGS2_NOCLOSE flag.
74856 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74857 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74858 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74859 _IO_FLAGS2_NOCLOSE flag.
74860 * include/unistd.h: Add hidden_proto for dup3.
74861 Define __have_dup3.
74862 * io/dup3.c: Define hidden symbol.
74863 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74864
74865 [BZ #7101]
74866 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74867 when an incomplete long option is used.
74868 * posix/tst-getopt_long1.c: New file.
74869 * posix/Makefile (tests): Add tst-getopt_long1.
74870
74871 [BZ #10138]
74872 * scripts/config.guess: Update from autoconf-2.68.
74873 * scripts/config.sub: Likewise.
74874
74875 [BZ #10157]
74876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74877 tests into ...
74878 (has_cpuclock): ...this. New function.
74879 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74880 macro here based on has_cpuclock code.
74881
74882 [BZ #10149]
74883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74884 First byte (not low byte) is now always NUL.
74885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74886
74887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74888 Use non-cancelable interfaces.
74889
74890 [BZ #9809]
74891 * locale/iso-639.def: Add entry for Sorani.
74892
74893 [BZ #11901]
74894 * include/stdlib.h: Move include protection to the right place.
74895 Define abort_msg_s. Declare __abort_msg with it.
74896 * stdlib/abort.c (__abort_msg): Adjust type.
74897 * assert/assert.c (__assert_fail_base): New function. Majority
74898 of code from __assert_fail. Allocate memory for __abort_msg with
74899 mmap.
74900 (__assert_fail): Now call __assert_fail_base.
74901 * assert/assert-perr.c: Remove bulk of implementation. Use
74902 __assert_fail_base.
74903 * include/assert.hL Declare __assert_fail_base.
74904 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74905 mmap.
74906 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74907
74908 2011-05-14 Ulrich Drepper <drepper@gmail.com>
74909
74910 [BZ #11952]
74911 [BZ #12453]
74912 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74913 until all modules are registered in the DTV.
74914 * elf/Makefile: Add rules to build and run tst-tls19.
74915 * elf/tst-tls19.c: New file.
74916 * elf/tst-tls19mod1.c: New file.
74917 * elf/tst-tls19mod2.c: New file.
74918 * elf/tst-tls19mod3.c: New file.
74919 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74920
74921 [BZ #12083]
74922 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74923 correctly.
74924
74925 [BZ #12601]
74926 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74927 two-byte sequence errors.
74928 * iconvdata/Makefile (tests): Add bug-iconv8.
74929 * iconvdata/bug-iconv8.c: New file.
74930
74931 [BZ #12626]
74932 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74933 buf2 definition.
74934
74935 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74936
74937 [BZ #12432]
74938 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74939 (dummy_getcfa): New function.
74940 (init): Get _Unwind_GetCFA address, use dummy if not found.
74941 (backtrace_helper): In recursion check, also check whether CFA changes.
74942 (__backtrace): Completely initialize arg.
74943
74944 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74945 storing incomplete byte sequence in state object. Avoid testing for
74946 guaranteed too small input if we know there is enough data available.
74947
74948 2011-05-11 Andreas Schwab <schwab@redhat.com>
74949
74950 * Makeconfig (+link-pie): Indent.
74951 * Rules (binaries-pie): Define if $(have-fpie) and
74952 $(build-shared).
74953 (binaries-shared): Also filter out $(binaries-pie).
74954 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74955 * nscd/Makefile (others-pie): Add nscd.
74956 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74957 ($(objpfx)nscd): Remove command override.
74958 * login/Makefile (others-pie): Add pt_chown.
74959 ($(objpfx)pt_chown): Remove command override.
74960 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74961 remove command overrides.
74962
74963 2011-05-13 Ulrich Drepper <drepper@gmail.com>
74964
74965 * libio/tst_putwc.c: Fix error messages.
74966
74967 [BZ #12724]
74968 * libio/fileops.c (_IO_new_file_close_it): Always flush when
74969 currently writing and seek to current position when not.
74970 * libio/Makefile (tests): Add bug-fclose1.
74971 * libio/bug-fclose1.c: New file.
74972
74973 2011-05-12 Ulrich Drepper <drepper@gmail.com>
74974
74975 [BZ #12511]
74976 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74977 don't set DF_1_NODELETE here.
74978 (do_lookup_x): When entering new entry test for copy relocation
74979 and if necessary set DF_1_NODELETE flag.
74980 * elf/tst-unique4.cc: New file.
74981 * elf/tst-unique4.h: New file.
74982 * elf/tst-unique4lib.cc: New file.
74983 * elf/Makefile: Add rules to build and run tst-unique4.
74984 Patch by Piotr Bury <pbury@goahead.com>.
74985
74986 2011-05-11 Ulrich Drepper <drepper@gmail.com>
74987
74988 [BZ #12052]
74989 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74990
74991 [BZ #12625]
74992 * misc/mntent_r.c (addmntent): Flush the stream after the output
74993
74994 [BZ #12393]
74995 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74996 (is_trusted_path_normalize): Skip initial colon. Append slash
74997 to empty buffer. Duplicate is_trusted_path code but allow
74998 constructed patch to be prefix.
74999 (is_dst): Allow $ORIGIN followed by /.
75000 (_dl_dst_substitute): Correct clearing of check_for_trusted.
75001 Correct testing of result of is_trusted_path_normalize
75002 (decompose_rpath): Fix warning.
75003
75004 2011-05-10 Ulrich Drepper <drepper@gmail.com>
75005
75006 [BZ #11257]
75007 * grp/initgroups.c (internal_getgrouplist): When we found the service
75008 list through the initgroups entry in nsswitch.conf do not always
75009 continue on a successful lookup. Don't always use the
75010 __nss_group_database value if it is set.
75011 * nss/nsswitch.conf (initgroups): Change action for successful db
75012 lookup to continue for compatibility.
75013
75014 2011-05-09 Ulrich Drepper <drepper@gmail.com>
75015
75016 [BZ #11532]
75017 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75018 and CP774 modules.
75019 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75020 and CP774 modules.
75021 * iconvdata/tst-tables.sh: Likewise.
75022 * iconvdata/cp770.c: New file.
75023 * iconvdata/cp771.c: New file.
75024 * iconvdata/cp772.c: New file.
75025 * iconvdata/cp773.c: New file.
75026 * iconvdata/cp774.c: New file.
75027 * iconvdata/testdata/CP770: New file.
75028 * iconvdata/testdata/CP770..UTF8: New file.
75029 * iconvdata/testdata/CP771: New file.
75030 * iconvdata/testdata/CP771..UTF8: New file.
75031 * iconvdata/testdata/CP772: New file.
75032 * iconvdata/testdata/CP772..UTF8: New file.
75033 * iconvdata/testdata/CP773: New file.
75034 * iconvdata/testdata/CP773..UTF8: New file.
75035 * iconvdata/testdata/CP774: New file.
75036 * iconvdata/testdata/CP774..UTF8: New file.
75037
75038 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75039 END CHARMAP line.
75040 * iconvdata/gen-8bit-gap.sh: Likewise.
75041 * iconvdata/gen-8bit.sh: Likewise.
75042
75043 * locale/iso-639.def: Add ary entry.
75044
75045 [BZ #11258]
75046 * locale/C-translit.h.in: Add U20A1 transliteration.
75047
75048 [BZ #12178]
75049 * locale/iso-639.def: Add wae entry.
75050 Patch by Kevin Bortis <bortis@translate-wae.ch>.
75051
75052 [BZ #12545]
75053 * locale/programs/localedef.c (construct_output_path): Use ssize_t
75054 for n.
75055
75056 [BZ #12711]
75057 * locale/C-translit.h.in: Add entry for U20B9.
75058 Patch by pravin.d.s@gmail.com.
75059
75060 2011-05-08 Ulrich Drepper <drepper@gmail.com>
75061
75062 [BZ #12713]
75063 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75064 ENAMETOOLONG use generic getcwd.
75065 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
75066 in rtld. Use *stat64.
75067 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75068 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75069 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75070 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75071 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75072 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75073 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75074 __fstatat64 macros.
75075 * include/dirent.h: Add libc_hidden_proto for rewinddir.
75076 * dirent/rewinddir.c: Add libc_hidden_def.
75077 * sysdeps/mach/hurd/rewinddir.c: Likewise.
75078 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
75079
75080 * include/dirent.h (__alloc_dir): Add flags parameter.
75081 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75082 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75083 __alloc_dir.
75084 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
75085 from fdopendir if O_CLOEXEC is already set.
75086
75087 2011-03-15 Alan Modra <amodra@gmail.com>
75088
75089 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75090 l_tls_firstbyte_offset non-zero. Save padding offset in
75091 l_tls_firstbyte_offset for later use.
75092 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75093 freeing static tls block.
75094
75095 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
75096
75097 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75098 where #ifdef was intended. The intent is to prevent ARG_MAX from
75099 being defined by the kernel headers.
75100
75101 2011-05-07 Ulrich Drepper <drepper@gmail.com>
75102
75103 [BZ #12734]
75104 * resolv/resolv.h: Define RES_NOTLDQUERY.
75105 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75106 no-tld-query and set RES_NOTLDQUERY.
75107 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75108 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75109 modern BIND to search name as TLD unless forbidden.
75110
75111 2011-05-07 Petr Baudis <pasky@suse.cz>
75112 Ulrich Drepper <drepper@gmail.com>
75113
75114 [BZ #12393]
75115 * elf/dl-load.c (fillin_rpath): Move trusted path check...
75116 (is_trusted_path): ...to here.
75117 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75118 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75119 using is_trusted_path_normalize() in setuid scripts.
75120
75121 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
75122
75123 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75124 __BEGIN/__END_DECLS.
75125
75126 2011-05-06 Ulrich Drepper <drepper@gmail.com>
75127
75128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75129 NSS_STATUS_NOTFOUND if no record was found.
75130
75131 2011-05-05 Andreas Schwab <schwab@redhat.com>
75132
75133 * sunrpc/Makefile (headers): Add rpc/netdb.h.
75134 (headers-not-in-tirpc): Remove rpc/netdb.h
75135 * resolv/netdb.h: Revert last change.
75136
75137 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
75138
75139 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75140 circular dependency between libgcc.a and libc.a.
75141
75142 2011-05-05 Andreas Schwab <schwab@redhat.com>
75143
75144 * resolv/netdb.h: Don't include <rpc/netdb.h>.
75145 * nis/Makefile: Don't install rpcsvc/*.
75146 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75147 instead of <rpc/types.h>.
75148 (MAXHOSTNAMELEN): Define.
75149
75150 2011-05-03 Andreas Schwab <schwab@redhat.com>
75151
75152 * elf/ldconfig.c (add_dir): Don't crash on empty path.
75153
75154 2011-04-28 Maciej Babinski <mbabinski@google.com>
75155
75156 [BZ #12714]
75157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75158 gethostbyname4_r when IPv6 results are possible.
75159
75160 2011-05-02 Ulrich Drepper <drepper@gmail.com>
75161
75162 [BZ #12723]
75163 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75164 _PC_PIPE_BUF handling.
75165
75166 2011-04-30 Bruno Haible <bruno@clisp.org>
75167
75168 [BZ #12717]
75169 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75170 * resolv/netdb.h (getnameinfo): Change type of flags parameter
75171 to 'int'.
75172 * inet/getnameinfo.c (getnameinfo): Likewise.
75173
75174 2011-04-29 Ulrich Drepper <drepper@gmail.com>
75175
75176 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75177 to groups setting in database lookup.
75178 * nss/nsswitch.conf: Add initgroups entry.
75179
75180 2011-04-22 Ulrich Drepper <drepper@gmail.com>
75181
75182 [BZ #12685]
75183 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75184 mode string.
75185 Patch by Eric Blake <eblake@redhat.com>.
75186
75187 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
75188
75189 * sunrpc/Makefile (need-export-routines): Add svc_run.
75190 (routines): Remove svc_run.
75191 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75192 * sunrpc/clnt_perr.c (clnt_perrno): Export.
75193 * sunrpc/svc_run.c (svc_run): Likewise.
75194 * sunrpc/svc_udp.c (svcudp_create): Likewise.
75195
75196 2011-04-21 Ulrich Drepper <drepper@gmail.com>
75197
75198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75199 problem in reallocation in last patch.
75200
75201 2011-04-20 Ulrich Drepper <drepper@gmail.com>
75202
75203 * sunrpc/Makefile: Move inclusion of Rules.
75204
75205 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75206
75207 * nss/nss_files/files-initgroups.c: New file.
75208 * nss/Makefile (libnss_files-routines): Add files-initgroups.
75209 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75210 _nss_files_initgroups_dyn.
75211
75212 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
75213
75214 * elf/elf.h (R_ARM_IRELATIVE): Define.
75215
75216 2011-04-19 Ulrich Drepper <drepper@gmail.com>
75217
75218 * po/ru.po: Update from translation team.
75219
75220 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75221
75222 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75223 dependencies.
75224
75225 2011-02-06 Mike Frysinger <vapier@gentoo.org>
75226
75227 [BZ #12653]
75228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75229 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75233
75234 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
75235
75236 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75237 differing bytes.
75238 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75240 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75241
75242 2011-04-17 Ulrich Drepper <drepper@gmail.com>
75243
75244 [BZ #12420]
75245 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75246 storing it.
75247 * stdlib/bug-getcontext.c: New file.
75248 * stdlib/Makefile: Add rules to build and run bug-getcontext.
75249
75250 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75251
75252 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75253 instructions into .machine "z9-109".
75254 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75255 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75256
75257 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75258
75259 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75260 between environment variables and auxiliary vector.
75261
75262 2011-04-16 Ulrich Drepper <drepper@gmail.com>
75263
75264 * Makefile: Add rules to build linkobj/libc.so.
75265 * include/libc-symbols.h: Define libc_hidden_nolink.
75266 * include/rpc/auth.h: Mark functions which are to be hidden.
75267 * include/rpc/auth_des.h: Likewise.
75268 * include/rpc/auth_unix.h: Likewise.
75269 * include/rpc/clnt.h: Likewise.
75270 * include/rpc/des_crypt.h: Likewise.
75271 * include/rpc/key_prot.h: Likewise.
75272 * include/rpc/pmap_clnt.h: Likewise.
75273 * include/rpc/pmap_prot.h: Likewise.
75274 * include/rpc/pmap_rmt.h: Likewise.
75275 * include/rpc/rpc_msg.h: Likewise.
75276 * include/rpc/svc.h: Likewise.
75277 * include/rpc/svc_auth.h: Likewise.
75278 * include/rpc/xdr.h: Likewise.
75279 * nis/Makefile: Link all DSOs against linkobj/libc.so.
75280 * nss/Makefile: Likewise.
75281 * sunrpc/Makefile: Don't install headers. Build library with normal
75282 entry points. Don't build rpcinfo. Link RPC tests appropriately.
75283 * sunrpc/auth_des.c: Hide exported symbols by default, export some
75284 for the compat linking library. Remove use of INTDEF/INTUSE.
75285 * sunrpc/auth_none.c: Likewise.
75286 * sunrpc/auth_unix.c: Likewise.
75287 * sunrpc/authdes_prot.c: Likewise.
75288 * sunrpc/authuxprot.c: Likewise.
75289 * sunrpc/clnt_gen.c: Likewise.
75290 * sunrpc/clnt_perr.c: Likewise.
75291 * sunrpc/clnt_raw.c: Likewise.
75292 * sunrpc/clnt_simp.c: Likewise.
75293 * sunrpc/clnt_tcp.c: Likewise.
75294 * sunrpc/clnt_udp.c: Likewise.
75295 * sunrpc/clnt_unix.c: Likewise.
75296 * sunrpc/des_crypt.c: Likewise.
75297 * sunrpc/des_soft.c: Likewise.
75298 * sunrpc/get_myaddr.c: Likewise.
75299 * sunrpc/key_call.c: Likewise.
75300 * sunrpc/key_prot.c: Likewise.
75301 * sunrpc/netname.c: Likewise.
75302 * sunrpc/pm_getmaps.c: Likewise.
75303 * sunrpc/pm_getport.c: Likewise.
75304 * sunrpc/pmap_clnt.c: Likewise.
75305 * sunrpc/pmap_prot.c: Likewise.
75306 * sunrpc/pmap_prot2.c: Likewise.
75307 * sunrpc/pmap_rmt.c: Likewise.
75308 * sunrpc/publickey.c: Likewise.
75309 * sunrpc/rpc_cmsg.c: Likewise.
75310 * sunrpc/rpc_common.c: Likewise.
75311 * sunrpc/rpc_dtable.c: Likewise.
75312 * sunrpc/rpc_prot.c: Likewise.
75313 * sunrpc/rpc_thread.c: Likewise.
75314 * sunrpc/rtime.c: Likewise.
75315 * sunrpc/svc.c: Likewise.
75316 * sunrpc/svc_auth.c: Likewise.
75317 * sunrpc/svc_authux.c: Likewise.
75318 * sunrpc/svc_raw.c: Likewise.
75319 * sunrpc/svc_run.c: Likewise.
75320 * sunrpc/svc_simple.c: Likewise.
75321 * sunrpc/svc_tcp.c: Likewise.
75322 * sunrpc/svc_udp.c: Likewise.
75323 * sunrpc/svc_unix.c: Likewise.
75324 * sunrpc/svcauth_des.c: Likewise.
75325 * sunrpc/xcrypt.c: Likewise.
75326 * sunrpc/xdr.c: Likewise.
75327 * sunrpc/xdr_array.c: Likewise.
75328 * sunrpc/xdr_float.c: Likewise.
75329 * sunrpc/xdr_intXX_t.c: Likewise.
75330 * sunrpc/xdr_mem.c: Likewise.
75331 * sunrpc/xdr_rec.c: Likewise.
75332 * sunrpc/xdr_ref.c: Likewise.
75333 * sunrpc/xdr_sizeof.c: Likewise.
75334 * sunrpc/xdr_stdio.c: Likewise.
75335
75336 2011-04-10 Ulrich Drepper <drepper@gmail.com>
75337
75338 [BZ #12650]
75339 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75340 * sysdeps/ia64/dl-tls.h: Likewise.
75341 * sysdeps/powerpc/dl-tls.h: Likewise.
75342 * sysdeps/s390/dl-tls.h: Likewise.
75343 * sysdeps/sh/dl-tls.h: Likewise.
75344 * sysdeps/sparc/dl-tls.h: Likewise.
75345 * sysdeps/x86_64/dl-tls.h: Likewise.
75346 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
75347
75348 2011-03-14 Andreas Schwab <schwab@redhat.com>
75349
75350 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
75351 rpath element also skip the following colon.
75352 (expand_dynamic_string_token): Add is_path parameter and pass
75353 down to DL_DST_REQUIRED and _dl_dst_substitute.
75354 (decompose_rpath): Call expand_dynamic_string_token with
75355 non-zero is_path. Ignore empty rpaths.
75356 (_dl_map_object_from_fd): Call expand_dynamic_string_token
75357 with zero is_path.
75358
75359 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
75360
75361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75362 Make cancelable.
75363
75364 2011-04-09 Ulrich Drepper <drepper@gmail.com>
75365
75366 [BZ #12655]
75367 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
75368 Patch by Filipe David Manana <fdmanana@apache.org>.
75369
75370 2011-04-07 Andreas Schwab <schwab@redhat.com>
75371
75372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
75373 Maintain aligned stack.
75374 (CHECK_RSP): Remove unused macro.
75375
75376 2011-04-03 Ulrich Drepper <drepper@gmail.com>
75377
75378 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
75379 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
75380
75381 2011-04-02 Ulrich Drepper <drepper@gmail.com>
75382
75383 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
75384
75385 * include/features.h: Mention __USE_XOPEN2K8 in comment.
75386
75387 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
75388
75389 [BZ #12518]
75390 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
75391 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
75392 * sysdeps/x86_64/memmove.c: New file.
75393 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
75394 (memcpy): Renamed to ...
75395 (__new_memcpy): This.
75396 (memcpy): Provide GLIBC_2_14 memcpy.
75397 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
75398 (memcpy): Provide GLIBC_2_2_5 memcpy.
75399
75400 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75401
75402 [BZ #12631]
75403 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
75404
75405 2011-03-30 Andreas Schwab <schwab@redhat.com>
75406
75407 * misc/syncfs.c: New file.
75408 * misc/Makefile (routines): Add syncfs.
75409 * posix/unistd.h: Declare syncfs.
75410 * sysdeps/unix/syscalls.list: Add syncfs.
75411
75412 2011-04-01 Andreas Schwab <schwab@redhat.com>
75413
75414 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
75415 open_by_handle_at.
75416 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75421 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
75422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75423
75424 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75425
75426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
75427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75428 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
75429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75433
75434 * io/Makefile: Compile fallocate.c, fallocate64.c, and
75435 sync_file_range.c with -fexceptions.
75436 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
75437 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
75438 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
75439 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
75440 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
75441 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
75443 sync_file_range as cancellation point
75444 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
75445 now a wrapper around __call_sync_file_range with cancellation handling.
75446 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
75447 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
75448 function name to __call_sync_file_range.
75449 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
75450 Add call_sync_file_range.
75451
75452 2011-04-01 Andreas Schwab <schwab@redhat.com>
75453
75454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75455 bits/timex.h.
75456
75457 2011-04-01 Ulrich Drepper <drepper@gmail.com>
75458
75459 * iconv/iconv.h: Fix typo in comment.
75460 * io/fcntl.h: Likewise.
75461 * libio/stdio.h: Likewise.
75462 * posix/spawn.h: Likewise.
75463 * posix/unistd.h: Likewise.
75464 * stdlib/stdlib.h: Likewise.
75465 * time/time.h: Likewise.
75466 * wcsmbs/wchar.h: Likewise.
75467
75468 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
75469 open_by_handle): Add.
75470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
75471 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
75472 Augment a few comments.
75473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75478 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
75479 open_by_handle.
75480
75481 * io/fcntl.h (AT_EMPTY_PATH): Define.
75482
75483 2011-03-30 Ulrich Drepper <drepper@gmail.com>
75484
75485 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
75486 * sysdeps/unix/sysv/linux/bits/time.h: New file.
75487 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
75488 to...
75489 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
75490 * Versions.def: Add GLIBC_2.14.
75491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
75492 Export.
75493
75494 2011-03-22 Ulrich Drepper <drepper@gmail.com>
75495
75496 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
75497 round counter.
75498 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75499
75500 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
75501
75502 [BZ #12597]
75503 * string/test-strncmp.c (do_page_test): New function.
75504 (check2): Likewise.
75505 (test_main): Call check2.
75506 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
75507
75508 2011-03-20 Ulrich Drepper <drepper@gmail.com>
75509
75510 [BZ #12587]
75511 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
75512 Handle cache information in CPU leaf 4.
75513 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
75514
75515 2011-03-18 Ulrich Drepper <drepper@gmail.com>
75516
75517 [BZ #12583]
75518 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
75519 character representation.
75520 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
75521
75522 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
75523
75524 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
75525 END(__isnan) to END(__isnanf) to match function entry point/label
75526 EALIGN(__isnanf,...).
75527
75528 2011-03-10 Jakub Jelinek <jakub@redhat.com>
75529
75530 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
75531
75532 2011-03-10 Ulrich Drepper <drepper@gmail.com>
75533
75534 [BZ #12510]
75535 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
75536 copy from the symbol referenced in the relocation to initialize the
75537 used variable.
75538 Patch by Piotr Bury <pbury@goahead.com>.
75539 * elf/Makefile: Add rules to build and tst-unique3.
75540 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
75541 * elf/tst-unique3.cc: New file.
75542 * elf/tst-unique3.h: New file.
75543 * elf/tst-unique3lib.cc: New file.
75544 * elf/tst-unique3lib2.cc: New file.
75545
75546 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
75547
75548 2011-03-10 Mike Frysinger <vapier@gentoo.org>
75549
75550 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
75551 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
75552 to _start.
75553
75554 2011-03-06 Ulrich Drepper <drepper@gmail.com>
75555
75556 * elf/dl-load.c (_dl_map_object): If we are looking for the first
75557 to-be-loaded object along a path to loader is ld.so.
75558
75559 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
75560 Ulrich Drepper <drepper@gmail.com>
75561
75562 * sysdeps/x86_64/memset.S: After aligning destination, code
75563 branches to different locations depending on the value of
75564 misalignment, when multiarch is enabled. Fix this.
75565
75566 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
75567
75568 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
75569 Set _x86_64_preferred_memory_instruction for AMD processsors.
75570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75571 Set bit_Prefer_SSE_for_memop for AMD processors.
75572
75573 2011-03-04 Ulrich Drepper <drepper@gmail.com>
75574
75575 * libio/fmemopen.c (fmemopen): Optimize a bit.
75576
75577 2011-03-03 Andreas Schwab <schwab@redhat.com>
75578
75579 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
75580
75581 2011-03-03 Roland McGrath <roland@redhat.com>
75582
75583 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
75584
75585 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
75586
75587 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
75588 __bzero_ultra1 instead of __memset_ultra1.
75589
75590 2011-02-23 Andreas Schwab <schwab@redhat.com>
75591 Ulrich Drepper <drepper@gmail.com>
75592
75593 [BZ #12509]
75594 * include/link.h (struct link_map): Add l_orig_initfini.
75595 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
75596 returning unsuccessfully.
75597 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
75598 close of a file loaded at startup, restore the original l_initfini
75599 list.
75600 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
75601 list, store the pointer.
75602 * elf/Makefile ($(objpfx)noload-mem): New rule.
75603 (noload-ENV): Define.
75604 (tests): Add $(objpfx)noload-mem.
75605 * elf/noload.c: Include <memcheck.h>.
75606 (main): Call mtrace. Close all opened handles.
75607
75608 2011-02-17 Andreas Schwab <schwab@redhat.com>
75609
75610 [BZ #12454]
75611 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
75612 dependencies are missing.
75613
75614 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
75615
75616 Fix __if_freereq crash: Unlike the generic version which uses free,
75617 Hurd needs munmap.
75618 * sysdeps/mach/hurd/ifreq.h: New file.
75619
75620 2011-01-27 Petr Baudis <pasky@suse.cz>
75621 Ulrich Drepper <drepper@gmail.com>
75622
75623 [BZ 12445]#
75624 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
75625 to extend_alloca().
75626 * stdio-common/bug23.c: New file.
75627 * stdio-common/Makefile (tests): Add bug23.
75628
75629 2010-09-28 Andreas Schwab <schwab@redhat.com>
75630 Ulrich Drepper <drepper@gmail.com>
75631
75632 [BZ #12489]
75633 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
75634 before performing relro protection. At old place add assertion
75635 to make sure nothing changed.
75636
75637 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
75638 Glauber de Oliveira Costa <glommer@gmail.com>
75639
75640 * elf/elf.h: Add new ARM TLS relocs.
75641
75642 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
75643
75644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75645 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
75646 cast from r3.
75647 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
75648 'tests' variable.
75649 * sysdeps/wordsize-64/tst-writev.c: New file.
75650
75651 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
75652
75653 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
75654 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
75655 insns in _dl_start to prevent a TOC reference before relocs are
75656 resolved.
75657
75658 2011-02-15 Ulrich Drepper <drepper@gmail.com>
75659
75660 [BZ #12469]
75661 * Makeconfig: Remove RANLIB definition.
75662 * Makerules: Don't use RANLIB.
75663 * aclocal.m4: Remove ranlib test.
75664 * configure.in: No need to check for ranlib.
75665 * elf/rtld-Rules: Don't use RANLIB.
75666
75667 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
75668
75669 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
75670 protection macro.
75671 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
75672 inclusion protection macro.
75673
75674 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
75675 SIGRTMIN and SIGRTMAX and print information in that case only when
75676 SIGRTMIN is defined.
75677
75678 2011-02-11 Jakub Jelinek <jakub@redhat.com>
75679
75680 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
75681 arginfo fn returning -1.
75682
75683 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
75684 and thousands string is zero terminated.
75685
75686 2011-02-03 Andreas Schwab <schwab@redhat.com>
75687
75688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
75689 sysdeps/unix/sysv/linux/bits/socket.h.
75690
75691 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
75692
75693 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
75694 (__CPU_COUNT): Remove old macros.
75695 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
75696 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
75697 (__CPU_ALLOC, __CPU_FREE): Add macros.
75698 (__sched_cpualloc, __sched_cpufree): Add declarations.
75699
75700 2011-02-05 Ulrich Drepper <drepper@gmail.com>
75701
75702 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
75703 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
75704 * nscd/aicache.c (addhstaiX): Return timeout of added value.
75705 (readdhstai): Return value of addhstaiX call.
75706 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
75707 (addgrbyX): Return value returned by cache_addgr.
75708 (readdgrbyname): Return value returned by addgrbyX.
75709 (readdgrbygid): Likewise.
75710 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
75711 (addpwbyX): Return value returned by cache_addpw.
75712 (readdpwbyname): Return value returned by addhstbyX.
75713 (readdpwbyuid): Likewise.
75714 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
75715 (addservbyX): Return value returned by cache_addserv.
75716 (readdservbyname): Return value returned by addservbyX:
75717 (readdservbyport): Likewise.
75718 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
75719 (addhstbyX): Return value returned by cache_addhst.
75720 (readdhstbyname): Return value returned by addhstbyX.
75721 (readdhstbyaddr): Likewise.
75722 (readdhstbynamev6): Likewise.
75723 (readdhstbyaddrv6): Likewise.
75724 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
75725 (readdinitgroups): Return value returned by addinitgroupsX.
75726 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
75727 (prune_cache): Keep track of timeout value of re-added entries.
75728 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
75729 * nscd/nscd.h: Adjust prototypes of readd* functions.
75730
75731 2011-02-04 Roland McGrath <roland@redhat.com>
75732
75733 * nis/nis_server.c (nis_servstate): Use the right name for 0.
75734 (nis_stats): Likewise.
75735 * nis/nis_modify.c (nis_modify): Likewise.
75736 * nis/nis_remove.c (nis_remove): Likewise.
75737 * nis/nis_add.c (nis_add): Likewise.
75738
75739 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
75740
75741 * posix/fnmatch_loop.c: Add some consts.
75742
75743 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
75744
75745 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
75746
75747 [BZ #12460]
75748 * config.make.in (config-cflags-novzeroupper): Define.
75749 * configure.in: Substitute libc_cv_cc_novzeroupper.
75750 * elf/Makefile (AVX-CFLAGS): Define.
75751 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
75752 (CFLAGS-tst-auditmod4a.c): Likewise.
75753 (CFLAGS-tst-auditmod4b.c): Likewise.
75754 (CFLAGS-tst-auditmod6b.c): Likewise.
75755 (CFLAGS-tst-auditmod6c.c): Likewise.
75756 (CFLAGS-tst-auditmod7b.c): Likewise.
75757 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
75758
75759 2011-02-02 Ulrich Drepper <drepper@gmail.com>
75760
75761 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
75762 function to the callback.
75763 Patch partly by Jiri Olsa <jolsa@redhat.com>.
75764
75765 2011-02-02 Andreas Schwab <schwab@redhat.com>
75766
75767 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
75768 of errno.
75769
75770 2011-01-19 Ulrich Drepper <drepper@gmail.com>
75771
75772 [BZ #11724]
75773 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
75774 of constructors.
75775 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
75776 of destructors.
75777 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
75778
75779 [BZ #11724]
75780 * elf/Makefile: Add rules to build and run new test.
75781 * elf/tst-initorder.c: New file.
75782 * elf/tst-initorder.exp: New file.
75783 * elf/tst-initordera1.c: New file.
75784 * elf/tst-initordera2.c: New file.
75785 * elf/tst-initordera3.c: New file.
75786 * elf/tst-initordera4.c: New file.
75787 * elf/tst-initorderb1.c: New file.
75788 * elf/tst-initorderb2.c: New file.
75789 * elf/tst-order-a1.c: New file.
75790 * elf/tst-order-a2.c: New file.
75791 * elf/tst-order-a3.c: New file.
75792 * elf/tst-order-a4.c: New file.
75793 * elf/tst-order-b1.c: New file.
75794 * elf/tst-order-b2.c: New file.
75795 * elf/tst-order-main.c: New file.
75796 New test case by George Gensure <werkt0@gmail.com>.
75797
75798 2010-10-01 Andreas Schwab <schwab@redhat.com>
75799
75800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75801 decoding ACE if AI_CANONIDN.
75802
75803 2011-01-18 Ulrich Drepper <drepper@gmail.com>
75804
75805 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
75806
75807 2011-01-17 Ulrich Drepper <drepper@gmail.com>
75808
75809 * version.h (RELEASE): Bump for 2.13 release.
75810 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
75811
75812 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
75813
75814 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
75815 MADV_NOHUGEPAGE.
75816 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
75817 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
75818 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75819 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75820 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75821 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75822
75823 * posix/getconf.c: Update copyright year.
75824 * catgets/gencat.c: Likewise.
75825 * csu/version.c: Likewise.
75826 * debug/catchsegv.sh: Likewise.
75827 * debug/xtrace.sh: Likewise.
75828 * elf/ldconfig.c: Likewise.
75829 * elf/ldd.bash.in: Likewise.
75830 * elf/sprof.c (print_version): Likewise.
75831 * iconv/iconv_prog.c: Likewise.
75832 * iconv/iconvconfig.c: Likewise.
75833 * locale/programs/locale.c: Likewise.
75834 * locale/programs/localedef.c: Likewise.
75835 * malloc/memusage.sh: Likewise.
75836 * malloc/mtrace.pl: Likewise.
75837 * nscd/nscd.c (print_version): Likewise.
75838 * nss/getent.c: Likewise.
75839
75840 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75841 PF_CAIF, and PF_ALG.
75842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75843
75844 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
75845
75846 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75847 (modules-names): Use them.
75848 (ifunc-test-modules, ifunc-pie-tests): Define.
75849 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75850 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75851 (test-extras): Likewise.
75852 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75853 $(compile-command.c).
75854 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75855 (all-built-dso): Define.
75856 (check-textrel.out, check-execstack.out): Depend on it.
75857
75858 * configure.in: Don't override --enable-multi-arch.
75859
75860 2011-01-15 Ulrich Drepper <drepper@gmail.com>
75861
75862 [BZ #6812]
75863 * nscd/hstcache.c (tryagain): Define.
75864 (cache_addhst): Return tryagain not notfound for temporary errors.
75865 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75866 failed.
75867
75868 2011-01-14 Ulrich Drepper <drepper@gmail.com>
75869
75870 [BZ #10563]
75871 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75872 to make the syscall.
75873 * sysdeps/unix/sysv/linux/setgroups.c: New file.
75874
75875 [BZ #12378]
75876 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75877 and fall back to matching as normal character if the string ends before
75878 the matching ']' is found. This is what POSIX requires.
75879 * posix/testfnm.c: Adjust test result.
75880 * posix/globtest.sh: Adjust test result. Add new test.
75881 * posix/tst-fnmatch.input: Likewise.
75882 * posix/tst-fnmatch2.c: Add new test.
75883
75884 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
75885
75886 * elf/Makefile (check-execstack): Revert last change. Depend on
75887 check-execstack.h.
75888 (check-execstack.h): New target.
75889 (generated): Add check-execstack.h.
75890 * elf/check-execstack.c: Include "check-execstack.h".
75891 (main): Revert last change.
75892 (handle_file): Return zero if GNU_STACK is absent and
75893 DEFAULT_STACK_PERMS doesn't include PF_X.
75894
75895 2011-01-13 Ulrich Drepper <drepper@gmail.com>
75896
75897 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75898 in child fails because the descriptor is already closed.
75899 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75900 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75901 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75902
75903 [BZ #12397]
75904 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75905 syscall.
75906
75907 [BZ #10484]
75908 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75909 temporary buffer used to handle multi lookups locally.
75910 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75911
75912 2011-01-12 Ulrich Drepper <drepper@gmail.com>
75913
75914 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75915 loader is ld.so.
75916
75917 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
75918
75919 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75920 alignment for SSE2.
75921
75922 2011-01-12 Ulrich Drepper <drepper@gmail.com>
75923
75924 [BZ #12394]
75925 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75926 characters. When rounding increased number of integer digits recompute
75927 number of groups.
75928 * stdio-common/tst-grouping.c: New file.
75929 * stdio-common/Makefile: Add rules to build and run tst-grouping.
75930
75931 2011-01-09 Ulrich Drepper <drepper@gmail.com>
75932
75933 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75934 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
75935
75936 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75937 void.
75938 * bits/select.h: Likewise.
75939
75940 2011-01-08 Ulrich Drepper <drepper@gmail.com>
75941
75942 * po/ja.po: Update from translation team.
75943
75944 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
75945
75946 [BZ #11155]
75947 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75948 implementation just like for lxstat, fxstatat, et al.
75949
75950 2010-12-27 Jim Meyering <meyering@redhat.com>
75951
75952 [BZ #12348]
75953 * posix/regexec.c (build_trtable): Return failure indication upon
75954 calloc failure. Otherwise, re_search_internal could infloop on OOM.
75955
75956 2010-12-25 Ulrich Drepper <drepper@gmail.com>
75957
75958 [BZ #12201]
75959 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75960 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75961 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75962 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75963
75964 [BZ #12207]
75965 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75966
75967 [BZ #12204]
75968 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75969 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75970
75971 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
75972
75973 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75974 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75975 script has SORT_BY_INIT_PRIORITY.
75976 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75977 NO_CTORS_DTORS_SECTIONS is defined.
75978 * elf/soinit.c: Likewise.
75979 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75980 NO_CTORS_DTORS_SECTIONS is defined.
75981 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75982 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75983 * sysdeps/sh/init-first.c: Likewise.
75984 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75985
75986 2010-12-24 Ulrich Drepper <drepper@gmail.com>
75987
75988 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75989 always use the slow path.
75990
75991 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
75992
75993 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75994 similar rule which adds the sysdep directories to the header search in
75995 order to pick up the correct platform stackinfo.h.
75996 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75997 perform test if it is, otherwise return successfully without testing.
75998 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75999 DEFAULT_STACK_PERMS define in stackinfo.h.
76000 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76001 defined in stackinfo.h.
76002 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76003 DEFAULT_STACK_PERMS defined in stackinfo.h.
76004 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76005 * sysdeps/ia64/stackinfo.h: Likewise.
76006 * sysdeps/s390/stackinfo.h: Likewise.
76007 * sysdeps/sh/stackinfo.h: Likewise.
76008 * sysdeps/sparc/stackinfo.h: Likewise.
76009 * sysdeps/x86_64/stackinfo.h: Likewise.
76010 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76011 PF_X for powerpc64. Retain PF_X for powerpc32.
76012
76013 2010-12-19 Ulrich Drepper <drepper@gmail.com>
76014
76015 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76016 accurately.
76017 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76018 GETDENTS_64BIT_ALIGNED.
76019
76020 2010-12-14 Ulrich Drepper <dreper@gmail.com>
76021
76022 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76023
76024 2010-12-10 Andreas Schwab <schwab@redhat.com>
76025
76026 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76027 _GNU_SOURCE.
76028
76029 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76030 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76031 Remove __restrict.
76032 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76033 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76034
76035 2010-12-09 Ulrich Drepper <drepper@gmail.com>
76036
76037 [BZ #11655]
76038 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76039 are initialized.
76040
76041 2010-12-09 Jakub Jelinek <jakub@redhat.com>
76042
76043 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76044
76045 2010-12-03 Ulrich Drepper <drepper@gmail.com>
76046
76047 * po/it.po: Update from translation team.
76048
76049 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
76050
76051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76052 unused codes.
76053
76054 2010-11-30 Ulrich Drepper <drepper@gmail.com>
76055
76056 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76057
76058 2010-11-24 Andreas Schwab <schwab@redhat.com>
76059
76060 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76061 specially.
76062 (gaih_getanswer_slice): Likewise.
76063
76064 2010-10-20 Jakub Jelinek <jakub@redhat.com>
76065
76066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76067
76068 2010-05-31 Petr Baudis <pasky@suse.cz>
76069
76070 [BZ #11149]
76071 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76072 silently even in the chroot mode.
76073
76074 2010-11-22 Ulrich Drepper <drepper@gmail.com>
76075
76076 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76077 last patch a bit. Pretty printing
76078
76079 2010-05-31 Petr Baudis <pasky@suse.cz>
76080
76081 [BZ #10085]
76082 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76083 initialization of skip_initgroups_dyn.
76084
76085 2010-11-19 Ulrich Drepper <drepper@gmail.com>
76086
76087 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76088 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76089
76090 2010-11-16 Ulrich Drepper <drepper@gmail.com>
76091
76092 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76093
76094 2010-11-11 Andreas Schwab <schwab@redhat.com>
76095
76096 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76097 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76098 (tst-fnmatch-ENV): Set MALLOC_TRACE.
76099 ($(objpfx)tst-fnmatch-mem): New rule.
76100 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76101 * posix/tst-fnmatch.c (main): Call mtrace.
76102
76103 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
76104
76105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76106 Support Intel processor model 6 and model 0x2c.
76107
76108 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
76109
76110 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76111 signed comparison.
76112
76113 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
76114
76115 [BZ #12205]
76116 * string/test-strncasecmp.c (check_result): New function.
76117 (do_one_test): Use it.
76118 (check1): New function.
76119 (test_main): Use it.
76120 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76121 Support strcasecmp and strncasecmp.
76122
76123 2010-11-08 Ulrich Drepper <drepper@gmail.com>
76124
76125 [BZ #12194]
76126 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76127 * sysdeps/x86_64/bits/byteswap.h: Likewise.
76128
76129 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
76130
76131 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76132 IFUNC support.
76133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76134 memset-x86-64.
76135 * sysdeps/x86_64/multiarch/bzero.S: New file.
76136 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76137 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76138 * sysdeps/x86_64/multiarch/memset.S: New file.
76139 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76141 Set bit_Prefer_SSE_for_memop for Intel processors.
76142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76143 Define.
76144 (index_Prefer_SSE_for_memop): Define.
76145 (HAS_PREFER_SSE_FOR_MEMOP): Define.
76146
76147 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
76148
76149 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76150 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76151
76152 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
76153
76154 [BZ #12191]
76155 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76156 (__x86_64_raw_data_cache_size_half): Likewise.
76157 (__x86_64_raw_shared_cache_size): Likewise.
76158 (__x86_64_raw_shared_cache_size_half): Likewise.
76159
76160 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76161 (__x86_64_raw_data_cache_size_half): Likewise.
76162 (__x86_64_raw_shared_cache_size): Likewise.
76163 (__x86_64_raw_shared_cache_size_half): Likewise.
76164 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76165 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76166 and __x86_64_raw_shared_cache_size_half. Round
76167 __x86_64_data_cache_size_half, __x86_64_data_cache_size
76168 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76169 to multiple of 256 bytes.
76170
76171 2010-11-03 Ulrich Drepper <drepper@gmail.com>
76172
76173 [BZ #12167]
76174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76175 of inacessible symlinks. Verify result of symlink before returning it.
76176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76177 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76178
76179 2010-10-28 Erich Ritz <erichritz@gmail.com>
76180
76181 * math/math.h (isinf): Fix typo in comment.
76182
76183 2010-11-01 Ulrich Drepper <drepper@gmail.com>
76184
76185 * po/da.po: Update from translation team.
76186
76187 2010-10-26 Ulrich Drepper <drepper@gmail.com>
76188
76189 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76190 is added to the list.
76191
76192 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76193 Ulrich Drepper <drepper@gmail.com>
76194
76195 * elf/dl-object.c (_dl_new_object): Don't append the new object to
76196 the global list here. Move code to...
76197 (_dl_add_to_namespace_list): ...here. New function.
76198 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76199 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76200 * elf/dl-load.c (lose): Don't remove the element from the list.
76201 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76202 (_dl_map_object): Likewise.
76203
76204 2010-10-25 Ulrich Drepper <drepper@gmail.com>
76205
76206 [BZ #12159]
76207 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76208 into all bytes of SSE register.
76209 Patch by Richard Li <richardpku@gmail.com>.
76210
76211 2010-10-24 Ulrich Drepper <drepper@gmail.com>
76212
76213 [BZ #12140]
76214 * malloc/malloc.c (_int_free): Fill correct number of bytes when
76215 perturbing.
76216
76217 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
76218
76219 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76220 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76221 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76222 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76224 submachine.
76225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76226
76227 2010-10-22 Andreas Schwab <schwab@redhat.com>
76228
76229 * include/dlfcn.h (__RTLD_SECURE): Define.
76230 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
76231 mode & __RTLD_SECURE instead.
76232 (open_path): Rename preloaded parameter to secure.
76233 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76234 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76235 * elf/dl-deps.c (openaux): Likewise.
76236 * elf/rtld.c (struct map_args): Remove is_preloaded.
76237 (map_doit): Don't use it.
76238 (dl_main): Likewise.
76239 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76240 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76241
76242 2010-09-09 Andreas Schwab <schwab@redhat.com>
76243
76244 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76245 (sysd-rules-targets): Remove duplicates.
76246 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76247 rtld-%.$o dependency.
76248
76249 2010-10-18 Andreas Schwab <schwab@redhat.com>
76250
76251 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76252 _dl_map_object do it.
76253
76254 2010-10-19 Ulrich Drepper <drepper@gmail.com>
76255
76256 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76257 fast fma builtins, define the macros in the C99 standard.
76258 (FP_FAST_FMAF): Likewise.
76259 (FP_FAST_FMAL): Likewise.
76260 * sysdeps/x86_64/bits/mathdef.h: Likewise.
76261
76262 * bits/mathdef.h: Update copyright year.
76263 * sysdeps/powerpc/bits/mathdef.h: Likewise.
76264
76265 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
76266
76267 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76268 builtins, define the macros in the C99 standard.
76269 (FP_FAST_FMAF): Likewise.
76270 (FP_FAST_FMAL): Likewise.
76271 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76272 multiply/add.
76273 (FP_FAST_FMAF): Likewise.
76274
76275 2010-10-15 Jakub Jelinek <jakub@redhat.com>
76276
76277 [BZ #3268]
76278 * math/libm-test.inc (fma_test): Some new testcases.
76279 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76281 y and infinite z. Do multiplication by C already in long double.
76282 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76284 y and infinite z. Do bitwise or of inexact bit into u.d.
76285 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76286 * sysdeps/i386/fpu/s_fmaf.S: Removed.
76287 * sysdeps/i386/fpu/s_fma.S: Removed.
76288 * sysdeps/i386/fpu/s_fmal.S: Removed.
76289
76290 2010-10-16 Jakub Jelinek <jakub@redhat.com>
76291
76292 [BZ #3268]
76293 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76295 computation is not scheduled after fetestexcept. Fix value
76296 of minimum denormal long double.
76297
76298 2010-10-14 Jakub Jelinek <jakub@redhat.com>
76299
76300 [BZ #3268]
76301 * math/libm-test.inc (fma_test): Add some more tests.
76302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76303 correctly.
76304
76305 2010-10-15 Andreas Schwab <schwab@redhat.com>
76306
76307 * scripts/data/localplt-s390-linux-gnu.data: New file.
76308 * scripts/data/localplt-s390x-linux-gnu.data: New file.
76309
76310 2010-10-13 Jakub Jelinek <jakub@redhat.com>
76311
76312 [BZ #3268]
76313 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76314 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76315 instead of dbl-64.
76316 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76317 inlines.
76318 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76320 if one of x and y is very large and the other is subnormal.
76321 * sysdeps/s390/fpu/s_fmaf.c: New file.
76322 * sysdeps/s390/fpu/s_fma.c: New file.
76323 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76324 * sysdeps/powerpc/fpu/s_fma.S: New file.
76325 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76326 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76327 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76328
76329 2010-10-12 Jakub Jelinek <jakub@redhat.com>
76330
76331 [BZ #3268]
76332 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76333 fma tests.
76334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76335 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76336 * sysdeps/i386/i686/multiarch/s_fma.c: Include
76337 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76338 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76339 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76340 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76341
76342 2010-10-12 Ulrich Drepper <drepper@redhat.com>
76343
76344 [BZ #12078]
76345 * posix/regcomp.c (parse_branch): One more memory leak plugged.
76346 * posix/bug-regex31.input: Add test case.
76347
76348 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76349
76350 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
76351 * posix/bug-regex31.input: New file.
76352
76353 [BZ #12078]
76354 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
76355 (parse_sub_exp): Fix last change, use postorder.
76356
76357 * posix/bug-regex31.c: New file.
76358 * posix/Makefile: Add rules to build and run bug-regex31.
76359
76360 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
76361
76362 [BZ #12078]
76363 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
76364
76365 [BZ #12108]
76366 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
76367 to have entries in sys_siglist.
76368
76369 [BZ #12093]
76370 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
76371 be NULL.
76372
76373 2010-10-07 Jakub Jelinek <jakub@redhat.com>
76374
76375 [BZ #3268]
76376 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
76377 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
76378 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
76379 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
76380 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76381 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
76382 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
76383 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
76384 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
76385 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
76386 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
76387 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
76388 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
76389 * math/ftestexcept.c (fetestexcept): Likewise.
76390 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
76391 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
76392 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
76393 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
76394 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
76395 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
76396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76397
76398 2010-10-11 Ulrich Drepper <drepper@gmail.com>
76399
76400 [BZ #12107]
76401 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
76402 newline.
76403
76404 2010-10-06 Ulrich Drepper <drepper@gmail.com>
76405
76406 * string/bug-strstr1.c: New file.
76407 * string/Makefile: Add rules to build and run bug-strstr1.
76408
76409 2010-10-05 Eric Blake <eblake@redhat.com>
76410
76411 [BZ #12092]
76412 * string/str-two-way.h (two_way_long_needle): Always clear memory
76413 when skipping input due to the shift table.
76414
76415 2010-10-03 Ulrich Drepper <drepper@gmail.com>
76416
76417 [BZ #12005]
76418 * malloc/mcheck.c: Handle large requests.
76419
76420 [BZ #12077]
76421 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
76422 for strncmp and strncasecmp.
76423 * string/stratcliff.c: Add tests for strcmp and strncmp.
76424 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
76425
76426 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
76427
76428 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
76429 __set_fpscr.
76430
76431 2010-09-30 Andreas Jaeger <aj@suse.de>
76432
76433 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
76434 (CGROUP_SUPER_MAGIC): Define.
76435 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76436 Handle btrfs and cgroup file systems.
76437 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
76438 Likewise.
76439
76440 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
76441
76442 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
76443 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
76444
76445 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76446
76447 [BZ #12067]
76448 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
76449 trying to locate the ELF header.
76450
76451 2010-09-27 Andreas Schwab <schwab@redhat.com>
76452
76453 [BZ #11611]
76454 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
76455 Mask out sign-bit copies when constructing f_fsid.
76456
76457 2010-09-24 Petr Baudis <pasky@suse.cz>
76458
76459 * debug/stack_chk_fail_local.c: Add missing licence exception.
76460 * debug/warning-nop.c: Likewise.
76461
76462 2010-09-15 Joseph Myers <joseph@codesourcery.com>
76463
76464 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
76465 implementing getdents64 using getdents syscall, set d_type if
76466 __ASSUME_GETDENTS32_D_TYPE.
76467
76468 2010-09-16 Andreas Schwab <schwab@redhat.com>
76469
76470 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
76471 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
76472
76473 2010-09-21 Ulrich Drepper <drepper@redhat.com>
76474
76475 [BZ #12037]
76476 * posix/unistd.h: Undo change of feature selection for ftruncate from
76477 2010-01-11.
76478
76479 2010-09-20 Ulrich Drepper <drepper@redhat.com>
76480
76481 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
76482 detection.
76483
76484 2010-09-20 Andreas Schwab <schwab@redhat.com>
76485
76486 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
76487 fanotify_mark.
76488 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76489
76490 2010-09-14 Andreas Schwab <schwab@redhat.com>
76491
76492 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
76493 variables after CHECK_SP call.
76494 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
76495
76496 2010-09-13 Andreas Schwab <schwab@redhat.com>
76497 Ulrich Drepper <drepper@redhat.com>
76498
76499 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
76500 re-relocationg ld.so.
76501 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
76502 _dl_init_paths call.
76503 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
76504 here anymore.
76505
76506 2010-09-14 Ulrich Drepper <drepper@redhat.com>
76507
76508 * resolv/res_init.c (__res_vinit): Count the default server we added.
76509
76510 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
76511 Ulrich Drepper <drepper@redhat.com>
76512
76513 [BZ #11968]
76514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76515 (____longjmp_chk): Use %ebx for saving value across system call.
76516 Add unwind info.
76517
76518 2010-09-06 Andreas Schwab <schwab@redhat.com>
76519
76520 * manual/Makefile: Don't mix pattern rules with normal rules.
76521
76522 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
76523
76524 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
76525 operation.
76526 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
76527 * libio/iofopncook.c (_IO_cookie_init): Likewise.
76528 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
76529 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
76530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76531 Likewise.
76532
76533 2010-09-04 Ulrich Drepper <drepper@redhat.com>
76534
76535 [BZ #11979]
76536 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
76537 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
76538
76539 2010-09-02 Ulrich Drepper <drepper@redhat.com>
76540
76541 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
76542 * sysdeps/x86_64/addmul_1.S: Likewise.
76543 * sysdeps/x86_64/lshift.S: Likewise.
76544 * sysdeps/x86_64/mul_1.S: Likewise.
76545 * sysdeps/x86_64/rshift.S: Likewise.
76546 * sysdeps/x86_64/sub_n.S: Likewise.
76547 * sysdeps/x86_64/submul_1.S: Likewise.
76548
76549 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
76550
76551 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
76552 Define __sched_param instead of SCHED_* and sched_param when
76553 <bits/sched.h> is included with __need_schedparam defined.
76554 * bits/sched.h [__need_schedparam]
76555 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
76556 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
76557 (__defined_schedparam): Define to 1.
76558 (__sched_param): New structure, identical to sched_param.
76559 (__need_schedparam): Undefine.
76560
76561 2010-08-31 Mike Frysinger <vapier@gentoo.org>
76562
76563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
76564 (epoll_create1): Declare.
76565
76566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
76567
76568 2010-08-31 Andreas Schwab <schwab@redhat.com>
76569
76570 [BZ #7066]
76571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
76572 shifting retval into place.
76573
76574 2010-09-01 Ulrich Drepper <drepper@redhat.com>
76575
76576 * nis/rpcsvc/nis.h: Update copyright notice.
76577 * nis/rpcsvc/nis.x: Likewise.
76578 * nis/rpcsvc/nis_callback.h: Likewise.
76579 * nis/rpcsvc/nis_callback.x: Likewise.
76580 * nis/rpcsvc/nis_object.x: Likewise.
76581 * nis/rpcsvc/nis_tags.h: Likewise.
76582 * nis/rpcsvc/yp.h: Likewise.
76583 * nis/rpcsvc/yp.x: Likewise.
76584 * nis/rpcsvc/ypupd.h: Likewise.
76585 * nis/yp_xdr.c: Likewise.
76586 * nis/ypupdate_xdr.c: Likewise.
76587
76588 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
76589 mainly the body of pmap_getport. Add parameters to specify timeouts.
76590 (pmap_getport): Use __libc_rpc_getport.
76591 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
76592 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
76593 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
76594
76595 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
76596
76597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
76598 fanotify_mark.
76599
76600 2010-08-27 Roland McGrath <roland@redhat.com>
76601
76602 * sysdeps/i386/i686/multiarch/Makefile
76603 (CFLAGS-varshift.c): New variable.
76604
76605 2010-08-27 Ulrich Drepper <drepper@redhat.com>
76606
76607 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76608 * sysdeps/i386/i686/multiarch/varshift.c: New file.
76609
76610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
76611
76612 * sysdeps/x86_64/strlen.S: Minimal code improvement.
76613
76614 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
76615
76616 * sysdeps/x86_64/strlen.S: Unroll the loop.
76617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76618 strlen-sse2 strlen-sse2-bsf.
76619 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
76620 __strlen_no_bsf if bit_Slow_BSF is set.
76621 (__strlen_sse42): Removed.
76622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
76623 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
76624
76625 2010-08-25 Roland McGrath <roland@redhat.com>
76626
76627 * sysdeps/x86_64/multiarch/varshift.S: File removed.
76628 * sysdeps/x86_64/multiarch/varshift.c: New file.
76629 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
76630 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
76631 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
76632 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76633
76634 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
76635
76636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76637 strlen-sse2 strlen-sse2-bsf.
76638 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
76639 __strlen_sse2_bsf if bit_Slow_BSF is unset.
76640 (__strlen_sse2): Removed.
76641 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
76642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
76643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
76644 bit_Slow_BSF for Atom.
76645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
76646 (index_Slow_BSF): Define.
76647 (HAS_SLOW_BSF): Define.
76648
76649 2010-08-25 Ulrich Drepper <drepper@redhat.com>
76650
76651 [BZ #10851]
76652 * resolv/res_init.c (__res_vinit): When no server address at all
76653 is given default to loopback.
76654
76655 2010-08-24 Roland McGrath <roland@redhat.com>
76656
76657 * configure.in: Remove config-name.h generation.
76658 * configure: Regenerated.
76659 * config-name.in: File removed.
76660 * scripts/config-uname.sh: New file.
76661 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
76662 ($(objdir)config-name.h): New target.
76663
76664 * sunrpc/rpc_parse.h: Avoid nested comment.
76665
76666 2010-08-24 Richard Henderson <rth@redhat.com>
76667 Ulrich Drepper <drepper@redhat.com>
76668 H.J. Lu <hongjiu.lu@intel.com>
76669
76670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
76671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
76672 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
76673 Replace _mm_srli_si128 with __m128i_shift_right. Replace
76674 _mm_alignr_epi8 with _mm_loadu_si128.
76675 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
76676 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
76677 (__m128i_shift_right): Removed.
76678 * sysdeps/i386/i686/multiarch/varshift.h: New file.
76679 * sysdeps/i386/i686/multiarch/varshift.S: New file.
76680 * sysdeps/x86_64/multiarch/varshift.h: New file.
76681 * sysdeps/x86_64/multiarch/varshift.S: New file.
76682
76683 2010-08-21 Mike Frysinger <vapier@gentoo.org>
76684
76685 * configure.in: Move assembler checks to before sysdep dir checking.
76686
76687 2010-08-20 Petr Baudis <pasky@suse.cz>
76688
76689 * LICENSES: Sync the sunrpc license.
76690
76691 2010-08-19 Ulrich Drepper <drepper@redhat.com>
76692
76693 * sunrpc/auth_des.c: Update copyright notice once again.
76694 * sunrpc/auth_none.c: Likewise.
76695 * sunrpc/auth_unix.c: Likewise.
76696 * sunrpc/authdes_prot.c: Likewise.
76697 * sunrpc/authuxprot.c: Likewise.
76698 * sunrpc/bindrsvprt.c: Likewise.
76699 * sunrpc/clnt_gen.c: Likewise.
76700 * sunrpc/clnt_perr.c: Likewise.
76701 * sunrpc/clnt_raw.c: Likewise.
76702 * sunrpc/clnt_simp.c: Likewise.
76703 * sunrpc/clnt_tcp.c: Likewise.
76704 * sunrpc/clnt_udp.c: Likewise.
76705 * sunrpc/clnt_unix.c: Likewise.
76706 * sunrpc/des_crypt.c: Likewise.
76707 * sunrpc/des_soft.c: Likewise.
76708 * sunrpc/get_myaddr.c: Likewise.
76709 * sunrpc/getrpcport.c: Likewise.
76710 * sunrpc/key_call.c: Likewise.
76711 * sunrpc/key_prot.c: Likewise.
76712 * sunrpc/openchild.c: Likewise.
76713 * sunrpc/pm_getmaps.c: Likewise.
76714 * sunrpc/pm_getport.c: Likewise.
76715 * sunrpc/pmap_clnt.c: Likewise.
76716 * sunrpc/pmap_prot.c: Likewise.
76717 * sunrpc/pmap_prot2.c: Likewise.
76718 * sunrpc/pmap_rmt.c: Likewise.
76719 * sunrpc/rpc/auth.h: Likewise.
76720 * sunrpc/rpc/auth_unix.h: Likewise.
76721 * sunrpc/rpc/clnt.h: Likewise.
76722 * sunrpc/rpc/des_crypt.h: Likewise.
76723 * sunrpc/rpc/key_prot.h: Likewise.
76724 * sunrpc/rpc/netdb.h: Likewise.
76725 * sunrpc/rpc/pmap_clnt.h: Likewise.
76726 * sunrpc/rpc/pmap_prot.h: Likewise.
76727 * sunrpc/rpc/pmap_rmt.h: Likewise.
76728 * sunrpc/rpc/rpc.h: Likewise.
76729 * sunrpc/rpc/rpc_des.h: Likewise.
76730 * sunrpc/rpc/rpc_msg.h: Likewise.
76731 * sunrpc/rpc/svc.h: Likewise.
76732 * sunrpc/rpc/svc_auth.h: Likewise.
76733 * sunrpc/rpc/types.h: Likewise.
76734 * sunrpc/rpc/xdr.h: Likewise.
76735 * sunrpc/rpc_clntout.c: Likewise.
76736 * sunrpc/rpc_cmsg.c: Likewise.
76737 * sunrpc/rpc_common.c: Likewise.
76738 * sunrpc/rpc_cout.c: Likewise.
76739 * sunrpc/rpc_dtable.c: Likewise.
76740 * sunrpc/rpc_hout.c: Likewise.
76741 * sunrpc/rpc_main.c: Likewise.
76742 * sunrpc/rpc_parse.c: Likewise.
76743 * sunrpc/rpc_parse.h: Likewise.
76744 * sunrpc/rpc_prot.c: Likewise.
76745 * sunrpc/rpc_sample.c: Likewise.
76746 * sunrpc/rpc_scan.c: Likewise.
76747 * sunrpc/rpc_scan.h: Likewise.
76748 * sunrpc/rpc_svcout.c: Likewise.
76749 * sunrpc/rpc_tblout.c: Likewise.
76750 * sunrpc/rpc_util.c: Likewise.
76751 * sunrpc/rpc_util.h: Likewise.
76752 * sunrpc/rpcinfo.c: Likewise.
76753 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
76754 * sunrpc/rpcsvc/key_prot.x: Likewise.
76755 * sunrpc/rpcsvc/klm_prot.x: Likewise.
76756 * sunrpc/rpcsvc/mount.x: Likewise.
76757 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
76758 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
76759 * sunrpc/rpcsvc/rex.x: Likewise.
76760 * sunrpc/rpcsvc/rstat.x: Likewise.
76761 * sunrpc/rpcsvc/rusers.x: Likewise.
76762 * sunrpc/rpcsvc/sm_inter.x: Likewise.
76763 * sunrpc/rpcsvc/spray.x: Likewise.
76764 * sunrpc/rpcsvc/yppasswd.x: Likewise.
76765 * sunrpc/rtime.c: Likewise.
76766 * sunrpc/svc.c: Likewise.
76767 * sunrpc/svc_auth.c: Likewise.
76768 * sunrpc/svc_authux.c: Likewise.
76769 * sunrpc/svc_raw.c: Likewise.
76770 * sunrpc/svc_run.c: Likewise.
76771 * sunrpc/svc_simple.c: Likewise.
76772 * sunrpc/svc_tcp.c: Likewise.
76773 * sunrpc/svc_udp.c: Likewise.
76774 * sunrpc/svc_unix.c: Likewise.
76775 * sunrpc/svcauth_des.c: Likewise.
76776 * sunrpc/xcrypt.c: Likewise.
76777 * sunrpc/xdr.c: Likewise.
76778 * sunrpc/xdr_array.c: Likewise.
76779 * sunrpc/xdr_float.c: Likewise.
76780 * sunrpc/xdr_mem.c: Likewise.
76781 * sunrpc/xdr_rec.c: Likewise.
76782 * sunrpc/xdr_ref.c: Likewise.
76783 * sunrpc/xdr_sizeof.c: Likewise.
76784 * sunrpc/xdr_stdio.c: Likewise.
76785
76786 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
76787 handling.
76788
76789 2010-08-19 Andreas Schwab <schwab@redhat.com>
76790
76791 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
76792
76793 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
76794
76795 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
76796 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
76797 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
76798 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
76799 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
76800 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
76801 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
76802 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
76803 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
76804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
76805 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
76806 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
76807 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
76808 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
76809
76810 2010-07-26 Anton Blanchard <anton@samba.org>
76811
76812 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
76813 * malloc/arena.c (heap_trim): Likewise.
76814
76815 2010-08-16 Ulrich Drepper <drepper@redhat.com>
76816
76817 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
76818 here. Not...
76819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
76820 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
76821
76822 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
76823
76824 * sysdeps/i386/elf/Makefile: New file.
76825
76826 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
76827
76828 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76829 from fanotify_init.
76830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76832
76833 2010-08-15 Ulrich Drepper <drepper@redhat.com>
76834
76835 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76836 of strncasecmp_l.
76837 * sysdeps/multiarch/strcmp.S: Likewise.
76838
76839 2010-08-14 Ulrich Drepper <drepper@redhat.com>
76840
76841 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76842 strncase_l-nonascii.
76843 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76844 Add strncase_l-ssse3.
76845 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76846 * sysdeps/x86_64/strcmp.S: Likewise.
76847 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76848 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76849 * sysdeps/x86_64/strncase.S: New file.
76850 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76851 * sysdeps/x86_64/strncase_l.S: New file.
76852 * string/Makefile (strop-tests): Add strncasecmp.
76853 * string/test-strncasecmp.c: New file.
76854
76855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76856 warning.
76857
76858 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76859 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76860
76861 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
76862
76863 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76864
76865 2010-08-12 Ulrich Drepper <drepper@redhat.com>
76866
76867 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76868 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76869 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76870
76871 2010-05-01 Alan Modra <amodra@gmail.com>
76872
76873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76874 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76875 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76876 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76877 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76878 tidying. Don't tail-call __sigjmp_save for static lib.
76879 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76880 save location.
76881 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76882 (CALL_MCOUNT): Add eh info, and nop after bl.
76883 (TAIL_CALL_SYSCALL_ERROR): New macro.
76884 (PSEUDO_RET): Use it.
76885 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76886 Correct save location of integer regs and cr.
76887 (_dl_profile_resolve): Correct cr save location. Delete nops
76888 after bl when SHARED. Reduce cfi size a little by better
76889 placement of cfi directives.
76890 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76891 make a stack frame. Instead use parm save area as a temp.
76892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76893 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
76894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76895 Don't make a stack frame for parent, use parm save area.
76896 Increase child stack frame to 112 bytes. Don't save unused reg,
76897 and adjust reg usage. Set up cfi on error recovery and
76898 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76900 (__makecontext): Add dummy nop after jump to exit.
76901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76902 Use correct parm save area and cr save, reduce stack frame.
76903 Correct cfi for possible PSEUDO_RET frame setup.
76904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76905 Branch to local label emitted by PSEUDO_RET rather than
76906 __syscall_error.
76907
76908 2010-08-12 Andreas Schwab <schwab@redhat.com>
76909
76910 [BZ #11904]
76911 * locale/programs/locale.c (print_assignment): New function.
76912 (show_locale_vars): Use it.
76913
76914 2010-08-11 Ulrich Drepper <drepper@redhat.com>
76915
76916 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76917 field.
76918 (struct statfs64): Likewise.
76919 (_STATFS_F_FLAGS): Define.
76920 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76922 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76923 (ST_VALID): Define locally.
76924 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76925 __statvfs_getflags, use the provided value.
76926 * sysdeps/unix/sysv/linux/kernel-features.h: Define
76927 __ASSUME_STATFS_F_FLAGS.
76928
76929 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76930
76931 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76932 Add sys/fanotify.h.
76933 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76934 fanotify_mask for GLIBC_2.13.
76935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76936 fanotify_init and fanotify_mark.
76937 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76938 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76939
76940 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76941 Add prlimit.
76942 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76943 prlimit64 for GLIBC_2.13.
76944 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76945 prlimit64.
76946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76947 syscall.
76948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76950 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76951 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76952 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
76953 add prlimit alias.
76954 * sysdeps/unix/sysv/linux/prlimit.c: New file.
76955
76956 [BZ #11903]
76957 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76958 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76959
76960 * nss/Makefile: Add rules to build and run tst-nss-test1.
76961 * shlib-versions: Add entry for libnss_test1.
76962 * nss/nss_test1.c: New file.
76963 * nss/tst-nss-test1.c: New file.
76964
76965 * nss/nsswitch.c (__nss_database_custom): Define new variable.
76966 (__nss_configure_lookup): Set appropriate entry in
76967 __nss_configure_lookup to true.
76968 * nss/nsswitch.h: Define enum with indeces of databases in
76969 databases and __nss_database_custom arrays. Declare
76970 __nss_database_custom.
76971 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76972 to avoid using nscd when custom rules are installed.
76973 * nss/getXXbyYY_r.c: Likewise.
76974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76975
76976 * nss/nss_files/files-parse.c: Whitespace fixes.
76977
76978 2010-08-09 Ulrich Drepper <drepper@redhat.com>
76979
76980 [BZ #11883]
76981 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76982 * posix/fnmatch_loop.c: Likewise.
76983
76984 2010-07-17 Andi Kleen <ak@linux.intel.com>
76985
76986 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76987 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76988 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76989 * Versions.def [GLIBC_2.13]: Add.
76990
76991 2010-08-06 Ulrich Drepper <drepper@redhat.com>
76992
76993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76994 Also fail if tpwd after pwuid call is NULL.
76995
76996 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
76997
76998 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76999 when converting to ms.
77000
77001 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77002
77003 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77004 EOPNOTSUPP errors with ENOTTY.
77005 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77006 EOPNOTSUPP errors with ENOTTY.
77007
77008 2010-07-31 Ulrich Drepper <drepper@redhat.com>
77009
77010 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77011 Add strcasecmp_l-ssse3.
77012 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77013 strcasecmp.
77014 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77015 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77016 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77017
77018 2010-07-30 Ulrich Drepper <drepper@redhat.com>
77019
77020 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77021
77022 * string/Makefile (strop-tests): Add strcasecmp.
77023 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77024 strcasecmp_l-nonascii.
77025 (gen-as-const-headers): Add locale-defines.sym.
77026 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77027 * sysdeps/x86_64/strcasecmp.S: New file.
77028 * sysdeps/x86_64/strcasecmp_l.S: New file.
77029 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77030 * sysdeps/x86_64/locale-defines.sym: New file.
77031 * string/test-strcasecmp.c: New file.
77032
77033 * string/test-strcasestr.c: Test both ends of the range of characters.
77034 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77035
77036 2010-07-29 Roland McGrath <roland@redhat.com>
77037
77038 [BZ #11856]
77039 * manual/locale.texi (Yes-or-No Questions): Fix example code.
77040
77041 2010-07-27 Ulrich Drepper <drepper@redhat.com>
77042
77043 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77044 for ld.so.
77045
77046 2010-07-27 Andreas Schwab <schwab@redhat.com>
77047
77048 * manual/memory.texi (Malloc Tunable Parameters): Document
77049 M_PERTURB.
77050
77051 2010-07-26 Roland McGrath <roland@redhat.com>
77052
77053 [BZ #11840]
77054 * configure.in (-fgnu89-inline check): Set and substitute
77055 gnu89_inline, not libc_cv_gnu89_inline.
77056 * configure: Regenerated.
77057 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77058
77059 2010-07-26 Ulrich Drepper <drepper@redhat.com>
77060
77061 * string/test-strnlen.c: New file.
77062 * string/Makefile (strop-tests): Add strnlen.
77063 * string/tester.c (test_strnlen): Add a few more test cases.
77064 * string/tst-strlen.c: Better error reporting.
77065
77066 * sysdeps/x86_64/strnlen.S: New file.
77067
77068 2010-07-24 Ulrich Drepper <drepper@redhat.com>
77069
77070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77071 lower-latency instructions.
77072
77073 2010-07-23 Ulrich Drepper <drepper@redhat.com>
77074
77075 * string/test-strcasestr.c: New file.
77076 * string/test-strstr.c: New file.
77077 * string/Makefile (strop-tests): Add strstr and strcasestr.
77078 * string/str-two-way.h: Don't undefine MAX.
77079 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77080
77081 2010-07-21 Andreas Schwab <schwab@redhat.com>
77082
77083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77084 strcasestr-nonascii.
77085 (CFLAGS-strcasestr-nonascii.c): Define.
77086 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77087 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77088 Remove unused attribute.
77089
77090 2010-07-20 Roland McGrath <roland@redhat.com>
77091
77092 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77093 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
77094 ld.so.cache was broken. With it, there is no way to disable dsocaps
77095 like LD_HWCAP_MASK can disable hwcaps.
77096
77097 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77098
77099 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77100
77101 2010-07-16 Ulrich Drepper <drepper@redhat.com>
77102
77103 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77104 call in strcasestr.
77105 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77106 __strcasestr_sse42_nonascii.
77107 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77108 strcasestr-nonascii.c.
77109 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77110
77111 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
77112
77113 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77114 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77117
77118 2010-07-09 Ulrich Drepper <drepper@redhat.com>
77119
77120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77121 fcntl.
77122
77123 2010-07-06 Andreas Schwab <schwab@redhat.com>
77124
77125 [BZ #11577]
77126 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77127 dl_signal_cerror.
77128
77129 2010-07-06 Ulrich Drepper <drepper@redhat.com>
77130
77131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77132 _PC_PIPE_BUF using F_GETPIPE_SZ.
77133
77134 2010-07-05 Roland McGrath <roland@redhat.com>
77135
77136 * manual/arith.texi (Rounding Functions): Fix rint description
77137 implicit in round description.
77138
77139 2010-07-02 Ulrich Drepper <drepper@redhat.com>
77140
77141 * elf/Makefile: Fix linking for a few tests to make recent linker
77142 happy.
77143
77144 2010-06-30 Andreas Schwab <schwab@redhat.com>
77145
77146 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77147 $(common-objpfx)libc_nonshared.a.
77148
77149 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
77150
77151 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77152 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77153 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77154 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77155 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77156 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77157 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77158 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77173 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77174 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77175 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77176 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77177 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77178 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77179 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77180 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77181 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77182 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77183 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77184 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77199
77200 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
77201
77202 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77203 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
77204 * string/memmove.c (memmove): Renamed to ...
77205 (MEMMOVE): ...this. Default to memmove.
77206 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77207 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77208 (END_CHK): Define.
77209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77210 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77211 mempcpy-ssse3-back memmove-ssse3-back.
77212 * sysdeps/x86_64/multiarch/bcopy.S: New file .
77213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77215 * sysdeps/x86_64/multiarch/memcpy.S: New file.
77216 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77217 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77218 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77219 * sysdeps/x86_64/multiarch/memmove.c: New file.
77220 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77221 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77222 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77223 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77224 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77226 Define.
77227 (index_Fast_Copy_Backward): Define.
77228 (HAS_ARCH_FEATURE): Define.
77229 (HAS_FAST_REP_STRING): Define.
77230 (HAS_FAST_COPY_BACKWARD): Define.
77231
77232 2010-06-21 Andreas Schwab <schwab@redhat.com>
77233
77234 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77235 Restore proper fallback handling.
77236
77237 2010-06-19 Ulrich Drepper <drepper@redhat.com>
77238
77239 [BZ #11701]
77240 * posix/group_member.c (__group_member): Correct checking loop.
77241
77242 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77243 OOM in getpwuid_r correctly. Return error number when the caller
77244 should return, otherwise -1.
77245 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77246 call returning > 0 value.
77247 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77248
77249 2010-06-07 Andreas Schwab <schwab@redhat.com>
77250
77251 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77252 libc_nonshared.a from targets in modules-names.
77253
77254 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
77255
77256 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77257 requires it.
77258
77259 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
77260
77261 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77262 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77264 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77265
77266 2010-06-02 Andreas Schwab <schwab@redhat.com>
77267
77268 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77269
77270 2010-06-14 Ulrich Drepper <drepper@redhat.com>
77271
77272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77273 and F_GETPIPE_SZ.
77274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77275 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77278 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77279 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77280
77281 2010-06-14 Roland McGrath <roland@redhat.com>
77282
77283 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77284
77285 2010-06-07 Jakub Jelinek <jakub@redhat.com>
77286
77287 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77288 __REDIRECT followed by __THROW.
77289 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77290 * posix/getopt.h (getopt): Likewise.
77291
77292 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77293
77294 * hurd/lookup-at.c (__file_name_lookup_at): Accept
77295 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
77296 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77297 in AT_FLAGS.
77298 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77299 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77300
77301 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
77302
77303 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77304
77305 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
77306
77307 [BZ #11640]
77308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77309 Properly check family and model.
77310
77311 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
77312
77313 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77314
77315 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
77316
77317 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77318
77319 2010-05-21 Ulrich Drepper <drepper@redhat.com>
77320
77321 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77322 symbol reference.
77323
77324 2010-05-19 Andreas Schwab <schwab@redhat.com>
77325
77326 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77327 symbol reference.
77328
77329 2010-05-21 Andreas Schwab <schwab@redhat.com>
77330
77331 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77332 and internal_recvmmsg.
77333 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77334 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77335 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77336 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77337
77338 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77339 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77340 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77341
77342 2010-05-20 Andreas Schwab <schwab@redhat.com>
77343
77344 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
77345
77346 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
77347
77348 POWER7 optimizations.
77349 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
77350 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
77351
77352 2010-05-19 Ulrich Drepper <drepper@redhat.com>
77353
77354 * version.h: Update for 2.13 development version.
77355
77356 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
77357
77358 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
77359 exceptions. Return 0.
77360
77361 2010-05-07 Roland McGrath <roland@redhat.com>
77362
77363 * elf/ldconfig.c (main): Add a const.
77364
77365 2010-05-06 Ulrich Drepper <drepper@redhat.com>
77366
77367 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
77368 (args_options): Add no-idn option.
77369 (ahosts_keys_int): Add idn_flags to ai_flags.
77370 (parse_option): Handle 'i' option to clear idn_flags.
77371
77372 * malloc/malloc.c (_int_free): Possible race in the most recently
77373 added check. Only act on the data if no current modification
77374 happened.
77375
77376 See ChangeLog.17 for earlier changes.