]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
iconv: Avoid writable data and relocations in ISO646
[thirdparty/glibc.git] / ChangeLog
1 2016-10-26 Florian Weimer <fweimer@redhat.com>
2
3 * iconvdata/iso646.c (enum variant): Drop illegal_var.
4 (names): Turn into concatenation of strings.
5 (gconv_init): Adapt iteration over names.
6
7 2016-10-26 Florian Weimer <fweimer@redhat.com>
8
9 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
10 make const.
11 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15 character in sbconv.
16 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
17 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
18 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
19
20 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
21
22 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
23
24 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
25 (M_TRIM_THRESHOLD): Likewise.
26
27 * manual/memory.texi (M_ARENA_TEST): Add documentation.
28 (M_ARENA_MAX): Likewise.
29 * malloc/malloc.c: Remove obsolete comment.
30
31 * manual/memory.texi: Add environment variable alternatives to
32 setting mallopt parameters.
33
34 2016-10-26 Carlos O'Donell <carlos@redhat.com>
35
36 * include/atomic.h
37 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
38 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
39
40 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41
42 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
43 * stdlib/tst-strfrom.h: New file.
44 * stdlib/tst-strfrom.c: New file.
45 * stdlib/tst-strfrom-locale.c: New file.
46
47 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
48 * stdlib/bug-strtod2.c: Likewise.
49 * stdlib/tst-strtod-round-skeleton.c: Likewise.
50 * stdlib/tst-strtod6.c: Likewise.
51 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
52
53 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
54
55 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
56 * manual/arith.texi: Document strfromd, strfromf, strfroml.
57 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
58 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
59 * stdlib/stdlib.h (strfromd): New declaration.
60 (strfromf): Likewise.
61 (strfroml): Likewise.
62 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
63 strfrom.
64 * stdlib/strfromd.c: New file.
65 * stdlib/strfromf.c: Likewise.
66 * stdlib/strfroml.c: Likewise.
67 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
68 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
69 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
70 * sysdeps/arm/nacl/libc.abilist: Update.
71 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
72 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
73 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
74 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
75 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
76 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
77 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
78 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
79 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
80 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
81 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
82 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
83 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
84 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
89 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
90 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
91 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
92 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
93 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
94 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
95 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
96 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
97 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
98 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
99
100 2016-10-25 Joseph Myers <joseph@codesourcery.com>
101
102 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
103 instead of cmpli.
104 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
105 instead of cmpli.
106
107 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
108
109 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
110 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
111 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
112 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
113 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
114 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
115
116 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
117
118 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
119 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
120 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
121 SYSCALL_LL64_PRW.
122 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
123 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
124 __ASSUME_PRW_DUMMY_ARG.
125 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
126 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
127 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
128 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
129 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
130 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
131
132 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
133
134 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
135
136 2016-10-22 Florian Weimer <fweimer@redhat.com>
137
138 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
139 "C++", to override a potential extern "C" directive around the
140 header file inclusion.
141
142 2016-10-21 Joseph Myers <joseph@codesourcery.com>
143
144 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
145
146 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
147
148 * sysdeps/powerpc/fpu/fenv_private.h:
149 (_FPU_MASK_ALL): Rename to...
150 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
151 XE FPSCR bits.
152
153 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
154
155 (_FPU_MASK_ROUNDING): Rename to...
156 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
157 NI bits.
158
159 (_FPU_MASK_EXCEPT_ROUND): Rename to...
160 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
161 bits and rounding bits.
162
163 (__libc_feholdbits_ppc): New inline function to mask, set,
164 and pontentially clear FSPCR bits, and change MSR[FE] bits.
165 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
166 (libc_feholdexcept_setround_ppc): Likewise.
167
168 (__libc_femergeenv_ppc): New function to dynamically mask both
169 old and new FP environments and merge.
170 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
171 (libc_feresetround_ppc): Likewise.
172 (libc_feupdateenv_test_ppc): Likewise.
173 (libc_feupdateenv_ppc): Likewise.
174
175 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
176 of ISA RN bits, and update macro names.
177 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
178 effectively the same as the previously mentioned function.
179
180 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
181 usage with fe_resetround_ppc.
182
183 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
184 to be used.
185 (libc_feholdexcept_setround_ctxf): Likewise.
186 (libc_feholdexcept_setround_ctxl): Likewise.
187
188 2016-10-21 Florian Weimer <fweimer@redhat.com>
189
190 [BZ #20715]
191 * math/math.h [__cplusplus] (iszero): Define as function template.
192 * math/Makefile [CXX] (tests): Add test-math-iszero.
193 (CFLAGS-test-math-iszero.cc): Set.
194 * math/test-math-iszero.cc: New file.
195
196 2016-10-20 Joseph Myers <joseph@codesourcery.com>
197
198 [BZ #20660]
199 * sysdeps/arm/e_sqrt.c: New file.
200 * sysdeps/arm/e_sqrtf.c: Likewise.
201
202 2016-10-19 Joseph Myers <joseph@codesourcery.com>
203
204 [BZ #20718]
205 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
206 not use floating-point comparisons to test sign.
207 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
208 Likewise.
209
210 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
211 (getpayload): New declaration.
212 * math/Versions (getpayload): New libm symbol at version
213 GLIBC_2.25.
214 (getpayloadf): Likewise.
215 (getpayloadl): Likewise.
216 * math/Makefile (libm-calls): Add s_getpayloadF.
217 * math/libm-test.inc: Include <nan-high-order-bit.h>.
218 (struct test_f_f_data): Add comment.
219 (RUN_TEST_fp_f): New macro.
220 (RUN_TEST_LOOP_fp_f): Likewise.
221 (getpayload_test_data): New array.
222 (getpayload_test): New function.
223 (main): Call getpayload_test.
224 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
225 descriptor.
226 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
227 getpayloadf and getpayloadl.
228 * manual/libm-err-tab.pl: Update comment on interfaces without
229 ulps tabulated.
230 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
231 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
232 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
233 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
234 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
235 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
236 * sysdeps/nacl/libm.abilist: Update.
237 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
238 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
239 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
240 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
241 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
242 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
243 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
244 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
245 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
246 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
247 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
248 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
250 Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
252 Likewise.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
254 Likewise.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
256 Likewise.
257 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
258 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
259 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
260 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
261 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
263 Likewise.
264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
265 Likewise.
266 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
267 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
268 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
269
270 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
271
272 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
273 tst-fallocate{64}.
274 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
275 on syscall return.
276
277 2016-10-17 Carlos O'Donell <carlos@redhat.com>
278
279 [BZ #20689]
280 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
281 usable.
282
283 2016-10-17 Joseph Myers <joseph@codesourcery.com>
284
285 * sysdeps/generic/nan-high-order-bit.h: New file.
286 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
287 * sysdeps/mips/nan-high-order-bit.h: Likewise.
288 * sysdeps/hppa/math_private.h: Remove file.
289 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
290 not define here.
291 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
292 <nan-high-order-bit.h>.
293 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
294 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
295 <nan-high-order-bit.h>.
296 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
297 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
298 <nan-high-order-bit.h>.
299 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
300 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
301 <nan-high-order-bit.h>.
302 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
303 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
304 <nan-high-order-bit.h>.
305 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
306 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
307 <nan-high-order-bit.h>.
308 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
309 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
310 <nan-high-order-bit.h>.
311 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
312 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
313 <nan-high-order-bit.h>.
314 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
315 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
316 <nan-high-order-bit.h>.
317 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
318 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
319 <nan-high-order-bit.h>.
320 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
321 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
322 <nan-high-order-bit.h>.
323 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
324 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
325 <nan-high-order-bit.h>.
326 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
327 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
328 <nan-high-order-bit.h>.
329 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
330 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
331 <nan-high-order-bit.h>.
332 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
333 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
334 <nan-high-order-bit.h>.
335 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
336 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
337 <nan-high-order-bit.h>.
338 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
339 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
340 <nan-high-order-bit.h>.
341 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
342 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
343 <nan-high-order-bit.h>.
344 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
345
346 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
347
348 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
349
350 2016-09-22 John David Anglin <dave.anglin@bell.net>
351
352 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
353 abort-instr.h.
354 (EFAULT): Remove conditional define.
355 (ENOSYS): Likewise.
356 (atomic_compare_and_exchange_val_acq): Use instruction nullification
357 instead of conditional branch instructions.
358
359 2016-10-15 Joseph Myers <joseph@codesourcery.com>
360
361 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
362 (totalordermag): New declaration.
363 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
364 New macro.
365 * math/Versions (totalordermag): New libm symbol at version
366 GLIBC_2.25.
367 (totalordermagf): Likewise.
368 (totalordermagl): Likewise.
369 * math/Makefile (libm-calls): Add s_totalordermagF.
370 * math/libm-test.inc (totalordermag_test_data): New array.
371 (totalordermag_test): New function.
372 (main): Call totalordermag_test.
373 * math/test-tgmath.c (NCALLS): Increase to 125.
374 (F(compile_test)): Call totalordermag.
375 (F(totalordermag)): New function.
376 * manual/arith.texi (FP Comparison Functions): Document
377 totalordermag, totalordermagf and totalordermagl.
378 * manual/libm-err-tab.pl: Update comment on interfaces without
379 ulps tabulated.
380 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
381 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
382 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
383 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
384 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
385 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
386 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
387 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
388 totalordermag.
389 (CFLAGS-nldbl-totalordermag.c): New variable.
390 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
391 (do_test): Also test totalordermagl.
392 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
393 Likewise.
394 * sysdeps/nacl/libm.abilist: Update.
395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
396 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
397 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
398 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
399 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
400 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
401 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
402 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
403 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
404 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
405 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
406 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
408 Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
410 Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
412 Likewise.
413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
414 Likewise.
415 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
417 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
421 Likewise.
422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
423 Likewise.
424 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
425 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
426 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
427
428 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
429
430 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
431 boolean.
432
433 2016-10-13 Joseph Myers <joseph@codesourcery.com>
434
435 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
436 raising FE_INVALID with feraisexcept in case where part of
437 argument is infinite, subtract that part of argument from itself.
438 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
439 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
440 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
441
442 2016-10-12 Joseph Myers <joseph@codesourcery.com>
443
444 * math/libm-test.inc (totalorder_test_data): Add more tests.
445
446 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
447
448 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
449 Undefine weak_alias and add a comment why mips64 require
450 versioning.
451
452 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
453
454 [BZ #20647]
455 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
456 maximum CPUID level is less than 2.
457
458 2016-10-12 Joseph Myers <joseph@codesourcery.com>
459
460 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
461 (totalorder): New declaration.
462 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
463 New macro.
464 * math/Versions (totalorder): New libm symbol at version
465 GLIBC_2.25.
466 (totalorderf): Likewise.
467 (totalorderl): Likewise.
468 * math/Makefile (libm-calls): Add s_totalorderF.
469 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
470 string.
471 * math/libm-test.inc (PAYLOAD_DIG): New macro.
472 (qnan_value_pl): Likewise.
473 (snan_value_pl): Likewise.
474 (qnan_value): Define using qnan_value_pl.
475 (snan_value): Define using snan_value_pl.
476 (struct test_ff_i_data): Add comment about which tests use this
477 structure.
478 (RUN_TEST_ff_b): New macro.
479 (RUN_TEST_LOOP_ff_b): Likewise.
480 (totalorder_test_data): New array.
481 (totalorder_test): New function.
482 (main): Call totalorder_test.
483 * math/test-tgmath.c (NCALLS): Increase to 122.
484 (F(compile_test)): Call totalorder.
485 (F(totalorder)): New function.
486 * manual/arith.texi (FP Comparison Functions): Document
487 totalorder, totalorderf and totalorderl.
488 * manual/libm-err-tab.pl: Update comment on interfaces without
489 ulps tabulated.
490 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
491 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
492 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
493 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
494 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
495 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
496 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
497 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
498 totalorder.
499 (CFLAGS-nldbl-totalorder.c): New variable.
500 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
501 file.
502 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
503 Add test-totalorderl-ldbl-128ibm.
504 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
505 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
506 test-totalorderl-ldbl-96.
507 * sysdeps/nacl/libm.abilist: Update.
508 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
510 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
511 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
515 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
519 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
521 Likewise.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
523 Likewise.
524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
525 Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
527 Likewise.
528 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
530 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
532 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
534 Likewise.
535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
536 Likewise.
537 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
538 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
539 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
540
541 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
542
543 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
544 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
545 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
546 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
547 remove ENOSYS implementation.
548 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
549 Consolidate all Linux implementations.
550
551 2016-10-11 Florian Weimer <fweimer@redhat.com>
552
553 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
554 * resolv/herror.c (herror): Cast away const-ness.
555 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
556 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
557
558 2016-10-11 Joseph Myers <joseph@codesourcery.com>
559
560 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
561 instead of M_NAN + M_NAN.
562 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
563
564 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
565
566 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
567 unused variable 'p'.
568
569 2016-10-09 Alan Modra <amodra@gmail.com>
570 Andreas Schwab <schwab@linux-m68k.org>
571
572 [BZ #20554]
573 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
574 [PIC && !SHARED]: Set up PIC register for PLT call.
575
576 2016-10-07 Joseph Myers <joseph@codesourcery.com>
577
578 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
579 conditional on value of [__FLT_EVAL_METHOD__].
580 * math/test-iseqsig-excess-precision.c: New file.
581 * math/Makefile (tests): Add test-iseqsig-excess-precision.
582
583 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
584
585 * math/s_iseqsig_template.c: Include math-private.h.
586
587 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
588 * posix/tst-posix_fadvise.c: New file.
589 * posix/tst-posix_fadvise64.c: Likewise.
590 * posix/tst-posix_fadvise-common.c: Likewise.
591 * sysdeps/unix/sysv/linux/arm/kernel-features.h
592 (__ASSUME_FADVISE64_64_6ARG): Define.
593 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
594 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
596 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
597 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
598 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
599 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
600 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
601 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
602 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
603 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
604 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
607 Likewise.
608 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
610 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
611 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
612 Alias to __posix_fadvise64_l32.
613 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
614 Add compat definition to posix_fadvise64.
615 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
616 Add versioned definition to posix_fadvise64.
617 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
618 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
619 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
620 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
621 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
622
623 * io/Makefile (tests): Add tst-posix_fallocate and
624 tst-posix_fallocate64.
625 * io/tst-posix_fallocate-common.c: New file.
626 * io/tst-posix_fallocate.c: Likewise.
627 * io/tst-posix_fallocate64.c: Likewise.
628 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
629 file.
630 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
631 Likewise.
632 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
633 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
634 Likewise.
635 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
636 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
637 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
638 SYSCALL_LL to pass both offset and len arguments.
639 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
640 Likewise.
641 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
642 __libc_pwrite64 alias used by posix_fallocate64.
643
644 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
645 tst-fallocate64.
646 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
647 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
648 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
649 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
650 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
651 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
652 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
653 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
654 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
655 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
656 macro on offset argument.
657 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
658 SYSCALL_LL64 on offset argument.
659
660 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
661 tst-fallocate64.
662 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
663 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
664 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
665 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
666 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
667 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
668 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
669 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
670 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
671 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
672 macro on offset argument.
673 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
674 SYSCALL_LL64 on offset argument.
675 * test-skeleton.c (FAIL_RET): Add macro.
676 (FAIL_EXIT): Likewise.
677 (FAIL_EXIT1): Likewise.
678 (_FAIL): Likewise.
679
680 2016-10-07 Florian Weimer <fweimer@redhat.com>
681
682 [BZ #20629]
683 resolv: Remove RES_USEBSTRING and its implementation.
684 * resolv/resolv.h (RES_USEBSTRING): Remove.
685 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
686 (digitvalue, encode_bitstring, decode_bitstring): Remove.
687 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
688 (labellen): Remove extended label types support.
689 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
690 * resolv/res_init.c (res_setoptions): Likewise.
691 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
692
693 2016-10-07 Florian Weimer <fweimer@redhat.com>
694
695 resolv: Remove RES_NOIP6DOTINT and its implementation.
696 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
697 (RES_NOIP6DOTINT): Remove.
698 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
699 handling.
700 * resolv/res_debug.c (p_option): Likewise.
701 * resolv/res_init.c (res_setoptions): Likewise.
702 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
703
704 2016-10-07 Florian Weimer <fweimer@redhat.com>
705
706 resolv: Deprecate unimplemented flags.
707 * misc/sys/cdefs.h (__glibc_macro_warning1)
708 (__glibc_macro_warning): Define.
709 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
710 (RES_KEEPTSIG): Mark as deprecated.
711 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
712 RES_NOCHECKNAME, RES_KEEPTSIG.
713 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
714
715 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
716
717 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
718 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
719 Use strong_alias to create symbols for glibc verison 2.19.
720
721 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
722
723 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
724
725 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
726
727 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
728
729 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
730
731 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
732
733 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
734
735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
736 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
737 in header for using it as type for ifunc function because __GI_* symbols
738 for ppc32 do not target the ifunc symbols.
739 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
740
741 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
742
743 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
744 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
745 libc_ifunc_hidden_def.
746 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
747 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
748 Redirect ifunced function in header for using it as type of ifunc'ed
749 function. Redefine libc_hidden_def to use fallback non ifunc'ed
750 function for __GI_* symbol.
751 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
752 * include/libc-symbols.h
753 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
754
755 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
756
757 [BZ #20478]
758 * sysdeps/s390/multiarch/ifunc-resolve.h
759 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
760 to create ifunc symbols.
761 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
762 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
763 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
764 for using it as type for ifunc function.
765 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
766 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
767 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
768 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
769 * sysdeps/s390/multiarch/strcat.c: Likewise.
770 * sysdeps/s390/multiarch/strchr.c: Likewise.
771 * sysdeps/s390/multiarch/strcmp.c: Likewise.
772 * sysdeps/s390/multiarch/strcpy.c: Likewise.
773 * sysdeps/s390/multiarch/strcspn.c: Likewise.
774 * sysdeps/s390/multiarch/strlen.c: Likewise.
775 * sysdeps/s390/multiarch/strncmp.c: Likewise.
776 * sysdeps/s390/multiarch/strncpy.c: Likewise.
777 * sysdeps/s390/multiarch/strnlen.c: Likewise.
778 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
779 * sysdeps/s390/multiarch/strrchr.c: Likewise.
780 * sysdeps/s390/multiarch/strspn.c: Likewise.
781 * sysdeps/s390/multiarch/wcschr.c: Likewise.
782 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
783 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
784 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
785 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
786 * sysdeps/s390/multiarch/wmemset.c: Likewise.
787 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
788 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
789 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
790 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
791 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
792 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
793
794 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
795
796 * include/libc-symbols.h (__ifunc_resolver):
797 New macro is used by __ifunc* macros.
798 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
799 depending on HAVE_GCC_IFUNC.
800 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
801 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
803 Redirect ifunced function in header for using as type for ifunc function.
804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
808 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
809 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
810 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
811 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
812 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
813 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
814 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
815 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
817 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
823 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
824 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
825 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
826 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
827 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
828 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
829 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
830 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
831 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
832 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
833 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
834 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
835 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
836 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
838 Add libc_hidden_def() and use libc_ifunc_hidden() macro
839 instead of libc_ifunc() macro.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
841 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
842
843 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
844
845 * config.h.in (HAVE_GCC_IFUNC): New undef.
846 * configure.ac: Add check if gcc supports attribute ifunc feature.
847 * configure: Regenerated.
848 * manual/install.texi: Add recommendation for gcc with
849 indirect-function support.
850 * INSTALL: Regenerated.
851
852 2016-10-06 Joseph Myers <joseph@codesourcery.com>
853
854 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
855 macro.
856 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
857 (__iseqsig): New declaration.
858 * math/s_iseqsig_template.c: New file.
859 * math/Versions (__iseqsigf): New libm symbol at version
860 GLIBC_2.25.
861 (__iseqsig): Likewise.
862 (__iseqsigl): Likewise.
863 * math/libm-test.inc (iseqsig_test_data): New array.
864 (iseqsig_test): New function.
865 (main): Call iseqsig_test.
866 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
867 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
868 * manual/libm-err-tab.pl: Update comment on interfaces without
869 ulps tabulated.
870 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
871 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
872 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
873 * sysdeps/nacl/libm.abilist: Update.
874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
876 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
877 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
878 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
879 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
880 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
881 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
882 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
883 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
884 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
885 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
887 Likewise.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
889 Likewise.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
891 Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
893 Likewise.
894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
897 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
900 Likewise.
901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
902 Likewise.
903 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
905 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
906
907 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
908
909 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
910 do_sincos_2, sloww, sloww1): Update comments.
911
912 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
913 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
914
915 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
916 K boolean and rename it.
917 (__sin): Adjust.
918 (__cos): Adjust.
919
920 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
921 Siddhesh Poyarekar <siddhesh@sourceware.org>
922
923 * manual/nss.texi: Fix typos in the manual.
924
925 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
926
927 * manual/contrib.texi: Fix typos in the manual.
928
929 * manual/maint.texi: Fix typos in the manual.
930
931 * manual/install.texi: Fix typos in the manual.
932 * INSTALL: Regenerated.
933
934 * manual/lang.texi: Fix typos in the manual.
935
936 * manual/probes.texi: Fix typos in the manual.
937
938 * manual/threads.texi: Fix typos in the manual.
939
940 * manual/debug.texi: Fix typos in the manual.
941
942 * manual/crypt.texi: Fix typos in the manual.
943
944 * manual/conf.texi: Fix typos in the manual.
945
946 * manual/sysinfo.texi: Fix typos in the manual.
947
948 * manual/users.texi: Fix typos in the manual.
949
950 * manual/job.texi: Fix typos in the manual.
951
952 * manual/process.texi: Fix typos in the manual.
953
954 * manual/argp.texi: Fix typos in the manual.
955 * manual/getopt.texi: Likewise.
956 * manual/startup.texi: Likewise.
957
958 * manual/signal.texi: Fix typos in the manual.
959
960 * manual/setjmp.texi: Fix typos in the manual.
961
962 * manual/resource.texi: Fix typos in the manual.
963
964 * manual/time.texi: Fix typos in the manual.
965
966 * manual/arith.texi: Fix typos in the manual.
967
968 * manual/math.texi: Fix typos in the manual.
969
970 * manual/syslog.texi: Fix typos in the manual.
971
972 * manual/terminal.texi: Fix typos in the manual.
973
974 * manual/socket.texi: Fix typos in the manual.
975
976 * manual/filesys.texi: Fix typos in the manual.
977
978 * manual/llio.texi: Fix typos in the manual.
979
980 * manual/stdio.text: Fix typos in the manual.
981
982 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
983
984 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
985 instead of K1.
986
987 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
988 SHIFT_QUADRANT and make it bool.
989 (do_sincos_2): Likewise.
990 (sloww): Likewise.
991 (sloww1): Likewise.
992 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
993 (__cos): Likewise.
994
995 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
996
997 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
998
999 2016-10-04 Joseph Myers <joseph@codesourcery.com>
1000
1001 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1002 Define to __WORDSIZE, not conditional on [LONG_MAX ==
1003 0x7fffffffL].
1004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1005
1006 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1007
1008 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1009 inline by __inline__.
1010 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1011 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1012 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1014 sigset_t from signal.h.
1015 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1016 which is already required.
1017
1018 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
1019
1020 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1021
1022 2016-10-03 Joseph Myers <joseph@codesourcery.com>
1023
1024 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1025 (struct tcp_repair_window): New type.
1026
1027 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1028
1029 * libio/tst-memstream3.c: Include string.h.
1030
1031 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1032
1033 [BZ #18241]
1034 [BZ #20181]
1035 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1036 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1037 write position is at the end the buffer.
1038 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1039 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1040 (_IO_str_seekoff): Set correct offset from negative displacement and
1041 set EINVAL for invalid ones.
1042 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1043 buffer length.
1044 (_IO_wstr_switch_to_get_mode): New function.
1045 (_IO_wstr_seekoff): Set correct offset from negative displacement and
1046 set EINVAL for invalid ones.
1047 * libio/tst-memstream3.c: New file.
1048 * libio/tst-wmemstream3.c: Likewise.
1049 * manual/examples/memstrm.c: Remove warning when priting size_t.
1050
1051 2016-09-30 Joseph Myers <joseph@codesourcery.com>
1052
1053 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1054 macro to use __builtin_fma.
1055 * sysdeps/x86_64/fpu/dla.h: Remove file.
1056
1057 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1058 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1059 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1060
1061 2016-09-30 Carlos O'Donell <carlos@redhat.com>
1062
1063 [BZ #20292]
1064 * elf/Makefile (routines): Add dl-addr-obj.
1065 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1066 tst-_dl_addr_inside_object.
1067 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1068 [ifeq (yesyes,$(have-fpie)$(build-shared))]
1069 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1070 [ifeq (yesyes,$(have-fpie)$(build-shared))]
1071 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1072 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1073 * elf/dl-open.c: Likewise.
1074 * elf/dl-addr-obj.c: New file.
1075 * elf/tst-_dl_addr_inside_object.c: New file.
1076
1077 2016-09-30 Joseph Myers <joseph@codesourcery.com>
1078
1079 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1080 <bits/iscanonical.h>.
1081 * bits/iscanonical.h: New file.
1082 * math/s_iscanonicall.c: Likewise.
1083 * math/Versions (__iscanonicall): New libm symbol at version
1084 GLIBC_2.25.
1085 * math/libm-test.inc (iscanonical_test_data): New array.
1086 (iscanonical_test): New function.
1087 (main): Call iscanonical_test.
1088 * math/Makefile (headers): Add bits/iscanonical.h.
1089 (type-ldouble-routines): Add s_iscanonicall.
1090 * manual/arith.texi (Floating Point Classes): Document
1091 iscanonical.
1092 * manual/libm-err-tab.pl: Update comment on interfaces without
1093 ulps tabulated.
1094 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1095 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1096 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1097 Likewise.
1098 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1099 test-iscanonical-ldbl-128ibm.
1100 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1101 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1102 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1103 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1104 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1105 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1106 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1108 Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1110 Likewise.
1111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1112 Likewise.
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1114 Likewise.
1115 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1116 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1117
1118 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1119
1120 * string/bits/string3.h: Remove C++ style comments.
1121
1122 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
1123
1124 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1125 instead of ternary condition.
1126 (do_sincos_2): Likewise.
1127 (__sin): Likewise.
1128 (__cos): Likewise.
1129 (slow): Likewise.
1130 (sloww): Likewise.
1131 (sloww1): Likewise.
1132 (bsloww): Likewise.
1133 (bsloww1): Likewise.
1134
1135 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1136 instead of ternary condition.
1137 (do_sin_slow): Likewise.
1138 (do_sincos_1): Likewise.
1139 (do_sincos_2): Likewise.
1140 (__cos): Likewise.
1141 (sloww): Likewise.
1142 (sloww1): Likewise.
1143 (sloww2): Likewise.
1144 (bsloww): Likewise.
1145 (bsloww1): Likewise.
1146 (bsloww2): Likewise.
1147
1148 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1149 check from here...
1150 (slow2): ... and here...
1151 (__sin): ... to here.
1152
1153 2016-09-28 Joseph Myers <joseph@codesourcery.com>
1154
1155 * math/math.h
1156 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1157 Cast argument to its own type.
1158 * math/test-iszero-excess-precision.c: New file.
1159 * math/Makefile (tests): Add test-iszero-excess-precision.
1160 (CFLAGS-test-iszero-excess-precision.c): New variable.
1161
1162 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1163
1164 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1165 field, add err field.
1166 (__spawni_child): Report error through err member instead of pipe.
1167 (__spawnix): Likewise.
1168
1169 2016-09-28 Zack Weinberg <zackw@panix.com>
1170
1171 * scripts/check-installed-headers.sh: Generalize treatment of
1172 sys/elf.h to all target architectures.
1173
1174 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1175 deleted typedef ucontext_t.
1176
1177 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1178
1179 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1180 (__INTERNAL_SYSCALL1): Likewise.
1181 (__INTERNAL_SYSCALL2): Likewise.
1182 (__INTERNAL_SYSCALL3): Likewise.
1183 (__INTERNAL_SYSCALL4): Likewise.
1184 (__INTERNAL_SYSCALL5): Likewise.
1185 (__INTERNAL_SYSCALL6): Likewise.
1186 (__INTERNAL_SYSCALL7): Likewise.
1187 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1188 (__INTERNAL_SYSCALL_NARGS): Likewise.
1189 (__INTERNAL_SYSCALL_DISP): Likewise.
1190 (INTERNAL_SYSCALL_CALL): Likewise.
1191 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1192 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1193 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1194 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1195 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1196 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1197 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1198 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1199 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1200 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1201 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1202 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1203 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1204
1205 2016-09-23 Joseph Myers <joseph@codesourcery.com>
1206
1207 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1208 macro.
1209 * math/libm-test.inc (iszero_test_data): New array.
1210 (iszero_test): New function.
1211 (main): Call iszero_test.
1212 * manual/arith.texi (Floating Point Classes): Document iszero.
1213 * manual/libm-err-tab.pl: Update comment on interfaces without
1214 ulps tabulated.
1215
1216 2016-09-23 Zack Weinberg <zackw@panix.com>
1217
1218 * scripts/check-installed-headers.sh: New script.
1219 * Rules: In each directory that defines header files to be installed,
1220 run check-installed-headers.sh on them as a special test.
1221 * Makefile: Likewise for the headers installed at top level.
1222
1223 * include/aliases.h, include/alloca.h, include/argz.h
1224 * include/arpa/nameser.h, include/arpa/nameser_compat.h
1225 * include/elf.h, include/envz.h, include/err.h
1226 * include/execinfo.h, include/fpu_control.h, include/getopt.h
1227 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1228 * include/link.h, include/malloc.h, include/mcheck.h
1229 * include/mntent.h, include/netinet/ether.h
1230 * include/nss.h, include/obstack.h, include/printf.h
1231 * include/pty.h, include/resolv.h, include/rpc/auth.h
1232 * include/rpc/auth_des.h, include/rpc/auth_unix.h
1233 * include/rpc/clnt.h, include/rpc/des_crypt.h
1234 * include/rpc/key_prot.h, include/rpc/netdb.h
1235 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1236 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1237 * include/rpc/rpc_msg.h, include/rpc/svc.h
1238 * include/rpc/svc_auth.h, include/rpc/xdr.h
1239 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1240 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1241 * include/rpcsvc/ypupd.h, include/shadow.h
1242 * include/stdio_ext.h, include/sys/epoll.h
1243 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1244 * include/sys/prctl.h, include/sys/profil.h
1245 * include/sys/statfs.h, include/sys/sysctl.h
1246 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1247 * sysdeps/arm/nacl/include/bits/setjmp.h
1248 * sysdeps/mips/include/sys/asm.h
1249 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1250 * sysdeps/unix/sysv/linux/include/sys/timex.h
1251 * sysdeps/x86/fpu/include/bits/fenv.h:
1252 Add #ifndef _ISOMAC guard around internal declarations.
1253 Add multiple-inclusion guard if not already present.
1254
1255 2016-09-23 Zack Weinberg <zackw@panix.com>
1256
1257 * sysdeps/generic/sys/ucontext.h
1258 * sysdeps/arm/sys/ucontext.h
1259 * sysdeps/i386/sys/ucontext.h
1260 * sysdeps/m68k/sys/ucontext.h
1261 * sysdeps/mips/sys/ucontext.h
1262 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1263 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1264 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1265 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1266 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1267 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1268 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1269 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1270 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1271 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1272 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1274 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1275 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1276 Include both bits/sigcontext.h and bits/sigstack.h.
1277 Fix grammar error in comment, if present.
1278
1279 * bits/sigstack.h
1280 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1281 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1282 * sysdeps/unix/sysv/linux/bits/sigstack.h
1283 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1284 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1285 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1286 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1287 * bits/sigcontext.h
1288 * sysdeps/mach/hurd/i386/bits/sigcontext.h
1289 * sysdeps/unix/sysv/linux/bits/sigcontext.h
1290 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1291 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1292 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
1293 as well as signal.h, if this was not already allowed. Request
1294 definition of size_t if necessary. Minimize semantically-null
1295 differences across files.
1296
1297 2016-09-23 Zack Weinberg <zackw@panix.com>
1298
1299 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1300 Remove all logic conditional on __need macros. Move all the
1301 conditionally defined types to their own headers...
1302 * time/bits/types/clock_t.h: Define clock_t here.
1303 * time/bits/types/clockid_t.h: Define clockid_t here.
1304 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1305 * time/bits/types/struct_timespec.h: Define struct timespec here.
1306 * time/bits/types/struct_timeval.h: Define struct timeval here.
1307 * time/bits/types/struct_tm.h: Define struct tm here.
1308 * time/bits/types/time_t.h: Define time_t here.
1309 * time/bits/types/timer_t.h: Define timer_t here.
1310 * time/Makefile: Install the new headers.
1311
1312 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1313 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1314 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1315 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1316 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1317 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1318 * sysdeps/unix/sysv/linux/bits/resource.h
1319 * sysdeps/unix/sysv/linux/bits/timex.h
1320 * sysdeps/unix/sysv/linux/mips/bits/resource.h
1321 * sysdeps/unix/sysv/linux/net/ppp_defs.h
1322 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1323 * sysdeps/unix/sysv/linux/sys/acct.h
1324 * sysdeps/unix/sysv/linux/sys/timerfd.h
1325 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1326 * time/sys/time.h, time/sys/timeb.h
1327 Use the new bits/types headers.
1328
1329 * include/time.h: Remove __need logic.
1330 * include/bits/time.h
1331 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1332 * include/bits/types/time_t.h, include/bits/types/timer_t.h
1333 * include/bits/types/struct_itimerspec.h
1334 * include/bits/types/struct_timespec.h
1335 * include/bits/types/struct_timeval.h
1336 * include/bits/types/struct_tm.h:
1337 New wrapper headers.
1338
1339 2016-09-23 Zack Weinberg <zackw@panix.com>
1340
1341 * sysdeps/mach/hurd/net/if_ppp.h
1342 * sysdeps/unix/sysv/linux/net/if_ppp.h:
1343 Only define struct ifpppstatsreq and struct ifpppcstatsreq
1344 if __USE_MISC is defined, to ensure struct ifreq is declared.
1345
1346 * inet/netinet/ether.h: Condition all function prototypes
1347 on __USE_MISC, to ensure struct ether_addr is declared.
1348
1349 * socket/bits/types/struct_osockaddr.h: New header.
1350 * include/bits/types/struct_osockaddr.h: New wrapper.
1351 * socket/Makefile: Install the new header.
1352 * socket/sys/socket.h, inet/protocols/talkd.h:
1353 Refer to bits/types/struct_osockaddr.h for the definition of
1354 struct osockaddr.
1355
1356 2016-09-23 Zack Weinberg <zackw@panix.com>
1357
1358 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1359 * inet/protocols/routed.h, inet/protocols/talkd.h
1360 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1361 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1362 * sysdeps/generic/netinet/if_ether.h
1363 * sysdeps/generic/netinet/in_systm.h
1364 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1365 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1366 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1367 * sysdeps/mach/hurd/net/if_arp.h
1368 * sysdeps/mach/hurd/net/if_ppp.h
1369 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1370 * sysdeps/unix/sysv/linux/bits/in.h
1371 * sysdeps/unix/sysv/linux/net/ethernet.h
1372 * sysdeps/unix/sysv/linux/net/if_arp.h
1373 * sysdeps/unix/sysv/linux/net/if_ppp.h
1374 * sysdeps/unix/sysv/linux/net/if_shaper.h
1375 * sysdeps/unix/sysv/linux/net/route.h
1376 * sysdeps/unix/sysv/linux/netinet/if_ether.h
1377 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1378 * sysdeps/unix/sysv/linux/netinet/if_tr.h
1379 * sysdeps/unix/sysv/linux/netipx/ipx.h
1380 * sysdeps/unix/sysv/linux/sys/acct.h
1381 * include/arpa/nameser.h, include/resolv.h:
1382 Change all uses of u_char to unsigned char,
1383 u_short and ushort to unsigned short, u_int and uint to unsigned int,
1384 u_long and ulong to unsigned long, u_int8_t to uint8_t,
1385 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1386 and u_int64_t and u_quad_t to uint64_t.
1387
1388 * mach/sys/reboot.h: Remove two casts of integer literals
1389 to the types they already have.
1390
1391 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1392 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1393 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1394 from referring to 'unsigned char' to 'uint8_t' for consistency with
1395 the macro definition below.
1396
1397 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1398 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1399 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1400 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1401 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1402 * sysdeps/unix/sysv/linux/sys/acct.h
1403 * include/arpa/nameser.h, include/resolv.h:
1404 Fix indentation disrupted by mechanical edits.
1405
1406 * inet/protocols/talkd.h, resolv/arpa/nameser.h
1407 * sysdeps/generic/netinet/in_systm.h
1408 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1409 * sysdeps/gnu/netinet/udp.h
1410 * sysdeps/unix/sysv/linux/net/ethernet.h
1411 * sysdeps/unix/sysv/linux/net/if_arp.h
1412 * sysdeps/unix/sysv/linux/net/if_ppp.h
1413 * sysdeps/unix/sysv/linux/net/if_shaper.h
1414 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1415 * sysdeps/unix/sysv/linux/netinet/if_tr.h
1416 * sysdeps/unix/sysv/linux/netipx/ipx.h
1417 * sysdeps/unix/sysv/linux/sys/acct.h
1418 Include stdint.h for uintNN_t definitions.
1419 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1420
1421 2016-09-23 Zack Weinberg <zackw@panix.com>
1422
1423 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1424 * sysdeps/unix/sysv/linux/netrose/rose.h:
1425 Include sys/socket.h and netax25/ax25.h.
1426
1427 * inet/netinet/icmp6.h, inet/netinet/ip6.h
1428 * resolv/arpa/nameser_compat.h:
1429 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1430
1431 * sysdeps/unix/sysv/linux/sys/quota.h:
1432 Use __caddr_t instead of caddr_t.
1433 * sysdeps/unix/sysv/linux/sys/timerfd.h:
1434 Use __clockid_t instead of clockid_t.
1435
1436 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1437
1438 * argp/argp.h: Check whether _LIBC is defined before expanding it.
1439 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1440 expanding it.
1441
1442 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1443 Define __glibc_c99_flexarr_available to 1 when the compiler
1444 supports C99-compatible flexible array members, 0 otherwise.
1445 * sysdeps/unix/sysv/linux/bits/socket.h
1446 * sysdeps/mach/hurd/bits/socket.h
1447 * bits/socket.h: Use __glibc_c99_flexarr_available in
1448 definitions of struct cmsghdr and CMSG_DATA.
1449
1450 2016-09-23 Florian Weimer <fweimer@redhat.com>
1451
1452 * manual/nss.texi (NSS Modules Interface): Adjust function return
1453 type to enum nss_status. Document errnop argument. Clarify
1454 h_errnop semantics. Fix cross-reference formatting.
1455 (NSS Module Function Internals): Mention that *errnop needs to be
1456 set on failure, but not to zero.
1457
1458 2016-09-23 Florian Weimer <fweimer@redhat.com>
1459
1460 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1461 (get_random_name): New functions.
1462 (check_wrapper_flags_mode): Use linkat to give the new file a name
1463 determined by get_random_name.
1464 (do_test): Add calls to test open64 and openat64.
1465
1466 2016-09-23 Florian Weimer <fweimer@redhat.com>
1467
1468 * test-skeleton.c: Remove #include <stdarg.h>.
1469
1470 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
1471
1472 [BZ #19826]
1473 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1474 initialization of static TLS entries.
1475 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1476 * nptl/allocatestack.c (init_one_static_tls): Likewise.
1477
1478 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1479
1480 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1481 _hurd_malloc_fork_prepare.
1482 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1483 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1484 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1485 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1486 (_hurd_fork_child_hook): Drop malloc_fork_child.
1487 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1488 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1489 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1490 after locking locks (notably hurd_dtable_lock). Call
1491 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1492 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1493 __malloc_fork_unlock_child.
1494 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1495
1496 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
1497
1498 * soft-fp/extendhftf2.c: New.
1499 * soft-fp/fixhfti.c: Likewise.
1500 * soft-fp/fixunshfti.c: Likewise.
1501 * soft-fp/floattihf.c: Likewise.
1502 * soft-fp/floatuntihf.c: Likewise.
1503 * soft-fp/half.h: Likewise.
1504 * soft-fp/trunctfhf2.c: Likewise.
1505
1506 2016-09-21 Joseph Myers <joseph@codesourcery.com>
1507
1508 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1509 macro.
1510 * math/libm-test.inc (issubnormal_test_data): New array.
1511 (issubnormal_test): New function.
1512 * manual/arith.texi (Floating Point Classes): Document
1513 issubnormal.
1514 * manual/libm-err-tab.pl: Update comment on interfaces without
1515 ulps tabulated.
1516
1517 * sysdeps/generic/stdint.h: Define
1518 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1519 <bits/libc-header-start.h> instead of including <features.h>.
1520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1527 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1532 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1534 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1535 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1536 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1537 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1538 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1539 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1540 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1541 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1542 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1543 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1544 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1545 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1546 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1547 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1548 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1549 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1550 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1551 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1552 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1553 * manual/arith.texi (Integers): Document these macros for types
1554 specified by width properties.
1555 * manual/lang.texi (Width of Type): Document these macros for
1556 other standard typedefs.
1557 * stdlib/tst-width-stdint.c: New file.
1558 * stdlib/Makefile (tests): Add tst-width-stdint.
1559
1560 2016-09-21 Florian Weimer <fweimer@redhat.com>
1561
1562 [BZ #20016]
1563 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1564 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1565 Move ...
1566 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1567 ... here, as compatibility symbols in a new file.
1568 * resolv/Makefile (libresolv-routines): Add compat-hooks.
1569 * resolv/res_init.c (__res_vinit): Adjust member names.
1570 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1571 * resolv/resolv.h (res_sendhookact, res_send_qhook)
1572 (res_send_rhook): Remove.
1573 (struct __res_state): Rename qhook, rhook members.
1574
1575 2016-09-21 Florian Weimer <fweimer@redhat.com>
1576
1577 malloc: Use __libc_lock wrappers.
1578 * malloc/arena.c (list_lock, free_list_lock): Define using
1579 __libc_lock_define_initialized.
1580 (arena_lock): Adjust formatting.
1581 * malloc/malloc.c (struct malloc_state): Define mutex using
1582 __libc_lock_define.
1583 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1584 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1585 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1586 (mutex_unlock, mutex_trylock): Remove.
1587 (__pthread_initialize): Remove unused macro.
1588 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1589 (mutex_unlock, mutex_trylock): Remove.
1590
1591 2016-09-21 Florian Weimer <fweimer@redhat.com>
1592
1593 [BZ #20592]
1594 Remove RR type classification macros.
1595 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1596 (ns_t_udp_p, ns_t_xfr_p): Remove.
1597
1598 2016-09-21 Florian Weimer <fweimer@redhat.com>
1599
1600 Remove misleading version information.
1601 * resolv/arpa/nameser.h (__NAMESER): Remove.
1602 * resolv/arpa/nameser_compat.h (__BIND): Remove.
1603
1604 2016-09-21 Florian Weimer <fweimer@redhat.com>
1605
1606 Remove the always-defined BIND_4_COMPAT macro.
1607 * resolv/arpa/nameser.h: Unconditionally include
1608 <arpa/nameser_compat.h>.
1609 (BIND_4_COMPAT): Remove.
1610 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1611
1612 2016-09-21 Florian Weimer <fweimer@redhat.com>
1613
1614 [BZ #20591]
1615 Remove obsolete DNSSEC support.
1616 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1617 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1618 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1619 (ns_verify_tcp, ns_verify_tcp_init): Remove.
1620 (ns_cert_types): Add comment.
1621 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1622 separately.
1623 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1624 (dst_s_dns_key_id): Remove.
1625 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1626 variables.
1627
1628 2016-09-21 Florian Weimer <fweimer@redhat.com>
1629
1630 [BZ #20524]
1631 * manual/string.texi (String/Array Comparison): Clarify the
1632 strverscmp behavior.
1633
1634 2016-09-21 Florian Weimer <fweimer@redhat.com>
1635
1636 * test-skeleton.c (xasprintf): Add function.
1637 * io/tst-open-tmpfile.c: New test.
1638 * io/Makefile (tests): Add it.
1639
1640 2016-09-21 Florian Weimer <fweimer@redhat.com>
1641
1642 Avoid running $(CXX) during build to obtain header file paths.
1643 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1644 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1645 * Makerules (cstdlib, cmath): Remove variables. Use
1646 $(c++-cstdlib-header), $(c++-cmath-header) instead.
1647 * configure: Regenerate.
1648
1649 2016-09-21 Florian Weimer <fweimer@redhat.com>
1650
1651 * Makeconfig (all-object-suffixes): Include .op only if
1652 $(build-profile).
1653
1654 2016-09-21 Florian Weimer <fweimer@redhat.com>
1655
1656 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1657 conditionals. Do not define PATH_MAX.
1658
1659 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1660
1661 * posix/Makefile (tests): Add tst-spawn3.
1662 * posix/tst-spawn3.c: New file.
1663 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1664 if it is already opened for open action.
1665
1666 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1667 all signals when executing the clone vfork child.
1668 (SIGALL_SET): Remove macro.
1669
1670 * nptl/Makefile (tests): Add tst-exec5.
1671 * nptl/tst-exec5.c: New file.
1672 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1673 asynchronous cancellation.
1674
1675 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
1676
1677 * hurd/exc2signal.c: #include <hurd/signal.h>
1678 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1679 'sigcode', 'error' parameters with 'detail' parameter. Fix code
1680 accordingly.
1681 * mach/mach_error.c (mach_error): Fix old-style function definition.
1682 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1683
1684 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1685
1686 * math/Makefile (libm-calls): Remove s_nanF.
1687 (gen-libm-calls): Add s_nanF.
1688
1689 * math/s_nan.c: Refactor into ...
1690 * math/s_nan_template.c: New file.
1691
1692 * math/s_nanf.c: Removed.
1693 * math/s_nanl.c: Removed.
1694 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1695 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1696
1697 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1698 (LDOUBLE_nanl_libm_version): New macro.
1699
1700 * sysdeps/generic/math-type-macros-double.h:
1701 (M_STRTO_NAN): New macro.
1702 * sysdeps/generic/math-type-macros-float.h: Likewise.
1703 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1704
1705 * sysdeps/generic/math-type-macros.h: Document
1706 M_STRTO_NAN.
1707
1708 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1709
1710 * math/s_nanf.c: Remove __nanf undef.
1711 * math/s_nan.c: Remove __nan undef.
1712 * math/s_nanl.c: Remove __nanl undef.
1713
1714 * sysdeps/generic/math_private.h (__nan): Remove macro
1715 override.
1716 (__nanf): Likewise.
1717 (__nanl): Likewise.
1718
1719 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1720
1721 * math/Makefile (gen-all-calls): New variable.
1722 (generated): Replace gen-libm-calls with gen-all-calls.
1723 (gen-libm-templates.stmp): Likewise. Also, ensure
1724 the output directory exists or is created and add
1725 dependency on the Makefile.
1726 (calls): Move s_ldexpF into gen-calls.
1727 (gen-calls): New variable.
1728
1729 * math/s_ldexpf.c: Removed.
1730 * math/s_ldexpl.c: Removed.
1731 * math/s_ldexp.c: Refactored into ...
1732 * math/s_ldexp_template.c: New file.
1733
1734 * sysdeps/generic/math-type-macros-double.h: Remove
1735 redundant fall-through definition of declare_mgen_alias.
1736 (declare_mgen_alias_2): New macro.
1737
1738 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1739 New macro for function aliased to two exported symbols.
1740
1741 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1742 new template file.
1743 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1744
1745 2016-09-20 Florian Weimer <fweimer@redhat.com>
1746
1747 * Makeconfig (all-object-suffixes): Remove .og.
1748 * Makerules (elide-routines.og): Remove.
1749 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1750 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1751 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1752
1753 2016-09-20 Florian Weimer <fweimer@redhat.com>
1754
1755 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1756 .os objects.
1757
1758 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1759
1760 [BZ #20615]
1761 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1762 fpu directory by non-fpu.
1763 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1764 on non-fpu directory from a fpu directory.
1765
1766 2016-09-19 Joseph Myers <joseph@codesourcery.com>
1767
1768 * include/limits.h: Define
1769 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1770 <bits/libc-header-start.h> instead of including <features.h>.
1771 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1772 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1773 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1774 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1775 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1776 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1777 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1778 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1779 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1780 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1781 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1782 * manual/lang.texi (Width of Type): Document these macros.
1783 * stdlib/tst-width.c: New file.
1784 * stdlib/Makefile (tests): Add tst-width.
1785
1786 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1787
1788 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1789 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1790
1791 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1792
1793 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1794 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1795 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1796
1797 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1798
1799 [BZ #18243]
1800 * rt/Makefile (test): Add tst-shm-cancel.
1801 * rt/tst-shm-cancel.c: New file.
1802 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1803
1804 [BZ #18243]
1805 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1806 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1807 definition.
1808 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1809 uncontended case.
1810 * nptl/sem_wait.c (__new_sem_wait): Likewise.
1811 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1812 (tf): Fix check for uncontended case.
1813 (do_test): Likewise.
1814 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1815 (tf): Fix check for uncontended case.
1816 (do_test): Likewise.
1817 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1818 (tf): Fix check for uncontended case.
1819 (do_test): Likewise.
1820 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1821 (tf): Fix check for uncontended case.
1822 (do_test): Likewise.
1823
1824 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1825 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1826
1827 [BZ #15765]
1828 * nptl/Makefile (tests): Add tst-sem16.
1829 * nptl/tst-sem16.c: New file.
1830 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1831
1832 * nptl/sem_open.c (sem_open): Init pad value to 0.
1833 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1834 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1835
1836 2016-09-15 Florian Weimer <fweimer@redhat.com>
1837
1838 [BZ #20611]
1839 * inet/Makefile (routines): Add inet6_scopeid_pton.
1840 (tests): Add tst-inet6_scopeid_pton.
1841 * inet/inet6_scopeid_pton.c: New file.
1842 * inet/net-internal.h: Likewise.
1843 * inet/tst-inet6_scopeid_pton.c: New test.
1844 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1845 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1846 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1847
1848 2016-09-14 Florian Weimer <fweimer@redhat.com>
1849
1850 Remove support for compiling wrappers with PTW.
1851 * sysdeps/nptl/Makeconfig: Drop ptw- support.
1852 * nptl/Makefile (pthread-compat-wrappers): Define.
1853 (libpthread-routines): Use pthread-compat-wrappers.
1854 * sysdeps/unix/sysv/linux/alpha/Makefile
1855 (libpthread-routines, libpthread-shared-only-routines): Remove
1856 ptw- prefix.
1857 * sysdeps/s390/nptl/Makefile
1858 (libpthread-routines, libpthread-shared-only-routines): Likewise.
1859 * sysdeps/ia64/nptl/Makefile
1860 (libpthread-routines, libpthread-shared-only-routines): Likewise.
1861 * sysdeps/nacl/Makefile (libpthread-routines): Use
1862 pthread-compat-wrappers to filter the routines list instead of the
1863 ptw- prefix.
1864
1865 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1866
1867 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1868 with L() and remove explicit suffix, convert real literals
1869 which can be equivalentally substituted with integers, and
1870 transform -L(x) to L(-x).
1871
1872 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1920 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1922
1923 2016-09-13 Florian Weimer <fweimer@redhat.com>
1924
1925 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1926
1927 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
1928
1929 * malloc/Makefile (tests): Remove individual static test names
1930 and just add all of tests-static.
1931
1932 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1933
1934 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1935
1936 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1937 file.
1938
1939 * sysdeps/sparc/fpu/fegetmode.c: New file.
1940 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1941
1942 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1943 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1944
1945 * sysdeps/s390/fpu/fegetmode.c: New file.
1946 * sysdeps/s390/fpu/fesetmode.c: Likewise.
1947
1948 * sysdeps/powerpc/fpu/fegetmode.c: New file.
1949 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1950 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1951 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1953 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1954
1955 * sysdeps/mips/fpu/fegetmode.c: New file.
1956 * sysdeps/mips/fpu/fesetmode.c: Likewise.
1957
1958 * sysdeps/m68k/fpu/fegetmode.c: New file.
1959 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1960
1961 * sysdeps/ia64/fpu/fegetmode.c: New file.
1962 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1963
1964 * sysdeps/hppa/fpu/fegetmode.c: New file.
1965 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1966
1967 * sysdeps/arm/fegetmode.c: New file.
1968 * sysdeps/arm/fesetmode.c: Likewise.
1969
1970 * sysdeps/alpha/fpu/fegetmode.c: New file.
1971 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1972
1973 * sysdeps/aarch64/fpu/fegetmode.c: New file.
1974 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1975
1976 * math/fegetmode.c: New file.
1977 * math/fesetmode.c: Likewise.
1978 * sysdeps/i386/fpu/fegetmode.c: Likewise.
1979 * sysdeps/i386/fpu/fesetmode.c: Likewise.
1980 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1981 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1982 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1983 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1984 declaration.
1985 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1986 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1987 typedef.
1988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1989 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1990 (femode_t): New typedef.
1991 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1992 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1993 (femode_t): New typedef.
1994 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1995 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1996 (femode_t): New typedef.
1997 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1998 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1999 (femode_t): New typedef.
2000 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2001 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2002 (femode_t): New typedef.
2003 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2004 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2005 (femode_t): New typedef.
2006 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2007 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2008 (femode_t): New typedef.
2009 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2010 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2011 (femode_t): New typedef.
2012 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2013 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2014 (femode_t): New typedef.
2015 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2016 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2017 (femode_t): New typedef.
2018 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2019 declaration.
2020 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2021 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2022 (femode_t): New typedef.
2023 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2024 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2025 (femode_t): New typedef.
2026 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2027 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2028 (femode_t): New typedef.
2029 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2030 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2031 (femode_t): New typedef.
2032 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2033 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2034 (femode_t): New typedef.
2035 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2036 * manual/arith.texi (FE_DFL_MODE): Document macro.
2037 (fegetmode): Document function.
2038 (fesetmode): Likewise.
2039 * math/Versions (fegetmode): New libm symbol at version
2040 GLIBC_2.25.
2041 (fesetmode): Likewise.
2042 * math/Makefile (libm-support): Add fegetmode and fesetmode.
2043 (tests): Add test-femode and test-femode-traps.
2044 * math/test-femode-traps.c: New file.
2045 * math/test-femode.c: Likewise.
2046 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2047 alias for __fe_dfl_env.
2048 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2049 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2050 (__fe_dfl_mode): Likewise.
2051 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2052 version GLIBC_2.25.
2053 * sysdeps/nacl/libm.abilist: Update.
2054 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2055 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2056 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2057 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2058 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2059 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2060 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2061 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2062 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2063 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2064 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2065 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2067 Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2069 Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2071 Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2073 Likewise.
2074 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2075 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2076 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2078 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2080 Likewise.
2081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2082 Likewise.
2083 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2084 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2086
2087 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 [BZ #20495]
2090 [BZ #20508]
2091 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2092 processors, set Use_dl_runtime_resolve_slow and set
2093 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2094 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2095 New.
2096 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2097 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2098 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2099 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2100 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2101 if Use_dl_runtime_resolve_opt is set. Use
2102 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2103 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2104 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
2105 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2106 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2107 New.
2108 (_dl_runtime_resolve_opt): Likewise.
2109 (_dl_runtime_profile): Define only if _dl_runtime_profile is
2110 defined.
2111
2112 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2113
2114 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2115 __libc_memalign with "+ RELA R_390_GLOB_DAT".
2116
2117 2016-09-06 Florian Weimer <fweimer@redhat.com>
2118
2119 Convert malloc to __libc_lock. Automated part, using this Perl
2120 s/// command:
2121 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2122 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2123 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2124 conversion.
2125
2126 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
2127
2128 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2129 (linknamespace-symlists-tests): Likewise.
2130 (linknamespace-header-tests): Likewise.
2131
2132 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
2133
2134 [BZ #19810]
2135 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2136 * elf/tst-noload.c: New test case.
2137 * elf/Makefile (tests): Add tst-noload.
2138
2139 2016-09-02 Roland McGrath <roland@hack.frob.com>
2140
2141 * sysdeps/nacl/dup.c: Add libc_hidden_def.
2142
2143 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2144 not any more.
2145
2146 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2147
2148 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
2149
2150 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2151 (do_cos_slow): Likewise.
2152 (do_sin): Likewise.
2153 (do_sin_slow): Likewise.
2154 (slow): Likewise.
2155 (slow1): Likewise.
2156 (slow2): Likewise.
2157 (sloww): Likewise.
2158 (sloww1): Likewise.
2159 (sloww2): Likewise.
2160 (bsloww): Likewise.
2161 (bsloww1): Likewise.
2162 (bsloww2): Likewise.
2163 (cslow2): Likewise.
2164
2165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2166
2167 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2168 arguments. Consolidate input partitioning from callers here.
2169 (do_cos_slow): Likewise.
2170 (do_sin): Likewise.
2171 (do_sin_slow): Likewise.
2172 (do_sincos_1): Remove the no longer necessary input partitioning.
2173 (do_sincos_2): Likewise.
2174 (__sin): Likewise.
2175 (__cos): Likewise.
2176 (slow1): Likewise.
2177 (slow2): Likewise.
2178 (sloww1): Likewise.
2179 (sloww2): Likewise.
2180 (bsloww1): Likewise.
2181 (bsloww2): Likewise.
2182 (cslow2): Likewise.
2183
2184 2016-09-02 Florian Weimer <fweimer@redhat.com>
2185
2186 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2187 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
2188 outside of allocated array.
2189
2190 2016-09-02 Florian Weimer <fweimer@redhat.com>
2191
2192 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2193 instead of MB_CUR_MAX to avoid variable-length array.
2194
2195 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2196
2197 * math/Makefile (libm-calls): Remove k_rem_pio2F.
2198 (type-double-routines): Add k_rem_pio2.
2199 (type-float-routines): Add k_rem_pio2f.
2200
2201 * sysdeps/generic/math_private.h:
2202 (__kernel_rem_pio2l): Removed.
2203
2204 * math/k_rem_pio2l.c: Removed.
2205 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2206 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2207 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2208 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2209
2210 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2211
2212 * math/Makefile (gen-libm-calls): Add s_fmin
2213 (libm-calls): Remove above.
2214
2215 * math/s_fmin.c: Refactor into ...
2216 * math/s_fmin_template.c: New file.
2217
2218 * math/s_fminf.c: Removed.
2219 * math/s_fminl.c: Removed.
2220 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2221 (LDOUBLE_fmin_libm_version): New macro.
2222
2223 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2224 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2225
2226 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2227
2228 * math/Makefile: (gen-libm-calls): Add s_fmax.
2229 (libm-calls): Remove above.
2230
2231 * math/s_fmax.c: Refactor into ...
2232 * math/s_fmax_template.c: New file.
2233 * math/s_fmaxf.c: Removed.
2234 * math/s_fmaxl.c: Removed.
2235
2236 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2237 (LDOUBLE_fmaxl_libm_version): New macro.
2238
2239 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2240 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2241
2242 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2243 s_fmin.c to pick the aarch64 version of the file.
2244 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2245 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2246
2247 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2248
2249 * math/Makefile: (gen-libm-calls): Add s_nextdown.
2250 (libm-calls): Remove above.
2251
2252 * math/s_nextdown.c: Refactor into ...
2253 * math/s_nextdown_template.c: New file.
2254 * math/s_nextdownf.c: Removed.
2255 * math/s_nextdownl.c: Removed.
2256
2257 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2258
2259 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2260
2261 * math/Makefile (gen-libm-calls): Add s_fdim.
2262 (libm-calls): Move to above.
2263
2264 * math/s_fdim.c: Renamed and refactored into to ...
2265 * math/s_fdim_template.c: New file.
2266 * math/s_fdiml.c: Removed.
2267 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2268 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2269
2270 * sysdeps/generic/math-type-macros-double.h:
2271 (declare_mgen_alias): Don't declare if already declared.
2272 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2273 Likewise.
2274
2275 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2276 (declare_mgen_alias): Don't declare if already declared.
2277 (M_LIBM_NEED_COMPAT): Likewise.
2278 (declare_mgen_libm_compat): Likewise.
2279 (LDOUBLE_fdiml_libm_version): New macro.
2280
2281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2282 Include math/s_fdim.c now that ldbl-opt version is not needed.
2283 (declare_mgen_alias): New macro to disable aliasing.
2284
2285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2286 (declare_mgen_alias): Likewise.
2287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2288 (declare_mgen_alias): Likewise.
2289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2290 (declare_mgen_alias): Likewise.
2291 (M_LIBM_NEED_COMPAT): Likewise.
2292
2293 2016-09-01 Florian Weimer <fweimer@redhat.com>
2294
2295 [BZ #20525]
2296 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2297 Include <linux/quota.h>.
2298 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2299 and btodb.
2300 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2301 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2302 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2303 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2304 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2305 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2306 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2307 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2308 types.
2309 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2310 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2311
2312 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2313
2314 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2315 (gammal_positive): Fix spacing.
2316 (__ieee754_gammal_r): Likewise.
2317
2318 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2319
2320 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2321 (_Float128): Define as long double, always.
2322 (L): Apply long double type suffix, always.
2323
2324 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2325 _Float128, excepting comments.
2326
2327 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2393 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2395
2396 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2397 _Float128, and include math_private.h.
2398 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2399
2400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2401 long double semantics.
2402 (_Float128): Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2407
2408 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2409
2410 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2411 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2412 * sysdeps/s390/configure: Regenerated.
2413 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2414 instruction for raising over-/underflow if z196 zarch is supported
2415 by default.
2416 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2417
2418 2016-08-30 Svante Signell <svante.signell@gmail.com>
2419
2420 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2421 it point to a dumb buffer for RPC to fill it.
2422
2423 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
2424
2425 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2426 instead of if/else.
2427 (do_sin_slow): Likewise.
2428 (do_sincos_1): Use fabs instead of if/else.
2429 (do_sincos_2): Likewise.
2430 (__sin): Likewise.
2431 (__cos): Likewise.
2432 (slow2): Likewise.
2433 (sloww): Likewise.
2434 (sloww1): Likewise. Drop argument M.
2435 (sloww2): Use fabs instead of if/else.
2436 (bsloww): Likewise.
2437 (bsloww1): Likewise.
2438 (bsloww2): Likewise.
2439
2440 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2441 fall through comment.
2442 (do_sincos_1): Likewise.
2443
2444 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2445 Consolidate switch cases 0 and 2.
2446
2447 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2448
2449 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2450 (libm-calls): Remove the above.
2451
2452 * math/s_cexp_template.c: Update using type-generic macros.
2453 * math/s_clog10_template.c: Likewise.
2454 * math/s_cpow_template.c: Likewise.
2455 * math/s_clog_template.c: Likewise.
2456 * math/s_cproj_template.c: Likewise.
2457 * math/s_csqrt_template.c: Likewise.
2458
2459 * math/s_cexp.c: Removed.
2460 * math/s_cexpf.c: Removed.
2461 * math/s_cexpl.c: Removed.
2462 * math/s_clog10.c: Removed.
2463 * math/s_clog10f.c: Removed.
2464 * math/s_clog10l.c: Removed.
2465 * math/s_cpow.c: Removed.
2466 * math/s_cpowf.c: Removed.
2467 * math/s_cpowl.c: Removed.
2468 * math/s_clog.c: Removed.
2469 * math/s_clogf.c: Removed.
2470 * math/s_clogl.c: Removed.
2471 * math/s_cproj.c: Removed.
2472 * math/s_cprojf.c: Removed.
2473 * math/s_cprojl.c: Removed.
2474 * math/s_csqrt.c: Removed.
2475 * math/s_csqrtf.c: Removed.
2476 * math/s_csqrtl.c: Removed.
2477
2478 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2479 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2480 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2481 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2482 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2483 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2484
2485 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2486 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2487 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2488 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2489 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2490 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2491 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2492 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2493 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2494 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2495 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2496
2497 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2498 version.
2499
2500 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2501 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2502 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2503 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2504
2505 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2506
2507 * s_cexp_template.c: Copy of s_cexp.c.
2508 * s_clog_template.c: Copy of s_clog.c.
2509 * s_clog10_template.c: Copy of s_clog10.c.
2510 * s_cpow_template.c: Copy of s_cpow.c.
2511 * s_cproj_template.c: Copy of s_cproj.c.
2512 * s_csqrt_template.c: Copy of s_csqrt.c.
2513
2514 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2515
2516 [BZ #20517]
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2518 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2519 exported.
2520
2521 2016-08-29 Joseph Myers <joseph@codesourcery.com>
2522
2523 * math/fetestexceptflag.c: New file.
2524 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
2525 Stefan Liebler.
2526 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2527 (fetestexceptflag): New function declaration.
2528 * manual/arith.texi (fetestexceptflag): Document function.
2529 * math/Versions (fetestexceptflag): New libm symbol at version
2530 GLIBC_2.25.
2531 * math/Makefile (libm-support): Add fetestexceptflag.
2532 (tests): Add test-fetestexceptflag.
2533 * math/test-fetestexceptflag.c: New file.
2534 * sysdeps/nacl/libm.abilist: Update.
2535 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2536 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2537 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2538 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2539 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2540 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2541 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2542 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2543 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2544 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2548 Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2550 Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2554 Likewise.
2555 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2556 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2557 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2561 Likewise.
2562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2565 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2566 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2567
2568 2016-08-26 Florian Weimer <fweimer@redhat.com>
2569
2570 [BZ #20432]
2571 Avoid strong references to malloc-internal symbols when linking
2572 statically, to support statically interposed mallocs.
2573 * include/libc-symbols.h (call_function_static_weak): New macro.
2574 * malloc/Makefile (tests): Add tst-interpose-nothread,
2575 tst-interpose-thread, tst-interpose-static-nothread,
2576 tst-interpose-static-thread.
2577 (tests-static): Add tst-interpose-static-nothread,
2578 tst-interpose-static-thread.
2579 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2580 tst-interpose-aux-thread.o.
2581 (test-extras): Add tst-interpose-aux-nothread,
2582 tst-interpose-aux-thread.
2583 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2584 tst-interpose-aux-nothread.o.
2585 (tst-interpose-thread, tst-interpose-static-thread): Link with
2586 tst-interpose-aux-thread.o and libthread.
2587 * malloc/tst-interpose-aux-nothread.c: New file.
2588 * malloc/tst-interpose-aux-thread.c: Likewise.
2589 * malloc/tst-interpose-aux.c: Likewise.
2590 * malloc/tst-interpose-aux.h: Likewise.
2591 * malloc/tst-interpose-nothread.c: Likewise.
2592 * malloc/tst-interpose-skeleton.c: Likewise.
2593 * malloc/tst-interpose-static-nothread.c: Likewise.
2594 * malloc/tst-interpose-static-thread.c: Likewise.
2595 * malloc/tst-interpose-thread.c: Likewise.
2596 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2597 * sysdeps/mach/hurd/fork.c (__fork): Only call
2598 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2599 __malloc_fork_unlock_child if defined.
2600 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2601
2602 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2603
2604 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2605 timespec C99 designated initialization.
2606
2607 2016-08-26 Florian Weimer <fweimer@redhat.com>
2608
2609 [BZ #19946]
2610 Avoid expected SIGALRM signals.
2611 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2612 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2613 (xpthread_create, xpthread_detach, xpthread_join)
2614 (delayed_exit_thread, delayed_exit): New functions.
2615 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2616 (tf): Use xpthread_cond_wait.
2617 (do_test): Likewise. Replace alarm with delayed_exit.
2618 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2619 (do_test): Call delayed_exit. Report failure.
2620 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2621 (do_test): Call delayed_exit.
2622 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2623 (do_test): Call delayed_exit. Use xpthread_join. Report error.
2624 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2625 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
2626 error.
2627 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2628 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
2629 error.
2630 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2631 (do_test): Call delayed_exit.
2632 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2633 (do_test): Call delayed_exit.
2634 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2635 (do_test): Call delayed_exit instead of alarm. Use
2636 xpthread_mutex_lock.
2637 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2638 (do_test): Call delayed_exit instead of alarm. Use
2639 xpthread_mutex_lock.
2640 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2641 (do_test): Call delayed_exit instead of alarm.
2642 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2643 (do_test): Call delayed_exit instead of alarm. Use
2644 xpthread_spin_lock.
2645 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2646 (do_test): Call delayed_exit instead of alarm. Use
2647 xpthread_join.
2648
2649 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
2650
2651 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2652 adjust CFA when allocating register save area on re-aligned
2653 stack.
2654
2655 2016-08-26 Florian Weimer <fweimer@redhat.com>
2656
2657 * string/tst-cmp.c: New test.
2658 * string/Makefile (tests): Add it.
2659
2660 2016-08-25 Mark Wielaard <mark@klomp.org>
2661
2662 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2663 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
2664 (check_tree_recurse): Use newly defined accessors.
2665 (check_tree): Likewise.
2666 (maybe_split_for_insert): Likewise.
2667 (__tfind): Likewise.
2668 (__tdelete): Likewise.
2669 (trecurse): Likewise.
2670 (tdestroy_recurse): Likewise.
2671 (__tsearch): Likewise. And add asserts for malloc alignment.
2672 (__twalk): Cast root to node in case CHECK_TREE is defined.
2673
2674 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
2675
2676 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2677
2678 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2679
2680 * math/Makefile (libm-gen-calls): Add
2681 catan, catanh, ctan, ctanh.
2682 (libm-calls): Remove the above.
2683
2684 * math/s_catan_template.c: Update using type-generic macros.
2685 * math/s_catanh_template.c: Likewise.
2686 * math/s_ctan_template.c: Likewise.
2687 * math/s_ctanh_template.c: Likewise.
2688
2689 * math/s_catanf.c: Removed.
2690 * math/s_catan.c: Removed.
2691 * math/s_catanl.c: Removed.
2692 * math/s_catanhf.c: Removed.
2693 * math/s_catanh.c: Removed.
2694 * math/s_catanhl.c: Removed.
2695 * math/s_ctanf.c: Removed.
2696 * math/s_ctan.c: Removed.
2697 * math/s_ctanl.c: Removed.
2698 * math/s_ctanhf.c: Removed.
2699 * math/s_ctanh.c: Removed.
2700 * math/s_ctanhl.c: Removed.
2701
2702 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2703 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2704 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2705 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2706 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2707 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2708
2709 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2710 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2711 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2712 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2713
2714 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2715
2716 * s_catan_template.c: Copy of s_catan.c.
2717 * s_catanh_template.c: Copy of s_catanh.c.
2718 * s_ctan_template.c: Copy of s_ctan.c.
2719 * s_ctanh_template.c: Copy of s_ctanh.c.
2720
2721 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2722
2723 * math/Makefile (gen-libm-calls): Move
2724 casin, casinh, csin, csinh here.
2725 (libm-calls): Remove the above.
2726
2727 * math/s_casin_template.c: Update using type-generic macros.
2728 * math/s_casinh_template.c: Likewise.
2729 * math/s_csin_template.c: Likewise.
2730 * math/s_csinh_template.c: Likewise.
2731 * math/k_casinh_template.c: Likewise.
2732
2733 * math/s_casinf.c: Removed.
2734 * math/s_casin.c: Removed.
2735 * math/s_casinl.c: Removed.
2736 * math/s_casinh.c: Removed.
2737 * math/s_casinhf.c: Removed.
2738 * math/s_casinhl.c: Removed.
2739 * math/s_csin.c: Removed.
2740 * math/s_csinf.c: Removed.
2741 * math/s_csinl.c: Removed.
2742 * math/s_csinh.c: Removed.
2743 * math/s_csinhf.c: Removed.
2744 * math/s_csinhl.c: Removed.
2745 * math/k_casinh.c: Removed.
2746 * math/k_casinhf.c: Removed.
2747 * math/k_casinhl.c: Removed.
2748
2749 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2750 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2751 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2752 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2753
2754 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2755 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2756 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2757 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2758 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2759 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2760 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2761 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2762
2763 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2764 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2765 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2766 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2767
2768 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2769 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2770 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2771 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2772
2773 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2774
2775 * s_casin_template.c: Copy of s_casin.c.
2776 * s_casinh_template.c: Copy of s_casinh.c.
2777 * s_csin_template.c: Copy of s_csin.c.
2778 * s_csinh_template.c: Copy of s_csinh.c.
2779 * k_casinh_template.c: Copy of k_casinh.c.
2780
2781 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2784
2785 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2786
2787 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2788 (mul_split) Remove, rename as mul_splitl, remove
2789 redundant float.h include, and include via mul_splitl.h
2790
2791 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2793 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2794 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2795 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2796
2797 * math/mul_splitl.h: New file.
2798
2799 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2800 Move into mul_split.h, and remove redundant float.h include.
2801
2802 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2806
2807 * math/mul_split.h: New file.
2808
2809 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2810
2811 * math/Makefile (libm-gen-calls): Move
2812 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2813 (libm-calls): Remove above.
2814
2815 * math/s_cacos_template.c: Update using type-generic macros.
2816 * math/s_cacosh_template.c: Likewise.
2817 * math/s_ccos_template.c: Likewise.
2818 * math/s_ccosh_template.c: Likwise.
2819
2820 * math/s_cacosf.c: Removed.
2821 * math/s_cacos.c: Removed.
2822 * math/s_cacosl.c: Removed.
2823 * math/s_cacoshf.c: Removed.
2824 * math/s_cacosh.c: Removed.
2825 * math/s_cacoshl.c: Removed.
2826 * math/s_ccosf.c: Removed.
2827 * math/s_ccos.c: Removed.
2828 * math/s_ccosl.c: Removed.
2829 * math/s_ccoshf.c: Removed.
2830 * math/s_ccosh.c: Removed.
2831 * math/s_ccoshl.c: Removed.
2832
2833 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2834 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2835 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2836 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2837 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2838 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2839
2840 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2841 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2842 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2843 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2844
2845 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2846 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2847 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2848 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2849
2850 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2851
2852 * s_cacos_template.c: Copy of s_cacos.c.
2853 * s_cacosh_template.c: Copy of s_cacosh.c.
2854 * s_ccos_template.c: Copy of s_ccos.c.
2855 * s_ccosh_template.c: Copy of s_ccosh.c.
2856
2857 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2858
2859 * stdlib/tst-strtod-round-skeleton.c:
2860 Refactored from tst-strtod-round.c.
2861
2862 (L_): New macro to apply literal modifier.
2863 (FNPFX): New macro to select str or wcs prefix.
2864 (CHAR): New macro to choose wchar_t or char.
2865 (STRM): New macro to choose printf for tested character type.
2866
2867 (STRTO): New macro to choose appropriate string -> real function.
2868 (FNPFXS): Stringitized version of FNPFX.
2869 (STR): Support for above macro.
2870 (STRX): Likewise.
2871
2872 (TEST): Update with above macros.
2873 (test): Likewise.
2874 (GEN_ONE_TEST): Likewise.
2875 (test_in_one_mode): Likewise.
2876
2877 * stdlib/tst-strtod-round.c: New file.
2878 * wcsmbs/tst-wcstod-round.c: New file.
2879
2880 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2881 (tst-wcstod-round): Add libm depencency for fesetround.
2882
2883 2016-08-19 Zack Weinberg <zackw@panix.com>
2884
2885 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2886
2887 2016-08-18 Torvald Riegel <triegel@redhat.com>
2888
2889 [BZ #20477]
2890 * resolv/res_hconf.c (do_init): Use atomic access.
2891 * resolv/res_hconf.h: Add comments.
2892 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2893 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2895
2896 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
2897
2898 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2899 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2901 Likewise.
2902
2903 2016-08-18 Florian Weimer <fweimer@redhat.com>
2904
2905 [BZ #16907]
2906 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2907 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2908 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2909 (__attribute__): Remove definition.
2910
2911 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2912
2913 * sysdeps/ieee754/ldbl-128/e_asinl.c:
2914 Remove unused sqrtl declaration.
2915
2916 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2917
2918 * math/Makefile: (gen-libm-templates.stmp): New rule.
2919 (libm-calls): Move carg conj cimag and cabs into ...
2920 (gen-libm-calls): New variable.
2921 (generated): Inform Make objects from gen-libm-calls
2922 may be generated.
2923
2924 * sysdeps/generic/math-type-macros.h: New file.
2925 * sysdeps/generic/math-type-macros-float.h: Likewise.
2926 * sysdeps/generic/math-type-macros-double.h: Likewise.
2927 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2928 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2929 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2930
2931 * math/cabs.c: Refactor into
2932 * math/cabs_template.c: new file.
2933 * math/cabsf.c: Removed.
2934 * math/cabsl.c: Removed.
2935 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2936 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2937
2938 * math/carg.c: Refactor into
2939 * math/carg_template.c: new file.
2940 * math/cargf.c: Removed.
2941 * math/cargl.c: Removed.
2942 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2943 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2944
2945 * math/conj.c: Refactor into
2946 * math/conj_template.c: new file.
2947 * math/conjf.c: Removed.
2948 * math/conjl.c: Removed.
2949 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2950 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2951
2952 * math/cimag.c: Refactor into
2953 * math/cimag_template.c: new file.
2954 * math/cimagf.c: Removed.
2955 * math/cimagl.c: Removed.
2956 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2957 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2958
2959 * math/cimag.c: Refactor into
2960 * math/cimag_template.c: new file.
2961 * math/cimagf.c: Removed.
2962 * math/cimagl.c: Removed.
2963 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2964 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2965
2966 2016-08-17 Florian Weimer <fweimer@redhat.com>
2967
2968 Reduce time to expected nptl/tst-once5 failure.
2969 * nptl/tst-once5.cc (TIMEOUT): Define.
2970
2971 2016-08-17 Florian Weimer <fweimer@redhat.com>
2972
2973 [BZ #20452]
2974 Avoid additional copies of objects in libc.a in static libraries.
2975 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2976 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2977 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2978 rt-sysdep.
2979 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2980 Add nptl-sysdep.
2981 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2982 Add ptw-sysdep.
2983 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2984 rt-sysdep.
2985 * sysdeps/unix/sysv/linux/alpha/Makefile
2986 (libpthread-shared-only-routines): Add ptw-sysdep,
2987 ptw-sigprocmask, ptw-rt_sigaction.
2988 * sysdeps/unix/sysv/linux/ia64/Makefile
2989 (librt-shared-only-routines): Add rt-sysdep.
2990 * sysdeps/unix/sysv/linux/i386/Makefile
2991 (libpthread-shared-only-routines): Add libc-do-syscall.
2992 * sysdeps/unix/sysv/linux/microblaze/Makefile
2993 (libpthread-shared-only-routines): Add sysdep.
2994 * sysdeps/unix/sysv/linux/powerpc/Makefile
2995 (librt-shared-only-routines): Add rt-sysdep.
2996 (libpthread-shared-only-routines): Add sysdep.
2997 * sysdeps/unix/sysv/linux/s390/Makefile
2998 (librt-shared-only-routines): Add rt-sysdep.
2999 * sysdeps/unix/sysv/linux/sparc/Makefile
3000 (librt-shared-only-routines): Add rt-sysdep.
3001 (libpthread-shared-only-routines): Add sysdep.
3002 * sysdeps/unix/sysv/linux/tile/Makefile
3003 (libpthread-shared-only-routines): Likewise.
3004
3005 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3006
3007 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3008 Mask implicit bit out of unpacked value.
3009 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3010 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3011 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3012
3013 * sysdeps/sparc/fpu/fesetexcept.c: New file.
3014
3015 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3016
3017 * sysdeps/s390/fpu/fesetexcept.c: New file.
3018
3019 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3020 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3021 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3022
3023 * sysdeps/mips/fpu/fesetexcept.c: New file.
3024
3025 * sysdeps/m68k/fpu/fesetexcept.c: New file.
3026
3027 * sysdeps/ia64/fpu/fesetexcept.c: New file.
3028
3029 * sysdeps/hppa/fpu/fesetexcept.c: New file.
3030
3031 * sysdeps/arm/fesetexcept.c: New file.
3032
3033 * sysdeps/alpha/fpu/fesetexcept.c: New file.
3034
3035 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3036
3037 * math/fesetexcept.c: New file.
3038 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3039 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3040 * math/fenv.h: Define
3041 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3042 <bits/libc-header-start.h> instead of including <features.h>.
3043 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3044 declaration.
3045 * manual/arith.texi (fesetexcept): Document function.
3046 * math/Versions (fesetexcept): New libm symbol at version
3047 GLIBC_2.25.
3048 * math/Makefile (libm-support): Add fesetexcept.
3049 (tests): Add test-fesetexcept and test-fesetexcept-traps.
3050 * math/test-fesetexcept.c: New file.
3051 * math/test-fesetexcept-traps.c: Likewise.
3052 * sysdeps/nacl/libm.abilist: Update.
3053 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3055 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3056 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3057 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3058 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3059 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3060 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3061 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3062 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3063 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3064 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3066 Likewise.
3067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3068 Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3070 Likewise.
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3072 Likewise.
3073 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3074 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3075 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3079 Likewise.
3080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3081 Likewise.
3082 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3083 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3084 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3085
3086 2016-08-16 Florian Weimer <fweimer@redhat.com>
3087
3088 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3089 New.
3090 (do_test): Apply default_stack_size_in_mb if not set.
3091 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3092
3093 2016-08-15 Andreas Schwab <schwab@suse.de>
3094
3095 [BZ #20435]
3096 CVE-2016-6323
3097 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3098 as .cantunwind.
3099
3100 2016-08-12 Joseph Myers <joseph@codesourcery.com>
3101
3102 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3103 comment from fraiseexcpt.c.
3104
3105 * math/test-fexcept.c (feraiseexcept_exact): New function.
3106 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3107 (test_except): Likewise.
3108
3109 2016-08-10 Joseph Myers <joseph@codesourcery.com>
3110
3111 [BZ #20455]
3112 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3113 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3114 to be restored.
3115
3116 * math/test-fexcept-traps.c: New file.
3117 * math/test-fexcept.c: Likewise.
3118 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3119 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3120 macro.
3121 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3122 (EXCEPTION_SET_FORCES_TRAP): Likewise.
3123
3124 2016-08-09 Torvald Riegel <triegel@redhat.com>
3125
3126 * include/atomic.h (atomic_fetch_and_relaxed,
3127 atomic_fetch_and_release, atomic_fetch_or_release,
3128 atomic_fetch_xor_release): New.
3129
3130 2016-08-06 Christian Seiler <christian@iwakd.de>
3131
3132 [BZ #20444]
3133 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3134 MACH_PORT_NULL.
3135
3136 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
3137
3138 * math/s_fdim.c: Avoid alias renamed.
3139 * math/s_fdimf.c: Likewise.
3140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3141 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3142 Add s_fdimf-vis3, s_fdim-vis3.
3143 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3144 (CFLAGS-s_fdim-vis3.c): Likewise.
3145 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3146 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3147
3148 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
3149
3150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3151 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3152 Remove s_fdimf-vis3, s_fdim-vis3.
3153 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3154 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3161 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3162 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3163
3164 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
3165
3166 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3167 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3168 -Wa,-Av9a -mvis.
3169
3170 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3171
3172 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3173 LIT() to individual constants in simple expressions
3174 after splitting on spaces.
3175 (_apply_lit): Rename replaced version, and use it to
3176 apply to what appears to be a token.
3177
3178 * math/libm-test.inc: Fix many, many issues with
3179 spacing.
3180
3181 2016-08-05 Joseph Myers <joseph@codesourcery.com>
3182
3183 * math/math.h: Move comment about <bits/mathdef.h> definitions
3184 above inclusion of <bits/mathdef.h>. Do not mention
3185 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3186
3187 2016-08-05 Torvald Riegel <triegel@redhat.com>
3188
3189 * include/atomic.h (atomic_exchange_relaxed): New.
3190
3191 2016-08-04 Joseph Myers <joseph@codesourcery.com>
3192
3193 * math/e_scalb.c: Do not include <fenv.h>.
3194 (invalid_fn): Do calculation resulting in NaN instead of raising
3195 FE_INVALID and returning a NaN explicitly.
3196 * math/e_scalbf.c: Do not include <fenv.h>.
3197 (invalid_fn): Do calculation resulting in NaN instead of raising
3198 FE_INVALID and returning a NaN explicitly.
3199 * math/e_scalbl.c: Do not include <fenv.h>.
3200 (invalid_fn): Do calculation resulting in NaN instead of raising
3201 FE_INVALID and returning a NaN explicitly.
3202
3203 2016-08-04 Carlos O'Donell <carlos@redhat.com>
3204
3205 * po/de.po: Updated from Translation Project.
3206 * po/fi.po: Likewise.
3207 * po/sv.po: Likewise.
3208
3209 2016-08-04 Florian Weimer <fweimer@redhat.com>
3210
3211 [BZ #20452]
3212 Use sysdep.o from libc.a in static libraries.
3213 * sysdeps/unix/sysv/linux/i386/Makefile
3214 (libpthread-shared-only-routines): Add sysdep.
3215 (librt-shared-only-routines): Likewise.
3216
3217 2016-08-03 Joseph Myers <joseph@codesourcery.com>
3218
3219 * math/tgmath.h (nextdown): Define if
3220 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3221 (nextup): Likewise.
3222
3223 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3224 macro.
3225 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3226 Document.
3227 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3228 Document macro.
3229 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3230 (exp10f): Likewise.
3231 (exp10l): Likewise.
3232 * math/bits/mathcalls.h (exp10): Declare if
3233 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3234
3235 * manual/arith.texi (nextup): Fix typo in last change.
3236
3237 2016-08-03 Zack Weinberg <zackw@panix.com>
3238
3239 [BZ #19239]
3240 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3241 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3242 define major, minor, and makedev to issue deprecation warnings on use.
3243 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3244 previously-activated deprecation warnings for these macros and prevent
3245 subsequent inclusions of this header from having any effect.
3246 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3247 including <sys/sysmacros.h>, and undefine it again afterward.
3248
3249 2016-08-03 Zack Weinberg <zackw@panix.com>
3250
3251 * sysdeps/generic/sys/sysmacros.h: Delete file.
3252 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3253 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3254 * bits/sysmacros.h: ... here; this encoding is now the generic
3255 encoding. Now defines only the following macros:
3256 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3257 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3258 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3259
3260 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3261 bits/sysmacros.h and the above new macros to generate the
3262 public implementations of major, minor, and makedev.
3263 * misc/tst-makedev.c: New test.
3264 * include/sys/sysmacros.h: New wrapper.
3265
3266 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3267 (routines): Add makedev.
3268 (tests): Add tst-makedev.
3269 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3270 gnu_dev_makedev.
3271 * posix/Makefile (headers): Remove sys/sysmacros.h.
3272 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3273
3274 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3275 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3276 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3277 * sysdeps/unix/sysv/linux/alpha/libc.abilist
3278 * sysdeps/unix/sysv/linux/arm/libc.abilist
3279 * sysdeps/unix/sysv/linux/hppa/libc.abilist
3280 * sysdeps/unix/sysv/linux/i386/libc.abilist
3281 * sysdeps/unix/sysv/linux/ia64/libc.abilist
3282 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3283 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3284 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3285 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3286 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3287 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3288 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3289 * sysdeps/unix/sysv/linux/nios2/libc.abilist
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3294 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3295 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3296 * sysdeps/unix/sysv/linux/sh/libc.abilist
3297 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3302 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3303 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3304 Add GLIBC_2.25.
3305
3306 * include/features.h (__glibc_clang_prereq): New macro.
3307 * misc/sys/cdefs.h (__glibc_clang_has_extension)
3308 (__attribute_deprecated_msg__): New macros.
3309
3310 2016-08-03 Joseph Myers <joseph@codesourcery.com>
3311
3312 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3313 macro.
3314 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3315 * manual/arith.texi (issignaling): Document as ISO from TS
3316 18661-1:2014.
3317 (nextup): Likewise.
3318 (nextupf): Likewise.
3319 (nextupl): Likewise.
3320 (nextdown): Likewise.
3321 (nextdownf): Likewise.
3322 (nextdownl): Likewise.
3323 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3324 macro.
3325 * math/math.h: Define
3326 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3327 <bits/libc-header-start.h> instead of including <features.h>.
3328 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3329 [__USE_GNU].
3330 * math/bits/mathcalls.h (nextdown): Declare if
3331 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3332 (nextup): Likewise.
3333 (__issignaling): Likewise.
3334
3335 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3336
3337 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3338 check, and remove __glibc_likely hint
3339 from FP_INFINITE check.
3340 * s_csinhf.c (__csinhf): Likewise.
3341
3342 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3343 hint from FP_INFINITE check.
3344 * s_csinhl.c (__csinhl): Likewise.
3345
3346 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3347
3348 * math/Makefile (libm-calls): Insert F placeholder into
3349 object names. Move w_lgamma_compat* routines into
3350 (libm-compat-calls): New variable.
3351 (libm-compat-calls-ldouble-yes): New variable.
3352 (calls): Insert F placeholder.
3353 (generated): Redefine using new type-foreach macro call.
3354 (routines): Likewise.
3355
3356 (types): New variable to hold a list of symbolic names
3357 for each type supported by the target machine.
3358 (libm-routines): Redefine using new types variable.
3359 (type-foreach): macro to replace fooF with the
3360 appropriately suffixed foo for each types.
3361
3362 (type-ldouble-suffix): New variable.
3363 (type-ldouble-routines): Likewise.
3364 (type-ldouble-yes): Likewise.
3365 (type-double-suffix): Likewise.
3366 (type-double-routines): Likewise.
3367 (type-float-suffix): Likewise.
3368 (type-float-routines): Likewise.
3369
3370 (dbl-only-routines): Remove.
3371 (long-c-yes): Likewise.
3372 (long-m-routines): Likewise.
3373 (long-m-support): Likewise.
3374 (long-m-yes): Likewise.
3375 (test-longdouble-yes): Likewise.
3376
3377 (test-float.o): Simplify by increasing the scope of the
3378 recipe which adds libm-test.stmp to the vector types.
3379 (test-ifloat.o): Likewise.
3380 (test-float-finite.o): Likewise.
3381 (test-double.o): Likewise
3382 (test-idouble.o): Likewise.
3383 (test-double-finite.o): Likewise.
3384 (test-ldouble.o): Likewise
3385 (test-ildoubl.o): Likewise.
3386 (test-ldouble-finite.o): Likewise.
3387
3388 (libm-tests): Redefine type tests using foreach and the
3389 list of types in types.
3390
3391 (CPPFLAGS-test-ildoubl.c): Rename to
3392 (CPPFLAGS-test-ildouble.c): New variable
3393
3394 * math/test-ildoubl.c: Rename to
3395 * math/test-ildouble.c: New file.
3396
3397 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3398
3399 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3400 Use fabsl instead of fabs.
3401 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3402 Likewise.
3403 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3404 Add long double suffix to constant to ensure proper
3405 promotion to long double.
3406
3407 2016-08-03 Tom Tromey <tom@tromey.com>
3408
3409 [BZ #20311]
3410 * nptl_db/Makefile (headers): Add proc_service.h.
3411 * nptl_db/proc_service.h: Add include guard. Use
3412 __BEGIN/__END_DECLS.
3413 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3414 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3415 arguments.
3416
3417
3418 2016-08-03 Florian Weimer <fweimer@redhat.com>
3419
3420 [BZ #17730]
3421 Avoid using memalign for TCB allocations.
3422 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3423 (_dl_allocate_tls_storage): Use malloc and manual alignment.
3424 Avoid alignment gap in the TLS_DTV_AT_TP case.
3425 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3426 determine the pointer to free.
3427 * nptl/tst-tls3-malloc.c: New test.
3428 * nptl/Makefile (tests): Add it.
3429 (tst-tls3-malloc): Link with libdl, libpthread.
3430 (LDFLAGS-tst-tls3-malloc): Set.
3431 (tst-tls3-malloc.out): Depend on DSO used in test.
3432
3433 2016-08-03 Florian Weimer <fweimer@redhat.com>
3434
3435 [BZ #17730]
3436 Avoid using memalign for TLS allocations.
3437 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
3438 is_static member with to_free member.
3439 (union dtv): Use struct dtv_pointer.
3440 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3441 dtv_pointer instead of is_static.
3442 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3443 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3444 instead of val.
3445 (allocate_dtv_entry): New function.
3446 (allocate_and_init): Return struct dtv_pointer. Call
3447 allocate_dtv_entry instead of __libc_memalign.
3448 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3449 instead of val.
3450 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3451 instead of is_static. Adjust call to allocate_and_init.
3452 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3453 struct dtv_pointer instead of val.
3454
3455 2016-08-03 Florian Weimer <fweimer@redhat.com>
3456
3457 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3458 (MALLOC_ALIGN_MASK): Move ...
3459 * malloc/malloc-internal.h: ... to here.
3460 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3461
3462 2016-08-03 Joseph Myers <joseph@codesourcery.com>
3463
3464 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3465 (UDP_ENCAP_GTP1U): Likewise.
3466
3467 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3468 (PF_MAX): Update value.
3469 (AF_QIPCRTR): New macro.
3470
3471 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
3472
3473 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3474 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3475 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3477 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3478 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3479 s_truncf-vis3, s_trunc-vis3.
3480 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3481 (CFLAGS-s_ceil-vis3.c): Likewise.
3482 (CFLAGS-s_floorf-vis3.c): Likewise.
3483 (CFLAGS-s_floor-vis3.c): Likewise.
3484 (CFLAGS-s_truncf-vis3.c): Likewise.
3485 (CFLAGS-s_trunc-vis3.c): Likewise.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3497 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3498
3499 2016-08-02 David S. Miller <davem@davemloft.net>
3500
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3502 (__nearbyint_vis3): Don't check for sNaN before float register is
3503 loaded with the incoming argument.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3505 (__nearbyintf_vis3): Likewise.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3507 Likewise.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3509 Likewise.
3510
3511 * string/test-strncmp.c (do_test_limit): Make sure the test data
3512 stream is aligned as required for the type "CHAR".
3513 (do_test): Likewise.
3514
3515 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
3516
3517 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3518 by beq instructions jumping to the end of the function.
3519 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3520 clobber list. Use "i" constraint instead of "X".
3521 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3522 of "X".
3523
3524 2016-08-02 Joseph Myers <joseph@codesourcery.com>
3525
3526 * bits/libc-header-start.h: New file.
3527 * Makefile (headers): Add bits/libc-header-start.h.
3528 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3529 (__GLIBC_USE): New macro.
3530 * libio/stdio.h: Define
3531 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3532 <bits/libc-header-start.h> instead of including <features.h>.
3533 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3534 (open_memstream): Likewise.
3535 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3536 (__asprintf): Likewise.
3537 (asprintf): Likewise.
3538 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3539 (getdelim): Likewise.
3540 (getline): Likewise.
3541 * string/string.h: Define
3542 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3543 <bits/libc-header-start.h> instead of including <features.h>.
3544 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3545 (strndup): Likewise.
3546 * wcsmbs/wchar.h: Define
3547 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3548 <bits/libc-header-start.h> instead of including <features.h>.
3549 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3550 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3551
3552 2016-08-02 Florian Weimer <fweimer@redhat.com>
3553
3554 Support linking against compatibility symbols, for use in tests.
3555 * include/libc-symbols.h (symbol_version_reference): New macro.
3556 (symbol_version): Use it.
3557 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3558 (compat_symbol): Use compat_symbol_reference.
3559 (compat_symbol_1, compat_symbol_2): Remove.
3560 (compat_symbol_reference, compat_symbol_reference_1)
3561 (compat_symbol_reference_2): New macro. Use
3562 symbol_version_reference.
3563
3564 2016-08-02 Florian Weimer <fweimer@redhat.com>
3565
3566 [BZ #19469]
3567 * malloc/Makefile (CPPFLAGS): Compile tests with
3568 -DTEST_NO_MALLOPT.
3569 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3570
3571 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
3572
3573 [BZ #20033]
3574 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3575 finite version.
3576 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3577 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3578 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3579 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3580 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3581 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3582 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3583 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3584 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3585 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3586 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3587 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3588 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3589 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3590 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3591 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3592 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3593 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3594 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3595 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3596 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3597 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3598 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3599 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3600 in zero power.
3601
3602 2016-08-02 Florian Weimer <fweimer@redhat.com>
3603
3604 [BZ #20370]
3605 * malloc/arena.c (get_free_list): Update comment. Assert that
3606 arenas on the free list have no attached threads.
3607 (remove_from_free_list): New function.
3608 (reused_arena): Call it.
3609
3610 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
3611
3612 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3613 when it is a NaN.
3614 [_IEEE_FP_INEXACT] Remove.
3615 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3616 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3617 when it is a NaN.
3618 [_IEEE_FP_INEXACT] Remove.
3619 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3620 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3621 when it is a NaN.
3622 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3623 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3624 when its absolute value is greater than 0x1.0p52.
3625 [_IEEE_FP_INEXACT] Remove.
3626 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3627 when its absolute value is greater than 0x1.0p23.
3628 [_IEEE_FP_INEXACT] Remove.
3629
3630 2016-08-01 Carlos O'Donell <carlos@redhat.com>
3631
3632 * version.h (RELEASE): Set to "development"
3633 (VERSION): Set to 2.24.90.
3634 * NEWS: Add 2.25 section.
3635
3636 * version.h (RELEASE): Set to "stable"
3637 (VERSION): Set to 2.24.
3638 * include/features.h (__GLIBC_MINOR__): Set to 24.
3639
3640 * NEWS: Add 2.24 fixed bugs.
3641 * po/libc.pot: Regenerate.
3642
3643 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
3644
3645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3646 [$(subdir) = math] (libm-sysdep_routines): Remove.
3647 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3648 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3649 s_truncf-vis3, s_trunc-vis3.
3650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3652 file.
3653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3692 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3693 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3694 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3695 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3696
3697 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
3698
3699 [BZ #20384]
3700 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3701 test-double-libmvec-sincos-avx-main.o,
3702 test-double-libmvec-sincos-avx2-main.o,
3703 test-double-libmvec-sincos-main.o,
3704 test-float-libmvec-sincosf-avx-main.o,
3705 test-float-libmvec-sincosf-avx2-main.o and
3706 test-float-libmvec-sincosf-main.o.
3707 test-float-libmvec-sincosf-avx512-main.o.
3708 ($(objpfx)test-double-libmvec-sincos): Also link with
3709 $(objpfx)test-double-libmvec-sincos-main.o.
3710 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3711 $(objpfx)test-double-libmvec-sincos-avx-main.o.
3712 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3713 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3714 ($(objpfx)test-float-libmvec-sincosf): Also link with
3715 $(objpfx)test-float-libmvec-sincosf-main.o.
3716 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3717 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3718 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3719 test-double-libmvec-sincos-avx512-main.o and
3720 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3721 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3722 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3723 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3724 (CFLAGS-test-double-libmvec-sincos.c): Removed.
3725 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3726 (CFLAGS-test-double-libmvec-sincos-main.c): New.
3727 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3728 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3729 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3730 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3731 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3732 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3733 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3734 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3735 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3736 -DREQUIRE_AVX2.
3737 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3738 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3739 -DREQUIRE_AVX512F.
3740 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3741 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3742 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3743 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3744 file.
3745 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3746 Likewise.
3747 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3748 Likewise.
3749 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3750 Likewise.
3751 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3752 Likewise.
3753 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3754 Likewise.
3755 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3756 Likewise.
3757 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3758 Likewise.
3759
3760 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
3761
3762 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3763
3764 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
3765
3766 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3767 and typo in a comment about AT_HWCAP entry.
3768
3769 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3770
3771 * sysdeps/aarch64/libm-test-ulps: Updated.
3772
3773 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3774
3775 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3776 of r13 as it is not restored in mvcle case.
3777
3778 2016-07-19 Mike Frysinger <vapier@gentoo.org>
3779
3780 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3781 Rename "ret" to "__ret".
3782 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3783 inline_syscall5, inline_syscall6): Likewise.
3784
3785 2016-07-19 Will Newton <will.newton@gmail.com>
3786
3787 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3788 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3789 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3790 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3791 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3792
3793 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3796 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3797 -mfpmath=387 with $(rtld-CFLAGS).
3798 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3799 $(rtld-CFLAGS).
3800
3801 2016-07-18 Ross Burton <ross.burton@intel.com>
3802 Khem Raj <raj.khem@gmail.com>
3803
3804 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3805 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3806 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3807 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3808 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3809 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3810 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3811 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3812 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3813 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3814 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3815 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3816 R_METAG_TLS_DTPOFF): New.
3817
3818 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
3819 Matt Clay <mclay@lycos.com>
3820
3821 [BZ #20357]
3822 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3823 to call __mpsin/__mpcos and to negate values.
3824 * math/auto-libm-test-in: Add test.
3825 * math/auto-libm-test-out: Regenerate.
3826
3827 2016-07-18 Zack Weinberg <zackw@panix.com>
3828
3829 * grp/Makefile: Don't install the internal header grp-merge.h.
3830
3831 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3832
3833 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3834
3835 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
3836
3837 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3838
3839 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3840
3841 [BZ #15368]
3842 * sysdeps/unix/sysv/linux/nptl-signals.h
3843 (__nptl_clear_internal_signals): New function.
3844 (__libc_signal_block_all): Likewise.
3845 (__libc_signal_block_app): Likewise.
3846 (__libc_signal_restore_set): Likewise.
3847 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3848 implementation.
3849 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3850 the cached pid/tid value in pthread structure.
3851
3852 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
3853
3854 [BZ #20347]
3855 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3856
3857 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
3858
3859 [BZ #20348]
3860 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3861 preadv64, pwrite64 and pwritev64.
3862
3863 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 [BZ #20350]
3866 * posix/tst-preadwrite.c: Renamed to ...
3867 * posix/tst-preadwrite-common.c: This.
3868 (PREAD): Removed.
3869 (PWRITE): Likewise.
3870 (STRINGIFY): Likewise.
3871 (STRINGIFY2): Likewise.
3872 (do_prepare): Make it static and remove function arguments.
3873 (do_test): Likewise.
3874 (PREPARE): Updated.
3875 (TEST_FUNCTION): New.
3876 (name): Make it static.
3877 (fd): Likewise.
3878 (do_prepare): Use create_temp_file.
3879 (do_test): Renamed to ...
3880 (do_test_with_offset): This. Make it static and accept offset.
3881 Properly check return value of PWRITE and PREAD. Return bytes
3882 read. Don't close fd nor unlink name.
3883 * posix/tst-preadwrite.c: Rewrite.
3884 * posix/tst-preadwrite64.c: Likewise.
3885
3886 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 [BZ #20309]
3889 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3890 -mtls-dialect=gnu2 works.
3891 * configure: Regenerated.
3892 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3893 (tests): Add tst-gnu2-tls1.
3894 (modules-names): Add tst-gnu2-tls1mod.
3895 ($(objpfx)tst-gnu2-tls1): New.
3896 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3897 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3898 * elf/tst-gnu2-tls1.c: New file.
3899 * elf/tst-gnu2-tls1mod.c: Likewise.
3900 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3901 bytes for push in the PLT entry to align the stack.
3902
3903 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
3904
3905 [BZ #20349]
3906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3907
3908 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3909
3910 [BZ #18707]
3911 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3912 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3913
3914 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3915
3916 * sysdeps/unix/sysv/linux/sysdep.h
3917 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3918 guards.
3919 * misc/tst-preadvwritev-common.c: New file.
3920 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3921 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3922 a check for files larger than 2GB.
3923
3924 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3925 (__ASSUME_OFF_DIFF_OFF64): Remove define.
3926 * sysdeps/unix/sysv/linux/pread.c
3927 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3928 __OFF_T_MATCHES_OFF64_T.
3929 * sysdeps/unix/sysv/linux/pread64.c
3930 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3931 * sysdeps/unix/sysv/linux/preadv.c
3932 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3933 * sysdeps/unix/sysv/linux/preadv64.c
3934 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3935 * sysdeps/unix/sysv/linux/pwrite.c
3936 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3937 * sysdeps/unix/sysv/linux/pwrite64.c
3938 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3939 * sysdeps/unix/sysv/linux/pwritev.c
3940 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3941 * sysdeps/unix/sysv/linux/pwritev64.c
3942 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3943
3944 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
3945
3946 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3947 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3948
3949 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
3950
3951 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3952
3953 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
3954
3955 [BZ #20240]
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3957 (CFLAGS-s_modf-ppc32.c): New variable.
3958 (CFLAGS-s_modff-ppc32.c): Likewise.
3959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3960 (CFLAGS-s_modf-ppc64.c): Likewise.
3961 (CFLAGS-s_modff-ppc64.c): Likewise.
3962
3963 2016-07-07 Andreas Schwab <schwab@suse.de>
3964
3965 [BZ #20263]
3966 * nptl/tst-robust10.c: New test.
3967 * nptl/Makefile (tests): Add tst-robust10.
3968
3969 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
3970
3971 [BZ #20263]
3972 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3973
3974 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3975
3976 * sysdeps/s390/linkmap.h (struct link_map_machine):
3977 Remove member gotplt and add member jmprel.
3978 * sysdeps/s390/s390-32/dl-machine.h
3979 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3980 instead of gotplt with &got[3].
3981 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3982 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3983
3984 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
3985
3986 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3987
3988 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3989
3990 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3991 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3992 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3993 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3994 * libio/vtables.c (_IO_vtable_check)
3995 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3996 * libio/libioP.h (IO_set_accept_foreign_vtables)
3997 [!PTR_MANGLE]: Do not call PTR_MANGLE.
3998
3999 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
4000
4001 [BZ #20314]
4002 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4003 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4004 $(common-objpfx)cmath.
4005 ($(common-objpfx)cstdlib): New target.
4006 ($(common-objpfx)cmath): Likewise.
4007
4008 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
4009
4010 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4011
4012 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4013
4014 [BZ #20327]
4015 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4016 are not part of the string.
4017
4018 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4019
4020 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4021 * nptl/tst-cancel4-common.h (fifoname): New variable.
4022 (fifofd): Likewise.
4023 (cl_fifo): New function.
4024 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4025 SIGINT.
4026 (tf_open): Add early cancel test.
4027
4028 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
4029
4030 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4031
4032 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
4033
4034 * sysdeps/generic/ldsodefs.h
4035 (dl_symbol_visibility_binds_local_p): New inline function.
4036 * elf/dl-addr.c (determine_info): Treat hidden and internal
4037 symbols as local.
4038 * elf/dl-lookup.c (do_lookup_x): Likewise.
4039 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4040
4041 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
4042
4043 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4044 invalid exception for a sNaN input.
4045 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4046 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4047 (__nearbyint_vis3): Likewise
4048 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4049 (__nearbyintf_vis3): Likewise
4050 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4051 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4052 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4053 Likewise.
4054 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4055 Likewise.
4056
4057 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 [BZ #20139]
4060 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4061 (HAVE_AVX512DQ_ASM_SUPPORT): This.
4062 * sysdeps/x86_64/configure.ac: Require assembler from binutils
4063 2.24 or above.
4064 (HAVE_AVX512_ASM_SUPPORT): Removed.
4065 (HAVE_AVX512DQ_ASM_SUPPORT): New.
4066 * sysdeps/x86_64/configure: Regenerated.
4067 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4068 check unconditional.
4069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4070 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4071 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4072 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4073 Likewise.
4074 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4075 Likewise.
4076 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4077 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4078 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4079 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4080 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4081 Likewise.
4082 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4083 Likewise.
4084 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4085 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4087 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4089 Likewise.
4090 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4091 Likewise.
4092 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4093 Likewise.
4094 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4095 Likewise.
4096 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4097 Likewise.
4098 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4099 Likewise.
4100 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4101 Likewise.
4102 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4103 Likewise.
4104 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4105 Likewise.
4106 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4107 Likewise.
4108 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4109 Likewise.
4110
4111 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
4112
4113 [BZ #20024]
4114 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4116 of this implementation of vector function.
4117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4119 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4120 Likewise.
4121 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4122 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4123 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4124 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4125 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4126 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4127 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4128 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4129 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4130 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4131 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4132 for testing vector sincos with fixed ABI.
4133 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4134 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4135 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4136 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4137 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4138 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4139 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4140 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4141 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4142 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4143 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4144 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4145 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4146 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4147 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4148 * sysdeps/x86_64/fpu/Makefile: Added new tests.
4149
4150 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
4151
4152 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4153
4154 2016-06-30 Anton Blanchard <anton@samba.org>
4155
4156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4157 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4158 s_sinf-ppc64.
4159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4162 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4163
4164 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4165
4166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4168 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4169 e_expf-ppc64.
4170 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4171 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4172 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4173 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4174
4175 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
4176
4177 [BZ #20277]
4178 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4179 when SHARED is defined.
4180
4181 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
4182
4183 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4184 (index_arch_Prefer_ERMS): Likewise.
4185 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4186 __memcpy_erms for Prefer_ERMS.
4187 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4188 (__memmove_erms): Enabled for libc.a.
4189 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4190 __memmove_erms or Prefer_ERMS.
4191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4192 __mempcpy_erms for Prefer_ERMS.
4193 * sysdeps/x86_64/multiarch/memset.S (memset): Return
4194 __memset_erms for Prefer_ERMS.
4195
4196 2016-06-30 Andreas Schwab <schwab@suse.de>
4197
4198 [BZ #20262]
4199 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4200 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
4201 of memory.
4202
4203 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
4204
4205 [BZ #18645]
4206 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4207 (test-extras): Add tst-cleanupx4aux.
4208 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
4209 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4210 tst-cleanupx4aux.o.
4211 * nptl/tst-cleanupx4aux.c: New file.
4212
4213 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
4214
4215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4216
4217 2016-06-29 Andreas Schwab <schwab@suse.de>
4218
4219 [BZ #20260]
4220 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4221 address before the beginning of the string as an integer to avoid
4222 array-bounds warning.
4223
4224 2016-06-28 Richard Henderson <rth@redhat.com>
4225
4226 * elf/elf.h (EM_BPF): New.
4227 (EM_NUM): Update.
4228 (R_BPF_NONE, R_BPF_MAP_FD): New.
4229
4230 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4231 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4232 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4233 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4234 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4235 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4236 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4237 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4238 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4239 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4240 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4241 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4242 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4243 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4244 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4245 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4246 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4247 (EM_NUM): Update.
4248
4249 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
4250
4251 [BZ #18960]
4252 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4253 Set _nl_current_LC_CATEGORY_used to two instead of one.
4254
4255 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
4256
4257 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4258 (do_test): ... this.
4259 (TEST_FUNCTION): New macro.
4260 Include test-skeleton.c.
4261 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4262 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4263
4264 2016-06-27 Joseph Myers <joseph@codesourcery.com>
4265
4266 [BZ #15479]
4267 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4268 floating-point environment rather than just control word.
4269 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4270 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4271 floating-point environment, with "invalid" exceptions merged in,
4272 rather than just control word.
4273 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4274 * math/libm-test.inc (trunc_test_data): Do not allow spurious
4275 "inexact" exceptions.
4276
4277 [BZ #15479]
4278 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4279 floating-point environment rather than just control word.
4280 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4281 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4282 floating-point environment, with "invalid" exceptions merged in,
4283 rather than just control word.
4284 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4285 * math/libm-test.inc (floor_test_data): Do not allow spurious
4286 "inexact" exceptions.
4287
4288 [BZ #15479]
4289 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4290 floating-point environment rather than just control word.
4291 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4292 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4293 floating-point environment, with "invalid" exceptions merged in,
4294 rather than just control word.
4295 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4296 * math/libm-test.inc (ceil_test_data): Do not allow spurious
4297 "inexact" exceptions.
4298
4299 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
4300
4301 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4302 __libc_vfork.
4303 (__vfork) [IS_IN (libc)]: Remove alias.
4304 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4305 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4306 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4307
4308 2016-06-24 Torvald Riegel <triegel@redhat.com>
4309
4310 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4311 of atomic_compare_and_exchange_bool_rel.
4312 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4313 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4314 catomic_compare_and_exchange_bool_rel): Remove.
4315 * sysdeps/aarch64/atomic-machine.h
4316 (atomic_compare_and_exchange_bool_rel): Likewise.
4317 * sysdeps/alpha/atomic-machine.h
4318 (atomic_compare_and_exchange_bool_rel): Likewise.
4319 * sysdeps/arm/atomic-machine.h
4320 (atomic_compare_and_exchange_bool_rel): Likewise.
4321 * sysdeps/mips/atomic-machine.h
4322 (atomic_compare_and_exchange_bool_rel): Likewise.
4323 * sysdeps/microblaze/atomic-machine.h
4324 ( __arch_compare_and_exchange_bool_8_rel,
4325 __arch_compare_and_exchange_bool_16_rel): Likewise.
4326 * sysdeps/powerpc/atomic-machine.h
4327 ( __arch_compare_and_exchange_bool_8_rel,
4328 __arch_compare_and_exchange_bool_16_rel): Likewise.
4329 * sysdeps/powerpc/powerpc32/atomic-machine.h
4330 ( __arch_compare_and_exchange_bool_32_rel,
4331 __arch_compare_and_exchange_bool_64_rel): Likewise.
4332 * sysdeps/powerpc/powerpc64/atomic-machine.h
4333 ( __arch_compare_and_exchange_bool_32_rel,
4334 __arch_compare_and_exchange_bool_64_rel): Likewise.
4335 * sysdeps/tile/atomic-machine.h
4336 (atomic_compare_and_exchange_bool_rel): Likewise.
4337
4338 2016-06-23 Joseph Myers <joseph@codesourcery.com>
4339
4340 [BZ #20296]
4341 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4342 when either argument is a NaN.
4343 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4344 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4345
4346 * math/libm-test.inc (snan_value_ld): New macro.
4347 (isgreater_test_data): Add sNaN tests.
4348 (isgreaterequal_test_data): Likewise.
4349 (isless_test_data): Likewise.
4350 (islessequal_test_data): Likewise.
4351 (islessgreater_test_data): Likewise.
4352 (isunordered_test_data): Likewise.
4353 (nextafter_test_data): Likewise.
4354 (nexttoward_test_data): Likewise.
4355 (remainder_test_data): Likewise.
4356 (remquo_test_data): Likewise.
4357 (significand_test_data): Likewise.
4358 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4359
4360 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
4361
4362 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4363 environment macros are defined.
4364 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4365
4366 2016-06-23 Florian Weimer <fweimer@redhat.com>
4367
4368 [BZ #20191]
4369 Implement vtable verification in libio.
4370 * Makerules (shlib.lds): Place __libc_IO_vtables section.
4371 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4372 * debug/vdprintf_chk.c (__vdprintf_chk): Call
4373 _IO_new_file_init_internal instead of _IO_file_init.
4374 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4375 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4376 * libio/Makefile (routines): Add vtables.
4377 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4378 (_IO_init): Remove, not for internal use.
4379 (_IO_init_internal): Declare, internal replacement for _IO_init.
4380 (_IO_file_init): Remove, not for internal use.
4381 (_IO_new_file_init): Remove, not for internal use.
4382 (_IO_new_file_init_internal): Declare, internal replacement for
4383 _IO_new_file_init.
4384 (_IO_old_file_init): Remove, not for internal use.
4385 (_IO_old_file_init_internal): Declare, internal replacement for
4386 _IO_old_file_init.
4387 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4388 internal use.
4389 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4390 Declare.
4391 (libio_vtable): New macro.
4392 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4393 functions.
4394 * libio/fileops.c (_IO_new_file_init_internal): Rename from
4395 _IO_new_file_init.
4396 (_IO_new_file_init): New externally visible wrapper which disables
4397 vtable verification.
4398 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4399 Define as vtables.
4400 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4401 (_IO_init): New externally visible wrapper which disables
4402 vtable verification.
4403 * libio/iofdopen.c (_IO_new_fdopen): Call
4404 _IO_new_file_init_internal instead of _IO_file_init. Adjust
4405 comment.
4406 * libio/iofopen.c (__fopen_internal): Call
4407 _IO_new_file_init_internal instead of _IO_file_init.
4408 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4409 Define as vtables.
4410 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4411 _IO_new_file_init_internal instead of _IO_file_init.
4412 * libio/iopopen.c (_IO_new_popen): Likewise.
4413 (_IO_proc_jumps): Define as vtable.
4414 * libio/iovdprintf.c (_IO_vdprintf): Call
4415 _IO_new_file_init_internal instead of _IO_file_init.
4416 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4417 (__open_memstream): Call _IO_init_internal instead of _IO_init.
4418 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4419 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4420 _IO_old_file_init.
4421 (_IO_old_file_init): New externally visible wrapper which disables
4422 vtable verification.
4423 (_IO_old_file_jumps): Define as vtable.
4424 * libio/oldiofdopen.c (_IO_old_fdopen): Call
4425 _IO_old_file_init_internal instead of _IO_old_file_init.
4426 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4427 * libio/oldiopopen.c (_IO_old_popen): Likewise.
4428 (_IO_old_proc_jumps): Define as vtable.
4429 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4430 Define as vtables.
4431 * libio/vtables.c: New file.
4432 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4433 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4434 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4435 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4436 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4437 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4438 instead of _IO_init.
4439
4440 2016-06-23 Florian Weimer <fweimer@redhat.com>
4441
4442 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4443
4444 2016-06-23 Florian Weimer <fweimer@redhat.com>
4445
4446 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4447 potentially unused.
4448
4449 2016-06-22 Florian Weimer <fweimer@redhat.com>
4450
4451 * test-skeleton.c (write_message): New function.
4452 * malloc/tst-mallocfork2.c (write_message): Remove.
4453 * debug/tst-longjmp_chk2.c (write_indented): New function.
4454 (write_message): Remove.
4455 (stackoverflow_handler): Call write_indented.
4456
4457 2016-06-22 Joseph Myers <joseph@codesourcery.com>
4458
4459 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4460 "inexact" exceptions after fnstenv.
4461 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4462 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4463 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4464
4465 2015-06-22 Zack Weinberg <zackw@panix.com>
4466
4467 * sysdeps/generic/bits/hwcap.h: Moved to ...
4468 * bits/hwcap.h: Here.
4469
4470 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
4471
4472 * sysdeps/aarch64/memcpy.S (memcpy):
4473 Further tuning for performance.
4474
4475 2016-06-21 Florian Weimer <fweimer@redhat.com>
4476
4477 [BZ #20284]
4478 * malloc/arena.c (reused_arena): Do not return NULL if we start
4479 out with a non-corrupted arena.
4480
4481 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4482
4483 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4484 * misc/tst-preadvwritev.c: New file.
4485 * misc/tst-preadvwritev64.c: Likewise.
4486 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4487 usage.
4488 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4489 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4490 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4491 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4492
4493 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
4494
4495 [BZ #19654]
4496 * sysdeps/x86_64/fpu/Makefile: Added new tests.
4497 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4498 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4499 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4500 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4501 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4502 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4503 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4504 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4505 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4506 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4507 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4508 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4509 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4510 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4511 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4512 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4513 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4514 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4515 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4516 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4517 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4518 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4519 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4520 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4521 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4522
4523 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
4524
4525 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4526 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4527
4528 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
4529
4530 * sysdeps/aarch64/memcpy.S (memcpy):
4531 Rewrite of optimized memcpy and memmove.
4532 * sysdeps/aarch64/memmove.S (memmove): Remove
4533 memmove code (merged into memcpy.S).
4534
4535 2016-06-20 Florian Weimer <fweimer@redhat.com>
4536
4537 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4538 * sysdeps/generic/dl-dtv.h: New file.
4539 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4540 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4541 (dtv_t): Remove.
4542 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4543 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4544 (dtv_t): Remove.
4545 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4546 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4547 (dtv_t): Remove.
4548 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4549 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4550 (dtv_t): Remove.
4551 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4552 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4553 (dtv_t): Remove.
4554 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4555 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4556 (dtv_t): Remove.
4557 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4558 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4559 (dtv_t): Remove.
4560 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4561 (dtv_t): Remove.
4562 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4563 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4564 (dtv_t): Remove.
4565 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4566 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4567 (dtv_t): Remove.
4568 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4569 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4570 (dtv_t): Remove.
4571 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4572 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4573 (dtv_t): Remove.
4574 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4575 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4576 (dtv_t): Remove.
4577 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4578 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4579 (dtv_t): Remove.
4580 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4581 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4582 (dtv_t): Remove.
4583 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4584 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4585 (dtv_t): Remove.
4586
4587 2016-06-20 Florian Weimer <fweimer@redhat.com>
4588
4589 Revert symbol poisoning of __malloc_initialize_hook.
4590 * include/stdc-predef.h (__malloc_initialize_hook): Remove
4591 poisoning.
4592 * malloc/Makefile: Remove un-poisoning.
4593 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4594 instead of old__malloc_initialize_hook.
4595 * malloc/malloc-hooks.h: Likewise.
4596 * malloc/malloc.c: Likewise.
4597 * malloc/mcheck-init.c: Likewise.
4598
4599 2016-06-19 Carlos O'Donell <carlos@redhat.com>
4600
4601 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4602
4603 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
4604
4605 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4606 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4607 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4608 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4609
4610 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4611
4612 * NEWS: Mention addition of nextup and nextdown.
4613 * manual/arith.texi: Document nextup and nextdown.
4614 * manual/libm-err-tab.pl: Add nextup and nextdown.
4615 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4616 * math/Versions (libm): Add GLIBC_2.24.
4617 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4618 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4619 Add new test.
4620 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4621 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4622 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4623 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4624 (nextup_test_data): Likewise.
4625 (nextdown_test_data): Likewise.
4626 * math/s_nextdown.c: New file.
4627 * math/s_nextdownf.c: Likewise.
4628 * math/s_nextdownl.c: Likewise.
4629 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4630 F(nextup): New function.
4631 F(nextdown): Likewise.
4632 * math/tgmath.h: Add nextup and nextdown.
4633 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4634 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4639 Add nextup and nextdown.
4640 (CFLAGS-nldbl-nextup.c): New variable.
4641 (CFLAGS-nldbl-nextdown.c): Likewise.
4642 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4643 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4644 * sysdeps/nacl/libm.abilist: Update.
4645 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4646 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4647 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4648 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4649 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4650 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4651 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4652 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4653 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4654 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4655 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4656 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4659 Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4669 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4671 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4672 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4673
4674 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4675
4676 * manual/pattern.texi: Fix typos & grammar errors.
4677
4678 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4679
4680 * manual/search.texi: Fix typos & grammar errors.
4681
4682 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4683
4684 * manual/message.texi: Fix typos & grammar errors.
4685
4686 2016-06-16 Mike Frysinger <vapier@gentoo.org>
4687
4688 * manual/contrib.texi: Fix spelling typos.
4689 * manual/crypt.texi: Likewise.
4690 * manual/filesys.texi: Likewise.
4691 * manual/locale.texi: Likewise.
4692 * manual/message.texi: Likewise.
4693 * manual/nss.texi: Likewise.
4694 * manual/string.texi: Likewise.
4695
4696 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4697
4698 * manual/locale.texi: Fix typos & grammar errors.
4699
4700 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4701
4702 * manual/charset.texi: Fix typos & grammar errors.
4703
4704 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4705
4706 * manual/string.texi: Fix typos.
4707
4708 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4709
4710 * manual/ctype.texi: Fix typos.
4711
4712 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
4713
4714 * manual/memory.texi: Fix various typos & grammar errors.
4715
4716 2016-06-14 Joseph Myers <joseph@codesourcery.com>
4717
4718 [BZ #20255]
4719 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
4720 * math/libm-test.inc (fdim_test_data): Add another test.
4721
4722 [BZ #6796]
4723 [BZ #20255]
4724 [BZ #20256]
4725 * math/s_fdim.c: Include <math_private.h>.
4726 (__fdim): Use math_narrow_eval on result.
4727 * math/s_fdimf.c: Include <math_private.h>.
4728 (__fdimf): Use math_narrow_eval on result.
4729 * sysdeps/i386/fpu/s_fdim.S: Remove file.
4730 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4731 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4732 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4733 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4734 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4735 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4736 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4737 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4738 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4739 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4740 * math/libm-test.inc (fdim_test_data): Expect errno setting on
4741 overflow. Add sNaN tests.
4742
4743 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4744 fpclassify.
4745 * math/s_fdimf.c (__fdimf): Likewise.
4746 * math/s_fdiml.c (__fdiml): Likewise.
4747
4748 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4749
4750 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4751 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4753 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4754 ifunc'ed strcasecmp/strncasecmp.
4755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4756 [EALIGN]: Removed.
4757 [END]: Likewise.
4758 [__strcasecmp]: Define instead of the above to control symbol name.
4759 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4760 for __strcasecmp_power8.
4761 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4762 for __strncasecmp_power8.
4763 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4764 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4767 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4768 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4769
4770 2016-06-13 Joseph Myers <joseph@codesourcery.com>
4771
4772 [BZ #20252]
4773 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4774 arguments when second argument is a NaN.
4775 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4776 qNaN tests.
4777
4778 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4779 (conj_test_data): Likewise.
4780 (copysign_test_data): Likewise.
4781 (creal_test_data): Likewise.
4782 (fma_test_data): Likewise.
4783 (fmod_test_data): Likewise.
4784
4785 [BZ #20250]
4786 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4787 itself.
4788 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4789 zero input to itself.
4790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4791 Likewise.
4792 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4793 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4795 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4796 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4797
4798 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4799
4800 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4801 * nptl/tst-cancel4-common.c: New file.
4802 * nptl/tst-cancel4-common.h: Likewise.
4803 * nptl/tst-cancel4.c: Move common definitions to
4804 tst-cancel4-common.{c,h} file.
4805 * nptl/tst-cancel4_1.c: New test.
4806 * nptl/tst-cancel4_2.c: New test.
4807
4808 2016-06-13 Florian Weimer <fweimer@redhat.com>
4809
4810 [BZ #20248]
4811 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4812 (write_message): New function.
4813 (stackoverflow_handler): Call it instead of printf, to avoid
4814 excessive stack usage by printf.
4815 (do_test): Restore SIGSEGV, SIGBUS default handlers.
4816
4817 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4818
4819 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4820 (prio_inherit_missing): Remove define.
4821 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4822 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4823 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4824 Likewise.
4825 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4826 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4827 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4828 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4829 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4830 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4831
4832 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4833
4834 [BZ #19670]
4835 [BZ #19672]
4836
4837 * io/test-lfs.c (do_prepare): Use xmalloc.
4838 * io/tst-fcntl.c (do_prepare): Likewise.
4839 * libio/tst-fopenloc.c (do_bz17916): Likewise.
4840 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4841 * login/tst-utmp.c (do_prepare): Likewise.
4842 * posix/tst-exec.c (do_prepare): Likewise.
4843 * posix/tst-pathconf.c (prepare): Likewise.
4844 * posix/tst-spawn.c (do_prepare): Likewise.
4845 * posix/tst-truncate.c (do_prepare): Likewise.
4846 * rt/tst-aio.c (do_prepare): Likewise.
4847 * rt/tst-aio64.c (do_prepare): Likewise.
4848
4849 2016-06-11 Florian Weimer <fweimer@redhat.com>
4850
4851 [BZ #20237]
4852 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4853 (get*ent): Set entidx to NULL during initialization. If entidx is
4854 NULL, start iteration from the beginning.
4855
4856 2016-06-11 Florian Weimer <fweimer@redhat.com>
4857
4858 * malloc/malloc.c (musable): Return correct size for dumped fake
4859 mmapped chunk.
4860
4861 2016-06-11 Florian Weimer <fweimer@redhat.com>
4862
4863 [BZ #20222]
4864 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4865 (_IO_cookie_write): Likewise.
4866 (_IO_cookie_seek): Likewise.
4867 (_IO_cookie_close): Likewise.
4868 (_IO_old_cookie_seek): Likewise.
4869 (set_callbacks): New function.
4870 (_IO_cookie_init): Call set_callbacks to copy callbacks.
4871
4872 2016-06-11 Marko Myllynen <myllynen@redhat.com>
4873
4874 * locale/programs/localedef.c (oldstyle_tables): Remove.
4875 * locale/programs/localedef.h (oldstyle_tables): Likewise.
4876
4877 2016-06-10 Joseph Myers <joseph@codesourcery.com>
4878
4879 [BZ #20240]
4880 * math/Makefile (CFLAGS-s_modf.c): New variable.
4881 (CFLAGS-s_modff.c): Likewise.
4882 (CFLAGS-s_modfl.c): Likewise.
4883 * math/libm-test.inc (modf_test_data): Add sNaN tests.
4884
4885 2016-06-09 Carlos O'Donell <carlos@redhat.com>
4886
4887 [BZ #20215]
4888 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4889 [!__GNUC_PREREQ (3,2)]: Likewise.
4890
4891 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4892
4893 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4894 (msghdr.msg_controllen): Likewise.
4895 (cmsghdr.cmsg_len): Likewise.
4896 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4897 ptw-oldsendmsg.
4898 (CFLAGS-oldrecvmsg.c): Remove rule.
4899 (CFLAGS-oldsendmsg.c): Likewise.
4900 (CFLAGS-recvmsg.c): Add rule.
4901 (CFLAGS-sendmsg.c): Likewise.
4902 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4903 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4904 (CFLAGS-recvmsg.c): Remove rule.
4905 (CFLAGS-sendmsg.c): Likewise.
4906 (CFLAGS-oldrecvmsg.c): Likewise.
4907 (CFLAGS-oldsendmsg.c): Likewise.
4908 (CFLAGS-recvmmsg.c): Likewise.
4909 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4910 to kernel defined interfaces.
4911 (msghdr.msg_controllen): Likewise.
4912 (cmsghdr.cmsg_len): Likewise.
4913 (msghdr.__glibc_reserved1): Remove member.
4914 (msghdr.__glibc_reserved2): Likewise.
4915 (cmsghdr.__glibc_reserved1): Likewise.
4916 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4917 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4918 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4919 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4920 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4921 version.
4922 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4923 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4924 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4925 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4926 Remove recvmsg and sendmsg.
4927 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4928 Likewise.
4929 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4930 Likewise.
4931 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4932 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4933 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4934 Likewise.
4935 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4936 Likewise.
4937 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4938 [libc] (GLIBC_2.24): Likewise.
4939 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4940 Likewise.
4941 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4942 Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4944 [libc] (GLIBC_2.24): Likewise.
4945 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4946 Likewise.
4947 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4948 Likewise.
4949 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4951 Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4953 Likewise.
4954 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4955 Likewise.
4956 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4957 Likewise.
4958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4959 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4960 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4961 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4962 version for {recv,send,recm,sendm}msg.
4963 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4964 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4965 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4966 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4967 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4968 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4969 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4970 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4971 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4972 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4973 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4974 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4976 Likewise.
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4978 Likewise.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4989 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4992
4993 2016-06-10 Florian Weimer <fweimer@redhat.com>
4994
4995 [BZ #19564]
4996 Remove __malloc_initialize_hook from the API.
4997 * malloc/malloc.h (__malloc_initialize_hook): Remove.
4998 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4999 #pragma GCC poison.
5000 * malloc/malloc-hooks.h: New file.
5001 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5002 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5003 (old__malloc_initialize_hook): Rename from
5004 __malloc_initialize_hook to evade poisoning. Turn into compat
5005 symbol.
5006 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5007 __malloc_initialize_hook.
5008 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5009 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5010 * manual/memory.texi (Hooks for Malloc): Remove
5011 __malloc_initialize_hook. Adjust hook example.
5012
5013 2016-06-09 Joseph Myers <joseph@codesourcery.com>
5014
5015 [BZ #20235]
5016 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5017 itself.
5018 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5019 * math/libm-test.inc (log2_test_data): Add sNaN tests.
5020
5021 [BZ #20234]
5022 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5023 infinity or NaN input to itself.
5024
5025 [BZ #20233]
5026 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5027 to itself.
5028
5029 [BZ #20232]
5030 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5031 itself.
5032
5033 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * sysdeps/x86_64/start.S (_start): Always indirect branch to
5036 __libc_start_main via GOT.
5037
5038 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 * sysdeps/x86_64/memcopy.h: New file.
5041 * sysdeps/x86_64/wordcopy.c: Likewise.
5042
5043 2016-06-09 Florian Weimer <fweimer@redhat.com>
5044
5045 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5046 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5047 <cstdlib>.
5048 (optimization_barrier): New.
5049 (do_test): Use it. Call quick_exit in the global namespace.
5050 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5051 instead of <cstdlib>, <thread>.
5052 (optimization_barrier): New.
5053 (non_main_thread): Adjust declaration. Call optimization_barrier.
5054 Call quick_exit in the global namespace.
5055 (do_test): Call optimization_barrier. Use pthread_create,
5056 pthread_join instead of std::thread.
5057
5058 2016-06-09 Andreas Schwab <schwab@suse.de>
5059
5060 [BZ #19755]
5061 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5062 new entries in auto-propagate mode.
5063 * nscd/grpcache.c (cache_addgr): Likewise.
5064
5065 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5066
5067 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5068 New functions.
5069 (add_temp_file): Use them.
5070
5071 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
5072
5073 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5074
5075 2016-06-08 Joseph Myers <joseph@codesourcery.com>
5076
5077 [BZ #20229]
5078 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5079 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5080 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5081
5082 [BZ #20228]
5083 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5084 itself.
5085 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5086 * math/libm-test.inc (log10_test_data): Add sNaN tests.
5087
5088 [BZ #20227]
5089 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5090 itself.
5091 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5092 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5093 * math/libm-test.inc (log_test_data): Add sNaN tests.
5094
5095 [BZ #20226]
5096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5097 itself.
5098 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5099 * math/libm-test.inc (exp_test_data): Add sNaN tests.
5100 (exp10_test_data): Likewise.
5101 (expm1_test_data): Likewise.
5102
5103 [BZ #20225]
5104 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5105 itself.
5106 * math/s_ldexpf.c (__ldexpf): Likewise.
5107 * math/s_ldexpl.c (__ldexpl): Likewise.
5108 * math/w_scalbln.c (__w_scalbln): Likewise.
5109 * math/w_scalblnf.c (__w_scalblnf): Likewise.
5110 * math/w_scalblnl.c (__w_scalblnl): Likewise.
5111 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5112 (scalbln_test_data): Likewise.
5113
5114 [BZ #20224]
5115 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5116 argument to itself.
5117 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5118
5119 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
5120
5121 [BZ #19776]
5122 * sysdeps/x86_64/memcpy.S: Make it dummy.
5123 * sysdeps/x86_64/mempcpy.S: Likewise.
5124 * sysdeps/x86_64/memmove.S: New file.
5125 * sysdeps/x86_64/memmove_chk.S: Likewise.
5126 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5127 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5128 * sysdeps/x86_64/memmove.c: Removed.
5129 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5131 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5132 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5133 Likewise.
5134 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5135 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5137 memcpy-sse2-unaligned, memmove-avx-unaligned,
5138 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5140 (__libc_ifunc_impl_list): Replace
5141 __memmove_chk_avx512_unaligned_2 with
5142 __memmove_chk_avx512_unaligned. Remove
5143 __memmove_chk_avx_unaligned_2. Replace
5144 __memmove_chk_sse2_unaligned_2 with
5145 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
5146 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
5147 with __memmove_avx512_unaligned. Replace
5148 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5149 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
5150 with __memcpy_chk_avx512_unaligned. Remove
5151 __memcpy_chk_avx_unaligned_2. Replace
5152 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5153 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
5154 Replace __memcpy_avx512_unaligned_2 with
5155 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
5156 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
5157 with __mempcpy_chk_avx512_unaligned. Remove
5158 __mempcpy_chk_avx_unaligned_2. Replace
5159 __mempcpy_chk_sse2_unaligned_2 with
5160 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
5161 Replace __mempcpy_avx512_unaligned_2 with
5162 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
5163 Replace __mempcpy_sse2_unaligned_2 with
5164 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
5165 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5166 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5167 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5168 if processor has ERMS. Default to __memcpy_sse2_unaligned.
5169 (ENTRY): Removed.
5170 (END): Likewise.
5171 (ENTRY_CHK): Likewise.
5172 (libc_hidden_builtin_def): Likewise.
5173 Don't include ../memcpy.S.
5174 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5175 __memcpy_chk_avx512_unaligned_erms and
5176 __memcpy_chk_avx512_unaligned. Use
5177 __memcpy_chk_avx_unaligned_erms and
5178 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5179 Default to __memcpy_chk_sse2_unaligned.
5180 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5181 Change function suffix from unaligned_2 to unaligned.
5182 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5183 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5184 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5185 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
5186 (ENTRY): Removed.
5187 (END): Likewise.
5188 (ENTRY_CHK): Likewise.
5189 (libc_hidden_builtin_def): Likewise.
5190 Don't include ../mempcpy.S.
5191 (mempcpy): New. Add a weak alias.
5192 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5193 __mempcpy_chk_avx512_unaligned_erms and
5194 __mempcpy_chk_avx512_unaligned. Use
5195 __mempcpy_chk_avx_unaligned_erms and
5196 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5197 Default to __mempcpy_chk_sse2_unaligned.
5198
5199 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
5200
5201 [BZ #19881]
5202 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5203 into ...
5204 * sysdeps/x86_64/memset.S: This.
5205 (__bzero): Removed.
5206 (__memset_tail): Likewise.
5207 (__memset_chk): Likewise.
5208 (memset): Likewise.
5209 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5210 defined.
5211 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5212 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5213 (__memset_zero_constant_len_parameter): Check SHARED instead of
5214 PIC.
5215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5216 memset-avx2 and memset-sse2-unaligned-erms.
5217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5218 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5219 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5220 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5221 (__bzero): Enabled.
5222 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5223 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5224 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
5225 or __memset_avx2_unaligned_erms if processor has ERMS. Support
5226 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5227 (memset): Removed.
5228 (__memset_chk): Likewise.
5229 (MEMSET_SYMBOL): New.
5230 (libc_hidden_builtin_def): Replace __memset_sse2 with
5231 __memset_sse2_unaligned.
5232 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5233 __memset_chk_sse2 and __memset_chk_avx2 with
5234 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5235 Use __memset_chk_sse2_unaligned_erms or
5236 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
5237 __memset_chk_avx512_unaligned_erms and
5238 __memset_chk_avx512_unaligned.
5239
5240 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5241
5242 * math/gen-auto-libm-test.c (fp_format_desc): remove
5243 suffix member.
5244 (output_generic_value): Remove usage of suffix member,
5245 and the resulting unuse of the fp_format argument.
5246 (output_for_one_input_case): Remove unused fp_format
5247 parameter.
5248
5249 * math/auto-libm-test-out: Regenerate.
5250
5251 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5252 usage with TEST_COND_ibm128.
5253 (TEST_COND_flt_32): Remove.
5254 (TEST_COND_dbl_64): Remove.
5255 (TEST_COND_ldbl_96_intel): Remove.
5256 (TEST_COND_ldbl_96_m68k): Remove.
5257 (TEST_COND_ldbl_128): Remove.
5258
5259 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5260
5261 * auto-libm-test-in:
5262 Replace flt-32 usage with binary32.
5263 Replace dbl-64 usage with binary64.
5264 Replace ldbl-intel-96 usage with intel96.
5265 Replace ldbl-m68k-96 usage with m68k96.
5266 Replace ldbl-128ibm usage with ibm128.
5267 Replace ldbl-128 usage with binary128.
5268
5269 * auto-libm-test-out: Regenerate.
5270
5271 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5272
5273 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5274 (parse_ulps): Dynamically generate type name matching
5275 string from all_floats.
5276 (get_ulps): Generate the ulps as an array instead.
5277 (output_ulps): Dynamically compose the type based
5278 on the number of supported formats, and print
5279 the indices as type specific helper macros.
5280
5281 * math/libm-test.inc: Remove comment about CHOOSE.
5282 (ulp_data): Generate the type in libm-test-ulps.h.
5283 (ULP_IDX): New macro.
5284 (find_ulps): Update usage of max_ulp.
5285
5286 * math/test-double-vlen2.h (CHOOSE): Remove.
5287 * math/test-double-vlen4.h (CHOOSE): Likewise.
5288 * math/test-double-vlen8.h (CHOOSE): Likewise.
5289 * math/test-float.c (CHOOSE): Likewise.
5290 * math/test-float-finite.c (CHOOSE): Likewise.
5291 * math/test-double.c (CHOOSE): Likewise.
5292 * math/test-double-finite.c (CHOOSE): Likewise.
5293 * math/test-idouble.c (CHOOSE): Likewise.
5294 * math/test-ifloat.c (CHOOSE): Likewise.
5295 * math/test-ildoubl.c (CHOOSE): Likewise.
5296 * math/test-ldouble-finite.c (CHOOSE): Likewise.
5297 * math/test-ldouble.c (CHOOSE): Likewise.
5298
5299 * math/test-float.h (TEST_FLOAT): Remove.
5300 * math/test-double.h (TEST_DOUBLE): Likewise.
5301 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5302
5303 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5304
5305 * math/gen-libm-test.pl: (apply_lit): New subroutine.
5306 (parse_args): Strip C suffix from floating point literals
5307 typed with 'f' and wrap them with LIT().
5308
5309 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5310 (test_ff_f_data_nexttoward): Rename to
5311 (test_fj_f_data): New struct.
5312 (nexttoward_test_data): Relabel tests as
5313 TEST_fj_f instead of TEST_ff_f.
5314
5315 2016-06-08 Florian Weimer <fweimer@redhat.com>
5316
5317 Emacs bug 23726.
5318 * malloc/malloc.c (dumped_main_arena_start): Update comment.
5319 (__libc_realloc): Correct size computation for dumped fake mmapped
5320 chunks.
5321
5322 2016-06-07 Joseph Myers <joseph@codesourcery.com>
5323
5324 [BZ #20219]
5325 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5326 to itself.
5327 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5328
5329 [BZ #20218]
5330 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5331 to itself.
5332 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5333
5334 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
5335
5336 [BZ #20195]
5337 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5338 check to ...
5339 (init_cpu_features): Here.
5340
5341 2016-06-07 Carlos O'Donell <carlos@redhat.com>
5342
5343 [BZ #20214]
5344 * sysdeps/unix/sysv/linux/bits/in.h
5345 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5346 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5347 Define to 1.
5348 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5349 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5350 Define to 0.
5351 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5352 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5353
5354 2016-06-06 Carlos O'Donell <carlos@redhat.com>
5355
5356 [BZ #20198]
5357 * stdlib/Makefile (tests): Add tst-quick_exit, and
5358 tst-thread-quick_exit.
5359 [ifeq ($(have-cxx-thread_local),yes)]
5360 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5361 (CFLAGS-tst-thread-quick_exit.o): Likewise.
5362 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5363 (LDLIBS-tst-thread-quick_exit): Likewise.
5364 [ifneq ($(have-cxx-thread_local),yes)]
5365 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5366 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5367 If run_dtors is true call __call_tls_dtors.
5368 (exit): Call __run_exit_handlers with run_dtors set to true.
5369 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5370 definition.
5371 * stdlib/quick_exit.c (quick_exit): Remove function.
5372 (__new_quick_exit): New function.
5373 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5374 function.
5375 * stdlib/tst-quick_exit.cc: New file.
5376 * stdlib/tst-thread-quick_exit.cc: New file.
5377 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5378 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5380 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5381 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5382 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5383 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5384 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5385 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5386 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5387 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5388 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5389 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5392 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5397 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5399 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5400 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5404 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5405 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5406 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5407
5408 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
5409
5410 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5411 a typo in comments.
5412
5413 2016-06-06 Joseph Myers <joseph@codesourcery.com>
5414
5415 [BZ #20213]
5416 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5417 argument to itself.
5418 * math/libm-test.inc (asin_test_data): Add sNaN tests.
5419
5420 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5421
5422 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5423 required flags.
5424 (CFLAGS-pwritev64.c): Likewise.
5425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5427 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5428 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5429 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5430 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5431 syscall from auto-generation.
5432 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5433 [WORDSIZE == 64] (pwritev64): Remove macro.
5434 [!PWRITEV] (PWRITEV): Likewise.
5435 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5436 [!PWRITEV] (PWRITE): Likewise.
5437 [!PWRITEV] (OFF_T): Likewise.
5438 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5439 (LO_HI_LONG): Remove macro.
5440 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5441 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5442 (PWRITEV): Remove macro.
5443 (PWRITEV_REPLACEMENTE): Likewise.
5444 (PWRITE): Likewise.
5445 (OFF_T): Likewise.
5446 (pwritev64): New function.
5447 * nptl/tst-cancel4.c (tf_writev): Add test.
5448
5449 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5450 required flags.
5451 (CFLAGS-preadv64.c): Likewise.
5452 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5453 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5454 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5455 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5456 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5458 syscall from auto-generation.
5459 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5460 [WORDSIZE == 64] (preadv64): Remove macro.
5461 [!PREADV] (PREADV): Likewise.
5462 [!PREADV] (PREADV_REPLACEMENT): Likewise.
5463 [!PREADV] (PREAD): Likewise.
5464 [!PREADV] (OFF_T): Likewise.
5465 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5466 (LO_HI_LONG): Remove macro.
5467 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5468 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5469 (PREADV): Remove macro.
5470 (PREADV_REPLACEMENTE): Likewise.
5471 (PREAD): Likewise.
5472 (OFF_T): Likewise.
5473 (preadv64): New function.
5474 * nptl/tst-cancel4.c (tf_preadv): Add test.
5475
5476 2016-06-06 Joseph Myers <joseph@codesourcery.com>
5477
5478 [BZ #20212]
5479 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5480 argument to itself.
5481 * math/libm-test.inc (acos_test_data): Add sNaN tests.
5482
5483 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5484
5485 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5486 New symbol defined as libc_hidden_def.
5487 (strcasestr): Became a weak alias to __strcasestr.
5488 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5489 according to multi-arch support. Move __stpncpy hidden
5490 definition from here to...
5491 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
5492 symbol stpncpy.
5493 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5494 libc_hidden_builtin_def.
5495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5496 memset symbol to use when multi-arch support is available.
5497
5498 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
5499
5500 * dlfcn/tst-rec-dlopen.c: Include string.h.
5501
5502 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5503
5504 * manual/install.texi: Remove mention of --without-tls
5505 * INSTALL: Regenerate.
5506
5507 2016-06-05 Florian Weimer <fweimer@redhat.com>
5508
5509 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5510 Remove.
5511 (call_function, interposed_malloc_called): New variables.
5512 (malloc): New function.
5513 (do_test): Do not change malloc hooks. Initialize malloc. Set
5514 and clear call_function as needed.
5515
5516 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
5517
5518 * include/wchar.h (__wmemset): Use __typeof.
5519
5520 2016-06-03 Carlos O'Donell <carlos@redhat.com>
5521
5522 * include/wchar.h (__wmemset): Declare function without typeof.
5523
5524 2016-06-03 Joseph Myers <joseph@codesourcery.com>
5525
5526 [BZ #20205]
5527 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5528 exponent when incrementing negative subnormal with low mantissa
5529 word zero.
5530 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5531 Add another test.
5532
5533 2016-06-03 Florian Weimer <fweimer@redhat.com>
5534
5535 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5536 __wmemset instead of wmemset.
5537
5538 2016-06-02 Carlos O'Donell <carlos@redhat.com>
5539
5540 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5541 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5542 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5543 __USE_KERNEL_IPV6_DEFS to 0.
5544 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5545 Update comment.
5546
5547 2016-06-01 Florian Weimer <fweimer@redhat.com>
5548
5549 [BZ #19861]
5550 Do not use IFUNC resolver with potentially unrelocated symbol.
5551 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5552 (DEFINE_FORK): Remove macro and inline definition.
5553 (fork_alias): Renamed from fork_ifunc.
5554 (__fork_alias): Renamed from __fork_ifunc.
5555
5556 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5557
5558 [BZ 19653]
5559 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5560 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5561
5562 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5563
5564 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5565 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5566 i386-linux-gnu).
5567 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5568 Set to no.
5569 * sysdeps/mach/hurd/configure: Refresh.
5570
5571 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5572
5573 [BZ #20178]
5574 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5575 on failure instead of exit.
5576
5577 2016-05-30 Roland McGrath <roland@hack.frob.com>
5578
5579 [BZ #3629]
5580 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5581 of POSIX.1-2008.
5582
5583 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5584
5585 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5586 Use PLT entry for calling _hurd_self_sigstate.
5587
5588 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
5589
5590 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5591 available logical processors with SMT level type sharing L2
5592 cache for Intel processors.
5593
5594 2016-05-27 Joseph Myers <joseph@codesourcery.com>
5595
5596 [BZ #20160]
5597 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5598 argument to itself before returning the result.
5599 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5600 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5601 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5603 Likewise.
5604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5605 Likewise.
5606 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5607 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5608 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5609 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5610 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5611 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5612
5613 [BZ #20160]
5614 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5615 argument to itself before returning the result.
5616 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5617 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5618 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5620 Likewise.
5621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5622 Likewise.
5623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5624 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5625 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5627 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5628 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5629
5630 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5631
5632 * libm-test.inc: Replace usage of M_El with
5633 (lit_e): New macro.
5634
5635 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5636
5637 * libm-test.inc: Replace usage of M_PI_4l with
5638 (lit_pi_4_d): New macro.
5639
5640 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5641
5642 * libm-test.inc: Replace usage of M_PIl with
5643 (lit_pi): New macro.
5644
5645 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5646
5647 * libm-test.inc: Replace usage of M_PI2l with
5648 (lit_pi_2_d): New macro.
5649
5650 * math/test-double.h (LITM): New macro.
5651 * math/test-float.h (LITM): Likewise.
5652 * math/test-ldouble.h (LITM): Likewise.
5653
5654 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5655
5656 * libm-test.inc (M_PI_34l): Rename to
5657 (lit_pi_3_m_4_d): New Macro.
5658 (M_PI_34_LOG10El): Rename to
5659 (lit_pi_3_m_4_ln10_m_d): New Macro.
5660 (M_PI2_LOG10El): Rename to
5661 (lit_pi_2_ln10_m_d): New Macro.
5662 (M_PI4_LOG10El): Rename to
5663 (lit_pi_4_ln10_m_d): New Macro.
5664 (M_PI_LOG10El): Rename to
5665 (lit_pi_ln10_d): New Macro.
5666
5667 2016-05-27 Joseph Myers <joseph@codesourcery.com>
5668
5669 [BZ #20157]
5670 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5671 determine whether to negate low half if [_ARCH_PPCGR], and integer
5672 comparison otherwise.
5673 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5674 determine whether to negate low half.
5675
5676 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5677 (NO_TEST_INLINE_DOUBLE): Likewise.
5678 (TEST_COND_x86_64): Likewise.
5679 (TEST_COND_x86): Likewise.
5680 (M_PI_6l): Likewise.
5681
5682 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5683
5684 * math/libm-test.inc:
5685 (TEST_FLOAT): Change usage to TEST_COND_binary32.
5686 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5687 (TEST_LDOUBLE): Update usage to evaluate as true if
5688 the guarded tests match the property being tested.
5689 (LDBL_MAX_EXP): Change to MAX_EXP.
5690 (LDBL_MIN_EXP): Change to MIN_EXP.
5691 (LDBL_MANT_DIG): Change to MANT_DIG, except for
5692 nexttoward tests.
5693
5694 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5695
5696 * math/libm-test.inc:
5697 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5698 (TYPE_MIN): Likewise.
5699 (TYPE_TRUE_MIN): Likewise.
5700 (TYPE_MAX): Likewise.
5701 (MIN_EXP): Likewise.
5702 (MAX_EXP): Likewise.
5703 (MANT_DIG): Likewise.
5704
5705 (FSTR_MAX): New macro.
5706 (__CONCATX): Likewise.
5707 (QTYPE_STR): Likewise.
5708 (TEST_COND_binary32): Likewise.
5709 (TEST_COND_binary64): Likewise.
5710 (TEST_COND_binary128): Likewise.
5711 (TEST_COND_ibm128): Likewise.
5712 (TEST_COND_intel96): Likewise.
5713 (TEST_COND_m68k96): Likewise.
5714
5715 (TEST_COND_flt_32): Redefine as equivalent format test macro.
5716 (TEST_COND_dbl_64): Likewise.
5717 (TEST_COND_ldbl_96_intel): Likewise.
5718 (TEST_COND_ldbl_96_m68k): Likewise.
5719 (TEST_COND_ldbl_128): Likewise.
5720 (TEST_COND_ldbl_128ibm): Likewise.
5721
5722 (plus_zero): Redefine using LIT macro.
5723 (minus_zero): Likewise.
5724 (plus_infty): Redefine as (INF).
5725 (minux_infty): Redefine as (-INF).
5726 (max_value): Redefine as TYPE_MAX.
5727 (min_value): Redefine as TYPE_MIN.
5728 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5729
5730 (print_float): Refactor to use snprintf to convert FLOAT values
5731 to string. This brings it closer to dropin replacement of strtof
5732 for the TS 18661 defined types.
5733 (update_stats): Likewise.
5734 (print_complex_function_ulps): Likewise.
5735 (print_max_error): Likewise.
5736 (print_complex_max_error): Likewise.
5737 (check_float_internal): Likewise.
5738
5739 * math/test-float.h (PREFIX): New macro.
5740 (LIT): Likewise.
5741 (TYPE_STR): Likewise.
5742 (FTOSTR): Likewise.
5743
5744 * math/test-double.h (PREFIX): New macro.
5745 (LIT): Likewise.
5746 (TYPE_STR): Likewise.
5747 (FTOSTR): Likewise.
5748
5749 * math/test-ldouble.h (PREFIX): New macro.
5750 (LIT): Likewise.
5751 (TYPE_STR): Likewise.
5752 (FTOSTR): Likewise.
5753
5754 2016-05-27 Joseph Myers <joseph@codesourcery.com>
5755
5756 [BZ #20156]
5757 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5758 to itself when zero or not finite.
5759 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5760 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5763
5764 2016-05-26 Joseph Myers <joseph@codesourcery.com>
5765
5766 [BZ #20153]
5767 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5768 x * x + x for infinities and NaNs.
5769
5770 [BZ #20151]
5771 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5772 argument to itself before returning result.
5773 (__ieee754_y0l): Likewise.
5774 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5775 (__ieee754_y1l).
5776
5777 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5778 (atan_test_data): Likewise.
5779 (ceil_test_data): Likewise.
5780 (cos_test_data): Likewise.
5781 (cosh_test_data): Likewise.
5782 (erf_test_data): Likewise.
5783 (exp2_test_data): Likewise.
5784 (fabs_test_data): Likewise.
5785 (floor_test_data): Likewise.
5786 (ilogb_test_data): Likewise.
5787 (j0_test_data): Likewise.
5788 (j1_test_data): Likewise.
5789 (jn_test_data): Likewise.
5790 (lgamma_test_data): Likewise.
5791 (lrint_test_data): Likewise.
5792 (llrint_test_data): Likewise.
5793 (logb_test_data): Likewise.
5794 (lround_test_data): Likewise.
5795 (llround_test_data): Likewise.
5796 (nearbyint_test_data): Likewise.
5797 (rint_test_data): Likewise.
5798 (round_test_data): Likewise.
5799 (sin_test_data): Likewise.
5800 (sincos_test_data): Likewise.
5801 (sinh_test_data): Likewise.
5802 (sqrt_test_data): Likewise.
5803 (tan_test_data): Likewise.
5804 (tanh_test_data): Likewise.
5805 (tgamma_test_data): Likewise.
5806 (trunc_test_data): Likewise.
5807 (y0_test_data): Likewise.
5808 (y1_test_data): Likewise.
5809 (yn_test_data): Likewise.
5810
5811 * math/libm-test.inc: Update comment about NaN testing.
5812 (TEST_SNAN): New macro.
5813 (snan_value): Likewise.
5814 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5815 (fpclassify_test_data): Add sNaN tests.
5816 (isfinite_test_data): Likewise.
5817 (isinf_test_data): Likewise.
5818 (isnan_test_data): Likewise.
5819 (isnormal_test_data): Likewise.
5820 (issignaling_test_data): Likewise.
5821 (signbit_test_data): Likewise.
5822 * math/gen-libm-test.pl (%beautify): Add snan_value.
5823 (show_exceptions): Add argument $test_snan.
5824 (parse_args): Handle snan_value as non-finite. Update call to
5825 show_exceptions.
5826 * math/Makefile (libm-test-no-inline-cflags): Add
5827 -fsignaling-nans.
5828
5829 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5830
5831 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5832 (CFLAGS-oldsendmsg.c): Add rule.
5833 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5834 Correct recvmsg symbol name.
5835 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5836 Likewise.
5837
5838 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5839
5840 * sysdeps/unix/sysv/linux/Makefile
5841 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5842 oldsendmmsg.
5843 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5844 sendmmsg.
5845 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5846 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5847 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5848 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5850 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5851 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5853 Likewise.
5854 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5855 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5856 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5857 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5858 iovlen and controllen fields to adjust to POSIX specification.
5859 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5860
5861 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5862 and change to correct expected type.
5863 (msghdr.msg_controllen): Likewise.
5864 (cmsghdr.cmsg_len): Likewise.
5865 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5866 expected POSIX assumption about the size.
5867 (msghdr.msg_controllen): Likewise.
5868 (msghdr.__glibc_reserved1): Likewise.
5869 (msghdr.__glibc_reserved2): Likewise.
5870 (cmsghdr.cmsg_len): Likewise.
5871 (cmsghdr.__glibc_reserved1): Likewise.
5872 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5873 Add ptw-oldrecvmsg and ptw-oldsendmsg.
5874 (CFLAGS-sendmsg.c): Remove rule.
5875 (CFLAGS-recvmsg.c): Likewise.
5876 (CFLAGS-oldsendmsg.c): Add rule.
5877 (CFLAGS-oldrecvmsg.c): Likewise.
5878 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5879 recvmsg and sendmsg.
5880 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5881 Likewise.
5882 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5883 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5884 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5885 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5886 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5887 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5888 Likewise.
5889 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5890 Likewise.
5891 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5892 Likewise.
5893 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5894 Likewise.
5895 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5896 Likewise.
5897 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5898 Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5900 (GLIBC_2.24): Likewise.
5901 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5902 Likewise.
5903 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5904 Likewise.
5905 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5906 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5907 Likewise.
5908 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5909 Likewise.
5910 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5911 Likewise.
5912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5913 (GLIBC_2.24): Likewise.
5914 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5915 Likewise.
5916 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5917 Likewise.
5918 * sysdeps/unix/sysv/linux/Makefile
5919 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5920 (CFLAGS-sendmsg.c): Add rule.
5921 (CFLAGS-recvmsg.c): Likewise.
5922 (CFLAGS-oldsendmsg.c): Likewise.
5923 (CFLAGS-oldrecvmsg.c): Likewise.
5924 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5925 initialization.
5926 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5927 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5928 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5929 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5930 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5931 iovlen and controllen fields to adjust to POSIX specification.
5932 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5933 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5934 added recvmsg and sendmsg.
5935 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5936 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5937 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5939 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5940 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5941 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5942 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5943 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5945 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5946 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5948 Likewise.
5949 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5951 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5952 Likewise.
5953 Likewise.
5954 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5955 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5956 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5963 Likewise.
5964 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5965 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5966
5967 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5968 from auto-generation.
5969 (sendmsg): Likewise.
5970 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5971 (sendmsg): Likewise.
5972 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5973 (sendmsg): Likewise.
5974 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5975 (sendmsg): Likewise.
5976 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5977 (sendmsg): Likewise.
5978 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5979 (sendmsg): Likewise.
5980 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5981 Likewise.
5982 (sendmsg): Likewise.
5983 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5984 (sendmsg): Likewise.
5985 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5986 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5987 Remove.
5988 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5989 Likewise.
5990 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5991 Undefine.
5992 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5993 Likewise.
5994 * sysdeps/unix/sysv/linux/kernel-features.h
5995 (__ASSUME_SENDMSG_SYSCALL): Define.
5996 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5997 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5998 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5999 Remove.
6000 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6001 Likewise.
6002 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6003 Undefine.
6004 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6005 Likewise.
6006 * sysdeps/unix/sysv/linux/s390/kernel-features.h
6007 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6008 Remove.
6009 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6010 Likewise.
6011 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6012 Undefine.
6013 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6014 Likewise.
6015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6016 (__ASSUME_SENDMSG_SYSCALL): Undefine.
6017 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6018 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6019 (__ASSUME_SENDMSG_SYSCALL): Likewise.
6020 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6021 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6022 (__ASSUME_SENDMSG_SYSCALL): Likewise.
6023 (__ASSUME_RECVMSG_SYSCALL): Likewise.
6024
6025 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6026
6027 * stdlib/gen-tst-strtod-round.c: Add backslash to
6028 compile command in comment.
6029 (printfp): Remove the literal suffix, and define an infinite
6030 value as INF to avoid expansion clash with INFINITY.
6031 (round_str): Remove the literal suffix.
6032 (round_for_all): Likewise, remove the now duplicate ldbl-64
6033 entry, and remove some magic constants.
6034
6035 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6036 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
6037 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6038 (_CONCAT): New macro.
6039 (CONCAT): Likewise.
6040 (CHOOSE_ld): Likewise.
6041 (CHOOSE_f): Likewise.
6042 (CHOOSE_d): Likewise.
6043 (FTYPE_MEMBER): Likewise.
6044 (BOOL_MEMBER): Likewise.
6045 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6046 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6047 (_XNTRY): Likewise.
6048 (XNTRY): Likewise.
6049 (_ENTRY): Likewise.
6050 (ENTRY): Likewise.
6051 (test_exactness): Generate members via macro.
6052 (test_results): Likewise.
6053 (test): Update members.
6054 (TEST): Redefine using new macros.
6055 (INF): New macro.
6056 (fetestmodes): New structure.
6057 (do_test): Refactor to be type generic.
6058 (test_in_one_mode): Refactor duplicate code into
6059 (GEN_ONE_TEST): New macro.
6060
6061 * stdlib/tst-strtod-round-data.h: Regenerate.
6062
6063 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6064 Extend to pass additional arbitrary parameters to
6065 generators.
6066
6067 2016-05-25 Joseph Myers <joseph@codesourcery.com>
6068
6069 [BZ #15479]
6070 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6071 floating-point state after first floating-point operation on
6072 input. Restore full floating-point state instead of just rounding
6073 mode.
6074 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6075 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6076 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6077 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6078 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6079
6080 [BZ #15479]
6081 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6082 floating-point state after first floating-point operation on
6083 input. Restore full floating-point state instead of just rounding
6084 mode.
6085 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6086 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6087 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6088 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6089 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6090
6091 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6092
6093 [BZ #19727]
6094 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6095 valid high surrogate.
6096 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6097 of an utf16 surrogate.
6098 * iconv/gconv_simple.c (BODY): Likewise.
6099 * iconvdata/bug-iconv12.c: New file.
6100 * iconvdata/Makefile (tests): Add bug-iconv12.
6101
6102 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6103
6104 [BZ #19726]
6105 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6106 outptrp in case of an illegal input.
6107 * iconv/tst-iconv6.c: New file.
6108 * iconv/Makefile (tests): Add tst-iconv6.
6109
6110 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6111
6112 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6113 an error in case of a value in range of an utf16 low surrogate.
6114
6115 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6116
6117 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6118 an error in case of a value in range of an utf16 low surrogate.
6119
6120 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6121
6122 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6123 Move to ...
6124 * sysdeps/s390/Makefile: ... here.
6125 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6126 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6127 (BRANCH_ON_COUNT): New define.
6128 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6129 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6130 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6131 run on s390-32, too.
6132 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6133 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6134 run on s390-32, too.
6135 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6136 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6137 run on s390-32, too.
6138
6139 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6140
6141 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6142 etf3eh or new vector loop-variant.
6143
6144 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6145
6146 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6147 etf3eh or new vector loop-variant.
6148
6149 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6150
6151 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6152 or new vector loop-variant.
6153
6154 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6155
6156 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6157 Rename to TR_LOOP and usage of tr instead of troo instruction.
6158
6159 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6160
6161 * sysdeps/s390/multiarch/gconv_simple.c: New File.
6162 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6163
6164 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6165
6166 * sysdeps/s390/multiarch/8bit-generic.c: New File.
6167 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6168 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6169 New override define.
6170 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6171
6172 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6173
6174 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6175 * sysdeps/s390/configure.ac: Add test for S390 vector register
6176 support in gcc.
6177 * sysdeps/s390/configure: Regenerated.
6178
6179 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6180
6181 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6182 Install file from $(objpfx)gconv-modules.
6183 ($(objpfx)gconv-modules): Concatenate architecture specific file
6184 in variable sysdeps-gconv-modules and gconv-modules in src dir.
6185 * sysdeps/s390/gconv-modules: New file.
6186 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6187 Deleted.
6188 ($(objpfx)gconv-modules-s390): Deleted.
6189 (sysdeps-gconv-modules): New variable.
6190
6191 2016-05-24 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #15479]
6194 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6195 of immediate operand to rounding instruction.
6196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6197 Likewise.
6198 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6199 Likewise.
6200 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6201 Likewise.
6202
6203 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6204
6205 * math/libm-test.inc (MIN_EXP): Directly define as
6206 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6207
6208 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6209
6210 * math/libm-test.inc (MANT_DIG): Directly define as
6211 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6212
6213 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6214
6215 * stdlib/gen-tst-strtod-round.c (main):
6216 Change usage to more closely match the generated
6217 output. Add usage and compilation instructions.
6218 (string_to_fp): Add and use FILE* parameter as
6219 output target.
6220 (print_fp): Likewise.
6221 (round_str): Likewise.
6222 (round_for_all): Likewise.
6223 * stdlib/tst-strtod-round.c (tests): Move into
6224 * stdlib/tst-strtod-round-data.h: New file.
6225
6226 2016-05-24 Joseph Myers <joseph@codesourcery.com>
6227
6228 [BZ #15479]
6229 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6230 (__round): Do not force "inexact" exception.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6232 variable.
6233 (__round): Do not force "inexact" exception.
6234 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6235 (__roundf): Do not force "inexact" exception.
6236 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6237 (__roundl): Do not force "inexact" exception.
6238 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6239 (__roundl): Do not force "inexact" exception.
6240 * math/libm-test.inc (round_test_data): Do not allow spurious
6241 "inexact" exceptions.
6242
6243 [BZ #15479]
6244 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6245 exception in comment.
6246 (huge): Remove variable.
6247 (__floor): Do not force "inexact" exception.
6248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6249 "inexact" exception in comment.
6250 (huge): Remove variable.
6251 (__floor): Do not force "inexact" exception.
6252 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6253 exception in comment.
6254 (huge): Remove variable.
6255 (__floorf): Do not force "inexact" exception.
6256 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6257 exception in comment.
6258 (huge): Remove variable.
6259 (__floorl): Do not force "inexact" exception.
6260
6261 [BZ #15479]
6262 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6263 exception in comment.
6264 (huge): Remove variable.
6265 (__ceil): Do not force "inexact" exception.
6266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6267 "inexact" exception in comment.
6268 (huge): Remove variable.
6269 (__ceil): Do not force "inexact" exception.
6270 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6271 (__ceilf): Do not force "inexact" exception.
6272 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6273 exception in comment.
6274 (huge): Remove variable.
6275 (__ceill): Do not force "inexact" exception.
6276
6277 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 * config.h.in (BIND_NOW): New.
6280 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
6281 * configure: Regenerated.
6282 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6283 indirect branch via the GOT slot.
6284
6285 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6286
6287 [BZ #19765]
6288 * sysdeps/s390/mempcpy.S: New File.
6289 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6291 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6292 Add mempcpy variants.
6293 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6294 (memcpy): Adjust to be usable from mempcpy entry point.
6295 (__memcpy_mvcle): Likewise.
6296 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6297 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6298 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6299 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6300 (__memcpy_z10): Likewise.
6301 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6302
6303 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6304
6305 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6306 Remove __GI_ symbol.
6307 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6308 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6309 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6310 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6311 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6312 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6313
6314 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6315
6316 * sysdeps/s390/s390-64/memcpy.S (memcpy):
6317 Use cghi instead of chi to compare 64bit value.
6318
6319 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6320
6321 * sysdeps/s390/s390-32/memcpy.S (memcpy):
6322 Jump to 1MB check before executing mvc-loop.
6323
6324 2016-05-24 Florian Weimer <fweimer@redhat.com>
6325
6326 [BZ #6527]
6327 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6328 unconditionally.
6329 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6330
6331 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6332
6333 * stdlib/tst-strtod6.c (do_test): Use new type generic
6334 invocation of the test function.
6335 (test): Refactor into ...
6336 (TEST_STRTOD): New macro base function.
6337
6338 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6339
6340 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6341 (TEST_STRTOD): New macro.
6342 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6343
6344 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6345
6346 * stdlib/tst-strtod6.c (do_test): Use new type generic
6347 invocation of the test function.
6348 (test): Refactor into ...
6349 (TEST_STRTOD): New macro base function.
6350
6351 2016-05-23 Florian Weimer <fweimer@redhat.com>
6352
6353 CVE-2016-4429
6354 [BZ #20112]
6355 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6356 payload.
6357
6358 2016-05-23 Florian Weimer <fweimer@redhat.com>
6359
6360 [BZ #20111]
6361 * bits/sockaddr.h (_SS_SIZE): Define.
6362 * bits/socket.h (_SS_SIZE): Remove.
6363 (_SS_PADSIZE): Adjust to account for all padding.
6364 (struct sockaddr_storage): Update comment. Avoid implicit
6365 padding.
6366 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6367 (_SS_PADSIZE): Adjust to account for all padding.
6368 (struct sockaddr_storage): Update comment. Avoid implicit
6369 padding.
6370 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6371 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6372 (_SS_PADSIZE): Adjust to account for all padding.
6373 (struct sockaddr_storage): Update comment. Avoid implicit
6374 padding.
6375 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6376 __SS_SIZE is 126 in this version.
6377 * inet/tst-sockaddr.c: New file.
6378 * inet/Makefile (tests): Add tst-sockaddr.c
6379 (tst-sockaddr.c): Compile with non-strict aliasing.
6380
6381 2016-05-23 Joseph Myers <joseph@codesourcery.com>
6382
6383 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6384 [XPG3 || XPG4].
6385 (NL_ARGMAX): Also expect for [XPG3].
6386 (NL_LANGMAX): Likewise.
6387 (NL_MSGMAX): Likewise.
6388 (NL_NMAX): Likewise.
6389 (NL_SETMAX): Likewise.
6390 (NL_TEXTMAX): Likewise.
6391 (NZERO): Likewise.
6392 (TMP_MAX): Likewise.
6393 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6394 variable.
6395
6396 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6397 (PF_MAX): Update value.
6398 (AF_KCM): New macro.
6399 (SOL_NETBEUI): Likewise.
6400 (SOL_LLC): Likewise.
6401 (SOL_DCCP): Likewise.
6402 (SOL_NETLINK): Likewise.
6403 (SOL_TIPC): Likewise.
6404 (SOL_RXRPC): Likewise.
6405 (SOL_PPPOL2TP): Likewise.
6406 (SOL_BLUETOOTH): Likewise.
6407 (SOL_PNPIPE): Likewise.
6408 (SOL_RDS): Likewise.
6409 (SOL_IUCV): Likewise.
6410 (SOL_CAIF): Likewise.
6411 (SOL_ALG): Likewise.
6412 (SOL_NFC): Likewise.
6413 (SOL_KCM): Likewise.
6414 (MSG_BATCH): New enum value and macro.
6415
6416 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
6417
6418 [BZ #18185]
6419 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6420 sharing L2 cache to 2 for Knights Landing.
6421
6422 2016-05-20 Joseph Myers <joseph@codesourcery.com>
6423
6424 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6425 (FTW_DP): Do not expect for [XPG3 || XPG4].
6426 (FTW_SL): Do not expect for [XPG3].
6427 (FTW_SLN): Likewise.
6428 (FTW_PHYS): Likewise.
6429 (FTW_MOUNT): Likewise.
6430 (FTW_DEPTH): Likewise.
6431 (FTW_CHDIR): Likewise.
6432 (nftw): Likewise.
6433 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6434 variable.
6435
6436 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
6437
6438 * manual/errno.texi: Fix various typos & grammar errors.
6439
6440 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
6441
6442 * manual/intro.texi: Fix duplicated typo.
6443
6444 2016-05-19 Joseph Myers <joseph@codesourcery.com>
6445
6446 [BZ #13304]
6447 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6448 <float.h>, <math_private.h> and <stdlib.h>.
6449 (add_split): New function.
6450 (mul_split): Likewise.
6451 (ext_val): New typedef.
6452 (store_ext_val): New function.
6453 (mul_ext_val): New function.
6454 (compare): New function.
6455 (add_split_ext): New function.
6456 (__fmal): After checking for Inf, NaN and zero, compute result as
6457 an exact sum of scaled double values in round-to-nearest before
6458 adding those up and adjusting for other rounding modes.
6459 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6460 tests of fma.
6461 * math/auto-libm-test-out: Regenerated.
6462
6463 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
6464
6465 [BZ #20119]
6466 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6467 processor level type mask for CPUID with EAX == 11.
6468
6469 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
6470
6471 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6472 logical threads if the HTT bit is 0.
6473 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6474 (index_cpu_HTT): Likewise.
6475 (reg_HTT): Likewise.
6476
6477 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
6478
6479 [BZ #20115]
6480 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6481 Remove alignments on jump targets.
6482
6483 2016-05-19 Joseph Myers <joseph@codesourcery.com>
6484
6485 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6486 (getpwent): Likewise.
6487 (setpwent): Likewise.
6488 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6489 variable.
6490
6491 * conform/data/search.h-data (insque): Do not expect for [XPG3].
6492 (remque): Likewise.
6493 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6494 variable.
6495
6496 2016-05-18 Joseph Myers <joseph@codesourcery.com>
6497
6498 * math/libm-test.inc: Update comment not to refer to signs of NaNs
6499 not being tested.
6500
6501 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6504 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
6505 call.
6506 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6507 (__condvar_cleanup1): Likewise.
6508
6509 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6512 New
6513 (__pthread_unwind): Renamed to ...
6514 (PTHREAD_UNWIND): This.
6515 (__pthread_enable_asynccancel): Replace
6516 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6517
6518 2016-05-18 Joseph Myers <joseph@codesourcery.com>
6519
6520 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6521 (CLONE_NEWCGROUP): New macro.
6522
6523 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6524 (Q_GETNEXTQUOTA): New macro.
6525
6526 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
6527
6528 [BZ #19907]
6529 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6530 buffer updated by the previous run.
6531 * string/test-memcpy.c (do_one_test): Likewise.
6532 * benchtests/bench-memmove.c (do_one_test): Add a comment.
6533 * string/test-memmove.c (do_one_test): Likewise.
6534
6535 2016-05-17 Joseph Myers <joseph@codesourcery.com>
6536
6537 [BZ #20094]
6538 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6539 not [__USE_XOPEN].
6540 (unlockpt): Likewise.
6541 (ptsname): Likewise.
6542 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6543 variable.
6544
6545 [BZ #20076]
6546 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6547 instead of [__USE_UNIX98].
6548 (S_ISSOCK): Likewise.
6549 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6550 variable.
6551
6552 [BZ #20074]
6553 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6554 [__USE_POSIX].
6555 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6556 variable.
6557
6558 [BZ #20051]
6559 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6560 (ttyslot): Do not declare.
6561 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6562 (ttyslot): New prototype.
6563 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6564 variable.
6565 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6566
6567 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6568
6569 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6570
6571 2016-05-13 Florian Weimer <fweimer@redhat.com>
6572
6573 Fix race condition in tst-mallocfork2, use fewer resources.
6574 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6575 to current process group.
6576 (signal_sender): Yield in the non-sleeping case.
6577
6578 2016-05-13 Joseph Myers <joseph@codesourcery.com>
6579
6580 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6581 (ecvt): Likewise.
6582 (fcvt): Likewise.
6583 (gcvt): Likewise.
6584 (getsubopt): Likewise.
6585 (grantpt): Likewise.
6586 (initstate): Likewise.
6587 (l64a): Likewise.
6588 (mktemp): Likewise.
6589 (mkstemp): Likewise.
6590 (ptsname): Likewise.
6591 (random): Likewise.
6592 (realpath): Likewise.
6593 (setstate): Likewise.
6594 (srandom): Likewise.
6595 (ttyslot): Likewise.
6596 (unlockpt): Likewise.
6597 (valloc): Likewise.
6598
6599 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6600 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6601 variable.
6602
6603 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
6604
6605 [BZ #20072]
6606 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6607 init_cpu_features only if SHARED is defined.
6608 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6609
6610 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
6611
6612 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6613 non-inclusive caches on Intel processors.
6614
6615 2016-05-13 Florian Weimer <fweimer@redhat.com>
6616
6617 * malloc/malloc.c (dumped_main_arena_start)
6618 (dumped_main_arena_end): New variables.
6619 (DUMPED_MAIN_ARENA_CHUNK): New macro.
6620 (do_check_chunk): Skip dumped fake mmapped chunks.
6621 (munmap_chunk): Likewise.
6622 (__libc_free): Do not adjust statistics for fake mmapped chunks.
6623 (__libc_realloc): Adjust hardening check. Always copy dumped fake
6624 mmapped chunks.
6625 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6626 Mark dumped chunks as using mmap. Update dumped_main_arena_start
6627 and dumped_main_arena_end to cover the dumped heap.
6628
6629 2016-05-12 Joseph Myers <joseph@codesourcery.com>
6630
6631 * conform/data/time.h-data (getdate_err): Do not expect for
6632 [XPG3].
6633 (getdate): Likewise.
6634 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6635 variable.
6636
6637 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6638 (F_ULOCK): Likewise.
6639 (F_TEST): Likewise.
6640 (F_TLOCK): Likewise.
6641 (useconds_t): Likewise.
6642 (intptr_t): Do not expect for [XPG3] or [XPG4].
6643 (brk): Do not expect for [XPG3]
6644 (fchown): Likewise.
6645 (fchdir): Likewise.
6646 (ftruncate): Likewise.
6647 (getdtablesize): Likewise.
6648 (gethostid): Likewise.
6649 (getpagesize): Likewise.
6650 (getpgid): Likewise.
6651 (getsid): Likewise.
6652 (getwd): Likewise.
6653 (lchown): Likewise.
6654 (lockf): Likewise.
6655 (readlink): Likewise.
6656 (sbrk): Likewise.
6657 (setpgrp): Likewise.
6658 (setregid): Likewise.
6659 (setreuid): Likewise.
6660 (symlink): Likewise.
6661 (sync): Likewise.
6662 (truncate): Likewise.
6663 (ualarm): Likewise.
6664 (usleep): Likewise.
6665 (vfork): Likewise.
6666 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6667 variable.
6668
6669 [BZ #20054]
6670 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6671 not [__USE_UNIX98].
6672 * conform/data/unistd.h-data (gethostname): Do not expect for
6673 [XPG3].
6674
6675 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6676 [!POSIX] (S_IFBLK): Likewise.
6677 [!POSIX] (S_IFCHR): Likewise.
6678 [!POSIX] (S_IFIFO): Likewise.
6679 [!POSIX] (S_IFREG): Likewise.
6680 [!POSIX] (S_IFDIR): Likewise.
6681 [!POSIX] (S_IFLNK): Likewise.
6682 [!POSIX] (S_IFSOCK): Likewise.
6683 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6684 variable.
6685 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6686
6687 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
6688
6689 * sysdeps/aarch64/memset.S (__memset):
6690 Rewrite of optimized memset.
6691
6692 2016-05-12 Florian Weimer <fweimer@redhat.com>
6693
6694 [BZ #19703]
6695 Partially async-signal-safe fork for single-threaded processes.
6696 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6697 variable. Do not acquire and reset/release malloc and libio locks
6698 in single-threaded processes.
6699 * malloc/tst-mallocfork2.c: New file.
6700 * malloc/Makefile (tests): Add it.
6701
6702 2016-05-12 Florian Weimer <fweimer@redhat.com>
6703
6704 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6705 argument. Use scratch buffer instead of extend_alloca.
6706 (gethosts): Use scratch buffer instead of extend_alloca.
6707 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
6708 extend_alloca.
6709 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6710
6711 2016-05-11 Joseph Myers <joseph@codesourcery.com>
6712
6713 [BZ #20055]
6714 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6715 instead of [__USE_UNIX98].
6716 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6717 [__USE_UNIX98].
6718 * conform/data/termios.h-data (tcgetsid): Do not expect for
6719 [XPG3].
6720 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6721 variable.
6722 (test-xfail-XPG4/termios.h/conform): Likewise.
6723
6724 2016-05-11 Florian Weimer <fweimer@redhat.com>
6725
6726 Do not use mcheck in localedef.
6727 * locale/programs/localedef.c (turn_on_mcheck)
6728 (__malloc_initialize_hook): Remove.
6729
6730 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6731
6732 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6733 * sysdeps/s390/s390-64/Makefile: Likewise.
6734
6735 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6738 Remove ifunc-defines.sym.
6739 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6740 Likewise.
6741 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6742 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6743 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6744 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6745 rtld-global-offsets.sym.
6746 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6747 * sysdeps/x86/cpu-features-offsets.sym: This.
6748 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6749 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6750
6751 2016-05-10 Joseph Myers <joseph@codesourcery.com>
6752
6753 [BZ #20073]
6754 * io/sys/stat.h (fchmod): Declare for
6755 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6756 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6757 variable.
6758
6759 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6760 [XPG3] (S_IFSOCK): Likewise.
6761 [XPG3] (S_ISVTX): Likewise.
6762 [XPG3] (S_ISLNK): Likewise.
6763 [XPG3] (S_ISSOCK): Likewise.
6764 [XPG3] (fchmod): Likewise.
6765 [XPG3] (lstat): Likewise.
6766 [XPG3] (mknod): Likewise.
6767
6768 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6769 [XPG3]. Expect type long and XFAIL for [XPG4].
6770 (st_blocks): Likewise.
6771
6772 [BZ #20044]
6773 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6774 (pthread_atfork): New prototype.
6775 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6776 variable.
6777
6778 [BZ #20043]
6779 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6780 prototype.
6781
6782 2016-05-10 Florian Weimer <fweimer@redhat.com>
6783
6784 [BZ #20017]
6785 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6786 gmtime.
6787
6788 2016-05-10 Florian Weimer <fweimer@redhat.com>
6789
6790 [BZ #19994]
6791 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6792 flag in _res.options.
6793
6794 2016-05-09 Joseph Myers <joseph@codesourcery.com>
6795
6796 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6797 [XPG3 || XPG4].
6798 (blksize_t): Likewise.
6799 (clockid_t): Likewise.
6800 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6801 variable.
6802 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6803
6804 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
6805
6806 * sysdeps/unix/sysv/linux/s390/init-first.c:
6807 Add VDSO_SYMBOL(getcpu).
6808 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6809 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6810 Add VDSO_SYMBOL(getcpu).
6811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6812 New define HAVE_GETCPU_VSYSCALL.
6813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6814
6815 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
6816
6817 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6818 instead of <sysdeps/x86_64/cacheinfo.c>.
6819 * sysdeps/x86_64/cacheinfo.c: Moved to ...
6820 * sysdeps/x86/cacheinfo.c: Here.
6821
6822 2016-05-04 Florian Weimer <fweimer@redhat.com>
6823
6824 * malloc/malloc-internal.h: Adjust header file guard.
6825
6826 2016-05-04 Florian Weimer <fweimer@redhat.com>
6827
6828 [BZ #19787]
6829 * inet/getnameinfo.c (check_sprintf_result): New function.
6830 (CHECKED_SNPRINTF): New macro.
6831 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6832 to the host buffer.
6833 (gni_host_local): Use checked_copy to copy the host name.
6834 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6835 (gni_serv_local): Use checked_copy to copy the service name.
6836 (getnameinfo): Remove unnecessary truncation of result buffers.
6837
6838 2016-05-04 Florian Weimer <fweimer@redhat.com>
6839
6840 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6841 in case of inet_ntop failure.
6842
6843 2016-05-04 Florian Weimer <fweimer@redhat.com>
6844
6845 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6846 avoid long lines.
6847 (gni_host_inet_numeric): Likewise. Reduce scope of local
6848 variables.
6849 (gni_host_inet, gni_host_local): Add comment.
6850 (gni_host): Add comment. Use temporary to avoid long lines.
6851
6852 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6853
6854 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6855 registers specifiers where general purpose registers specifiers should
6856 have been used.
6857
6858 2016-05-04 Florian Weimer <fweimer@redhat.com>
6859
6860 [BZ #19779]
6861 CVE-2016-1234
6862 Avoid copying names of directory entries.
6863 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6864 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6865 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6866 (struct readdir_result): New type.
6867 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6868 (GL_READDIR): New macros.
6869 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6870 (convert_dirent, convert_dirent64): New functions.
6871 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
6872 convert_dirent64. Adjust references to the readdir result.
6873 * sysdeps/unix/sysv/linux/i386/glob64.c:
6874 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6875 * posix/bug-glob2.c (LONG_NAME): Define.
6876 (filesystem): Add LONG_NAME.
6877 (my_DIR): Increase the size of room_for_dirent.
6878
6879 2016-05-03 Joseph Myers <joseph@codesourcery.com>
6880
6881 [BZ #20041]
6882 * misc/sys/select.h (__need_timespec): Only define if
6883 [__USE_XOPEN2K].
6884 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6885 variable.
6886 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6887 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6888 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6889
6890 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6891 Segher Boessenkool <segher@gcc.gnu.org>
6892
6893 [BZ #20004]
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6895 (__novec_swapcontext): Add missing load.
6896
6897 2016-05-02 Joseph Myers <joseph@codesourcery.com>
6898
6899 [BZ #20023]
6900 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6901 <time.h>.
6902 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6903 variable.
6904 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6905
6906 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6907
6908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6909 flags CLONE_VM compare.
6910
6911 2016-05-02 Florian Weimer <fweimer@redhat.com>
6912
6913 [BZ #20031]
6914 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6915 completely empty.
6916
6917 2016-05-02 Florian Weimer <fweimer@redhat.com>
6918
6919 [BZ #19573]
6920 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6921 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6922 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6923 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6924 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6925 (hesiod_free_list): Mark as hidden.
6926 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6927 res_set, res_get.
6928 * hesiod/hesiod.c: Remove unnecessary forward declarations.
6929 (init, __hesiod_res_get, __hesiod_res_set): Remove.
6930 (hesiod_init): Remove obsolete res_ninit call.
6931 (hesiod_end): Do not free resolver state. Do not invoke callback.
6932 (hesiod_bind): Do not call init.
6933 (get_txt_records): Use res_mkquery, res_send instead of
6934 res_nmkquery, res_nsend.
6935 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6936 instead of _nss_hesiod_init.
6937 (_nss_hesiod_initgroups_dyn): Likewise.
6938 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6939 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6940 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6941
6942 2016-05-02 Florian Weimer <fweimer@redhat.com>
6943
6944 * hesiod/hesiod_p.h (DEF_RHS): Remove.
6945 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6946
6947 2016-05-02 Florian Weimer <fweimer@redhat.com>
6948
6949 * hesiod/hesiod.h: Remove RCS keyword.
6950 * hesiod/hesiod_p.h: Likewise.
6951
6952 * hesiod/hesiod.c: Likewise.
6953
6954 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
6955
6956 [BZ #12450]
6957 * locale/iso-639.def: Add Samogitian/sgs.
6958
6959 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
6960
6961 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6962
6963 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6964
6965 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
6966 Carlos O'Donell <carlos@redhat.com>
6967
6968 [BZ #19072]
6969 * grp/Makefile (headers): Add grp-merge.h
6970 (routines): Add grp-merge.
6971 * grp/getgrgid_r.c: Include grp-merge.h.
6972 (DEEPCOPY_FN): Define.
6973 (MERGE_FN): Define.
6974 * grp/getgrname_r.c: Include grp-merge.h.
6975 (DEEPCOPY_FN): Define.
6976 (MERGE_FN): Define.
6977 * grp/grp-merge.c: New file.
6978 * grp/grp-merge.h: New file.
6979 * include/grp-merge.h: New file.
6980 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6981 __copy_grp@GLIBC_PRIVATE.
6982 * manual/nss.texi (Actions in the NSS configuration): Describe
6983 return, continue, and merge.
6984 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6985 (DEEPCOPY_FN): Define.
6986 (MERGE_FN): Define.
6987 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6988 (DEEPCOPY_FN): Define.
6989 (MERGE_FN): Define.
6990 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6991 [!MERGE_FN]: Define __merge_einval.
6992 (CHECK_MERGE): Define.
6993 (REENTRANT_NAME): Process merge if do_merge is true.
6994 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6995 (__nss_getent_r): Likewise.
6996 * nss/nsswitch.c (nss_parse_service_list): Likewise.
6997 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6998
6999 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7000
7001 [BZ #20012]
7002 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7003 length to calculate the buffer to read.
7004 (fmemopen_write): Set the buffer position based on bytes written.
7005 (fmemopen_seek): Return EINVAL for invalid whence modes.
7006
7007 [BZ #19957]
7008 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7009 tst-getpid2.
7010 (test): Add tst-clone2.
7011 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7012 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7013 pid/tid fields for CLONE_VM.
7014 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7015 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7016 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7017 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7018 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7019 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7020 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7021 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7023 Likewise.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7025 Likewise.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7027 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7028 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7029 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7031 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7032 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7033 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7034
7035 2016-04-29 Florian Weimer <fweimer@redhat.com>
7036
7037 [BZ #19642]
7038 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7039 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7040 (gni_serv_local, gni_serv): New functions extracted from
7041 getnameinfo.
7042 (getnameinfo): Call gni_host and gni_serv to perform the
7043 processing. Always free scratch buffer.
7044
7045 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7046
7047 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7048 remaining bytes in the dest string, with zeros.
7049
7050 2016-04-29 Florian Weimer <fweimer@redhat.com>
7051
7052 [BZ #20010]
7053 CVE-2016-3706
7054 * sysdeps/posix/getaddrinfo.c
7055 (convert_hostent_to_gaih_addrtuple): New function.
7056 (gethosts): Call convert_hostent_to_gaih_addrtuple.
7057 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7058 AF_INET data.
7059
7060 2016-04-29 Florian Weimer <fweimer@redhat.com>
7061
7062 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7063 callback function gl_readdir.
7064 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7065 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7066 (glob_in_dir): Remove len. Use strdup instead of malloc and
7067 memcpy to copy the name.
7068 * manual/pattern.texi (Calling Glob): Document requirements for
7069 implementations of the gl_readdir callback function.
7070 * manual/examples/mkdirent.c: New example.
7071 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7072 per the manual guidance.
7073 * posix/tst-gnuglob.c (my_readdir): Likewise.
7074
7075 2016-04-28 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #20014]
7078 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7079 not [__USE_POSIX].
7080 (getchar_unlocked): Likewise.
7081 (putc_unlocked): Likewise.
7082 (putchar_unlocked): Likewise.
7083 (flockfile): Likewise.
7084 (ftrylockfile): Likewise.
7085 (funlockfile): Likewise.
7086 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7087 variable.
7088 (test-xfail-XPG4/stdio.h/conform): Likewise.
7089
7090 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7091 Expect constant.
7092 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7093 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7094 variable.
7095 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7096 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7097
7098 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7099 [__USE_LARGEFILE64] (off64_t): Likewise.
7100 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7101 variable.
7102
7103 2016-04-28 Florian Weimer <fweimer@redhat.com>
7104
7105 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7106
7107 2016-04-28 Florian Weimer <fweimer@redhat.com>
7108
7109 * resolv/inet_addr.c: Reindent preprocessor conditionals.
7110 * resolv/res_init.c: Likewise.
7111 * resolv/res_mkquery.c: Likewise.
7112
7113 2016-04-28 Florian Weimer <fweimer@redhat.com>
7114
7115 * resolv/res_init.c (isascii): Do not define. Use definition in
7116 <ctype.h>.
7117 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7118 (LOG_AUTH): Remove.
7119 (SPRINTF): Remove, adjust caller.
7120 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7121
7122 2016-04-28 Florian Weimer <fweimer@redhat.com>
7123
7124 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7125 SUNSECURITY conditional.
7126 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7127
7128 2016-04-28 Florian Weimer <fweimer@redhat.com>
7129
7130 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7131 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7132 Remove BSD-related preprocessor conditionals.
7133 * conf/portability.h: Remove.
7134
7135 2016-04-28 Florian Weimer <fweimer@redhat.com>
7136
7137 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7138 * resolv/res_data.c: Likewise.
7139
7140 2016-04-28 Florian Weimer <fweimer@redhat.com>
7141
7142 * resolv/res_comp.c: Remove code conditional on __ultrix__.
7143 * resolv/res_data.c: Remove code conditional on ultrix.
7144
7145 2016-04-28 Florian Weimer <fweimer@redhat.com>
7146
7147 * resolv/res_init.c (RFC1535): Do not define. Remove
7148 RFC1535 preprocessor conditionals.
7149 * resolv/README: Update. Do not claim strict RFC 1535 compliance
7150 because there configuration options which make the resolver
7151 behavior different.
7152
7153 2016-04-28 Florian Weimer <fweimer@redhat.com>
7154
7155 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
7156 RESOLVSORT preprocessor conditionals.
7157 * resolv/nss_dns/dns-host.c: Likewise.
7158 * resolv/res_init.c: Likewise.
7159
7160 2016-04-28 Florian Weimer <fweimer@redhat.com>
7161
7162 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
7163 is never defined.
7164
7165 2016-04-28 Florian Weimer <fweimer@redhat.com>
7166
7167 * inet/inet_lnaof.c: Remove SCSS keyword.
7168 * inet/inet_mkadr.c: Likewise.
7169 * inet/inet_net.c: Likewise.
7170 * inet/inet_netof.c: Likewise.
7171 * inet/rcmd.c: Likewise.
7172 * inet/rexec.c: Likewise.
7173 * inet/ruserpass.c: Likewise.
7174
7175 2016-04-28 Florian Weimer <fweimer@redhat.com>
7176
7177 * resolv/inet_addr.c: Remove _LIBC conditionals.
7178 * resolv/res_data.c: Likewise.
7179 * resolv/res_init.c: Likewise.
7180 * resolv/res_mkquery.c: Likewise.
7181 * resolv/res_libc.c: Update comment.
7182 * resolv/README: Update.
7183
7184 2016-04-28 Florian Weimer <fweimer@redhat.com>
7185
7186 * resolv/gethnamaddr.c: Remove SCSS keyword.
7187 * resolv/herror.c: Likewise.
7188 * resolv/inet_addr.c: Likewise.
7189 * resolv/inet_net_ntop.c: Likewise.
7190 * resolv/inet_net_pton.c: Likewise.
7191 * resolv/inet_neta.c: Likewise.
7192 * resolv/inet_ntop.c: Likewise.
7193 * resolv/inet_pton.c: Likewise.
7194 * resolv/ns_date.c: Remove RCS keyword.
7195 * resolv/ns_name.c: Likewise.
7196 * resolv/ns_netint.c: Likewise.
7197 * resolv/ns_parse.c: Likewise.
7198 * resolv/ns_print.c: Likewise.
7199 * resolv/ns_samedomain.c: Likewise.
7200 * resolv/ns_ttl.c: Likewise.
7201 * resolv/nsap_addr.c: Likewise.
7202 * resolv/res_comp.c: Remove SCSS and RCS keyword.
7203 * resolv/res_data.c: Remove RCS keyword.
7204 * resolv/res_debug.c: Remove SCSS and RCS keyword.
7205 * resolv/res_init.c: Likewise.
7206 * resolv/res_mkquery.c: Likewise.
7207 * resolv/res_query.c: Likewise.
7208 * resolv/res_send.c: Likewise.
7209
7210 2016-04-27 Joseph Myers <joseph@codesourcery.com>
7211
7212 * conform/data/stdio.h-data (fdopen): Expect also for
7213 [XPG3 || XPG4].
7214
7215 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7216 (fseeko): Likewise.
7217 (ftello): Likewise.
7218 (ftrylockfile): Likewise.
7219 (funlockfile): Likewise.
7220 (getc_unlocked): Likewise.
7221 (getchar_unlocked): Likewise.
7222 (putc_unlocked): Likewise.
7223 (putchar_unlocked): Likewise.
7224
7225 2016-04-27 Florian Weimer <fweimer@redhat.com>
7226
7227 [BZ #19868]
7228 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7229 DNS packet syntax checks (which were not needed before). Skip
7230 over non-PTR records.
7231
7232 2016-04-27 Florian Weimer <fweimer@redhat.com>
7233
7234 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7235 definition. Include <stddef.h> instead.
7236
7237 2016-04-27 Florian Weimer <fweimer@redhat.com>
7238
7239 [BZ #19831]
7240 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7241 function.
7242 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7243 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7244
7245 2016-04-27 Florian Weimer <fweimer@redhat.com>
7246
7247 [BZ #19862]
7248 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7249 (getanswer_r): Do not call syslog.
7250 (gaih_getanswer_slice): Likewise.
7251 * resolv/gethnamaddr.c (AskedForGot): Remove.
7252 (getanswer): Do not call syslog.
7253 (gethostbyaddr): Likewise.
7254
7255 2016-04-27 Joseph Myers <joseph@codesourcery.com>
7256
7257 * conform/data/signal.h-data (union sigval): Expect also if
7258 [XOPEN2K].
7259 (struct sigevent): Likewise.
7260 (SIGEV_NONE): Likewise.
7261 (SIGEV_SIGNAL): Likewise.
7262 (SIGEV_THREAD): Likewise.
7263 (SIGRTMIN): Likewise.
7264 (SIGRTMAX): Likewise.
7265 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7266 variable.
7267 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7268
7269 2016-04-27 Florian Weimer <fweimer@redhat.com>
7270
7271 [BZ #19830]
7272 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7273 (gaih_getanswer_slice): Likewise.
7274 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7275 Also check for availability of RR metadata.
7276
7277 2016-04-27 Florian Weimer <fweimer@redhat.com>
7278
7279 [BZ #19825]
7280 * resolv/res_send.c (send_vc): Remove early *resplen2
7281 initialization. Set *resplen2 on socket error. Call
7282 close_and_return_error for other errors.
7283
7284 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7285
7286 * sysdeps/unix/sysv/linux/netiucv/iucv.h
7287 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7288 (SCM_IUCV_TRGCLS): New define.
7289
7290 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7291
7292 [BZ #20005]
7293 * libio/fmemopen.c (fmemopen_write): Update internal position after
7294 write.
7295 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7296 * stdio-common/tst-fmemopen4.c: New file..
7297
7298 2016-04-26 Joseph Myers <joseph@codesourcery.com>
7299
7300 [BZ #19996]
7301 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7302 not [__USE_XOPEN2K].
7303 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7304 variable.
7305
7306 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7307 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7308 variable.
7309
7310 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7311 [__USE_XOPEN2K8].
7312 [__USE_LARGEFILE64] (off64_t): Likewise.
7313 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7314 variable.
7315
7316 2016-04-25 Joseph Myers <joseph@codesourcery.com>
7317
7318 [BZ #19989]
7319 * libio/stdio.h (cuserid): Do not declare if
7320 [__USE_XOPEN2K && !__USE_GNU].
7321 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7322 variable.
7323
7324 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7325
7326 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7327 (sysdep_routines): Add P8 and PPC64 strcspn targets.
7328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7329 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7330 ifunc'ed strcspn.
7331 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7332 [EALIGN]: Removed.
7333 [END]: Likewise
7334 [STRSPN]: Define instead of the above to control symbol name.
7335 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7336 New file.
7337 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7338 Likewise.
7339 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7340 Likewise.
7341 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7342 Likewise.
7343 * sysdeps/powerpc/powerpc64/power8/strspn.S:
7344 [INITIAL_MASK]: New macro.
7345 [STRCSPN]: Likewise.
7346 [UPDATE_MASK]: Likewise.
7347 [USE_AS_STRCSPN]: Lisewise.
7348
7349 2016-04-25 Florian Weimer <fweimer@redhat.com>
7350
7351 [BZ #19931]
7352 * stdio-common/tst-vfprintf-width-prec.c: New file.
7353 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7354 (tests-special): Add tst-vfprintf-width-prec-mem.out.
7355 (generated): Add mtrace-related files.
7356 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7357 (tst-%-mem.out): New pattern rule, replaces
7358 tst-printf-bz18872-mem.out.
7359 * stdio-common/vfprintf.c (vfprintf): When handling a precision
7360 specifier, deallocate any previously allocated work buffer.
7361
7362 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7363
7364 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7365 Add nop before __startcontext, add explaining comments.
7366
7367 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
7368
7369 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7370 any more. Notably since IPV6_PKTINFO has been reintroduced with a
7371 completely different API.
7372
7373 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7374 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7375 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7376 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7377 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7378 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7379 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7380 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7381 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7382 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7383
7384 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
7385
7386 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7387
7388 2016-04-23 Mike Frysinger <vapier@gentoo.org>
7389
7390 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7391 when it is the default of 0.
7392
7393 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7394
7395 * sysdeps/powerpc/locale-defines.sym: Add new macros.
7396 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7397 (sysdep_routines): Add new strcasestr targets.
7398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7399 (__libc_ifunc_impl_list): Likewise.
7400 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7401 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7402 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7403 * sysdeps/powerpc/powerpc64/power8/Makefile:
7404 New file to add strcasestr-ppc64 to sysdep_routines.
7405 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7406 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7407
7408 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
7409
7410 * benchtests/Makefile (wcsmbs-benchset): Include only for
7411 native builds and runs.
7412 (LOCALES): Likewise.
7413 (bench-build): Build timing-type here instead of the bench
7414 target. Generate locale only for native builds.
7415 * benchtests/README: Add note for cross-building.
7416
7417 * benchtests/Makefile (bench-clean): Clean up extra-objs.
7418
7419 * benchtests/README: Update README to include instructions on
7420 using bench-build.
7421
7422 * Makefile.in (bench-build): New target.
7423 * Rules (PHONY): Add bench-build target.
7424 * benchtests/Makefile (bench): Depend on bench-build.
7425 (bench-build): New target.
7426
7427 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7428
7429 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7430 profil_reply_port.
7431 (profile_waiter): Do not initialize profil_reply_port.
7432 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7433 frequency instead of tick length in us.
7434
7435 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
7436
7437 [BZ #18712]
7438 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7439 (__old_mempcpy_small): Likewise.
7440 (__old_strcpy_small): Likewise.
7441 (__old_stpcpy_small): Likewise.
7442 (__old_strpbrk_c2): Fix compat symbol name.
7443 (__old_strpbrk_c3): Likewise.
7444 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7445 (__mempcpy_small): Remove.
7446 (__strcpy_small): Remove.
7447 (__stpcpy_small): Remove.
7448
7449 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
7450
7451 [BZ #19400]
7452 * locale/iso-639.def: Add the Talossan/tzl language.
7453
7454 2016-04-16 Mike Frysinger <vapier@gentoo.org>
7455
7456 [BZ #16983]
7457 * locale/programs/ld-address.c (address_finish): Update postal_fmt
7458 comment. Add "ln" to strchr check on postal_fmt.
7459
7460 2016-04-16 Mike Frysinger <vapier@gentoo.org>
7461
7462 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7463 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
7464 tel_dom_fmt.
7465
7466 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7467
7468 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7469 (sysdep_routines): Added __strlen_power8.
7470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7471 __strlen_power8 entry.
7472 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7473 Implementation for POWER8.
7474 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7475 for __strlen_power8.
7476 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7477 Implementation for POWER8.
7478
7479 2016-04-15 Mike Frysinger <vapier@gentoo.org>
7480
7481 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7482
7483 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
7484
7485 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7486 Goldmont and Airmont processors.
7487
7488 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
7489
7490 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7491 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7492 (__STRING2_SMALL_GET32): Remove.
7493 (memset): Remove.
7494 (__memset_1): Remove.
7495 (__memset_gc): Remove.
7496 (__mempcpy): Remove.
7497 (mempcpy): Remove.
7498 (__mempcpy_args): Remove.
7499 (strchr): Remove.
7500 (strcpy): Remove.
7501 (strcpy_args): Remove.
7502 (__stpcpy_args): Remove.
7503 (__strcmp_cc): Remove.
7504 (__strcmp_gc): Remove.
7505 (strstr): Remove.
7506
7507 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
7508
7509 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7510 * nis/nis_call.c (nis_server_cache_add): Likewise.
7511
7512 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7513
7514 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7515
7516 2016-04-14 Florian Weimer <fweimer@redhat.com>
7517
7518 * malloc/arena.c (__malloc_fork_lock_parent)
7519 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7520 internal_function attribute.
7521
7522 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
7523
7524 * stdio-common/printf_fp.c (__printf_fp_l):
7525 Rename ___printf_fp_l to __printf_fp_l and
7526 remove strong alias. Use libc_hidden_def instead
7527 of ldbl_hidden_def macro.
7528
7529 2016-04-14 Florian Weimer <fweimer@redhat.com>
7530
7531 Remove malloc hooks from fork handler. They are no longer needed
7532 because malloc runs right before fork, and no malloc calls from
7533 other fork handlers are not possible anymore.
7534 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7535 declarations.
7536 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7537 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7538 (atfork_recursive_cntr): Remove.
7539 (__malloc_fork_lock_parent): Do not override malloc hooks and
7540 thread_arena.
7541 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7542 thread_arena.
7543 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
7544 thread_arena instead of save_arena.
7545
7546 2016-04-14 Florian Weimer <fweimer@redhat.com>
7547
7548 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7549 (thread_atfork, thread_atfork_static): Remove.
7550 * sysdeps/mach/hurd/malloc-machine.h:
7551 (thread_atfork, thread_atfork_static): Remove.
7552
7553 2016-04-14 Florian Weimer <fweimer@redhat.com>
7554
7555 [BZ #19431]
7556 Run the malloc fork handler as late as possible to avoid deadlocks.
7557 * malloc/malloc-internal.h: New file.
7558 * malloc/malloc.c: Include it.
7559 * malloc/arena.c (ATFORK_MEM): Remove.
7560 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7561 Update comment.
7562 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7563 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7564 Remove outdated comment.
7565 (ptmalloc_init): Do not call thread_atfork. Remove
7566 thread_atfork_static.
7567 * malloc/tst-malloc-fork-deadlock.c: New file.
7568 * Makefile (tests): Add tst-malloc-fork-deadlock.
7569 (tst-malloc-fork-deadlock): Link against libpthread.
7570 * manual/memory.texi (Aligned Memory Blocks): Update safety
7571 annotation comments.
7572 * sysdeps/nptl/fork.c (__libc_fork): Call
7573 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7574 __malloc_fork_unlock_child.
7575 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7576
7577 2016-04-14 Florian Weimer <fweimer@redhat.com>
7578
7579 [BZ #19613]
7580 Remove union wait.
7581 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7582 (w_stopsig, w_stopval): Remove.
7583 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7584 stat_loc argument.
7585 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7586 (__WAIT_STATUS_DEFN): Remove.
7587 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7588 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7589 (wait, wait3, wait4): Use int * for the stat_loc argument.
7590 * posix/wait.c (__wait): Likewise.
7591 * posix/wait3.c (__wait3): Likewise.
7592 * posix/wait4.c (__wait4): Likewise.
7593 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7594 (__WAIT_STATUS_DEFN): Remove.
7595 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7596 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7597 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7598 argument.
7599 * sysdeps/posix/wait.c (__libc_wait): Likewise.
7600 * sysdeps/posix/wait3.c (__wait3): Likewise.
7601 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7602 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7603 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7604 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7605 stat_loc argument.
7606 * manual/process.texi (BSD Wait Functions): Remove union wait.
7607
7608 2016-04-13 Andreas Schwab <schwab@suse.de>
7609
7610 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7611 (test-extras): Add tst-tlsalign-vars.
7612 * math/Makefile: Wrap long lines.
7613 (libm-vec-test-wrappers): Define.
7614 (test-extras): Add $(libm-vec-test-wrappers).
7615 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7616 * nss/Makefile (extra-test-objs): Add nss_test1.os.
7617 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7618 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7619 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7620 (extra-test-objs): Add corresponding objects.
7621
7622 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
7623
7624 [BZ #19928]
7625 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7626 New.
7627 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7628 times of shared cache size.
7629 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7630 (VMOVNT): New.
7631 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7632 (VMOVNT): Likewise.
7633 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7634 (VMOVNT): Likewise.
7635 (VMOVU): Changed to movups for smaller code sizes.
7636 (VMOVA): Changed to movaps for smaller code sizes.
7637 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7638 comments.
7639 (PREFETCH): New.
7640 (PREFETCH_SIZE): Likewise.
7641 (PREFETCHED_LOAD_SIZE): Likewise.
7642 (PREFETCH_ONE_SET): Likewise.
7643 Rewrite to use forward and backward loops, which move 4 vector
7644 registers at a time, to support overlapping addresses and use
7645 non temporal store if size is above the threshold and there is
7646 no overlap between destination and source.
7647
7648 2016-04-12 Alex Smith <alex.smith@imgtec.com>
7649
7650 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7651 Include dl-vdso.
7652 * sysdeps/unix/sysv/linux/mips/Versions: Add
7653 __vdso_clock_gettime.
7654 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7655 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7656 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7657 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7658 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7659 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7660 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7661 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7662 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7663
7664 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7665
7666 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7667 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7668 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7670 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7671 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7674 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7676 syscalls generation.
7677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7678 [__NR_pwrite64] (__NR_write): Remove define.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7680 [__NR_pwrite64] (__NR_write): Remove define.
7681 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7682 Remove define.
7683 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7684 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7685 Remove define.
7686 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7687 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7688 Linux implementation as base.
7689 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7690
7691 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7692 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7693 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7694 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7697 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7699 syscall generation.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7701 [__NR_pread64] (__NR_pread): Remove define.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7703 [__NR_pread64] (__NR_pread): Likewise.
7704 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7705 define.
7706 (__libc_pread): Use SYSCALL_LL macro on offset argument.
7707 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7708 Remove define.
7709 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7710 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7711 Linux implementation as base.
7712 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7713 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7714 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7715
7716 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7717 definition.
7718 (__ALIGNMENT_COUNT): Likewise.
7719 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7720 (__ALIGNMENT_COUNT): Likewise.
7721 (SYSCALL_LL): New define.
7722 (SYSCALL_LL64): Likewise.
7723 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7724 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7725 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7726 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7727
7728 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7729 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7730 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7731 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7732 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7733 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7734
7735 2016-04-11 Florian Weimer <fweimer@redhat.com>
7736
7737 [BZ #19865]
7738 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7739 original buffer before retry.
7740
7741 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7742
7743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7744 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7745 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7746 GLRO(dl_auxv) list.
7747 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7748 including <ldsodefs.h>.
7749 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7750
7751 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
7752
7753 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7754 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7755 $(CPPFLAGS).
7756
7757 2016-04-09 Khem Raj <raj.khem@gmail.com>
7758
7759 [BZ #17950]
7760 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7761 Add -mfpmath=387.
7762
7763 2016-04-09 Mike Frysinger <vapier@gentoo.org>
7764
7765 * sysdeps/i386/configure.ac: Change == to = when calling test.
7766 * sysdeps/x86_64/configure.ac: Likewise.
7767 * sysdeps/i386/configure: Regenerated.
7768 * sysdeps/x86_64/configure: Likewise.
7769
7770 2016-04-08 Mike Frysinger <vapier@gentoo.org>
7771
7772 [BZ #16137]
7773 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7774 * benchtests/bench-strcoll.c (input_files): Likewise.
7775 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7776 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7777 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7778
7779 2016-04-08 Joseph Myers <joseph@codesourcery.com>
7780
7781 [BZ #19929]
7782 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7783 [__USE_XOPEN2K8 && !__USE_GNU].
7784 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7785 variable.
7786
7787 [BZ #19925]
7788 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7789 define if [!__USE_MISC && __USE_XOPEN2K].
7790 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7791 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7793 Likewise.
7794 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7795 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7796 variable.
7797 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7798
7799 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7800
7801 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7802 (sysdep_routines): Add new strspn targets.
7803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7804 (__libc_ifunc_impl_list): Add strspn.
7805 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7806 New file.
7807 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7808 Likewise.
7809 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7810 Likewise.
7811 * sysdeps/powerpc/powerpc64/power8/strspn.S:
7812 Likewise.
7813
7814 2016-04-07 Florian Weimer <fweimer@redhat.com>
7815
7816 * misc/hsearch_r.c: Include <limits.h>.
7817
7818 2016-04-07 Florian Weimer <fweimer@redhat.com>
7819
7820 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7821
7822 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
7823
7824 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7825 (MEMCPY_SYMBOL): New.
7826 (MEMPCPY_SYMBOL): Likewise.
7827 (MEMMOVE_CHK_SYMBOL): Likewise.
7828 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7829 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7830 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
7831 Provide alias for memcpy in libc.a and ld.so.
7832
7833 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
7834
7835 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7836 (MEMSET_CHK_SYMBOL): New. Define if not defined.
7837 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7838 Disabled fro now.
7839 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7840 symbols. Properly check USE_MULTIARCH on __memset symbols.
7841
7842 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
7843
7844 * benchtests/Makefile (string-benchset): Add memcpy-large,
7845 memmove-large and memset-large.
7846 * benchtests/bench-memcpy-large.c: New file.
7847 * benchtests/bench-memmove-large.c: Likewise.
7848 * benchtests/bench-memmove-large.c: Likewise.
7849 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7850
7851 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7854 32-bit displacement to avoid long nop between instructions.
7855
7856 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7859 a comment on VMOVU and VMOVA.
7860
7861 2016-04-04 Florian Weimer <fweimer@redhat.com>
7862
7863 [BZ #19633]
7864 Use specified locale for number formatting in strfmon_l.
7865 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7866 (__nl_lookup_word): New inline functions.
7867 * include/printf.h (__print_fp_l): Declare.
7868 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7869 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
7870 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7871 (___printf_fp): New function.
7872 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7873 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7874 * stdlib/tst-strfmon_l.c (do_test): New test.
7875 * stdlib/Makefile (tests): Add kt.
7876 (LOCALES): Build additional locales.
7877 (tst-strfmon_l.out): Require locales.
7878
7879 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
7880
7881 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7882 if not in libc.
7883 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7884 Likewise.
7885 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7886 Likewise.
7887 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7888 Likewise.
7889
7890 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
7891
7892 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7893 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7894 with unaligned_erms.
7895 (__memmove_erms): Skip if source == destination.
7896 (__memmove_unaligned_erms): Don't check source == destination
7897 first.
7898
7899 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7900
7901 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7902 bit_arch_Fast_Copy_Backward for Intel Core proessors.
7903
7904 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7905
7906 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7907 * string/strspn.c (strspn): Likewise.
7908
7909 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7910
7911 * benchtests/bench-memset.c (do_test): Support 64-byte
7912 alignment.
7913 (test_main): Test 64-byte alignment.
7914
7915 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * benchtests/bench-memmove.c (test_main): Test 64-byte
7918 alignment.
7919
7920 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7923
7924 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7925
7926 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7927 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7928 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7929
7930 * string/strpbrk.c (strpbrk): Rewrite function.
7931 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7932 (__strpbrk_c2): Likewise.
7933 (__strpbrk_c3): Likewise.
7934 * string/string-inlines.c
7935 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7936 Likewise.
7937 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7938 Likewise.
7939
7940 * string/strspn.c (strcspn): Rewrite function.
7941 * string/bits/string2.h (strspn): Use __builtin_strcspn.
7942 (__strspn_c1): Remove inline function.
7943 (__strspn_c2): Likewise.
7944 (__strspn_c3): Likewise.
7945 * string/string-inlines.c
7946 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7947 compatibility symbol.
7948 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7949 Likewise.
7950 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7951 Likewise.
7952 * string/string-inlines.c: Include generic version.
7953
7954 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
7955 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7956
7957 * string/Version (libc): Add GLIBC_2.24.
7958 * string/strcspn.c (strcspn): Rewrite function.
7959 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7960 (__strcspn_c1): Remove inline function.
7961 (__strcspn_c2): Likewise.
7962 (__strcspn_c3): Likewise.
7963 * string/string-inline.c
7964 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7965 compatibility symbol.
7966 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7967 Likewise.
7968 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7969 Likewise.
7970 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7971
7972 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7973
7974 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7975 Use ahi instead of aghi to adjust stack pointer.
7976
7977 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7978
7979 [BZ #19853]
7980 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7981 TEST to take significant digits as second parameter.
7982 [TEST]: Redefine in terms of TEST_N taking 30
7983 significant digits.
7984 (do_test): Add test case to demonstrate precision
7985 failure in the ldbl-128ibm printf.
7986 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7987 (__mpn_extract_long_double): Carry 7 extra intermediate
7988 bits of precision to aide computing difference when
7989 signs differ.
7990
7991 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 [BZ #19881]
7994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7995 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7996 memset-avx512-unaligned-erms.
7997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7998 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7999 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8000 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8001 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8002 __memset_sse2_unaligned_erms, __memset_erms,
8003 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8004 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8005 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8006 file.
8007 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8008 Likewise.
8009 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8010 Likewise.
8011 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8012 Likewise.
8013
8014 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
8015
8016 [BZ #19776]
8017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8018 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8019 memmove-avx512-unaligned-erms.
8020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8021 (__libc_ifunc_impl_list): Test
8022 __memmove_chk_avx512_unaligned_2,
8023 __memmove_chk_avx512_unaligned_erms,
8024 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8025 __memmove_chk_sse2_unaligned_2,
8026 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8027 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8028 __memmove_avx512_unaligned_erms, __memmove_erms,
8029 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8030 __memcpy_chk_avx512_unaligned_2,
8031 __memcpy_chk_avx512_unaligned_erms,
8032 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8033 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8034 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8035 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8036 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8037 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8038 __mempcpy_chk_avx512_unaligned_erms,
8039 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8040 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8041 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8042 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8043 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8044 __mempcpy_erms.
8045 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8046 file.
8047 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8048 Likwise.
8049 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8050 Likwise.
8051 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8052 Likwise.
8053
8054 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8055
8056 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8057 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8058 (La_s390_64_regs): Likewise.
8059 (La_s390_32_retval): Append vector register lrv_v24.
8060 (La_s390_64_retval): Likeweise.
8061 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8062 Handle extended structs La_s390_32_regs and La_s390_32_retval.
8063 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8064 Handle extended structs La_s390_64_regs and La_s390_64_retval.
8065
8066 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8067
8068 [BZ #19916]
8069 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8070 to create a non-vector/vector version for _dl_runtime_resolve and
8071 _dl_runtime_profile. Move implementation to ...
8072 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8073 (_dl_runtime_resolve) Save and restore fpr/vrs.
8074 (_dl_runtime_profile) Save and restore vrs and fix some issues
8075 if _dl_call_pltexit is called.
8076 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8077 Choose the correct resolver function if running on a machine with vx.
8078 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8079 to create a non-vector/vector version for _dl_runtime_resolve and
8080 _dl_runtime_profile. Move implementation to ...
8081 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8082 (_dl_runtime_resolve) Save and restore fpr/vrs.
8083 (_dl_runtime_profile) Save and restore vrs and fix some issues
8084 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8085 Choose the correct resolver function if running on a machine with vx.
8086
8087 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8088
8089 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8090
8091 2016-03-31 Florian Weimer <fweimer@redhat.com>
8092
8093 [BZ #19509]
8094 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8095 skip_map != NULL.
8096 * elf/tst-dlsym-error.c: New file.
8097 * elf/Makefile (tests): Add tst-dlsym-error.
8098 (tst-dlsym-error): Link against libdl.
8099
8100 2016-03-29 Joseph Myers <joseph@codesourcery.com>
8101
8102 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8103 (__ASSUME_FUTIMESAT): Remove macro.
8104 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8105
8106 2016-03-29 Florian Weimer <fweimer@redhat.com>
8107
8108 [BZ #19879]
8109 CVE-2016-3075
8110 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8111 copy name.
8112
8113 2016-03-29 Florian Weimer <fweimer@redhat.com>
8114
8115 [BZ #19837]
8116 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8117 error if parse_line fails.
8118
8119 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8122 (index_cpu_ERMS): Likewise.
8123 (reg_ERMS): Likewise.
8124
8125 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
8126
8127 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8128 PER_LINUX_FDPIC): Add.
8129
8130 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
8131
8132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8133 memcpy-avx512-no-vzeroupper.
8134 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8135 to ...
8136 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8137 (MEMCPY): Don't define.
8138 (MEMCPY_CHK): Likewise.
8139 (MEMPCPY): Likewise.
8140 (MEMPCPY_CHK): Likewise.
8141 (MEMPCPY_CHK): Renamed to ...
8142 (__mempcpy_chk_avx512_no_vzeroupper): This.
8143 (MEMPCPY_CHK): Renamed to ...
8144 (__mempcpy_chk_avx512_no_vzeroupper): This.
8145 (MEMCPY_CHK): Renamed to ...
8146 (__memmove_chk_avx512_no_vzeroupper): This.
8147 (MEMCPY): Renamed to ...
8148 (__memmove_avx512_no_vzeroupper): This.
8149 (__memcpy_avx512_no_vzeroupper): New alias.
8150 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8151
8152 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
8153
8154 [BZ #18858]
8155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8156 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8157 and mempcpy-avx512-no-vzeroupper.
8158 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8159 New.
8160 (MEMPCPY): Likewise.
8161 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8162 (MEMPCPY_CHK): New.
8163 (MEMPCPY): Likewise.
8164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8165 (MEMPCPY): Likewise.
8166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8167 (MEMPCPY): Likewise.
8168 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8169 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8170 Likewise.
8171 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8172 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8173
8174 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
8175 Amit Pawar <Amit.Pawar@amd.com>
8176
8177 [BZ #19583]
8178 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8179 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8180 processors. Set Fast_Copy_Backward for AMD Excavator
8181 processors.
8182 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8183 New.
8184 (index_arch_Fast_Unaligned_Copy): Likewise.
8185 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8186 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8187
8188 2016-03-25 Florian Weimer <fweimer@redhat.com>
8189
8190 [BZ #19791]
8191 * resolv/res_send.c (close_and_return_error): New function.
8192 (send_dg): Initialize *resplen2 after reopen failure. Call
8193 close_and_return_error for error returns. On error paths without
8194 __res_iclose, initialze *resplen2 explicitly. Update comment for
8195 successful return.
8196
8197 2016-03-25 Florian Weimer <fweimer@redhat.com>
8198
8199 [BZ# 19860]
8200 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8201 zero if the compiler does not provide the AVX512F bit.
8202
8203 2016-03-24 Joseph Myers <joseph@codesourcery.com>
8204
8205 [BZ #19848]
8206 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8207 from 8 to 4.
8208 (__ieee754_powl): Compare integer exponent against 4 not 8.
8209 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8210 from 8 to 4.
8211 (__ieee754_powl): Compare integer exponent against 4 not 8.
8212 * math/auto-libm-test-in: Add more tests of pow.
8213 * math/auto-libm-test-out: Regenerated.
8214 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8216
8217 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
8218
8219 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8220 Make code unconditional.
8221 [!__NR_utimensat]: Remove conditional code.
8222 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8223 Make code unconditional.
8224 [!__NR_utimensat]: Remove conditional code.
8225 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8226 Make code unconditional.
8227 [!__NR_utimensat]: Remove conditional code.
8228
8229 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
8230
8231 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8232 Make code unconditional.
8233
8234 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
8235
8236 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8237 call-clobbered %eax on retry path.
8238 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8239
8240 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8243 Don't set %rcx twice before "rep movsb".
8244
8245 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 [BZ #19583]
8248 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8249 inline. Check family before setting family, model and
8250 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
8251 bits here.
8252 (init_cpu_features): Replace HAS_CPU_FEATURE and
8253 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8254 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
8255 for Intel processors with usable AVX2. Call get_common_indeces
8256 for other processors with family == NULL.
8257 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8258 (CPU_FEATURES_ARCH_P): Likewise.
8259 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8260 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8261
8262 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8263
8264 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8265 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8266 $(shared-thread-library) instead of hardcoding the path to libpthread.
8267
8268 2016-03-22 Joseph Myers <joseph@codesourcery.com>
8269
8270 * sysdeps/unix/sysv/linux/kernel-features.h
8271 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8272 * sysdeps/unix/sysv/linux/getdents.c
8273 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8274 [!have_no_getdents64_defined]: Likewise.
8275 (__GETDENTS): Remove __have_no_getdents64 conditional.
8276
8277 2016-03-21 Joseph Myers <joseph@codesourcery.com>
8278
8279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8280 Remove macro.
8281 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8282 <kernel-features.h>.
8283 (signalfd) [__NR_signalfd4]: Make code unconditional.
8284 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8285
8286 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8287
8288 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8289 style.
8290
8291 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
8292
8293 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8294 (__pthread_enable_asynccancel): Use JUMPTARGET to call
8295 __pthread_unwind.
8296 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8297 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8298 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8299 (__condvar_cleanup1): Likewise.
8300
8301 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
8302
8303 [BZ #19822]
8304 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8305 move it to the final $@ location.
8306
8307 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8308
8309 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8310 access where posix_spawn success and pid argument is null.
8311 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8312 success case.
8313
8314 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
8315
8316 * sysdeps/mach/hurd/i386/c++-types.data: New file.
8317
8318 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8319
8320 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8321 and __fcntl.
8322 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8323 __fcntl only.
8324 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8325 adding attribute_hidden to __open and __fcntl.
8326
8327 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8328 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8329 depend on libc-modules.h,
8330 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8331
8332 2016-03-17 Joseph Myers <joseph@codesourcery.com>
8333
8334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8335 Remove macro.
8336 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8337 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8338 entry.
8339
8340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8341 Remove macro.
8342 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8343 include <kernel-features.h>.
8344 [!__ASSUME_FALLOCATE]: Remove conditional code.
8345 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8346
8347 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
8348
8349 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8350 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8351 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8352 (_ZGVdN4v_cos_avx2): Likewise.
8353 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8354 (_ZGVdN4v_cos): Likewise.
8355 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8356 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8357 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8358 (_ZGVdN4v_exp_avx2): Likewise.
8359 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8360 (_ZGVdN4v_exp): Likewise.
8361 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8362 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8363 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8364 (_ZGVdN4v_log_avx2): Likewise.
8365 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8366 (_ZGVdN4v_log): Likewise.
8367 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8368 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8369 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8370 (_ZGVdN4vv_pow_avx2): Likewise.
8371 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8372 (_ZGVdN4vv_pow): Likewise.
8373 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8374 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8375 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8376 (_ZGVdN4v_sin_avx2): Likewise.
8377 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8378 (_ZGVdN4v_sin): Likewise.
8379 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8380 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8382 (_ZGVdN4vvv_sincos_avx2): Likewise.
8383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8384 (_ZGVdN4vvv_sincos): Likewise.
8385 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8386 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8387 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8388 (_ZGVbN4v_cosf_sse4): Likewise.
8389 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8390 (_ZGVdN8v_cosf_avx2): Likewise.
8391 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8392 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8393 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8394 (_ZGVbN4v_expf_sse4): Likewise.
8395 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8396 (_ZGVdN8v_expf_avx2): Likewise.
8397 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8398 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8399 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8400 (_ZGVbN4v_logf_sse4): Likewise.
8401 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8402 (_ZGVdN8v_logf_avx2): Likewise.
8403 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8404 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8405 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8406 (_ZGVbN4vv_powf_sse4): Likewise.
8407 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8408 (_ZGVdN8vv_powf_avx2): Likewise.
8409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8410 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8411 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8412 (_ZGVbN4vvv_sincosf_sse4): Likewise.
8413 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8414 (_ZGVdN8vvv_sincosf_avx2): Likewise.
8415 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8416 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8417 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8418 (_ZGVbN4v_sinf_sse4): Likewise.
8419 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8420 (_ZGVdN8v_sinf_avx2): Likewise.
8421 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8422 Use JUMPTARGET to call callee.
8423 (WRAPPER_IMPL_SSE2_ff): Likewise.
8424 (WRAPPER_IMPL_SSE2_fFF): Likewise.
8425 (WRAPPER_IMPL_AVX): Likewise.
8426 (WRAPPER_IMPL_AVX_ff): Likewise.
8427 (WRAPPER_IMPL_AVX_fFF): Likewise.
8428 (WRAPPER_IMPL_AVX512): Likewise.
8429 (WRAPPER_IMPL_AVX512_ff): Likewise.
8430 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8431 Likewise.
8432 (WRAPPER_IMPL_SSE2_ff): Likewise.
8433 (WRAPPER_IMPL_SSE2_fFF): Likewise.
8434 (WRAPPER_IMPL_AVX): Likewise.
8435 (WRAPPER_IMPL_AVX_ff): Likewise.
8436 (WRAPPER_IMPL_AVX_fFF): Likewise.
8437 (WRAPPER_IMPL_AVX512): Likewise.
8438 (WRAPPER_IMPL_AVX512_ff): Likewise.
8439 (WRAPPER_IMPL_AVX512_fFF): Likewise.
8440
8441 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8442
8443 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8444 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8445 qualifier.
8446 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8447 internal_function qualifiers.
8448
8449 2016-03-15 Carlos O'Donell <carlos@redhat.com>
8450
8451 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8452 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8453 * math/atest-exp.c (exp_mpn): Mark chk unused.
8454 * math/atest-exp2.c (exp_mpn): Likwise.
8455 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8456 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8457
8458 2016-03-15 Joseph Myers <joseph@codesourcery.com>
8459
8460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8461 Remove macro.
8462 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8463 <kernel-features.h>.
8464 [__NR_ppoll]: Make code unconditional.
8465 [!__ASSUME_PPOLL]: Remove conditional code.
8466
8467 * sysdeps/unix/sysv/linux/kernel-features.h
8468 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8469 (__ASSUME_ACCEPT4): Likewise.
8470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8471 Define.
8472 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8473 Likewise.
8474 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8475 Likewise.
8476 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8477 Likewise.
8478 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8479 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8480 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8481 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8482 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8483 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8484 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8485 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8486 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8487 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8488 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8489 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8490 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8491 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8492 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8493 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8494 Likewise.
8495 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8496 Likewise.
8497 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8498 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8499 0x040300].
8500 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8501 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8502 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8503 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8504 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8505 0x030300].
8506 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8507 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8508 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8509 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8510 0x040300].
8511 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8512 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8514 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8515 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8516 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8517 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8518 0x030300].
8519 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8520 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8521 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8522 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8523 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8524 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8525 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8526 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8527 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8528 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8529 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8530 0x040300].
8531 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8532 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8533 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8534 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8535 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8536 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8537 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8538 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8539 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8540 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8541 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8542 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8543 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8544 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8545 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8546 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8547 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8548 Likewise.
8549 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8550 Likewise.
8551
8552 2016-03-15 Andreas Schwab <schwab@suse.de>
8553
8554 [BZ #19257]
8555 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8556 statp->_u._ext.nscount as loop count.
8557
8558 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
8559
8560 * math/test-signgam-finite-c99.c: Also #undef
8561 __LIBC_INTERNAL_MATH_INLINES.
8562 * math/test-signgam-main.c: Likewise.
8563
8564 2016-03-14 Joseph Myers <joseph@codesourcery.com>
8565
8566 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8567 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8568 (MADV_FREE): Likewise.
8569 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8570 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8571 EPOLLEXCLUSIVE.
8572
8573 2016-03-14 Carlos O'Donell <carlos@redhat.com>
8574
8575 * timezone/README: Remove mention of checktab.awk. Mention wiki
8576 SharedSourceFiles.
8577
8578 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
8579
8580 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8581 WUNTRACED.
8582
8583 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8584
8585 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8586 order to match the type of p when calling atomic_exchange_acq().
8587
8588 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8589
8590 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8591 cfi_offset calls.
8592 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8593 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8594 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8595 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8596 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8597
8598 2016-03-10 Carlos O'Donell <carlos@redhat.com>
8599
8600 * timezone/checktab.awk: Removed.
8601
8602 2016-03-10 Joseph Myers <joseph@codesourcery.com>
8603
8604 * manual/math.texi (Errors in Math Functions): Document relaxed
8605 accuracy goals for IBM long double.
8606 * math/libm-test.inc (test_exceptions): Always allow spurious
8607 "underflow" and "inexact" exceptions for IBM long double.
8608
8609 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 [BZ #19762]
8612 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8613 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8614 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8615 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8616 (bit_arch_*): This for feature array.
8617 (bit_*): Renamed to ...
8618 (bit_cpu_*): This for cpu array.
8619 (index_*): Renamed to ...
8620 (index_arch_*): This for feature array.
8621 (index_*): Renamed to ...
8622 (index_cpu_*): This for cpu array.
8623 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8624 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8625 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8626 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8627 bit_##name with index_cpu_##name and bit_cpu_##name.
8628 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8629 bit_##name with index_arch_##name and bit_arch_##name.
8630
8631 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
8632
8633 [BZ #19792]
8634 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8635 Terminate FDE before return label.
8636
8637 2016-03-09 Joseph Myers <joseph@codesourcery.com>
8638
8639 [BZ #19790]
8640 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8641 (rintl): Define as macro.
8642 [USE_AS_NEARBYINTL] (__rintl): Likewise.
8643 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8644 of fesetround. Ensure results are evaluated before end of scope.
8645 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8646 USE_AS_NEARBYINTL and include s_rintl.c.
8647 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8648 Disable exception traps in new environment.
8649 (libc_feholdsetround_ppc_ctx): Likewise.
8650
8651 2016-03-08 Roland McGrath <roland@hack.frob.com>
8652
8653 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8654 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8655 (tst_audit10_aux) [__AVX512F__]: ... here.
8656
8657 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
8658
8659 * include/sys/auxv.h: New file.
8660
8661 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
8662
8663 [BZ #19759]
8664 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8665
8666 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8667
8668 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8669 operand modifier.
8670 (feclearexcept): Likewise.
8671
8672 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8673
8674 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8675 to reflect the entire 32-bit HWCAP.
8676 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8677 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
8678
8679 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 [BZ #19783]
8682 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8683 $(test-via-rtld-prefix).
8684 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8685
8686 2016-03-08 Florian Weimer <fweimer@redhat.com>
8687
8688 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8689 union wait. Report any non-zero exit status as error.
8690
8691 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8692
8693 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8694 configured with --enable-hardcoded-path-in-tests.
8695
8696 2016-03-08 Joseph Myers <joseph@codesourcery.com>
8697
8698 [BZ #19677]
8699 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8700 (__ieee754_remainderl): Put zero low parts in canonical form.
8701 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8702 file. Based on
8703 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8704 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8705 with wrapper round test-fmodrem-ldbl-128ibm.c.
8706 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8707 file.
8708 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8709 Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8711 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8712
8713 2016-03-07 Florian Weimer <fweimer@redhat.com>
8714
8715 [BZ #19610]
8716 * elf/ldconfig.c (opt_link): Update comment.
8717 (options): Update help string for option -X.
8718 (search_dir): Unlink stale symbolic link only if updating symbolic
8719 links.
8720 * elf/tst-ldconfig-X.sh: New file.
8721 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8722 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8723
8724 2016-03-07 Andreas Schwab <schwab@suse.de>
8725
8726 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8727 needed arguments.
8728
8729 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
8730
8731 [BZ #15333]
8732 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8733 to lstat64.
8734
8735 2016-03-07 Florian Weimer <fweimer@redhat.com>
8736
8737 * libio/filedoalloc.c (isatty): Remove.
8738 (local_isatty): Add comment. Call __isatty directly.
8739 (_IO_file_doallocate): Update comment. Assume _LIBC.
8740 * libio/wfiledoalloc.c (isatty): Remove.
8741 (_IO_wfile_doallocate): Update comment.
8742
8743 2016-03-07 Florian Weimer <fweimer@redhat.com>
8744
8745 [BZ #19269]
8746 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8747 tst-audit4-aux.o.
8748 (tst-audit10): Depend on tst-audit10-aux.o.
8749 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8750 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8751 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8752 instead of inline AVX code.
8753 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8754 instead of inline AVX512 code.
8755 * sysdeps/x86_64/tst-audit4-aux.c: New file
8756 * sysdeps/x86_64/tst-audit10-aux.c: New file
8757
8758 [BZ #19648]
8759 * test-skeleton.c (main): Do not set RLIMIT_DATA.
8760
8761 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8762
8763 [BZ #14750]
8764 [BZ #10354]
8765 [BZ #18433]
8766 * include/sched.h (__clone): Add hidden prototype.
8767 (__clone2): Likewise.
8768 * include/unistd.h (__dup): Likewise.
8769 * posix/Makefile (tests): Add tst-spawn2.
8770 * posix/tst-spawn2.c: New file.
8771 * sysdeps/posix/dup.c (__dup): Add hidden definition.
8772 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8773 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8774 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8775 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8776 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8777 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8778 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8779 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8780 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8781 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8783 Likewise.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8785 Likewise.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8787 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8788 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8789 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8790 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8791 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8792 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8793 * sysdeps/unix/sysv/linux/nptl-signals.h
8794 (____nptl_is_internal_signal): New function.
8795 * sysdeps/unix/sysv/linux/spawni.c: New file.
8796
8797 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8798 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8799 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8800 * posix/tst-execvp2.c (do_test): Likewise.
8801 * posix/tst-execvp3.c (do_test): Likewise.
8802 * posix/tst-execvp4.c (do_test): Likewise.
8803 * posix/tst-execvpe1.c: New file.
8804 * posix/tst-execvpe2.c: Likewise.
8805 * posix/tst-execvpe3.c: Likewise.
8806 * posix/tst-execvpe4.c: Likewise.
8807 * posix/tst-execvpe5.c: Likewise.
8808 * posix/tst-execvpe6.c: Likewise.
8809
8810 [BZ #19534]
8811 * posix/execl.c (execl): Remove dynamic memory allocation.
8812 * posix/execle.c (execle): Likewise.
8813 * posix/execlp.c (execlp): Likewise.
8814
8815 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
8816
8817 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8818 Replace .text with .text.avx512.
8819 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8820 Likewise.
8821
8822 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
8823
8824 * sysdeps/generic/libnsl.abilist: New file.
8825 * sysdeps/generic/libutil.abilist: New file.
8826
8827 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
8828
8829 [BZ #19762]
8830 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8831 HAS_ARCH_FEATURE with Fast_Rep_String.
8832 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8833 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8834 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8835 Likewise.
8836 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8837 Likewise.
8838 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8840 Likewise.
8841 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8842 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8843 Likewise.
8844
8845 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
8846
8847 [BZ #19745]
8848 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8849 with *%rax in call.
8850
8851 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
8852
8853 [BZ #19745]
8854 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8855 with *__libc_start_main@GOTPCREL(%rip) in call.
8856
8857 2016-03-04 Roland McGrath <roland@hack.frob.com>
8858
8859 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8860 inside conditional for nonempty $(CXX).
8861
8862 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8863 nonempty.
8864
8865 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8866 to test for empty $(CXX) rather than $(CXX) of "no".
8867
8868 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8871
8872 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
8873 H.J. Lu <hongjiu.lu@intel.com>
8874
8875 [BZ #18880]
8876 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8877 instead of Slow_BSF, and also check for Fast_Copy_Backward to
8878 enable __memcpy_ssse3_back.
8879
8880 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
8881
8882 [BZ #19758]
8883 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8884 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8885
8886 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8887
8888 [BZ #19490]
8889 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8890 (__fentry__): Likewise.
8891
8892 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
8893
8894 * gmon/Makefile (noprof): Add $(sysdep_noprof).
8895 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8896
8897 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
8898
8899 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8900 __mcount_internal directly.
8901 (C_LABEL(__fentry__)): Likewise.
8902 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8903 directly.
8904
8905 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8908 (__start_context): Call __setcontext directly.
8909
8910 2016-02-26 Joseph Myers <joseph@codesourcery.com>
8911
8912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8913 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8914 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8915 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8917 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8918 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8919 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8920 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8921 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8922 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8923 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8924 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8925 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8926 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8927 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8928 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8930 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8931 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8932 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8933 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8934 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8935 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8936 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8937 Remove conditional code.
8938 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8939 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8940 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8941 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8942 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8943 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8944 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8945 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8946 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8947 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8949 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8950
8951 2016-02-24 Marko Myllynen <myllynen@redhat.com>
8952
8953 * NEWS (2.23): Fix typo in bug 19048 text.
8954
8955 2016-02-24 Carlos O'Donell <carlos@redhat.com>
8956
8957 [BZ #14259]
8958 * Makeconfig: Rename msgcatdir to localedir.
8959 Rename inst_msgcatdir to inst_localedir.
8960 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8961 * config.make.in: Add localedir.
8962 * elf/Makefile ($(objpfx)sotruss): Use localedir.
8963 (ldd-rewrite): Likewise.
8964 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8965 (install-others): Use inst_localedir.
8966 (CPPFLAGS): Use localedir.
8967 * locale/Makefile (locale-CPPFLAGS): Likewise.
8968 * po/Makefile (mo-installed): Use inst_localedir.
8969
8970 [BZ #19575]
8971 * localedata/charmaps/GB18030: Update comments regarding PAU to
8972 non-PUA mappings.
8973
8974 2016-02-24 Joseph Myers <joseph@codesourcery.com>
8975
8976 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8977 test for header.
8978 * sysdeps/unix/sysv/linux/configure: Regenerated.
8979 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8980 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8981 Remove conditional code.
8982 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8983
8984 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8985 Define to 3.2.0.
8986 (arch_minimum_kernel): Likewise.
8987 * sysdeps/unix/sysv/linux/configure: Regenerated.
8988 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8989 Define to 2.6.32.
8990 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8991 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8992 (arch_minimum_kernel): Define to 2.6.32.
8993 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8994 * README: Document Linux 3.2 requirement.
8995 * manual/install.texi (Linux): Document Linux 3.2 headers
8996 requirement.
8997 * INSTALL: Regenerated.
8998
8999 2016-02-24 Andreas Schwab <schwab@suse.de>
9000
9001 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9002 if !NO_LONG_DOUBLE.
9003
9004 2016-02-22 Roland McGrath <roland@hack.frob.com>
9005
9006 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9007 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9008
9009 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
9010
9011 [BZ #19512]
9012 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9013
9014 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
9015
9016 * posix/tst-dir.c: Include libc-internal.h.
9017
9018 2016-02-20 Florian Weimer <fweimer@redhat.com>
9019
9020 [BZ #19056]
9021 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9022 * manual/filesys.texi (Reading/Closing Directory): Mention
9023 deprecaion.
9024 * posix/tst-dir.c (main): Disable deprecation warning in test.
9025
9026 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 [BZ #19679]
9029 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9030 Renamed to ...
9031 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
9032 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9033 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
9034 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9035 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9036 * sysdeps/x86_64/dl-trampoline.h
9037 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9038 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9039
9040 2016-02-19 Mark Wielaard <mjw@redhat.com>
9041
9042 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9043
9044 2016-02-19 Mark Wielaard <mjw@redhat.com>
9045
9046 * elf/elf.h (R_386_GOT32X): New.
9047 (R_386_NUM): Update.
9048 (R_X86_64_GOTPCRELX: New.
9049 (R_X86_64_REX_GOTPCRELX): New.
9050 (R_X86_64_NUM): Update.
9051
9052 2016-02-19 Mike Frysinger <vapier@gentoo.org>
9053
9054 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9055
9056 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
9057
9058 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9059 assign attr->stackaddr to it, and adjust it down when
9060 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
9061 [_STACK_GROWS_UP]: Delete assert.
9062 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9063 Implement stack grows up logic.
9064 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9065 stack grows up logic.
9066
9067 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9068
9069 * NEWS: Update with 2.24 template.
9070
9071 2016-02-19 Joseph Myers <joseph@codesourcery.com>
9072
9073 [BZ #19678]
9074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9075 Ensure +0.0 is returned when taking the next value below the least
9076 positive value.
9077
9078 2016-02-19 Florian Weimer <fweimer@redhat.com>
9079
9080 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9081 available. Do not define NO_THREADS.
9082 * malloc/malloc.c: Do not check NO_THREADS.
9083 * malloc/arena.c: Likewise.
9084
9085 2016-02-19 Florian Weimer <fweimer@redhat.com>
9086
9087 * malloc/malloc.c (__libc_mallinfo): Update comment.
9088 (struct malloc_par): Remove max_total_mem member, it was always 0.
9089 (int_mallinfo): Store 0 into usmblks (no functional change).
9090 * malloc/hooks.c (struct malloc_state): Document that
9091 max_total_mem is always 0.
9092 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9093 always 0.
9094 * manual/memory.texi (Statistics of Malloc): Likewise.
9095
9096 2016-02-19 Florian Weimer <fweimer@redhat.com>
9097
9098 * malloc/malloc.c (sysmalloc): Do not update arena_max.
9099 * malloc/arena.c (arena_max): Remove.
9100 (heap_trim, _int_new_arena): Do not update arena_max.
9101
9102 2016-02-19 Florian Weimer <fweimer@redhat.com>
9103
9104 * resolv/res_init.c (res_ninit): Update comment.
9105
9106 2016-02-19 Florian Weimer <fweimer@redhat.com>
9107
9108 [BZ #19505]
9109 * posix/spawn_int.h: Add headers and include guard.
9110 (__spawn_valid_fd): New function.
9111 * posix/spawn_faction_addopen.c
9112 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9113 * posix/spawn_faction_addclose.c
9114 (posix_spawn_file_actions_addclose): Likewise.
9115 * posix/spawn_faction_adddup2.c
9116 (posix_spawn_file_actions_adddup2): Likewise. Add check for
9117 second file descriptor.
9118 * posix/spawn_valid_fd.c: New file.
9119 * posix/tst-posix_spawn-fd.c: New file.
9120 * posix/Makefile (routines): Add spawn_valid_fd.
9121 (tests): Add tst-posix_spawn-fd.
9122
9123 2016-02-19 Florian Weimer <fweimer@redhat.com>
9124
9125 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9126 (do_test): Limit the number of arenas, so that we can use fewer
9127 outer threads. Limit timeout to 3 seconds, in preparation for a
9128 larger TIMEOUT value.
9129
9130 2016-02-19 Joseph Myers <joseph@codesourcery.com>
9131
9132 [BZ #19674]
9133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9134 sign in overflowing and underflowing results when overflow or
9135 underflow is detected early. Include sign in result before rather
9136 than after scaling.
9137
9138 [BZ #19603]
9139 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9140 (__ieee754_remainderl): Adjust sign of integer version of low part
9141 when taking absolute value of high part.
9142 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9143 * math/libm-test.inc (remainder_test_data): Add another test.
9144 (remquo_test_data): Likewise.
9145
9146 2016-02-18 Joseph Myers <joseph@codesourcery.com>
9147
9148 [BZ #19602]
9149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9150 equal high parts and both low parts zero specially.
9151 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9152 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9153 Add test-fmodl-ldbl-128ibm.
9154
9155 [BZ #19595]
9156 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9157 common logic for all cases of shifting subnormal results. Do not
9158 insert sign bit in shifted mantissa. Always pass -1023 as biased
9159 exponent to ldbl_insert_mantissa in subnormal case.
9160
9161 [BZ #19594]
9162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9163 on high and low parts then adjust result and use
9164 ldbl_canonicalize_int if needed.
9165
9166 [BZ #19593]
9167 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9168 on high part and __floor or __ceil on low part then use
9169 ldbl_canonicalize_int if needed.
9170
9171 [BZ #19592]
9172 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9173 high and low parts then use ldbl_canonicalize_int if needed.
9174
9175 [BZ #17899]
9176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9177 New function.
9178 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9179 on high and low parts then use ldbl_canonicalize_int if needed.
9180
9181 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9182
9183 * configure: Regenerated.
9184
9185 * po/libc.pot: Regenerated.
9186
9187 * po/be.po: Updated translation.
9188 * po/bg.po: Likewise.
9189 * po/ca.po: Likewise.
9190 * po/cs.po: Likewise.
9191 * po/da.po: Likewise.
9192 * po/el.po: Likewise.
9193 * po/eo.po: Likewise.
9194 * po/es.po: Likewise.
9195 * po/fi.po: Likewise.
9196 * po/fr.po: Likewise.
9197 * po/gl.po: Likewise.
9198 * po/hr.po: Likewise.
9199 * po/hu.po: Likewise.
9200 * po/ia.po: Likewise.
9201 * po/id.po: Likewise.
9202 * po/it.po: Likewise.
9203 * po/ja.po: Likewise.
9204 * po/lt.po: Likewise.
9205 * po/nb.po: Likewise.
9206 * po/nl.po: Likewise.
9207 * po/pt_BR.po: Likewise.
9208 * po/rw.po: Likewise.
9209 * po/sk.po: Likewise.
9210 * po/sl.po: Likewise.
9211 * po/sv.po: Likewise.
9212 * po/tr.po: Likewise.
9213 * po/zh_CN.po: Likewise.
9214 * po/zh_TW.po: Likewise.
9215
9216 * version.h (RELEAES): Set to "development".
9217 (VERSION): Set to 2.23.90.
9218
9219 * version.h (RELEASE): Set to "stable".
9220 (VERSION): Set to 2.23.
9221 * include/feature.h (__GLIBC_MINOR__): Set to 23.
9222
9223 * NEWS: Updated fixed bugs.
9224
9225 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
9226 Wilco Dijkstra <wdijkstr@arm.com>
9227
9228 [BZ #19462]
9229 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9230 (_STRING_INLINE_unaligned): This.
9231 * include/string.h: Include <string_private.h>.
9232 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9233 _STRING_INLINE_unaligned.
9234 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9235 (_STRING_INLINE_unaligned): New.
9236 * sysdeps/aarch64/string_private.h: New file.
9237 * sysdeps/generic/string_private.h: Likewise.
9238 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9239 * sysdeps/s390/string_private.h: Likewise.
9240 * sysdeps/x86/string_private.h: Likewise.
9241 * sysdeps/m68k/m680x0/m68020/bits/string.h
9242 (_STRING_ARCH_unaligned): Renamed to ...
9243 (_STRING_INLINE_unaligned): This.
9244 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9245 to ...
9246 (_STRING_INLINE_unaligned): This.
9247 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9248 to ...
9249 (_STRING_INLINE_unaligned): This.
9250 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9251 to ...
9252 (_STRING_INLINE_unaligned): This.
9253
9254 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
9255 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 [BZ #19590]
9258 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9259 relocation.
9260
9261 2016-02-15 Carlos O'Donell <carlos@redhat.com>
9262
9263 [BZ #18665]
9264 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9265 *herrno_p.
9266 (gaih_getanswer): Document functional behviour. Return tryagain
9267 if any result is tryagain.
9268 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9269 when freed.
9270 * resolv/res_send.c: Add copyright text.
9271 (__libc_res_nsend): Document that MAXPACKET is expected.
9272 (send_vc): Document. Remove buffer reuse.
9273 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9274 size of the buffer. Add Dprint for truncated UDP buffer.
9275
9276 2016-02-14 Carlos O'Donell <carlos@redhat.com>
9277
9278 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9279 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9280 * INSTALL: Regenerate.
9281
9282 2016-02-14 Jakub Jelinek <jakub@redhat.com>
9283 Jonathan Wakely <jwakely@redhat.com>
9284 Carlos O'Donell <carlos@redhat.com>
9285
9286 [BZ 19439]
9287 * math/Makefile (tests): Add test-math-isinff.
9288 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9289 * math/bits/mathcalls.h [__USE_MISC]: Use
9290 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9291 functions not in C++11 and which don't conflict e.g. isinff,
9292 isinfl etc.
9293 * math/test-math-isinff.cc: New file.
9294
9295 2016-02-12 Florian Weimer <fweimer@redhat.com>
9296
9297 * misc/bug18240.c (do_test): Set RLIMIT_AS.
9298
9299 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9300
9301 [BZ #19529]
9302 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9303
9304 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9305
9306 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9307
9308 2016-02-01 Joseph Myers <joseph@codesourcery.com>
9309
9310 [BZ #19550]
9311 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9312 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9313 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9314 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9315 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9316 New syscall entry.
9317 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9318 New syscall entry.
9319 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9320 syscall entry.
9321
9322 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
9323
9324 [BZ #18240]
9325 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9326 unsigned int wraparound.
9327
9328 2016-01-27 Florian Weimer <fweimer@redhat.com>
9329
9330 [BZ #18240]
9331 * misc/bug18240.c: New test.
9332 * misc/Makefile (tests): Add it.
9333
9334 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
9335 Joseph Myers <joseph@codesourcery.com>
9336
9337 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9338 load in branch delay slot when less than a word of input left.
9339
9340 2016-01-27 Andreas Schwab <schwab@suse.de>
9341
9342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9344 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9345 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9346
9347 2016-01-26 David S. Miller <davem@davemloft.net>
9348
9349 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9350
9351 2016-01-25 David S. Miller <davem@davemloft.net>
9352
9353 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9354 __sqrtl_finite.
9355 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9356 instead using versioned_symbol.
9357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9358 of entries.
9359
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9361 __sqrtl_finite to GLIBC_2.23
9362
9363 2016-01-25 Ricchard Henderson <rth@redhat.com>
9364
9365 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9366
9367 2016-01-25 Andreas Schwab <schwab@suse.de>
9368
9369 [BZ #17514]
9370 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9371 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9372 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9373 * nptl/tst-mutex-errorcheck.c: New file.
9374
9375 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9376
9377 [BZ #18560]
9378 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9379 (IPCOP_semop): Likewise.
9380 (IPCOP_semget): Likewise.
9381 (IPCOP_semctl): Likewise.
9382 (IPCOP_msgsnd): Likewise.
9383 (IPCOP_msgrcv): Likewise.
9384 (IPCOP_msgget): Likewise.
9385 (IPCOP_msgctl): Likewise.
9386 (IPCOP_shmat): Likewise.
9387 (IPCOP_shmdt): Likewise.
9388 (IPCOP_shmget): Likewise.
9389 (IPCOP_shmctl): Likewise.
9390
9391 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
9392
9393 * string/tst-endian.c: Include <libc-internal.h>.
9394 (do_test): Ignore tautological-compare warnings around
9395 "htobeXX (beXXtoh (i)) != i" and
9396 "htoleXX (leXXtoh (i)) != i" if-statements.
9397
9398 2016-01-24 David S. Miller <davem@davemloft.net>
9399
9400 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9401 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9402 alias.
9403 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9404 __sqrtl_finite.
9405
9406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9407
9408 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
9409
9410 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9411 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9412 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9413
9414 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9415
9416 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9417 (thread_func): Use new function to simplify barrier check.
9418 (do_test): Use new function to simplify checking barrier exit
9419 code, and actually join the child thread.
9420
9421 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9422
9423 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9424 semicolon.
9425 (__libc_tend): Likewise.
9426 (__libc_tabort): Likewise.
9427
9428 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
9429
9430 * sysdeps/nios2/libm-test-ulps: Update.
9431 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9432 (__gtsf2): Likewise.
9433 (__unorddf2): Likewise.
9434 (__unordsf2): Likewise.
9435 (__ledf2): Likewise.
9436
9437 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
9438
9439 * nis/nis_table.c (__follow_path): Disable diagnostic for
9440 uninitialized variable that is a false positive for gcc 4.7.
9441 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9442
9443 2016-01-20 Roland McGrath <roland@hack.frob.com>
9444
9445 * sysdeps/nacl/lowlevellock-futex.h
9446 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9447 Always evaluate PRIVATE argument.
9448
9449 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
9450
9451 [BZ #19490]
9452 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9453 (pthread_cond_broadcast): Use ENTRY/END
9454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9455 (pthread_cond_signal): Likewise.
9456 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9457 Likewise.
9458 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9459 Likewise.
9460 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9461 Likewise.
9462
9463 2016-01-20 Joseph Myers <joseph@codesourcery.com>
9464
9465 * sysdeps/ieee754/dbl-64/s_finite.c
9466 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9467 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9468 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9469 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9470 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9471
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9473 (__gtsf2): Add as optional for libc.so.
9474 (__unordsf2): Likewise.
9475 (__signbit): Remove for libc.so.
9476 (__signbitl): Likewise.
9477
9478 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
9479
9480 * iconvdata/bug-iconv11.c (test_ibm93x):
9481 Use %zu printf format specifier for size_t argument.
9482
9483 2016-01-19 Joseph Myers <joseph@codesourcery.com>
9484
9485 * math/gen-libm-test.pl (parse_ulps): Do not reduce
9486 already-recorded ulps.
9487 * sysdeps/arm/libm-test-ulps: Regenerated.
9488 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9489 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9490 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9491
9492 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
9493 Paul Pluzhnikov <ppluzhnikov@google.com>
9494
9495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9496 assembler not supporting AVX-512.
9497
9498 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
9499
9500 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9501
9502 2016-01-18 Joseph Myers <joseph@codesourcery.com>
9503
9504 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9505 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9506
9507 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9508
9509 * sysdeps/arm/libm-test-ulps: Regenerated.
9510
9511 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9512
9513 [BZ #19451]
9514 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9515
9516 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9517
9518 [BZ #19486]
9519 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9520 * sysdeps/generic/fix-fp-int-convert-overflow.h
9521 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9522 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9523 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9524 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9525 Likewise.
9526 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9527 Avoid conversions to long int where inexact exceptions
9528 could be raised.
9529 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9530 Likewise.
9531 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9532 Avoid conversions to long long int where inexact exceptions
9533 could be raised.
9534 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9535 Likewise.
9536
9537 2016-01-17 Mike Frysinger <vapier@gentoo.org>
9538
9539 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9540 * configure: Regenerated.
9541
9542 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
9543
9544 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9545
9546 2016-01-16 Mike Frysinger <vapier@gentoo.org>
9547
9548 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9549 outside of comment.
9550
9551 2016-01-15 Torvald Riegel <triegel@redhat.com>
9552
9553 * nptl/tst-barrier1.c: Add description on first line.
9554 * nptl/tst-barrier2.c: Likewise.
9555 * nptl/tst-barrier3.c: Likewise.
9556 * nptl/tst-barrier4.c: Likewise.
9557 * nptl/tst-barrier5.c: Likewise.
9558
9559 2016-01-15 Torvald Riegel <triegel@redhat.com>
9560
9561 [BZ #18868]
9562 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9563
9564 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
9565
9566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9567 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9568 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9569 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9570 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9571 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9573 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9574 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9575 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9576 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9577
9578 2016-01-15 Torvald Riegel <triegel@redhat.com>
9579
9580 [BZ #13065]
9581 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9582 new implementation.
9583 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9584 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9585 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9586 (BARRIER_IN_THRESHOLD): New macro.
9587 * nptl/pthread_barrierattr_setpshared.c
9588 (pthread_barrierattr_setpshared): Clean up.
9589 * nptl/tst-barrier4.c: Correct comment.
9590 * nptl/tst-barrier5.c: New file.
9591 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9592 (gen-as-const-headers): Remove lowlevelbarrier.sym.
9593 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9594 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9595 * nptl/lowlevelbarrier.sym: Remove.
9596 * nptl/DESIGN-barrier.txt: Remove.
9597 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9598 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9599 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9600 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9601 error.
9602 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9603 implementation.
9604
9605 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9606
9607 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9608 (do_child): Mask SIGRTMIN while thr is running.
9609
9610 2016-01-15 Martin Sebor <msebor@redhat.com>
9611
9612 [BZ #19432]
9613 * iconvdata/Makefile: Add bug-iconv11.
9614 * iconvdata/bug-iconv11.c: New test.
9615 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9616 * iconvdata/ibm933.c: Same.
9617 * iconvdata/ibm935.c: Same.
9618 * iconvdata/ibm937.c: Same.
9619 * iconvdata/ibm939.c: Same.
9620
9621 2016-01-15 Martin Sebor <msebor@redhat.com>
9622
9623 [BZ #19443]
9624 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9625 [DEBUG] (_ufc_set_bits): Declare used.
9626 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9627 [DEBUG] (print_all): Declare used.
9628 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9629 operands of the ternary ?: expression to target type.
9630 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9631 calling the undeclared abort.
9632 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9633
9634 2016-01-15 Martin Sebor <msebor@redhat.com>
9635
9636 [BZ #18755]
9637 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9638 warnings.
9639 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9640 (__gai_create_helper_thread): Same.
9641 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9642 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9643 to suppress -Wmaybe-uninitialized warnings.
9644
9645 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
9646
9647 [BZ #19465]
9648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9649 inside if.
9650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9653
9654 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
9655
9656 [BZ #19466]
9657 * time/tst-mktime2.c (time_t_max): Removed.
9658 (time_t_min): Likewise.
9659 (TYPE_SIGNED): New.
9660 (TYPE_MINIMUM): Likewise.
9661 (TYPE_MAXIMUM): Likewise.
9662 (TIME_T_MIN): Likewise.
9663 (TIME_T_MAX): Likewise.
9664 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9665 and TIME_T_MIN.
9666 (do_test): Likewise.
9667
9668 2016-01-14 Amit Pawar <amit.pawar@amd.com>
9669
9670 [BZ #19467]
9671 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9672 index_Fast_Unaligned_Load flag for Excavator family CPUs.
9673
9674 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
9675
9676 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9677
9678 2016-01-13 Carlos O'Donell <carlos@redhat.com>
9679
9680 * benchtests/Makefile (PYTHON): Define.
9681 (bench-func): Use $(PYTHON) to run python scripts.
9682 ($(objpfx)bench-%.c): Likewise.
9683
9684 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
9685
9686 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9687 leading slash when `file_name' is "/".
9688
9689 2016-01-12 Joseph Myers <joseph@codesourcery.com>
9690
9691 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9692 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9693 Likewise.
9694 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9695 Likewise.
9696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9697 Likewise.
9698 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9699 enum constant and macro.
9700 (PTRACE_SETSIGMASK): Likewise.
9701 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9702 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9703 (PTRACE_GETSIGMASK): Likewise.
9704 (PTRACE_SETSIGMASK): Likewise.
9705 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9706 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9707 Likewise.
9708 (PTRACE_SETSIGMASK): Likewise.
9709 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9711 (PTRACE_GETSIGMASK): Likewise.
9712 (PTRACE_SETSIGMASK): Likewise.
9713 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9714 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9715 Likewise.
9716 (PTRACE_SETSIGMASK): Likewise.
9717 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9719 Likewise.
9720 (PTRACE_SETSIGMASK): Likewise.
9721 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9722 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9723 Likewise.
9724 (PTRACE_SETSIGMASK): Likewise.
9725 (PTRACE_SECCOMP_GET_FILTER): Likewise.
9726
9727 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
9728 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9729
9730 [BZ #19439]
9731 * math/bits/mathcalls.h
9732 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9733 prototype.
9734 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9735
9736 2016-01-11 Andreas Schwab <schwab@suse.de>
9737
9738 [BZ #19253]
9739 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9740 cache when TZDEFRULES was used.
9741 * time/tst-tzname.c: New file.
9742 * time/Makefile (test): Add tst-tzname.
9743 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9744 * timezone/Makefile (test-zones): Add $(posixrules-file).
9745 ($(testdata)/$(posixrules-file)): New rule.
9746
9747 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
9748
9749 Fix doc quoting problems with Texinfo 5
9750 Without this change, in the info file output, Texinfo 5 quotes code
9751 in text with undirected single quotes 'like this' and generates
9752 code examples that with many PDF readers cannot be cut out of PDFs
9753 and pasted into code.
9754 * manual/libc.texinfo: Configure the libc manual like the GNU
9755 Emacs manual, by using @documentencoding and setting
9756 txicodequoteundirected and txicodequotebacktick. This way,
9757 Texinfo 5 quotes code in text with directed single quotes ‘like
9758 this’ and produces examples that can be cut out of PDFs. This
9759 change causes Texinfo 5 to generate info files that contain UTF-8
9760 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9761 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9762
9763 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9764
9765 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9766 __libc_tabort, __libc_tend): New wrappers that enforce compiler
9767 barriers to their respective compiler built-ins.
9768 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9769 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9770 * sysdeps/powerpc/sysdep.h: Likewise.
9771 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9772 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9773 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9774
9775 2016-01-08 Marko Myllynen <myllynen@redhat.com>
9776
9777 * scripts/config.guess: Revert previous shebang change.
9778 * scripts/config.sub: Likewise.
9779 * scripts/mkinstalldirs: Likewise.
9780
9781 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9782
9783 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9784 PPC_FEATURE2_HAS_IEEE128.
9785 * sysdeps/powerpc/dl-procinfo.c:
9786 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9787
9788 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
9789
9790 [BZ #19415]
9791 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9792 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
9793 (_dl_lookup_address): Rewrite using function resolver trampoline.
9794 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9795 two bits in address.
9796
9797 2016-01-07 Mike Frysinger <vapier@gentoo.org>
9798
9799 * longlong.h: Change !__SHMEDIA__ to
9800 (!defined (__SHMEDIA__) || !__SHMEDIA__).
9801 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9802
9803 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
9804 Joseph Myers <joseph@codesourcery.com>
9805 Mark Shinwell <shinwell@codesourcery.com>
9806 Andrew Stubbs <ams@codesourcery.com>
9807 Rich Felker <dalias@libc.org>
9808
9809 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9810
9811 2016-01-07 Richard Henderson <rth@redhat.com>
9812
9813 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9814
9815 2016-01-07 Mike Frysinger <vapier@gentoo.org>
9816
9817 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9818 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9819 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9820 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9821 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9822
9823 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
9824 Joseph Myers <joseph@codesourcery.com>
9825
9826 * timezone/private.h: Update from tzcode 2015g.
9827 * timezone/tzfile.h: Likewise.
9828 * timezone/tzselect.ksh: Likewise.
9829 * timezone/zdump.c: Likewise.
9830 * timezone/zic.c: Likewise.
9831 * timezone/ialloc.c: Remove file.
9832 * timezone/scheck.c: Likewise.
9833 * timezone/Makefile (extra-objs): Remove variable.
9834 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9835 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9836 -Wno-maybe-uninitialized.
9837 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9838 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9839 (CFLAGS-ialloc.c): Remove variable.
9840 (CFLAGS-scheck.c): Likewise.
9841 * timezone/README: Update list of files from tzcode.
9842
9843 2016-01-07 Khem Raj <raj.khem@gmail.com>
9844
9845 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9846 instead of __fxprintf when _LIBC is undefined.
9847
9848 2016-01-07 Marko Myllynen <myllynen@redhat.com>
9849
9850 * catgets/test-gencat.sh: Remove space after shebang.
9851 * conform/GlibcConform.pm: Likewise.
9852 * conform/check-header-lists.sh: Likewise.
9853 * conform/conformtest.pl: Likewise.
9854 * conform/linknamespace.pl: Likewise.
9855 * conform/list-header-symbols.pl: Likewise.
9856 * debug/catchsegv.sh: Likewise.
9857 * elf/genrtldtbl.awk: Likewise.
9858 * elf/tst-pathopt.sh: Likewise.
9859 * elf/tst-rtld-load-self.sh: Likewise.
9860 * grp/tst_fgetgrent.sh: Likewise.
9861 * iconvdata/gen-8bit-gap-1.sh: Likewise.
9862 * iconvdata/gen-8bit-gap.sh: Likewise.
9863 * iconvdata/gen-8bit.sh: Likewise.
9864 * iconvdata/run-iconv-test.sh: Likewise.
9865 * intl/tst-gettext.sh: Likewise.
9866 * intl/tst-gettext2.sh: Likewise.
9867 * intl/tst-gettext4.sh: Likewise.
9868 * intl/tst-gettext6.sh: Likewise.
9869 * intl/tst-translit.sh: Likewise.
9870 * io/ftwtest-sh: Likewise.
9871 * libio/test-freopen.sh: Likewise.
9872 * locale/gen-translit.pl: Likewise.
9873 * malloc/tst-mtrace.sh: Likewise.
9874 * manual/check-safety.sh: Likewise.
9875 * manual/libc-texinfo.sh: Likewise.
9876 * manual/tsort.awk: Likewise.
9877 * manual/xtract-typefun.awk: Likewise.
9878 * nptl/tst-cancel-wrappers.sh: Likewise.
9879 * nptl/tst-tls6.sh: Likewise.
9880 * posix/globtest.sh: Likewise.
9881 * posix/tst-getconf.sh: Likewise.
9882 * posix/wordexp-tst.sh: Likewise.
9883 * scripts/check-c++-types.sh: Likewise.
9884 * scripts/check-local-headers.sh: Likewise.
9885 * scripts/config.guess: Likewise.
9886 * scripts/config.sub: Likewise.
9887 * scripts/cpp: Likewise.
9888 * scripts/cross-test-ssh.sh: Likewise.
9889 * scripts/documented.sh: Likewise.
9890 * scripts/evaluate-test.sh: Likewise.
9891 * scripts/gen-libc-abis: Likewise.
9892 * scripts/gen-sorted.awk: Likewise.
9893 * scripts/list-fixed-bugs.py: Likewise.
9894 * scripts/merge-test-results.sh: Likewise.
9895 * scripts/mkinstalldirs: Likewise.
9896 * scripts/rellns-sh: Likewise.
9897 * scripts/test-installation.pl: Likewise.
9898 * scripts/update-copyrights: Likewise.
9899 * stdio-common/tst-printf.sh: Likewise.
9900 * stdio-common/tst-unbputc.sh: Likewise.
9901 * stdlib/tst-fmtmsg.sh: Likewise.
9902 * stdlib/tst-setcontext3.sh: Likewise.
9903 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9904 * sysdeps/unix/make-syscalls.sh: Likewise.
9905
9906 2016-01-06 John David Anglin <dave.anglin@bell.net>
9907
9908 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9909 asm stw with atomic_exchange_rel. Add explanatory comment.
9910 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9911 Likewise.
9912
9913 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 [BZ #19122]
9916 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9917 * sysdeps/generic/dl-unistd.h: New file.
9918 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9919
9920 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
9921
9922 [BZ #19122]
9923 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9924 * sysdeps/generic/dl-mman.h: New file.
9925 * sysdeps/mach/hurd/dl-mman.h: Likewise.
9926
9927 2016-01-05 Joseph Myers <joseph@codesourcery.com>
9928
9929 * manual/texinfo.tex: Update to version 2016-01-04.21 with
9930 trailing whitespace removed.
9931 * scripts/config.guess: Update to version 2016-01-01.
9932 * scripts/config.sub: Update to version 2016-01-01.
9933 * scripts/move-if-change: Update from gnulib.
9934
9935 2016-01-04 Anton Blanchard <anton@samba.org>
9936
9937 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9938 for array indices.
9939 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9940
9941 2016-01-04 Joseph Myers <joseph@codesourcery.com>
9942
9943 * NEWS: Update copyright dates.
9944 * catgets/gencat.c (print_version): Likewise.
9945 * csu/version.c (banner): Likewise.
9946 * debug/catchsegv.sh: Likewise.
9947 * debug/pcprofiledump.c (print_version): Likewise.
9948 * debug/xtrace.sh (do_version): Likewise.
9949 * elf/ldconfig.c (print_version): Likewise.
9950 * elf/ldd.bash.in: Likewise.
9951 * elf/pldd.c (print_version): Likewise.
9952 * elf/sotruss.sh: Likewise.
9953 * elf/sprof.c (print_version): Likewise.
9954 * iconv/iconv_prog.c (print_version): Likewise.
9955 * iconv/iconvconfig.c (print_version): Likewise.
9956 * locale/programs/locale.c (print_version): Likewise.
9957 * locale/programs/localedef.c (print_version): Likewise.
9958 * login/programs/pt_chown.c (print_version): Likewise.
9959 * malloc/memusage.sh (do_version): Likewise.
9960 * malloc/memusagestat.c (print_version): Likewise.
9961 * malloc/mtrace.pl: Likewise.
9962 * manual/libc.texinfo: Likewise.
9963 * nptl/version.c (banner): Likewise.
9964 * nscd/nscd.c (print_version): Likewise.
9965 * nss/getent.c (print_version): Likewise.
9966 * nss/makedb.c (print_version): Likewise.
9967 * posix/getconf.c (main): Likewise.
9968 * scripts/test-installation.pl: Likewise.
9969 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9970
9971 * All files with FSF copyright notices: Update copyright dates
9972 using scripts/update-copyrights.
9973 * intl/plural.c: Regenerated.
9974 * locale/programs/charmap-kw.h: Likewise.
9975 * locale/programs/locfile-kw.h: Likewise.
9976
9977 2016-01-02 Helge Deller <deller@gmx.de>
9978
9979 [BZ #19285]
9980 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9981 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9982 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9983 (MADV_xxK_PAGES): Remove.
9984
9985 2016-01-01 Mike Frysinger <vapier@gentoo.org>
9986
9987 [BZ #15421]
9988 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9989 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
9990 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9991 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9992
9993 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
9994
9995 [BZ #19408]
9996 * sysdeps/unix/sysv/linux/personality.c: New file.
9997 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9998 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9999 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10000 (sysdep_routines): Add personality.
10001 (tests): Add tst-personality.
10002 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10004 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10005 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10006 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10007 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10008 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10009 Likewise.
10010 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10011 Likewise.
10012 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10013 Likewise.
10014 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10015 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10016 Likewise.
10017
10018 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
10019
10020 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10021 (PATH_ARM_SYSTYPE): Remove.
10022 (PATH_CPUINFO): Likewise.
10023 (IO_BASE_FOOTBRIDGE): Likewise.
10024 (IO_SHIFT_FOOTBRIDGE): Likewise.
10025 (struct platform): Likewise.
10026 (init_iosys): Remove compatibility code for 2.4 kernels.
10027 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10028
10029 2015-12-29 Florian Weimer <fweimer@redhat.com>
10030
10031 * malloc/tst-malloc-thread-fail.c: New file.
10032 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10033 (tst-malloc-thread-fail): Link against libpthread.
10034
10035 2015-12-29 Mike Frysinger <vapier@gentoo.org>
10036
10037 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
10038 (get_parser): New function.
10039 (main): New function.
10040
10041 2015-12-29 Rob Wu <rob@robwu.nl>
10042
10043 [BZ #19369]
10044 * resolv/res_init.c (__res_vinit): Reset defdname before use.
10045
10046 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
10047
10048 [BZ #19270]
10049 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10050
10051 2015-12-28 Mike Frysinger <vapier@gentoo.org>
10052
10053 [BZ #15421]
10054 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10055
10056 2015-12-23 Torvald Riegel <triegel@redhat.com>
10057
10058 [BZ #13690]
10059 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10060 after releasing it.
10061 (__lll_robust_unlock): Likewise.
10062 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10063 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10064 (lll_robust_unlock): Likewise.
10065 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10066 Prevent warnings in callers.
10067
10068 2015-12-23 Florian Weimer <fweimer@redhat.com>
10069
10070 * malloc/arena.c (list_lock): Update comment.
10071
10072 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10073
10074 * sysdeps/powerpc/hwcapinfo.c: Export symbol
10075 __parse_hwcap_and_convert_at_platform to libc.a.
10076
10077 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10078
10079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10080 platform and feature support for POWER9.
10081 * sysdeps/powerpc/dl-procinfo.h: Likewise.
10082 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10083 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10084 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10085 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10086 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10087 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10088 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10089
10090 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10091
10092 Harmonize generic stdio-lock support with nptl
10093
10094 This fixes build when _IO_funlockfile is a macro, fixes build where
10095 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10096 stack unwind.
10097
10098 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10099 _IO_release_lock ): Use cleanup attribute on new
10100 _IO_acquire_lock_file variable instead of assuming that
10101 _IO_release_lock will be called.
10102 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10103 _IO_acquire_lock_needs_exceptions_enabled.
10104 (_IO_acquire_lock_clear_flags2): New macro.
10105
10106 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10107
10108 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10109
10110 2015-12-21 Florian Weimer <fweimer@redhat.com>
10111
10112 [BZ #19182]
10113 * malloc/arena.c (list_lock): Document lock ordering requirements.
10114 (free_list_lock): New lock.
10115 (ptmalloc_lock_all): Comment on free_list_lock.
10116 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10117 (detach_arena): Update comment. free_list_lock is now needed.
10118 (_int_new_arena): Use free_list_lock around detach_arena call.
10119 Acquire arena lock after list_lock. Add comment, including FIXME
10120 about incorrect synchronization.
10121 (get_free_list): Switch to free_list_lock.
10122 (reused_arena): Acquire free_list_lock around detach_arena call
10123 and attached threads counter update. Add two FIXMEs about
10124 incorrect synchronization.
10125 (arena_thread_freeres): Switch to free_list_lock.
10126 * malloc/malloc.c (struct malloc_state): Update comments to
10127 mention free_list_lock.
10128
10129 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
10130
10131 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10132 Remove functions.
10133 (sloww, sloww1): Accept argument to offset quadrant.
10134 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10135 quadrant.
10136 (__sin, __cos): Consolidate common code into new functions.
10137 (reduce_sincos_1, do_sincos_1): New functions.
10138 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10139
10140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10141 code to new functions.
10142 (reduce_sincos_2, do_sincos_2): New functions.
10143 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10144
10145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10146 common code for sincos.
10147 (__cos) [!IN_SINCOS]: Likewise.
10148 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10149 New function.
10150 (__sincos): Use it.
10151
10152 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
10153
10154 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10155 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10156 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10157
10158 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
10159
10160 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10163 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10164 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10165 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10166 index_Prefer_No_VZEROUPPER): New feature.
10167 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10168 Prefer_No_VZEROUPPER for Knights Landing.
10169
10170 015-12-18 Torvald Riegel <triegel@redhat.com>
10171
10172 * math/atest-exp2.c (mp_exp_m1): Remove.
10173
10174 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10175
10176 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10177 syscalls.
10178 (__SYSCALL0): New macro.
10179 (__SYSCALL1): Likewise.
10180 (__SYSCALL2): Likewise.
10181 (__SYSCALL3): Likewise.
10182 (__SYSCALL4): Likewise.
10183 (__SYSCALL5): Likewise.
10184 (__SYSCALL6): Likewise.
10185 (__SYSCALL_CONCAT_X): Likewise.
10186 (__SYSCALL_CONCAT): Likewise.
10187 (__SYSCALL_DIST): Likewise.
10188 (__SYSCALL_CALL): Likewise.
10189
10190 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
10191
10192 [BZ #19363]
10193 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10194
10195 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10196
10197 [BZ #19375]
10198 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10199 negative subnormals.
10200
10201 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
10202
10203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10204 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10205 (INTERNAL_SYSCALL_NCS): Use it.
10206 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10207
10208 2015-12-16 Florian Weimer <fweimer@redhat.com>
10209
10210 [BZ #19243]
10211 * malloc/arena.c (get_free_list): Remove assert and adjust
10212 reference count handling. Add comment about reused_arena
10213 interaction.
10214 (reused_arena): Add comments abount get_free_list interaction.
10215 * malloc/tst-malloc-thread-exit.c: New file.
10216 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10217 (tst-malloc-thread-exit): Link against libpthread.
10218
10219 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
10220
10221 [BZ #19367]
10222 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10223 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10224 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10225 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10226 (index_Prefer_MAP_32BIT_EXEC): Likewise.
10227
10228 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
10229
10230 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10231 Silvermont optimizations for Knights Landing.
10232
10233 2015-12-15 Andreas Schwab <schwab@suse.de>
10234
10235 [BZ #17197]
10236 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10237 immediately after emitting SI.
10238 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10239 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10240 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10241 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10242 * iconvdata/bug-iconv10.c: New file.
10243 * iconvdata/Makefile (tests): Add bug-iconv10.
10244 ($(objpfx)bug-iconv10.out): New rule.
10245
10246 2015-12-15 Florian Weimer <fweimer@redhat.com>
10247
10248 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10249 aliasing violation.
10250
10251 2015-12-14 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #18472]
10254 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10255 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10256 conditionals for them.
10257 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10258 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10260 sys/kdaemon.h.
10261 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10262 compat-only syscall, obsoleted in glibc 2.23.
10263 (create_module): Likewise.
10264 (get_kernel_syms): Likewise.
10265 (query_module): Likewise.
10266 (uselib): Likewise.
10267 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10268
10269 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
10270
10271 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10272 <linux/version.h>.
10273 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10274 conditional code.
10275 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10276 and ioshift_name initialization.
10277
10278 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
10279
10280 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10281 Fix indentation.
10282
10283 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
10284
10285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10286
10287 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
10288
10289 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10290
10291 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
10292 Jakub Wilk <jwilk@debian.org>
10293
10294 [BZ #19347]
10295 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10296 to change the group of the device to the tty group.
10297
10298 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
10299
10300 Split large string section; add truncation advice
10301 * manual/examples/strncat.c: Remove.
10302 This example was misleading, as the code would have undefined
10303 behavior if "hello" was longer than SIZE. Anyway, the manual
10304 shouldn't encourage strncpy+strncat for this sort of thing.
10305 * manual/string.texi (Copying Strings and Arrays): Split into
10306 three sections Copying Strings and Arrays, Concatenating Strings,
10307 and Truncating Strings, as this section was way too long. All
10308 cross-referenced changed. Add advice about string-truncation
10309 functions. Remove misleading strncat example.
10310
10311 2015-12-10 Carlos O'Donell <carlos@redhat.com>
10312
10313 * manual/nss.texi (NSS Modules Interface): Document
10314 NSS_STATUS_NOTFOUND and SUCCESS.
10315
10316 2015-12-09 Mike FABIAN <mfabian@redhat.com>
10317
10318 [BZ 18568]
10319 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10320 201505L, for Unicode 8.
10321
10322 2015-12-09 Carlos O'Donell <carlos@redhat.com>
10323
10324 * locale/C-translit.h: Regenerate.
10325
10326 2015-12-09 Mike FABIAN <mfabian@redhat.com>
10327
10328 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10329 and U+0153.
10330
10331 2015-12-09 Joseph Myers <joseph@codesourcery.com>
10332
10333 [BZ #19351]
10334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10335 expanding log(1+z), compare z rather than its square with epsilon
10336 to determine when to avoid evaluating the expansion.
10337
10338 [BZ #19350]
10339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10340 Increase overflow threshold.
10341
10342 [BZ #19349]
10343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10344 when small.
10345
10346 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10347 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10348 New macro.
10349 [__LINUX_KERNEL_VERSION >= 0x040300]
10350 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10351 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10352 Likewise.
10353 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10354 Likewise.
10355 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10356 Likewise.
10357 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10358 Likewise.
10359 [__LINUX_KERNEL_VERSION >= 0x040300]
10360 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10361 [__LINUX_KERNEL_VERSION >= 0x040300]
10362 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10363 [__LINUX_KERNEL_VERSION >= 0x040300]
10364 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10365 [__LINUX_KERNEL_VERSION >= 0x040300]
10366 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10367 [__LINUX_KERNEL_VERSION >= 0x040300]
10368 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10369 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10370 Likewise.
10371 [__LINUX_KERNEL_VERSION >= 0x040300]
10372 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10373 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10374 Likewise.
10375 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10376 Likewise.
10377 [__LINUX_KERNEL_VERSION >= 0x040300]
10378 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10379 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10380 Likewise.
10381 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10382 Likewise.
10383 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10384 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10385 Likewise.
10386 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10387 Likewise.
10388 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10389 Likewise.
10390 [__LINUX_KERNEL_VERSION >= 0x040300]
10391 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10392 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10393 Likewise.
10394 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10395 Likewise.
10396 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10397 Likewise.
10398 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10399 Likewise.
10400 [__LINUX_KERNEL_VERSION >= 0x040300]
10401 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10402 [__LINUX_KERNEL_VERSION >= 0x040300]
10403 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10404 [__LINUX_KERNEL_VERSION >= 0x040300]
10405 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10406 [__LINUX_KERNEL_VERSION >= 0x040300]
10407 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10408 [__LINUX_KERNEL_VERSION >= 0x040300]
10409 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10410 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10411 Likewise.
10412 [__LINUX_KERNEL_VERSION >= 0x040300]
10413 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10414 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10415 Likewise.
10416 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10417 Likewise.
10418 [__LINUX_KERNEL_VERSION >= 0x040300]
10419 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10420 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10421 Likewise.
10422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10423 Likewise.
10424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10425 (__ASSUME_SOCKET_SYSCALL): Likewise.
10426 (__ASSUME_BIND_SYSCALL): Likewise.
10427 (__ASSUME_CONNECT_SYSCALL): Likewise.
10428 (__ASSUME_LISTEN_SYSCALL): Likewise.
10429 (__ASSUME_ACCEPT_SYSCALL): Likewise.
10430 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10431 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10432 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10433 (__ASSUME_SEND_SYSCALL): Likewise.
10434 (__ASSUME_SENDTO_SYSCALL): Likewise.
10435 (__ASSUME_RECV_SYSCALL): Likewise.
10436 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10437 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10438 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10439 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10440 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10441 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10442 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10443 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10444 Likewise.
10445 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10446 Likewise.
10447 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10448 Likewise.
10449 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10450 Likewise.
10451 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10452 Likewise.
10453 [__LINUX_KERNEL_VERSION >= 0x020625]
10454 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10455 [__LINUX_KERNEL_VERSION >= 0x020625]
10456 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10457 [__LINUX_KERNEL_VERSION >= 0x020625]
10458 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10459 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10460 Likewise.
10461 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10462 Likewise.
10463 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10464 Likewise.
10465 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10466 Likewise.
10467 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10468 Likewise.
10469 [__LINUX_KERNEL_VERSION >= 0x020625]
10470 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10471 [__LINUX_KERNEL_VERSION >= 0x020625]
10472 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10473 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10474 Likewise.
10475 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10476 Likewise.
10477
10478 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
10479
10480 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10481 record the current if the current ABI and CPU support the FP64
10482 extension.
10483 (has-modd-spreg): Define to record the current if the current ABI and
10484 CPU support 32-bit floating point values in odd FPU registers.
10485 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10486 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10487 $(has-modd-spreg) equals yes.
10488 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10489 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10490 $(has-modd-spreg) equal yes.
10491
10492 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
10493
10494 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10495 basename.
10496
10497 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
10498
10499 * benchtests/Makefile (bench-math): Move ffs and ffsll...
10500 (bench-string): ... here.
10501 (bench): Add bench-string.
10502 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10503 to *-benchset to reflect what they are.
10504 (benchset): Adjust.
10505
10506 * benchtests/sincos-inputs: Add inputs from sin-inputs and
10507 cos-inputs.
10508
10509 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
10510
10511 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10512 __attribute__ ((__simd__)) for vector math function declarations.
10513
10514 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
10515
10516 Fix typo in strncat, wcsncat manual entries
10517 * manual/string.texi (Copying and Concatenation): Fix typos in
10518 sample implementations of strncat and wcsncat, by having them use
10519 the old value of the destination length, not the new one.
10520
10521 2015-12-04 Joseph Myers <joseph@codesourcery.com>
10522
10523 [BZ #16961]
10524 [BZ #16962]
10525 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10526 string on the stack for strtod.
10527 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10528 a string on the stack for strtof.
10529 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10530 constructing a string on the stack for strtold.
10531 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10532 __strtold_nan to GLIBC_PRIVATE.
10533 * math/test-nan-overflow.c: New file.
10534 * math/test-nan-payload.c: Likewise.
10535 * math/Makefile (tests): Add test-nan-overflow and
10536 test-nan-payload.
10537
10538 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
10539
10540 Consistency about byte vs character in string.texi
10541 * manual/string.texi (String and Array Utilities):
10542 Distinguish more carefully among bytes, multibyte characters,
10543 and wide characters. Use "byte" when talking about C 'char',
10544 to distinguish it more clearly from multibyte characters.
10545 Say "wide character" or "multibyte character" instead of
10546 "character", when a wide or multibyte character is intended.
10547 Similarly for "multibyte string" versus "string".
10548 Define these terms more carefully.
10549
10550 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
10551
10552 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10553 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10554 Likewise.
10555 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10556 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10557 * sysdeps/sh/math_private.h: New file.
10558 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10559 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10560 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10561 long double function name.
10562 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10563 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10568 Remove __finitel, __isinfl, and __isnanl.
10569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10570 Likewise.
10571 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10573 Remove __finitel.
10574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10575 Likewise.
10576 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10577
10578 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
10579
10580 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10581 installed libmvec_nonshared.a.
10582
10583 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10584
10585 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10586 (sysdep_routines): Likewise.
10587 (sysdep-rtld-routines): Likewise.
10588 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10589 [$(subdir) = nptl](tests-static): test-get_hwcap-static
10590 * sysdeps/powerpc/Versions: Added new
10591 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10592 * sysdeps/powerpc/hwcapinfo.c: New file.
10593 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10594 and parse hwcap, hwcap2 and platform number information.
10595 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
10596 to store HWCAP+HWCAP2 and platform number.
10597 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10598 for HWCAP+HWCAP2 and platform number in the TCB.
10599 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
10600 the HWCAP, HWCAP2 and platform number in the TCB.
10601 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10602 (TLS_INIT_TP): Included calls to add the hwcap and
10603 at_platform values in the TCB in TP initialization.
10604 (TLS_DEFINE_INIT_TP): Likewise.
10605 (THREAD_GET_HWCAP): New macro.
10606 (THREAD_SET_HWCAP): Likewise.
10607 (THREAD_GET_AT_PLATFORM): Likewise.
10608 (THREAD_SET_AT_PLATFORM): Likewise.
10609 * sysdeps/powerpc/powerpc32/dl-machine.h:
10610 (dl_platform_init): New function that calls
10611 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10612 powerpc32.
10613 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10614 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
10615 this functionality, static linking case.
10616 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
10617 linking case.
10618 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10619 __parse_hwcap_and_convert_at_platform for the static linking case.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10621 Included the new __parse_hwcap_and_convert_at_platform symbol in the
10622 ABI list for GLIBC 2.23.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10624 Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10626 Likewise.
10627
10628 2015-12-02 Ludovic Courtès <ludo@gnu.org>
10629
10630 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10631 * configure: Regenerate.
10632 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10633 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
10634
10635 2015-12-02 Carlos O'Donell <carlos@redhat.com>
10636
10637 * iconvdata/ibm930.c: Add comment explaining encoding uses.
10638 * iconvdata/ibm933.c: Likewise.
10639 * iconvdata/ibm935.c: Likewise.
10640 * iconvdata/ibm937.c: Likewise.
10641 * iconvdata/ibm939.c: Likewise.
10642
10643 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10644
10645 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10646 pthread_join.
10647 * nptl/tst-cancel21.c (tf): Likewise.
10648
10649 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
10650
10651 [BZ #19313]
10652 * bits/typesizes.h (__CPU_MASK_TYPE): New.
10653 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10654 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10655 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10656 Likewise.
10657 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10658 Likewise.
10659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10660 Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10662 Likewise.
10663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10664 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10665 unsigned long int with __CPU_MASK_TYPE.
10666
10667 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
10668
10669 * sysdeps/aarch64/libm-test-ulps: Regenerated.
10670
10671 2015-12-01 Joseph Myers <joseph@codesourcery.com>
10672
10673 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10674 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10675 t512.x.
10676 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10677
10678 2015-11-30 Amit Pawar <amit.pawar@amd.com>
10679
10680 [BZ #19214]
10681 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10682 argument to return extended model. Update family and model
10683 with extended family and model when family == 0x0f.
10684 (init_cpu_features): Updated.
10685
10686 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10687
10688 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10689 signed off_t, so 32bit bigger than 2GiB values are fine actually.
10690
10691 * sysdeps/mach/hurd/mmap64.c: New file.
10692
10693 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
10694
10695 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10696 rights for its main user thread in NEWTASK.
10697
10698 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
10699
10700 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10701 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10702
10703 2015-11-27 Carlos O'Donell <carlos@redhat.com>
10704
10705 [BZ #14259]
10706 * Makeconfig: Rename localedir to complocaledir.
10707 Rename inst_localedir to inst_complocaledir.
10708 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10709 * config.make.in: Use complocaledir and libc_cv_complocaledir.
10710 * configure.ac: Use libc_cv_complocaledir.
10711 * configure: Regenerate.
10712 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10713 -DCOMPLOCALEDIR.
10714 * locale/findlocale.c: Use COMPLOCALEDIR.
10715 * locale/loadarchive.c: Likewise.
10716 * locale/programs/locale.c: Likewise.
10717 * locale/programs/localedef.c: Likewise.
10718 * locale/programs/locarchive.c: Likewise.
10719 * localedata/Makefile: Use inst_complocaledir.
10720 * sysdeps/gnu/configure: Regenerate.
10721 * sysdeps/hppa/configure: Regenerate.
10722 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10723 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10725 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10726 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10727 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10728 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10729
10730 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
10731
10732 [BZ #19058]
10733 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10734 AS_NEEDED.
10735 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10736 workaround.
10737 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10738 libmvec-static-only-routines): Added new file.
10739 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10740
10741 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10742
10743 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10744 of interrupted RPC instead of restoring it.
10745
10746 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10747 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10748 libc_hidden_def.
10749 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10750 into initialized data instead of common. Define rtld_hidden_data_def.
10751 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10752 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10753 libc_hidden_def.
10754 (if_freenameindex): Add libc_hidden_weak.
10755 (if_nameindex): Add libc_hidden_weak.
10756 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10757 __open64.
10758 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10759 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10760 * sysdeps/mach/nanosleep.c: Include <time.h>
10761 (__nanosleep): Rename to __libc_nanosleep.
10762 (__nanosleep): Add weak_alias.
10763 (nanosleep): Update alias.
10764
10765 2015-11-24 Joseph Myers <joseph@codesourcery.com>
10766
10767 * stdlib/strtod_nan.c: New file.
10768 * stdlib/strtod_nan_double.h: Likewise.
10769 * stdlib/strtod_nan_float.h: Likewise.
10770 * stdlib/strtod_nan_main.c: Likewise.
10771 * stdlib/strtod_nan_narrow.h: Likewise.
10772 * stdlib/strtod_nan_wide.h: Likewise.
10773 * stdlib/strtof_nan.c: Likewise.
10774 * stdlib/strtold_nan.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10777 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10778 * wcsmbs/wcstod_nan.c: Likewise.
10779 * wcsmbs/wcstof_nan.c: Likewise.
10780 * wcsmbs/wcstold_nan.c: Likewise.
10781 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10782 strtold_nan.
10783 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10784 wcstof_nan.
10785 * include/stdlib.h (__strtof_nan): Declare and use
10786 libc_hidden_proto.
10787 (__strtod_nan): Likewise.
10788 (__strtold_nan): Likewise.
10789 (__wcstof_nan): Likewise.
10790 (__wcstod_nan): Likewise.
10791 (__wcstold_nan): Likewise.
10792 * include/wchar.h (____wcstoull_l_internal): Declare.
10793 * stdlib/strtod_l.c: Do not include <ieee754.h>.
10794 (____strtoull_l_internal): Remove declaration.
10795 (STRTOF_NAN): Define macro.
10796 (SET_MANTISSA): Remove macro.
10797 (STRTOULL): Likewise.
10798 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10799 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10800 (STRTOF_NAN): Define macro.
10801 (SET_MANTISSA): Remove macro.
10802 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10803 (SET_MANTISSA): Remove macro.
10804 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10805 macro.
10806 (SET_MANTISSA): Remove macro.
10807 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10808 macro.
10809 (SET_MANTISSA): Remove macro.
10810 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10811 (SET_MANTISSA): Remove macro.
10812 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10813 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10814 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10815
10816 [BZ #19266]
10817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10818 upper case and lower case letters inside NAN(), not using TOLOWER.
10819 * stdlib/tst-strtod-nan-locale-main.c: New file.
10820 * stdlib/tst-strtod-nan-locale.c: Likewise.
10821 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10822 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10823 Depend on $(gen-locales).
10824 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10825 * wcsmbs/tst-wcstod-nan-locale.c: New file.
10826 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10827 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10828 Depend on $(gen-locales).
10829 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10830
10831 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
10832
10833 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10834
10835 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10837 __finitel, __isinfl, and __isnanl.
10838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10839 Likewise.
10840 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10842 __finitel.
10843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10844 Likewise.
10845 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10846
10847 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
10848
10849 * malloc/memusage.c (me): Remove redundant getenv call.
10850
10851 2015-10-24 Florian Weimer <fweimer@redhat.com>
10852
10853 [BZ #19143]
10854 [BZ #19164]
10855 * nptl/check-cpuset.h: Remove.
10856 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10857 Remove CPU set size check.
10858 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10859 Likewise.
10860 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10861 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10862 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10863 (__pthread_setaffinity_new): Remove CPU set size check.
10864 * sysdeps/unix/sysv/linux/sched_setaffinity.c
10865 (__kernel_cpumask_size): Remove.
10866 (__sched_setaffinity_new): Remove CPU set size check.
10867 * manual/threads.texi (Default Thread Attributes): Remove stale
10868 reference to check_cpuset_attr, determine_cpumask_size in comment.
10869 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10870 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
10871 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10872 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10873 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10874 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10875 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10876 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10877 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10878 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10879 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10880 skeleton test file.
10881 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
10882 tst-affinity-pid.
10883
10884 2015-11-24 Florian Weimer <fweimer@redhat.com>
10885
10886 * scripts/update-abilist.sh: New file.
10887 * Makefile (+subdir_targets): Add subdir_update-all-abi.
10888 * Makerules (update-all-abi-%, update-all-abi)
10889 (subdir_update-all-abi): New targets.
10890 * elf/Makefile (update-all-abi): New target.
10891
10892 2015-11-24 Florian Weimer <fweimer@redhat.com>
10893
10894 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10895 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10896 (__libc_lock_define_initialized): Use it.
10897 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10898 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10899 * malloc/malloc.c (main_arena): Likewise.
10900 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10901 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10902
10903 2015-11-23 Joseph Myers <joseph@codesourcery.com>
10904
10905 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10906 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10907 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10908 (PTRACE_O_MASK): Update value.
10909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10910 New value in enum __ptrace_setoptions.
10911 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10912 (PTRACE_O_MASK): Update value.
10913 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10914 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10915 (PTRACE_O_MASK): Update value.
10916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10917 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10918 (PTRACE_O_MASK): Update value.
10919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10920 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10921 (PTRACE_O_MASK): Update value.
10922 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10923 New value in enum __ptrace_setoptions.
10924 (PTRACE_O_MASK): Update value.
10925 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10926 New value in enum __ptrace_setoptions.
10927 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10928 (PTRACE_O_MASK): Update value.
10929
10930 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10931 New macro.
10932 (PACKET_AUXDATA): Likewise.
10933 (PACKET_ORIGDEV): Likewise.
10934 (PACKET_VERSION): Likewise.
10935 (PACKET_HDRLEN): Likewise.
10936 (PACKET_RESERVE): Likewise.
10937 (PACKET_TX_RING): Likewise.
10938 (PACKET_LOSS): Likewise.
10939 (PACKET_VNET_HDR): Likewise.
10940 (PACKET_TX_TIMESTAMP): Likewise.
10941 (PACKET_TIMESTAMP): Likewise.
10942 (PACKET_FANOUT): Likewise.
10943 (PACKET_TX_HAS_OFF): Likewise.
10944 (PACKET_QDISC_BYPASS): Likewise.
10945 (PACKET_ROLLOVER_STATS): Likewise.
10946 (PACKET_FANOUT_DATA): Likewise.
10947 (PACKET_MR_UNICAST): Likewise.
10948
10949 [BZ #19242]
10950 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10951 (TOUPPER): Likewise.
10952 * stdlib/tst-strtol-locale-main.c: New file.
10953 * stdlib/tst-strtol-locale.c: Likewise.
10954 * stdlib/Makefile (tests): Add tst-strtol-locale.
10955 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10956 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10957 Depend on $(gen-locales).
10958 * wcsmbs/tst-wcstol-locale.c: New file.
10959 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10960 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10961 tr_TR.ISO-8859-9.
10962 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10963 Depend on $(gen-locales).
10964
10965 2015-11-20 Roland McGrath <roland@hack.frob.com>
10966
10967 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10968 __glibc_likely instead of __builtin_expect. After falling back to
10969 dyncode_create in a non-ET_DYN case, use the allocate_code_data
10970 system interface to register the code pages as occupied.
10971
10972 2015-11-20 Joseph Myers <joseph@codesourcery.com>
10973
10974 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10975 [!ARM_MATH_PRIVATE_H].
10976 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10977 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10978 [!HPPA_MATH_PRIVATE_H].
10979 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10980 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10981 to [!I386_MATH_PRIVATE_H].
10982 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10983 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10984 Change guard to [!M68K_MATH_PRIVATE_H].
10985 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10986 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10987 guard to [!MICROBLAZE_MATH_PRIVATE_H].
10988 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10989 macro.
10990 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10991 [!MIPS_MATH_PRIVATE_H].
10992 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10993 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10994 [!NIO2_MATH_PRIVATE_H].
10995 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10996 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10997 [!TILE_MATH_PRIVATE_H].
10998 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10999
11000 [BZ #15421]
11001 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11002 initialize with 0 and define as weak alias of __signgam.
11003 * include/math.h [!_ISOMAC] (__signgam): Declare.
11004 * math/Makefile (libm-calls): Add w_lgamma_compat.
11005 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11006 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11007 test-signgam-ullong-init.
11008 (tests-static): Add test-signgam-uchar-static,
11009 test-signgam-uchar-init-static, test-signgam-uint-static,
11010 test-signgam-uint-init-static, test-signgam-ullong-static and
11011 test-signgam-ullong-init-static.
11012 (CFLAGS-test-signgam-uchar.c): New variable.
11013 (CFLAGS-test-signgam-uchar-init.c): Likewise.
11014 (CFLAGS-test-signgam-uchar-static.c): Likewise.
11015 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11016 (CFLAGS-test-signgam-uint.c): Likewise.
11017 (CFLAGS-test-signgam-uint-init.c): Likewise.
11018 (CFLAGS-test-signgam-uint-static.c): Likewise.
11019 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11020 (CFLAGS-test-signgam-ullong.c): Likewise.
11021 (CFLAGS-test-signgam-ullong-init.c): Likewise.
11022 (CFLAGS-test-signgam-ullong-static.c): Likewise.
11023 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11024 * math/Versions (libm): Add GLIBC_2.23.
11025 * math/lgamma-compat.h: New file.
11026 * math/test-signgam-main.c: Likewise.
11027 * math/test-signgam-uchar-init-static.c: Likewise.
11028 * math/test-signgam-uchar-init.c: Likewise.
11029 * math/test-signgam-uchar-static.c: Likewise.
11030 * math/test-signgam-uchar.c: Likewise.
11031 * math/test-signgam-uint-init-static.c: Likewise.
11032 * math/test-signgam-uint-init.c: Likewise.
11033 * math/test-signgam-uint-static.c: Likewise.
11034 * math/test-signgam-uint.c: Likewise.
11035 * math/test-signgam-ullong-init-static.c: Likewise.
11036 * math/test-signgam-ullong-init.c: Likewise.
11037 * math/test-signgam-ullong-static.c: Likewise.
11038 * math/test-signgam-ullong.c: Likewise.
11039 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11040 wrapper of w_lgamma_main.c.
11041 * math/w_lgamma_compat.c: New file.
11042 * math/w_lgamma_compatf.c: Likewise.
11043 * math/w_lgamma_compatl.c: Likewise.
11044 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
11045 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
11046 defining compatibility symbols.
11047 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
11048 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11049 wrapper of w_lgammaf_main.c.
11050 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
11051 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
11052 defining compatibility symbols.
11053 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
11054 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11055 wrapper of w_lgammal_main.c.
11056 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
11057 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
11058 defining compatibility symbols.
11059 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
11060 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11061 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11062 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
11063 <lgamma-compat.h>.
11064 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
11065 (__ieee754_gamma): Define as alias.
11066 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11067 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
11068 <lgamma-compat.h>.
11069 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
11070 (__ieee754_gammaf): Define as alias.
11071 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11072 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
11073 <lgamma-compat.h>.
11074 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
11075 (__ieee754_gammal): Define as alias.
11076 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11077 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
11078 <math/w_lgamma_compat.c>.
11079 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11080 Define as alias of __lgamma_compat and use in defining lgammal.
11081 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11082 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
11083 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11084 (USE_AS_COMPAT): New macro.
11085 (LGAMMA_OLD_VER): Undefine and redefine.
11086 (lgammal): Do not define here.
11087 (gammal): Only define here if [GAMMA_ALIAS].
11088 * conform/linknamespace.pl (@whitelist): Remove signgam.
11089 * sysdeps/nacl/libm.abilist: Update.
11090 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11098 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11103 Likewise.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11105 Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11107 Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11109 Likewise.
11110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11116 Likewise.
11117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11118 Likewise.
11119 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11122
11123 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11124
11125 [BZ #16364]
11126 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11127 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11128
11129 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11130
11131 * sysdeps/s390/fpu/bits/mathinline.h:
11132 Use __asm__ [__volatile__] instead of asm [volatile].
11133 * sysdeps/s390/abort-instr.h: Likewise.
11134 * sysdeps/s390/atomic-machine.h: Likewise.
11135 * sysdeps/s390/bits/string.h: Likewise.
11136 * sysdeps/s390/dl-tls.h: Likewise.
11137 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11138 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11139 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11140 * sysdeps/s390/fpu/fesetround.c: Likewise.
11141 * sysdeps/s390/fpu/fpu_control.h: Likewise.
11142 * sysdeps/s390/fpu/s_fma.c: Likewise.
11143 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11144 * sysdeps/s390/memusage.h: Likewise.
11145 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11146 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11147 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11148 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11149 * sysdeps/s390/nptl/tls.h: Likewise.
11150 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11151 * sysdeps/s390/s390-32/backtrace.c: Likewise.
11152 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11153 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11154 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11155 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11156 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11157 * sysdeps/s390/s390-64/backtrace.c: Likewise.
11158 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11159 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11160 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11161 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11162 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11163 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11164 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11165 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11166 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11167 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11168 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11170 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11171 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11172 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11173
11174 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11175 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11176
11177 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11178 Add lwarx hint, and use macro for acquire instruction.
11179 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11180 Likewise.
11181 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11182 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11183 update to use new atomic macros.
11184
11185 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11186
11187 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11188 (__lll_trylock_elision): Fix setting of adapt_count.
11189 * sysdeps/unix/sysv/linux/powerpc/htm.h
11190 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11191 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11192 (_ABORT_SYSCALL): Renumber, and clarify definition.
11193 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11194
11195 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11196
11197 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11198 after system headers to prevent MIN/MAX redefinition. Define
11199 HAVE_ALLOCA to preserve builtin alloca usage.
11200
11201 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
11202
11203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11204 static and don't set or restore rounding.
11205 (__cos)[IN_SINCOS]: Likewise.
11206 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11207 (__sincos): Set and restore rounding mode. Remove check for infinite
11208 or NaN input.
11209
11210 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11211
11212 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11213 as used.
11214
11215 2015-11-16 Florian Weimer <fweimer@redhat.com>
11216
11217 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11218
11219 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
11220
11221 * config.make.in (have-glob-dat-reloc): New.
11222 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
11223 target supports GLOB_DAT relocaton. AC_SUBST.
11224 * configure: Regenerated.
11225 * elf/Makefile (tests): Add tst-prelink.
11226 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11227 (tst-prelink-ENV): New.
11228 ($(objpfx)tst-prelink-conflict.out): Likewise.
11229 ($(objpfx)tst-prelink-cmp.out): Likewise.
11230 * sysdeps/x86/tst-prelink.c: Moved to ...
11231 * elf/tst-prelink.c: Here.
11232 * sysdeps/x86/tst-prelink.exp: Moved to ...
11233 * elf/tst-prelink.exp: Here.
11234 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11235 (tst-prelink-ENV): Removed.
11236 ($(objpfx)tst-prelink-conflict.out): Likewise.
11237 ($(objpfx)tst-prelink-cmp.out): Likewise.
11238 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11239
11240 2015-11-13 Joseph Myers <joseph@codesourcery.com>
11241
11242 [BZ #14551]
11243 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11244 (__mpn_construct_long_double): If high part overflows to infinity,
11245 set errno and recompute overflowed result of the correct sign.
11246 * sysdeps/ieee754/ldbl-128ibm/Makefile
11247 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11248 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11249 $(libm).
11250 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11251
11252 2015-11-12 Joseph Myers <joseph@codesourcery.com>
11253
11254 [BZ #15479]
11255 [BZ #19238]
11256 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11257 floating-point state after first operation on input. Restore full
11258 state rather than just rounding mode.
11259 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11260 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11261 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11262
11263 [BZ #19235]
11264 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11265 add 0.5 to integer arguments.
11266 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11267 Likewise.
11268 (.LC2): New object.
11269
11270 2015-11-11 Mike Frysinger <vapier@gentoo.org>
11271
11272 * scripts/pylintrc (reports): Set to no.
11273
11274 2015-11-10 Roland McGrath <roland@hack.frob.com>
11275
11276 * elf/dl-load.c (open_verify): Take new argument FD.
11277 Skip __open call if passed FD is not -1.
11278 (_dl_map_object, open_path): Update callers.
11279 * elf/dl-sysdep-open.h: New file.
11280 * elf/dl-load.c: Include it.
11281 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11282 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11283 * sysdeps/nacl/dl-sysdep-open.h: New file.
11284 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11285 from libc to rtld.
11286
11287 2015-11-10 Joseph Myers <joseph@codesourcery.com>
11288
11289 [BZ #19228]
11290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11291 and restore full floating-point state.
11292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11293 Likewise.
11294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11295 Likewise.
11296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11297 Likewise.
11298 * math/test-nearbyint-except-2.c: New file.
11299 * math/Makefile (tests): Add test-nearbyint-except-2.
11300
11301 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 [BZ #19178]
11304 * sysdeps/x86/Makefile (tests): Add tst-prelink.
11305 (tst-prelink-ENV): New.
11306 ($(objpfx)tst-prelink-conflict.out): Likewise.
11307 ($(objpfx)tst-prelink-cmp.out): Likewise.
11308 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11309 * sysdeps/x86/tst-prelink.c: New file.
11310 * sysdeps/x86/tst-prelink.exp: Likewise.
11311
11312 2015-11-10 Joseph Myers <joseph@codesourcery.com>
11313
11314 * math/auto-libm-test-in: Add another test of pow.
11315 * math/auto-libm-test-out: Regenerated.
11316 * math/libm-test.inc (pow_test_data): Add another test.
11317
11318 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11319
11320 [BZ #19219]
11321 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11322 weak_alias to nearbyintl.
11323
11324 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
11325
11326 * sysdeps/aarch64/bits/string.h: New file.
11327 (_STRING_ARCH_unaligned): Define.
11328
11329 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
11330
11331 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11332 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11333 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11334 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11336
11337 2015-11-09 Ulrich Drepper <drepper@gmail.com>
11338
11339 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11340 for original name of the DSO. Add it to the name list of the DSO
11341 if it is actually given.
11342 (_dl_map_object): Keep track of whether an audit module rewrote
11343 the file name. If yes, pass the original name to
11344 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
11345 debugging is enabled, log the change of the file name.
11346 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11347 _dl_map_object_from_fd.
11348 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11349 * elf/tst-audit11.c: New file
11350 * elf/tst-auditmod11.c: New file.
11351 * elf/tst-audit11mod1.c: New file.
11352 * elf/tst-audit11mod2.c: New file.
11353 * elf/tst-audit11mod2.map: New file.
11354 * elf/tst-audit12.c: New file
11355 * elf/tst-auditmod12.c: New file.
11356 * elf/tst-audit12mod1.c: New file.
11357 * elf/tst-audit12mod2.c: New file.
11358 * elf/tst-audit12mod2.map: New file.
11359 * elf/tst-audit12mod3.c: New file.
11360
11361 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11362
11363 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11364 Don't create weak aliases,
11365 because versioned symbols are created later.
11366 * sysdeps/s390/s390-32/setjmp.S
11367 (setjmp, _setjmp): Remove weak and rename to an unique name
11368 in SHARED case due to existing versioned symbols.
11369 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11370 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11371 (getcontext): Create weak alias only in non SHARED case.
11372 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11373
11374 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11375
11376 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11377 (__ASSUME_*_SYSCALL) Define new macros.
11378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11379 Remove socketcall syscalls.
11380 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11381 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11382 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11383 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11384 * sysdeps/unix/sysv/linux/send.c (__libc_send):
11385 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11386
11387 2015-11-09 Florian Weimer <fweimer@redhat.com>
11388
11389 [BZ #12926]
11390 Terminate process on invalid netlink response.
11391 * sysdeps/unix/sysv/linux/netlinkaccess.h
11392 (__netlink_assert_response): Declare.
11393 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11394 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11395 (sysdep_routines): Add netlink_assert_response.
11396 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11397 __netlink_assert_response.
11398 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11399 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11400 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11401 __netlink_assert_response.
11402
11403 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
11404
11405 [BZ #19178]
11406 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11407 (RTYPE_CLASS_PLT): Likewise.
11408 (RTYPE_CLASS_COPY): Likewise.
11409 (RTYPE_CLASS_TLS): Likewise.
11410 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11411 to set relocation type class for DL_DEBUG_PRELINK. Keep only
11412 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11413 DL_DEBUG_PRELINK.
11414
11415 2015-11-06 Joseph Myers <joseph@codesourcery.com>
11416
11417 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11418 calls with argument -0.5.
11419 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11420
11421 * configure.ac (libc_cv_z_nodelete): Remove configure test.
11422 (libc_cv_z_nodlopen): Likewise.
11423 (libc_cv_z_initfirst): Likewise.
11424 * configure: Regenerated.
11425
11426 2015-11-06 Florian Weimer <fweimer@redhat.com>
11427
11428 Simplify abilist format to be line-based.
11429 * scripts/abilist.awk: Collect descriptors in the descs variable.
11430 (emit): Write descs variable and sort it
11431 externally, with sort.
11432 * sysdeps/**/*.abilist: Convert to new format.
11433
11434 2015-11-06 Mark Wielaard <mjw@redhat.com>
11435
11436 [BZ #11460]
11437 * io/Makefile (routines): Add fts64.
11438 (tests): Add tst-fts and tst-fts-lfs.
11439 (CFLAGS-fts64.c): New.
11440 * io/Versions (GLIBC_2.23): New.
11441 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11442 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11443 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11444 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11445 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11446 (FTSENT64): Likewise.
11447 (fts64_children): Likewise.
11448 (fts64_close): Likewise.
11449 (fts64_open): Likewise.
11450 (fts64_read): Likewise.
11451 (fts64_set): Likewise.
11452 * io/fts64.c: New file.
11453 * io/tst-fts.c: New test.
11454 * io/tst-fts-lfs.c: Likewise.
11455 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11456 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11457 fts64_set.
11458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11469 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11470 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11472 Likewise.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11474 Likewise.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11487 * sysdeps/wordsize-64/fts.c: New file.
11488 * sysdeps/wordsize-64/fts64.c: Likewise.
11489 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11490 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11491 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11492 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11493
11494 2015-11-05 Joseph Myers <joseph@codesourcery.com>
11495
11496 * math/libm-test.inc (NON_FINITE): New macro.
11497 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11498 * math/gen-libm-test.pl (show_exceptions): Add argument
11499 $non_finite.
11500 (parse_args): Update call to show_exceptions.
11501 * math/test-math-finite.h: New file.
11502 * math/test-math-no-finite.h: Likewise.
11503 * math/test-double-finite.c: Likewise.
11504 * math/test-float-finite.c: Likewise.
11505 * math/test-ldouble-finite.c: Likewise.
11506 * math/test-double.c: Include "test-math-no-finite.h".
11507 * math/test-float.c: Include "test-math-no-finite.h".
11508 * math/test-ldouble.c: Include "test-math-no-finite.h".
11509 * math/test-math-inline.h (TEST_FINITE): New macro.
11510 * math/test-math-vector.h (TEST_FINITE): Likewise.
11511 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11512 (libm-tests): Add test-float-finite and test-double-finite.
11513 ($(objpfx)test-float-finite.o): New dependency on
11514 $(objpfx)libm-test.stmp.
11515 ($(objpfx)test-double-finite.o): Likewise.
11516 ($(objpfx)test-ldouble-finite.o): Likewise.
11517 (libm-test-no-inline-cflags): New variable.
11518 (libm-test-finite-cflags): Likewise.
11519 (CFLAGS-test-float-finite.c): Likewise.
11520 (CFLAGS-test-double-finite.c): Likewise.
11521 (CFLAGS-test-ldouble-finite.c): Likewise.
11522 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11523 (CFLAGS-test-double.c): Likewise.
11524 (CFLAGS-test-ldouble.c): Likewise.
11525
11526 2015-11-05 Roland McGrath <roland@hack.frob.com>
11527
11528 * io/fcntl.c (__fcntl): Add ... to prototype.
11529 * misc/ioctl.c (__ioctl): Likewise.
11530 * misc/syscall.c (syscall): Likewise.
11531
11532 2015-11-05 Joseph Myers <joseph@codesourcery.com>
11533
11534 * scripts/list-fixed-bugs.py: New file.
11535
11536 [BZ #19213]
11537 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11538 returned for argument 1.
11539 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11540 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11541 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11542 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11543 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11544 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11545
11546 [BZ #19211]
11547 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11548 __USE_XOPEN], not if [!__USE_ISOC99].
11549 (lgammaf): Likewise.
11550 (lgammal): Likewise.
11551 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11552 (gammaf): Likewise.
11553 (gammal): Likewise.
11554 * math/test-signgam-finite-c11.c: New file.
11555 * math/test-signgam-finite-c99.c: Likewise.
11556 * math/test-signgam-finite.c: Likewise.
11557 * math/Makefile (tests): Add test-signgam-finite,
11558 test-signgam-finite-c99 and test-signgam-finite-c11.
11559 (CFLAGS-test-signgam-finite.c): New variable.
11560 (CFLAGS-test-signgam-finite-c99.c): Likewise.
11561 (CFLAGS-test-signgam-finite-c11.c): Likewise.
11562
11563 [BZ #19212]
11564 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11565 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11566 500].
11567 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11568 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11569 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11570 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11571 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11572 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11573 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11574 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11575 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11576 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11577
11578 [BZ #19209]
11579 * math/bits/math-finite.h (ldexp): Remove declaration.
11580 (ldexpf): Likewise.
11581 (ldexpl): Likewise.
11582
11583 [BZ #19205]
11584 * math/bits/math-finite.h (acosf): Condition declaration on
11585 [__USE_ISOC99].
11586 (acosl): Likewise.
11587 (acoshf): Likewise.
11588 (acoshl): Likewise.
11589 (asinf): Likewise.
11590 (asinl): Likewise.
11591 (atan2f): Likewise.
11592 (atan2l): Likewise.
11593 (atanhf): Likewise.
11594 (atanhl): Likewise.
11595 (coshf): Likewise.
11596 (coshl): Likewise.
11597 (expf): Likewise.
11598 (expl): Likewise.
11599 (fmodf): Likewise.
11600 (fmodl): Likewise.
11601 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11602 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11603 (j0l): Likewise.
11604 (y0f): Likewise.
11605 (y0l): Likewise.
11606 (j1f): Likewise.
11607 (j1l): Likewise.
11608 (y1f): Likewise.
11609 (y1l): Likewise.
11610 (jnf): Likewise.
11611 (jnl): Likewise.
11612 (ynf): Likewise.
11613 (ynl): Likewise.
11614 (lgammaf_r): Condition declaration on [__USE_ISOC99].
11615 (lgammal_r): Likewise.
11616 (__lgamma_r_finite): New declaration.
11617 (__lgammaf_r_finite): Likewise.
11618 (__lgammal_r_finite): Likewise.
11619 (lgamma): Use __lgamma_r_finite.
11620 (lgammaf): Condition definition on [__USE_ISOC99]. Use
11621 __lgammaf_r_finite.
11622 (lgammal): Condition definition on [__USE_ISOC99]. Use
11623 __lgammal_r_finite.
11624 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
11625 __lgamma_r_finite.
11626 (gammaf): Condition definition on [__USE_ISOC99]. Use
11627 __lgammaf_r_finite.
11628 (gammal): Condition definition on [__USE_ISOC99]. Use
11629 __lgammal_r_finite.
11630 (logf): Condition declaration on [__USE_ISOC99].
11631 (logl): Likewise.
11632 (log10f): Likewise.
11633 (log10l): Likewise.
11634 (ldexpf): Likewise.
11635 (ldexpl): Likewise.
11636 (powf): Likewise.
11637 (powl): Likewise.
11638 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11639 __USE_ISOC99].
11640 (remainderf): Condition declaration on [__USE_ISOC99].
11641 (remainderl): Likewise.
11642 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11643 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11644 (scalbl): Likewise.
11645 (sinhf): Condition declaration on [__USE_ISOC99].
11646 (sinhl): Likewise.
11647 (sqrtf): Likewise.
11648 (sqrtl): Likewise.
11649
11650 2015-11-04 Joseph Myers <joseph@codesourcery.com>
11651
11652 * sysdeps/arm/atomic-machine.h
11653 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11654 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11655 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11656 Remove conditional code.
11657 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11658 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11659 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11660 Change conditional to [__ASSEMBLER__].
11661 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11662 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11663 [!__ASSEMBLER__].
11664 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11665 code.
11666 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11667 conditional macro definitions.
11668 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11669 (__arch_compare_and_exchange_val_16_acq): Likewise.
11670 (__arch_compare_and_exchange_val_32_acq): Likewise.
11671 (atomic_exchange_and_add): Likewise.
11672 (atomic_add): Likewise.
11673 (atomic_add_negative): Likewise.
11674 (atomic_add_zero): Likewise.
11675 (atomic_bit_set): Likewise.
11676 (atomic_bit_test_set): Likewise.
11677 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11678 code unconditional.
11679 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11680
11681 * math/test-math-errno.h: New file.
11682 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11683 empty.
11684 (TEST_ERRNO): New macro.
11685 (TEST_EXCEPTIONS): Likewise.
11686 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11687 (TEST_EXCEPTIONS): Likewise.
11688 * math/test-math-vector.h (TEST_ERRNO): Likewise.
11689 * math/test-double.c: Include "test-math-errno.h".
11690 * math/test-float.c: Likewise.
11691 * math/test-ldouble.c: Likewise.
11692 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11693 code unconditional.
11694 (test_exceptions): Only run code if TEST_EXCEPTIONS.
11695 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11696 unconditional.
11697 (test_errno): Only run code if TEST_ERRNO.
11698 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11699
11700 2015-11-04 Florian Weimer <fweimer@redhat.com>
11701
11702 * nptl/tst-once5.cc: Remove attribution.
11703
11704 2015-11-04 Joseph Myers <joseph@codesourcery.com>
11705
11706 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11707 sqrt, tan, tanh, y0, y1 and yn.
11708 * math/auto-libm-test-out: Regenerated.
11709 * math/libm-test.inc (scalb_test_data): Add more tests.
11710 (scalbn_test_data): Likewise.
11711 (scalbln_test_data): Likewise.
11712 (signbit_test_data): Likewise.
11713 (sin_test_data): Likewise.
11714 (sincos_test_data): Likewise.
11715 (sinh_test_data): Likewise.
11716 (sqrt_test_data): Likewise.
11717 (tan_test_data): Likewise.
11718 (tanh_test_data): Likewise.
11719 (tgamma_test_data): Likewise.
11720 (y0_test_data): Likewise.
11721 (y1_test_data): Likewise.
11722 (yn_test_data): Likewise.
11723 (significand_test_data): Likewise.
11724 * sysdeps/i386/fpu/libm-test-ulps: Update.
11725
11726 2015-11-03 David Kastrup <dak@gnu.org>
11727
11728 [BZ #18604]
11729 * assert/assert.h (assert): Don't macro-expand failed assertion
11730 expression in error message.
11731 * malloc/malloc.c (assert): Likewise.
11732
11733 2015-11-03 Joseph Myers <joseph@codesourcery.com>
11734
11735 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11736 test.
11737 * configure: Regenerated.
11738
11739 2015-11-02 Joseph Myers <joseph@codesourcery.com>
11740
11741 * math/libm-test.inc (modf_test_data): Add more tests.
11742 (nearbyint_test_data): Likewise.
11743 (nextafter_test_data): Likewise.
11744 (nexttoward_test_data): Likewise.
11745 (pow_test_data): Likewise.
11746 (remainder_test_data): Likewise.
11747 (remquo_test_data): Likewise.
11748 (rint_test_data): Likewise.
11749
11750 [BZ #19201]
11751 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11752 Check for zero remainder in case of large exponents and ensure
11753 correct sign of result in that case.
11754 * math/libm-test.inc (remainder_test_data): Add more tests.
11755
11756 [BZ #6799]
11757 * math/s_nextafter.c: Include <errno.h>.
11758 (__nextafter): Set errno on overflow and underflow.
11759 * math/s_nexttowardf.c: Include <errno.h>.
11760 (__nexttowardf): Set errno on overflow and underflow.
11761 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11762 (__nextafterl): Set errno on overflow and underflow.
11763 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11764 (__nexttoward): Set errno on overflow and underflow.
11765 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11766 (__nexttowardf): Set errno on overflow and underflow.
11767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11768 (__nextafterf): Set errno on overflow and underflow.
11769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11770 (__nextafterl): Set errno on overflow and underflow.
11771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11772 (__nexttoward): Set errno on overflow and underflow.
11773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11774 (__nexttowardf): Set errno on overflow and underflow.
11775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11776 (__nextafterl): Set errno on overflow and underflow.
11777 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11778 (__nexttoward): Set errno on overflow and underflow.
11779 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11780 (__nexttowardf): Set errno on overflow and underflow.
11781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11782 (__nexttoward): Set errno on overflow and underflow.
11783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11784 (__nexttowardf): Set errno on overflow and underflow.
11785 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11786 (__nldbl_nexttowardf): Set errno on overflow and underflow.
11787 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11788 (__nextafterl): Set errno on overflow and underflow.
11789 * math/libm-test.inc (nextafter_test_data): Do not allow errno
11790 setting to be missing on overflow. Add more tests.
11791 (nexttoward_test_data): Likewise.
11792
11793 * configure.ac (libc_cv_initfini_array): Remove configure test.
11794 * configure: Regenerated.
11795
11796 2015-10-29 Joseph Myers <joseph@codesourcery.com>
11797
11798 [BZ #19189]
11799 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11800 non-finite argument handle arguments with negative sign.
11801
11802 * math/libm-test.inc (j0_test_data): Do not test sign of zero
11803 result from infinite argument.
11804 (j1_test_data): Likewise.
11805 (jn_test_data): Likewise.
11806 (y0_test_data): Likewise.
11807 (y1_test_data): Likewise.
11808 (yn_test_data): Likewise.
11809
11810 [BZ #16171]
11811 * math/w_remainder.c (drem): Define as weak alias of __remainder.
11812 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11813 * math/w_remainderf.c (dremf): Define as weak alias of
11814 __remainderf.
11815 * math/w_remainderl.c (dreml): Define as weak alias of
11816 __remainderl.
11817 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11818 __remainder.
11819 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11820 __remainderf.
11821 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11822 __remainderl.
11823 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11824 weak alias of remainderl.
11825 * sysdeps/ieee754/ldbl-opt/w_remainder.c
11826 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11827 alias of __remainder.
11828 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11829 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11830 strong alias of __remainderl.
11831 (dreml): Use long_double_symbol.
11832 * math/Makefile (libm-calls): Remove w_drem.
11833 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11834 (CFLAGS-nldbl-drem.c): Remove variable.
11835 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11836 * math/w_drem.c: Remove file.
11837 * math/w_dremf.c: Likewise.
11838 * math/w_dreml.c: Likewise.
11839 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11840 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11841 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11842
11843 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11844 * sysdeps/i386/configure: Regenerated.
11845 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11846 * sysdeps/x86_64/configure: Regenerated.
11847
11848 * configure.ac (libc_cv_asm_protected_directive): Remove configure
11849 test.
11850 (libc_cv_visibility_attribute): Likewise.
11851 (libc_cv_protected_data): Test unconditionally.
11852 (libc_cv_broken_visibility_attribute): Remove configure test.
11853 (libc_cv_have_sdata_section): Test unconditionally.
11854 * configure: Regenerated.
11855
11856 * include/libc-internal.h (libc_max_align_t): Remove typedef.
11857 * include/scratch_buffer.h: Include <stddef.h> instead of
11858 <libc-internal.h>.
11859 (struct scratch_buffer): Use max_align_t instead of
11860 libc_max_align_t.
11861
11862 2015-10-29 Florian Weimer <fweimer@redhat.com>
11863
11864 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11865 instead of extend_alloca. Change control flow to avoid a goto.
11866 Remove assert which is trivially always true.
11867
11868 2015-10-28 Joseph Myers <joseph@codesourcery.com>
11869
11870 [BZ #16068]
11871 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11872 (FE_ALL_EXCEPT_X86): New macro.
11873 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11874 FE_ALL_EXCEPT. Ensure precision control is included in
11875 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11876 handle "denormal operand exception" and clear FZ and DAZ bits.
11877 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11878 (FE_ALL_EXCEPT_X86): New macro.
11879 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11880 FE_ALL_EXCEPT. Ensure precision control is included in
11881 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11882 handle "denormal operand exception" and clear FZ and DAZ bits.
11883 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11884 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11885 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11886 test-fenv-x87 and test-fenv-sse-2.
11887 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11888
11889 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11890 * math/test-double.h (BUILD_COMPLEX): New macro.
11891 * math/test-float.h (BUILD_COMPLEX): Likewise.
11892 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11893
11894 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11895 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11896 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11898 instead of DBL_DENORM_MIN in comment.
11899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11900 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11901 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11902 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11904 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11905
11906 2015-10-28 Florian Weimer <fweimer@redhat.com>
11907
11908 [BZ# 19048]
11909 * malloc/malloc.c (struct malloc_state): Update comment. Add
11910 attached_threads member.
11911 (main_arena): Initialize attached_threads.
11912 * malloc/arena.c (list_lock): Update comment.
11913 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11914 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11915 (deattach_arena): New function.
11916 (_int_new_arena): Initialize arena reference count and deattach
11917 replaced arena.
11918 (get_free_list, reused_arena): Update reference count and deattach
11919 replaced arena.
11920 (arena_thread_freeres): Update arena reference count and only put
11921 unreferenced arenas on the free list.
11922
11923 2015-10-28 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #19181]
11926 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11927 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11928 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11929 * math/test-fenv-clear-main.c: New file.
11930 * math/test-fenv-clear.c: Likewise.
11931 * math/Makefile (tests): Add test-fenv-clear.
11932 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11933 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11934 test-fenv-clear-sse.
11935 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11936
11937 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11938 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11939 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11940
11941 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11942
11943 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11944 static libc.
11945
11946 2015-10-28 Joseph Myers <joseph@codesourcery.com>
11947
11948 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11949 test.
11950 * sysdeps/i386/configure: Regenerated.
11951 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11952 test.
11953 * sysdeps/x86_64/configure: Regenerated.
11954 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11956 memset-avx2 unconditionally instead of conditionally on
11957 [$(config-cflags-avx2) = yes].
11958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11959 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11960 unconditional.
11961 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11962 * sysdeps/x86_64/multiarch/memset_chk.S
11963 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11964 to [IS_IN (libc) && SHARED].
11965
11966 2015-10-27 Joseph Myers <joseph@codesourcery.com>
11967
11968 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11969 configure test.
11970 * sysdeps/arm/configure: Regenerated.
11971 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11972 Define variable if not already defined.
11973
11974 [BZ #17404]
11975 * sysdeps/mips/atomic-machine.h
11976 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11977 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11978 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11979
11980 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11981 unconditional.
11982 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11983 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11984 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11985 unconditional.
11986 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11987 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11988 unconditional.
11989 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11990 * stdlib/setenv.c
11991 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11992 code unconditional.
11993 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11994 Remove conditional code.
11995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11996 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11997 unconditional.
11998 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11999 code.
12000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12001 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12002 unconditional.
12003 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12004 code.
12005 * sysdeps/ieee754/ldbl-128/k_tanl.c
12006 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12007 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12009 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12010 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12011 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12012 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12013 unconditional.
12014 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12015 code.
12016 * sysdeps/ieee754/ldbl-96/k_tanl.c
12017 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12018 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12019
12020 * nptl/tst-initializers1-c11.c: New file.
12021 * nptl/tst-initializers1-gnu11.c: Likewise.
12022 * nptl/Makefile (tests): Add these new tests.
12023 (CFLAGS-tst-initializers1-c11.c): New variable.
12024 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12025
12026 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12027 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12028 instead of -std=gnu99.
12029 * configure.ac (systemtap): Test with -std=gnu11 instead of
12030 -std=gnu99.
12031 * configure: Regenerated.
12032 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12033 in compilation command in comment.
12034
12035 * sysdeps/nptl/configure.ac: Remove file.
12036 * sysdeps/nptl/configure: Remove generated file.
12037 * configure.ac (libc_cv_forced_unwind): Do not substitute.
12038 * configure: Regenerated.
12039 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12040 * config.make.in (have-forced-unwind): Remove variable.
12041 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12042 unconditional.
12043 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12044 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12045 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12046 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12047 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12048 unconditional.
12049
12050 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12051
12052 [BZ #19174]
12053 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12054 .skip_lock_out_of_tbegin_retries.
12055 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12056 (__lll_lock_elision): Likewise, and respect a value of
12057 try_tbegin <= 0.
12058
12059 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12060
12061 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12062 statement.
12063
12064 2015-10-27 Joseph Myers <joseph@codesourcery.com>
12065
12066 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12067 variable.
12068 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12069 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12070
12071 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12072 of -std=c1x -D_ISOC11_SOURCE.
12073
12074 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12075 * configure: Regenerated.
12076 * manual/install.texi (Tools for Compilation): Document
12077 requirement for GCC 4.7 or later.
12078 * INSTALL: Regenerated.
12079
12080 2015-10-27 Ludovic Courtès <ludo@gnu.org>
12081
12082 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12083 on CNT to a conditional jump to 'puntdata'.
12084
12085 2015-10-27 Joseph Myers <joseph@codesourcery.com>
12086
12087 * configure.ac (libc_cv_gcc___thread): Remove configure test.
12088 (libc_cv_gcc_tls_model_attr): Likewise.
12089 * configure: Regenerated.
12090
12091 * configure.ac (libc_cv_need_minus_P): Remove configure test.
12092 * configure: Regenerated.
12093 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12094
12095 2015-10-26 Joseph Myers <joseph@codesourcery.com>
12096
12097 * configure.ac (old_glibc_headers): Remove configure test.
12098 * configure: Regenerated.
12099 * config.make.in (old-glibc-headers): Remove variable.
12100 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12101 (install): Remove dependency on remove-old-headers.
12102 (headers2_0): Remove variable.
12103 (remove-old-headers): Remove rule.
12104
12105 * configure.ac (libc_cv_dot_text): Remove configure test.
12106 (libc_cv_asm_set_directive): Use .text instead of
12107 ${libc_cv_dot_text} in configure test.
12108 * configure: Regenerated.
12109
12110 2015-10-26 Florian Weimer <fweimer@redhat.com>
12111
12112 [BZ #19168]
12113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12114
12115 2015-10-26 Florian Weimer <fweimer@redhat.com>
12116
12117 * configure.ac (CXX): Clear the variable if the C++ toolchain does
12118 not support static linking.
12119 * configure: Regenerate.
12120
12121 2015-10-23 Joseph Myers <joseph@codesourcery.com>
12122
12123 * math/libm-test.inc (check_float_internal): Do not special-case
12124 errors up to 0.5 ulp.
12125
12126 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12127 log2.
12128 * math/auto-libm-test-out: Regenerated.
12129 * math/libm-test.inc (MAX_EXP): New macro.
12130 (ilogb_test_data): Add more tests.
12131 (isfinite_test_data): Likewise.
12132 (isgreater_test_data): Likewise.
12133 (isgreaterequal_test_data): Likewise.
12134 (isinf_test_data): Likewise.
12135 (isless_test_data): Likewise.
12136 (islessequal_test_data): Likewise.
12137 (islessgreater_test_data): Likewise.
12138 (isnan_test_data): Likewise.
12139 (isnormal_test_data): Likewise.
12140 (issignaling_test_data): Likewise.
12141 (isunordered_test_data): Likewise.
12142 (j0_test_data): Likewise.
12143 (j1_test_data): Likewise.
12144 (jn_test_data): Likewise.
12145 (lgamma_test_data): Likewise.
12146 (log_test_data): Likewise.
12147 (log10_test_data): Likewise.
12148 (log1p_test_data): Likewise.
12149 (log2_test_data): Likewise.
12150 (logb_test_data): Likewise.
12151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12152
12153 [BZ #18611]
12154 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12155 avoid excess range and precision on underflow.
12156 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12157 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12158 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12159 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12160 underflow.
12161 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12163 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12165 * math/auto-libm-test-in: Do not allow missing errno setting for
12166 tests of j1 and jn.
12167 * math/auto-libm-test-out: Regenerated.
12168
12169 2015-10-22 Joseph Myers <joseph@codesourcery.com>
12170
12171 [BZ #15491]
12172 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12173 floating-point environment instead of clearing all exceptions.
12174 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12175 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12176 merging in "invalid" exceptions from frndint.
12177 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12178 * math/test-nearbyint-except.c: New file.
12179 * math/Makefile (tests): Add test-nearbyint-except.
12180
12181 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
12182
12183 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12184
12185 * sysdeps/tile/libm-test-ulps: Regenerated.
12186
12187 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12188
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12190 (__NR_sync_file_range2): Assume it is always defined.
12191 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12192 (__NR_sync_file_range): Assume it is always defined.
12193
12194 2015-10-22 Andreas Schwab <schwab@suse.de>
12195
12196 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12197 INTERNAL_SYSCALL_ERRNO.
12198 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12199 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12200 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12201 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12202 Likewise.
12203 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12204
12205 2015-10-21 Joseph Myers <joseph@codesourcery.com>
12206
12207 * io/tst-fcntl.c (fd): New static variable.
12208 (do_prepare): Open temporary file here....
12209 (do_test): ...not here.
12210
12211 * io/ftwtest-sh: Also trap on exit to remove temporary files.
12212
12213 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
12214
12215 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12216 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12217 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12218 Moved before "#ifdef __ASSEMBLER__".
12219
12220 2015-10-21 Joseph Myers <joseph@codesourcery.com>
12221
12222 [BZ #19156]
12223 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12224 arguments very close to 0.
12225
12226 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
12227
12228 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12229 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12230
12231 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
12232
12233 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12234 New. Defined for GCC 5 and above when not compiling for
12235 profiling.
12236 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12237
12238 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12239 Renamed to ...
12240 (CFLAGS-epoll_pwait.o): This.
12241 (CFLAGS-mmap.c): Renamed to ...
12242 (CFLAGS-mmap.o): This.
12243 (CFLAGS-mmap64.c): Renamed to ...
12244 (CFLAGS-mmap64.o): This.
12245 (CFLAGS-epoll_pwait.os): New.
12246 (CFLAGS-mmap.os): Likewise.
12247 (CFLAGS-mmap64.os): Likewise.
12248 (CFLAGS-semtimedop.os): Likewise.
12249 (CFLAGS-semtimedop.c): Renamed to ...
12250 (CFLAGS-semtimedop.o): This.
12251
12252 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12253
12254 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12255 warning message.
12256
12257 2015-10-21 Joseph Myers <joseph@codesourcery.com>
12258
12259 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12260 * Makefile ($(objpfx)c++-types-check.out): Filter out
12261 $(+gccwarn-c) instead of -Wstrict-prototypes.
12262
12263 * io/fts.c (fts_open): Convert to prototype-style function
12264 definition.
12265 * malloc/mcheck.c (mcheck): Likewise.
12266 (mcheck_pedantic): Likewise.
12267 * posix/regexec.c (re_search_2_stub): Likewise. Use
12268 internal_function.
12269 (re_search_internal): Likewise.
12270 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12271 prototype-style function definition.
12272 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12273 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12274 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12275 (xdr_utmpptr): Likewise.
12276 (xdr_utmparr): Likewise.
12277 (xdr_utmpidle): Likewise.
12278 (xdr_utmpidleptr): Likewise.
12279 (xdr_utmpidlearr): Likewise.
12280
12281 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12282 log, log10 and log2.
12283 * math/auto-libm-test-out: Regenerated.
12284 * math/libm-test.inc (fmod_test_data): Add more tests.
12285 (fpclassify_test_data): Likewise.
12286 (frexp_test_data): Likewise.
12287 (hypot_test_data): Likewise.
12288 (ilogb_test_data): Likewise.
12289
12290 2015-10-20 Joseph Myers <joseph@codesourcery.com>
12291
12292 * debug/fortify_fail.c (__fortify_fail): Convert to
12293 prototype-style function definition. Use internal_function.
12294 * libio/genops.c (save_for_backup): Convert to prototype-style
12295 function definition.
12296 * libio/wgenops.c (save_for_wbackup): Likewise.
12297 * login/grantpt.c (grantpt): Likewise.
12298 * login/ptsname.c (ptsname): Likewise.
12299 (__ptsname_r): Likewise.
12300 * login/unlockpt.c (unlockpt): Likewise.
12301 * mach/msgserver.c (__mach_msg_server): Likewise.
12302 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12303 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12304 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12305 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12306 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12307 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12308 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12309 Likewise.
12310 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
12311 internal_function.
12312 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12313 prototype-style function definition.
12314 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12315 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12316 (__pthread_create_2_0): Likewise.
12317 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12318 * nptl/register-atfork.c (__register_atfork): Likewise.
12319 * posix/glob.c (glob): Likewise.
12320 * posix/regcomp.c (re_comp): Likewise.
12321 * posix/regexec.c (re_exec): Likewise.
12322 * stdlib/add_n.c [__STDC__]: Make code unconditional.
12323 [!__STDC__]: Remove conditional code.
12324 * stdlib/cmp.c [__STDC__]: Make code unconditional.
12325 [!__STDC__]: Remove conditional code.
12326 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12327 [!__STDC__]: Remove conditional code.
12328 * stdlib/divrem.c [__STDC__]: Make code unconditional.
12329 [!__STDC__]: Remove conditional code.
12330 * stdlib/lshift.c [__STDC__]: Make code unconditional.
12331 [!__STDC__]: Remove conditional code.
12332 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12333 [!__STDC__]: Remove conditional code.
12334 * stdlib/mul.c [__STDC__]: Make code unconditional.
12335 [!__STDC__]: Remove conditional code.
12336 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12337 [!__STDC__]: Remove conditional code.
12338 * stdlib/rshift.c [__STDC__]: Make code unconditional.
12339 [!__STDC__]: Remove conditional code.
12340 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12341 function definition.
12342 (STRTOF): Likewise.
12343 * stdlib/strtod_l.c (__STRTOF): Likewise.
12344 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12345 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12346 (__strtol_l): Likewise.
12347 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12348 [!__STDC__]: Remove conditional code.
12349 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12350 definition.
12351 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12352 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12353 type.
12354 (__strcasecmp): Convert to prototype-style function definition.
12355 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12356 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12357 type.
12358 (__strncasecmp): Convert to prototype-style function definition.
12359 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12360 * sunrpc/xdr.c (xdr_union): Likewise.
12361 * sunrpc/xdr_array.c (xdr_array): Likewise.
12362 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12363 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12364 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12365 Likewise.
12366 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12367 Likewise.
12368 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12369 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12370 Likewise.
12371 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12372 (LOCALE_PARAM_PROTO): Likewise.
12373 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12374 argument type.
12375 (ut_argument_spec): Remove macro.
12376 (ut_argument_spec_iso): Rename to ut_argument_spec.
12377 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
12378 prototype-style function definition.
12379 (memcpy_uppcase): Likewise.
12380 (__strftime_internal): Likewise.
12381 (my_strftime): Likewise.
12382 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12383 (LOCALE_PARAM_DECL): Likewise.
12384 [_LIBC] (LOCALE_PARAM): Include argument type.
12385 (__strptime_internal): Convert to prototype-style function
12386 definition.
12387 (strptime): Likewise.
12388 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12389 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12390 type.
12391 (__wcscasecmp): Convert to prototype-style function definition.
12392 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12393 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12394 type.
12395 (__wcsncasecmp): Convert to prototype-style function definition.
12396
12397 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12398 function definition.
12399 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12400 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12401 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12402 * elf/dl-minimal.c (_itoa): Likewise.
12403 * hurd/hurdmalloc.c (malloc): Likewise.
12404 (free): Likewise.
12405 (realloc): Likewise.
12406 * inet/inet6_option.c (inet6_option_space): Likewise.
12407 (inet6_option_init): Likewise.
12408 (inet6_option_append): Likewise.
12409 (inet6_option_alloc): Likewise.
12410 (inet6_option_next): Likewise.
12411 (inet6_option_find): Likewise.
12412 * io/ftw.c (FTW_NAME): Likewise.
12413 (NFTW_NAME): Likewise.
12414 (NFTW_NEW_NAME): Likewise.
12415 (NFTW_OLD_NAME): Likewise.
12416 * libio/iofwide.c (_IO_fwide): Likewise.
12417 * libio/strops.c (_IO_str_init_static_internal): Likewise.
12418 (_IO_str_init_static): Likewise.
12419 (_IO_str_init_readonly): Likewise.
12420 (_IO_str_overflow): Likewise.
12421 (_IO_str_underflow): Likewise.
12422 (_IO_str_count): Likewise.
12423 (_IO_str_seekoff): Likewise.
12424 (_IO_str_pbackfail): Likewise.
12425 (_IO_str_finish): Likewise.
12426 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12427 (_IO_wstr_overflow): Likewise.
12428 (_IO_wstr_underflow): Likewise.
12429 (_IO_wstr_count): Likewise.
12430 (_IO_wstr_seekoff): Likewise.
12431 (_IO_wstr_pbackfail): Likewise.
12432 (_IO_wstr_finish): Likewise.
12433 * locale/programs/localedef.c (normalize_codeset): Likewise.
12434 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12435 (add_locales_to_archive): Likewise.
12436 (delete_locales_from_archive): Likewise.
12437 * malloc/malloc.c (__libc_mallinfo): Likewise.
12438 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12439 * misc/tsearch.c (__tfind): Likewise.
12440 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12441 * nptl/pthread_attr_getdetachstate.c
12442 (__pthread_attr_getdetachstate): Likewise.
12443 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12444 Likewise.
12445 * nptl/pthread_attr_getinheritsched.c
12446 (__pthread_attr_getinheritsched): Likewise.
12447 * nptl/pthread_attr_getschedparam.c
12448 (__pthread_attr_getschedparam): Likewise.
12449 * nptl/pthread_attr_getschedpolicy.c
12450 (__pthread_attr_getschedpolicy): Likewise.
12451 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12452 Likewise.
12453 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12454 Likewise.
12455 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12456 Likewise.
12457 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12458 Likewise.
12459 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12460 (__pthread_attr_init_2_0): Likewise.
12461 * nptl/pthread_attr_setdetachstate.c
12462 (__pthread_attr_setdetachstate): Likewise.
12463 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12464 Likewise.
12465 * nptl/pthread_attr_setinheritsched.c
12466 (__pthread_attr_setinheritsched): Likewise.
12467 * nptl/pthread_attr_setschedparam.c
12468 (__pthread_attr_setschedparam): Likewise.
12469 * nptl/pthread_attr_setschedpolicy.c
12470 (__pthread_attr_setschedpolicy): Likewise.
12471 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12472 Likewise.
12473 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12474 Likewise.
12475 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12476 Likewise.
12477 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12478 Likewise.
12479 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12480 Likewise.
12481 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12482 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12483 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12484 use internal_function.
12485 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12486 prototype-style function definition.
12487 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12488 (__pthread_mutex_cond_lock_adjust): Likewise. Use
12489 internal_function.
12490 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12491 Convert to prototype-style function definition.
12492 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12493 Likewise.
12494 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12495 Likewise.
12496 (__pthread_mutex_unlock): Likewise.
12497 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12498 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12499 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12500 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12501 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12502 * nss/makedb.c (process_input): Likewise.
12503 * posix/fnmatch.c (__strchrnul): Likewise.
12504 (__wcschrnul): Likewise.
12505 (fnmatch): Likewise.
12506 * posix/fnmatch_loop.c (FCT): Likewise.
12507 * posix/glob.c (globfree): Likewise.
12508 (__glob_pattern_type): Likewise.
12509 (__glob_pattern_p): Likewise.
12510 * posix/regcomp.c (re_compile_pattern): Likewise.
12511 (re_set_syntax): Likewise.
12512 (re_compile_fastmap): Likewise.
12513 (regcomp): Likewise.
12514 (regerror): Likewise.
12515 (regfree): Likewise.
12516 * posix/regexec.c (regexec): Likewise.
12517 (re_match): Likewise.
12518 (re_search): Likewise.
12519 (re_match_2): Likewise.
12520 (re_search_2): Likewise.
12521 (re_search_stub): Likewise. Use internal_function
12522 (re_copy_regs): Likewise.
12523 (re_set_registers): Convert to prototype-style function
12524 definition.
12525 (prune_impossible_nodes): Likewise. Use internal_function.
12526 * resolv/inet_net_pton.c (inet_net_pton): Convert to
12527 prototype-style function definition.
12528 (inet_net_pton_ipv4): Likewise.
12529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12530 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12531 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12532 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12533 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12534 Make variadic.
12535 * time/strptime_l.c (localtime_r): Convert to prototype-style
12536 function definition.
12537 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12538 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12539 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12540 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12541
12542 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12543 definition.
12544 (_ufc_doit_r): Likewise.
12545 * crypt/crypt_util.c (_ufc_copymem): Likewise.
12546 (_ufc_output_conversion_r): Likewise.
12547 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12548 * inet/rcmd.c (rcmd_af): Likewise.
12549 (rcmd): Likewise.
12550 (ruserok_af): Likewise.
12551 (ruserok): Likewise.
12552 (ruserok2_sa): Likewise.
12553 (ruserok_sa): Likewise.
12554 (iruserok_af): Likewise.
12555 (iruserok): Likewise.
12556 (__ivaliduser): Likewise.
12557 (__validuser2_sa): Likewise.
12558 * inet/rexec.c (rexec_af): Likewise.
12559 (rexec): Likewise.
12560 * inet/ruserpass.c (ruserpass): Likewise.
12561 * locale/programs/xmalloc.c (xcalloc): Likewise.
12562 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12563 * math/w_drem.c (__drem): Likewise.
12564 * math/w_dremf.c (__dremf): Likewise.
12565 * math/w_dreml.c (__dreml): Likewise.
12566 * misc/daemon.c (daemon): Likewise.
12567 * resolv/res_debug.c (p_fqnname): Likewise.
12568 * stdlib/div.c (div): Likewise.
12569 * string/memcmp.c (memcmp_bytes): Likewise.
12570 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12571 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12572
12573 * crypt/cert.c (main): Convert to prototype-style function
12574 definition.
12575 * io/pipe.c (__pipe): Likewise.
12576 * io/pipe2.c (__pipe2): Likewise.
12577 * misc/futimesat.c (futimesat): Likewise.
12578 * misc/utimes.c (__utimes): Likewise.
12579 * posix/execve.c (__execve): Likewise.
12580 * posix/execvp.c (execvp): Likewise.
12581 * posix/execvpe.c (__execvpe): Likewise.
12582 * posix/fexecve.c (fexecve): Likewise.
12583 * socket/socketpair.c (socketpair): Likewise.
12584 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12585 * stdlib/erand48.c (erand48): Likewise.
12586 * stdlib/erand48_r.c (__erand48_r): Likewise.
12587 * stdlib/jrand48.c (jrand48): Likewise.
12588 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12589 * stdlib/lcong48.c (lcong48): Likewise.
12590 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12591 * stdlib/nrand48.c (nrand48): Likewise.
12592 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12593 * stdlib/seed48.c (seed48): Likewise.
12594 * stdlib/seed48_r.c (__seed48_r): Likewise.
12595 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12596 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12597 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12598
12599 2015-10-19 Joseph Myers <joseph@codesourcery.com>
12600
12601 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12602 * configure: Regenerated.
12603 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12604 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12605 unconditional.
12606 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12607 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12608 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12609 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12610 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12611 unconditional.
12612 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12613
12614 * posix/Makefile (CFLAGS-regex.c): Remove variable.
12615 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12616
12617 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12618 function definition.
12619 * crypt/crypt_util.c (__encrypt_r): Likewise.
12620 * libio/genops.c (_IO_no_init): Likewise.
12621 * libio/iofopncook.c (_IO_fopencookie): Likewise.
12622 (_IO_old_fopencookie): Likewise.
12623 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12624 * libio/iogetline.c (_IO_getline): Likewise.
12625 (_IO_getline_info): Likewise.
12626 * libio/iogetwline.c (_IO_getwline): Likewise.
12627 (_IO_getwline_info): Likewise.
12628 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12629 * libio/vswprintf.c (_IO_vswprintf): Likewise.
12630 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12631 (find_entry): Likewise.
12632 (iterate_table): Likewise.
12633 (lookup): Likewise.
12634 * login/forkpty.c (forkpty): Likewise.
12635 * misc/hsearch_r.c (__hsearch_r): Likewise.
12636 * misc/select.c (__select): Likewise.
12637 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12638 Likewise.
12639 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12640 Likewise.
12641 * nptl/old_pthread_cond_timedwait.c
12642 (__pthread_cond_timedwait_2_0): Likewise.
12643 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12644 * nptl/pthread_barrierattr_getpshared.c
12645 (pthread_barrierattr_getpshared): Likewise.
12646 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12647 Likewise.
12648 * nptl/pthread_mutex_setprioceiling.c
12649 (pthread_mutex_setprioceiling): Likewise.
12650 * nptl/pthread_mutexattr_getprioceiling.c
12651 (pthread_mutexattr_getprioceiling): Likewise.
12652 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12653 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12654 Likewise.
12655 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12656 Likewise.
12657 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12658 Likewise.
12659 * socket/recvfrom.c (__recvfrom): Likewise.
12660 * socket/sendto.c (__sendto): Likewise.
12661 * socket/setsockopt.c (__setsockopt): Likewise.
12662 * stdio-common/_itoa.c (_itoa): Likewise.
12663 * stdio-common/_itowa.c (_itowa): Likewise.
12664 * stdio-common/reg-printf.c (__register_printf_specifier):
12665 Likewise.
12666 (__register_printf_function): Likewise.
12667 * stdio-common/tempname.c (__path_search): Likewise.
12668 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12669 * stdlib/mul_1.c (mpn_mul_1): Likewise.
12670 * stdlib/random_r.c (__initstate_r): Likewise.
12671 * stdlib/setenv.c (__add_to_environ): Likewise.
12672 * stdlib/submul_1.c (mpn_submul_1): Likewise.
12673 * streams/getpmsg.c (getpmsg): Likewise.
12674 * streams/putmsg.c (putmsg): Likewise.
12675 * streams/putpmsg.c (putpmsg): Likewise.
12676 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12677 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12678 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12679 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12680 * sunrpc/pm_getport.c (pmap_getport): Likewise.
12681 * sunrpc/svc_udp.c (cache_get): Likewise.
12682 * sunrpc/xdr_array.c (xdr_vector): Likewise.
12683 * sysdeps/mach/hurd/getcwd.c
12684 (__canonicalize_directory_name_internal): Likewise.
12685 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12686 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12687 * sysdeps/mach/hurd/select.c (__select): Likewise.
12688 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12689 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12690 * sysdeps/sparc/nptl/pthread_barrier_init.c
12691 (__pthread_barrier_init): Likewise.
12692 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12693 (__pthread_cond_timedwait): Likewise.
12694 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12695 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12696 Likewise.
12697 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12698 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12699 Likewise.
12700 * sysvipc/semtimedop.c (semtimedop): Likewise.
12701 * time/setitimer.c (__setitimer): Likewise.
12702 * time/strftime_l.c (emacs_strftime): Likewise.
12703
12704 2015-10-19 Mike Frysinger <vapier@gentoo.org>
12705
12706 * config.make.in (have-ssp): Delete.
12707 (stack-protector): New variable.
12708 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
12709 cache test for -fstack-protector-strong. Export stack_protector to
12710 the best ssp flag.
12711 * configure: Regenerated.
12712 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12713 * nscd/Makefile (CFLAGS-nscd): Likewise.
12714 * resolv/Makefile (CFLAGS-libresolv): Likewise.
12715
12716 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
12717
12718 [BZ #19122]
12719 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12720 attribute_hidden.
12721
12722 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12723
12724 [BZ #18743]
12725 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12726 code to...
12727 (ELIDE_LOCK): ...here.
12728 (__get_new_count): New function with part of the code from
12729 __elide_lock that updates the value of adapt_count after a
12730 transaction abort.
12731 (__elided_trylock): Moved this code to...
12732 (ELIDE_TRYLOCK): ...here.
12733
12734 2015-10-19 Mike Frysinger <vapier@gentoo.org>
12735
12736 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12737 * configure: Regenerate.
12738 * INSTALL: Regenerate.
12739 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12740 and tweak grammar.
12741
12742 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
12743
12744 * login/programs/pt_chown.c: Include signal.h
12745 (main): Clear any signal mask from the parent process.
12746
12747 2015-10-19 Joseph Myers <joseph@codesourcery.com>
12748
12749 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12750 * configure: Regenerated.
12751 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12752 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12753 $(gnu89-inline-CFLAGS).
12754
12755 * configure.ac (libc_cv_asm_weak_directive): Remove configure
12756 test.
12757 (libc_cv_asm_weakext_directive): Likewise.
12758 * configure: Regenerated.
12759 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12760 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12761 * include/libc-symbols.h
12762 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12763 #error.
12764 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12765 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12766
12767 * sysdeps/arm/backtrace.c (__backtrace): Convert to
12768 prototype-style function definition.
12769 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12770 * sysdeps/i386/ffs.c (__ffs): Likewise.
12771 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12772 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12773 Likewise.
12774 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12775 Likewise.
12776 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12778 Likewise.
12779 * sysdeps/m68k/ffs.c (__ffs): Likewise.
12780 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12781 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12782 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12783 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12784 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12785 * sysdeps/mach/hurd/access.c (__access): Likewise.
12786 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12787 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12788 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12789 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12790 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12791 (cthread_getspecific): Likewise.
12792 (cthread_setspecific): Likewise.
12793 (__libc_getspecific): Likewise.
12794 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12795 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12796 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12797 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12798 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12799 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12800 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12801 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12802 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12803 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12804 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12805 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12806 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12807 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12808 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12809 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12810 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12811 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12812 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12813 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12814 * sysdeps/mach/hurd/link.c (__link): Likewise.
12815 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12816 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12817 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12818 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12819 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12820 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12821 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12822 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12823 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12824 * sysdeps/mach/hurd/rename.c (rename): Likewise.
12825 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12826 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12827 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12828 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12829 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12830 * sysdeps/mach/hurd/send.c (__send): Likewise.
12831 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12832 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12833 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12834 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12835 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12836 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12837 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12838 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12839 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12840 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12841 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12842 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12843 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12844 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12845 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12846 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12847 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12848 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12849 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12850 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12851 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12852 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12853 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12854 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12855 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12856 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12857 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12858 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12859 * sysdeps/posix/alarm.c (alarm): Likewise.
12860 * sysdeps/posix/cuserid.c (cuserid): Likewise.
12861 * sysdeps/posix/dirfd.c (dirfd): Likewise.
12862 * sysdeps/posix/dup.c (__dup): Likewise.
12863 * sysdeps/posix/dup2.c (__dup2): Likewise.
12864 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12865 (main): Likewise.
12866 * sysdeps/posix/flock.c (__flock): Likewise.
12867 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12868 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12869 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12870 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12871 * sysdeps/posix/isatty.c (__isatty): Likewise.
12872 * sysdeps/posix/killpg.c (killpg): Likewise.
12873 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12874 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12875 * sysdeps/posix/raise.c (raise): Likewise.
12876 * sysdeps/posix/remove.c (remove): Likewise.
12877 * sysdeps/posix/rename.c (rename): Likewise.
12878 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12879 * sysdeps/posix/seekdir.c (seekdir): Likewise.
12880 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12881 * sysdeps/posix/sigignore.c (sigignore): Likewise.
12882 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12883 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12884 * sysdeps/posix/sigset.c (sigset): Likewise.
12885 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12886 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12887 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12888 * sysdeps/posix/time.c (time): Likewise.
12889 * sysdeps/posix/ttyname.c (getttyname): Likewise.
12890 (ttyname): Likewise.
12891 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12892 * sysdeps/posix/utime.c (utime): Likewise.
12893 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12894 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12895 Likewise.
12896 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12897 (pthread_spin_trylock): Likewise.
12898 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12899 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12900 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12901 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12902 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12903 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12904 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12905 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12906 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12907 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12908 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12909 * sysdeps/s390/ffs.c (__ffs): Likewise.
12910 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12911 Likewise.
12912 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12913 Likewise.
12914 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12915 Likewise.
12916 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12917 (pthread_barrier_destroy): Likewise.
12918 * sysdeps/sparc/nptl/pthread_barrier_wait.c
12919 (__pthread_barrier_wait): Likewise.
12920 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12921 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12922 (__pthread_barrier_wait): Likewise.
12923 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12924 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12925 (memcmp_not_common_alignment): Likewise.
12926 (MEMCMP): Likewise.
12927 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12928 (_wordcopy_fwd_dest_aligned): Likewise.
12929 (_wordcopy_bwd_aligned): Likewise.
12930 (_wordcopy_bwd_dest_aligned): Likewise.
12931 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12932 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12933 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12934 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12935 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12936 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12937 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12938 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12939 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12940 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12941 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12942 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12943 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12944 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12945 * sysdeps/unix/stime.c (stime): Likewise.
12946 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12947 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12948 Likewise. Use internal_function.
12949 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12950 Convert to prototype-style function definition.
12951 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12952 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12954 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12955 Likewise. Use internal_function.
12956 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12957 prototype-style function definition
12958 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12959 Likewise.
12960 (__getlogin_r): Likewise.
12961 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12962 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12963 (__pthread_cond_broadcast): Likewise.
12964 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12965 (__pthread_cond_destroy): Likewise.
12966 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12967 (__pthread_cond_init): Likewise.
12968 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12969 (__pthread_cond_signal): Likewise.
12970 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12971 (__pthread_cond_wait): Likewise.
12972 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12973 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12974 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12975 Likewise.
12976 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12977 Likewise.
12978 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12979 Likewise.
12980 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12981 Likewise.
12982 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12984 (__ftruncate64): Likewise.
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12986 (truncate64): Likewise.
12987 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12988 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12989 (pthread_getcpuclockid): Likewise.
12990 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12991 Likewise.
12992 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12993 Likewise.
12994 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12995 Likewise.
12996 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12997 Likewise.
12998 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12999 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13000 (__libc_sigaction): Likewise.
13001 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13002 Likewise.
13003 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13004 (__sigprocmask): Likewise.
13005 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13006 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13007 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13008 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13009 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13010 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13011 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13012 Likewise.
13013 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13014 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13015 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13016 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13017 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13018 Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13020 (__sigprocmask): Likewise.
13021 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13022 (cfgetispeed): Likewise.
13023 (cfsetospeed): Likewise.
13024 (cfsetispeed): Likewise.
13025 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13026 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13027 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13028 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13029 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13030 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13031 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13032 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13033 Likewise.
13034 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13035 Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13037 Likewise.
13038 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13039 Likewise.
13040 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13041
13042 2015-10-17 Florian Weimer <fweimer@redhat.com>
13043
13044 sunrpc: Rewrite with explicit TLS access using __thread.
13045 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13046 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13047 directly.
13048 (__rpc_thread_variables): Access thread_rpc_vars directly.
13049 Eliminate redundant assignment of the tvp variable.
13050
13051 2015-10-17 Florian Weimer <fweimer@redhat.com>
13052
13053 malloc: Rewrite with explicit TLS access using __thread.
13054 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13055 (tsd_setspecific, tsd_getspecific): Remove.
13056 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13057 (tsd_setspecific, tsd_getspecific): Likewise.
13058 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13059 (tsd_setspecific, tsd_getspecific): Likewise.
13060 * malloc/arena.c (thread_arena): New TLS variable.
13061 (arena_key): Remove variable.
13062 (arena_get): Use thread_arena.
13063 (arena_lookup): Remove macro.
13064 (malloc_atfork, free_atfork, ptmalloc_lock_all)
13065 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13066 (_int_new_arena, get_free_list, reused_arena)
13067 (arena_thread_freeres): Use thread_arena.
13068 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13069 tsd_getspecific, tsd_setspecific from safety annotations.
13070 (Allocating Cleared Space): Remove arena_lookup from safety
13071 annotations.
13072
13073 2015-10-17 Florian Weimer <fweimer@redhat.com>
13074
13075 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13076 struct scratch_buffer instead of extend_alloca.
13077
13078 2015-10-17 Florian Weimer <fweimer@redhat.com>
13079
13080 * sysdeps/unix/sysv/linux/kernel-features.h
13081 (__ASSUME_SOCK_CLOEXEC): Remove.
13082 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13083 (__have_paccept): Remove unused macro.
13084 * include/unistd.h (__have_sock_cloexec): Remove declaration.
13085 * misc/syslog.c (openlog_internal): Remove fallback code for
13086 !__ASSUME_SOCK_CLOEXEC.
13087 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13088 missing SOCK_CLOEXEC.
13089 * nscd/connections.c (have_sock_cloexec): Remove definition.
13090 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13091 * nscd/nscd_helper.c (open_socket): Remove fallback code for
13092 !__ASSUME_SOCK_CLOEXEC.
13093 * resolv/res_send.c (__have_o_nonblock): Remove definition.
13094 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13095 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13096 definition.
13097 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13098 code for !__ASSUME_SOCK_CLOEXEC.
13099
13100 2015-10-17 Florian Weimer <fweimer@redhat.com>
13101
13102 [BZ #18982]
13103 * manual/stdio.texi (Variable Arguments Output): Add portability
13104 note, explaining that vfprintf clobbers the va_list pointer.
13105
13106 2015-10-16 Joseph Myers <joseph@codesourcery.com>
13107
13108 * math/libm-test.inc (fabs_test_data): Add more tests.
13109 (fdim_test_data): Likewise.
13110 (fma_test_data): Likewise.
13111 (fmax_test_data): Likewise.
13112 (fmin_test_data): Likewise.
13113 (fmod_test_data): Likewise.
13114
13115 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
13116
13117 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
13118 data.
13119
13120 2015-10-16 Joseph Myers <joseph@codesourcery.com>
13121
13122 * math/libm-test.inc (ceil_test_data): Add more tests and more
13123 expectations for "inexact".
13124 (floor_test_data): Add more tests.
13125 (round_test_data): Likewise.
13126 (trunc_test_data): Likewise.
13127
13128 * crypt/cert.c (good_bye): Convert to prototype-style function
13129 definition.
13130 (get8): Likewise.
13131 (put8): Likewise.
13132 * crypt/crypt-entry.c (crypt): Likewise.
13133 (__fcrypt): Likewise.
13134 * crypt/crypt_util.c (_ufc_prbits): Likewise.
13135 (_ufc_set_bits): Likewise.
13136 (_ufc_clearmem): Likewise.
13137 (__init_des_r): Likewise.
13138 (shuffle_sb): Likewise.
13139 (shuffle_sb): Likewise.
13140 (_ufc_setup_salt_r): Likewise.
13141 (_ufc_mk_keytab_r): Likewise.
13142 (_ufc_dofinalperm_r): Likewise.
13143 (encrypt): Likewise.
13144 (__setkey_r): Likewise.
13145 (setkey): Likewise.
13146 * crypt/md5.c (md5_init_ctx): Likewise.
13147 (md5_read_ctx): Likewise.
13148 (md5_finish_ctx): Likewise.
13149 (md5_stream): Likewise.
13150 (md5_buffer): Likewise.
13151 (md5_process_bytes): Likewise.
13152 * crypt/sha256.c (__sha256_init_ctx): Likewise.
13153 (__sha256_finish_ctx): Likewise.
13154 (__sha256_process_bytes): Likewise.
13155 * crypt/sha512.c (__sha512_init_ctx): Likewise.
13156 (__sha512_finish_ctx): Likewise.
13157 (__sha512_process_bytes): Likewise.
13158 * ctype/isctype.c (__isctype): Likewise.
13159 * debug/backtrace.c (__backtrace): Likewise.
13160 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13161 * debug/fgets_chk.c (__fgets_chk): Likewise.
13162 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13163 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13164 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13165 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13166 * debug/memset_chk.c (__memset_chk): Likewise.
13167 * debug/strcat_chk.c (__strcat_chk): Likewise.
13168 * debug/strncat_chk.c (__strncat_chk): Likewise.
13169 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13170 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13171 * dirent/dirfd.c (dirfd): Likewise.
13172 * dirent/getdents.c (__getdirentries): Likewise.
13173 * dirent/getdents64.c (getdirentries64): Likewise.
13174 * dirent/rewinddir.c (__rewinddir): Likewise.
13175 * dirent/seekdir.c (seekdir): Likewise.
13176 * dirent/telldir.c (telldir): Likewise.
13177 * elf/sln.c (makesymlinks): Likewise.
13178 (makesymlink): Likewise.
13179 * gmon/gmon.c (__moncontrol): Likewise.
13180 (__monstartup): Likewise.
13181 (write_hist): Likewise.
13182 (write_call_graph): Likewise.
13183 (write_bb_counts): Likewise.
13184 * grp/setgroups.c (setgroups): Likewise.
13185 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13186 * inet/inet_net.c (inet_network): Likewise.
13187 * inet/inet_netof.c (inet_netof): Likewise.
13188 * inet/rcmd.c (rresvport_af): Likewise.
13189 (rresvport): Likewise.
13190 * io/access.c (__access): Likewise.
13191 * io/chdir.c (__chdir): Likewise.
13192 * io/chmod.c (__chmod): Likewise.
13193 * io/chown.c (__chown): Likewise.
13194 * io/close.c (__close): Likewise.
13195 * io/creat.c (creat): Likewise.
13196 * io/creat64.c (creat64): Likewise.
13197 * io/dup.c (__dup): Likewise.
13198 * io/dup2.c (__dup2): Likewise.
13199 * io/dup3.c (__dup3): Likewise.
13200 * io/euidaccess.c (__euidaccess): Likewise.
13201 * io/faccessat.c (faccessat): Likewise.
13202 * io/fchmod.c (__fchmod): Likewise.
13203 * io/fchmodat.c (fchmodat): Likewise.
13204 * io/fchown.c (__fchown): Likewise.
13205 * io/fchownat.c (fchownat): Likewise.
13206 * io/fcntl.c (__fcntl): Likewise.
13207 * io/flock.c (__flock): Likewise.
13208 * io/fts.c (fts_load): Likewise.
13209 (fts_close): Likewise.
13210 (fts_read): Likewise.
13211 (fts_set): Likewise.
13212 (fts_children): Likewise.
13213 (fts_build): Likewise.
13214 (fts_stat): Likewise.
13215 (fts_sort): Likewise.
13216 (fts_alloc): Likewise.
13217 (fts_lfree): Likewise.
13218 (fts_palloc): Likewise.
13219 (fts_padjust): Likewise.
13220 (fts_maxarglen): Likewise.
13221 (fts_safe_changedir): Likewise.
13222 * io/getwd.c (getwd): Likewise.
13223 * io/isatty.c (__isatty): Likewise.
13224 * io/lchown.c (__lchown): Likewise.
13225 * io/link.c (__link): Likewise.
13226 * io/linkat.c (linkat): Likewise.
13227 * io/lseek.c (__libc_lseek): Likewise.
13228 * io/mkdir.c (__mkdir): Likewise.
13229 * io/mkdirat.c (mkdirat): Likewise.
13230 * io/mkfifo.c (mkfifo): Likewise.
13231 * io/mkfifoat.c (mkfifoat): Likewise.
13232 * io/open.c (__libc_open): Likewise.
13233 * io/open64.c (__libc_open64): Likewise.
13234 * io/readlink.c (__readlink): Likewise.
13235 * io/readlinkat.c (readlinkat): Likewise.
13236 * io/rmdir.c (__rmdir): Likewise.
13237 * io/symlink.c (__symlink): Likewise.
13238 * io/symlinkat.c (symlinkat): Likewise.
13239 * io/ttyname.c (ttyname): Likewise.
13240 * io/ttyname_r.c (__ttyname_r): Likewise.
13241 * io/umask.c (__umask): Likewise.
13242 * io/unlink.c (__unlink): Likewise.
13243 * io/unlinkat.c (unlinkat): Likewise.
13244 * io/utime.c (utime): Likewise.
13245 * libio/clearerr.c (clearerr): Likewise.
13246 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13247 * libio/feof.c (_IO_feof): Likewise.
13248 * libio/feof_u.c (feof_unlocked): Likewise.
13249 * libio/ferror.c (_IO_ferror): Likewise.
13250 * libio/ferror_u.c (ferror_unlocked): Likewise.
13251 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13252 * libio/fileno.c (__fileno): Likewise.
13253 * libio/fputc.c (fputc): Likewise.
13254 * libio/fputc_u.c (fputc_unlocked): Likewise.
13255 * libio/fputwc.c (fputwc): Likewise.
13256 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13257 * libio/freopen.c (freopen): Likewise.
13258 * libio/freopen64.c (freopen64): Likewise.
13259 * libio/fseek.c (fseek): Likewise.
13260 * libio/fseeko.c (fseeko): Likewise.
13261 * libio/fseeko64.c (fseeko64): Likewise.
13262 * libio/ftello.c (__ftello): Likewise.
13263 * libio/ftello64.c (ftello64): Likewise.
13264 * libio/fwide.c (fwide): Likewise.
13265 * libio/genops.c (_IO_un_link): Likewise.
13266 (_IO_link_in): Likewise.
13267 (_IO_least_marker): Likewise.
13268 (_IO_switch_to_main_get_area): Likewise.
13269 (_IO_switch_to_backup_area): Likewise.
13270 (_IO_switch_to_get_mode): Likewise.
13271 (_IO_free_backup_area): Likewise.
13272 (_IO_switch_to_put_mode): Likewise.
13273 (__overflow): Likewise.
13274 (__underflow): Likewise.
13275 (__uflow): Likewise.
13276 (_IO_setb): Likewise.
13277 (_IO_doallocbuf): Likewise.
13278 (_IO_default_underflow): Likewise.
13279 (_IO_default_uflow): Likewise.
13280 (_IO_default_xsputn): Likewise.
13281 (_IO_sgetn): Likewise.
13282 (_IO_default_xsgetn): Likewise.
13283 (_IO_sync): Likewise.
13284 (_IO_default_setbuf): Likewise.
13285 (_IO_default_seekpos): Likewise.
13286 (_IO_default_doallocate): Likewise.
13287 (_IO_init): Likewise.
13288 (_IO_old_init): Likewise.
13289 (_IO_default_sync): Likewise.
13290 (_IO_default_finish): Likewise.
13291 (_IO_default_seekoff): Likewise.
13292 (_IO_sputbackc): Likewise.
13293 (_IO_sungetc): Likewise.
13294 (_IO_set_column): Likewise.
13295 (_IO_set_column): Likewise.
13296 (_IO_adjust_column): Likewise.
13297 (_IO_get_column): Likewise.
13298 (_IO_init_marker): Likewise.
13299 (_IO_remove_marker): Likewise.
13300 (_IO_marker_difference): Likewise.
13301 (_IO_marker_delta): Likewise.
13302 (_IO_seekmark): Likewise.
13303 (_IO_unsave_markers): Likewise.
13304 (_IO_nobackup_pbackfail): Likewise.
13305 (_IO_default_pbackfail): Likewise.
13306 (_IO_default_seek): Likewise.
13307 (_IO_default_stat): Likewise.
13308 (_IO_default_read): Likewise.
13309 (_IO_default_write): Likewise.
13310 (_IO_default_showmanyc): Likewise.
13311 (_IO_default_imbue): Likewise.
13312 (_IO_iter_next): Likewise.
13313 (_IO_iter_file): Likewise.
13314 * libio/getc.c (_IO_getc): Likewise.
13315 * libio/getwc.c (_IO_getwc): Likewise.
13316 * libio/iofclose.c (_IO_new_fclose): Likewise.
13317 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13318 * libio/iofflush.c (_IO_fflush): Likewise.
13319 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13320 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13321 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13322 * libio/iofgets.c (_IO_fgets): Likewise.
13323 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13324 * libio/iofgetws.c (fgetws): Likewise.
13325 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13326 * libio/iofopen64.c (_IO_fopen64): Likewise.
13327 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13328 (_IO_cookie_write): Likewise.
13329 (_IO_cookie_seek): Likewise.
13330 (_IO_cookie_close): Likewise.
13331 (_IO_cookie_seekoff): Likewise.
13332 (_IO_old_cookie_seek): Likewise.
13333 * libio/iofputs.c (_IO_fputs): Likewise.
13334 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13335 * libio/iofputws.c (fputws): Likewise.
13336 * libio/iofputws_u.c (fputws_unlocked): Likewise.
13337 * libio/iofread.c (_IO_fread): Likewise.
13338 * libio/iofread_u.c (__fread_unlocked): Likewise.
13339 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13340 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13341 * libio/ioftell.c (_IO_ftell): Likewise.
13342 * libio/iofwrite.c (_IO_fwrite): Likewise.
13343 * libio/iogetdelim.c (_IO_getdelim): Likewise.
13344 * libio/iogets.c (_IO_gets): Likewise.
13345 * libio/iopadn.c (_IO_padn): Likewise.
13346 * libio/iopopen.c (_IO_new_proc_open): Likewise.
13347 (_IO_new_popen): Likewise.
13348 (_IO_new_proc_close): Likewise.
13349 * libio/ioputs.c (_IO_puts): Likewise.
13350 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13351 (_IO_seekoff): Likewise.
13352 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13353 (_IO_seekpos): Likewise.
13354 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13355 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13356 * libio/ioungetc.c (_IO_ungetc): Likewise.
13357 * libio/ioungetwc.c (ungetwc): Likewise.
13358 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13359 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13360 * libio/iowpadn.c (_IO_wpadn): Likewise.
13361 * libio/libc_fatal.c (__libc_fatal): Likewise.
13362 * libio/memstream.c (__open_memstream): Likewise.
13363 (_IO_mem_sync): Likewise.
13364 (_IO_mem_finish): Likewise.
13365 * libio/oldfileops.c (_IO_old_file_init): Likewise.
13366 (_IO_old_file_close_it): Likewise.
13367 (_IO_old_file_finish): Likewise.
13368 (_IO_old_file_fopen): Likewise.
13369 (_IO_old_file_attach): Likewise.
13370 (_IO_old_file_setbuf): Likewise.
13371 (_IO_old_do_write): Likewise.
13372 (old_do_write): Likewise.
13373 (_IO_old_file_underflow): Likewise.
13374 (_IO_old_file_overflow): Likewise.
13375 (_IO_old_file_sync): Likewise.
13376 (_IO_old_file_seekoff): Likewise.
13377 (_IO_old_file_write): Likewise.
13378 (_IO_old_file_xsputn): Likewise.
13379 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13380 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13381 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13382 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13383 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13384 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13385 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13386 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13387 (_IO_old_popen): Likewise.
13388 (_IO_old_proc_close): Likewise.
13389 * libio/oldpclose.c (__old_pclose): Likewise.
13390 * libio/pclose.c (__new_pclose): Likewise.
13391 * libio/peekc.c (_IO_peekc_locked): Likewise.
13392 * libio/putc.c (_IO_putc): Likewise.
13393 * libio/putc_u.c (putc_unlocked): Likewise.
13394 * libio/putchar.c (putchar): Likewise.
13395 * libio/putchar_u.c (putchar_unlocked): Likewise.
13396 * libio/putwc.c (putwc): Likewise.
13397 * libio/putwc_u.c (putwc_unlocked): Likewise.
13398 * libio/putwchar.c (putwchar): Likewise.
13399 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13400 * libio/rewind.c (rewind): Likewise.
13401 * libio/setbuf.c (setbuf): Likewise.
13402 * libio/setlinebuf.c (setlinebuf): Likewise.
13403 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13404 * libio/vscanf.c (_IO_vscanf): Likewise.
13405 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13406 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13407 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13408 * libio/wgenops.c (_IO_least_wmarker): Likewise.
13409 (_IO_switch_to_main_wget_area): Likewise.
13410 (_IO_switch_to_wbackup_area): Likewise.
13411 (_IO_wsetb): Likewise.
13412 (_IO_wdefault_pbackfail): Likewise.
13413 (_IO_wdefault_finish): Likewise.
13414 (_IO_wdefault_uflow): Likewise.
13415 (__woverflow): Likewise.
13416 (__wuflow): Likewise.
13417 (__wunderflow): Likewise.
13418 (_IO_wdefault_xsputn): Likewise.
13419 (_IO_wdefault_xsgetn): Likewise.
13420 (_IO_wdoallocbuf): Likewise.
13421 (_IO_wdefault_doallocate): Likewise.
13422 (_IO_switch_to_wget_mode): Likewise.
13423 (_IO_free_wbackup_area): Likewise.
13424 (_IO_switch_to_wput_mode): Likewise.
13425 (_IO_sputbackwc): Likewise.
13426 (_IO_sungetwc): Likewise.
13427 (_IO_adjust_wcolumn): Likewise.
13428 (_IO_init_wmarker): Likewise.
13429 (_IO_wmarker_delta): Likewise.
13430 (_IO_seekwmark): Likewise.
13431 (_IO_unsave_wmarkers): Likewise.
13432 * libio/wmemstream.c (open_wmemstream): Likewise.
13433 (_IO_wmem_sync): Likewise.
13434 (_IO_wmem_finish): Likewise.
13435 * locale/nl_langinfo.c (nl_langinfo): Likewise.
13436 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13437 * locale/programs/simple-hash.c (init_hash): Likewise.
13438 (delete_hash): Likewise.
13439 (insert_entry): Likewise.
13440 (set_entry): Likewise.
13441 (next_prime): Likewise.
13442 (is_prime): Likewise.
13443 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13444 (xmalloc): Likewise.
13445 (xrealloc): Likewise.
13446 * locale/programs/xstrdup.c (xstrdup): Likewise.
13447 * localedata/collate-test.c (xstrcoll): Likewise.
13448 * localedata/xfrm-test.c (xstrcmp): Likewise.
13449 * login/getlogin_r.c (__getlogin_r): Likewise.
13450 * login/getpt.c (__posix_openpt): Likewise.
13451 * login/login_tty.c (login_tty): Likewise.
13452 * login/setlogin.c (setlogin): Likewise.
13453 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13454 (mach_msg_destroy_port): Likewise.
13455 (mach_msg_destroy_memory): Likewise.
13456 * malloc/mcheck.c (flood): Likewise.
13457 * misc/acct.c (acct): Likewise.
13458 * misc/brk.c (__brk): Likewise.
13459 * misc/chflags.c (chflags): Likewise.
13460 * misc/chroot.c (chroot): Likewise.
13461 * misc/fchflags.c (fchflags): Likewise.
13462 * misc/fstab.c (getfsspec): Likewise.
13463 (getfsfile): Likewise.
13464 * misc/fsync.c (fsync): Likewise.
13465 * misc/ftruncate.c (__ftruncate): Likewise.
13466 * misc/ftruncate64.c (__ftruncate64): Likewise.
13467 * misc/getdomain.c (getdomainname): Likewise.
13468 (getdomainname): Likewise.
13469 * misc/gethostname.c (__gethostname): Likewise.
13470 * misc/getpass.c (getpass): Likewise.
13471 * misc/getttyent.c (skip): Likewise.
13472 (value): Likewise.
13473 * misc/gtty.c (gtty): Likewise.
13474 * misc/hsearch.c (hsearch): Likewise.
13475 (hcreate): Likewise.
13476 * misc/hsearch_r.c (__hcreate_r): Likewise.
13477 (__hdestroy_r): Likewise.
13478 * misc/ioctl.c (__ioctl): Likewise.
13479 * misc/mkdtemp.c (mkdtemp): Likewise.
13480 * misc/mkostemp.c (mkostemp): Likewise.
13481 * misc/mkostemp64.c (mkostemp64): Likewise.
13482 * misc/mkostemps.c (mkostemps): Likewise.
13483 * misc/mkostemps64.c (mkostemps64): Likewise.
13484 * misc/mkstemp.c (mkstemp): Likewise.
13485 * misc/mkstemp64.c (mkstemp64): Likewise.
13486 * misc/mkstemps.c (mkstemps): Likewise.
13487 * misc/mkstemps64.c (mkstemps64): Likewise.
13488 * misc/mktemp.c (__mktemp): Likewise.
13489 * misc/preadv.c (preadv): Likewise.
13490 * misc/preadv64.c (preadv64): Likewise.
13491 * misc/pwritev.c (pwritev): Likewise.
13492 * misc/pwritev64.c (pwritev64): Likewise.
13493 * misc/readv.c (__readv): Likewise.
13494 * misc/revoke.c (revoke): Likewise.
13495 * misc/setdomain.c (setdomainname): Likewise.
13496 * misc/setegid.c (setegid): Likewise.
13497 * misc/seteuid.c (seteuid): Likewise.
13498 * misc/sethostid.c (sethostid): Likewise.
13499 * misc/sethostname.c (sethostname): Likewise.
13500 * misc/setregid.c (__setregid): Likewise.
13501 * misc/setreuid.c (__setreuid): Likewise.
13502 * misc/sstk.c (sstk): Likewise.
13503 * misc/stty.c (stty): Likewise.
13504 * misc/syscall.c (syscall): Likewise.
13505 * misc/syslog.c (setlogmask): Likewise.
13506 * misc/truncate.c (__truncate): Likewise.
13507 * misc/truncate64.c (truncate64): Likewise.
13508 * misc/ualarm.c (ualarm): Likewise.
13509 * misc/usleep.c (usleep): Likewise.
13510 * misc/ustat.c (ustat): Likewise.
13511 * misc/writev.c (__writev): Likewise.
13512 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13513 * nptl/old_pthread_cond_broadcast.c
13514 (__pthread_cond_broadcast_2_0): Likewise.
13515 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13516 Likewise.
13517 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13518 Likewise.
13519 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13520 Likewise.
13521 * nptl/pt-raise.c (raise): Likewise.
13522 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13523 Likewise.
13524 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13525 * nptl/pthread_barrierattr_destroy.c
13526 (pthread_barrierattr_destroy): Likewise.
13527 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13528 Likewise.
13529 * nptl/pthread_barrierattr_setpshared.c
13530 (pthread_barrierattr_setpshared): Likewise.
13531 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13532 Likewise.
13533 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13534 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13535 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13536 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13537 Likewise.
13538 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13539 Likewise.
13540 * nptl/pthread_condattr_getpshared.c
13541 (pthread_condattr_getpshared): Likewise.
13542 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13543 Likewise.
13544 * nptl/pthread_condattr_setpshared.c
13545 (pthread_condattr_setpshared): Likewise.
13546 * nptl/pthread_detach.c (pthread_detach): Likewise.
13547 * nptl/pthread_equal.c (__pthread_equal): Likewise.
13548 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13549 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13550 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13551 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13552 Likewise.
13553 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13554 Likewise.
13555 * nptl/pthread_mutex_getprioceiling.c
13556 (pthread_mutex_getprioceiling): Likewise.
13557 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13558 Likewise.
13559 * nptl/pthread_mutexattr_getprotocol.c
13560 (pthread_mutexattr_getprotocol): Likewise.
13561 * nptl/pthread_mutexattr_getpshared.c
13562 (pthread_mutexattr_getpshared): Likewise.
13563 * nptl/pthread_mutexattr_getrobust.c
13564 (pthread_mutexattr_getrobust): Likewise.
13565 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13566 Likewise.
13567 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13568 Likewise.
13569 * nptl/pthread_mutexattr_setprioceiling.c
13570 (pthread_mutexattr_setprioceiling): Likewise.
13571 * nptl/pthread_mutexattr_setprotocol.c
13572 (pthread_mutexattr_setprotocol): Likewise.
13573 * nptl/pthread_mutexattr_setpshared.c
13574 (pthread_mutexattr_setpshared): Likewise.
13575 * nptl/pthread_mutexattr_setrobust.c
13576 (pthread_mutexattr_setrobust): Likewise.
13577 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13578 Likewise.
13579 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13580 Likewise.
13581 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13582 Likewise.
13583 * nptl/pthread_rwlockattr_getkind_np.c
13584 (pthread_rwlockattr_getkind_np): Likewise.
13585 * nptl/pthread_rwlockattr_getpshared.c
13586 (pthread_rwlockattr_getpshared): Likewise.
13587 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13588 Likewise.
13589 * nptl/pthread_rwlockattr_setkind_np.c
13590 (pthread_rwlockattr_setkind_np): Likewise.
13591 * nptl/pthread_rwlockattr_setpshared.c
13592 (pthread_rwlockattr_setpshared): Likewise.
13593 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13594 Likewise.
13595 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13596 Likewise.
13597 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13598 Likewise.
13599 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13600 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13601 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13602 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13603 * nptl/sem_close.c (sem_close): Likewise.
13604 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13605 * nptl/sem_init.c (__old_sem_init): Likewise.
13606 * nptl/sigaction.c (__sigaction): Likewise.
13607 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13608 * posix/_exit.c (_exit): Likewise.
13609 * posix/alarm.c (alarm): Likewise.
13610 * posix/confstr.c (confstr): Likewise.
13611 * posix/fpathconf.c (__fpathconf): Likewise.
13612 * posix/getgroups.c (__getgroups): Likewise.
13613 * posix/getpgid.c (__getpgid): Likewise.
13614 * posix/group_member.c (__group_member): Likewise.
13615 * posix/pathconf.c (__pathconf): Likewise.
13616 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13617 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13618 * posix/setgid.c (__setgid): Likewise.
13619 * posix/setpgid.c (__setpgid): Likewise.
13620 * posix/setuid.c (__setuid): Likewise.
13621 * posix/sleep.c (__sleep): Likewise.
13622 * posix/sysconf.c (__sysconf): Likewise.
13623 * posix/times.c (__times): Likewise.
13624 * posix/uname.c (__uname): Likewise.
13625 * posix/waitid.c (__waitid): Likewise.
13626 * pwd/getpw.c (__getpw): Likewise.
13627 * resolv/base64.c (b64_pton): Likewise.
13628 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13629 * resolv/gethnamaddr.c (Dprintf): Likewise.
13630 (gethostbyname): Likewise.
13631 (gethostbyname2): Likewise.
13632 (gethostbyaddr): Likewise.
13633 (_sethtent): Likewise.
13634 (_gethtbyname): Likewise.
13635 (_gethtbyname2): Likewise.
13636 (_gethtbyaddr): Likewise.
13637 (map_v4v6_address): Likewise.
13638 (map_v4v6_hostent): Likewise.
13639 (addrsort): Likewise.
13640 (ht_sethostent): Likewise.
13641 (ht_gethostbyname): Likewise.
13642 (ht_gethostbyaddr): Likewise.
13643 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13644 (inet_net_ntop_ipv4): Likewise.
13645 * resolv/inet_neta.c (inet_neta): Likewise.
13646 * resolv/inet_ntop.c (inet_ntop): Likewise.
13647 (inet_ntop4): Likewise.
13648 (inet_ntop6): Likewise.
13649 * resolv/inet_pton.c (__inet_pton): Likewise.
13650 (inet_pton4): Likewise.
13651 (inet_pton6): Likewise.
13652 * resolv/res_debug.c (loc_aton): Likewise.
13653 (loc_ntoa): Likewise.
13654 * resource/getpriority.c (__getpriority): Likewise.
13655 * resource/getrusage.c (__getrusage): Likewise.
13656 * resource/nice.c (nice): Likewise.
13657 * resource/setpriority.c (__setpriority): Likewise.
13658 * resource/setrlimit64.c (setrlimit64): Likewise.
13659 * resource/vlimit.c (vlimit): Likewise.
13660 * resource/vtimes.c (vtimes): Likewise.
13661 * rt/aio_error.c (aio_error): Likewise.
13662 * rt/aio_return.c (aio_return): Likewise.
13663 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13664 * signal/kill.c (__kill): Likewise.
13665 * signal/killpg.c (killpg): Likewise.
13666 * signal/raise.c (raise): Likewise.
13667 * signal/sigaction.c (__sigaction): Likewise.
13668 * signal/sigaddset.c (sigaddset): Likewise.
13669 * signal/sigaltstack.c (sigaltstack): Likewise.
13670 * signal/sigandset.c (sigandset): Likewise.
13671 * signal/sigblock.c (__sigblock): Likewise.
13672 * signal/sigdelset.c (sigdelset): Likewise.
13673 * signal/sigempty.c (sigemptyset): Likewise.
13674 * signal/sigfillset.c (sigfillset): Likewise.
13675 * signal/sighold.c (sighold): Likewise.
13676 * signal/sigignore.c (sigignore): Likewise.
13677 * signal/sigintr.c (siginterrupt): Likewise.
13678 * signal/sigisempty.c (sigisemptyset): Likewise.
13679 * signal/sigismem.c (sigismember): Likewise.
13680 * signal/signal.c (signal): Likewise.
13681 * signal/sigorset.c (sigorset): Likewise.
13682 * signal/sigpause.c (__sigpause): Likewise.
13683 * signal/sigpending.c (sigpending): Likewise.
13684 * signal/sigprocmask.c (__sigprocmask): Likewise.
13685 * signal/sigrelse.c (sigrelse): Likewise.
13686 * signal/sigreturn.c (__sigreturn): Likewise.
13687 * signal/sigset.c (sigset): Likewise.
13688 * signal/sigsetmask.c (__sigsetmask): Likewise.
13689 * signal/sigstack.c (sigstack): Likewise.
13690 * signal/sigsuspend.c (__sigsuspend): Likewise.
13691 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13692 * signal/sysv_signal.c (__sysv_signal): Likewise.
13693 * socket/accept.c (accept): Likewise.
13694 * socket/accept4.c (__libc_accept4): Likewise.
13695 * socket/bind.c (__bind): Likewise.
13696 * socket/connect.c (__connect): Likewise.
13697 * socket/getpeername.c (getpeername): Likewise.
13698 * socket/getsockname.c (__getsockname): Likewise.
13699 * socket/getsockopt.c (getsockopt): Likewise.
13700 * socket/listen.c (__listen): Likewise.
13701 * socket/recv.c (__recv): Likewise.
13702 * socket/recvmsg.c (__recvmsg): Likewise.
13703 * socket/send.c (__send): Likewise.
13704 * socket/sendmsg.c (__sendmsg): Likewise.
13705 * socket/shutdown.c (shutdown): Likewise.
13706 * socket/sockatmark.c (sockatmark): Likewise.
13707 * socket/socket.c (__socket): Likewise.
13708 * stdio-common/ctermid.c (ctermid): Likewise.
13709 * stdio-common/cuserid.c (cuserid): Likewise.
13710 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13711 * stdio-common/remove.c (remove): Likewise.
13712 * stdio-common/rename.c (rename): Likewise.
13713 * stdio-common/renameat.c (renameat): Likewise.
13714 * stdio-common/tempname.c (__gen_tempname): Likewise.
13715 * stdio-common/xbug.c (InitBuffer): Likewise.
13716 (AppendToBuffer): Likewise.
13717 (ReadFile): Likewise.
13718 * stdlib/a64l.c (a64l): Likewise.
13719 * stdlib/drand48_r.c (drand48_r): Likewise.
13720 * stdlib/getcontext.c (getcontext): Likewise.
13721 * stdlib/getenv.c (getenv): Likewise.
13722 * stdlib/l64a.c (l64a): Likewise.
13723 * stdlib/llabs.c (llabs): Likewise.
13724 * stdlib/lldiv.c (lldiv): Likewise.
13725 * stdlib/lrand48_r.c (lrand48_r): Likewise.
13726 * stdlib/mrand48_r.c (mrand48_r): Likewise.
13727 * stdlib/putenv.c (putenv): Likewise.
13728 * stdlib/random.c (__srandom): Likewise.
13729 (__initstate): Likewise.
13730 (__setstate): Likewise.
13731 * stdlib/random_r.c (__srandom_r): Likewise.
13732 (__setstate_r): Likewise.
13733 (__random_r): Likewise.
13734 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13735 * stdlib/setcontext.c (setcontext): Likewise.
13736 * stdlib/setenv.c (setenv): Likewise.
13737 (unsetenv): Likewise.
13738 * stdlib/srand48.c (srand48): Likewise.
13739 * stdlib/srand48_r.c (__srand48_r): Likewise.
13740 * stdlib/swapcontext.c (swapcontext): Likewise.
13741 * stdlib/system.c (__libc_system): Likewise.
13742 * stdlib/tst-strtod.c (expand): Likewise.
13743 * stdlib/tst-strtol.c (expand): Likewise.
13744 * stdlib/tst-strtoll.c (expand): Likewise.
13745 * streams/fattach.c (fattach): Likewise.
13746 * streams/fdetach.c (fdetach): Likewise.
13747 * streams/getmsg.c (getmsg): Likewise.
13748 * streams/isastream.c (isastream): Likewise.
13749 * string/ffs.c (__ffs): Likewise.
13750 * string/ffsll.c (ffsll): Likewise.
13751 * string/memcmp.c (memcmp_common_alignment): Likewise.
13752 (memcmp_not_common_alignment): Likewise.
13753 (MEMCMP): Likewise.
13754 * string/memcpy.c (memcpy): Likewise.
13755 * string/memmove.c (MEMMOVE): Likewise.
13756 * string/memset.c (memset): Likewise.
13757 * string/rawmemchr.c (RAWMEMCHR): Likewise.
13758 * string/strchrnul.c (STRCHRNUL): Likewise.
13759 * string/strerror.c (strerror): Likewise.
13760 * string/strndup.c (__strndup): Likewise.
13761 * string/strverscmp.c (__strverscmp): Likewise.
13762 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13763 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13764 (clnttcp_freeres): Likewise.
13765 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13766 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13767 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13768 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13769 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13770 (xdr_callhdr): Likewise.
13771 * sunrpc/rpcinfo.c (udpping): Likewise.
13772 (tcpping): Likewise.
13773 (pstatus): Likewise.
13774 (pmapdump): Likewise.
13775 (brdcst): Likewise.
13776 (deletereg): Likewise.
13777 (getprognum): Likewise.
13778 (getvers): Likewise.
13779 (get_inet_address): Likewise.
13780 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13781 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13782 (svcudp_stat): Likewise.
13783 (svcudp_recv): Likewise.
13784 (svcudp_reply): Likewise.
13785 (svcudp_getargs): Likewise.
13786 (svcudp_freeargs): Likewise.
13787 (svcudp_destroy): Likewise.
13788 * sunrpc/xdr.c (xdr_bytes): Likewise.
13789 (xdr_netobj): Likewise.
13790 (xdr_string): Likewise.
13791 (xdr_wrapstring): Likewise.
13792 * sunrpc/xdr_float.c (xdr_float): Likewise.
13793 (xdr_double): Likewise.
13794 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13795 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13796 * sysvipc/ftok.c (ftok): Likewise.
13797 * sysvipc/msgctl.c (msgctl): Likewise.
13798 * sysvipc/msgget.c (msgget): Likewise.
13799 * sysvipc/msgrcv.c (msgrcv): Likewise.
13800 * sysvipc/msgsnd.c (msgsnd): Likewise.
13801 * sysvipc/semget.c (semget): Likewise.
13802 * sysvipc/semop.c (semop): Likewise.
13803 * sysvipc/shmat.c (shmat): Likewise.
13804 * sysvipc/shmctl.c (shmctl): Likewise.
13805 * sysvipc/shmdt.c (shmdt): Likewise.
13806 * sysvipc/shmget.c (shmget): Likewise.
13807 * termios/cfmakeraw.c (cfmakeraw): Likewise.
13808 * termios/speed.c (cfgetospeed): Likewise.
13809 (cfgetispeed): Likewise.
13810 (cfsetospeed): Likewise.
13811 (cfsetispeed): Likewise.
13812 * termios/tcflow.c (tcflow): Likewise.
13813 * termios/tcflush.c (tcflush): Likewise.
13814 * termios/tcgetattr.c (__tcgetattr): Likewise.
13815 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13816 * termios/tcgetsid.c (tcgetsid): Likewise.
13817 * termios/tcsendbrk.c (tcsendbreak): Likewise.
13818 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13819 * time/adjtime.c (__adjtime): Likewise.
13820 * time/dysize.c (dysize): Likewise.
13821 * time/ftime.c (ftime): Likewise.
13822 * time/getitimer.c (__getitimer): Likewise.
13823 * time/gettimeofday.c (__gettimeofday): Likewise.
13824 * time/gmtime.c (__gmtime_r): Likewise.
13825 (gmtime): Likewise.
13826 * time/localtime.c (__localtime_r): Likewise.
13827 (localtime): Likewise.
13828 * time/offtime.c (__offtime): Likewise.
13829 * time/settimeofday.c (__settimeofday): Likewise.
13830 * time/stime.c (stime): Likewise.
13831 * time/strftime_l.c (tm_diff): Likewise.
13832 (iso_week_days): Likewise.
13833 * time/strptime.c (strptime): Likewise.
13834 * time/time.c (time): Likewise.
13835 * time/timespec_get.c (timespec_get): Likewise.
13836 * time/tzset.c (tzset_internal): Likewise.
13837 (compute_change): Likewise.
13838 (__tz_compute): Likewise.
13839 * wcsmbs/btowc.c (__btowc): Likewise.
13840 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13841 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13842 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13843 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13844 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13845 * wcsmbs/wcscat.c (__wcscat): Likewise.
13846 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13847 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13848 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13849 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13850 * wcsmbs/wcsdup.c (wcsdup): Likewise.
13851 * wcsmbs/wcslen.c (__wcslen): Likewise.
13852 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13853 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13854 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13855 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13856 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13857 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13858 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13859 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13860 * wcsmbs/wcstok.c (wcstok): Likewise.
13861 * wcsmbs/wctob.c (wctob): Likewise.
13862 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13863 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13864 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13865 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13866 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13867 * wcsmbs/wmemset.c (__wmemset): Likewise.
13868 * wctype/wcfuncs.c (__towlower): Likewise.
13869 (__towupper): Likewise.
13870
13871 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13872 (lll_unlock_elision): Add adapt_count parameter.
13873
13874 2015-10-15 Joseph Myers <joseph@codesourcery.com>
13875
13876 * sysdeps/nptl/configure.ac: Do not give errors based on the
13877 results of top-level configure tests.
13878 * sysdeps/nptl/configure: Regenerated.
13879
13880 * configure.ac (libc_cv_Bgroup): Remove configure test.
13881 * configure: Regenerated.
13882 * config.make.in (have-Bgroup): Remove variable.
13883
13884 * configure.ac (sizeof_long_double): Remove configure test.
13885 * configure: Regenerated.
13886 * config.make.in (sizeof-long-double): Remove variable.
13887
13888 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13889 * configure: Regenerated.
13890 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13891 variable.
13892 (exceptions): Likewise.
13893 * sysdeps/arm/configure: Regenerated.
13894 * config.make.in (exceptions): Remove variable.
13895 * Makeconfig (uses-callbacks): Use -fexceptions instead of
13896 $(exceptions).
13897 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13898 (CFLAGS-vdprintf_chk.c): Likewise.
13899 (CFLAGS-printf_chk.c): Likewise.
13900 (CFLAGS-fprintf_chk.c): Likewise.
13901 (CFLAGS-vprintf_chk.c): Likewise.
13902 (CFLAGS-vfprintf_chk.c): Likewise.
13903 (CFLAGS-gets_chk.c): Likewise.
13904 (CFLAGS-fgets_chk.c): Likewise.
13905 (CFLAGS-fgets_u_chk.c): Likewise.
13906 (CFLAGS-fread_chk.c): Likewise.
13907 (CFLAGS-fread_u_chk.c): Likewise.
13908 (CFLAGS-wprintf_chk.c): Likewise.
13909 (CFLAGS-fwprintf_chk.c): Likewise.
13910 (CFLAGS-vwprintf_chk.c): Likewise.
13911 (CFLAGS-vfwprintf_chk.c): Likewise.
13912 (CFLAGS-fgetws_chk.c): Likewise.
13913 (CFLAGS-fgetws_u_chk.c): Likewise.
13914 * libio/Makefile (CFLAGS-fileops.c): Likewise.
13915 (CFLAGS-fputc.c): Likewise.
13916 (CFLAGS-fputwc.c): Likewise.
13917 (CFLAGS-freopen64.c): Likewise.
13918 (CFLAGS-freopen.c): Likewise.
13919 (CFLAGS-fseek.c): Likewise.
13920 (CFLAGS-fseeko64.c): Likewise.
13921 (CFLAGS-fseeko.c): Likewise.
13922 (CFLAGS-ftello64.c): Likewise.
13923 (CFLAGS-ftello.c): Likewise.
13924 (CFLAGS-fwide.c): Likewise.
13925 (CFLAGS-genops.c): Likewise.
13926 (CFLAGS-getc.c): Likewise.
13927 (CFLAGS-getchar.c): Likewise.
13928 (CFLAGS-getwc.c): Likewise.
13929 (CFLAGS-getwchar.c): Likewise.
13930 (CFLAGS-iofclose.c): Likewise.
13931 (CFLAGS-iofflush.c): Likewise.
13932 (CFLAGS-iofgetpos64.c): Likewise.
13933 (CFLAGS-iofgetpos.c): Likewise.
13934 (CFLAGS-iofgets.c): Likewise.
13935 (CFLAGS-iofgetws.c): Likewise.
13936 (CFLAGS-iofputs.c): Likewise.
13937 (CFLAGS-iofputws.c): Likewise.
13938 (CFLAGS-iofread.c): Likewise.
13939 (CFLAGS-iofsetpos64.c): Likewise.
13940 (CFLAGS-iofsetpos.c): Likewise.
13941 (CFLAGS-ioftell.c): Likewise.
13942 (CFLAGS-iofwrite.c): Likewise.
13943 (CFLAGS-iogetdelim.c): Likewise.
13944 (CFLAGS-iogetline.c): Likewise.
13945 (CFLAGS-iogets.c): Likewise.
13946 (CFLAGS-iogetwline.c): Likewise.
13947 (CFLAGS-ioputs.c): Likewise.
13948 (CFLAGS-ioseekoff.c): Likewise.
13949 (CFLAGS-ioseekpos.c): Likewise.
13950 (CFLAGS-iosetbuffer.c): Likewise.
13951 (CFLAGS-iosetvbuf.c): Likewise.
13952 (CFLAGS-ioungetc.c): Likewise.
13953 (CFLAGS-ioungetwc.c): Likewise.
13954 (CFLAGS-oldfileops.c): Likewise.
13955 (CFLAGS-oldiofclose.c): Likewise.
13956 (CFLAGS-oldiofgetpos64.c): Likewise.
13957 (CFLAGS-oldiofgetpos.c): Likewise.
13958 (CFLAGS-oldiofsetpos64.c): Likewise.
13959 (CFLAGS-oldiofsetpos.c): Likewise.
13960 (CFLAGS-peekc.c): Likewise.
13961 (CFLAGS-putc.c): Likewise.
13962 (CFLAGS-putchar.c): Likewise.
13963 (CFLAGS-putwc.c): Likewise.
13964 (CFLAGS-putwchar.c): Likewise.
13965 (CFLAGS-rewind.c): Likewise.
13966 (CFLAGS-wfileops.c): Likewise.
13967 (CFLAGS-wgenops.c): Likewise.
13968 (CFLAGS-oldiofopen.c): Likewise.
13969 (CFLAGS-iofopen.c): Likewise.
13970 (CFLAGS-iofopen64.c): Likewise.
13971 (CFLAGS-oldtmpfile.c): Likewise.
13972 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13973 (CFLAGS-fprintf.c): Likewise.
13974 (CFLAGS-printf.c): Likewise.
13975 (CFLAGS-vfwprintf.c): Likewise.
13976 (CFLAGS-vfscanf.c): Likewise.
13977 (CFLAGS-vfwscanf.c): Likewise.
13978 (CFLAGS-fscanf.c): Likewise.
13979 (CFLAGS-scanf.c): Likewise.
13980 (CFLAGS-isoc99_vfscanf.c): Likewise.
13981 (CFLAGS-isoc99_vscanf.c): Likewise.
13982 (CFLAGS-isoc99_fscanf.c): Likewise.
13983 (CFLAGS-isoc99_scanf.c): Likewise.
13984 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13985 (CFLAGS-isoc99_fwscanf.c): Likewise.
13986 (CFLAGS-isoc99_vwscanf.c): Likewise.
13987 (CFLAGS-isoc99_vfwscanf.c): Likewise.
13988
13989 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13990 after mkstemp64.
13991 * login/tst-utmp.c (do_prepare): Likewise.
13992 * rt/tst-aio.c (do_prepare): Likewise.
13993 * rt/tst-aio64.c (do_prepare): Likewise.
13994
13995 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13996
13997 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13998 (__lll_lock_elision): Remove adapt_count decrement...
13999 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14000 (__lll_trylock_elision): Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14002 (__lll_unlock_elision): ... to here. And utilize
14003 new adapt_count parameter.
14004 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14005 (__lll_unlock_elision): Update to include adapt_count
14006 parameter.
14007 (lll_unlock_elision): Pass pointer to adapt_count
14008 variable.
14009
14010 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14011
14012 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14013 Add elision adapt_count parameter to list of arguments.
14014 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14015 (lll_unlock_elision): Update with new parameter list
14016 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14017 (lll_unlock_elision): Likewise.
14018 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14019 (lll_unlock_elision): Likewise.
14020
14021 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
14022
14023 [BZ #19122]
14024 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14025 attribute_hidden.
14026
14027 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14028 attribute_hidden.
14029 [IS_IN (rtld)] (__strdup): Likewise.
14030 [IS_IN (rtld)] (__strerror_r): Likewise.
14031 [IS_IN (rtld)] (__strsep_g): Likewise.
14032 [IS_IN (rtld)] (memchr): Likewise.
14033 [IS_IN (rtld)] (memcmp): Likewise.
14034 [IS_IN (rtld)] (memcpy): Likewise.
14035 [IS_IN (rtld)] (memmove): Likewise.
14036 [IS_IN (rtld)] (memset): Likewise.
14037 [IS_IN (rtld)] (rawmemchr): Likewise.
14038 [IS_IN (rtld)] (stpcpy): Likewise.
14039 [IS_IN (rtld)] (strchr): Likewise.
14040 [IS_IN (rtld)] (strcmp): Likewise.
14041 [IS_IN (rtld)] (strlen): Likewise.
14042 [IS_IN (rtld)] (strnlen): Likewise.
14043 [IS_IN (rtld)] (strsep): Likewise.
14044
14045 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14046 attribute_hidden.
14047 [IS_IN (rtld)] (__strtoul_internal): Likewise.
14048
14049 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14050 attribute_hidden.
14051 [IS_IN (rtld)] (__libc_sigaction): Likewise.
14052
14053 * include/setjmp.h (__longjmp): Add attribute_hidden.
14054 [IS_IN (rtld)] (__sigsetjmp): Likewise.
14055
14056 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14057 Add attribute_hidden.
14058
14059 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14060 [IS_IN (rtld)] (__open): Likewise.
14061 [IS_IN (rtld)] (__fcntl): Likewise.
14062
14063 * include/dirent.h (__opendirat): Add attribute_hidden.
14064 (__getdents): Likewise.
14065 (__getdents64): Likewise.
14066 (__alloc_dir): Likewise.
14067 [IS_IN (rtld)] (__closedir): Likewise.
14068 [IS_IN (rtld)] (__fdopendir): Likewise.
14069 [IS_IN (rtld)] (__readdir): Likewise.
14070 [IS_IN (rtld)] (__readdir64): Likewise.
14071 [IS_IN (rtld)] (__rewinddir): Likewise.
14072
14073 * include/dlfcn.h (_dl_catch_error): Moved to ...
14074 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14075 attribute_hidden.
14076
14077 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14078 (_itoa_word): Likewise.
14079
14080 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14081 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14082 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14083 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14084 (_dl_higher_prime_number): Likewise.
14085 (_dl_debug_printf_c): Likewise.
14086 (_dl_signal_cerror): Likewise.
14087 (_dl_receive_error): Likewise.
14088 (_dl_reloc_bad_type): Likewise.
14089 (_dl_resolve_conflicts): Likewise.
14090 (_dl_check_all_versions): Likewise.
14091 (_dl_check_map_versions): Likewise.
14092 (_dl_sort_fini): Likewise.
14093 (_dl_debug_initialize): Likewise.
14094 (_dl_init_paths): Likewise.
14095 (_dl_show_auxv): Likewise.
14096 (_dl_next_ld_env_entry): Likewise.
14097 (_dl_important_hwcaps): Likewise.
14098 (_dl_load_cache_lookup): Likewise.
14099 (_dl_update_slotinfo): Likewise.
14100 (_dl_show_scope): Likewise.
14101
14102 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14103 attribute_hidden.
14104 (_wordcopy_fwd_dest_aligned): Likewise.
14105 (_wordcopy_bwd_aligned): Likewise.
14106 (_wordcopy_bwd_dest_aligned): Likewise.
14107
14108 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14109 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14110 Likewise.
14111 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14112 Likewise.
14113 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14114
14115 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
14116
14117 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14118 GCC 5 requirement.
14119
14120 2015-10-15 Joseph Myers <joseph@codesourcery.com>
14121
14122 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14123 test.
14124 * sysdeps/i386/configure: Regenerated.
14125 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14126 code unconditional.
14127
14128 * configure.ac (libc_cv_asm_previous_directive): Remove configure
14129 test.
14130 (libc_cv_asm_popsection_directive): Likewise.
14131 * configure: Regenerated.
14132 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14133 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14134 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14135 (__make_section_unallocated): Make definition unconditional.
14136 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14137 Remove conditional definition.
14138 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14139 (__make_section_unallocated): Likewise.
14140
14141 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14142 * configure: Regenerated.
14143 * config.make.in (static-libgcc): Remove variable.
14144 * Makerules (build-shlib-helper): Use -static-libgcc instead of
14145 $(static-libgcc).
14146 (build-module-helper): Likewise.
14147
14148 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14149 * configure: Regenerated.
14150
14151 2015-10-15 Florian Weimer <fweimer@redhat.com>
14152
14153 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14154 (struct char_buffer): New type.
14155 (char_buffer_start, char_buffer_size, char_buffer_error)
14156 (char_buffer_rewind, char_buffer_add): New functions.
14157 (ADDW): Remove macro, replaced by the char_buffer_add function.
14158 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14159 of extend_alloca. Make control flow more explicit.
14160
14161 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
14162
14163 [BZ #19137]
14164 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14165 Add -fomit-frame-pointer.
14166 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14167
14168 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
14169
14170 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14171 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14172 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14173 only if !__GNUC_PREREQ (5,0).
14174 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14175 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14176 (INTERNAL_SYSCALL_NCS): Likewise.
14177 (LOADREGS_0): New macro for GCC 5.
14178 (ASMARGS_0): Likewise.
14179 (LOADREGS_1): Likewise.
14180 (ASMARGS_1): Likewise.
14181 (LOADREGS_2): Likewise.
14182 (ASMARGS_2): Likewise.
14183 (LOADREGS_3): Likewise.
14184 (ASMARGS_3): Likewise.
14185 (LOADREGS_4): Likewise.
14186 (ASMARGS_4): Likewise.
14187 (LOADREGS_5): Likewise.
14188 (ASMARGS_5): Likewise.
14189 (LOADREGS_6): Likewise.
14190 (ASMARGS_6): Likewise.
14191
14192 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
14193
14194 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14195 -fomit-frame-pointer.
14196 (CFLAGS-mmap64.c): Likewise.
14197 (CFLAGS-semtimedop.c): Likewise.
14198 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14199 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14200 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14201 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14202
14203 2015-10-15 Florian Weimer <fweimer@redhat.com>
14204
14205 [BZ #18928]
14206 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14207 _dl_pointer_guard member.
14208 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14209 initializer.
14210 (security_init): Always set up pointer guard.
14211 (process_envvars): Do not process LD_POINTER_GUARD.
14212
14213 2015-10-14 Joseph Myers <joseph@codesourcery.com>
14214
14215 [BZ #19134]
14216 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14217 (.LC2): Likewise.
14218 (.LC3): Likewise.
14219 (__lround): Do not add 0.5 to integer or out-of-range arguments.
14220
14221 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
14222
14223 [BZ #19129]
14224 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14225 r0 and r1.
14226
14227 2015-10-14 Namhyung Kim <namhyung@gmail.com>
14228
14229 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14230
14231 2015-10-14 Carlos O'Donell <carlos@redhat.com>
14232
14233 * include/stap-probe.h: Fix macro definition formatting.
14234
14235 2015-10-14 Florian Weimer <fweimer@redhat.com>
14236
14237 [BZ #19074]
14238 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14239 load and store num_ifs.
14240
14241 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 [BZ #18822]
14244 * sysdeps/unix/sysv/linux/sched_getaffinity.c
14245 (__sched_getaffinity_new): Add libc_hidden_proto and
14246 libc_hidden_def.
14247
14248 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 [BZ #19007]
14251 * scripts/localplt.awk: Also allow GOT references.
14252 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14253 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14254 with "+ REL R_386_GLOB_DAT".
14255 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14256 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14257
14258 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14261 INLINE_SYSCALL_ERROR_RETURN_VALUE.
14262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14263 Likewise.
14264 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14265 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14266 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14267 INTERNAL_SYSCALLINTERNAL_SYSCALL and
14268 INLINE_SYSCALL_ERROR_RETURN_VALUE.
14269 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14271 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14272 Likewise.
14273 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14274
14275 2015-10-13 Joseph Myers <joseph@codesourcery.com>
14276
14277 [BZ #19125]
14278 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14279 <math_private.h> and <stdint.h>.
14280 (__llround): Avoid conversions to and from long long int, and
14281 subtractions, where those might raise spurious exceptions.
14282 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14283 <math_private.h> and <stdint.h>.
14284 (__llroundf): Avoid conversions to and from long long int, and
14285 subtractions, where those might raise spurious exceptions.
14286
14287 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14290 INLINE_SYSCALL_ERROR_RETURN_VALUE.
14291 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14292 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14293 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14294 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14295 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14296 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14297 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14298 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14299 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14300 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14301 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14302 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14303 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14304 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14305 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14306 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14307 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14308 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14309 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14310 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14311 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14312 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14313 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14314 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14315 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14316 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14317 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14318 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14319 (__xstat64_conv): Likewise.
14320 (__xstat32_conv): Likewise.
14321
14322 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * sysdeps/unix/sysv/linux/sysdep.h: New file.
14325 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14326 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14327 <sysdeps/unix/sysv/linux/sysdep.h>.
14328 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14329 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14330 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14331 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14332 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14333 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14334 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14335 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14336 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14339 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14340 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14341 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14342 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14344 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14345 (sysdep-dl-routines): Add sysdep.
14346 [$(subdir) == nptl] (libpthread-routines): Likewise.
14347 [$(subdir) == rt] (librt-routines): Likewise.
14348 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14349 PIC when branching to SYSCALL_ERROR_LABEL.
14350 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14352 <sysdeps/unix/sysv/linux/sysdep.h>.
14353 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14354 (SYSCALL_ERROR_ERRNO): Removed.
14355 (SYSCALL_ERROR_HANDLER): Changed to empty.
14356 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14357 (__syscall_error): New prototype.
14358 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14359 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14360
14361 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
14362
14363 [BZ #19124]
14364 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14365 (_dl_runtime_resolve_avx512): Make it a hidden alias of
14366 _dl_runtime_resolve_avx.
14367 (_dl_runtime_profile_avx512): Make it a hidden alias of
14368 _dl_runtime_profile_avx.
14369
14370 2015-10-13 Joseph Myers <joseph@codesourcery.com>
14371
14372 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14373 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14374 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14375 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14376
14377 [BZ #16422]
14378 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14379 New configure test.
14380 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14381 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14382 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14383 <math_private.h> and <stdint.h>.
14384 (__llrint): Avoid conversions to long long int where those might
14385 raise spurious exceptions.
14386 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14387 <math_private.h> and <stdint.h>.
14388 (__llrintf): Avoid conversions to long long int where those might
14389 raise spurious exceptions.
14390
14391 2015-10-12 Andreas Schwab <schwab@suse.de>
14392
14393 [BZ #18969]
14394 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
14395 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14396 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
14397 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14398 $(gen-locales).
14399 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
14400 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14401 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14402 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14403 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14404 $(gen-locales).
14405 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
14406 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14407 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14408 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14409 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14410 ($(objpfx)tst-ftell-active-handler.out)
14411 ($(objpfx)tst-ftell-append.out)
14412 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14413 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14414 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14415 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14416 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
14417 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14418 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14419 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14420 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14421 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14422 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14423 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14424 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14425 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14426 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14427 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14428 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14429 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14430 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
14431 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14432 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14433 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14434 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14435 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
14436 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14437 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14438 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14439 $(gen-locales).
14440 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
14441 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14442 $(gen-locales).
14443 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
14444 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14445 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14446 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14447 $(gen-locales).
14448 * libio/tst_wprintf2.c (main): Use explicit locale.
14449 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14450
14451 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14452
14453 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14454 __msg_sig_post.
14455 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14456
14457 2015-10-09 Joseph Myers <joseph@codesourcery.com>
14458
14459 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14460 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14461
14462 * sysdeps/arm/libm-test-ulps: Regenerated.
14463
14464 [BZ #15470]
14465 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14466
14467 [BZ #16399]
14468 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14469 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14470 and <fix-fp-int-convert-overflow.h>.
14471 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14472 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14473 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14474 and <fix-fp-int-convert-overflow.h>.
14475 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14476 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14477 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14478 <fix-fp-int-convert-overflow.h>.
14479 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14480 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14481 * sysdeps/ieee754/dbl-64/s_lround.c: Include
14482 <fix-fp-int-convert-overflow.h>.
14483 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14484 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14485 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14486 and <fix-fp-int-convert-overflow.h>.
14487 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14488 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14489 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14490 <limits.h> and <fix-fp-int-convert-overflow.h>.
14491 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14492 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14493 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14494 and <fix-fp-int-convert-overflow.h>.
14495 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14496 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14497 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14498 and <fix-fp-int-convert-overflow.h>.
14499 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14500 FIX_DBL_LLONG_CONVERT_OVERFLOW.
14501 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14502
14503 2015-10-09 Carlos O'Donell <carlos@redhat.com>
14504
14505 [BZ #18589]
14506 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14507 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14508 $(gen-locales).
14509
14510 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14511 Phil Blundell <pb@pbcl.net>
14512
14513 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14514 * nptl/tst-cancel26.c: New file.
14515 * nptl/tst-cancel27.c: Likewise.
14516
14517 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
14518
14519 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14520 __ILP32__ isn't defined.
14521 (lrint): Likewise.
14522 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14523 (lrintf): Likewise.
14524 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14525 (lrintl): Likewise.
14526 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14527 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14528 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14529
14530 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14531
14532 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14533 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14534
14535 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14536 file.
14537 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14538 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14539
14540 2015-10-09 Joseph Myers <joseph@codesourcery.com>
14541
14542 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14543 configure test.
14544 * sysdeps/i386/configure: Regenerated.
14545 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14546 configure test.
14547 * sysdeps/x86_64/configure: Regenerated.
14548 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14549 Make code unconditional.
14550
14551 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14552 test.
14553 * sysdeps/i386/configure: Regenerated.
14554 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14555 test.
14556 * sysdeps/x86_64/configure: Regenerated.
14557 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14558 Make code unconditional.
14559 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14560 Likewise.
14561 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14562 Likewise.
14563 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14564 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14565 code unconditional.
14566 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14567 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14568 code unconditional.
14569 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14570 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14571 code unconditional.
14572 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14573 code unconditional.
14574 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14575 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14576 code unconditional.
14577 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14578 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14579 code unconditional.
14580 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14581 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14582 code unconditional.
14583 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14584 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14585 code unconditional.
14586 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14587 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14588
14589 [BZ #19095]
14590 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14591 mantissa to long int before shifting left.
14592
14593 2015-10-08 Joseph Myers <joseph@codesourcery.com>
14594
14595 [BZ #19094]
14596 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14597 <limits.h>.
14598 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14599 when result overflows but exception would not result from cast.
14600 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14601 <limits.h>.
14602 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14603 when result overflows but exception would not result from cast.
14604 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14605 <limits.h>.
14606 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14607 when result overflows but exception would not result from cast.
14608 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14609 <limits.h>.
14610 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14611 when result overflows but exception would not result from cast.
14612 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14613 <limits.h>.
14614 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14615 when result overflows but exception would not result from cast.
14616 * math/libm-test.inc (lrint_test_data): Add more tests.
14617 (llrint_test_data): Likewise.
14618
14619 2015-10-08 Roland McGrath <roland@hack.frob.com>
14620
14621 [BZ #18872]
14622 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14623 Move out from under [$(run-built-tests) = yes] conditional.
14624 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14625 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14626
14627 2015-10-08 Carlos O'Donell <carlos@redhat.com>
14628
14629 [BZ #18589]
14630 * string/Makefile (tests): Add bug-strcoll2.
14631 (LOCALES): Add cs_CZ.UTF-8.
14632 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14633
14634 [BZ #18589]
14635 * string/bug-strcoll2.c: New file.
14636 * locale/categories.def: Revert commit
14637 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14638 * locale/langinfo.h: Likewise.
14639 * locale/localeinfo.h: Likewise.
14640 * locale/C-collate.c: Likewise.
14641 * locale/programs/ld-collate.c (collate_output): Likewise.
14642 * string/strcoll_l.c (STRDIFF): Likewise.
14643 (STRCOLL): Likewise.
14644 * wcsmbs/wcscoll_l.c: Likewise.
14645
14646 2015-10-08 Joseph Myers <joseph@codesourcery.com>
14647
14648 * math/libm-test.inc (lround_test_data): Do not expect the absence
14649 of "inexact" for some tests with non-integer arguments.
14650 (llround_test_data): Likewise.
14651
14652 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14653 test.
14654 (libc_cv_cc_sse2avx): Likewise.
14655 * sysdeps/i386/configure: Regenerated.
14656 * sysdeps/i386/i686/multiarch/Makefile
14657 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14658 [$(subdir) = math].
14659 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14660 code unconditional.
14661 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14662 Likewise.
14663 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14664 Likewise.
14665 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14666 Likewise.
14667 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14668 test.
14669 (libc_cv_cc_sse2avx): Likewise.
14670 * sysdeps/x86_64/configure: Regenerated.
14671 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14672 unconditional.
14673 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14674 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14675 unconditional.
14676 (_dl_runtime_profile)
14677 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14678 conditional code.
14679 * sysdeps/x86_64/fpu/multiarch/Makefile
14680 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14682 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14683 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14684 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14685 * sysdeps/x86_64/fpu/multiarch/e_log.c
14686 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14687 * sysdeps/x86_64/fpu/multiarch/s_atan.c
14688 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14689 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14690 Likewise.
14691 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14692 Likewise.
14693 * sysdeps/x86_64/fpu/multiarch/s_sin.c
14694 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14695 * sysdeps/x86_64/fpu/multiarch/s_tan.c
14696 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14697 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14698 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14699 (HAVE_SSE2AVX_SUPPORT): Likewise.
14700
14701 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
14702
14703 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14704 instead of #pragma optimize.
14705
14706 2015-10-07 Carlos O'Donell <carlos@redhat.com>
14707
14708 [BZ #17195]
14709 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14710 as is similarly done in systrim and _int_free already.
14711
14712 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14713
14714 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14715
14716 2015-10-07 Joseph Myers <joseph@codesourcery.com>
14717
14718 [BZ #19088]
14719 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14720 <limits.h>.
14721 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14722 overflows but exception would not result from cast.
14723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14724 and <limits.h>.
14725 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14726 overflows but exception would not result from cast.
14727 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14728 <limits.h>.
14729 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14730 overflows but exception would not result from cast.
14731 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14732 <limits.h>.
14733 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14734 overflows but exception would not result from cast.
14735 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14736 <limits.h>.
14737 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14738 overflows but exception would not result from cast.
14739 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14740 <limits.h>.
14741 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14742 overflows but exception would not result from cast.
14743 * math/libm-test.inc (lround_test_data): Add more tests.
14744 (llround_test_data): Likewise.
14745
14746 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
14747
14748 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14749 (CFLAGS-ialloc.c): Ditto.
14750 (CFLAGS-scheck.c): Ditto.
14751
14752 2015-10-07 Carlos O'Donell <carlos@redhat.com>
14753
14754 [BZ #19086]
14755 * manual/filesys.texi (Storage Allocation): Fix argument order for
14756 posix_fallocate64.
14757
14758 2015-10-07 Joseph Myers <joseph@codesourcery.com>
14759
14760 [BZ #19085]
14761 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14762 exponent below 48 inside case for non-overflowing exponent.
14763 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14764
14765 2015-10-07 Florian Weimer <fweimer@redhat.com>
14766
14767 * iconvdata/cp737.h (from_idx): Add const.
14768 * iconvdata/cp775.h (from_idx): Likewise.
14769
14770 2015-10-07 Joseph Myers <joseph@codesourcery.com>
14771
14772 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14773 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14774 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14775
14776 [BZ #19079]
14777 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14778 file, conditioned on [!_LP64].
14779 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14780 [!_LP64] (__lround): Do not define as function or alias.
14781 [!_LP64] (lround): Likewise.
14782 [!_LP64] (__lroundl): Likewise.
14783 [!_LP64] (lroundl): Likewise.
14784 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14785 macro.
14786 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14787 Likewise.
14788
14789 2015-10-06 Joseph Myers <joseph@codesourcery.com>
14790
14791 * math/libm-test.inc (lrint_test_data): Add more tests.
14792 (llrint_test_data): Likewise.
14793 (lround_test_data): Likewise.
14794 (llround_test_data): Likewise.
14795
14796 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14797 (llrint_test_data): Add tests used for lrint.
14798
14799 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14800 test.
14801 * sysdeps/i386/configure: Regenerated.
14802 * sysdeps/i386/i686/multiarch/Makefile
14803 [$(config-cflags-sse4) = yes]: Make code unconditional.
14804 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14805 Likewise.
14806 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14807 Likewise.
14808 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14809 test.
14810 * sysdeps/x86_64/configure: Regenerated.
14811 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14812 Make code unconditional.
14813 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14814 Likewise.
14815 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14816 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14817
14818 * scripts/rpm2dynsym.sh: Remove file.
14819
14820 2015-10-06 Florian Weimer <fweimer@redhat.com>
14821
14822 * configure.ac (libc_cv_cxx_thread_local): Define.
14823 * configure: Regenerate.
14824 * config.make.in (have-cxx-thread_local): Define.
14825 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14826 (LDLIBS-tst-thread_local1): Define.
14827 (tests): Add tst-thread_local1.
14828 [have-cxx-thread_local != yes] (tests-unsupported): Add
14829 tst-thread_local1.
14830 * nptl/tst-thread_local1.cc: New file.
14831
14832 2015-10-06 Joseph Myers <joseph@codesourcery.com>
14833
14834 [BZ #19078]
14835 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14836 (u_thres): Likewise.
14837 (__expl): Determine whether to call __kernel_standard_l based on
14838 value of result, not argument.
14839
14840 * math/libm-test.inc (scalb_test_data): Add more expectations for
14841 the "inexact" exception.
14842
14843 [BZ #19077]
14844 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14845 0.0L for argument 1.0L.
14846
14847 [BZ #19076]
14848 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14849 constant 0.0L when computing infinite result.
14850
14851 2015-10-06 Florian Weimer <fweimer@redhat.com>
14852
14853 [BZ #10432]
14854 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14855 malloc_usable_size.
14856
14857 2015-10-06 Florian Weimer <fweimer@redhat.com>
14858
14859 [BZ #19018]
14860 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14861 Mangle function pointer before storing it.
14862 (__call_tls_dtors): Demangle function pointer before calling it.
14863
14864 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14865
14866 [BZ #19012]
14867 * iconv/gconv_db.c (gen_steps): Check for additional errors.
14868 Clean up on failure.
14869
14870 2015-10-05 Joseph Myers <joseph@codesourcery.com>
14871
14872 [BZ #19071]
14873 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14874 long int variable to store possibly incremented high part of
14875 mantissa.
14876 * math/libm-test.inc (lround_test_data): Add tests used for
14877 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
14878 for tests requiring 64-bit long. Do not condition tests on
14879 [TEST_FLOAT] unnecessarily.
14880 (llround_test_data): Add tests used for lround. Add another
14881 expectation for the "inexact" exception. Do not condition tests
14882 on [TEST_FLOAT] unnecessarily.
14883
14884 [BZ #887]
14885 [BZ #19049]
14886 [BZ #19050]
14887 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14888 * sysdeps/ieee754/dbl-64/e_log10.c: Include
14889 <fix-int-fp-convert-zero.h>.
14890 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14891 * sysdeps/ieee754/dbl-64/e_log2.c: Include
14892 <fix-int-fp-convert-zero.h>.
14893 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14894 * sysdeps/ieee754/dbl-64/s_erf.c: Include
14895 <fix-int-fp-convert-zero.h>.
14896 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14897 * sysdeps/ieee754/dbl-64/s_logb.c: Include
14898 <fix-int-fp-convert-zero.h>.
14899 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14900 * sysdeps/ieee754/flt-32/e_log10f.c: Include
14901 <fix-int-fp-convert-zero.h>.
14902 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14903 * sysdeps/ieee754/flt-32/e_log2f.c: Include
14904 <fix-int-fp-convert-zero.h>.
14905 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14906 * sysdeps/ieee754/flt-32/s_erff.c: Include
14907 <fix-int-fp-convert-zero.h>.
14908 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14909 * sysdeps/ieee754/flt-32/s_logbf.c: Include
14910 <fix-int-fp-convert-zero.h>.
14911 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14913 <fix-int-fp-convert-zero.h>.
14914 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14916 <fix-int-fp-convert-zero.h>.
14917 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14918 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14919 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14920 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14921 file.
14922 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14923
14924 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14925
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14927
14928 2015-10-02 Joseph Myers <joseph@codesourcery.com>
14929
14930 [BZ #19059]
14931 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14932 overflowing computation.
14933 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14934 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14935 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14936 Likewise.
14937 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14938 Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14940 Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14942 Likewise.
14943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14945 Likewise.
14946 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14947 Likewise.
14948 * math/libm-test.inc (nexttoward_test_data): Add more tests.
14949
14950 * nss/rewrite_field.c (__nss_rewrite_field): Use
14951 internal_function.
14952 * nss/valid_field.c (__nss_valid_field): Likewise.
14953 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14954
14955 2015-10-02 Florian Weimer <fweimer@redhat.com>
14956
14957 [BZ #18724]
14958 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14959 (__nss_invalid_field_characters, __nss_valid_field)
14960 (__nss_valid_list_field, __nss_rewrite_field): Declare.
14961 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14962 tst-field.c: New file.
14963 * nss/Makefile (routines): Add valid_field, rewrite_field.
14964 (tests-static): Define unconditionally.
14965 (tests): Include tests-static.
14966 [build-static-nss] (tests-static): Use append.
14967 [build-static-nss] (tests): Remove modification.
14968 * nss/getent.c (print_group): Call putgrent. Report error.
14969 (print_gshadow): Call putsgent. Report error.
14970 (print_passwd): Call putpwent. Report error.
14971 (print_shadow): Call putspent. Report error.
14972 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14973 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14974 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
14975 name, password, directory, shell fields for valid syntax. Rewrite
14976 GECOS field to match syntax.
14977 * pwd/Makefile (tests): Add tst-putpwent.
14978 * pwd/tst-putpwent.c: New file.
14979 * grp/putgrent.c (putgrent): Convert to ISO function definition.
14980 Check grName, grpasswd, gr_mem fields for valid syntax.
14981 Change loop variable i to size_t.
14982 * grp/Makefile (tests): Add tst-putgrent.
14983 * grp/tst-putgrent.c: New file.
14984 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14985 valid syntax.
14986 * shadow/Makefile (tests): Add tst-putspent.
14987 * shadow/tst-putspent.c: New file.
14988 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14989 sg_mem fields for valid syntax.
14990 * gshadow/Makefile (tests): Add tst-putsgent.
14991 * gshadow/tst-putsgent.c: New file.
14992
14993 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14994
14995 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14996 assembly instructions.
14997
14998 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14999
15000 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15001 prefix from operands.
15002
15003 2015-10-01 Joseph Myers <joseph@codesourcery.com>
15004
15005 [BZ #16347]
15006 [BZ #19046]
15007 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15008 <libc-internal.h>.
15009 (MAXLGM): Do not use diagnostic control macros.
15010 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15011 threshold for ldbl-128ibm.
15012 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15013 instead of multiplying by log then subtracting.
15014 * math/auto-libm-test-in: Add more tests of lgamma.
15015 * math/auto-libm-test-out: Regenerated.
15016
15017 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15018 (TYPE_HEX_DIG): Likewise.
15019 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15020 precisions when printing floating-point numbers.
15021 (check_float_internal): Likewise.
15022
15023 2015-09-30 Joseph Myers <joseph@codesourcery.com>
15024
15025 [BZ #16620]
15026 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15027 of log (10) rounded downward to 48 bits.
15028 (log10_low): Use corresponding low part of log (10).
15029
15030 [BZ #19032]
15031 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15032 compute result as (x - x) / (x - x) not as 0 / 0.
15033 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15034 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15035
15036 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15037 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15038 and expm1.
15039 * math/auto-libm-test-out: Regenerated.
15040 * math/libm-test.inc (acos_test_data): Add more tests.
15041 (asin_test_data): Likewise.
15042 (asinh_test_data): Likewise.
15043 (atan_test_data): Likewise.
15044 (atanh_test_data): Likewise.
15045 (atan2_test_data): Likewise.
15046 (cbrt_test_data): Likewise.
15047 (ceil_test_data): Likewise.
15048 (copysign_test_data): Likewise.
15049 (cos_test_data): Likewise.
15050 (cosh_test_data): Likewise.
15051 (erf_test_data): Likewise.
15052 (erfc_test_data): Likewise.
15053 (exp_test_data): Likewise.
15054 (exp10_test_data): Likewise.
15055 (exp2_test_data): Likewise.
15056 (expm1_test_data): Likewise.
15057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15058
15059 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
15060
15061 [BZ #19006]
15062 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15063 to ...
15064 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15065 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15066 to ...
15067 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15068 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15069 to ...
15070 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15071 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15072 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15073 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15074 to ...
15075 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15076 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15077 Moved to ...
15078 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15079 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15080 Moved to ...
15081 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15082 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15083 to ...
15084 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15085 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15086 Moved to ...
15087 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15088 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15089 to ...
15090 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15091 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15092 Removed.
15093 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15094 Likewise.
15095 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15096 Likewise.
15097 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15098 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15099 Likewise.
15100 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15101 Likewise.
15102 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15103 Likewise.
15104 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15105 Likewise.
15106 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15107 Likewise.
15108 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15109 Likewise.
15110 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15111 Likewise.
15112 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15113 Likewise.
15114 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15115 Likewise.
15116 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15117 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15118 Likewise.
15119 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15120 Likewise.
15121 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15122 Likewise.
15123 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15124 Likewise.
15125 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15126 Likewise.
15127 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15128 Replace ../i486/pthread_cond_timedwait.S with
15129 ../pthread_cond_timedwait.S.
15130
15131 2015-09-30 Joseph Myers <joseph@codesourcery.com>
15132
15133 * math/libm-test.inc (acos_test_data): Refine expectations for
15134 errno and "inexact" exceptions.
15135 (acosh_test_data): Likewise.
15136 (asin_test_data): Likewise.
15137 (asinh_test_data): Likewise.
15138 (atan_test_data): Likewise.
15139 (atanh_test_data): Likewise.
15140 (atan2_test_data): Likewise.
15141 (cbrt_test_data): Likewise.
15142 (ceil_test_data): Likewise.
15143 (copysign_test_data): Likewise.
15144 (cosh_test_data): Likewise.
15145 (erf_test_data): Likewise.
15146 (erfc_test_data): Likewise.
15147 (exp_test_data): Likewise.
15148 (exp10_test_data): Likewise.
15149 (exp2_test_data): Likewise.
15150 (expm1_test_data): Likewise.
15151 (fabs_test_data): Likewise.
15152 (floor_test_data): Likewise.
15153 (fma_test_data): Likewise.
15154 (fmax_test_data): Likewise.
15155 (fmin_test_data): Likewise.
15156 (fmod_test_data): Likewise.
15157 (fpclassify_test_data): Likewise.
15158 (frexp_test_data): Likewise.
15159 (hypot_test_data): Likewise.
15160 (ilogb_test_data): Likewise.
15161 (isgreater_test_data): Likewise.
15162 (isgreaterequal_test_data): Likewise.
15163 (isinf_test_data): Likewise.
15164 (isless_test_data): Likewise.
15165 (islessequal_test_data): Likewise.
15166 (islessgreater_test_data): Likewise.
15167 (isnan_test_data): Likewise.
15168 (isnormal_test_data): Likewise.
15169 (issignaling_test_data): Likewise.
15170 (isunordered_test_data): Likewise.
15171 (j0_test_data): Likewise.
15172 (j1_test_data): Likewise.
15173 (jn_test_data): Likewise.
15174 (lgamma_test_data): Likewise.
15175 (lrint_test_data): Likewise.
15176 (llrint_test_data): Likewise.
15177 (log_test_data): Likewise.
15178 (log10_test_data): Likewise.
15179 (log1p_test_data): Likewise.
15180 (log2_test_data): Likewise.
15181 (logb_test_data): Likewise.
15182 (lround_test_data): Likewise.
15183 (llround_test_data): Likewise.
15184 (modf_test_data): Likewise.
15185 (nearbyint_test_data): Likewise.
15186 (nextafter_test_data): Likewise.
15187 (nexttoward_test_data): Likewise.
15188 (pow_test_data): Likewise.
15189 (remainder_test_data): Likewise.
15190 (remquo_test_data): Likewise.
15191 (rint_test_data): Likewise.
15192 (round_test_data): Likewise.
15193 (signbit_test_data): Likewise.
15194 (sinh_test_data): Likewise.
15195 (sqrt_test_data): Likewise.
15196 (tanh_test_data): Likewise.
15197 (tgamma_test_data): Likewise.
15198 (trunc_test_data): Likewise.
15199 (y0_test_data): Likewise.
15200 (y1_test_data): Likewise.
15201 (yn_test_data): Likewise.
15202 (significand_test_data): Likewise.
15203
15204 2015-09-29 Carlos O'Donell <carlos@redhat.com>
15205
15206 * manual/filesys.texi (Storage Allocation): Document that
15207 posix_fallocate emulation fails when fd is open with O_WRONLY.
15208
15209 2015-09-28 Joseph Myers <joseph@codesourcery.com>
15210
15211 [BZ #19016]
15212 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15213 allow more cases with X^2 + Y^2 >= 0.5.
15214 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
15215 normal element in sum instead of special-casing based on values of
15216 arguments.
15217 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15218 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
15219 -1 as normal element in sum instead of special-casing based on
15220 values of arguments.
15221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15222 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15223 (__x2y2m1): Update comment.
15224 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
15225 as normal element in sum instead of special-casing based on values
15226 of arguments.
15227 * math/s_clog.c (__clog): Handle more cases using log1p without
15228 hypot.
15229 * math/s_clog10.c (__clog10): Likewise.
15230 * math/s_clog10f.c (__clog10f): Likewise.
15231 * math/s_clog10l.c (__clog10l): Likewise.
15232 * math/s_clogf.c (__clogf): Likewise.
15233 * math/s_clogl.c (__clogl): Likewise.
15234 * math/auto-libm-test-in: Add more tests of clog and clog10.
15235 * math/auto-libm-test-out: Regenerated.
15236 * sysdeps/i386/fpu/libm-test-ulps: Update.
15237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15238
15239 2015-09-28 Martin Sebor <msebor@redhat.com>
15240
15241 [BZ #18969]
15242 * string/Makefile (LOCALES): Define.
15243 (gen-locales.mk): Include.
15244 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15245 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15246 * string/tst-strxfrm2.c (do_test): Print the name of the locale
15247 on setlocale failure.
15248
15249 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15250
15251 [BZ #18985]
15252 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15253 (__strftime_internal): Likewise.
15254 * time/tst-strftime.c (do_bz18985): New test.
15255 (do_test): Call it.
15256
15257 2015-09-26 Joseph Myers <joseph@codesourcery.com>
15258
15259 [BZ #18956]
15260 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15261 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
15262 extracting high part.
15263 * math/auto-libm-test-in: Add another test of pow.
15264 * math/auto-libm-test-out: Regenerated.
15265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15266
15267 2015-09-25 Joseph Myers <joseph@codesourcery.com>
15268
15269 [BZ #18825]
15270 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15271 New macro.
15272 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15273 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15274 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15275 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15276 DBL_NARROW_EVAL, reloading the PIC register as needed.
15277 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15278 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15279 FLT_NARROW_EVAL. Use separate return path for case when first
15280 argument is NaN.
15281 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
15282 DEFINE_LDBL_MIN.
15283 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15284 PIC register.
15285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15286 math_check_force_underflow_nonneg.
15287 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15288 underflow for subnormal result.
15289 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15291 math_check_force_underflow_nonneg.
15292 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15293 math_check_force_underflow.
15294 * sysdeps/x86_64/fpu/x86_64-math-asm.h
15295 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15296 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
15297 DEFINE_LDBL_MIN.
15298 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15299 * math/auto-libm-test-in: Add more tests of pow.
15300 * math/auto-libm-test-out: Regenerated.
15301
15302 2015-09-25 Florian Weimer <fweimer@redhat.com>
15303
15304 * nss/bug17079.c (init_test_items): Add diagnostic for
15305 inconsistent entries.
15306 (test_buffer_size): Skip inconsistent entries.
15307
15308 2015-09-25 Joseph Myers <joseph@codesourcery.com>
15309
15310 [BZ #13304]
15311 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15312 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15313 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15314
15315 [BZ #13304]
15316 * sysdeps/microblaze/s_fma.c: New file.
15317 * sysdeps/microblaze/s_fmaf.c: Likewise.
15318 * sysdeps/microblaze/sfp-machine.h: Likewise.
15319
15320 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
15321
15322 [BZ #17250]
15323 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15324 member.
15325
15326 2015-09-24 Joseph Myers <joseph@codesourcery.com>
15327
15328 [BZ #18803]
15329 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15330 (MO): New macro.
15331 (__ieee754_hypot) [PIC]: Load PIC register.
15332 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15333 DBL_NARROW_EVAL.
15334 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15335 math_check_force_underflow_nonneg in case where result might be
15336 tiny.
15337 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15338 Likewise.
15339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15340 Likewise.
15341 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15342 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15343 * math/auto-libm-test-in: Add more tests of hypot.
15344 * math/auto-libm-test-out: Regenerated.
15345
15346 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
15347
15348 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15349
15350 2015-09-24 Joseph Myers <joseph@codesourcery.com>
15351
15352 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15353 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15354 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15355 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15356 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15357 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15358 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15359
15360 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15361 LOAD_PIC_REG.
15362
15363 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15364 (FLT_CHECK_FORCE_UFLOW): Likewise.
15365 (DBL_CHECK_FORCE_UFLOW): Likewise.
15366 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15367 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15368 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15369 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15370 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15371 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15372 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15373 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15374 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15375 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15376 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15377 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15378 (flt_min): Replace with use of DEFINE_FLT_MIN.
15379 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15380 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15381 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15382 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15383 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15384 (flt_min): Replace with use of DEFINE_FLT_MIN.
15385 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15386 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15387 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15388 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15389 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15390 (flt_min): Replace with use of DEFINE_FLT_MIN.
15391 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15392 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15393 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15394 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15395 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15396 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15397 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15398 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15399 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15400 (__atan): Use DBL_CHECK_FORCE_UFLOW.
15401 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15402 (flt_min): Replace with use of DEFINE_FLT_MIN.
15403 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15404 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15405 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15406 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
15407 main computation.
15408 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15409 (flt_min): Replace with use of DEFINE_FLT_MIN.
15410 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
15411 main computation.
15412 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15413 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15414 (MO): New macro.
15415 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15416 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15417 (flt_min): Replace with use of DEFINE_FLT_MIN.
15418 (MO): New macro.
15419 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15420 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15421 (__log1pl): Use MO.
15422
15423 [BZ #19003]
15424 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15425 $(config-cflags-nofma).
15426
15427 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15428
15429 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15430
15431 2015-09-23 Joseph Myers <joseph@codesourcery.com>
15432
15433 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15434 (TWO127): Likewise.
15435
15436 * sysdeps/generic/math_private.h (fabs_tg): New macro.
15437 (min_of_type): Likewise.
15438 (math_check_force_underflow): Likewise.
15439 (math_check_force_underflow_nonneg): Likewise.
15440 (math_check_force_underflow_complex): Likewise.
15441 * math/e_exp2l.c (__ieee754_exp2l): Use
15442 math_check_force_underflow_nonneg.
15443 * math/k_casinh.c (__kernel_casinh): Likewise.
15444 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15445 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15446 * math/s_catan.c (__catan): Use
15447 math_check_force_underflow_complex.
15448 * math/s_catanf.c (__catanf): Likewise.
15449 * math/s_catanh.c (__catanh): Likewise.
15450 * math/s_catanhf.c (__catanhf): Likewise.
15451 * math/s_catanhl.c (__catanhl): Likewise.
15452 * math/s_catanl.c (__catanl): Likewise.
15453 * math/s_ccosh.c (__ccosh): Likewise.
15454 * math/s_ccoshf.c (__ccoshf): Likewise.
15455 * math/s_ccoshl.c (__ccoshl): Likewise.
15456 * math/s_cexp.c (__cexp): Likewise.
15457 * math/s_cexpf.c (__cexpf): Likewise.
15458 * math/s_cexpl.c (__cexpl): Likewise.
15459 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15460 * math/s_clog10.c (__clog10): Likewise.
15461 * math/s_clog10f.c (__clog10f): Likewise.
15462 * math/s_clog10l.c (__clog10l): Likewise.
15463 * math/s_clogf.c (__clogf): Likewise.
15464 * math/s_clogl.c (__clogl): Likewise.
15465 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15466 * math/s_csinf.c (__csinf): Likewise.
15467 * math/s_csinh.c (__csinh): Likewise.
15468 * math/s_csinhf.c (__csinhf): Likewise.
15469 * math/s_csinhl.c (__csinhl): Likewise.
15470 * math/s_csinl.c (__csinl): Likewise.
15471 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15472 * math/s_csqrtf.c (__csqrtf): Likewise.
15473 * math/s_csqrtl.c (__csqrtl): Likewise.
15474 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15475 * math/s_ctanf.c (__ctanf): Likewise.
15476 * math/s_ctanh.c (__ctanh): Likewise.
15477 * math/s_ctanhf.c (__ctanhf): Likewise.
15478 * math/s_ctanhl.c (__ctanhl): Likewise.
15479 * math/s_ctanl.c (__ctanl): Likewise.
15480 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15481 instead of volatile.
15482 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15483 math_check_force_underflow.
15484 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15485 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15486 volatile when forcing underflow.
15487 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15488 math_check_force_underflow_nonneg.
15489 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15490 Likewise.
15491 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15492 math_check_force_underflow.
15493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15494 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15495 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15496 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15497 math_check_force_underflow_nonneg.
15498 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15499 math_check_force_underflow.
15500 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15502 instead of volatile.
15503 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15504 math_check_force_underflow.
15505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15506 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15507 math_check_force_underflow_nonneg.
15508 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15509 math_check_force_underflow.
15510 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15511 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15512 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15513 math_check_force_underflow_nonneg.
15514 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15515 Likewise.
15516 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15517 math_check_force_underflow.
15518 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15519 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15520 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15521 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15522 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15523 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15524 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15525 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15526 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15527 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15528 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15529 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15530 Likewise.
15531 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15532 math_check_force_underflow_nonneg.
15533 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15534 Likewise.
15535 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15536 math_check_force_underflow.
15537 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15538 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15539 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15540 Likewise.
15541 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15542 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15543 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15545 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15546 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15548 instead of volatile.
15549 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15550 math_check_force_underflow.
15551 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15553 math_check_force_underflow.
15554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15555 Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15557 Use math_check_force_underflow_nonneg.
15558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15559 math_check_force_underflow.
15560 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15561 Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15563 Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15570 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15571 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15573 math_check_force_underflow_nonneg.
15574 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15575 math_check_force_underflow.
15576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15577 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15578 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15579 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15580 math_check_force_underflow_nonneg.
15581 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15582 math_check_force_underflow.
15583 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15585 instead of volatile.
15586 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15587 math_check_force_underflow.
15588
15589 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15590 * stdlib/strtod_l.c: Include <math_private.h>.
15591 (overflow_value): Use math_narrow_eval.
15592 (underflow_value): Likewise.
15593 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15594 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15595 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15596 (__ieee754_gamma_r): Likewise.
15597 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15598 Likewise.
15599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15600 Likewise.
15601 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15602 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15603 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15604 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15605 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15606 (__ieee754_gammaf_r): Likewise.
15607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15608 Likewise.
15609 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15610 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15611 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15612 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15613 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15614 volatile.
15615 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15617 math_narrow_eval.
15618 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15619 Likewise.
15620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15621 Likewise.
15622 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15623 Likewise.
15624 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15625 volatile.
15626 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15627 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15628 math_narrow_eval.
15629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15630 Likewise.
15631 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15632 Likewise.
15633
15634 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
15635
15636 * nptl/Versions: Remove ignored symbols.
15637
15638 2015-09-22 Florian Weimer <fweimer@redhat.com>
15639
15640 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
15641 * nss/Makefile (tests): Update.
15642
15643 2015-09-22 Florian Weimer <fweimer@redhat.com>
15644
15645 * nss/bug18287.c: New file.
15646 * nss/Makefile (tests): Add bug18287.
15647
15648 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15649
15650 * mach/Versions (__mach_host_self_): Add symbol.
15651
15652 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
15653
15654 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15655 vm_page_size.
15656
15657 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15658
15659 Really fix sysdeps/i386/fpu/s_scalbn.S build
15660
15661 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15662 (libc: GLIBC_2_22): Remove unused version set.
15663
15664 2015-09-18 Mike Frysinger <vapier@gentoo.org>
15665
15666 * config.make.in (enable-timezone-tools): New variable.
15667 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15668 (enable_timezone_tools): Export to generated files.
15669 * configure: Regenerate.
15670 * INSTALL: Regenerate.
15671 * manual/install.texi (--disable-timezone-tools): Document new flag.
15672 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15673 ifeq ($(enable-timezone-tools),yes) check.
15674
15675 2015-09-18 Joseph Myers <joseph@codesourcery.com>
15676
15677 * timezone/Makefile: Revert previous change.
15678
15679 [BZ #18980]
15680 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15681 (DEFINE_DBL_MIN): Likewise.
15682 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15683 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15684 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15685 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15686 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15687 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15688 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15689 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15690 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15691 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15692 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15693 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15694 (flt_min): Replace with use of DEFINE_FLT_MIN.
15695 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15696 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15697 (dbl_min): Replace with use of DEFINE_DBL_MIN.
15698 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15699 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15700 (flt_min): Replace with use of DEFINE_FLT_MIN.
15701 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15702 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15703 (flt_min): Replace with use of DEFINE_FLT_MIN.
15704 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15705 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15706 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15707 (__ieee754_hypot): Use DBL_NARROW_EVAL.
15708 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15709 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15710 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15711 (__ieee754_pow): Use DBL_NARROW_EVAL.
15712 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15713 (__ieee754_powf): Use FLT_NARROW_EVAL.
15714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15715 (__ieee754_expf_sse2): Convert double-precision result to single
15716 precision.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718
15719 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15720
15721 * timezone/Makefile: Ignore unused variable errors due to private.h
15722 (time_t_min) and (time_t_max).
15723 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
15724 Likewise.
15725
15726 2015-09-18 Joseph Myers <joseph@codesourcery.com>
15727
15728 [BZ #18981]
15729 * sysdeps/i386/fpu/i386-math-asm.h: New file.
15730 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15731 (__ieee754_scalb): Use DBL_NARROW_EVAL.
15732 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15733 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15734 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15735 (__scalbn): Use DBL_NARROW_EVAL.
15736 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15737 (__scalbnf): Use FLT_NARROW_EVAL.
15738
15739 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15740
15741 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15742 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15743 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15744 * stdio-common/printf_fp.c (___printf_fp):
15745 Use signbit to get the sign. Use isinf macro to allow inlining.
15746 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15747 * stdio-common/printf_size.c (__printf_size): Likewise.
15748
15749 2015-09-18 Mike Frysinger <vapier@gentoo.org>
15750
15751 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15752
15753 2015-09-18 Joseph Myers <joseph@codesourcery.com>
15754
15755 [BZ #18980]
15756 * sysdeps/generic/math_private.h: Include <float.h>.
15757 (math_narrow_eval): New macro.
15758 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15759 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15760 math_narrow_eval on overflowing return value.
15761 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15762 Likewise.
15763 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15764 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15765 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15766 Likewise.
15767 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15768
15769 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15770
15771 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15772 * math/Makefile: Remove isinf_ns.c.
15773 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15774 * math/multc3.c (__multc3): Likewise.
15775 * math/s_casin.c (__casin): Likewise.
15776 * math/s_casinf.c (__casinf): Likewise.
15777 * math/s_casinl.c (__casinl): Likewise.
15778 * math/s_cproj.c (__cproj): Likewise.
15779 * math/s_cprojf.c (__cprojf): Likewise.
15780 * math/s_cprojl.c (__cprofl): Likewise.
15781 * math/s_ctan.c (__ctan): Likewise.
15782 * math/s_ctanf.c (__ctanf): Likewise.
15783 * math/s_ctanh.c (__ctanh): Likewise.
15784 * math/s_ctanhf.c (__ctanhf): Likewise.
15785 * math/s_ctanhl.c (__ctanhl): Likewise.
15786 * math/s_ctanl.c (__ctanl): Likewise.
15787 * math/w_fmod.c (__fmod): Likewise.
15788 * math/w_fmodf.c (__fmodf): Likewise.
15789 * math/w_fmodl.c (_fmodl): Likewise.
15790 * math/w_remainder.c (__remainder): Likewise.
15791 * math/w_remainderf.c (__remainderf): Likewise.
15792 * math/w_remainderl.c (__remainderl): Likewise.
15793 * math/w_scalb.c (__scalb): Likewise.
15794 * math/w_scalbf.c (__scalbf): Likewise.
15795 * math/w_scalbl.c (__scalbl): Likewise.
15796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15797 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15798 with isinf.
15799 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15800 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15801 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15802 __isinf_nsf with isinf.
15803 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15805 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15806 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15807 with isinf.
15808 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15809 __isinf_nsl with isinf.
15810 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15811 with isinf.
15812 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15813 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15814 __isinf_nsl with isinf.
15815 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15816 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15817 with isinf.
15818
15819 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15820
15821 * resolv/base64.c (rcsid): Remove unused static.
15822 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15823 static. (tqpi1): Likewise.
15824 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15825 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15826 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15827 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15828 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15829 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15830 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15831 * timezone/private.h (time_t_min): Likewise. (time_t_max):
15832 Likewise.
15833
15834 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
15835
15836 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15837 <nptl/pthreadP.h>.
15838 (_longjmp_unwind): Use __libc_ptf_call.
15839 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15840
15841 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
15842
15843 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15844 * sysdeps/arm/__longjmp.S: Likewise.
15845
15846 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15847
15848 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15849 Use __builtin_signbit.
15850 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15851 Use __builtin_signbitf.
15852 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15853 Use __builtin_signbitl.
15854 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15855 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15856
15857 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15858
15859 [BZ #15367]
15860 [BZ #17441]
15861
15862 * math/Makefile: Build test-snan.c with -fsignaling-nans.
15863 * math/math.h (fpclassify): Use __builtin_fpclassify when
15864 available. (signbit): Use __builtin_signbit(f/l).
15865 (isfinite): Use__builtin_isfinite. (isnormal): Use
15866 __builtin_isnormal. (isnan): Use __builtin_isnan.
15867 (isinf): Use __builtin_isinf_sign.
15868
15869 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15870
15871 * benchtests/Makefile: Add bench-math-inlines, link with libm.
15872 * benchtests/bench-math-inlines.c: New benchmark.
15873 * benchtests/bench-util.h: New file.
15874 * benchtests/bench-util.c: New file.
15875 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15876
15877 2015-09-18 Carlos O'Donell <carlos@redhat.com>
15878
15879 * elf/tst-dlmopen1.c: Define TEST_SO.
15880 (do_test): Use TEST_SO.
15881
15882 * elf/dl-load.c: Include libc-internal.h.
15883 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15884
15885 2015-09-18 Vincent Bernat <vincent@bernat.im>
15886
15887 [BZ #17887]
15888 * time/strptime_l.c (__strptime_internal): Make %z accept
15889 [+-]HH:MM time zones.
15890
15891 2015-09-18 Vincent Bernat <vincent@bernat.im>
15892
15893 [BZ #17886]
15894 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15895 valid time zone.
15896
15897 2015-09-17 Mike Frysinger <vapier@gentoo.org>
15898
15899 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15900 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15901 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15902 (__ASSUME_FDATASYNC): Delete.
15903
15904 2015-09-17 Joseph Myers <joseph@codesourcery.com>
15905
15906 * conform/linknamespace.pl: Require weak undefined symbols to be
15907 in the standard namespace.
15908 (%strong_syms): Rename to %seen_syms.
15909 (%strong_seen): Rename to %seen_where.
15910
15911 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
15912
15913 [BZ #18970]
15914 * misc/error.c (error): Replace pthread_setcancelstate with
15915 __pthread_setcancelstate.
15916 (error_at_line): Likewise.
15917 * posix/wordexp.c (parse_comm): Likewise.
15918 * stdlib/fmtmsg.c (fmtmsg): Likewise.
15919 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15920 (__pthread_setcancelstate): This.
15921 (pthread_setcancelstate): Add an alias.
15922 * nptl/nptl-init.c (pthread_functions): Replace
15923 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15924 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15925 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15926 hidden_proto.
15927 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15928 it with hidden_def.
15929 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15930 (pthread_setcancelstate): Renamed to ...
15931 (__pthread_setcancelstate): This.
15932 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15933 __libc_ptf_call with __pthread_setcancelstate.
15934
15935 2015-09-17 Joseph Myers <joseph@codesourcery.com>
15936 Andreas Schwab <schwab@suse.de>
15937
15938 [BZ #17118]
15939 * math/s_ctan.c (__ctan): Determine sign of zero real part of
15940 result when imaginary part of argument is infinite using sine and
15941 cosine.
15942 * math/s_ctanf.c (__ctanf): Likewise.
15943 * math/s_ctanl.c (__ctanl): Likewise.
15944 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15945 of result when real part of argument is infinite using sine and
15946 cosine.
15947 * math/s_ctanhf.c (__ctanhf): Likewise.
15948 * math/s_ctanhl.c (__ctanhl): Likewise.
15949 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15950 (ctanh_test_data): Add more tests of ctanh.
15951
15952 2015-09-17 Joseph Myers <joseph@codesourcery.com>
15953
15954 [BZ #15384]
15955 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15956 bit-mask as in subtraction.
15957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15958 Likewise.
15959 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15960 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15962
15963 [BZ #18951]
15964 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15965 underflow exception for small results.
15966 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15967 Likewise.
15968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15969 Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15971 Likewise.
15972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15973 Likewise.
15974 * math/auto-libm-test-in: Add more tests of tgamma.
15975 * math/auto-libm-test-out: Regenerated.
15976
15977 2015-09-17 Andreas Schwab <schwab@suse.de>
15978
15979 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15980
15981 2015-09-16 Joseph Myers <joseph@codesourcery.com>
15982
15983 [BZ #18977]
15984 * math/bits/mathcalls.h
15985 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15986 not declare.
15987 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15988 Likewise.
15989 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15990 Likewise.
15991 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15992 Likewise.
15993 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15994 Likewise.
15995 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15996 Likewise.
15997 * conform/data/math.h-data
15998 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15999 function.
16000 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16001 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16002 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16003 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16004 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16005 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16006 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16007 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16008 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16009 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16010 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16011
16012 [BZ #6803]
16013 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16014 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16015 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16016 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16017 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16018 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16019 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16020 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16021 [NO_LONG_DOUBLE] (scalbnl): Likewise.
16022 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16023 Likewise.
16024 [NO_LONG_DOUBLE] (scalbnl): Likewise.
16025 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16026 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16028 long_double_symbol calls.
16029 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16030 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16031 strong alias of __ldexpl.
16032 (scalbnl): Define using long_double_symbol.
16033 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16034 Remove alias.
16035 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16036 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16037 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16038 (scalbln_test_data): Add more errno expectations.
16039
16040 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
16041
16042 Cache the host port like we cache the task port. This way we do not
16043 need to call the kernel just to get the port. Furthermore, we no
16044 longer increase the reference count on every invocation of
16045 `mach_host_self'.
16046
16047 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16048 Protect declarations against the macro expansion.
16049 * mach/mach_init.c (__mach_host_self_): New variable.
16050 (mach_init): Initialize `__mach_host_self_'.
16051 * mach/mach_init.h (__mach_host_self_): New declaration.
16052 (__mach_host_self, mach_host_self): New macros.
16053 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16054 Release reference.
16055
16056 2015-09-16 Joseph Myers <joseph@codesourcery.com>
16057
16058 [BZ #4404]
16059 * po/de.po: Update from Translation Project.
16060
16061 [BZ #16415]
16062 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16063 (__expm1l): Remove code to handle positive infinity and overflow.
16064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16065 variable.
16066 (__expm1l): Remove code to handle positive infinity and overflow.
16067
16068 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
16069 Paul Pluzhnikov <ppluzhnikov@google.com>
16070
16071 [BZ #18872]
16072 * stdio-common/Makefile (tst-printf-bz18872): New test.
16073 (tst-printf-bz18872-mem.out): Likewise.
16074 * stdio-common/tst-printf-bz18872.sh: Generate new test.
16075 * stdio-common/vfprintf.c: Fix memory leaks.
16076
16077 2015-09-16 Andreas Schwab <schwab@suse.de>
16078
16079 [BZ #17244]
16080 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16081 Remove extra va_start/va_end calls.
16082
16083 [BZ #17243]
16084 * posix/execl.c (execl): Add missing va_end.
16085 * posix/execle.c (execle): Likewise.
16086 * posix/execlp.c (execlp): Likewise.
16087
16088 2015-09-15 Roland McGrath <roland@hack.frob.com>
16089
16090 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16091 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16092
16093 2015-09-15 Joseph Myers <joseph@codesourcery.com>
16094
16095 [BZ #18967]
16096 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
16097 undefine around includes of <bits/mathcalls.h>.
16098 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16099 not declare function.
16100 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16101 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16102 (scalb): Likewise.
16103 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16104 not define macro.
16105 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16106 variable.
16107 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16108 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16109 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16110
16111 [BZ #18857]
16112 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16113 return non-finite argument without doing ordered comparisons on
16114 it.
16115
16116 [BZ #16296]
16117 * math/fenv.h (fegetround): Use __attribute_pure__.
16118 * include/fenv.h (__fegetround): Likewise.
16119
16120 [BZ #18595]
16121 * math/s_ctan.c (__ctan): Force underflow exception for results
16122 whose real or imaginary part has small absolute value.
16123 * math/s_ctanf.c (__ctanf): Likewise.
16124 * math/s_ctanh.c (__ctanh): Likewise.
16125 * math/s_ctanhf.c (__ctanhf): Likewise.
16126 * math/s_ctanhl.c (__ctanhl): Likewise.
16127 * math/s_ctanl.c (__ctanl): Likewise.
16128 * math/auto-libm-test-in: Do not allow missing underflow for ctan
16129 and ctanh. Add more tests of ctan and ctanh.
16130
16131 [BZ #15918]
16132 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16133 handling of cases where one argument is an infinity.
16134
16135 [BZ #18875]
16136 [BZ #18966]
16137 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16138 (MO): New macro.
16139 (__ieee754_exp10): For small results, force underflow exception
16140 and remove excess range and precision from return value.
16141 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16142 (MO): New macro.
16143 (__ieee754_exp10f): For small results, force underflow exception
16144 and remove excess range and precision from return value.
16145 * math/auto-libm-test-in: Add more tests of exp10.
16146 * math/auto-libm-test-out: Regenerated.
16147
16148 2015-09-14 Joseph Myers <joseph@codesourcery.com>
16149
16150 [BZ #18875]
16151 [BZ #18961]
16152 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16153 (MO): New macro.
16154 (__ieee754_exp): For small results, force underflow exception and
16155 remove excess range and precision from return value.
16156 (__exp_finite): Likewise.
16157 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16158 (MO): New macro.
16159 (__ieee754_expf): For small results, force underflow exception and
16160 remove excess range and precision from return value.
16161 (__expf_finite): Likewise.
16162 * math/auto-libm-test-in: Add more tests of exp.
16163 * math/auto-libm-test-out: Regenerated.
16164
16165 [BZ #16521]
16166 [BZ #18875]
16167 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16168 small results.
16169 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16170 (MO): New macro.
16171 (__ieee754_exp2): For small results, force underflow exception and
16172 remove excess range and precision from return value.
16173 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16174 (MO): New macro.
16175 (__ieee754_exp2f): For small results, force underflow exception
16176 and remove excess range and precision from return value.
16177 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16178 (MO): New macro.
16179 (__ieee754_exp2l): Force underflow exception for small results.
16180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16181 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16182 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16183 (MO): New macro.
16184 (__ieee754_exp2l): Force underflow exception for small results.
16185 * math/auto-libm-test-in: Add more tests or exp2.
16186 * math/auto-libm-test-out: Regenerated.
16187
16188 2015-09-14 Carlos O'Donell <carlos@redhat.com>
16189
16190 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16191
16192 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16193 /dev/null.
16194
16195 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16196
16197 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16198 io fs process)): Drop spurious backslash.
16199
16200 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16201
16202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16203 Use sysinfo system call instead of parsing /proc/meminfo.
16204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16205 Likewise.
16206
16207 2015-09-11 Mike Frysinger <vapier@gentoo.org>
16208
16209 [BZ #16985]
16210 * programs/localedef.c (main): Display argv[remaining] when
16211 output_path is NULL.
16212
16213 2015-09-11 Joseph Myers <joseph@codesourcery.com>
16214
16215 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16216 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16217 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16218 tanh.
16219 * math/auto-libm-test-out: Regenerated.
16220 * sysdeps/i386/fpu/libm-test-ulps: Update.
16221 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16222 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16224
16225 2015-09-11 Roland McGrath <roland@hack.frob.com>
16226
16227 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16228 Use 'override' keyword to freeze the value here, preventing
16229 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16230
16231 2015-09-11 Joseph Myers <joseph@codesourcery.com>
16232
16233 [BZ #14912]
16234 * sysdeps/aarch64/bits/atomic.h: Move to ...
16235 * sysdeps/aarch64/atomic-machine.h: ...here.
16236 (_AARCH64_BITS_ATOMIC_H): Rename macro to
16237 _AARCH64_ATOMIC_MACHINE_H.
16238 * sysdeps/alpha/bits/atomic.h: Move to ...
16239 * sysdeps/alpha/atomic-machine.h: ...here.
16240 * sysdeps/arm/bits/atomic.h: Move to ...
16241 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
16242 * bits/atomic.h: Move to ...
16243 * sysdeps/generic/atomic-machine.h: ...here.
16244 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16245 * sysdeps/i386/bits/atomic.h: Move to ...
16246 * sysdeps/i386/atomic-machine.h: ...here.
16247 * sysdeps/ia64/bits/atomic.h: Move to ...
16248 * sysdeps/ia64/atomic-machine.h: ...here.
16249 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16250 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16251 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16252 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16253 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16254 * sysdeps/microblaze/bits/atomic.h: Move to ...
16255 * sysdeps/microblaze/atomic-machine.h: ...here.
16256 * sysdeps/mips/bits/atomic.h: Move to ...
16257 * sysdeps/mips/atomic-machine.h: ...here.
16258 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16259 * sysdeps/powerpc/bits/atomic.h: Move to ...
16260 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
16261 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16262 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
16263 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
16264 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16265 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
16266 <atomic-machine.h> instead of <bits/atomic.h>.
16267 * sysdeps/s390/bits/atomic.h: Move to ...
16268 * sysdeps/s390/atomic-machine.h: ...here.
16269 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16270 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16271 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16272 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16273 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16274 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16275 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16276 * sysdeps/tile/bits/atomic.h: Move to ...
16277 * sysdeps/tile/atomic-machine.h: ...here.
16278 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16279 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
16280 <sysdeps/tile/atomic-machine.h> instead of
16281 <sysdeps/tile/bits/atomic.h>.
16282 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16283 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16284 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
16285 <sysdeps/tile/atomic-machine.h> instead of
16286 <sysdeps/tile/bits/atomic.h>.
16287 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16288 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16289 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
16290 <sysdeps/arm/atomic-machine.h> instead of
16291 <sysdeps/arm/bits/atomic.h>.
16292 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16293 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16294 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16295 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16296 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16297 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16298 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16299 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16300 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16301 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16302 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16303 * sysdeps/x86_64/bits/atomic.h: Move to ...
16304 * sysdeps/x86_64/atomic-machine.h: ...here.
16305 * include/atomic.h: Include <atomic-machine.h> instead of
16306 <bits/atomic.h>.
16307
16308 * sysdeps/mips/mips32/libm-test-ulps: Update.
16309 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16310
16311 [BZ #18952]
16312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16313 not convert non-integer negative arguments to int to determine the
16314 value of signgam.
16315 * math/auto-libm-test-in: Add more tests of lgamma.
16316 * math/auto-libm-test-out: Regenerated.
16317
16318 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16319 cosh, csqrt, erfc, expm1 and lgamma.
16320 * math/auto-libm-test-out: Regenerated.
16321 * sysdeps/i386/fpu/libm-test-ulps: Update.
16322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16323
16324 2015-09-10 Joseph Myers <joseph@codesourcery.com>
16325
16326 [BZ #2542]
16327 [BZ #2543]
16328 [BZ #2558]
16329 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16330 __lgamma_neg for arguments from -28.0 to -2.0.
16331 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16332 __lgamma_negf for arguments from -15.0 to -2.0.
16333 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16334 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16335 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16336 Call __lgamma_negl for arguments from -33.0 to -2.0.
16337 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16338 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16339 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16340 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16347 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16348 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16349 (__lgamma_neg): Likewise.
16350 (__lgamma_negl): Likewise.
16351 (__lgamma_product): Likewise.
16352 (__lgamma_productl): Likewise.
16353 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16354 * math/auto-libm-test-in: Add more tests of lgamma.
16355 * math/auto-libm-test-out: Regenerated.
16356 * sysdeps/i386/fpu/libm-test-ulps: Update.
16357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16358
16359 2015-09-09 Justin Maggard <jmaggard@netgear.com>
16360
16361 [BZ #18675]
16362 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16363
16364 2015-09-08 Joseph Myers <joseph@codesourcery.com>
16365
16366 [BZ #14912]
16367 * bits/libc-lock.h: Move to ...
16368 * sysdeps/generic/libc-lock.h: ...here.
16369 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16370 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16371 * sysdeps/mach/hurd/libc-lock.h: ...here.
16372 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16373 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16374 * sysdeps/mach/bits/libc-lock.h: Move to ...
16375 * sysdeps/mach/libc-lock.h: ...here.
16376 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16377 * sysdeps/nptl/bits/libc-lock.h: Move to ...
16378 * sysdeps/nptl/libc-lock.h: ...here.
16379 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16380 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16381 * sysdeps/nptl/libc-lockP.h: ...here.
16382 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16383 * crypt/crypt_util.c: Include <libc-lock.h> instead of
16384 <bits/libc-lock.h>.
16385 * dirent/scandir-tail.c: Likewise.
16386 * dlfcn/dlerror.c: Likewise.
16387 * elf/dl-close.c: Likewise.
16388 * elf/dl-iteratephdr.c: Likewise.
16389 * elf/dl-lookup.c: Likewise.
16390 * elf/dl-open.c: Likewise.
16391 * elf/dl-support.c: Likewise.
16392 * elf/dl-writev.h: Likewise.
16393 * elf/rtld.c: Likewise.
16394 * grp/fgetgrent.c: Likewise.
16395 * gshadow/fgetsgent.c: Likewise.
16396 * gshadow/sgetsgent.c: Likewise.
16397 * iconv/gconv_conf.c: Likewise.
16398 * iconv/gconv_db.c: Likewise.
16399 * iconv/gconv_dl.c: Likewise.
16400 * iconv/gconv_int.h: Likewise.
16401 * iconv/gconv_trans.c: Likewise.
16402 * include/link.h: Likewise.
16403 * inet/getnameinfo.c: Likewise.
16404 * inet/getnetgrent.c: Likewise.
16405 * inet/getnetgrent_r.c: Likewise.
16406 * intl/bindtextdom.c: Likewise.
16407 * intl/dcigettext.c: Likewise.
16408 * intl/finddomain.c: Likewise.
16409 * intl/gettextP.h: Likewise.
16410 * intl/loadmsgcat.c: Likewise.
16411 * intl/localealias.c: Likewise.
16412 * intl/textdomain.c: Likewise.
16413 * libidn/idn-stub.c: Likewise.
16414 * libio/libioP.h: Likewise.
16415 * locale/duplocale.c: Likewise.
16416 * locale/freelocale.c: Likewise.
16417 * locale/newlocale.c: Likewise.
16418 * locale/setlocale.c: Likewise.
16419 * login/getutent_r.c: Likewise.
16420 * login/getutid_r.c: Likewise.
16421 * login/getutline_r.c: Likewise.
16422 * login/utmp-private.h: Likewise.
16423 * login/utmpname.c: Likewise.
16424 * malloc/mtrace.c: Likewise.
16425 * misc/efgcvt.c: Likewise.
16426 * misc/error.c: Likewise.
16427 * misc/fstab.c: Likewise.
16428 * misc/getpass.c: Likewise.
16429 * misc/mntent.c: Likewise.
16430 * misc/syslog.c: Likewise.
16431 * nis/nis_call.c: Likewise.
16432 * nis/nis_callback.c: Likewise.
16433 * nis/nss-default.c: Likewise.
16434 * nis/nss_compat/compat-grp.c: Likewise.
16435 * nis/nss_compat/compat-initgroups.c: Likewise.
16436 * nis/nss_compat/compat-pwd.c: Likewise.
16437 * nis/nss_compat/compat-spwd.c: Likewise.
16438 * nis/nss_nis/nis-alias.c: Likewise.
16439 * nis/nss_nis/nis-ethers.c: Likewise.
16440 * nis/nss_nis/nis-grp.c: Likewise.
16441 * nis/nss_nis/nis-hosts.c: Likewise.
16442 * nis/nss_nis/nis-network.c: Likewise.
16443 * nis/nss_nis/nis-proto.c: Likewise.
16444 * nis/nss_nis/nis-pwd.c: Likewise.
16445 * nis/nss_nis/nis-rpc.c: Likewise.
16446 * nis/nss_nis/nis-service.c: Likewise.
16447 * nis/nss_nis/nis-spwd.c: Likewise.
16448 * nis/nss_nisplus/nisplus-alias.c: Likewise.
16449 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16450 * nis/nss_nisplus/nisplus-grp.c: Likewise.
16451 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16452 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16453 * nis/nss_nisplus/nisplus-network.c: Likewise.
16454 * nis/nss_nisplus/nisplus-proto.c: Likewise.
16455 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16456 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16457 * nis/nss_nisplus/nisplus-service.c: Likewise.
16458 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16459 * nis/ypclnt.c: Likewise.
16460 * nptl/libc_pthread_init.c: Likewise.
16461 * nss/getXXbyYY.c: Likewise.
16462 * nss/getXXent.c: Likewise.
16463 * nss/getXXent_r.c: Likewise.
16464 * nss/nss_db/db-XXX.c: Likewise.
16465 * nss/nss_db/db-netgrp.c: Likewise.
16466 * nss/nss_db/nss_db.h: Likewise.
16467 * nss/nss_files/files-XXX.c: Likewise.
16468 * nss/nss_files/files-alias.c: Likewise.
16469 * nss/nsswitch.c: Likewise.
16470 * posix/regex_internal.h: Likewise.
16471 * posix/wordexp.c: Likewise.
16472 * pwd/fgetpwent.c: Likewise.
16473 * resolv/res_hconf.c: Likewise.
16474 * resolv/res_libc.c: Likewise.
16475 * shadow/fgetspent.c: Likewise.
16476 * shadow/lckpwdf.c: Likewise.
16477 * shadow/sgetspent.c: Likewise.
16478 * socket/opensock.c: Likewise.
16479 * stdio-common/reg-modifier.c: Likewise.
16480 * stdio-common/reg-printf.c: Likewise.
16481 * stdio-common/reg-type.c: Likewise.
16482 * stdio-common/vfprintf.c: Likewise.
16483 * stdio-common/vfscanf.c: Likewise.
16484 * stdlib/abort.c: Likewise.
16485 * stdlib/cxa_atexit.c: Likewise.
16486 * stdlib/fmtmsg.c: Likewise.
16487 * stdlib/random.c: Likewise.
16488 * stdlib/setenv.c: Likewise.
16489 * string/strsignal.c: Likewise.
16490 * sunrpc/auth_none.c: Likewise.
16491 * sunrpc/bindrsvprt.c: Likewise.
16492 * sunrpc/create_xid.c: Likewise.
16493 * sunrpc/key_call.c: Likewise.
16494 * sunrpc/rpc_thread.c: Likewise.
16495 * sysdeps/arm/backtrace.c: Likewise.
16496 * sysdeps/generic/ldsodefs.h: Likewise.
16497 * sysdeps/generic/stdio-lock.h: Likewise.
16498 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16499 * sysdeps/i386/backtrace.c: Likewise.
16500 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16501 * sysdeps/m68k/backtrace.c: Likewise.
16502 * sysdeps/mach/hurd/cthreads.c: Likewise.
16503 * sysdeps/mach/hurd/dirstream.h: Likewise.
16504 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16505 * sysdeps/nptl/malloc-machine.h: Likewise.
16506 * sysdeps/nptl/stdio-lock.h: Likewise.
16507 * sysdeps/posix/dirstream.h: Likewise.
16508 * sysdeps/posix/getaddrinfo.c: Likewise.
16509 * sysdeps/posix/system.c: Likewise.
16510 * sysdeps/pthread/aio_suspend.c: Likewise.
16511 * sysdeps/s390/s390-32/backtrace.c: Likewise.
16512 * sysdeps/s390/s390-64/backtrace.c: Likewise.
16513 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16514 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16515 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16516 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16517 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16518 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16519 * sysdeps/unix/sysv/linux/system.c: Likewise.
16520 * sysdeps/x86_64/backtrace.c: Likewise.
16521 * time/alt_digit.c: Likewise.
16522 * time/era.c: Likewise.
16523 * time/tzset.c: Likewise.
16524 * wcsmbs/wcsmbsload.c: Likewise.
16525 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16526 instead of <bits/libc-lock.h> in comment.
16527
16528 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
16529
16530 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16531 Only use .set mips2 if the current ISA is below mips2.
16532 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16533 Likewise.
16534 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16535 mips32r2 if the current ISA is below mips32r2.
16536 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16537 (TLS_IE): Updated to use the TLD_RDHWR macro.
16538 (TLS_LE): Likewise.
16539 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16540 __ASSEMBLER__ condition.
16541
16542 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
16543
16544 Fix parallel build of before-compile targets.
16545
16546 * sysdeps/mach/Makefile ($(patsubst
16547 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16548 mach-before-compile target.
16549 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16550 io fs process)): Move rule to dedicated hurd-before-compile target.
16551
16552 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16553
16554 Fix rules generating headers in hurd/ and mach/ when initial make call
16555 has subdir= explicitly set.
16556
16557 * sysdeps/mach/Makefile ($(patsubst
16558 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16559 calling $(MAKE).
16560 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16561 io fs process)): Force subdir to hurd when calling $(MAKE).
16562 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16563 subdir to mach when calling $(MAKE).
16564
16565 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
16566
16567 Check sysheaders when looking for Mach and Hurd headers
16568
16569 * sysdeps/mach/configure.ac: Add sysheaders check.
16570 * sysdeps/mach/configure: Regenerate.
16571 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16572 * sysdeps/mach/hurd/configure: Regenerate.
16573
16574 2015-09-04 Roland McGrath <roland@hack.frob.com>
16575
16576 [BZ #18921]
16577 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16578 Fix inverted sense of test of 'o_directory_works' value.
16579 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16580 Bernhard Voelker <mail@bernhard-voelker.de>.
16581
16582 2015-09-04 Joseph Myers <joseph@codesourcery.com>
16583
16584 [BZ #14912]
16585 * bits/linkmap.h: Move to ...
16586 * sysdeps/generic/linkmap.h: ...here.
16587 * sysdeps/aarch64/bits/linkmap.h: Move to ...
16588 * sysdeps/aarch64/linkmap.h: ...here.
16589 * sysdeps/arm/bits/linkmap.h: Move to ...
16590 * sysdeps/arm/linkmap.h: ...here.
16591 * sysdeps/hppa/bits/linkmap.h: Move to ...
16592 * sysdeps/hppa/linkmap.h: ...here.
16593 * sysdeps/ia64/bits/linkmap.h: Move to ...
16594 * sysdeps/ia64/linkmap.h: ...here.
16595 * sysdeps/mips/bits/linkmap.h: Move to ...
16596 * sysdeps/mips/linkmap.h: ...here.
16597 * sysdeps/s390/bits/linkmap.h: Move to ...
16598 * sysdeps/s390/linkmap.h: ...here.
16599 * sysdeps/sh/bits/linkmap.h: Move to ...
16600 * sysdeps/sh/linkmap.h: ...here.
16601 * sysdeps/x86/bits/linkmap.h: Move to ...
16602 * sysdeps/x86/linkmap.h: ...here.
16603 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16604
16605 2015-09-04 Andreas Schwab <schwab@suse.de>
16606
16607 [BZ #18635]
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16609 (__makecontext): Terminate FDE before return label.
16610 (__novec_makecontext): Likewise.
16611
16612 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16613
16614 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16615 first member of struct sv in syscall macro.
16616
16617 2015-09-04 Joseph Myers <joseph@codesourcery.com>
16618
16619 [BZ #14912]
16620 * bits/stdio-lock.h: Move to ...
16621 * sysdeps/generic/stdio-lock.h: ...here.
16622 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16623 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16624 * sysdeps/nptl/stdio-lock.h: ...here.
16625 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16626 * include/libio.h: Include <stdio-lock.h> instead of
16627 <bits/stdio-lock.h>.
16628 * sysdeps/nptl/fork.c: Likewise.
16629 * sysdeps/pthread/flockfile.c: Likewise.
16630 * sysdeps/pthread/ftrylockfile.c: Likewise.
16631 * sysdeps/pthread/funlockfile.c: Likewise.
16632
16633 [BZ #14912]
16634 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16635 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16636 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16637 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16638 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16639 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16640 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16641
16642 2015-09-03 Roland McGrath <roland@hack.frob.com>
16643
16644 * elf/Makefile (test-xfail-tst-protected1a): New variable.
16645 (test-xfail-tst-protected1b): New variable.
16646
16647 2015-09-03 Joseph Myers <joseph@codesourcery.com>
16648
16649 [BZ #14912]
16650 * bits/libc-tsd.h: Move to ...
16651 * sysdeps/generic/libc-tsd.h: ...here.
16652 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16653 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16654 * sysdeps/mach/hurd/libc-tsd.h: ...here.
16655 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16656 * include/ctype.h: Include <libc-tsd.h> instead of
16657 <bits/libc-tsd.h>.
16658 * include/rpc/rpc.h: Likewise.
16659 * locale/localeinfo.h: Likewise.
16660 * sunrpc/rpc_thread.c: Likewise.
16661 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16662 * sysdeps/nptl/malloc-machine.h: Likewise.
16663
16664 * Makefile (headers): Remove bits/libc-lock.h.
16665 * libio/Makefile (headers): Remove bits/stdio-lock.h.
16666
16667 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16668 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16669 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16670 <bits/stdio-lock.h>.
16671 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16672 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16673
16674 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
16675
16676 [BZ #18757]
16677 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16678 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16679 BZ #18757.
16680
16681 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
16682
16683 * malloc/mtrace.pl: Filter out NULL entries.
16684
16685 2015-09-01 Joseph Myers <joseph@codesourcery.com>
16686
16687 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16688 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16689 macro.
16690
16691 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16692 (TCP_CC_INFO): Likewise.
16693 (TCP_SAVE_SYN): Likewise.
16694 (TCP_SAVED_SYN): Likewise.
16695
16696 2015-08-31 Brett Neumeier <brett@neumeier.us>
16697
16698 [BZ #18870]
16699 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16700
16701 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
16702
16703 [BZ #18873]
16704 Fix broken overflow check in posix_fallocate
16705 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16706 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16707 Fix parenthesization typo.
16708
16709 2015-08-28 Mike Frysinger <vapier@gentoo.org>
16710
16711 [BZ #18887]
16712 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16713 tst-mntent-blank-passno.
16714 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16715 * misc/tst-mntent-blank-corrupt.c: New test.
16716 * misc/tst-mntent-blank-passno.c: New test ripped from ...
16717 * misc/tst-mntent.c (do_test): ... here.
16718
16719 2015-08-29 Mike Frysinger <vapier@gentoo.org>
16720
16721 [BZ #4404]
16722 * po/de.po: Fix SIGALRM typo.
16723
16724 2015-08-28 James Perkins <james@loowit.net>
16725
16726 * time/tst-strptime2.c (tests): Replace short list of test
16727 strings for strptime %z specifier with code which exhaustively
16728 tests every combination of sign and 0 to 5 digits. Tests for
16729 rejection of invalid strings.
16730
16731 2015-08-28 James Perkins <james@loowit.net>
16732
16733 [BZ #16141]
16734 * time/strptime_l.c (__strptime_internal): Fix %z minutes
16735 calculation, removing incorrect decimal time rounding, so that
16736 all minute values result in a valid seconds value.
16737 * time/strptime_l.c (__strptime_internal): Extend %z time zone
16738 offset range limits to UTC-99:59 through UTC+99:59 to parse
16739 current and historical use cases.
16740 * time/tst-strptime2.c (tests): Modify and add tests for the
16741 strptime %z input field descriptor, specifically conversion of
16742 minutes to seconds and validating an offset range of -9959 to
16743 +9959.
16744
16745 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16746 Dmitry V. Levin <ldv@altlinux.org>
16747
16748 [BZ #18877]
16749 * posix/Makefile (tests): Add tst-mmap-offset.
16750 * posix/tst-mmap.c: New file.
16751 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16752 offset calculation for negative values.
16753
16754 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16755
16756 * sysdeps/i386/init-arch.h: New file.
16757 * sysdeps/i386/i586/init-arch.h: Likewise.
16758 * sysdeps/i386/i686/init-arch.h: Likewise.
16759 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16760 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
16761 * sysdeps/x86/cpu-features.h (bit_I586): New.
16762 (bit_I686): Likewise.
16763 (bit_CX8): Likewise.
16764 (bit_CMOV): Likewise.
16765 (index_CX8): Likewise.
16766 (index_CMOV): Likewise.
16767 (index_I586): Likewise.
16768 (index_I686): Likewise.
16769 (reg_CX8): Likewise.
16770 (reg_CMOV): Likewise.
16771 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16772 available at compile-time.
16773 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16774 available at compile-time.
16775 * sysdeps/x86/init-arch.h (USE_I586): New macro.
16776 (USE_I686): Likewise.
16777
16778 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16779
16780 * sysdeps/i386/bcopy.S: New file.
16781 * sysdeps/i386/bzero.S: Likewise.
16782 * sysdeps/i386/memcpy.S: Likewise.
16783 * sysdeps/i386/memmove.S: Likewise.
16784 * sysdeps/i386/mempcpy.S: Likewise.
16785 * sysdeps/i386/memset.S: Likewise.
16786 * sysdeps/i386/bzero.c: Removed.
16787 * sysdeps/i386/memset.c: Likewise.
16788 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16789 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16790 * sysdeps/i386/i586/memset_chk.S: Likewise.
16791 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16792 * sysdeps/i386/memcpy_chk.S: Here.
16793 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16794 * sysdeps/i386/memmove_chk.S: Here.
16795 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16796 * sysdeps/i386/mempcpy_chk.S: Likewise.
16797 * sysdeps/i386/i686/memset_chk.S: Moved to ...
16798 * sysdeps/i386/memset_chk.S: Likewise.
16799
16800 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
16801
16802 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16803 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16804 file, move DIAG_POP_NEEDS_COMMENT to end of file.
16805 * soft-fp/fmadf4.c: Ditto.
16806 * soft-fp/fmatf4.c: Ditto.
16807
16808 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16809
16810 * sysdeps/i386/i586/Implies: Removed.
16811 * sysdeps/i386/i686/Implies: Likewise.
16812
16813 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16814
16815 * sysdeps/i386/i486/strlen.S: Moved to ...
16816 * sysdeps/i386/strlen.S: Here.
16817
16818 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16819
16820 * sysdeps/i386/i486/strcat.S: Moved to ...
16821 * sysdeps/i386/strcat.S: Here.
16822
16823 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16824
16825 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16826 * sysdeps/i386/pthread_spin_trylock.S: Here.
16827 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16828 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16829
16830 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16831
16832 * sysdeps/i386/i486/string-inlines.c: Moved to ...
16833 * sysdeps/i386/string-inlines.c: Here.
16834
16835 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16836
16837 * sysdeps/i386/i486/htonl.S: Moved ...
16838 * sysdeps/i386/htonl.S: here.
16839
16840 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16841
16842 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16843 * sysdeps/i386/bits/atomic.h: Here.
16844
16845 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
16846
16847 * sysdeps/i386/i486/Versions: Removed.
16848
16849 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
16850
16851 [BZ #2898]
16852 * misc/mktemp.c: Add mkdtemp to the link_warning message.
16853 Based on patch by Aurelien Jarno.
16854
16855 2015-08-26 Stan Shebs <stanshebs@google.com>
16856
16857 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16858 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16859
16860 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16861
16862 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16863 * sysdeps/powerpc/dl-procinfo.c:
16864 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16865 feature so it shows when LD_SHOW_AUXV=1.
16866
16867 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16868
16869 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16870 (__arch_compare_and_exchange_val_32_acq): Remove and use common
16871 definition. ISA 2.07B no longer requires full sync.
16872
16873 2015-08-26 Mike Frysinger <vapier@gentoo.org>
16874
16875 [BZ #18863]
16876 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16877 (si_call_addr): Define.
16878 (si_syscall): Define.
16879 (si_arch): Define.
16880
16881 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
16882
16883 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16884 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16885 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16886 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16887 (__memset_zero_constant_len_parameter): New.
16888 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16889 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16890 (__memset_zero_constant_len_parameter): Don't define if
16891 __memset_chk or USE_AS_BZERO are defined.
16892
16893 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16894 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16895 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16896
16897 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16898 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16899 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16900 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
16901 comments.
16902 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16903 -mno-mmx for $(all-rtld-routines).
16904 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16905 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
16906 i386.
16907
16908 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16909
16910 * sysdeps/generic/unwind.h
16911 (_Unwind_Word): Use __mode__(__unwind_word__)
16912 instead of __mode__(__word__).
16913 (_Unwind_Sword): Likewise.
16914
16915 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16916 (MAX_NEEDED_INPUT): New define.
16917 (MAX_NEEDED_OUTPUT): New define.
16918
16919 * NEWS: New item for IBM z13 string optimizations.
16920
16921 * sysdeps/s390/multiarch/memrchr-c.c: New File.
16922 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16923 * sysdeps/s390/multiarch/memrchr.c: Likewise.
16924 * sysdeps/s390/multiarch/Makefile
16925 (sysdep_routines): Add memrchr functions.
16926 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16927 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16928
16929 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16930 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16931 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16932 * sysdeps/s390/multiarch/Makefile
16933 (sysdep_routines): Add wmemcmp functions.
16934 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16935 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16936 * benchtests/bench-wmemcmp.c: New File.
16937 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16938
16939 * sysdeps/s390/multiarch/wmemset-c.c: New File.
16940 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16941 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16942 * sysdeps/s390/multiarch/Makefile
16943 (sysdep_routines): Add wmemset functions.
16944 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16945 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16946 * wcsmbs/wmemset.c: Use WMEMSET if defined.
16947 * string/test-memset.c: Add wmemset support.
16948 * wcsmbs/test-wmemset.c: New File.
16949 * wcsmbs/Makefile (strop-tests): Add wmemset.
16950 * benchtests/bench-memset.c: Add wmemset support.
16951 * benchtests/bench-wmemset.c: New File.
16952 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16953
16954 * sysdeps/s390/multiarch/memccpy-c.c: New File.
16955 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16956 * sysdeps/s390/multiarch/memccpy.c: Likewise.
16957 * sysdeps/s390/multiarch/Makefile
16958 (sysdep_routines): Add memccpy functions.
16959 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16960 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16961 * string/memccpy.c: Use MEMCCPY if defined.
16962
16963 * sysdeps/s390/multiarch/memchr-vx.S: New File.
16964 * sysdeps/s390/multiarch/memchr.c: Likewise.
16965 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16966 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16967 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16968 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16969 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16970 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16971 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16972 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16973 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16974 and rawmemchr functions.
16975 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16976 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16977 and wmemchr.
16978 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16979 * string/test-memchr.c: Add wmemchr support.
16980 * wcsmbs/test-wmemchr.c: New File.
16981 * wcsmbs/Makefile (strop-tests): Add wmemchr.
16982 * benchtests/bench-memchr.c: Add wmemchr support.
16983 * benchtests/bench-wmemchr.c: New File.
16984 * benchtests/Makefile (wcsmbs-bench): wmemchr.
16985
16986 * sysdeps/s390/multiarch/strcspn-c.c: New File.
16987 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16988 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16989 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16990 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16991 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16992 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16993 wcscspn functions.
16994 * sysdeps/s390/multiarch/ifunc-impl-list.c
16995 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16996 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16997 * string/test-strcspn.c: Add wcscspn support.
16998 * wcsmbs/test-wcscspn.c: New File.
16999 * wcsmbs/Makefile (strop-tests): Add wcscspn.
17000 * benchtests/bench-strcspn.c: Add wcscspn support.
17001 * benchtests/bench-wcscspn.c: New File.
17002 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17003
17004 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17005 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17006 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17007 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17008 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17009 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17010 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17011 wcspbrk functions.
17012 * sysdeps/s390/multiarch/ifunc-impl-list.c
17013 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17014 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17015 * string/test-strpbrk.c: Add wcspbrk support.
17016 * wcsmbs/test-wcspbrk.c: New File.
17017 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17018 * benchtests/bench-strpbrk.c: Add wcspbrk support.
17019 * benchtests/bench-wcspbrk.c: New File.
17020 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17021
17022 * sysdeps/s390/multiarch/strspn-c.c: New File.
17023 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17024 * sysdeps/s390/multiarch/strspn.c: Likewise.
17025 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17026 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17027 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17028 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17029 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17030 wcsspn functions.
17031 * sysdeps/s390/multiarch/ifunc-impl-list.c
17032 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17033 * string/test-strspn.c: Add wcsspn support.
17034 * wcsmbs/test-wcsspn.c: New File.
17035 * wcsmbs/Makefile (strop-tests): Add wcsspn.
17036 * benchtests/bench-strspn.c: Add wcsspn support.
17037 * benchtests/bench-wcsspn.c: New File.
17038 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17039
17040 * sysdeps/s390/multiarch/strrchr-c.c: New File.
17041 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17042 * sysdeps/s390/multiarch/strrchr.c: Likewise.
17043 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17044 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17045 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17046 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17047 wcsrchr functions.
17048 * sysdeps/s390/multiarch/ifunc-impl-list.c
17049 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17050 * benchtests/bench-wcsrchr.c: New File.
17051 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17052
17053 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17054 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17055 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17056 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17057 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17058 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17059 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17060 wcschrnul functions.
17061 * sysdeps/s390/multiarch/ifunc-impl-list.c
17062 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17063 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17064 * string/test-strchr.c: Add wcschrnul support.
17065 * wcsmbs/test-wcschrnul.c: New File.
17066 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17067 * benchtests/bench-strchr.c: Add wcschrnul support.
17068 * benchtests/bench-wcschrnul.c: New File.
17069 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17070
17071 * sysdeps/s390/multiarch/strchr-c.c: New File.
17072 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17073 * sysdeps/s390/multiarch/strchr.c: Likewise.
17074 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17075 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17076 * sysdeps/s390/multiarch/wcschr.c: Likewise.
17077 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17078 wcschr functions.
17079 * sysdeps/s390/multiarch/ifunc-impl-list.c
17080 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17081 * string/strchr.c (STRCHR): Define and use macro.
17082 * benchtests/bench-wcschr.c: New File.
17083 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17084
17085 * sysdeps/s390/multiarch/strncmp-c.c: New File.
17086 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17087 * sysdeps/s390/multiarch/strncmp.c: Likewise.
17088 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17089 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17090 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17091 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17092 wcsncmp functions.
17093 * sysdeps/s390/multiarch/ifunc-impl-list.c
17094 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17095 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17096 * benchtests/bench-strncmp.c: Add wcsncmp support.
17097 * benchtests/bench-wcsncmp.c: New File.
17098 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17099
17100 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17101 * sysdeps/s390/multiarch/strcmp.c: Likewise.
17102 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17103 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17104 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17105 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17106 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17108 wcscmp functions.
17109 * sysdeps/s390/multiarch/ifunc-impl-list.c
17110 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17111 * string/strcmp.c (STRCMP): Define and use macro.
17112 * benchtests/bench-wcscmp.c: New File.
17113 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17114 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17115 instead of _HAVE_STRING_ARCH_memchr.
17116
17117 * sysdeps/s390/multiarch/strncat-c.c: New File.
17118 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17119 * sysdeps/s390/multiarch/strncat.c: Likewise.
17120 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17121 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17122 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17123 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17124 wcsncat functions.
17125 * sysdeps/s390/multiarch/ifunc-impl-list.c
17126 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17127 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17128 * string/test-strncat.c: Add wcsncat support.
17129 * wcsmbs/test-wcsncat.c: New File.
17130 * wcsmbs/Makefile (strop-tests): Add wcsncat.
17131 * benchtests/bench-strncat.c: Add wcsncat support.
17132 * benchtests/bench-wcsncat.c: New File.
17133 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17134
17135 * sysdeps/s390/multiarch/strcat-c.c: New File.
17136 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17137 * sysdeps/s390/multiarch/strcat.c: Likewise.
17138 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17139 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17140 * sysdeps/s390/multiarch/wcscat.c: Likewise.
17141 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17142 wcscat functions.
17143 * sysdeps/s390/multiarch/ifunc-impl-list.c
17144 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17145 * string/strcat.c (STRCAT): Define and use macro.
17146 * wcsmbs/wcscat.c: Use WCSCAT if defined.
17147 * string/test-strcat.c: Add wcscat support.
17148 * wcsmbs/test-wcscat.c: New File.
17149 * wcsmbs/Makefile (strop-tests): Add wcscat.
17150 * benchtests/bench-strcat.c: Add wcscat support.
17151 * benchtests/bench-wcscat.c: New File.
17152 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17153
17154 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17155 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17156 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17157 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17158 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17159 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17160 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17161 wcpncpy functions.
17162 * sysdeps/s390/multiarch/ifunc-impl-list.c
17163 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17164 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17165 * string/test-stpncpy.c: Add wcpncpy support.
17166 * wcsmbs/test-wcpncpy.c: New File.
17167 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17168 * benchtests/bench-stpncpy.c: Add wcpncpy support.
17169 * benchtests/bench-wcpncpy.c: New File.
17170 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17171
17172 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17173 * sysdeps/s390/multiarch/strncpy.c: Likewise.
17174 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17175 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17176 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17177 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17178 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17179 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17180 wcsncpy functions.
17181 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17182 * sysdeps/s390/multiarch/ifunc-impl-list.c
17183 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17184 * string/test-strncpy.c: Add wcsncpy support.
17185 * wcsmbs/test-wcsncpy.c: New File.
17186 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17187 * benchtests/bench-strncpy.c: Add wcsncpy support.
17188 * benchtests/bench-wcsncpy.c: New File.
17189 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17190
17191 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17192 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17193 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17194 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17195 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17196 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17197 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17198 wcpcpy functions.
17199 * string/stpcpy.c: Use STPCPY if defined.
17200 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17201 * sysdeps/s390/multiarch/ifunc-impl-list.c
17202 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17203 * string/test-stpcpy.c: Add wcpcpy support.
17204 * wcsmbs/test-wcpcpy.c: New File.
17205 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17206 * benchtests/bench-stpcpy.c: Add wcpcpy support.
17207 * benchtests/bench-wcpcpy.c: New File.
17208 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17209
17210 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17211 * sysdeps/s390/multiarch/strcpy.c: Likewise.
17212 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17213 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17214 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17215 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17216 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17217 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17218 wcscpy functions.
17219 * sysdeps/s390/multiarch/ifunc-impl-list.c
17220 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17221 * benchtests/bench-wcscpy.c: New File.
17222 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17223
17224 * sysdeps/s390/multiarch/strnlen-c.c: New File.
17225 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17226 * sysdeps/s390/multiarch/strnlen.c: Likewise.
17227 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17228 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17229 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17230 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17231 wcsnlen functions.
17232 * sysdeps/s390/multiarch/ifunc-impl-list.c
17233 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17234 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17235 * string/test-strnlen.c: Add wcsnlen support.
17236 * wcsmbs/test-wcsnlen.c: New File.
17237 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17238 * benchtests/bench-strnlen.c: Add wcsnlen support.
17239 * benchtests/bench-wcsnlen.c: New File.
17240 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17241
17242 * sysdeps/s390/multiarch/Makefile: New File.
17243 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17244 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17245 * sysdeps/s390/multiarch/strlen.c: Likewise.
17246 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17247 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17248 * sysdeps/s390/multiarch/wcslen.c: Likewise.
17249 * string/strlen.c (STRLEN): Define and use macro.
17250 * sysdeps/s390/multiarch/ifunc-impl-list.c
17251 (IFUNC_VX_IMPL): New macro function.
17252 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17253 * benchtests/Makefile (wcsmbs-bench): New variable.
17254 (string-bench-all): Added wcsmbs-bench.
17255 * benchtests/bench-wcslen.c: New File.
17256
17257 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17258 s390_vx_libc_ifunc2): New macro function.
17259
17260 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17261 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17262 assembler support.
17263 * sysdeps/s390/configure: Regenerated.
17264
17265 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17266 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17267
17268 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17269 * sysdeps/s390/dl-procinfo.h: Add vector capability.
17270 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17271
17272 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17273 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17275 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17276 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17277 (memcmp, bcmp): Use __memcmp_default as alias source.
17278 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17279 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17280 Rename to __memcmp_default.
17281 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17282 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17283 (memcpy): Use __memcpy_default as alias source.
17284 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17285 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17286 Rename to __memcpy_default.
17287 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17288 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17289 (memset): Use __memset_default as alias source.
17290 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17291 * sysdeps/s390/s390-32/memset.S (__memset_g5):
17292 Rename to __memset_default.
17293 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17294 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17295 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17296 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17297 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17298 (memcmp, bcmp): Use __memcmp_default as alias source.
17299 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17300 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17301 Rename to __memcmp_default.
17302 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17303 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17304 (memcpy): Use __memcpy_default as alias source.
17305 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17306 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17307 Rename to __memcpy_default.
17308 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17309 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17310 (memset): Use __memset_default as alias source.
17311 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17312 * sysdeps/s390/s390-64/memset.S (__memset_z900):
17313 Rename to __memset_default.
17314 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17315 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17316
17317 [BZ #18610]
17318 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17319 __ieee_instruction_pointer to __unused.
17320 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17321 __ieee_instruction_pointer.
17322 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17323 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17324 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17325 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17326 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17327 Mark dxc-field as reserved.
17328
17329 2015-08-25 Roland McGrath <roland@hack.frob.com>
17330
17331 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17332 if the weak reference is not null.
17333
17334 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
17335
17336 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17337
17338 [BZ #11214]
17339 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17340
17341 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17342
17343 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17344 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17345 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17346 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17347 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17348 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17349 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17350 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17351 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17352 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17353 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17354 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17355 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17356 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17357 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17358 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17359 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17360 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17361
17362 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17363
17364 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17365 register other than r0 for tabort, it has special meaning.
17366 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17367 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17368 transaction before starting syscall.
17369
17370 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17371
17372 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17373
17374 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
17375
17376 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17377
17378 * sysdeps/x86_64/rtld-memcmp.c: Removed.
17379 * sysdeps/x86_64/rtld-memset.S: Likewise.
17380 * sysdeps/x86_64/rtld-strchr.S: Likewise.
17381 * sysdeps/x86_64/rtld-strlen.S: Likewise.
17382 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17383 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17384
17385 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17386
17387 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
17388
17389 * debug/strcpy_chk.c: Improve performance.
17390 * debug/stpcpy_chk.c: Likewise.
17391 * sysdeps/x86_64/strcpy_chk.S: Remove.
17392 * sysdeps/x86_64/stpcpy_chk.S: Remove.
17393
17394 [BZ #18240]
17395 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17396
17397 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
17398
17399 [BZ #15128]
17400 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17401 ifuncmain8.
17402 (modules-names): Add ifuncmod8.
17403 ($(objpfx)ifuncmain8): New rule.
17404 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17405 <cpuid.h>.
17406 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17407 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17408 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17409 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17410 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17411 * sysdeps/x86_64/dl-trampoline.h: Likewise.
17412 * sysdeps/x86_64/ifuncmain8.c: New file.
17413 * sysdeps/x86_64/ifuncmod8.c: Likewise.
17414 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17415 Removed.
17416 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17417 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17418 Change rtld_savespace_sse to __glibc_unused2.
17419 (RTLD_CHECK_FOREIGN_CALL): Removed.
17420 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17421 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17422 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17423
17424 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
17425
17426 * sysdeps/aarch64/bzero.S (__bzero): Remove.
17427
17428 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
17429
17430 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17431 Unconditionally set __fpcr to avoid uninialized warning.
17432 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17433
17434 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17435
17436 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17437 is corrupt.
17438
17439 * malloc/arena.c (arena_get2): Drop unused argument.
17440 (arena_lock): Adjust.
17441 (arena_get_retry): Likewise.
17442
17443 2015-08-24 Andreas Schwab <schwab@suse.de>
17444
17445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17446 Don't define.
17447 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17448 (__ASSUME_IPC64): Don't undef.
17449 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17450 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17451 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17452 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17453 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17454 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17455 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17456 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17457 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17458 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17459 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17460 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17461 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17462 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17463 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17464 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17465 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17466 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17467 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17468 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17469 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17470
17471 2015-08-21 Mike Frysinger <vapier@gentoo.org>
17472
17473 * manual/Makefile (install): Only build manual when perl is available.
17474
17475 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17476
17477 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17478 '#undef memcpy' by '#undef memchr'.
17479
17480 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17481
17482 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17483 memchr not point to the internal __GI_memchr implementation.
17484
17485 2015-08-20 Joseph Myers <joseph@codesourcery.com>
17486
17487 * timezone/Makefile (CFLAGS-zdump.c): Remove
17488 -Wno-strict-prototypes.
17489 (CFLAGS-zic.c): Likewise.
17490 (CFLAGS-ialloc.c): Likewise.
17491 (CFLAGS-scheck.c): Likewise.
17492
17493 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17494 -Wno-error=undef.
17495
17496 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
17497
17498 * i386/i686/multiarch/strcasestr-c.c: Removed.
17499 * x86_64/multiarch/strcasestr.c: Likewise.
17500 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17501 Remove strcasestr.
17502
17503 2015-08-20 Joseph Myers <joseph@codesourcery.com>
17504
17505 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17506
17507 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17508 variables for high and low parts before possibly modifying them.
17509
17510 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17513 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17514 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17515 of "multiarch/init-arch.h".
17516 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17517 * sysdeps/x86/init-arch.h: This.
17518
17519 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
17520
17521 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17522 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17523
17524 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
17525
17526 [BZ #17787]
17527 * manual/macros.texi: Add twoexp macro.
17528 * manual/filesys.texi: Fix exponents.
17529 * manual/llio.texi: Likewise.
17530 * manual/stdio.texi: Likewise.
17531
17532 2015-08-20 Florian Weimer <fweimer@redhat.com>
17533
17534 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17535 incorrect use.
17536
17537 2015-08-19 Joseph Myers <joseph@codesourcery.com>
17538
17539 [BZ #18370]
17540 * math/s_csqrt.c (__csqrt): Force underflow exception for results
17541 whose real or imaginary part has small absolute value.
17542 * math/s_csqrtf.c (__csqrtf): Likewise.
17543 * math/s_csqrtl.c (__csqrtl): Likewise.
17544 * math/auto-libm-test-in: Add more tests of csqrt.
17545 * math/auto-libm-test-out: Regenerated.
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547
17548 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
17549
17550 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17551 __ppc_set_ppr_very_low): New functions.
17552 * manual/platform.texi: Add documentation about
17553 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17554
17555 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
17556
17557 * string/stpncpy.c (stpncpy): Improve performance using
17558 __strnlen/memcpy/memset.
17559
17560 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
17561
17562 [BZ #18796]
17563 * scripts/test-installation.pl: Don't add -lmvec to build options if
17564 libmvec wasn't built.
17565
17566 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
17567
17568 [BZ #14341]
17569 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17570 case when there is a gap between DT_REL and DT_JMPREL sections.
17571 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17572 (LDFLAGS-tst-split-dynreloc): New.
17573 (tst-split-dynreloc-ENV): Likewise.
17574 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17575 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17576
17577 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
17578
17579 [BZ #18822]
17580 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17581 attribute_hidden.
17582 (__xstat64_conv): Likewise.
17583 (__xstat32_conv): Likewise.
17584
17585 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
17586
17587 [BZ #18822]
17588 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17589 Don't load %ebx when calling __setcontext. Call __setcontext
17590 with HIDDEN_JUMPTARGET.
17591 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17592 libc_hidden_def.
17593
17594 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
17595
17596 * sysdeps/i386/i686/Makefile
17597 [$(subdir) == string] (sysdep_routines): Moved to ...
17598 * sysdeps/i386/Makefile: Here.
17599 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17600 * sysdeps/i386/cacheinfo.c: Here.
17601 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17602 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17603 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17604 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17605
17606 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
17607
17608 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17609 __i586__ is defined.
17610 (HAS_I686): Defined to 1 if __i686__ is defined.
17611
17612 2015-08-19 Joseph Myers <joseph@codesourcery.com>
17613
17614 * elf/Makefile [$(have-z-execstack) = yes]
17615 (CPPFLAGS-tst-execstack.c): New variable.
17616
17617 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17618 conditional to [defined UTMPX || _HAVE_UT_TYPE].
17619 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17620 UTMPX || _HAVE_UT_TV].
17621 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17622 UTMPX || _HAVE_UT_TV - 0].
17623
17624 2015-08-18 Joseph Myers <joseph@codesourcery.com>
17625
17626 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17627 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17628 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17629
17630 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17631
17632 * sysdeps/powerpc/dl-procinfo.c:
17633 (_dl_powerpc_cap_flags): Added missing strings for some
17634 hwcap features.
17635 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17636
17637 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
17638
17639 Port the 0x7efe...feff pattern to GCC 6.
17640 See Steve Ellcey's bug report in:
17641 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17642 * string/memrchr.c (MEMRCHR):
17643 * string/rawmemchr.c (RAWMEMCHR):
17644 * string/strchr.c (strchr):
17645 * string/strchrnul.c (STRCHRNUL):
17646 Rewrite code to avoid issues with signed shift overflow.
17647
17648 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17651 whether cpuid is available only if HAS_CPUID is 0.
17652 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17653 (HAS_I586): Likewise.
17654 (HAS_I686): Likewise.
17655
17656 2015-08-18 Zack Weinberg <zackw@panix.com>
17657
17658 * misc/Versions (libc): Add GLIBC_2.23.
17659
17660 2015-08-18 Alan Modra <amodra@gmail.com>
17661
17662 [BZ #18421]
17663 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17664 .Lp__global.
17665 (_start): Load %dp via .Lp__global.
17666 [!SHARED]: Use .section .rodata.
17667
17668 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17669
17670 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17671 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17672
17673 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17674
17675 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17676 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17677
17678 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17679
17680 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17681 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17682
17683 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17684
17685 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17686 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17687
17688 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17689
17690 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17691 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17692
17693 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17694
17695 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17696 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17697
17698 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17699
17700 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17701
17702 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17703
17704 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17705 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
17706 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17707 (__ASSUME_LWS_CAS): Delete.
17708
17709 2015-08-18 Mike Frysinger <vapier@gentoo.org>
17710
17711 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17712 * sysdeps/hppa/configure: Regenerated.
17713 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17714 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17715 * sysdeps/hppa/nptl/tls.h: Likewise.
17716
17717 2015-08-17 Joseph Myers <joseph@codesourcery.com>
17718
17719 [BZ #18823]
17720 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17721 for scaling up small arguments.
17722 * math/s_csqrtf.c (__csqrtf): Likewise.
17723 * math/s_csqrtl.c (__csqrtl): Likewise.
17724 * math/auto-libm-test-in: Add more tests of csqrt.
17725 * math/auto-libm-test-out: Regenerated.
17726
17727 2015-08-17 Andreas Schwab <schwab@suse.de>
17728
17729 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17730 version set GLIBC_2.19.
17731
17732 2015-08-16 Zack Weinberg <zackw@panix.com>
17733
17734 [BZ #18681]
17735 * misc/regexp.h: This interface is no longer supported.
17736 Remove all contents, leaving only an #error directive.
17737 * misc/regexp.c (loc1, loc2, locs, step, advance):
17738 Demote to compatibility symbols.
17739
17740 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
17741
17742 [BZ #18084]
17743 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17744 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17745 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17746 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17747 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17748 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17749 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17750 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17751 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17752
17753 2015-08-15 Zack Weinberg <zackw@panix.com>
17754
17755 [BZ #18795]
17756 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17757 buffer length is known to be too large, not if it's known to be
17758 small enough.
17759 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17760 overflow at runtime, involving a length parameter, twice: once
17761 with a compile-time constant length parameter, once without.
17762
17763 2015-08-14 Joseph Myers <joseph@codesourcery.com>
17764
17765 [BZ #18824]
17766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17767 scaling x * y up instead of down.
17768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17770 * math/auto-libm-test-in: Add more tests of fma.
17771 * math/auto-libm-test-out: Regenerated.
17772
17773 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
17774
17775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17776
17777 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17778
17779 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17780 unnecessary movq.
17781 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17782 Likewise.
17783
17784 2015-08-13 Joseph Myers <joseph@codesourcery.com>
17785
17786 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17787 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17788 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17789 and tgamma.
17790 * math/auto-libm-test-out: Regenerated.
17791 * sysdeps/i386/fpu/libm-test-ulps: Update.
17792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17793
17794 [BZ #16520]
17795 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17796 (__tanh): Force underflow exception for arguments with small
17797 absolute value.
17798 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17799 (__tanhf): Force underflow exception for arguments with small
17800 absolute value.
17801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17802 (__tanhl): Force underflow exception for arguments with small
17803 absolute value.
17804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17805 (__tanhl): Force underflow exception for arguments with small
17806 absolute value.
17807 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17808 (__tanhl): Force underflow exception for arguments with small
17809 absolute value.
17810 * math/auto-libm-test-in: Add more tests of tanh.
17811 * math/auto-libm-test-out: Regenerated.
17812 * sysdeps/i386/fpu/libm-test-ulps: Update.
17813
17814 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17815
17816 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17817 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17818
17819 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17820
17821 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17822 <cpuid.h>.
17823
17824 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17825
17826 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17827 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17828
17829 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17830
17831 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17832 Remove $(objpfx)init-arch.o.
17833 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17834 init-arch.
17835 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17836 (INIT_ARCH_EXT): Defined as empty.
17837 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17838 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17839 __init_cpu_features call. Replace HAS_XXX with
17840 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17841 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17842 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17843 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17844 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17845 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17846 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17847 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17848 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17849 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17850 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17851 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17852 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17853 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17856 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17858 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17859 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17860 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17861 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17862 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17863 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17864 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17865 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17866 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17867 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17868 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17869 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17870 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17871 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17872 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17873 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17874 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17875 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17876
17877 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17878
17879 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17880 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17881 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17882 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17883 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17884 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17885 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17886 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17887 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17888 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17889 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17890 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
17891 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17894 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17896 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17900 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17901 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17903 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17904 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17907 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17908 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17909 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17910 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17911 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17913 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17914 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17919 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17921 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17922
17923 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17924
17925 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17926 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17930 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17931 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17933 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17936 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17937 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17938 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17939 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17940 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17941 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17942 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17943 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17944 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17946 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17947 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17948 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17949 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17950 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17951 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17952 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
17953 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17954 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17955 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17956 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17957 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17958 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17959 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17960 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17961 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17962 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17963 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17964 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17965 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17966 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17967 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17968
17969 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17970
17971 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17972 (dl_platform_init): Call init_cpu_features.
17973 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17974 * sysdeps/i386/i686/cacheinfo.c
17975 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17976 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17977 * sysdeps/i386/i686/multiarch/Versions: Removed.
17978 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17979 Removed.
17980 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17981 * sysdeps/unix/sysv/linux/x86/Makefile
17982 (libpthread-sysdep_routines): Remove init-arch.
17983 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17984 <sysdeps/x86_64/dl-procinfo.c> instead of
17985 sysdeps/generic/dl-procinfo.c>.
17986 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17987 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17988 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17989 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17990 [$(subdir) == elf] (tests-static): Add
17991 tst-get-cpu-features-static.
17992 * sysdeps/x86/Versions: New file.
17993 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17994 * sysdeps/x86/cpu-features.c: Likewise.
17995 * sysdeps/x86/cpu-features.h: Likewise.
17996 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17997 * sysdeps/x86/libc-start.c: Likewise.
17998 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17999 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18000 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18001 * sysdeps/x86_64/dl-procinfo.c: Likewise.
18002 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18003 Assume USE_MULTIARCH is defined and don't check it.
18004 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18005 (is_amd): Likewise.
18006 (max_cpuid): Likewise.
18007 (intel_check_word): Likewise.
18008 (__cache_sysconf): Don't call __init_cpu_features.
18009 (__x86_preferred_memory_instruction): Removed.
18010 (init_cacheinfo): Don't call __init_cpu_features. Replace
18011 __cpu_features with GLRO(dl_x86_cpu_features).
18012 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18013 (dl_platform_init): Call init_cpu_features.
18014 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18015 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18016 * sysdeps/x86_64/multiarch/Versions: Removed.
18017 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18018 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18019 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18020 Removed.
18021 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18022
18023 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18024
18025 [BZ #18820]
18026 * libio/Makefile (test-fmemopen-mem): New test.
18027 * libio/test-fmemopen.c (do_bz18820): New test.
18028 * libio/fmemopen.c (__fmemopen): Fix memory leak.
18029 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18030
18031 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18032
18033 [BZ #16734]
18034 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18035 (FREE_BUF): Delete.
18036 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18037 * libio/genops.c (_IO_setb): Use malloc and free directly.
18038 (_IO_default_doallocate, _IO_default_finish): Likewise.
18039 ( _IO_unbuffer_all): Likewise.
18040 ( libc_freeres_fn): Likewise.
18041 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18042 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18043 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18044 (_IO_wdefault_doallocate): Likewise.
18045
18046 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18047
18048 [BZ #18086]
18049 * sysdeps/posix/nice.c (nice): Restore old errno.
18050 * posix/tst-nice.c (do_test): Add test for BZ #18086.
18051
18052 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
18053
18054 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18055
18056 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18057
18058 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18059 __bcopy and add a weak_alias to bcopy.
18060 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18061 for static build.
18062
18063 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18064 cleanup macro usage.
18065 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18066 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18067 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18068 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18069 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18070 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18071 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18072 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18073 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18074 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18076 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18077 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18078 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18079 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18080 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18081 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18082 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18083 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18084
18085 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18086 libc_hidden_def.
18087 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18088
18089 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18090 (sysdep_routines): Add strstr-ppc64.
18091 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18092
18093 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
18094
18095 [BZ #18778]
18096 * elf/Makefile (tests): Add Add tst-nodelete2.
18097 (modules-names): Add tst-nodelete2mod.
18098 (tst-nodelete2mod.so-no-z-defs): New.
18099 ($(objpfx)tst-nodelete2): Likewise.
18100 ($(objpfx)tst-nodelete2.out): Likewise.
18101 (LDFLAGS-tst-nodelete2): Likewise.
18102 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18103 out of loop through all loaded libraries.
18104 * elf/tst-nodelete2.c: New file.
18105 * elf/tst-nodelete2mod.c: Likewise.
18106 * elf/tst-znodelete-zlib.cc: Delete.
18107
18108 2015-08-11 Andreas Schwab <schwab@suse.de>
18109
18110 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18111 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18112 (__openat64_nocancel): Likewise.
18113
18114 2015-08-11 Joseph Myers <joseph@codesourcery.com>
18115
18116 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18117 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18118 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18119 * math/auto-libm-test-out: Regenerated.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18122
18123 2015-08-10 Joseph Myers <joseph@codesourcery.com>
18124
18125 [BZ #18790]
18126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18127 threshold for returning +/- 1.
18128 * math/auto-libm-test-in: Add more tests of tanh.
18129 * math/auto-libm-test-out: Regenerated.
18130 * sysdeps/i386/fpu/libm-test-ulps: Update.
18131
18132 2015-08-10 Andreas Schwab <schwab@suse.de>
18133
18134 [BZ #18781]
18135 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18136 MORE_OFLAGS to oflag.
18137 * io/test-lfs.c (do_test): Test openat64.
18138
18139 2015-08-10 Joseph Myers <joseph@codesourcery.com>
18140
18141 [BZ #18789]
18142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18143 smaller threshold for returning the argument.
18144 * math/auto-libm-test-in: Add more tests of sinh.
18145 * math/auto-libm-test-out: Regenerated.
18146 * sysdeps/i386/fpu/libm-test-ulps: Update.
18147
18148 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
18149
18150 [BZ #18674]
18151 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18152 break.
18153
18154 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
18155
18156 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18157 (generated): Don't add $(addprefix z.,$(tzfiles)).
18158
18159 2015-08-09 Mike Frysinger <vapier@gentoo.org>
18160
18161 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18162 * scripts/sysd-rules.awk: Likewise.
18163
18164 2015-08-09 Mike Frysinger <vapier@gentoo.org>
18165
18166 * iconvdata/tst-tables.sh: Change echo -n to printf.
18167 * nss/db-Makefile: Likewise.
18168 * posix/tst-getconf.sh: Likewise.
18169 * stdio-common/tst-unbputc.sh: Likewise.
18170
18171 2015-08-09 Mike Frysinger <vapier@gentoo.org>
18172
18173 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18174 MADV_*_PAGES defines behind this feature check.
18175
18176 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
18177
18178 [BZ #18480]
18179 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18180 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18181 Define.
18182 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18183 LOAD_REGS_5, LOAD_REGS_6): Update.
18184 (INTERNAL_SYSCALL): Update using new LOAD defines.
18185 (INTERNAL_SYSCALL_NCS): Likewise.
18186 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18187
18188 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18189
18190 [BZ #16734]
18191 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18192
18193 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18194
18195 [BZ #17905]
18196 * catgets/Makefile (tst-catgets-mem): New test.
18197 * catgets/catgets.c (catopen): Don't use unbounded alloca.
18198 * catgets/open_catalog.c (__open_catalog): Likewise.
18199 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18200
18201 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
18202
18203 [BZ #18787]
18204 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18205 clobber registers.
18206 (atomic_compare_and_exchange_val_acq): Use register asms to assign
18207 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
18208 Cast return to __typeof (oldval).
18209
18210 2015-08-08 Mike Frysinger <vapier@gentoo.org>
18211
18212 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18213 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
18214 and delete sys/syscall.h include.
18215
18216 2015-08-07 Joseph Myers <joseph@codesourcery.com>
18217
18218 [BZ #16517]
18219 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18220 (tan): Force underflow exception for arguments with small absolute
18221 value.
18222 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18223 (__kernel_tanf): Force underflow exception for arguments with
18224 small absolute value.
18225 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18226 (__kernel_tanl): Force underflow exception for arguments with
18227 small absolute value.
18228 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18229 (__kernel_tanl): Force underflow exception for arguments with
18230 small absolute value.
18231 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18232 (__kernel_tanl): Force underflow exception for arguments with
18233 small absolute value.
18234 * math/auto-libm-test-in: Add more tests of tan.
18235 * math/auto-libm-test-out: Regenerated.
18236
18237 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
18238
18239 Fix sysdeps/i386/fpu/s_scalbn.S build
18240
18241 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18242
18243 2015-08-07 Mike Frysinger <vapier@gentoo.org>
18244
18245 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18246
18247 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
18248
18249 Fix gcrt0.o compilation
18250
18251 When static-start-installed-name is different from
18252 start-installed-name, we must not use the shared objects.
18253
18254 * csu/Makefile
18255 (extra-objs): Add gmon-start.o when building shared library and
18256 $(static-start-installed-name) is different from
18257 $(start-installed-name).
18258 $(objpfx)g$(static-start-installed-name): When building shared
18259 library and $(static-start-installed-name) is different from
18260 $(static-start-installed-name), revert to non-shared rule,
18261 i.e. using $(objpfx)% and gmon-start.o.
18262
18263 2015-08-06 Joseph Myers <joseph@codesourcery.com>
18264
18265 [BZ #16519]
18266 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18267 (__ieee754_sinh): Force underflow exception for arguments with
18268 small absolute value.
18269 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18270 (__ieee754_sinhf): Force underflow exception for arguments with
18271 small absolute value.
18272 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18273 (__ieee754_sinhl): Force underflow exception for arguments with
18274 small absolute value.
18275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18276 (__ieee754_sinhl): Force underflow exception for arguments with
18277 small absolute value.
18278 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18279 (__ieee754_sinhl): Force underflow exception for arguments with
18280 small absolute value.
18281 * math/auto-libm-test-in: Add more tests of sinh.
18282 * math/auto-libm-test-out: Regenerated.
18283 * sysdeps/i386/fpu/libm-test-ulps: Update.
18284
18285 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18286
18287 * libio/oldfileops.c: Include unistd.h.
18288
18289 2015-08-06 Mike Frysinger <vapier@gentoo.org>
18290
18291 * stdlib/isomac.c: Include ctype.h.
18292
18293 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
18294
18295 * dirent/tst-seekdir.c (main): Converted to ...
18296 (do_test): ... this.
18297 (TEST_FUNCTION): New macro.
18298 Include test-skeleton.c.
18299 * elf/tst-dlmodcount.c (main): Converted to ...
18300 (do_test): ... this.
18301 (TEST_FUNCTION): New macro.
18302 Include test-skeleton.c.
18303 * elf/tst-order-main.c (main): Converted to ...
18304 (do_test): ... this.
18305 (TEST_FUNCTION): New macro.
18306 Include test-skeleton.c.
18307 * elf/tst-pie2.c (main): Converted to ...
18308 (do_test): ... this.
18309 (TEST_FUNCTION): New macro.
18310 Include test-skeleton.c.
18311 * inet/tst-ether_aton.c (main): Converted to ...
18312 (do_test): ... this.
18313 (TEST_FUNCTION): New macro.
18314 Include test-skeleton.c.
18315 * misc/tst-mntent.c (main): Converted to ...
18316 (do_test): ... this.
18317 (TEST_FUNCTION): New macro.
18318 Include test-skeleton.c.
18319 * misc/tst-tsearch.c (main): Converted to ...
18320 (do_test): ... this.
18321 (TEST_FUNCTION): New macro.
18322 Include test-skeleton.c.
18323 * posix/tst-regexloc.c (main): Converted to ...
18324 (do_test): ... this.
18325 (TEST_FUNCTION): New macro.
18326 Include test-skeleton.c.
18327 * resolv/tst-aton.c (main): Converted to ...
18328 (do_test): ... this.
18329 (TEST_FUNCTION): New macro.
18330 Include test-skeleton.c.
18331 * stdio-common/test-fwrite.c (main): Converted to ...
18332 (do_test): ... this.
18333 (TEST_FUNCTION): New macro.
18334 Include test-skeleton.c.
18335 * stdio-common/tst-ferror.c (main): Converted to ...
18336 (do_test): ... this.
18337 (TEST_FUNCTION): New macro.
18338 Include test-skeleton.c.
18339 * stdio-common/tst-printf.c (main): Converted to ...
18340 (do_test): ... this.
18341 (TEST_FUNCTION): New macro.
18342 Include test-skeleton.c.
18343 * stdio-common/tst-printfsz.c (main): Converted to ...
18344 (do_test): ... this.
18345 (TEST_FUNCTION): New macro.
18346 Include test-skeleton.c.
18347 * stdlib/tst-strtod.c (main): Converted to ...
18348 (do_test): ... this.
18349 (TEST_FUNCTION): New macro.
18350 Include test-skeleton.c.
18351 * string/tst-strlen.c (main): Converted to ...
18352 (do_test): ... this.
18353 (TEST_FUNCTION): New macro.
18354 Include test-skeleton.c.
18355 * string/tst-svc.c (main): Converted to ...
18356 (do_test): ... this.
18357 (TEST_FUNCTION): New macro.
18358 Include test-skeleton.c.
18359 * time/tst-strptime.c (main): Converted to ...
18360 (do_test): ... this.
18361 (TEST_FUNCTION): New macro.
18362 Include test-skeleton.c.
18363 * timezone/tst-timezone.c (main): Converted to ...
18364 (do_test): ... this.
18365 (TEST_FUNCTION): New macro.
18366 Include test-skeleton.c.
18367
18368 2015-08-05 Zack Weinberg <zackw@panix.com>
18369
18370 * misc/regexp.h: Update comments.
18371
18372 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
18373
18374 [BZ #18635]
18375 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18376 before return label.
18377
18378 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
18379
18380 [BZ #18661]
18381 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18382 when calling __errno_location.
18383 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18384 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18385
18386 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
18387
18388 [BZ #18661]
18389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18390 (__lll_timedwait_tid): Align stack to 16 bytes when calling
18391 __gettimeofday.
18392
18393 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
18394
18395 [BZ #18661]
18396 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18397 (__start_context): Don't use pop to restore %rdi so that stack
18398 is aligned to 16 bytes when calling __setcontext.
18399
18400 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
18401
18402 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18403 only for libc.
18404 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18405
18406 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
18407
18408 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18409 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
18410 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18411
18412 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
18413
18414 * string/memccpy.c (memccpy):
18415 Improve performance by using memchr/memcpy/__mempcpy.
18416
18417 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
18418
18419 * string/strncpy.c (strncpy):
18420 Improve performance by using __strnlen/memcpy.
18421
18422 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
18423
18424 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18425 Optimize to avoid an unnecessary FPCR read.
18426
18427 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
18428
18429 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18430 Optimize to reduce FPCR/FPSR accesses.
18431
18432 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
18433
18434 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18435 dead->data[category] != NULL.
18436
18437 2015-08-05 Joseph Myers <joseph@codesourcery.com>
18438
18439 [BZ #18647]
18440 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18441 and |x| close to 1, use absolute value of x when computing log.
18442 * math/auto-libm-test-in: Add more tests of pow.
18443 * math/auto-libm-test-out: Regenerated.
18444
18445 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18446
18447 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18448 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18449 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18450
18451 2015-08-05 Marko Myllynen <myllynen@redhat.com>
18452
18453 [BZ #18525]
18454 * locales/km_KH: Remove timezone definition.
18455 * locales/lo_LA: Likewise.
18456 * locales/my_MM: Likewise.
18457 * locales/nan_TW@latin: Likewise.
18458 * locales/th_TH: Likewise.
18459 * locales/uk_UA: Likewise.
18460
18461 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
18462
18463 [BZ #18265]
18464 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18465 (wcsncat): Likewise.
18466 (wcscmp): Likewise.
18467 (wcsncmp): Likewise.
18468
18469 2015-08-05 Mike Frysinger <vapier@gentoo.org>
18470
18471 * test-skeleton.c (usage): New function.
18472 (main): Call usage when opt is '?'.
18473
18474 2015-08-05 Mike Frysinger <vapier@gentoo.org>
18475
18476 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18477 before first use.
18478
18479 2015-08-05 Mike Frysinger <vapier@gentoo.org>
18480
18481 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18482 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
18483 in there too.
18484
18485 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
18486
18487 * version.h (RELEASE): Set to "development".
18488 (VERSION): Set to "2.22.90"
18489
18490 * version.h (RELEASE): Set to "stable".
18491 (VERSION): Set to "2.22"
18492 * include/features.h (__GLIBC_MINOR__): Set to 22.
18493
18494 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
18495
18496 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18497 Restructure macro to avoid "value computed is not used" warning.
18498 (atomic_compare_and_exchange_val_acq): Likewise.
18499
18500 2015-08-04 Andreas Schwab <schwab@suse.de>
18501
18502 [BZ #18635]
18503 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18504 ret.
18505 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18506
18507 2015-08-01 Carlos O'Donell <carlos@redhat.com>
18508
18509 * po/pl.po: Updated translation.
18510 * po/uk.po: Likewise.
18511 * po/fi.po: Likewise.
18512 * po/ko.po: Likewise.
18513 * po/ru.po: Likewise.
18514 * po/vi.po: Likewise.
18515
18516 2015-07-31 Zack Weinberg <zackw@panix.com>
18517
18518 [BZ #18681]
18519 * regexp.h: Add unconditional #warning stating that this header
18520 will be removed soon. Revise banner comment to match.
18521 (compile): Consistently use ERROR instead of RETURN to report
18522 errors (partial fix for bz#18681).
18523 * regexp.c: Don't include regexp.h. Remove some unnecessary
18524 declarations.
18525
18526 2015-07-31 Carlos O'Donell <carlos@redhat.com>
18527
18528 * po/libc.pot: Regenerated.
18529
18530 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
18531
18532 [BZ #18740]
18533 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18534 float-vlen4-arch-ext-cflags): Removed.
18535 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18536 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18537
18538 2015-07-30 Mike Frysinger <vapier@gentoo.org>
18539
18540 [BZ #14113]
18541 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18542 aligned to __aligned__.
18543 (pthread_cond_t, pthread_rwlock_t): Likewise.
18544
18545 2015-07-30 Torvald Riegel <triegel@redhat.com>
18546
18547 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18548
18549 2015-07-30 Mike Frysinger <vapier@gentoo.org>
18550
18551 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18552 (struct sigaction): Change sa_flags from a long to an int, and add
18553 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18554
18555 2015-07-30 Mike Frysinger <vapier@gentoo.org>
18556
18557 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18558 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18559 sysdeps/generic/sysdep.h include.
18560 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18561 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
18562 sysdeps/hppa/sysdep.h.
18563 (ENTRY, PSEUDO): Undefine before defining.
18564
18565 2015-07-30 Mike Frysinger <vapier@gentoo.org>
18566
18567 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18568 from scratch to use INTERNAL_SYSCALL.
18569
18570 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
18571
18572 [BZ #18078]
18573 * scripts/check-localplt.awk: Support alternate relocations.
18574 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18575 sections.
18576 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18577 malloc entries with + REL R_386_GLOB_DAT.
18578 * sysdeps/x86_64/localplt.data: New file.
18579
18580 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
18581
18582 [BZ #18731]
18583 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18584 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18585 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18586
18587 2015-07-27 Mike Frysinger <vapier@gentoo.org>
18588
18589 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18590
18591 2015-07-27 Mike Frysinger <vapier@gentoo.org>
18592
18593 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18594 directly in terms of __sync_fetch_and_add and delete (int) cast.
18595
18596 2015-07-27 Mike Frysinger <vapier@gentoo.org>
18597
18598 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18599 the -D_ASM_IA64_CURRENT_H flag.
18600
18601 2015-07-27 Mike Frysinger <vapier@gentoo.org>
18602
18603 [BZ #18641]
18604 * pwd/pwd.h (putpwent): Delete __nonnull markings.
18605
18606 2015-07-27 Andreas Schwab <schwab@suse.de>
18607
18608 * conform/conformtest.pl (checknamespace): Filter out string
18609 literals while tokenizing.
18610
18611 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
18612
18613 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18614 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18615 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18616
18617 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
18618
18619 * nptl/tst-join7mod.c: Add #include <string.h>.
18620
18621 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
18622
18623 * sysdeps/nios2/libm-test-ulps: Update.
18624
18625 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
18626
18627 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18628 Fix order of arguments to the rt_sigprocmask syscall.
18629 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18630 Likewise.
18631
18632 2015-07-24 Roland McGrath <roland@hack.frob.com>
18633
18634 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18635
18636 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18637
18638 [BZ #18457]
18639 * nptl/Makefile (tests): New test case tst-join7.
18640 (modules-names): New test case module tst-join7mod.
18641 * nptl/tst-join7.c: New file.
18642 * nptl/tst-join7mod.c: New file.
18643 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18644 all translation units in libc.so, libpthread.so and rtld.
18645
18646 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18647
18648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18649
18650 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
18651
18652 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18653 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18654 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18655 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18656 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18657 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18658 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18660 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18661 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18662 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18663 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18664 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18665 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18666 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18667 implementation.
18668
18669 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
18670
18671 [BZ #17711]
18672 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18673 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18674 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18675 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18676 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18677 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18678
18679 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18680
18681 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18682 instead of just saying load lock in the comments.
18683
18684 2015-07-23 Roland McGrath <roland@hack.frob.com>
18685
18686 * sysdeps/unix/Subdirs: Moved ...
18687 * sysdeps/posix/Subdirs: ... here.
18688 * login/pty.h (struct termios, struct winsize): Add forward decls.
18689 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18690 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18691 * sysdeps/arm/nacl/libc.abilist: Updated.
18692 * sysdeps/nacl/libutil.abilist: New file.
18693
18694 * bits/signum.h: Update comments to mention 1003.1-2013 too.
18695 (SIGWINCH): New macro.
18696
18697 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18698 * sysdeps/arm/nacl/libc.abilist: Add it.
18699
18700 2015-07-23 Mike Frysinger <vapier@gentoo.org>
18701
18702 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18703
18704 2015-07-23 Mike Frysinger <vapier@gentoo.org>
18705
18706 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18707 Swap __glibc_reserved0 and sa_flags order.
18708
18709 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18710
18711 [BZ #18657]
18712 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18713 are pending TLS destructor calls.
18714 * include/link.h (struct link_map): Add concurrency note for
18715 L_TLS_DTOR_COUNT.
18716 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18717 Don't touch the link map flag. Atomically increment
18718 l_tls_dtor_count.
18719 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18720 Avoid taking the load lock and don't touch the link map flag.
18721 * stdlib/tst-tls-atexit-nodelete.c: New test case.
18722 * stdlib/Makefile (tests): Use it.
18723 * stdlib/tst-tls-atexit.c (do_test): dlopen
18724 tst-tls-atexit-lib.so again before dlclose. Add conditionals
18725 to allow tst-tls-atexit-nodelete test case to use it.
18726
18727 2015-07-22 Mike Frysinger <vapier@gentoo.org>
18728
18729 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18730 to bits/types.h.
18731 (msgqnum_t): New typedef.
18732 (msglen_t): Likewise.
18733 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
18734 and msg_qbytes type to msglen_t.
18735
18736 2015-07-22 Mike Frysinger <vapier@gentoo.org>
18737
18738 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18739 pad0 to __glibc_reserved0.
18740 (struct stat64): Likewise.
18741
18742 2015-07-22 Mike Frysinger <vapier@gentoo.org>
18743
18744 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18745 Change sa_flags from a long to an int and add __glibc_reserved0 before
18746 it for padding.
18747
18748 2015-07-22 Mike Frysinger <vapier@gentoo.org>
18749
18750 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18751 anonymous by deleting "siginfo" name.
18752
18753 2015-07-21 Roland McGrath <roland@hack.frob.com>
18754
18755 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18756 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18757 rather than __nacl_irt_filename.
18758 * sysdeps/nacl/xstat.c (__xstat): Likewise.
18759
18760 * NEWS: New item for arm-nacl port.
18761 * sysdeps/arm/nacl/libc.abilist: New file.
18762 * sysdeps/nacl/ld.abilist: New file.
18763 * sysdeps/nacl/libBrokenLocale.abilist: New file.
18764 * sysdeps/nacl/libanl.abilist: New file.
18765 * sysdeps/nacl/libcrypt.abilist: New file.
18766 * sysdeps/nacl/libdl.abilist: New file.
18767 * sysdeps/nacl/libm.abilist: New file.
18768 * sysdeps/nacl/libpthread.abilist: New file.
18769 * sysdeps/nacl/libresolv.abilist: New file.
18770 * sysdeps/nacl/librt.abilist: New file.
18771
18772 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
18773
18774 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18775 __startcontext to initialize the new context.
18776 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18777 up CFI directive to forbid further backtracing.
18778
18779 2015-07-21 Marko Myllynen <myllynen@redhat.com>
18780
18781 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18782 reference.
18783 * charmaps/ANSI_X3.4-1968: Likewise.
18784 * charmaps/BS_4730: Likewise.
18785 * charmaps/BS_VIEWDATA: Likewise.
18786 * charmaps/CP1250: Likewise.
18787 * charmaps/CP1251: Likewise.
18788 * charmaps/CP1252: Likewise.
18789 * charmaps/CP1253: Likewise.
18790 * charmaps/CP1254: Likewise.
18791 * charmaps/CP1255: Likewise.
18792 * charmaps/CP1256: Likewise.
18793 * charmaps/CSN_369103: Likewise.
18794 * charmaps/EBCDIC-DK-NO: Likewise.
18795 * charmaps/GB_1988-80: Likewise.
18796 * charmaps/GREEK-CCITT: Likewise.
18797 * charmaps/GREEK7: Likewise.
18798 * charmaps/INIS-8: Likewise.
18799 * charmaps/ISIRI-3342: Likewise.
18800 * charmaps/ISO_2033-1983: Likewise.
18801 * charmaps/ISO_5427-EXT: Likewise.
18802 * locales/POSIX: Likewise.
18803 * locales/ar_SA: Likewise.
18804 * locales/be_BY: Likewise.
18805 * locales/be_BY@latin: Likewise.
18806 * locales/ca_ES: Likewise.
18807 * locales/cs_CZ: Likewise.
18808 * locales/da_DK: Likewise.
18809 * locales/de_BE: Likewise.
18810 * locales/de_CH: Likewise.
18811 * locales/de_LU: Likewise.
18812 * locales/en_AU: Likewise.
18813 * locales/en_BW: Likewise.
18814 * locales/en_CA: Likewise.
18815 * locales/en_DK: Likewise.
18816 * locales/en_GB: Likewise.
18817 * locales/en_IE: Likewise.
18818 * locales/en_NZ: Likewise.
18819 * locales/en_ZA: Likewise.
18820 * locales/en_ZW: Likewise.
18821 * locales/es_AR: Likewise.
18822 * locales/es_BO: Likewise.
18823 * locales/es_CL: Likewise.
18824 * locales/es_CO: Likewise.
18825 * locales/es_DO: Likewise.
18826 * locales/es_EC: Likewise.
18827 * locales/es_ES: Likewise.
18828 * locales/es_HN: Likewise.
18829 * locales/es_MX: Likewise.
18830 * locales/es_PA: Likewise.
18831 * locales/es_PE: Likewise.
18832 * locales/es_PY: Likewise.
18833 * locales/es_SV: Likewise.
18834 * locales/es_US: Likewise.
18835 * locales/es_UY: Likewise.
18836 * locales/es_VE: Likewise.
18837 * locales/et_EE: Likewise.
18838 * locales/fa_IR: Likewise.
18839 * locales/fo_FO: Likewise.
18840 * locales/fr_CA: Likewise.
18841 * locales/fr_CH: Likewise.
18842 * locales/gv_GB: Likewise.
18843 * locales/he_IL: Likewise.
18844 * locales/hr_HR: Likewise.
18845 * locales/id_ID: Likewise.
18846 * locales/is_IS: Likewise.
18847 * locales/it_CH: Likewise.
18848 * locales/iw_IL: Likewise.
18849 * locales/kl_GL: Likewise.
18850 * locales/ko_KR: Likewise.
18851 * locales/kw_GB: Likewise.
18852 * locales/lg_UG: Likewise.
18853 * locales/lt_LT: Likewise.
18854 * locales/lv_LV: Likewise.
18855 * locales/mi_NZ: Likewise.
18856 * locales/nhn_MX: Likewise.
18857 * locales/nl_BE: Likewise.
18858 * locales/pl_PL: Likewise.
18859 * locales/sk_SK: Likewise.
18860 * locales/sl_SI: Likewise.
18861 * locales/sv_FI: Likewise.
18862 * locales/tl_PH: Likewise.
18863 * locales/tr_TR: Likewise.
18864 * locales/vi_VN: Likewise.
18865
18866 2015-07-21 Khem Raj <raj.khem@gmail.com>
18867
18868 [BZ #17475]
18869 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18870 of tu_IN and bh_IN.
18871
18872 2015-07-21 Mike Frysinger <vapier@gentoo.org>
18873
18874 [BZ #18694]
18875 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18876 bits/wordsize.h.
18877 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18878
18879 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18880
18881 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18882 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18883 (spawn_thread): New function.
18884 (load): Rename to reg_dtor_and_close. Move dlopen to...
18885 (do_test): ... here. Use IS_LOADED to test for its
18886 availability.
18887
18888 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
18889
18890 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18891
18892 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
18893
18894 [BZ #18696]
18895 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18896 si_addr_bnd.
18897 (si_lower): New.
18898 (si_upper): Likewise.
18899
18900 2015-07-16 David S. Miller <davem@davemloft.net>
18901
18902 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18903
18904 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18905
18906 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18907 buffer.
18908 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18909 fail output information.
18910
18911 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18912
18913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18914 and strstr-ppc64..
18915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18916 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18917 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18918 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18919 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18920
18921 2015-07-16 Mike Frysinger <vapier@gentoo.org>
18922
18923 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18924 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18925 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18926 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18927
18928 2015-07-16 Mike Frysinger <vapier@gentoo.org>
18929
18930 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18931 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18932 rtld_hidden_proto.
18933 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18934
18935 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18936
18937 * tst-nodelete-opened.c (do_test): Add comment to clarify how
18938 the test can fail.
18939
18940 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18941
18942 [BZ #18676]
18943 * elf/tst-nodelete-opened.c: New test case.
18944 * elf/tst-nodelete-opened-lib.c: New test case module.
18945 * elf/Makefile (tests, modules-names): Use them.
18946 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18947 early.
18948
18949 2015-07-15 David S. Miller <davem@davemloft.net>
18950
18951 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18952 futex-intenal.h
18953 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18954 * sysdeps/sparc/sparc64/Makefile: Likewise.
18955 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18956 Remove space from macro define.
18957 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18958
18959 2015-07-15 Pravin Satpute <psatpute@redhat.com>
18960
18961 [BZ #17475]
18962 * locale/iso-639.def: Update Bhili and Tulu language codes as
18963 per iso639-3.
18964
18965 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
18966
18967 * elf/tst-leaks1.c (main): Converted to ...
18968 (do_test): ... this.
18969 (TEST_FUNCTION): New macro.
18970 Include test-skeleton.c.
18971 * localedata/tst-langinfo.c (main): Converted to ...
18972 (do_test): ... this.
18973 (TEST_FUNCTION): New macro.
18974 Include test-skeleton.c.
18975 * math/test-fpucw.c (main): Converted to ...
18976 (do_test): ... this.
18977 (TEST_FUNCTION): New macro.
18978 Include test-skeleton.c.
18979 * math/test-tgmath.c (main): Converted to ...
18980 (do_test): ... this.
18981 (TEST_FUNCTION): New macro.
18982 Include test-skeleton.c.
18983 * math/test-tgmath2.c (main): Converted to ...
18984 (do_test): ... this.
18985 (TEST_FUNCTION): New macro.
18986 Include test-skeleton.c.
18987 * setjmp/tst-setjmp.c (main): Converted to ...
18988 (do_test): ... this.
18989 (TEST_FUNCTION): New macro.
18990 Include test-skeleton.c.
18991 * stdio-common/tst-sscanf.c (main): Converted to ...
18992 (do_test): ... this.
18993 (TEST_FUNCTION): New macro.
18994 Include test-skeleton.c.
18995 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18996 (do_test): ... this.
18997 (TEST_FUNCTION): New macro.
18998 Include test-skeleton.c.
18999
19000 * elf/tst-audit9.c (main): Converted to ...
19001 (do_test): ... this.
19002 (TEST_FUNCTION): New macro.
19003 Include test-skeleton.c.
19004
19005 2015-07-15 Mike Frysinger <vapier@gentoo.org>
19006
19007 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19008
19009 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19010
19011 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19012 New variable.
19013
19014 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
19015
19016 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19017
19018 2015-07-14 Roland McGrath <roland@hack.frob.com>
19019
19020 * sysdeps/generic/dl-fileid.h: New file.
19021 * sysdeps/posix/dl-fileid.h: New file.
19022 * sysdeps/nacl/dl-fileid.h: New file.
19023 * include/link.h: Include <dl-fileid.h>.
19024 (struct link_map): Replace l_dev and l_ino with l_file_id.
19025 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19026 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
19027 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
19028
19029 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19030
19031 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19032
19033 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19034
19035 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19036 Add iff $CXX is set.
19037 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19038 Likewise.
19039 (tst-nodelete-zmodiff): Likewise.
19040 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19041
19042 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19043
19044 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19045
19046 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
19047
19048 * sysdeps/aarch64/fpu/math_private.h
19049 (define math_opt_barrier): Add AArch64 version.
19050 (math_force_eval): Likewise.
19051
19052 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
19053
19054 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19055
19056 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
19057
19058 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19059 %ld with %jd and cast to intmax_t.
19060 (do_test_length_zero): Likewise.
19061
19062 2015-07-10 Roland McGrath <roland@hack.frob.com>
19063
19064 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19065
19066 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
19067
19068 * sysdeps/tile/libm-test-ulps: Regenerated.
19069
19070 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19071 Comment out the whole function, not just its body.
19072
19073 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19074
19075 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19076 locks.
19077
19078 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19079
19080 2015-07-10 Torvald Riegel <triegel@redhat.com>
19081
19082 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19083 (sem_assume_only_signals_cause_futex_EINTR): Remove.
19084
19085 2015-07-10 Torvald Riegel <triegel@redhat.com>
19086
19087 * sysdeps/nptl/futex-internal.h: New file.
19088 * sysdeps/nacl/futex-internal.h: New file.
19089 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19090 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19091 error checking.
19092 (setxid_unmark_thread): Likewise.
19093 (__nptl_setxid): Likewise.
19094 (__wait_lookup_done): Likewise.
19095 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19096 * nptl/nptl-init.c (sighandler_setxid): Likewise.
19097 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19098 * nptl/pthread_once.c (clear_once_control): Likewise.
19099 (__pthread_once_slow): Likewise.
19100 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19101 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19102 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19103 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19104 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19105 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19106 Likewise.
19107 (__pthread_rwlock_rdlock): Likewise.
19108 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19109 Likewise.
19110 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19111 Likewise.
19112 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19113 Likewise.
19114 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19115 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19116 Likewise.
19117 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19118 __ASSUME_PRIVATE_FUTEX check.
19119 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19120 Check that shared futexes are supported.
19121 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19122 wrappers with error checking.
19123 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19124 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19125 * nptl/pthread_barrierattr_setpshared.c
19126 (pthread_barrierattr_setpshared): Check that shared futexes are
19127 supported.
19128 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19129 Likewise.
19130 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19131 Likewise.
19132 * nptl/sem_init.c (futex_private_if_supported): Remove.
19133 (__new_sem_init): Adapt and check that shared futexes are supported.
19134 * nptl/sem_open.c (sem_open): Likewise.
19135 * nptl/sem_post.c (futex_wake): Remove.
19136 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19137 (do_futex_wait): Use futex wrappers with error checking.
19138 * nptl/sem_wait.c: Include lowlevellock.h.
19139 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19140 Use futex_supports_pshared.
19141 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19142 Use futex wrappers with error checking.
19143 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19144 Likewise.
19145 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19146 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19147 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19148 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19149 (futex_wake): Likewise.
19150 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19151 (do_futex_wait): Use futex wrappers with error checking.
19152 (__new_sem_wait_slow): Update EINTR handling.
19153 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19154
19155 2015-07-09 Martin Sebor <msebor@redhat.com>
19156
19157 [BZ #18435]
19158 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19159 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19160 * nptl/Makefile (test-xfail-tst-once5): Define.
19161
19162 2015-07-09 Roland McGrath <roland@hack.frob.com>
19163
19164 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19165 * elf/dl-minimal.c: For readability, reorder some definitions and
19166 introduce more page breaks. Include <stdio.h>.
19167 (__libc_fatal): New function.
19168
19169 * include/unistd.h: Add rtld_hidden_proto for _exit.
19170 * posix/_exit.c: Add rtld_hidden_def.
19171 * sysdeps/mach/hurd/_exit.c: Likewise.
19172 * sysdeps/nacl/_exit.c: Likewise.
19173 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19174 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19175
19176 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
19177
19178 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19179 bndmov encoding with zero displacement.
19180
19181 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
19182 H.J. Lu <hongjiu.lu@intel.com>
19183
19184 [BZ #18134]
19185 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19186 * sysdeps/i386/configure: Regenerated.
19187 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19188 (_dl_runtime_profile): Save and restore Intel MPX return bound
19189 registers when calling _dl_call_pltexit. Add
19190 PRESERVE_BND_REGS_PREFIX before return.
19191 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19192 (LRV_BND1_OFFSET): Likewise.
19193 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19194 lrv_bnd1.
19195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19196 typo in bndmov encoding.
19197 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19198 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
19199 branch instructions to preserve bounds.
19200
19201 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19202
19203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19204 [GLIBC_2.22]: Add fmemopen.
19205
19206 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
19207
19208 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19209 returns an error, also try to use host port from __mach_host_self for
19210 the __vm_wire call.
19211 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19212
19213 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
19214
19215 [BZ #18400]
19216 [BZ #18648]
19217 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19218 Fix pr_uid and pr_gid members.
19219 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19220 definition to elf_greg_t.
19221
19222 2015-07-08 Roland McGrath <roland@hack.frob.com>
19223
19224 [BZ #18383]
19225 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19226 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19227 * sysdeps/arm/configure: Regenerated.
19228 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19229 (test-xfail-tst-tlsalign-static): Variable removed.
19230
19231 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19232 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19233 rather than explicit 'ln -s'.
19234
19235 * resolv/rpc/netdb.h: New file.
19236 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19237
19238 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19239
19240 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19241 length buffers.
19242 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19243 test-skeleton.c.
19244
19245 [BZ #6544]
19246 [BZ #11216]
19247 [BZ #12836]
19248 [BZ #13151]
19249 [BZ #13152]
19250 [BZ #14292]
19251 * include/stdio.h (fmemopen): Remove hidden prototype.
19252 (__fmemopen): Add new hidden prototype.
19253 * libio/Makefile: Add oldfmemopen object.
19254 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19255 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19256 compliance.
19257 * libio/oldfmemopen.c: New file: old fmemopen implementation for
19258 symbol compatibility.
19259 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19260 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19261 fmemopen.
19262 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19263 on append and read mode.
19264 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19265 fmemopen.
19266 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19267 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19268 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19269 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19270 Likewise.
19271 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19272 [GLIBC_2.22]: Likewise.
19273 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19274 Likewise.
19275 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19276 Likewise.
19277 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19278 [GLIBC_2.22]: Likewise.
19279 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19280 [GLIBC_2.22]: Likewise.
19281 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19282 [GLIBC_2.22]: Likewise.
19283 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19284 [GLIBC_2.22]: Likewise.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19286 [GLIBC_2.22]: Likewise.
19287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19288 [GLIBC_2.22]: Likewise.
19289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19290 [GLIBC_2.22]: Likewise.
19291 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19292 Likewise.
19293 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19294 Likewise.
19295 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19296 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19297 [GLIBC_2.22]: Likewise.
19298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19299 [GLIBC_2.22]: Likewise.
19300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19301 [GLIBC_2.22]: Likewise.
19302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19303 [GLIBC_2.22]: Likewise.
19304 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19305 Likewise.
19306 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19307 Likewise.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19309 Likewise.
19310 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19311 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19312
19313 2015-07-08 Carlos O'Donell <carlos@redhat.com>
19314
19315 [BZ #18643]
19316 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19317 IPV6_PATHMTU, and IPV6_DONTFRAG.
19318
19319 2015-07-08 Feng Gao <gfree.wind@gmail.com>
19320
19321 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19322 and _IO_UNBUFFERED.
19323 * libio/oldfileops.c: Likewise.
19324 * libio/wfileops.c: Likewise.
19325
19326 2015-07-08 Mike Frysinger <vapier@gentoo.org>
19327
19328 * nscd/selinux.c: Delete selinux/flask.h include.
19329
19330 2015-07-08 Mike Frysinger <vapier@gentoo.org>
19331
19332 [BZ #18641]
19333 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19334 (putpwent): Likewise.
19335 (getpwnam): Likewise.
19336 (getpwent_r): Likewise.
19337 (getpwuid_r): Likewise.
19338 (getpwnam_r): Likewise.
19339 (fgetpwent_r): Likewise.
19340
19341 2015-07-08 Carlos O'Donell <carlos@redhat.com>
19342
19343 [BZ #18557]
19344 * inet/rcmd.c (__validuser2_sa): Check user first to
19345 short-circuit host check.
19346
19347 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
19348 Mikhail Ilin <m.ilin@samsung.com>
19349
19350 [BZ #17833]
19351 * elf/Makefile (tests): Add tst-nodelete.
19352 (modules-names): Add tst-nodelete-uniquemod.
19353 (tst-nodelete-uniquemod.so-no-z-defs): New.
19354 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19355 (tst-nodelete-zmod.so-no-z-defs): Likewise.
19356 ($(objpfx)tst-nodelete): Likewise.
19357 ($(objpfx)tst-nodelete.out): Likewise.
19358 (LDFLAGS-tst-nodelete): Likewise.
19359 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19360 * elf/dl-close.c (_dl_close_worker): Add a parameter to
19361 implement forced object deletion.
19362 (_dl_close): Pass false to _dl_close_worker.
19363 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19364 * elf/tst-nodelete.cc: New file.
19365 * elf/tst-nodeletelib.cc: Likewise.
19366 * elf/tst-znodeletelib.cc: Likewise.
19367 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19368
19369 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
19370
19371 [BZ #18508]
19372 * stdlib/Makefile ($(objpfx)tst-makecontext3):
19373 Depend on $(libdl).
19374 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19375 is not called infinitely times.
19376 (backtrace_helper): New function.
19377 (trace_arg): New struct.
19378 (st1): Enlarge stack size.
19379 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19380 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19381 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19382 Likewise.
19383
19384 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
19385
19386 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19387
19388 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
19389
19390 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19391 Include sys/types.h instead of bits/types.h.
19392 Remove inclusion of bits/wordsize.h.
19393
19394 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
19395
19396 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19397 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19398 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19399 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19400 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19401 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19402
19403 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19406 link-defines.sym.
19407 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19408 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19409 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19410 and LR_SIZE.
19411 * sysdeps/i386/link-defines.sym: New file.
19412
19413 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
19414
19415 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19416 (modules-names): Add tst-auditmod3a tst-auditmod3b.
19417 ($(objpfx)tst-audit3): New rule.
19418 ($(objpfx)tst-audit3.out): Likewise.
19419 * sysdeps/i386/tst-audit3.c: New file.
19420 * sysdeps/i386/tst-audit3.h: Likewise.
19421 * sysdeps/i386/tst-auditmod3a.c: Likewise.
19422 * sysdeps/i386/tst-auditmod3b.c: Likewise.
19423
19424 2015-07-07 Torvald Riegel <triegel@redhat.com>
19425
19426 [BZ #18633]
19427 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19428 pointer in C code.
19429 (__strcat_c): Likewise.
19430 (__strcat_g): Likewise.
19431
19432 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
19433
19434 [BZ #18592]
19435 * misc/sbrk.c: Set errno to ENOMEM on overflow.
19436
19437 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
19438
19439 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19440 New function. (__ieee754_sqrtf): New function.
19441 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19442 New function.
19443 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19444 New function.
19445
19446 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
19447
19448 * sysdeps/ieee754/support.c: Remove unused file.
19449
19450 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
19451
19452 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19453 registers instead of d ones so the layout is kernel abi compatible.
19454 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19455 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19456 Likewise.
19457
19458 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
19459
19460 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19461
19462 2015-07-01 Joseph Myers <joseph@codesourcery.com>
19463
19464 [BZ #18619]
19465 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19466 and return argument in case of subnormal argument.
19467
19468 2015-07-01 Martin Sebor <msebor@redhat.com>
19469
19470 [BZ #18435]
19471 * nptl/Makefile: Add tst-once5.cc.
19472 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19473 Remove macro redefinitions.
19474 * nptl/tst-once5.cc: New test.
19475
19476 2015-07-01 Joseph Myers <joseph@codesourcery.com>
19477
19478 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19479
19480 * sysdeps/arm/libm-test-ulps: Regenerated.
19481
19482 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19483 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19484
19485 2015-06-30 Torvald Riegel <triegel@redhat.com>
19486
19487 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19488 lll_lock_wait_private and lll_futex_wake probes.
19489
19490 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19492 Likewise.
19493 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19494 atomic_spin_nop.
19495 * sysdeps/x86_64/bits/atomic.h: Likewise.
19496 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19497 to atomic_spin_nop and move ...
19498 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19499 ... here and ...
19500 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19501 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19502 atomic_spin_nop instead of BUSY_WAIT_NOP.
19503 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19504 Likewise.
19505 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19506 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19507 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19508 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19509 instead of atomic_delay.
19510
19511 2015-06-29 Joseph Myers <joseph@codesourcery.com>
19512
19513 [BZ #18613]
19514 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19515 X_ADJ not X when adjusting exponent.
19516 (__ieee754_gamma_r): Do intermediate computations in
19517 round-to-nearest then adjust overflowing and underflowing results
19518 as needed.
19519 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19520 of X_ADJ not X when adjusting exponent.
19521 (__ieee754_gammaf_r): Do intermediate computations in
19522 round-to-nearest then adjust overflowing and underflowing results
19523 as needed.
19524 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19525 log of X_ADJ not X when adjusting exponent.
19526 (__ieee754_gammal_r): Do intermediate computations in
19527 round-to-nearest then adjust overflowing and underflowing results
19528 as needed. Use 1.0L not 1.0f as numerator of division.
19529 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19530 log of X_ADJ not X when adjusting exponent.
19531 (__ieee754_gammal_r): Do intermediate computations in
19532 round-to-nearest then adjust overflowing and underflowing results
19533 as needed. Use 1.0L not 1.0f as numerator of division.
19534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19535 of X_ADJ not X when adjusting exponent.
19536 (__ieee754_gammal_r): Do intermediate computations in
19537 round-to-nearest then adjust overflowing and underflowing results
19538 as needed. Use 1.0L not 1.0f as numerator of division.
19539 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
19540 to auto-libm-test-in.
19541 (tgamma_test): Use ALL_RM_TEST.
19542 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
19543 tests of tgamma with spurious-overflow.
19544 * math/auto-libm-test-out: Regenerated.
19545 * math/gen-libm-have-vector-test.sh: Do not check for START.
19546 * sysdeps/i386/fpu/libm-test-ulps: Update.
19547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548
19549 [BZ #18612]
19550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19551 arguments, just return 0.5 times the argument, with underflow
19552 forced as needed.
19553 * math/auto-libm-test-in: Add more tests of j1.
19554 * math/auto-libm-test-out: Regenerated.
19555
19556 [BZ #16559]
19557 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19558 (__ieee754_j1): Force underflow exception for small results.
19559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19560 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19561 (__ieee754_j1f): Force underflow exception for small results.
19562 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19563 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19565 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19566 (__ieee754_j1l): Force underflow exception for small results.
19567 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19568 * math/auto-libm-test-in: Add more tests of j1 and jn.
19569 * math/auto-libm-test-out: Regenerated.
19570
19571 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19572 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19573 (PF_MPLS): Likewise.
19574 (AF_IB): Likewise.
19575 (AF_MPLS): Likewise.
19576 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19577 value and macro.
19578 (MS_RMT_MASK): Include MS_LAZYTIME.
19579
19580 2015-06-26 Mel Gorman <mgorman@suse.de>
19581
19582 [BZ #18502]
19583 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19584 already minimal.
19585
19586 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
19587
19588 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19589 (DT_MIPS_NUM): Update.
19590 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19591 DT_MIPS_RLD_MAP_REL.
19592
19593 2015-06-25 Joseph Myers <joseph@codesourcery.com>
19594
19595 [BZ #16559]
19596 [BZ #18602]
19597 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19598 round-to-nearest internally then recompute results that
19599 underflowed to zero in the original rounding mode.
19600 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19601 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19603 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19604 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19605 * sysdeps/i386/fpu/libm-test-ulps: Update.
19606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19607
19608 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
19609
19610 * NEWS: Fixed description of link with vector math library.
19611
19612 2015-06-25 Andreas Schwab <schwab@suse.de>
19613
19614 [BZ #18549]
19615 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19616 * libio/test-fmemopen.c (do_test): Add test for it.
19617
19618 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
19619
19620 [BZ #17841]
19621 * Makeconfig (no-pie-ldflag): New.
19622 (+link): Set to $(+link-pie) if default to PIE.
19623 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19624 * config.make.in (build-pie-default): New.
19625 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
19626 is default. AC_SUBST.
19627 * configure: Regenerated.
19628 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19629
19630 2015-06-24 Roland McGrath <roland@hack.frob.com>
19631
19632 * nptl/descr.h (struct pthread): Change type of field setxid_futex
19633 to 'unsigned int'.
19634
19635 * resolv/gai_misc.h (struct waitlist): Change type of field
19636 counterp to 'volatile unsigned int *'.
19637 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19638 FUTEXADDR and OLDVAL.
19639 * resolv/getaddrinfo_a.c (getaddrinfo_a):
19640 Give local variable TOTAL type 'volatile unsigned int'.
19641 (struct async_waitlist): Change type of field counter to 'unsigned int'.
19642 * resolv/gai_suspend.c (gai_suspend):
19643 Give local variable CNTR type 'unsigned int'.
19644
19645 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19646 counterp to 'volatile unsigned int *'.
19647 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19648 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19649 (aio_suspend): Give local variable CNTR type 'unsigned int'.
19650 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19651 Give local variable TOTAL type 'volatile unsigned int'.
19652 (struct async_waitlist): Change type of field counter to 'unsigned int'.
19653
19654 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
19655
19656 [BZ #18383]
19657 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19658 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
19659 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19660 comment for i386/x86-64.
19661 (test-xfail-tst-tlsalign-extern-static): Removed.
19662
19663 2015-06-24 Joseph Myers <joseph@codesourcery.com>
19664
19665 * math/test-double.h: New file.
19666 * math/test-float.h: Likewise.
19667 * math/test-ldouble.h: Likewise.
19668 * math/test-math-inline.h: Likewise.
19669 * math/test-math-no-inline.h: Likewise.
19670 * math/test-math-scalar.h: Likewise.
19671 * math/test-math-vector.h: Likewise.
19672 * math/test-vec-loop.h: Remove file. Contents moved into
19673 test-math-vector.h.
19674 * math/libm-test.inc (MATHCONST): Do not document macro.
19675 * math/test-double.c: Include test-double.h, test-math-no-inline.h
19676 and test-math-scalar.h.
19677 (FUNC): Remove macro.
19678 (FUNC_TEST): Likewise.
19679 (FLOAT): Likewise.
19680 (MATHCONST): Likewise.
19681 (PRINTF_EXPR): Likewise.
19682 (PRINTF_XEXPR): Likewise.
19683 (PRINTF_NEXPR): Likewise.
19684 (TEST_DOUBLE): Likewise.
19685 (TEST_MATHVEC): Likewise.
19686 (__NO_MATH_INLINES): Likewise.
19687 * math/test-float.c: Include test-float.h, test-math-no-inline.h
19688 and test-math-scalar.h.
19689 (FUNC): Remove macro.
19690 (FUNC_TEST): Likewise.
19691 (FLOAT): Likewise.
19692 (MATHCONST): Likewise.
19693 (PRINTF_EXPR): Likewise.
19694 (PRINTF_XEXPR): Likewise.
19695 (PRINTF_NEXPR): Likewise.
19696 (TEST_FLOAT): Likewise.
19697 (TEST_MATHVEC): Likewise.
19698 (__NO_MATH_INLINES): Likewise.
19699 * math/test-idouble.c: Include test-double.h, test-math-inline.h
19700 and test-math-scalar.h.
19701 (FUNC): Remove macro.
19702 (FUNC_TEST): Likewise.
19703 (FLOAT): Likewise.
19704 (MATHCONST): Likewise.
19705 (PRINTF_EXPR): Likewise.
19706 (PRINTF_XEXPR): Likewise.
19707 (PRINTF_NEXPR): Likewise.
19708 (TEST_DOUBLE): Likewise.
19709 (TEST_MATHVEC): Likewise.
19710 (TEST_INLINE): Likewise.
19711 (__NO_MATH_INLINES): Likewise.
19712 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19713 test-math-scalar.h.
19714 (FUNC): Remove macro.
19715 (FUNC_TEST): Likewise.
19716 (FLOAT): Likewise.
19717 (MATHCONST): Likewise.
19718 (PRINTF_EXPR): Likewise.
19719 (PRINTF_XEXPR): Likewise.
19720 (PRINTF_NEXPR): Likewise.
19721 (TEST_FLOAT): Likewise.
19722 (TEST_MATHVEC): Likewise.
19723 (TEST_INLINE): Likewise.
19724 (__NO_MATH_INLINES): Likewise.
19725 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19726 and test-math-scalar.h.
19727 (FUNC): Remove macro.
19728 (FUNC_TEST): Likewise.
19729 (FLOAT): Likewise.
19730 (MATHCONST): Likewise.
19731 (PRINTF_EXPR): Likewise.
19732 (PRINTF_XEXPR): Likewise.
19733 (PRINTF_NEXPR): Likewise.
19734 (TEST_LDOUBLE): Likewise.
19735 (TEST_MATHVEC): Likewise.
19736 (TEST_INLINE): Likewise.
19737 (__NO_MATH_INLINES): Likewise.
19738 * math/test-ldouble.c: Include test-ldouble.h,
19739 test-math-no-inline.h and test-math-scalar.h.
19740 (FUNC): Remove macro.
19741 (FUNC_TEST): Likewise.
19742 (FLOAT): Likewise.
19743 (MATHCONST): Likewise.
19744 (PRINTF_EXPR): Likewise.
19745 (PRINTF_XEXPR): Likewise.
19746 (PRINTF_NEXPR): Likewise.
19747 (TEST_LDOUBLE): Likewise.
19748 (TEST_MATHVEC): Likewise.
19749 (__NO_MATH_INLINES): Likewise.
19750 * math/test-double-vlen2.h: Include test-double.h,
19751 test-math-no-inline.h and test-math-vector.h.
19752 (FLOAT): Remove macro.
19753 (FUNC): Likewise.
19754 (MATHCONST): Likewise.
19755 (PRINTF_EXPR): Likewise.
19756 (PRINTF_XEXPR): Likewise.
19757 (PRINTF_NEXPR): Likewise.
19758 (TEST_DOUBLE): Likewise.
19759 (TEST_MATHVEC): Likewise.
19760 (__NO_MATH_INLINES): Likewise.
19761 (CNCT): Likewise.
19762 (CONCAT): Likewise.
19763 (WRAPPER_NAME): Likewise.
19764 (WRAPPER_DECL): Likewise.
19765 (WRAPPER_DECL_ff): Likewise.
19766 (WRAPPER_DECL_fFF): Likewise.
19767 (VECTOR_WRAPPER): Likewise.
19768 (VECTOR_WRAPPER_ff): Likewise.
19769 (VECTOR_WRAPPER_fFF): Likewise.
19770 (VEC_LEN): New macro.
19771 * math/test-double-vlen4.h: Include test-double.h,
19772 test-math-no-inline.h and test-math-vector.h.
19773 (FLOAT): Remove macro.
19774 (FUNC): Likewise.
19775 (MATHCONST): Likewise.
19776 (PRINTF_EXPR): Likewise.
19777 (PRINTF_XEXPR): Likewise.
19778 (PRINTF_NEXPR): Likewise.
19779 (TEST_DOUBLE): Likewise.
19780 (TEST_MATHVEC): Likewise.
19781 (__NO_MATH_INLINES): Likewise.
19782 (CNCT): Likewise.
19783 (CONCAT): Likewise.
19784 (WRAPPER_NAME): Likewise.
19785 (WRAPPER_DECL): Likewise.
19786 (WRAPPER_DECL_ff): Likewise.
19787 (WRAPPER_DECL_fFF): Likewise.
19788 (VECTOR_WRAPPER): Likewise.
19789 (VECTOR_WRAPPER_ff): Likewise.
19790 (VECTOR_WRAPPER_fFF): Likewise.
19791 (VEC_LEN): New macro.
19792 * math/test-double-vlen8.h: Include test-double.h,
19793 test-math-no-inline.h and test-math-vector.h.
19794 (FLOAT): Remove macro.
19795 (FUNC): Likewise.
19796 (MATHCONST): Likewise.
19797 (PRINTF_EXPR): Likewise.
19798 (PRINTF_XEXPR): Likewise.
19799 (PRINTF_NEXPR): Likewise.
19800 (TEST_DOUBLE): Likewise.
19801 (TEST_MATHVEC): Likewise.
19802 (__NO_MATH_INLINES): Likewise.
19803 (CNCT): Likewise.
19804 (CONCAT): Likewise.
19805 (WRAPPER_NAME): Likewise.
19806 (WRAPPER_DECL): Likewise.
19807 (WRAPPER_DECL_ff): Likewise.
19808 (WRAPPER_DECL_fFF): Likewise.
19809 (VECTOR_WRAPPER): Likewise.
19810 (VECTOR_WRAPPER_ff): Likewise.
19811 (VECTOR_WRAPPER_fFF): Likewise.
19812 (VEC_LEN): New macro.
19813 * math/test-float-vlen4.h: Include test-float.h,
19814 test-math-no-inline.h and test-math-vector.h.
19815 (FLOAT): Remove macro.
19816 (FUNC): Likewise.
19817 (MATHCONST): Likewise.
19818 (PRINTF_EXPR): Likewise.
19819 (PRINTF_XEXPR): Likewise.
19820 (PRINTF_NEXPR): Likewise.
19821 (TEST_FLOAT): Likewise.
19822 (TEST_MATHVEC): Likewise.
19823 (__NO_MATH_INLINES): Likewise.
19824 (CNCT): Likewise.
19825 (CONCAT): Likewise.
19826 (WRAPPER_NAME): Likewise.
19827 (WRAPPER_DECL): Likewise.
19828 (WRAPPER_DECL_ff): Likewise.
19829 (WRAPPER_DECL_fFF): Likewise.
19830 (VECTOR_WRAPPER): Likewise.
19831 (VECTOR_WRAPPER_ff): Likewise.
19832 (VECTOR_WRAPPER_fFF): Likewise.
19833 (VEC_LEN): New macro.
19834 * math/test-float-vlen8.h: Include test-float.h,
19835 test-math-no-inline.h and test-math-vector.h.
19836 (FLOAT): Remove macro.
19837 (FUNC): Likewise.
19838 (MATHCONST): Likewise.
19839 (PRINTF_EXPR): Likewise.
19840 (PRINTF_XEXPR): Likewise.
19841 (PRINTF_NEXPR): Likewise.
19842 (TEST_FLOAT): Likewise.
19843 (TEST_MATHVEC): Likewise.
19844 (__NO_MATH_INLINES): Likewise.
19845 (CNCT): Likewise.
19846 (CONCAT): Likewise.
19847 (WRAPPER_NAME): Likewise.
19848 (WRAPPER_DECL): Likewise.
19849 (WRAPPER_DECL_ff): Likewise.
19850 (WRAPPER_DECL_fFF): Likewise.
19851 (VECTOR_WRAPPER): Likewise.
19852 (VECTOR_WRAPPER_ff): Likewise.
19853 (VECTOR_WRAPPER_fFF): Likewise.
19854 (VEC_LEN): New macro.
19855 * math/test-float-vlen16.h: Include test-float.h,
19856 test-math-no-inline.h and test-math-vector.h.
19857 (FLOAT): Remove macro.
19858 (FUNC): Likewise.
19859 (MATHCONST): Likewise.
19860 (PRINTF_EXPR): Likewise.
19861 (PRINTF_XEXPR): Likewise.
19862 (PRINTF_NEXPR): Likewise.
19863 (TEST_FLOAT): Likewise.
19864 (TEST_MATHVEC): Likewise.
19865 (__NO_MATH_INLINES): Likewise.
19866 (CNCT): Likewise.
19867 (CONCAT): Likewise.
19868 (WRAPPER_NAME): Likewise.
19869 (WRAPPER_DECL): Likewise.
19870 (WRAPPER_DECL_ff): Likewise.
19871 (WRAPPER_DECL_fFF): Likewise.
19872 (VECTOR_WRAPPER): Likewise.
19873 (VECTOR_WRAPPER_ff): Likewise.
19874 (VECTOR_WRAPPER_fFF): Likewise.
19875 (VEC_LEN): New macro.
19876 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19877 test-vec-loop.h.
19878 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19879 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19880 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19881 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19882 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19883 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19884 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19885
19886 2015-06-24 Roland McGrath <roland@hack.frob.com>
19887
19888 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19889 (__getlogin_r): ... this.
19890
19891 2015-06-24 Joseph Myers <joseph@codesourcery.com>
19892
19893 [BZ #18594]
19894 * math/s_ccosh.c (__ccosh): Compare with least normal value
19895 instead of comparing class with FP_SUBNORMAL.
19896 * math/s_ccoshf.c (__ccoshf): Likewise.
19897 * math/s_ccoshl.c (__ccoshl): Likewise.
19898 * math/s_cexp.c (__cexp): Likewise.
19899 * math/s_cexpf.c (__cexpf): Likewise.
19900 * math/s_cexpl.c (__cexpl): Likewise.
19901 * math/s_csin.c (__csin): Likewise.
19902 * math/s_csinf.c (__csinf): Likewise.
19903 * math/s_csinh.c (__csinh): Likewise.
19904 * math/s_csinhf.c (__csinhf): Likewise.
19905 * math/s_csinhl.c (__csinhl): Likewise.
19906 * math/s_csinl.c (__csinl): Likewise.
19907 * math/s_ctan.c (__ctan): Likewise.
19908 * math/s_ctanf.c (__ctanf): Likewise.
19909 * math/s_ctanh.c (__ctanh): Likewise.
19910 * math/s_ctanhf.c (__ctanhf): Likewise.
19911 * math/s_ctanhl.c (__ctanhl): Likewise.
19912 * math/s_ctanl.c (__ctanl): Likewise.
19913 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19914 csin, csinh, ctan and ctanh.
19915 * math/auto-libm-test-out: Regenerated.
19916 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19917 * sysdeps/i386/fpu/libm-test-ulps: Update.
19918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19919
19920 2015-06-24 Roland McGrath <roland@hack.frob.com>
19921
19922 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19923 return value is wrong, print the expected value too.
19924
19925 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
19926
19927 [BZ #18585]
19928 * elf/readlib.c (is_gdb_python_file): New.
19929 (process_file): Don't issue errors on filenames with -gdb.py
19930 suffix.
19931
19932 2015-06-24 Joseph Myers <joseph@codesourcery.com>
19933
19934 * math/auto-libm-test-in: Add more tests of csin and csinh.
19935 * math/auto-libm-test-out: Regenerated.
19936 * math/libm-test.inc (csin_test_data): Remove tests moved to
19937 auto-libm-test-in.
19938 (csinh_test_data): Likewise.
19939
19940 [BZ #18593]
19941 * math/s_csin.c (__csin): Negate before rather than after possibly
19942 overflowing multiplication.
19943 * math/s_csinf.c (__csinf): Likewise.
19944 * math/s_csinh.c (__csinh): Likewise.
19945 * math/s_csinhf.c (__csinhf): Likewise.
19946 * math/s_csinhl.c (__csinhl): Likewise.
19947 * math/s_csinl.c (__csinl): Likewise.
19948 * math/auto-libm-test-in: Add some tests of csin and csinh.
19949 * math/auto-libm-test-out: Regenerated.
19950 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19951 (csinh_test_data): Likewise.
19952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19953
19954 [BZ #18586]
19955 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19956 underflow exception for small results.
19957
19958 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
19959
19960 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19961 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19962 variable and included header.
19963 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19964 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19965 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19966 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19967 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19968 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19969 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19970 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19971 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19972 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19973 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19974 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19975 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19976 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19977 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19978 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19979
19980 2015-06-23 Joseph Myers <joseph@codesourcery.com>
19981
19982 [BZ #16526]
19983 [BZ #16538]
19984 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19985 (__sin): Force underflow exception for arguments with small
19986 absolute value.
19987 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19988 (__kernel_sinf): Force underflow exception for arguments with
19989 small absolute value.
19990 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19991 (__kernel_sincosl): Force underflow exception for arguments with
19992 small absolute value.
19993 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19994 (__kernel_sinl): Force underflow exception for arguments with
19995 small absolute value.
19996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19997 (__kernel_sincosl): Force underflow exception for arguments with
19998 small absolute value.
19999 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20000 (__kernel_sinl): Force underflow exception for arguments with
20001 small absolute value.
20002 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20003 (__kernel_sinl): Force underflow exception for arguments with
20004 small absolute value.
20005 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20006 (__kernel_sinf): Force underflow exception for arguments with
20007 small absolute value.
20008 * math/auto-libm-test-in: Add more tests of sin and sincos.
20009 * math/auto-libm-test-out: Regenerated.
20010
20011 [BZ #18245]
20012 [BZ #18583]
20013 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20014 (__kernel_standard_l): Use feholdexcept and fesetenv around
20015 conversion to double instead of special-casing overflow and
20016 underflow.
20017 * math/libm-test.inc (fmod_test_data): Add more tests.
20018 (remainder_test_data): Likewise.
20019 (sqrt_test_data): Likewise.
20020
20021 2015-06-23 Torvald Riegel <triegel@redhat.com>
20022
20023 [BZ #17403]
20024 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20025 atomic_read_barrier, atomic_write_barrier): Define.
20026 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20027 atomic_read_barrier, atomic_write_barrier): Define.
20028
20029 2015-06-23 Joseph Myers <joseph@codesourcery.com>
20030
20031 * math/Makefile [$(PERL) != no]
20032 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20033 dependency on libm-test.stmp below the inclusion of Rules.
20034
20035 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
20036
20037 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20039 and included header.
20040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20041 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20043 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20044 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20045 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20046 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20047 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20048 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20049 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20050 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20051 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20052 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20053 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20054 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20055 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20056 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20057 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20058 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20059
20060 2015-06-23 Joseph Myers <joseph@codesourcery.com>
20061
20062 [BZ #18371]
20063 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20064 intermediate but not final result might underflow.
20065 * math/s_csqrtf.c (__csqrtf): Likewise.
20066 * math/s_csqrtl.c (__csqrtl): Likewise.
20067 * math/auto-libm-test-in: Add more tests of csqrt.
20068 * math/auto-libm-test-out: Regenerated.
20069 * sysdeps/i386/fpu/libm-test-ulps: Update.
20070
20071 [BZ #18219]
20072 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20073 threshold on absolute value of exponent for which scaling is used.
20074 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20075 * math/auto-libm-test-in: Add more tests of exp2.
20076 * math/auto-libm-test-out: Regenerated.
20077
20078 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
20079
20080 [BZ #17977]
20081 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20082 when initializing interface list, based on the bug analysis
20083 and the patch proposed by Eric Newton.
20084 * resolv/tst-res_hconf_reorder.c: New test.
20085 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20086 tst-res_hconf_reorder.
20087 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20088 and $(shared-thread-library).
20089 (tst-res_hconf_reorder-ENV): New variable.
20090
20091 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20092 in comment.
20093
20094 2015-06-22 Joseph Myers <joseph@codesourcery.com>
20095
20096 [BZ #16353]
20097 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20098 (__expm1): Force underflow exception for arguments with small
20099 absolute value.
20100 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20101 (__expm1f): Force underflow exception for arguments with small
20102 absolute value.
20103 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20104 (__expm1): Force underflow exception for arguments with small
20105 absolute value.
20106 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20107 (__expm1f): Force underflow exception for arguments with small
20108 absolute value.
20109 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20110 Check for small arguments before calling __expm1.
20111 * math/auto-libm-test-in: Do not mark underflow exceptions as
20112 possibly missing for bug 16353.
20113 * math/auto-libm-test-out: Regenerated.
20114
20115 2015-06-22 Andreas Schwab <schwab@suse.de>
20116
20117 [BZ #18513]
20118 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20119 PTR queries.
20120
20121 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
20122
20123 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20124
20125 * string/strcoll_l.c: Remove unused struct element idxnow.
20126
20127 2015-06-21 Joseph Myers <joseph@codesourcery.com>
20128
20129 [BZ #18569]
20130 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20131 underflow and return argument in case of subnormal argument.
20132 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20133 Likewise.
20134 * math/auto-libm-test-in: Add more tests of expm1.
20135 * math/auto-libm-test-out: Regenerated.
20136
20137 [BZ #16361]
20138 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20139 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20140 tiny results.
20141 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20142 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20143 tiny results.
20144 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
20145 mark underflow exceptions as possibly missing for bug 16361.
20146 * math/auto-libm-test-out: Regenerated.
20147
20148 2015-06-19 Joseph Myers <joseph@codesourcery.com>
20149
20150 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20151 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20152 Remove variable.
20153 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20154 (test-xfail-XOPEN2K8/utmpx.h/conform).
20155
20156 * conform/conformtest.pl ($xerrors): New variable.
20157 (note_error): New function.
20158 (compiletest): New argument $xfail. Use not_error.
20159 (runtest): Likewise.
20160 (top level): Handle xfail- lines. Update calls to compiletest and
20161 runtest. Handle xfail- and optional- in headers listed with
20162 allow-header.
20163 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20164 (O_EXEC): Likewise.
20165 (O_SEARCH): Likewise.
20166 * conform/data/stropts.h-data (ioctl): Likewise.
20167 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20168 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20169 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20170 (msghdr.msg_controllen): Likewise.
20171 (cmsghdr.cmsg_len): Likewise.
20172 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20173 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20174 variable.
20175 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20176 (test-xfail-XPG4/stropts.h/conform): Likewise.
20177 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20178 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20179 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20180 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20181 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20182 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20183 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20184 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20185 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20186 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20187 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20188 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20189 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20190 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20191 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20192 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20193 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20194 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20195 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20196
20197 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
20198
20199 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20200 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20201 definitions for proper unfolding of __MATHDECL_VEC.
20202
20203 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
20204
20205 * benchtests/bench-strcoll.c:
20206 Include string.h.
20207 (main): Remove unused variable res.
20208
20209 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
20210
20211 * timezone/Makefile (%/UTC %/Universal):
20212 Generate test-result files for UTC and Universal.
20213
20214 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
20215
20216 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20217
20218 2015-06-18 Joseph Myers <joseph@codesourcery.com>
20219
20220 [BZ #16350]
20221 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20222 for arguments with small absolute value.
20223 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20224 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20225 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20226 (__asinh): Force underflow exception for arguments with small
20227 absolute value.
20228 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20229 (__asinhf): Force underflow exception for arguments with small
20230 absolute value.
20231 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20232 (__asinhl): Force underflow exception for arguments with small
20233 absolute value.
20234 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20235 (__asinhl): Force underflow exception for arguments with small
20236 absolute value.
20237 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20238 (__asinhl): Force underflow exception for arguments with small
20239 absolute value.
20240 * math/auto-libm-test-in: Do not mark underflow exceptions as
20241 possibly missing for bug 16350.
20242 * math/auto-libm-test-out: Regenerated.
20243
20244 * include/bits/ipc.h: Remove file.
20245 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20246 variable.
20247 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20248 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20249 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20250 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20251 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20252 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20253 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20254 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20255 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20256
20257 * math/auto-libm-test-in: Remove spurious underflow allowance for
20258 tests of cexp.
20259 * math/auto-libm-test-out: Regenerated.
20260
20261 [BZ #18558]
20262 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20263 unconditional definition.
20264 (MCAST_BLOCK_SOURCE): Likewise.
20265 (MCAST_UNBLOCK_SOURCE): Likewise.
20266 (MCAST_LEAVE_GROUP): Likewise.
20267 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20268 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20269 (MCAST_MSFILTER): Likewise.
20270 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20271 Remove variable.
20272 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20273 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20274 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20275 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20276 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20277
20278 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
20279
20280 * NEWS: Mention addition of x86_64 vector sincosf.
20281 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20282 * math/test-float-vlen4.h: Likewise.
20283 * math/test-float-vlen8.h: Likewise.
20284 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20285 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20286 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20287 * sysdeps/x86_64/fpu/Versions: New versions added.
20288 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20289 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20290 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20291 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20292 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20293 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20294 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20295 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20296 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20297 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20298 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20299 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20300 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20301 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20302 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20303 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20304 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20305 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20306 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20307 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20308 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20309 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20310 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20311 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20312
20313 * NEWS: Mention addition of x86_64 vector sincos.
20314 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20315 * math/math.h (__MATHDECL_VEC): New macro.
20316 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20317 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20318 declaration under condition.
20319 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20320 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20321 TEST_VEC_LOOP change.
20322 * math/test-double-vlen4.h: Likewise.
20323 * math/test-double-vlen8.h: Likewise.
20324 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20325 * math/test-float-vlen4.h: Likewise.
20326 * math/test-float-vlen8.h: Likewise.
20327 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20328 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20329 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20330 * sysdeps/x86_64/fpu/Versions: New versions added.
20331 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20332 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20333 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20334 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20335 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20336 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20337 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20340 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20341 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20342 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20343 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20344 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20345 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20346 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20347 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20348 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20349 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20350 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20351 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20352 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20353 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20354 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20355
20356 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20357 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20358 redirections for powf.
20359 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20360 * sysdeps/x86_64/fpu/Versions: New versions added.
20361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20362 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20363 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20364 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20365 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20366 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20367 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20368 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20369 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20370 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20371 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20372 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20373 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20374 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20375 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20376 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20377 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20378 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20379 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20380 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20381 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20382 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20383 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20384 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20385 * math/test-float-vlen16.h: Fixed 2 argument macro.
20386 * math/test-float-vlen4.h: Likewise.
20387 * math/test-float-vlen8.h: Likewise.
20388 * NEWS: Mention addition of x86_64 vector powf.
20389
20390 2015-06-17 Joseph Myers <joseph@codesourcery.com>
20391
20392 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20393 and redefine.
20394 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20395 and redefine.
20396 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20399
20400 [BZ #18553]
20401 * resource/getpriority.c (getpriority): Rename to __getpriority
20402 and define as weak alias of __getpriority.
20403 * resource/setpriority.c (setpriority): Rename to __setpriority
20404 and define as weak alias of __setpriority.
20405 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20406 __getpriority and define as weak alias of __getpriority.
20407 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20408 __setpriority and define as weak alias of __setpriority.
20409 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20410 strong name.
20411 (setpriority): Use __setpriority as strong name.
20412 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20413 __getpriority and define as weak alias of __getpriority.
20414 * include/sys/resource.h (__getpriority): Declare. Use
20415 libc_hidden_proto.
20416 (__setpriority): Likewise.
20417 (getpriority): Don't use libc_hidden_proto.
20418 (setpriority): Likewise.
20419 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20420 getpriority. Call __setpriority instead of setpriority.
20421 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20422 Remove variable.
20423
20424 [BZ #18547]
20425 * misc/getttyent.c (getttynam): Rename to __getttynam and define
20426 as weak alias of __getttynam. Use prototype function definition.
20427 Call __setttyent, __getttyent and __endttyent instead of
20428 setttyent, getttyent and endttyent.
20429 (getttyent): Rename to __getttyent and define as weak alias of
20430 __getttyent. Call __setttyent instead of setttyent. Call
20431 __fgets_unlocked instead of fgets_unlocked.
20432 (setttyent): Rename to __setttyent and define as weak alias of
20433 __setttyent.
20434 (endttyent): Rename to __endttyent and define as weak alias of
20435 __endttyent.
20436 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
20437 (__setttyent): Likewise.
20438 (__endttyent): Likewise.
20439 (getttyent): Don't use libc_hidden_proto.
20440 (setttyent): Likewise.
20441 (endttyent): Likewise.
20442 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20443 __endttyent instead of setttyent, getttyent and endttyent.
20444 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20445 Remove variable.
20446
20447 [BZ #18546]
20448 * socket/recv.c (__recv): Use libc_hidden_def.
20449 * socket/socket.c (__socket): Likewise.
20450 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20451 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20452 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20453 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20454 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20455 libc_hidden_def.
20456 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20457 libc_hidden_weak.
20458 * include/sys/socket.h (__socket): Do not use attribute_hidden.
20459 Use libc_hidden_proto.
20460 (__recv): Likewise.
20461 * socket/Versions (libc): Export __recv and __socket at version
20462 GLIBC_PRIVATE.
20463 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20464 instead of recv.
20465 (init_mq_netlink): Call __socket instead of socket.
20466 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20467 Remove variable.
20468
20469 [BZ #18545]
20470 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20471 __mq_timedreceive and define as alias of __mq_timedreceive. Use
20472 hidden_weak.
20473 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20474 define as alias of __mq_timedsend. Use hidden_weak.
20475 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20476 __mq_timedsend as strong name.
20477 (mq_timedreceive): Use __mq_timedreceive as strong name.
20478 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
20479 (__mq_timedreceive): Likewise.
20480 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20481 __mq_timedreceive instead of mq_timedreceive.
20482 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20483 instead of mq_timedsend.
20484 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20485 Remove variable.
20486
20487 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20488 hidden_def and hidden_weak instead of libc_hidden_def and
20489 libc_hidden_weak.
20490 (top level): Refer to hidden_def in comment.
20491 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20492 macro. Use it instead of libc_hidden_def.
20493 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20494 specify __GI_* name explicitly.
20495 (mq_timedreceive): Likewise.
20496 (mq_setattr): Likewise.
20497
20498 [BZ #18544]
20499 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20500 __pthread_barrier_init and define as weak alias of
20501 __pthread_barrier_init.
20502 * sysdeps/sparc/nptl/pthread_barrier_init.c
20503 (pthread_barrier_init): Likewise.
20504 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20505 __pthread_barrier_wait and define as weak alias of
20506 __pthread_barrier_wait.
20507 * sysdeps/sparc/nptl/pthread_barrier_wait.c
20508 (pthread_barrier_wait): Likewise.
20509 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20510 (pthread_barrier_wait): Likewise.
20511 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20512 (pthread_barrier_wait): Likewise.
20513 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20514 (pthread_barrier_wait): Likewise.
20515 * nptl/Versions (libpthread): Export __pthread_barrier_init and
20516 __pthread_barrier_wait at version GLIBC_PRIVATE.
20517 * include/pthread.h (__pthread_barrier_init): Declare.
20518 (__pthread_barrier_wait): Likewise.
20519 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20520 Call __pthread_barrier_wait instead of pthread_barrier_wait.
20521 (helper_thread): Likewise.
20522 (init_mq_netlink): Call __pthread_barrier_init instead of
20523 pthread_barrier_init.
20524
20525 [BZ #18542]
20526 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20527 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20528 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
20529 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20530 vswscanf.
20531 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20532 Remove variable.
20533
20534 [BZ #18540]
20535 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20536 strong alias of _IO_fflush. Use libc_hidden_def.
20537 * libio/iofflush_u.c (fflush_unlocked): Rename to
20538 __fflush_unlocked and define as weak alias of __fflush_unlocked.
20539 Use libc_hidden_weak.
20540 * include/stdio.h (__fflush_unlocked): Declare. Use
20541 libc_hidden_proto.
20542 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20543 fflush_unlocked.
20544 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20545 Remove variable.
20546
20547 [BZ #18539]
20548 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20549 define as weak alias of __addseverity.
20550 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20551 Remove variable.
20552 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20553 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20554 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20555
20556 [BZ #18536]
20557 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20558 (__tfind): Likewise.
20559 (__tdelete): Likewise.
20560 (__twalk): Likewise.
20561 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20562 __twalk to GLIBC_PRIVATE.
20563 * include/search.h (__tsearch): Use libc_hidden_proto.
20564 (__tfind): Likewise.
20565 (__tdelete): Likewise.
20566 (__twalk): Likewise.
20567 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20568 Call __tdelete instead of tdelete.
20569 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20570 tfind. Call __tsearch instead of tsearch.
20571 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20572 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20573 Remove variable.
20574 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20575
20576 [BZ #18534]
20577 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20578 (dprintf): Define as a weak alias of __dprintf, not a strong
20579 alias.
20580 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
20581 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20582 dprintf.
20583 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20584 Remove variable.
20585 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20586 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20587
20588 [BZ #18533]
20589 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20590 not a strong alias.
20591 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20592 Remove variable.
20593
20594 [BZ #18532]
20595 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20596 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
20597 (in6addr_loopback): Rename to __in6addr_loopback and define as
20598 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
20599 * include/netinet/in.h (__in6addr_loopback): Declare. Use
20600 libc_hidden_proto.
20601 (__in6addr_any): Likewise.
20602 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20603 in6addr_any.
20604 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20605 variable.
20606 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20607
20608 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
20609
20610 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20611 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20612 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20613 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20614 redirections for pow.
20615 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20616 * sysdeps/x86_64/fpu/Versions: New versions added.
20617 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20618 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20619 build of SSE, AVX2 and AVX512 IFUNC versions.
20620 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20622 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20623 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20624 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20625 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20626 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20627 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20628 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20629 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20630 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20631 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20632 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20633 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20634 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20635 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20636 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20637 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20638 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20639 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20640 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20641 * NEWS: Mention addition of x86_64 vector pow.
20642
20643 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20644 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20645 redirections for expf.
20646 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20647 * sysdeps/x86_64/fpu/Versions: New versions added.
20648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20649 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20650 build of SSE, AVX2 and AVX512 IFUNC versions.
20651 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20652 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20653 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20654 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20655 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20656 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20657 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20658 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20659 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20660 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20661 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20662 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20663 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20664 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20665 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20666 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20667 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20668 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20669 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20670 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20671 * NEWS: Mention addition of x86_64 vector expf.
20672
20673 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20674 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20675 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20676 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20677 redirections for exp.
20678 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20679 * sysdeps/x86_64/fpu/Versions: New versions added.
20680 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20681 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20682 build of SSE, AVX2 and AVX512 IFUNC versions.
20683 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20685 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20687 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20688 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20689 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20690 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20691 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20692 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20693 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20694 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20695 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20696 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20697 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20698 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20699 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20700 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20701 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20702 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20703 * NEWS: Mention addition of x86_64 vector exp.
20704
20705 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20706 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20707 redirections for logf.
20708 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20709 * sysdeps/x86_64/fpu/Versions: New versions added.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20711 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20712 build of SSE, AVX2 and AVX512 IFUNC versions.
20713 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20714 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20715 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20716 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20717 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20718 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20719 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20720 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20721 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20722 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20723 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20724 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20725 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20726 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20727 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20728 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20729 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20730 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20731 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20732 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20733 * NEWS: Mention addition of x86_64 vector logf.
20734
20735 * bits/libm-simd-decl-stubs.h: Added stubs for log.
20736 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20737 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20738 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20739 redirections for log.
20740 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20741 * sysdeps/x86_64/fpu/Versions: New versions added.
20742 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20743 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20744 build of SSE, AVX2 and AVX512 IFUNC versions.
20745 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20746 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20747 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20748 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20749 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20750 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20751 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20752 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20753 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20754 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20755 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20756 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20757 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20758 test.
20759 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20760 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20761 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20762 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20763 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20764 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20765 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20766 * NEWS: Mention addition of x86_64 vector log.
20767
20768 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
20769
20770 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20771 cfi_adjust_cfa_offset argument.
20772 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20773 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20774
20775 [BZ #18034]
20776 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20777 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20778 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20779 ordering using ldar.
20780 (_dl_tlsdesc_dynamic): Likewise.
20781 (_dl_tlsdesc_return_lazy): Likewise.
20782 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20783 relaxed atomics instead of volatile and synchronize with release store.
20784 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20785 volatile.
20786 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20787
20788 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
20789
20790 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20791 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20792 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20793 * sysdeps/x86_64/fpu/Versions: New versions added.
20794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20795 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20796 build of SSE, AVX2 and AVX512 IFUNC versions.
20797 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20798 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20799 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20800 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20801 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20802 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20803 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20804 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20805 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20806 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20807 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20808 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20809 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20810 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20811 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20812 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20813 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20814 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20815 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20816 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20817 * NEWS: Mention addition of x86_64 vector sinf.
20818
20819 2015-06-14 Joseph Myers <joseph@codesourcery.com>
20820
20821 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20822 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20823 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20824 Remove variable.
20825 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20826 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20827
20828 2015-06-12 Joseph Myers <joseph@codesourcery.com>
20829
20830 [BZ #18530]
20831 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20832 strong alias of _IO_fputs. Use libc_hidden_def.
20833 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20834 and define as weak alias of __fputs_unlocked. Use
20835 libc_hidden_weak.
20836 * include/stdio.h (__fputs_unlocked): Declare. Use
20837 libc_hidden_proto.
20838 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20839 fputs_unlocked.
20840
20841 [BZ #18529]
20842 * resolv/netdb.h [__USE_POSIX]: Change condition to
20843 [__USE_XOPEN2K].
20844 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20845 not expect.
20846 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20847 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20848 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20849 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20850 [XPG4 || UNIX98] (AI_ALL): Likewise.
20851 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20852 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20853 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20854 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20855 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20856 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20857 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20858 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20859 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20860 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20861 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20862 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20863 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20864 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20865 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20866 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20867 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20868 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20869 [XPG4 || UNIX98] (gai_strerror): Likewise.
20870 [XPG4 || UNIX98] (getaddrinfo): Likewise.
20871 [XPG4 || UNIX98] (getnameinfo): Likewise.
20872
20873 [BZ #18528]
20874 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20875 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20876 __USE_XOPEN2K8].
20877 (getgrent): Likewise.
20878 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20879 expect.
20880 [XPG3 || POSIX2008] (endgrent): Likewise.
20881 [XPG3] (setgrent): Likewise.
20882 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20883 variable.
20884 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20885
20886 [BZ #18527]
20887 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20888 define as weak alias of __getlogin_r. Use libc_hidden_weak.
20889 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20890 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20891 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20892 * include/unistd.h (__getlogin_r): Declare. Use
20893 libc_hidden_proto.
20894 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20895 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20896 variable.
20897 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20898 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20899 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20900
20901 2015-06-12 Martin Sebor <msebor@redhat.com>
20902
20903 [BZ #18512]
20904 * Makerules (check-install-supported): New target.
20905 (install): Add check-install-supported as a dependency.
20906 * manual/install.texi (Installing the C Library): Document
20907 that overriding prefix and exec_prefix is not supported.
20908 Mention DESTDIR.
20909 * INSTALL: Regenerate from the above.
20910
20911 2015-06-12 Joseph Myers <joseph@codesourcery.com>
20912
20913 [BZ #18519]
20914 * posix/Versions (libc): Export __libc_pread at version
20915 GLIBC_PRIVATE.
20916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20917 instead of pread.
20918 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20919 variable.
20920
20921 [BZ #18522]
20922 * misc/efgcvt_r.c
20923 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20924 (cvt_symbol): Use weak_alias instead of strong_alias.
20925 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20926 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20927 Remove variable.
20928 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20929 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20930
20931 [BZ #18520]
20932 * inet/herrno.c (h_errno): Rename to __h_errno.
20933 (__libc_h_errno): Define as alias of __h_errno not h_errno.
20934 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20935 to __h_errno instead of h_errno.
20936 * nptl/herrno.c (h_errno): Rename to __h_errno.
20937 (__h_errno_location): Refer to __h_errno not h_errno.
20938 * resolv/Versions (h_errno): Rename to __h_errno.
20939 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20940 Remove variable.
20941 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20942
20943 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
20944
20945 * configure.ac: More strict check for AVX512 assembler support.
20946 * configure: Regenerated.
20947
20948 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20949 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20950 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20951 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20952 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20953 * sysdeps/x86_64/fpu/Versions: New versions added.
20954 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20955 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20956 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20957 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20958 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20959 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20960 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20962 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20963 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20964 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20965 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20966 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20967 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20968 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20969 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20970 test.
20971 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20972 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20973 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20974 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20975 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20976 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20977 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20978 * NEWS: Mention addition of x86_64 vector sin.
20979
20980 2015-06-11 Florian Weimer <fweimer@redhat.com>
20981
20982 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20983 comment.
20984
20985 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20986
20987 [BZ #18479]
20988 * nptl/pt-interp.c: New file.
20989 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20990 Add pt-interp.
20991 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20992 $(common-objpfx)runtime-linker.h.
20993
20994 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
20995
20996 * Makeconfig (+interp): Remove unused variable.
20997 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20998 only. Depend on $(common-objpfx)runtime-linker.h instead of
20999 $(elf-objpfx)runtime-linker.h.
21000 ($(elf-objpfx)runtime-linker.h): Rename to
21001 $(common-objpfx)runtime-linker.h and move ...
21002 * Makerules [$(build-shared) = yes]: ... here.
21003 * elf/interp.c: Include <runtime-linker.h> instead of
21004 <elf/runtime-linker.h>.
21005
21006 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21007
21008 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21009 (__gettimeofday_syscall): Remove vsyscall fallback.
21010 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21011 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21012 Add syscall fallback function.
21013 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21014 if vDSO is not present.
21015 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21016 fallback function.
21017 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21018 present.
21019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21020 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21021
21022 2015-06-09 Joseph Myers <joseph@codesourcery.com>
21023
21024 [BZ #18497]
21025 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21026 of wcscmp.
21027 (wcscmp): Define as weak alias of WCSCMP.
21028 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21029 wcscoll.
21030 (USE_HIDDEN_DEF): Define.
21031 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21032 __wcscoll. Don't use libc_hidden_weak.
21033 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21034 wcscmp.
21035 * sysdeps/i386/i686/multiarch/wcscmp-c.c
21036 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21037 __GI_wcscmp.
21038 (weak_alias): Undefine and redefine.
21039 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21040 __wcscmp and define as weak alias of __wcscmp.
21041 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21042 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
21043 (__wcscoll): Likewise.
21044 (wcscmp): Don't use libc_hidden_proto.
21045 (wcscoll): Likewise.
21046 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21047 wcscoll.
21048 * posix/regexec.c (check_node_accept_bytes): Likewise.
21049 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21050 variable.
21051 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21052 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21053
21054 [BZ #18507]
21055 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21056 __fstatvfs and define as weak alias of __fstatvfs. Use
21057 libc_hidden_weak.
21058 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21059 and define as weak alias of __statvfs. Use libc_hidden_weak.
21060 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21061 Define as alias of __fstatvfs, not fstatvfs.
21062 (fstatvfs64): Likewise.
21063 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21064 Define as alias of __statvfs, not statvfs.
21065 (statvfs64): Likewise.
21066 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21067 Remove variable.
21068
21069 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21070
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21072 (HAVE_GETCPU_VSYSCALL): Define.
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21074 (HAVE_GETCPU_VSYSCALL): Likewise.
21075 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21076 * sysdeps/unix/sysv/linux/sched_getcpu.c
21077 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21078 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21079 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21080 prototype.
21081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21082 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21083 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21085 Define.
21086 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21087 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21088 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21090
21091 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
21092
21093 * sysdeps/x86_64/fpu/Makefile: New file.
21094 * sysdeps/x86_64/fpu/Versions: New file.
21095 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21096 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21097 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21098 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21099 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21100 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21101 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21102 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21103 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21104 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21105 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21106 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21107 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21108 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21109 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21110 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21111 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21112 * sysdeps/x86_64/configure.ac: Options for libmvec build.
21113 * sysdeps/x86_64/configure: Regenerated.
21114 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21115 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21116 * manual/install.texi (Configuring and compiling): Document
21117 --disable-mathvec.
21118 * INSTALL: Regenerated.
21119 * NEWS: Mention addition of libmvec and x86_64 vector cos.
21120
21121 * math/Makefile: Added rules for vector tests.
21122 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21123 declaration under condition.
21124 * math/test-double-vlen2.h: New file.
21125 * math/test-double-vlen4.h: New file.
21126 * math/test-double-vlen8.h: New file.
21127 * math/test-vec-loop.h: Added initialization macro.
21128 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21129 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21130 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21131 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21132 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21133 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21134 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21135 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21136 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21137 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21138 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21139
21140 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21141 * sysdeps/x86_64/fpu/Versions: New versions added.
21142 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21143 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21144 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21145 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21146 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21147 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21148 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21149 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21150 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21151 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21152 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21153 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21154 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21155 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21156 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21157 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21158 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21159 * NEWS: Mention addition of x86_64 vector cosf.
21160
21161 * math/Makefile: Added CFLAGS for new tests.
21162 * math/test-float-vlen16.h: New file.
21163 * math/test-float-vlen4.h: New file.
21164 * math/test-float-vlen8.h: New file.
21165 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21166 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21167 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21168 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21169 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21170 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21171 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21172 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21173 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21174 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21175 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21176
21177 2015-06-09 Marko Myllynen <myllynen@redhat.com>
21178
21179 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21180 * locale/programs/ld-ctype.c: Likewise.
21181
21182 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
21183
21184 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21185 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21186 bit_ZMM16_31_state): New macro.
21187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21188 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21189
21190 2015-06-08 Joseph Myers <joseph@codesourcery.com>
21191
21192 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21193
21194 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
21195
21196 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21197
21198 2015-06-05 Joseph Myers <joseph@codesourcery.com>
21199
21200 [BZ #18498]
21201 * libio/memstream.c (open_memstream): Rename to __open_memstream
21202 and define as weak alias of __open_memstream.
21203 * include/stdio.h (__open_memstream): Declare. Use
21204 libc_hidden_proto.
21205 (open_memstream): Don't use libc_hidden_proto.
21206 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21207 open_memstream.
21208 * posix/getopt.c (_getopt_internal_r): Likewise.
21209 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21210 variable.
21211 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21212 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21213 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21214
21215 [BZ #18496]
21216 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21217 instead of wcrtomb.
21218
21219 [BZ #18483]
21220 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21221 [__USE_XOPEN2K8]. Remove redundant #endif.
21222 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21223 Remove redundant #if.
21224 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21225 Remove variable.
21226 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21227 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21228
21229 [BZ #18495]
21230 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21231 (__iswlower): Likewise.
21232 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
21233 (__iswlower): Likewise.
21234 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21235 instead of towlower.
21236 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21237 instead of iswlower. Call __towupper instead of towupper.
21238 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21239 instead of iswalnum.
21240
21241 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21242
21243 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21244 errors to stderr.
21245
21246 2015-06-05 Florian Weimer <fweimer@redhat.com>
21247
21248 [BZ #15661]
21249 [BZ #17322]
21250 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21251 Check for overflow properly. Check for O_APPEND. Ignore large
21252 file system block sizes. Add comments about problems.
21253 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21254 * manual/filesys.texi (Storage Allocation): New node.
21255
21256 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21257
21258 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21259 cancellable syscalls.
21260 (SYS_ify): Add guard to no redefine it.
21261 (INLINE_SYSCALL): Likewise.
21262 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21263 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21264 SYSCALL_CANCEL instead.
21265 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21266 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21267 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21268 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21269 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21270 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21271 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21272 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21273 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21274 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21275 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21276 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21277 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21278 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21279 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21280 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21281 Likewise.
21282 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21283 (__libc_pread64): Likewise.
21284 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21285 (__libc_preadv): Likewise.
21286 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21287 (__libc_readv64): Likewise.
21288 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21289 (__libc_pwrite): Likewise.
21290 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21291 (__libc_pwrite64): Likewise.
21292 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21293 (__libc_pwritev): Likewise.
21294 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21295 (__libc_pwritev64): Likewise.
21296 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21297 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21298 (sync_file_range): Likewise.
21299 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21300 Likewise.
21301 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21302 Likewise.
21303 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21304 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21305 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21306 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21307 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21308 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21309 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21310 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21312 Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21314 (__libc_read64): Likewise.
21315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21316 Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21318 Likewise.
21319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21320 Likewise.
21321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21322 Likewise.
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21324 (__libc_pread64): Likewise.
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21326 Likewise.
21327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21328 (__libc_pwrite64): Likewise.
21329 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21330 (sync_file_range): Likewise.
21331 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21332 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21333 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21334 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21335 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21336 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21337 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21338 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21339 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21340 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21341 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21342 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21343 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21344 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21345 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21346 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21347 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21348 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21349 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21350 Likewise.
21351 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21352 Likewise.
21353 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21354 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21355 Likewise.
21356 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21357 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21358 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21359 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21360 Likewise.
21361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21362 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21363 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21364 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21365 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21366
21367 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
21368
21369 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21370 Include dl-vdso.
21371 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21372 Use VDSO routines for gettimeofday, clock_gettime if
21373 available.
21374 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21375 Declare VDSO symbols.
21376 * sysdeps/unix/sysv/linux/arm/sysdep.h:
21377 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21378 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21379 * sysdeps/unix/sysv/linux/arm/Versions: Add
21380 __vdso_clock_gettime.
21381
21382 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21383
21384 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21385 be an inline implementation regardless of library is built within.
21386 (open_not_cancel_2): Likewise.
21387 (__read_nocancel): Likewise.
21388 (__write_nocancel): Likewise.
21389 (openat_not_cancel): Likewise.
21390 (openat_not_cancel_3): Likewise.
21391 (openat64_not_cancel): Likewise.
21392 (openat64_not_cancel_3): Likewise.
21393 (__close_nocancel): Likewise.
21394 (pause_not_cancel): Likewise.
21395 (nanosleep_not_cancel): Likewise.
21396 (sigsuspend_not_cancel): Likewise.
21397
21398 2015-06-04 Torvald Riegel <triegel@redhat.com>
21399
21400 [BZ #14958]
21401 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21402 wake-up.
21403 (__pthread_rwlock_rdlock_slow): Likewise.
21404 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21405 Likewise.
21406 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21407 Likewise.
21408 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21409 * nptl/tst-rwlock16.c: New file.
21410 * nptl/Makefile (tests): Add new test.
21411
21412 2015-06-04 Torvald Riegel <triegel@redhat.com>
21413
21414 [BZ #18324]
21415 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21416 missing wake-up of readers.
21417 * nptl/tst-rwlock15.c: New file.
21418 * nptl/Makefile (tests): Add new test.
21419
21420 2015-06-03 Roland McGrath <roland@hack.frob.com>
21421
21422 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21423 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21424 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21425 and __nacl_supply_interface_rtld.
21426 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21427 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21428 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21429 Add __nacl_supply_interface_rtld.
21430 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21431
21432 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
21433
21434 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21435 isfinite.
21436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21437 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21438
21439 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
21440
21441 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21442 __signbit* with standard C99 macros.
21443 * math/e_exp10l.c: Likewise.
21444 * math/e_exp2l.c: Likewise.
21445 * math/e_scalb.c: Likewise.
21446 * math/e_scalbf.c: Likewise.
21447 * math/e_scalbl.c: Likewise.
21448 * math/s_ldexp.c: Likewise.
21449 * math/s_ldexpf.c: Likewise.
21450 * math/s_ldexpl.c: Likewise.
21451 * math/w_atan2.c: Likewise.
21452 * math/w_atan2f.c: Likewise.
21453 * math/w_atan2l.c: Likewise.
21454 * math/w_cosh.c: Likewise.
21455 * math/w_coshf.c: Likewise.
21456 * math/w_coshl.c: Likewise.
21457 * math/w_exp10.c: Likewise.
21458 * math/w_exp10f.c: Likewise.
21459 * math/w_exp10l.c: Likewise.
21460 * math/w_exp2.c: Likewise.
21461 * math/w_exp2f.c: Likewise.
21462 * math/w_exp2l.c: Likewise.
21463 * math/w_fmod.c: Likewise.
21464 * math/w_fmodf.c: Likewise.
21465 * math/w_fmodl.c: Likewise.
21466 * math/w_hypot.c: Likewise.
21467 * math/w_hypotf.c: Likewise.
21468 * math/w_hypotl.c: Likewise.
21469 * math/w_jnl.c: Likewise.
21470 * math/w_lgamma.c: Likewise.
21471 * math/w_lgamma_r.c: Likewise.
21472 * math/w_lgammaf.c: Likewise.
21473 * math/w_lgammaf_r.c: Likewise.
21474 * math/w_lgammal.c: Likewise.
21475 * math/w_lgammal_r.c: Likewise.
21476 * math/w_pow.c: Likewise.
21477 * math/w_powf.c: Likewise.
21478 * math/w_powl.c: Likewise.
21479 * math/w_remainder.c: Likewise.
21480 * math/w_remainderf.c: Likewise.
21481 * math/w_remainderl.c: Likewise.
21482 * math/w_scalb.c: Likewise.
21483 * math/w_scalbf.c: Likewise.
21484 * math/w_scalbl.c: Likewise.
21485 * math/w_scalbln.c: Likewise.
21486 * math/w_scalblnf.c: Likewise.
21487 * math/w_scalblnl.c: Likewise.
21488 * math/w_sinh.c: Likewise.
21489 * math/w_sinhf.c: Likewise.
21490 * math/w_sinhl.c: Likewise.
21491 * math/w_tgamma.c: Likewise.
21492 * math/w_tgammaf.c: Likewise.
21493 * math/w_tgammal.c: Likewise.
21494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21495 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21496 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21497 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21498 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21500 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21501 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21502 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21503 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21506 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21511 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21516 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21520 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21521 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21525 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21526 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21527 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21528 * stdio-common/printf_fp.c: Likewise.
21529 * stdio-common/printf_fphex.c: Likewise.
21530 * stdio-common/printf_size.c: Likewise.
21531
21532 2015-06-03 Joseph Myers <joseph@codesourcery.com>
21533
21534 [BZ #18470]
21535 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21536 strnlen.
21537 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21538 Remove variable.
21539 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21540 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21541 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21542 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21543 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21544 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21545 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21546 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21547 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21548 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21549
21550 [BZ #18468]
21551 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21552 weak alias of __wmemchr. Use libc_hidden_weak.
21553 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
21554 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21555 instead of wmemchr.
21556
21557 2015-06-02 Roland McGrath <roland@hack.frob.com>
21558
21559 [BZ #18383]
21560 * elf/tst-tlsalign-extern.c: New file.
21561 * elf/tst-tlsalign-extern-static.c: New file.
21562 * elf/tst-tlsalign-vars.c: New file.
21563 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21564 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21565 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21566 ($(objpfx)tst-tlsalign-extern-static): Likewise.
21567 (test-xfail-tst-tlsalign-extern-static): New variable.
21568
21569 2015-06-02 Joseph Myers <joseph@codesourcery.com>
21570
21571 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21572 Use variable name _sc_err instead of err.
21573 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21574 instead of ret.
21575 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21576 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21577 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21578 (INLINE_SYSCALL): Likewise.
21579
21580 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21581 * include/string.h (__strnlen): Use libc_hidden_proto.
21582 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21583 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21584 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21585 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21586 (libc_hidden_def): Undefine and redefine.
21587 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21588 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21589 __GI_strnlen.
21590 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21591 libc_hidden_def.
21592 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21593
21594 [BZ #18469]
21595 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21596 weak alias of __towlower. Use libc_hidden_weak.
21597 (towupper): Rename to __towupper and define as weak alias of
21598 __towupper. Use libc_hidden_weak.
21599 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
21600 (__towupper): Likewise.
21601 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21602 __towlower instead of towlower.
21603
21604 2015-06-02 Roland McGrath <roland@hack.frob.com>
21605
21606 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21607 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21608
21609 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
21610
21611 * sysdeps/aarch64/libm-test-ulps: Update.
21612
21613 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21614
21615 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21616 Define.
21617 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21619 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21620 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21621 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21622 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21623 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21624
21625 2015-06-01 Martin Sebor <msebor@redhat.com>
21626
21627 [BZ #18116]
21628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21629 (__setcontext): Use extended four-operand version of mtsf whenever
21630 possible.
21631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21632 (__novec_swapcontext): Likewise.
21633
21634 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21635
21636 * benchtests/scripts/compare_bench.py: New file.
21637 * benchtests/scripts/import_bench.py (mean): New function.
21638 (split_list): Likewise.
21639 (do_for_all_timings): Likewise.
21640 (compress_timings): Likewise.
21641
21642 * benchtests/scripts/import_bench.py: New file.
21643 * benchtests/scripts/validate_benchout.py: Import import_bench
21644 instead of jsonschema.
21645 (validate_bench): Remove function.
21646 (main): Use import_bench.
21647
21648 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
21649
21650 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21651 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21652
21653 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21654
21655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21656
21657 2015-05-28 Roland McGrath <roland@hack.frob.com>
21658
21659 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21660 set THREAD_SELF->tid to a magic value and futex-wake it.
21661 Pass its address to the thread_exit system call.
21662 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21663 bit is clear.
21664 * sysdeps/nacl/lowlevellock.h: New file.
21665 * sysdeps/nacl/lll_timedwait_tid.c: New file.
21666
21667 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21668 Add TIMEOUT to current time, don't subtract it.
21669
21670 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
21671
21672 [BZ #2981]
21673 [BZ #18422]
21674 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21675 ($(objpfx)tst-audit2.out): Also depend on
21676 $(objpfx)tst-auditmod9b.so.
21677 * elf/tst-audit2.c: Include <dlfcn.h>.
21678 (calloc_called): New.
21679 (calloc): Allow to be called more than once.
21680 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21681
21682 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
21683
21684 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21685 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21686
21687 2015-05-27 Marko Myllynen <myllynen@redhat.com>
21688
21689 * stdlib/monetary.h: Fix comment.
21690
21691 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
21692
21693 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21694 Avoid using variables in #defines that might cause shadowing.
21695 (INTERNAL_VSYSCALL_CALL): Likewise.
21696
21697 2015-05-26 Roland McGrath <roland@hack.frob.com>
21698
21699 * sysdeps/nacl/lll_timedlock_wait.c: New file.
21700
21701 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21702 * nptl/lll_timedlock_wait.c: ... to this new file.
21703 * nptl/Makefile (libpthread-routines): Add it.
21704 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21705 * nptl/lll_timedwait_tid.c: ... to this new file.
21706 * nptl/Makefile (libpthread-routines): Add it.
21707 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21708 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21709 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21710 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21711 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21712 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21713 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21714 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21715 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21716 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21717
21718 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21719
21720 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21721 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21722 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21723 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21724 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21726 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21728 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21729 * sysdeps/unix/sysv/linux/tile/sysdep.h
21730 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21731 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21732 using vDSO syscall macro.
21733
21734 2015-05-26 Andriy Rysin <arysin@gmail.com>
21735
21736 [BZ #17293]
21737 * uk_UA: Fix sorting order for Ukrainian locale
21738
21739 2015-05-26 Marko Myllynen <myllynen@redhat.com>
21740
21741 * stdlib/monetary.h: Fix comment.
21742
21743 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
21744
21745 [BZ #18234]
21746 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21747 st_mtim and st_ctim members.
21748 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21749 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21750 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21751 (struct stat64): Likewise.
21752 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21753 (struct stat64): Likewise.
21754 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21755 (struct stat64): Likewise.
21756
21757 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21758
21759 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21760 Define and include sysdep-vdso.h.
21761 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21762 Likewise.
21763 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21764 Likewise.
21765 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21766 Define with VDSO_SYMBOL and use PTR_MANGLE.
21767 (__vdso_clock_gettime): Likewise.
21768 (__vdso_clock_getres): Likewise.
21769 (_libc_vdso_platform_setup): Likewise.
21770 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21771 Likewise.
21772 (_libc_vdso_platform_setup): Likewise.
21773 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21774 Likewise.
21775 (__vdso_clock_gettime): Likewise.
21776 (__vdso_clock_getres): Likewise.
21777 (__vdso_get_tbfreq): Likewise.
21778 (__vdso_getcpu): Likewise.
21779 (__vdso_time): Likewise.
21780 (__vdso_sigtramp_rt64): Likewise.
21781 (__vdso_signtramp32): Likewise.
21782 (__vdso_sigtramp_rt32): Likewise.
21783 (_libc_vdso_platform_setup): Likewise.
21784 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21785 Likewise.
21786 (__vdso_clock_gettime): Likewise.
21787 (__vdso_clock_getres): Likewise.
21788 (_libc_vdso_platform_setup): Likewise.
21789 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21790 Likewise.
21791 (__vdso_clock_gettime): Likewise.
21792 (_libc_vdso_platform_setup): Likewise.
21793 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21794 Likewise.
21795 (__vdso_getcpu): Likewise.
21796 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21797 Use VDSO_SYMBOL macro to define.
21798 (__vdso_clock_gettime): Likewise.
21799 (__vdso_clock_getres): Likewise.
21800 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21801 Likewise.
21802 (__vdso_clock_gettime): Likewise.
21803 (__vdso_clock_getres): Likewise.
21804 (__vdso_get_tbfreq): Likewise.
21805 (__vdso_getcpu): Likewise.
21806 (__vdso_time): Likewise.
21807 (__vdso_sigtramp_rt64): Likewise.
21808 (__vdso_signtramp32): Likewise.
21809 (__vdso_sigtramp_rt32): Likewise.
21810 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21811 Likewise.
21812 (__vdso_clock_gettime): Likewise.
21813 (__vdso_clock_getres): Likewise.
21814 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21815 Likewise.
21816 (__vdso_clock_gettime): Likewise.
21817 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21818 Likewise.
21819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
21820 macro.
21821 (INTERNAL_VSYSCALL): Likewise.
21822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21823 Remove macro.
21824 (INTERNAL_VSYSCALL): Likewise.
21825 (INTERNAL_VSYSCALL_NCS): Likewise.
21826 (INTERNAL_VSYSCALL_CALL): New macro.
21827 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21828 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21829 Likewise.
21830 (INTERNAL_VSYSCALL): Likewise.
21831 (INTERNAL_VSYSCALL_NCS): Likewise.
21832 (INTERNAL_VSYSCALL_CALL): New macro.
21833 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21835 (INLINE_VSYSCALL): Remove macro.
21836 (INTERNAL_VSYSCALL): Remove macro.
21837 (INTERNAL_VSYSCALL_NCS): Remove macro.
21838 (INTERNAL_VSYSCALL_CALL): New macro.
21839 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21840 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21841 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21842 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21843 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21845 (INLINE_VSYSCALL): Remove macro.
21846 (INTERNAL_VSYSCALL): Likewise.
21847 (INTERNAL_VSYSCALL_NCS): Likewise.
21848 (INTERNAL_VSYSCALL_CALL): New macro.
21849 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21850 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21851 PTR_DEMANGLE on vDSO pointer.
21852 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21853 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21854 macro.
21855 (INTERNAL_SYSCALL): Likewise.
21856 (INTERNAL_VSYSCALL_NCS): Remove macro.
21857 (INTERNAL_VSYSCALL_CALL): New macro.
21858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21859 Remove macro.
21860 (INTERNAL_VSYSCALL): Likewise.
21861 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21862 sysdep-vdso.h instead of libc-vdso.h.
21863 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21864 definition.
21865 (INLINE_VSYSCALL): Likewise.
21866 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21867 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21868 definition.
21869 (INLINE_VSYSCALL): Likewise.
21870 (INTERNAL_VSYSCALL): Likewise.
21871 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21872 * sysdeps/unix/sysv/linux/timespec_get.c
21873 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21874 (timespec_get): Use ANSI prototype.
21875 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21876 and definition for Linux.
21877
21878 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
21879
21880 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21881 * include/libc-symbols.h: libmvec_hidden_* macro series added.
21882
21883 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 [BZ #2981]
21886 [BZ #18410]
21887 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21888 for missing DT_PLTRELSZ.
21889
21890 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
21891
21892 Remove obsolete aliases that broke 'locale -a'
21893 [BZ #18412]
21894 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21895 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21896 breaking some applications that use 'locale -a' output.
21897 Change the encoding of this file from Latin-1 to ASCII to avoid
21898 other potential problems with people grepping this file.
21899
21900 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21901
21902 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21903 -fasynchronous-unwind-tables.
21904 (CFLAGS-sendto.c): Likewise.
21905 (CFLAGS-sendmsg.c): Likewise.
21906 (CFLAGS-connect.c): Likewise.
21907 (CFLAGS-recvmsg.c): Likewise.
21908 (CFLAGS-recvfrom.c): Likewise.
21909 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21910 (SOCKETCALL): New macro: non-cancellable socketcall.
21911 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21912 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21913 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21914 * sysdeps/unix/sysv/linux/accept.c: New file.
21915 * sysdeps/unix/sysv/linux/bind.c: Likewise.
21916 * sysdeps/unix/sysv/linux/connect.c: Likewise.
21917 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21918 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21919 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21920 * sysdeps/unix/sysv/linux/listen.c: Likewise.
21921 * sysdeps/unix/sysv/linux/recv.c: Likewise.
21922 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21923 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21924 * sysdeps/unix/sysv/linux/send.c: Likewise.
21925 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21926 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21927 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21928 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21929 * sysdeps/unix/sysv/linux/socket.c: Likewise.
21930 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21931 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21932 prototype.
21933 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21934 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21935 instead of __internal_xxx function.
21936 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21937 prototype.
21938 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21939 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21940 instead of __internal_xxx function.
21941 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21942 prototype.
21943 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21944 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21945 instead of __internal_xxx function.
21946 * sysdeps/unix/sysv/linux/accept.S: Remove file.
21947 * sysdeps/unix/sysv/linux/bind.S: Likewise.
21948 * sysdeps/unix/sysv/linux/connect.S: Likewise.
21949 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21950 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21951 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21952 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21953 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21954 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21955 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21956 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21957 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21958 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21959 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21961 * sysdeps/unix/sysv/linux/listen.S: Likewise.
21962 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21963 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21964 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21965 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21968 * sysdeps/unix/sysv/linux/recv.S: Likewise.
21969 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21970 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21971 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21972 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21973 * sysdeps/unix/sysv/linux/send.S: Likewise.
21974 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21975 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21976 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21977 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21978 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21979 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21980 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21981 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21982 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21983 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21984 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21985 socketcall is implemented in GLIBC.
21986
21987 2015-05-22 Joseph Myers <joseph@codesourcery.com>
21988
21989 * soft-fp/fmadf4.c: Include <libc-internal.h>.
21990 (__fma): Ignore uninitialized warnings around packing.
21991 * soft-fp/fmasf4.c: Include <libc-internal.h>.
21992 (__fmaf): Ignore uninitialized warnings around packing.
21993 * soft-fp/fmatf4.c: Include <libc-internal.h>.
21994 (__fmal): Ignore uninitialized warnings around packing.
21995
21996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21997 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21999 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22000
22001 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22002 switch statement into default case.
22003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22004
22005 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22006 a conditional in forcing "inexact".
22007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22008 Likewise.
22009
22010 2015-05-22 Roland McGrath <roland@hack.frob.com>
22011
22012 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22013 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22014 for each INTERNAL_SYSCALL use.
22015
22016 2015-05-22 Joseph Myers <joseph@codesourcery.com>
22017
22018 [BZ #438]
22019 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22020 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22021 variable.
22022
22023 [BZ #18444]
22024 * string/basename.c (basename): Rename to __basename and define as
22025 weak alias of __basename. Use libc_hidden_weak.
22026 * include/string.h (__basename): Declare. Use libc_hidden_proto.
22027 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22028 __basename instead of basename.
22029 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22030 Remove variable.
22031 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22032
22033 2015-05-18 Florian Weimer <fweimer@redhat.com>
22034
22035 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22036 (_IO_JUMPS_FILE_plus): New.
22037 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22038 _IO_CAST_FIELD_ACCESS.
22039 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22040 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22041 * libio/freopen.c (freopen): Likewise.
22042 * libio/freopen64.c (freopen64): Likewise.
22043 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22044 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22045 * libio/iofwide.c (_IO_fwide): Likewise.
22046 * libio/memstream.c (open_memstream): Likewise.
22047 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22048 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22049 * libio/oldiopopen.c (_IO_old_popen): Likewise.
22050
22051 2015-05-21 Joseph Myers <joseph@codesourcery.com>
22052
22053 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22054 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22055 NADJ.
22056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22057 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22058 NADJ.
22059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22060 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22061 NADJ.
22062
22063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22064 (p == 4) case.
22065
22066 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22067 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22068 Remove variable.
22069 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22070 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22071 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22072
22073 2015-05-21 Florian Weimer <fweimer@redhat.com>
22074
22075 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22076 Adjust jump table label generation macros.
22077
22078 2015-05-21 Florian Weimer <fweimer@redhat.com>
22079
22080 * stdio-common/vfprintf.c (vfprintf): Move local variables
22081 args_malloced, specs, specs_malloced, and the code after
22082 do_positional to the printf_positional function.
22083 (printf_positional): New function.
22084
22085 2015-05-21 Florian Weimer <fweimer@redhat.com>
22086
22087 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22088 function.
22089 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22090 STEP4_TABLE, process_arg): Move macro definitions
22091 out of the vfprintf function. (Cosmetic change only.)
22092
22093 2015-05-21 Carlos O'Donell <carlos@redhat.com>
22094
22095 * benchtests/Makefile (stdio-common-bench): Define.
22096 (benchset): Add stdio-common-bench.
22097 * sprintf-inputs: New file.
22098 * sprintf-source.c: New file.
22099
22100 2015-05-21 Andreas Schwab <schwab@suse.de>
22101
22102 [BZ #13028]
22103 [BZ #17053]
22104 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22105 of struct __res_state.
22106 * resolv/res_send.c (__libc_res_nsend): Likewise.
22107 (get_nsaddr): New function.
22108 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22109 statp directly.
22110
22111 2015-05-20 Joseph Myers <joseph@codesourcery.com>
22112
22113 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22114 -D_POSIX_C_SOURCE=199506L.
22115
22116 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22117
22118 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22119 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22120 Do not mention otherwise.
22121 [POSIX] (_XOPEN_VERSION): Do not expect.
22122 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22123 [POSIX] (_POSIX2_C_BIND): Likewise.
22124 [POSIX] (_POSIX2_VERSION): Likewise.
22125 [POSIX] (_XOPEN_XPG2): Likewise.
22126 [POSIX] (_XOPEN_XPG3): Likewise.
22127 [POSIX] (_XOPEN_XPG4): Likewise.
22128 [POSIX] (_XOPEN_UNIX): Likewise.
22129 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22130 [POSIX] (_POSIX_BARRIERS): Likewise.
22131 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22132 [POSIX] (_POSIX_CPUTIME): Likewise.
22133 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22134 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22135 [POSIX] (_POSIX_SHELL): Likewise.
22136 [POSIX] (_POSIX_SPAWN): Likewise.
22137 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22138 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22139 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22140 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22141 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22142 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22143 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22144 [POSIX] (_XBS5_LP64_OFF64): Likewise.
22145 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22146 [POSIX] (_POSIX_TIMEOUTS): Likewise.
22147 [POSIX] (_POSIX2_PBS): Likewise.
22148 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22149 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22150 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22151 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22152 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22153 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22154 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22155 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22156 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22157 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22158 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22159 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22160 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22161 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22162 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22163 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22164 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22165 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22166 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22167 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22168 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22169 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22170 [POSIX] (_SC_2_C_BIND): Likewise.
22171 [POSIX] (_SC_2_C_VERSION): Likewise.
22172 [POSIX] (_SC_2_PBS): Likewise.
22173 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22174 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22175 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22176 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22177 [POSIX] (_SC_2_PBS_TRACK): Likewise.
22178 [POSIX] (_SC_ATEXIT_MAX): Likewise.
22179 [POSIX] (_SC_BARRIERS): Likewise.
22180 [POSIX] (_SC_BASE): Likewise.
22181 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22182 [POSIX] (_SC_DEVICE_IO): Likewise.
22183 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22184 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22185 [POSIX] (_SC_FD_MGMT): Likewise.
22186 [POSIX] (_SC_FIFO): Likewise.
22187 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22188 [POSIX] (_SC_FILE_LOCKING): Likewise.
22189 [POSIX] (_SC_FILE_SYSTEM): Likewise.
22190 [POSIX] (_SC_IOV_MAX): Likewise.
22191 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22192 [POSIX] (_SC_NETWORKING): Likewise.
22193 [POSIX] (_SC_PAGE_SIZE): Likewise.
22194 [POSIX] (_SC_PASS_MAX): Likewise.
22195 [POSIX] (_SC_PIPE): Likewise.
22196 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22197 [POSIX] (_SC_REGEXP): Likewise.
22198 [POSIX] (_SC_SHELL): Likewise.
22199 [POSIX] (_SC_SIGNALS): Likewise.
22200 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22201 [POSIX] (_SC_SPIN_LOCKS): Likewise.
22202 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22203 [POSIX] (_SC_USER_GROUPS): Likewise.
22204 [POSIX] (_SC_USER_GROUPS_R): Likewise.
22205 [POSIX] (_SC_STREAMS): Likewise.
22206 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22207 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22208 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22209 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22210 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22211 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22212 [POSIX] (_PC_FILESIZEBITS): Likewise.
22213 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22214 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22215 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22216 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22217 [POSIX] (uid_t): Likewise.
22218 [POSIX] (gid_t): Likewise.
22219 [POSIX] (off_t): Likewise.
22220 [POSIX] (pid_t): Likewise.
22221 [POSIX] (cuserid): Allow.
22222 (_SC_2_CHAR_TERM): Require constant.
22223 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22224 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22225 variable.
22226
22227 2015-05-20 Roland McGrath <roland@hack.frob.com>
22228
22229 * sysdeps/nacl/pthread-pids.h: New file.
22230 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22231 (create_thread): Use __nacl_get_tid to initialize PD->tid.
22232
22233 * nptl/pthread-pids.h: New file.
22234 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22235 * nptl/nptl-init.c: Include <pthread-pids.h>.
22236 (__pthread_initialize_minimal_internal):
22237 Call __pthread_initialize_pids instead of set_tid_address syscall.
22238
22239 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22240 * sysdeps/posix/usleep.c: ... here.
22241
22242 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22243
22244 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22245 call_pselect6 object.
22246 [$(subdir) = io]: Remove call_sync_file_range object.
22247 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22248 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22249 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22250 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22251
22252 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
22253
22254 * math/s_cproj.c: Add include "math_private.h".
22255 * math/s_cprojf.c: Likewise.
22256 * math/s_cprojl.c: Likewise.
22257
22258 2015-05-19 Joseph Myers <joseph@codesourcery.com>
22259
22260 [BZ #18244]
22261 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22262 high mantissa bit when testing whether P is a NaN.
22263 * math/libm-test.inc (remainder_test_data): Add more tests.
22264 (remquo_test_data): Likewise.
22265
22266 [BZ #18049]
22267 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22268 below -32, return the argument, with underflow if subnormal.
22269 * math/auto-libm-test-in: Add more tests of atanh.
22270 * math/auto-libm-test-out: Regenerated.
22271
22272 2015-05-19 Roland McGrath <roland@hack.frob.com>
22273
22274 [BZ #18434]
22275 * nptl/tst-sem15.c: New file.
22276 * nptl/Makefile (tests): Add it.
22277 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22278 s/<</>>/ to fix typo in EOVERFLOW check.
22279 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22280
22281 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22282
22283 * manual/strings.texi (envz_remove): Fix typo in safety
22284 annotations.
22285
22286 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
22287 Steve Ellcey <sellcey@imgtec.com>
22288
22289 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22290 in order to avoid strict alias warnings.
22291 (iruserok_af): Ditto for ra.
22292
22293 2015-05-19 James Lemke <jwlemke@codesourcery.com>
22294
22295 [BZ #17581]
22296 * malloc/hooks.c
22297 (magicbyte): Convert to a function and avoid returning 0x01.
22298 (mem2mem_check): Avoid using a length byte equal to the magic byte.
22299 (mem2chunk_check): Fix unsigned comparisons to zero.
22300 Hoist defs of sz and magic.
22301
22302 2015-05-19 Richard Henderson <rth@redhat.com>
22303
22304 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22305
22306 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22307
22308 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22309
22310 [BZ #16159]
22311 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22312 * malloc/arena.c (arena_lock): Check if arena is corrupt.
22313 (reused_arena): Find a non-corrupt arena.
22314 (heap_trim): Pass arena to unlink.
22315 * malloc/hooks.c (malloc_check_get_size): Pass arena to
22316 malloc_printerr.
22317 (top_check): Likewise.
22318 (free_check): Likewise.
22319 (realloc_check): Likewise.
22320 * malloc/malloc.c (malloc_printerr): Add arena argument.
22321 (unlink): Likewise.
22322 (munmap_chunk): Adjust.
22323 (ARENA_CORRUPTION_BIT): New macro.
22324 (arena_is_corrupt): Likewise.
22325 (set_arena_corrupt): Likewise.
22326 (sysmalloc): Use mmap if there are no usable arenas.
22327 (_int_malloc): Likewise.
22328 (__libc_malloc): Don't fail if arena_get returns NULL.
22329 (_mid_memalign): Likewise.
22330 (__libc_calloc): Likewise.
22331 (__libc_realloc): Adjust for additional argument to
22332 malloc_printerr.
22333 (_int_free): Likewise.
22334 (malloc_consolidate): Likewise.
22335 (_int_realloc): Likewise.
22336 (_int_memalign): Don't touch corrupt arenas.
22337 * malloc/tst-malloc-backtrace.c: New test case.
22338
22339 * Makefile (summarize-tests): Fix return value on success.
22340
22341 * manual/string.texi (Envz Functions): Add envz_remove.
22342
22343 2015-05-18 Roland McGrath <roland@hack.frob.com>
22344
22345 * sysdeps/posix/opendir.c: Include <stdbool.h>.
22346 (invalid_name): New function, broken out of ...
22347 (__opendirat): ... here. Call it.
22348 (need_isdir_precheck): New function, broken out of ...
22349 (__opendirat): ... here. Call it.
22350 Use __fxstatat64, not __xstatat64.
22351 (opendir_oflags): New function, broken out of ...
22352 (__opendirat): ... here. Call it.
22353 (opendir_tail): New function, broken out of ...
22354 (__opendirat): ... here. Call it.
22355 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22356 opendir_tail, rather than punting to __opendirat.
22357 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22358
22359 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22360
22361 * .gitignore: Ignore generated *.pyc.
22362
22363 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
22364
22365 * include/stdio.h: Define __need_wint_t.
22366 * test-skeleton.c: Avoid `for' loop initial declaration.
22367 * nptl/tst-initializers1.c: Use test-skeleton.c.
22368
22369 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22370
22371 [BZ #18418]
22372 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22373
22374 2015-05-15 Joseph Myers <joseph@codesourcery.com>
22375
22376 [BZ #16352]
22377 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22378 (__ieee754_atanh): Force underflow exception for results with
22379 small absolute value.
22380 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22381 (__ieee754_atanhf): Force underflow exception for results with
22382 small absolute value.
22383 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22384 (__ieee754_atanh): Force underflow exception for results with
22385 small absolute value.
22386 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22387 (__ieee754_atanhf): Force underflow exception for results with
22388 small absolute value.
22389 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22390 (__ieee754_atanhl): Force underflow exception for results with
22391 small absolute value.
22392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22393 (__ieee754_atanhl): Force underflow exception for results with
22394 small absolute value.
22395 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22396 (__ieee754_atanhl): Force underflow exception for results with
22397 small absolute value.
22398 * math/auto-libm-test-in: Do not allow missing underflow
22399 exceptions from atanh.
22400 * math/auto-libm-test-out: Regenerated.
22401
22402 [BZ #18221]
22403 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22404 2**-28 as threshold for returning x or +/- 1/x.
22405 * math/auto-libm-test-in: Add more tests of tan.
22406 * math/auto-libm-test-out: Regenerated.
22407
22408 [BZ #18220]
22409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22410 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22411 * math/auto-libm-test-in: Add another test of lgamma.
22412 * math/auto-libm-test-out: Regenerated.
22413
22414 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
22415
22416 * stdio-common/printf_fp.c (___printf_fp): Use abs.
22417 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
22418 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22419 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22420 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
22421 (ADD2A): Use fabs. (SUB2A): Use fabs.
22422 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22423 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22424 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22425 (log1): Use fabs. (my_log2): Use fabs.
22426 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22427 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22429 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22431 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
22432 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
22433 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
22434 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
22435 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22436 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22437
22438 2015-05-15 Joseph Myers <joseph@codesourcery.com>
22439
22440 [BZ #18217]
22441 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22442 as threshold for returning 1 - x.
22443 * math/auto-libm-test-in: Add more tests of erfc.
22444 * math/auto-libm-test-out: Regenerated.
22445
22446 2015-05-14 Joseph Myers <joseph@codesourcery.com>
22447
22448 [BZ #18196]
22449 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22450 threshold for large arguments.
22451 * math/auto-libm-test-in: Add another test of atan.
22452 * math/auto-libm-test-out: Regenerated.
22453
22454 [BZ #16339]
22455 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22456 (__log1p): Force underflow exception for results with small
22457 absolute value.
22458 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22459 (__log1pf): Force underflow exception for results with small
22460 absolute value.
22461 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22462 (__log1p): Force underflow exception for results with small
22463 absolute value.
22464 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22465 (__log1pf): Force underflow exception for results with small
22466 absolute value.
22467 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22468 (__log1pl): Force underflow exception for results with small
22469 absolute value.
22470 * math/auto-libm-test-in: Do not allow missing underflow
22471 exceptions from log1p.
22472 * math/auto-libm-test-out: Regenerated.
22473
22474 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
22475 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22476
22477 [BZ #16704]
22478 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22479
22480 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
22481
22482 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22483 (libmvec): New variable.
22484 * configure.ac: Added option for mathvec build.
22485 * configure: Regenerated.
22486 * mathvec/Depend: New file.
22487 * mathvec/Makefile: New file.
22488 * shlib-versions: Added libmvec.
22489 * math/Makefile: Added rule for libm.so installation.
22490
22491 * bits/math-vector.h: New file.
22492 * bits/libm-simd-decl-stubs.h: New header.
22493 * math/Makefile (headers): Added new header
22494 libm-simd-decl-stubs.h.
22495 * math/math.h (__MATHCALL_VEC): New macro.
22496
22497 * math/gen-libm-have-vector-test.sh: Script generates series of macros
22498 for conditions in testing functions.
22499 * math/Makefile: Added call of libm-have-vector-test.sh.
22500 * math/libm-test.inc (HAVE_VECTOR): New macros.
22501
22502 * math/libm-test.inc: START refactored.
22503 * math/test-double.c (TEST_MATHVEC): Add define.
22504 * math/test-float.c: Likewise.
22505 * math/test-idouble.c: Likewise.
22506 * math/test-ifloat.c: Likewise.
22507 * math/test-ildoubl.c: Likewise.
22508 * math/test-ldouble.c: Likewise.
22509 * sysdeps/generic/math-tests-arch.h
22510 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22511 architecture check.
22512
22513 * math/test-double.c (FUNC_TEST): New macro.
22514 * math/test-float.c: Likewise.
22515 * math/test-idouble.c: Likewise.
22516 * math/test-ifloat.c: Likewise.
22517 * math/test-ildoubl.c: Likewise.
22518 * math/test-ldouble.c: Likewise.
22519 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22520
22521 2015-05-13 Roland McGrath <roland@hack.frob.com>
22522
22523 * sysdeps/nacl/fdopendir.c: New file.
22524
22525 * dirent/scandir-tail.c: New file.
22526 * dirent/scandir64-tail.c: New file.
22527 * dirent/Makefile (routines): Add them.
22528 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22529 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22530 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22531 [!SCANDIR] (SCANDIR_TAIL): New macro.
22532 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22533 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22534 (SCANDIRAT): Macro removed.
22535 (SCANDIR_TAIL): New macro.
22536 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22537 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22538 (SCANDIRAT): Just call __opendirat and __scandir_tail.
22539 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22540 (READDIR): Macro removed.
22541 (SCANDIR_TAIL): New macro.
22542 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22543 (SCANDIR_TAIL): New macro.
22544
22545 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22546 * dirent/scandir-cancel.c: ... to this new file.
22547 * dirent/Makefile (routines): Add it.
22548 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22549 * sysdeps/unix/sysv/linux/i386/scandir64.c
22550 (SKIP_SCANDIR_CANCEL): Macro removed.
22551 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22552
22553 * dirent/tst-scandir.c: New file.
22554 * dirent/tst-scandir64.c: New file.
22555 * dirent/Makefile (tests): Add them.
22556
22557 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
22558
22559 [BZ #18409]
22560 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22561
22562 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
22563
22564 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22565 list.
22566
22567 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
22568
22569 * benchtests/bench-strcoll.c: New benchmark.
22570 * benchtests/Makefile: Generate locales and run benchmark.
22571 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22572 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22573 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22574 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22575 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22576 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22577 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22578 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22579 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22580 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22581 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22582 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22583 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22584 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22585 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22586 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22587 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22588 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22589 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22590 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22591 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22592 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22593 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22594 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22595
22596 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
22597
22598 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22599 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22600
22601 2015-05-12 Roland McGrath <roland@hack.frob.com>
22602
22603 * posix/uname-values.h: New file.
22604 * posix/uname.c: Include that instead of <config-name.h>.
22605 * sysdeps/nacl/uname-values.h: New file.
22606 * sysdeps/arm/nacl/uname-values.h: New file.
22607
22608 2015-05-12 Joseph Myers <joseph@codesourcery.com>
22609
22610 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22611 splitting into fields.
22612
22613 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
22614
22615 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22616 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22617 * locale/localeinfo.h: Add enum collation_encoding_type.
22618 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22619 * programs/ld-collate.c (collate_output): Add encoding type info.
22620 * string/strcoll_l.c (STRDIFF): New function.
22621 * (STRCOLL): Use STRDIFF to skip over equal prefix.
22622 * wcsmbs/wcscoll_l.c: Define STRDIFF.
22623
22624 2015-05-11 Joseph Myers <joseph@codesourcery.com>
22625
22626 [BZ #18397]
22627 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22628 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
22629 <fpu_control.h> instead of <math/fpu_control.c>.
22630 * sysdeps/mips/mips32/fpu/Makefile: New file.
22631
22632 2015-05-11 Andreas Schwab <schwab@suse.de>
22633
22634 [BZ #18007]
22635 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22636 nss_endgrent.
22637 (_nss_compat_endgrent): Call nss_endgrent.
22638 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22639 nss_endpwent.
22640 (_nss_compat_endpwent): Call nss_endpwent.
22641 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22642 needent, call nss_setspent only if non-zero.
22643 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22644 (internal_endspent): Don't call nss_endspent.
22645 (_nss_compat_endspent): Call nss_endspent.
22646 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22647 Remove. All uses removed.
22648 (internal_setent): Remove parameter stayopen, add parameter
22649 stream. Use it instead of global variable.
22650 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22651 (internal_endent, internal_getent): Add parameter stream. Use it
22652 instead of global variable.
22653 (CONCAT(_nss_files_end,ENTNAME))
22654 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22655 (_nss_files_get##name##_r): Pass local stream. Remove locking.
22656 * nss/nss_files/files-alias.c (position, last_use): Remove. All
22657 uses removed.
22658 (internal_setent, internal_endent): Add parameter stream. Use it
22659 instead of global variable.
22660 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22661 stream.
22662 (get_next_alias): Add parameter stream.
22663 (_nss_files_getaliasent_r): Pass global stream.
22664 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
22665 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22666 (_nss_files_gethostbyname4_r): Pass local stream to
22667 internal_setent, internal_getent and internal_endent. Remove
22668 locking.
22669
22670 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22671
22672 * tst-strfmon1.c (tests): Update expected currency symbol.
22673
22674 2015-05-08 Roland McGrath <roland@hack.frob.com>
22675
22676 * sysdeps/nacl/gethostname.c: New file.
22677
22678 2015-05-08 Joseph Myers <joseph@codesourcery.com>
22679
22680 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22681 and sinh.
22682 * math/auto-libm-test-out: Regenerated.
22683 * sysdeps/i386/fpu/libm-test-ulps: Update.
22684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22685
22686 2015-05-08 Carlos O'Donell <carlos@redhat.com>
22687
22688 [BZ #18125]
22689 * stdlib/tst-setcontext3.c: New file.
22690 * stdlib/tst-setcontext3.sh: New file.
22691 * stdlib/Makefile (tests): Add tst-setcontext3.
22692 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22693 to verify test program created output file.
22694 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22695 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22696 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22697 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22698
22699 2015-05-06 Roland McGrath <roland@hack.frob.com>
22700
22701 [BZ #18383]
22702 * elf/tst-tlsalign.c: New file.
22703 * elf/tst-tlsalign-static.c: New file.
22704 * elf/tst-tlsalign-lib.c: New file.
22705 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22706 (tests-static): Add tst-tlsalign-static.
22707 (modules-names): Add tst-tlsalign-lib.
22708 (test-xfail-tst-tlsalign): New variable.
22709 (test-xfail-tst-tlsalign-static): New variable.
22710
22711 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22712 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22713
22714 2015-05-06 Joseph Myers <joseph@codesourcery.com>
22715
22716 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22717 csqrt, erfc, sin and sincos.
22718 * math/auto-libm-test-out: Regenerated.
22719 * sysdeps/i386/fpu/libm-test-ulps: Update.
22720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22721
22722 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
22723
22724 * sysdeps/aarch64/libm-test-ulps: Update.
22725
22726 2015-05-05 Joseph Myers <joseph@codesourcery.com>
22727
22728 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22729 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22730 * math/auto-libm-test-out: Regenerated.
22731 * sysdeps/i386/fpu/libm-test-ulps: Update.
22732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22733
22734 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22735
22736 [BZ #18265]
22737 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22738 (wcsncpy): Likewise.
22739
22740 2015-05-05 Florian Weimer <fweimer@redhat.com>
22741
22742 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22743 Assume __ASSUME_FALLOCATE is always true.
22744 * sysdeps/unix/sysv/linux/posix_fallocate64.c
22745 (__posix_fallocate64_l64): Likweise.
22746 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22747 (posix_fallocate): Likewise.
22748 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22749 (__posix_fallocate64_l64): Likewise.
22750 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22751 [!__ASSUME_FALLOCATE]: Add comment.
22752
22753 2015-05-05 Florian Weimer <fweimer@redhat.com>
22754
22755 * sysdeps/unix/sysv/linux/i386/Makefile
22756 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22757 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22758 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22759 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22760 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22761 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22762 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22763
22764 2015-05-02 Joseph Myers <joseph@codesourcery.com>
22765
22766 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22767 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22768 tgamma.
22769 * math/auto-libm-test-out: Regenerated.
22770 * sysdeps/i386/fpu/libm-test-ulps: Update.
22771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22772
22773 2015-05-01 Joseph Myers <joseph@codesourcery.com>
22774
22775 * math/auto-libm-test-in: Add more tests of tgamma.
22776 * math/auto-libm-test-out: Regenerated.
22777 * sysdeps/i386/fpu/libm-test-ulps: Update.
22778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22779
22780 * math/auto-libm-test-in: Add more tests of tanh.
22781 * math/auto-libm-test-out: Regenerated.
22782 * sysdeps/i386/fpu/libm-test-ulps: Update.
22783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22784
22785 * math/auto-libm-test-in: Add more tests of tan.
22786 * math/auto-libm-test-out: Regenerated.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22789
22790 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22791 * math/auto-libm-test-out: Regenerated.
22792 * sysdeps/i386/fpu/libm-test-ulps: Update.
22793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22794
22795 * math/auto-libm-test-in: Add another test of pow.
22796 * math/auto-libm-test-out: Regenerated.
22797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22798
22799 * math/auto-libm-test-in: Add more tests of lgamma.
22800 * math/auto-libm-test-out: Regenerated.
22801 * sysdeps/i386/fpu/libm-test-ulps: Update.
22802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22803
22804 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22805 log1p.
22806 * math/auto-libm-test-out: Regenerated.
22807 * sysdeps/i386/fpu/libm-test-ulps: Update.
22808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22809
22810 2015-05-01 Mark Wielaard <mjw@redhat.com>
22811
22812 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22813 Elf64_Chdr structs and ELFCOMPRESS constants.
22814
22815 2015-05-01 Joseph Myers <joseph@codesourcery.com>
22816
22817 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22818 expm1.
22819 * math/auto-libm-test-out: Regenerated.
22820 * sysdeps/i386/fpu/libm-test-ulps: Update.
22821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22822
22823 * math/auto-libm-test-in: Add more tests of erf and erfc.
22824 * math/auto-libm-test-out: Regenerated.
22825 * sysdeps/i386/fpu/libm-test-ulps: Update.
22826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827
22828 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
22829
22830 * config.h.in (HAVE_AARCH64_BE): Add.
22831
22832 2015-04-30 Joseph Myers <joseph@codesourcery.com>
22833
22834 * math/auto-libm-test-in: Add more tests of csqrt.
22835 * math/auto-libm-test-out: Regenerated.
22836 * sysdeps/i386/fpu/libm-test-ulps: Update.
22837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22838
22839 * math/auto-libm-test-in: Add more tests of cosh and sinh.
22840 * math/auto-libm-test-out: Regenerated.
22841 * sysdeps/i386/fpu/libm-test-ulps: Update.
22842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843
22844 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22845
22846 2015-04-29 Roland McGrath <roland@hack.frob.com>
22847
22848 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22849 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22850
22851 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22852 (euidaccess, eaccess): Define as weak aliases.
22853
22854 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22855 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
22856 but __suseconds_t is often 'long int' so some sources assume that
22857 type is being used (e.g. they use %ld to print tv_usec).
22858
22859 2015-04-29 Florian Weimer <fweimer@redhat.com>
22860
22861 [BZ #18007]
22862 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22863 (CVE-2014-8121)
22864 * nss/tst-nss-getpwent.c: New file.
22865 * nss/Makefile (tests): Add new test.
22866
22867 2015-04-28 Joseph Myers <joseph@codesourcery.com>
22868
22869 [BZ #18346]
22870 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22871 exponents less than 48 as cases where high part of mantissa needs
22872 examining to determine whether argument is integral.
22873 * math/libm-test.inc (round_test_data): Add more tests.
22874
22875 2015-04-28 Mark Wielaard <mjw@redhat.com>
22876
22877 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22878
22879 2015-04-27 David S. Miller <davem@davemloft.net>
22880
22881 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22882 __tls_get_addr.
22883 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22884
22885 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
22886
22887 [BZ#18333]
22888 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22889
22890 2015-04-27 Florian Weimer <fweimer@redhat.com>
22891
22892 [BZ#18333]
22893 * time/tzset.c (parse_tzname): Return error on memory allocation
22894 failure.
22895 * test-skeleton.c (struct temp_name_list): Change type of name
22896 member to non-const.
22897 (add_temp_file): Create a copy of the file name.
22898 (delete_temp_files): Deallocate memory.
22899 (create_temp_file): Add comment.
22900
22901 2015-04-24 Florian Weimer <fweimer@redhat.com>
22902
22903 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22904 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22905
22906 2015-04-24 Roland McGrath <roland@hack.frob.com>
22907
22908 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22909 * sysdeps/arm/configure: Regenerated.
22910
22911 2015-04-24 Florian Weimer <fweimer@redhat.com>
22912
22913 [BZ #17715]
22914 * time/tzfile.c (__tzfile_read): Check for large values of
22915 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
22916 * time/tzset.c (__tzstring_len): New function, based on the old
22917 __tzstring function.
22918 (__tzstring): Call __tzstring_len.
22919 (parse_tzname): New helper function extracted from
22920 __tzset_parse_tz. Call __tzstring_len, without making a copy of
22921 the input string.
22922 (parse_offset): New helper function extracted from
22923 __tzset_parse_tz. Replace switch with fallthrough with
22924 initialization before sscanf.
22925 (parse_rule): Likewise.
22926 (__tzset_parse_tz): Rewrite using the new helper functions. Use
22927 new-style function definition.
22928 * timezone/Makefile (tests): Add tst-tzset.
22929 (tst-tzset.out): Dependencies on time zone files.
22930 (tst-tzset-ENV): Set TZDIR.
22931 (testdata/XT%): Copy crafted time zone files.
22932 * timezone/README: Mention crafted time zone files.
22933 * timezone/testdata/XT1, timezone/testdata/XT2,
22934 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22935 files.
22936 * timezone/tst-tzset.c: New test.
22937
22938 2015-04-24 Florian Weimer <fweimer@redhat.com>
22939
22940 * Makeconfig (+gccwarn): Remove -Winline.
22941
22942 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22943
22944 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22945
22946 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22947
22948 * NEWS: Mention sysconf() cache information support for s390.
22949 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22950
22951 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
22952
22953 * math/k_casinh.c (__kernel_casinh): Use __copysign.
22954 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22955 (__nearbyint): Likewise.
22956 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22957 (copysignl): Likewise.
22958
22959 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
22960
22961 [BZ #18287]
22962 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22963 based on padding. (CVE-2015-1781)
22964
22965 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22966
22967 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22968 libc-vdso.h.
22969 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22970 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22971 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22972 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22973 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22974 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22975 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22976 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22977 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22978 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22979 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22980 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22981 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22982 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22983 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22984 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22985 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22987 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22988 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22989 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22990 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22991 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22992
22993 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
22994
22995 * stdlib/setenv.c (__add_to_environ):
22996 Dump core quickly if setenv (..., NULL, ...) is called.
22997 This time, do it the right way, and pacify GCC with a pragma.
22998
22999 2015-04-17 Roland McGrath <roland@hack.frob.com>
23000
23001 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23002 IMAP->l_prev cannot be null, and #if out the code for the contrary
23003 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23004 believe that NS (&_dl_ns[NSID]) could point outside the array.
23005
23006 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23007 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23008 before using NSID as an index.
23009
23010 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
23011
23012 [BZ #17825]
23013 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23014 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23015 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23016
23017 2015-04-17 Roland McGrath <roland@hack.frob.com>
23018
23019 Add preliminary port to Google Native Client on ARM.
23020 * abi-tags (.*-.*-nacl.*): New entry.
23021 * sysdeps/arm/nacl: New directory.
23022 * sysdeps/nacl: New directory.
23023
23024 2015-04-16 David S. Miller <davem@davemloft.net>
23025
23026 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23027 lowlevellock-futex.h
23028
23029 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
23030
23031 * sysdeps/tile/configure.ac: New file.
23032 * sysdeps/tile/configure: Regenerated.
23033
23034 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23035
23036 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
23037 conditionals for weak_alias and libc_hidden_weak.
23038 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23039 libc_hidden_weak and weak_alias.
23040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23041 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23042 and weak_alias for static one.
23043
23044 2015-04-15 David S. Miller <davem@davemloft.net>
23045
23046 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23047
23048 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
23049
23050 [BZ #18206]
23051 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23052 Use signed comparision instead of substraction to avoid
23053 overflow bug.
23054 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23055 Take the sign of ret.
23056 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23057 Do not expect precise return values. Only the sign matters.
23058 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23059 * wcsmbs/test-wcsncmp.c: New File.
23060 * string/test-strncmp.c: Add wcsncmp support.
23061
23062 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
23063
23064 [BZ #6792]
23065 * math/w_log1p.c: New file.
23066 * math/w_log1pf.c: Likewise.
23067 * math/w_log1pl.c: Likewise.
23068 * math/Makefile (libm-calls): Add w_log1p.
23069 * math/s_log1pl.c (log1pl): Remove weak_alias.
23070 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23071 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23072 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23073 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23074 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23075 [NO_LONG_DOUBLE] (log1pl): Likewise.
23076 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23078 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23079 (log1p): Remove long_double_symbol.
23080 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23081 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23082 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23083 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23084 remove weak_alias for corresponding log1p function.
23085 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23086 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23087 * sysdeps/ia64/fpu/w_log1p.c: New file.
23088 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23089 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23090 * math/libm-test.inc (log1p_test_data): Add errno expectations.
23091
23092 2015-04-10 Joseph Myers <joseph@codesourcery.com>
23093
23094 [BZ #18247]
23095 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23096 decimal exponent by 1.
23097 * stdlib/tst-strtod-round-data: Add more tests.
23098 * stdlib/tst-strtod-round.c (tests): Regenerated.
23099
23100 2015-04-09 Joseph Myers <joseph@codesourcery.com>
23101
23102 * math/auto-libm-test-in: Add more tests of clog and clog10.
23103 * math/auto-libm-test-out: Regenerated.
23104 * sysdeps/i386/fpu/libm-test-ulps: Update.
23105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23106
23107 2015-04-09 Roland McGrath <roland@hack.frob.com>
23108
23109 * Makeconfig (module-cppflags): Exclude all .v.i files.
23110 (skip-module-cppflags): Variable removed.
23111
23112 * configure.ac (libc_config_ok): Initialize before reading
23113 preconfigure scripts, not after.
23114 * configure: Regenerated.
23115
23116 * test-skeleton.c (TIMEOUT): Move #define to top level.
23117 (main): Grok environment variable TEST_DIRECT. If set, print
23118 test expectation details into that file and then behave as if
23119 given --direct.
23120
23121 2015-04-09 Florian Weimer <fweimer@redhat.com>
23122
23123 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23124 warning on 32-bit.
23125
23126 2015-04-08 David S. Miller <davem@davemloft.net>
23127
23128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23129
23130 2015-04-08 Joseph Myers <joseph@codesourcery.com>
23131
23132 * math/auto-libm-test-in: Add more tests of atanh.
23133 * math/auto-libm-test-out: Regenerated.
23134 * sysdeps/i386/fpu/libm-test-ulps: Update.
23135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23136
23137 * math/auto-libm-test-in: Add more tests of atan.
23138 * math/auto-libm-test-out: Regenerated.
23139 * sysdeps/i386/fpu/libm-test-ulps: Update.
23140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23141
23142 2015-04-08 Florian Weimer <fweimer@redhat.com>
23143
23144 * elf/pldd.c (main): Rewrite to use struct
23145 scratch_buffer instead of extend_alloca.
23146 * elf/pldd-xx.c (find_maps): Likewise.
23147 * grp/initgroups.c: Include <scratch_buffer.h> instead of
23148 <alloca.h>.
23149 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23150 scratch_buffer instead of extend_alloca.
23151 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23152 grp/compat-initgroups.c.
23153 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23154 Rewrite to use struct scratch_buffer instead of extend_alloca.
23155 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23156 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23157
23158 2015-04-08 Joseph Myers <joseph@codesourcery.com>
23159
23160 * math/auto-libm-test-in: Add more tests of cbrt.
23161 * math/auto-libm-test-out: Regenerated.
23162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23163
23164 * math/auto-libm-test-in: Add more tests of cabs.
23165 * math/auto-libm-test-out: Regenerated.
23166 * sysdeps/i386/fpu/libm-test-ulps: Update.
23167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23168
23169 [BZ #18210]
23170 [BZ #18211]
23171 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23172 (__ieee754_atan2): Set FE_TONEAREST mode for internal
23173 computations.
23174 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23175 clog10.
23176 * math/auto-libm-test-out: Regenerated.
23177 * sysdeps/i386/fpu/libm-test-ulps: Update.
23178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23179
23180 [BZ #18197]
23181 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23182 (atan): Set FE_TONEAREST mode for internal computations.
23183 * math/auto-libm-test-in: Add more tests of atan.
23184 * math/auto-libm-test-out: Regenerated.
23185
23186 2015-04-07 James Cowgill <james410@cowgill.org.uk>
23187
23188 [BZ #17930]
23189 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23190
23191 2015-04-07 Florian Weimer <fweimer@redhat.com>
23192
23193 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23194
23195 2015-04-07 Florian Weimer <fweimer@redhat.com>
23196
23197 * include/scratch_buffer.h: New file.
23198 * malloc/scratch_buffer_grow.c: Likewise.
23199 * malloc/scratch_buffer_grow_preserve.c: Likewise.
23200 * malloc/scratch_buffer_set_array_size.c: Likewise.
23201 * malloc/tst-scratch_buffer.c: Likewise.
23202 * malloc/Makefile (routines): Add scratch_buffer_grow.
23203 (tests): Add test case.
23204 * malloc/Versions (GLIBC_PRIVATE): Export
23205 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23206 __libc_scratch_buffer_set_array_size.
23207
23208 2015-04-06 Richard Henderson <rth@redhat.com>
23209
23210 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23211 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23212
23213 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23214 unsigned int before printing.
23215
23216 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23217
23218 [BZ #17596]
23219 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23220 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23221
23222 2015-04-02 Florian Weimer <fweimer@redhat.com>
23223
23224 * include/libc-internal.h (libc_max_align_t): Define.
23225
23226 2015-04-02 Andreas Schwab <schwab@suse.de>
23227
23228 [BZ #16850]
23229 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23230
23231 2015-04-02 Mel Gorman <mgorman@suse.de>
23232
23233 [BZ #17195]
23234 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23235 as well as the main arena.
23236
23237 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
23238
23239 [BZ #18185]
23240 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23241 sharing L2 cache to 2 for Silvermont/Knights Landing.
23242
23243 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
23244
23245 [BZ #17711]
23246 * config.make.in (have-protected-data): New.
23247 * configure.ac: Check linker support for protected data symbol.
23248 * configure: Regenerated.
23249 * elf/Makefile (modules-names): Add tst-protected1moda and
23250 tst-protected1modb if $(have-protected-data) is yes.
23251 (tests): Add tst-protected1a and tst-protected1b if
23252 $(have-protected-data) is yes.
23253 ($(objpfx)tst-protected1a): New.
23254 ($(objpfx)tst-protected1b): Likewise.
23255 (tst-protected1modb.so-no-z-defs): Likewise.
23256 * elf/tst-protected1a.c: New file.
23257 * elf/tst-protected1b.c: Likewise.
23258 * elf/tst-protected1mod.h: Likewise.
23259 * elf/tst-protected1moda.c: Likewise.
23260 * elf/tst-protected1modb.c: Likewise.
23261
23262 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 [BZ #17711]
23265 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23266 indicates it is called from do_lookup_x on relocation against
23267 protected data, skip the data definion in the executable from
23268 copy reloc.
23269 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23270 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23271 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23272 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23273 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23274 otherwise to 0.
23275 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23276 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23277 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23278 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23279 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23280 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23281
23282 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
23283
23284 * sysdeps/nptl/pthread.h: Remove duplicate definition of
23285 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23286
23287 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
23288
23289 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23290 THREAD_SETMEM_NC.
23291 * sysdeps/x86_64/nptl/tls.h: Ditto.
23292
23293 2015-03-27 Roland McGrath <roland@hack.frob.com>
23294
23295 * dlfcn/tststatic.c (main): Converted to ...
23296 (do_test): ... this.
23297 (TEST_FUNCTION): New macro.
23298 Include test-skeleton.c.
23299
23300 2015-03-26 Alan Modra <amodra@gmail.com>
23301
23302 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23303 Don't segfault if ifunc resolver returns a NULL. Do set plt to
23304 zero for undefined weak.
23305 (elf_machine_plt_conflict): Similarly.
23306
23307 2015-03-25 Joseph Myers <joseph@codesourcery.com>
23308
23309 * math/auto-libm-test-in: Add more tests of acosh, asinh and
23310 atanh.
23311 * math/auto-libm-test-out: Regenerated.
23312 * sysdeps/i386/fpu/libm-test-ulps: Update.
23313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314
23315 * math/auto-libm-test-in: Add another test of asin.
23316 * math/auto-libm-test-out: Regenerated.
23317 * sysdeps/i386/fpu/libm-test-ulps: Update.
23318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23319
23320 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23321 Remove macro.
23322 (LLL_EBX_REG): Likewise.
23323 (LLL_ENTER_KERNEL): Likewise.
23324
23325 * math/auto-libm-test-in: Add more tests of asin.
23326 * math/auto-libm-test-out: Regenerated.
23327 * sysdeps/i386/fpu/libm-test-ulps: Update.
23328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23329
23330 [BZ #18138]
23331 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23332 libc_do_syscall_args): New structure.
23333 (INTERNAL_SYSCALL_MAIN_0): New macro.
23334 (INTERNAL_SYSCALL_MAIN_1): Likewise.
23335 (INTERNAL_SYSCALL_MAIN_2): Likewise.
23336 (INTERNAL_SYSCALL_MAIN_3): Likewise.
23337 (INTERNAL_SYSCALL_MAIN_4): Likewise.
23338 (INTERNAL_SYSCALL_MAIN_5): Likewise.
23339 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
23340 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23341 Replace conditional definitions by conditional definitions of ....
23342 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
23343 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23344 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23345 (libpthread-sysdep_routines): Add libc-do-syscall.
23346 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23347 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23348 to __NR_futex not 240.
23349
23350 2015-03-25 Alan Modra <amodra@gmail.com>
23351
23352 * NEWS: Advertise TLS optimization.
23353 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23354 (DT_PPC_NUM): Increment.
23355 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23356 (CHECK_STATIC_TLS): Use here.
23357 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23358 TLS descriptors.
23359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23360 * sysdeps/powerpc/dl-tls.c: New file.
23361 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23362 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23363 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23364 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23368
23369 2015-03-25 Alan Modra <amodra@gmail.com>
23370
23371 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23372 for overlapping .opd entries" to "support...".
23373 * sysdeps/powerpc/powerpc64/configure: Regenerate
23374
23375 2015-03-25 Joseph Myers <joseph@codesourcery.com>
23376
23377 * math/auto-libm-test-in: Add more tests of acos.
23378 * math/auto-libm-test-out: Regenerated.
23379 * sysdeps/i386/fpu/libm-test-ulps: Update.
23380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23381
23382 * math/auto-libm-test-in: Add more tests of expm1.
23383 * math/auto-libm-test-out: Regenerated.
23384 * sysdeps/i386/fpu/libm-test-ulps: Update.
23385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23386
23387 2015-03-24 Joseph Myers <joseph@codesourcery.com>
23388
23389 * math/auto-libm-test-in: Add more tests of cosh and sinh.
23390 * math/auto-libm-test-out: Regenerated.
23391 * sysdeps/i386/fpu/libm-test-ulps: Update.
23392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23393
23394 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23396
23397 * math/auto-libm-test-in: Add more tests of log2.
23398 * math/auto-libm-test-out: Regenerated.
23399 * sysdeps/i386/fpu/libm-test-ulps: Update.
23400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23401
23402 2015-03-23 Roland McGrath <roland@hack.frob.com>
23403
23404 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23405 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
23406 _IO_IS_APPENDING bit in READ_WRITE instead.
23407
23408 2015-03-23 Florian Weimer <fweimer@redhat.com>
23409
23410 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23411 (__determine_cpumask_size): Replace extend_alloca with a
23412 variable-length array. Do not treat res == 0 as an error.
23413
23414 2015-03-23 Florian Weimer <fweimer@redhat.com>
23415
23416 [BZ #18100]
23417 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23418 and integer overflow.
23419 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23420 (main): Add integer overflow tests.
23421 * manual/pattern.texi (Calling Wordexp): Document additional use
23422 for WRDE_SYNTAX.
23423
23424 2015-03-23 Alan Modra <amodra@gmail.com>
23425
23426 * config.h.in: Remove HAVE_ASM_PPC_REL16.
23427 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23428 and false branch of conditional.
23429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23430 Likewise.
23431
23432 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
23433
23434 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23435 libc-modules.h
23436 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23437 unused declaration of _hurd_intr_rpc_msg_in_trap.
23438 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23439 defined instead of whether it is non-zero.
23440 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23441 input constraint instead of both input and output constraint. Use ecx
23442 clobber instead of %ecx.
23443 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23444 mutex_unlock): Use a statement expression instead of an expression list.
23445 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23446 type to vm_size_t instead of vm_address_t.
23447 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23448 defined instead of whether it is non-zero.
23449 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23450 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23451 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23452 comparisons with mapaddr.
23453 * nscd/nscd-client.h: Include <time.h>.
23454 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23455 9th parameter to __vm_region instead of int.
23456 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23457 * scripts/check-local-headers.sh (exclude): Add device/,
23458 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23459 cthreads.h.
23460
23461 2015-03-19 Roland McGrath <roland@hack.frob.com>
23462
23463 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23464 to account for alignment padding.
23465 * sysdeps/arm/memmove.S: Likewise.
23466
23467 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
23468
23469 * sysdeps/unix/sysv/linux/generic/README: New file.
23470
23471 2015-03-18 Joseph Myers <joseph@codesourcery.com>
23472
23473 [BZ #18138]
23474 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23475 (futex_abstimed_wait)
23476 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23477 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23478 of lll_futex_timed_wait.
23479
23480 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
23481
23482 [BZ #17542]
23483 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23484
23485 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
23486
23487 [BZ #17090]
23488 [BZ #17620]
23489 [BZ #17621]
23490 [BZ #17628]
23491 * NEWS: Update.
23492 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23493 entries with Static TLS too. Skip entries past the end of the
23494 allocated DTV, from Alan Modra.
23495 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
23496 Static TLS DTV entry set up from...
23497 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23498 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23499 * nptl/allocatestack.c (init_one_static_tls): ... and here...
23500 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23501 for Static TLS.
23502 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
23503 that the slot we find is associated with the given map before
23504 using its generation count.
23505 * nptl_db/db_info.c: Include ldsodefs.h.
23506 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23507 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23508 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23509 (link_map::l_tls_offset): New struct field.
23510 (dtv_t::counter): Likewise.
23511 (rtld_global): New struct.
23512 (_rtld_global): New rtld variable.
23513 (dl_tls_dtv_slotinfo_list): New rtld global field.
23514 (dtv_slotinfo_list): New struct.
23515 (dtv_slotinfo): Likewise.
23516 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23517 (td_lookup): Rename to...
23518 (td_mod_lookup): ... this. Use new mod parameter instead of
23519 LIBPTHREAD_SO.
23520 * nptl_db/td_thr_tlsbase.c: Include link.h.
23521 (dtv_slotinfo_list, dtv_slotinfo): New functions.
23522 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
23523 addresses even if the DTV is out of date or missing them.
23524 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23525 index zero-length arrays.
23526 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23527 (td_lookup): Make it a macro implemented in terms of...
23528 (td_mod_lookup): ... this declaration.
23529 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23530 (DB_MAIN_VARIABLE): Likewise.
23531
23532 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
23533
23534 [BZ #18134]
23535 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23536
23537 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
23538
23539 * stdlib/setenv.c (__add_to_environ): Revert previous change.
23540
23541 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
23542
23543 [BZ #18128]
23544 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23545 (atomic_add, atomic_increment_and_test)
23546 (atomic_decrement_and_test): Fix 64-bit arithmetic.
23547
23548 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
23549
23550 * stdlib/setenv.c (__add_to_environ):
23551 Dump core quickly if setenv (..., NULL, ...) is called.
23552
23553 2015-03-13 Roland McGrath <roland@hack.frob.com>
23554
23555 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23556 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23557 all the necessary asm magic in one place.
23558 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23559 using those.
23560
23561 2015-03-13 Carlos O'Donell <carlos@redhat.com>
23562
23563 [BZ #14906]
23564 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23565 traced file mtime. Use consistent log message.
23566 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23567 (register_traced_file): Call install_watches. Always set mtime.
23568 (invalidate_cache): Iterate over all trace files. Call install_watches.
23569 (inotify_check_files): Don't inline. Handle watching parent
23570 directories and configuration file movement in and out.
23571 (handle_inotify_events): New function.
23572 (main_loop_poll): Call handle_inotify_events.
23573 (main_loop_epoll): Likewise.
23574 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23575 (struct traced_file): Use array of inotify fds. Add parent directory,
23576 and basename.
23577 (struct database_dyn): Remove unused file_mtime.
23578 (init_traced_file): New inline function.
23579 (define_traced_file): New macro.
23580 * nss/nss_db/db-init.c: Use define_traced_file.
23581 (_nss_db_init): Use init_traced_file.
23582 * nss/nss_files/files-init.c: Use define_traced_file.
23583 (_nss_files_init): Use init_traced_file.
23584
23585 2015-03-12 Joseph Myers <joseph@codesourcery.com>
23586
23587 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23588 [_LIBC]: Do not include <stdlib.h>.
23589 [!_LIBC] (abort): Remove declaration.
23590 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23591 _FP_STATIC_ASSERT instead of conditionally calling abort.
23592 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23593 (_FP_EXTEND_CNAN): Likewise.
23594 (FP_TRUNC): Likewise.
23595 (__FP_CLZ): Likewise.
23596 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23597
23598 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
23599
23600 * manual/string.texi (XPG basename): Fix prototype.
23601
23602 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23603
23604 [BZ #18080]
23605 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23606 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23607 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23608 (__setcontext): Likewise.
23609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23610 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23611 Call rt_sigprocmask syscall one time to set new signal mask
23612 and retrieve the current signal mask instead of two calls.
23613 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23614 (__swapcontext): Likewise.
23615 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23616 * stdlib/tst-setcontext2.c: New file.
23617
23618 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
23619
23620 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23621
23622 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
23623
23624 [BZ #18093]
23625 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23626 the wrong size.
23627
23628 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23629
23630 [BZ #18043]
23631 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23632
23633 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
23634
23635 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23636 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23637 Remove define.
23638 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23639 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23640 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23641 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23642 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23643 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23644 define.
23645 * nptl_db/td_symbol_list.c (td_lookup): Remove
23646 HAVE_ASM_GLOBAL_DOT_NAME code.
23647 * sysdeps/powerpc/powerpc64/configure.ac: Remove
23648 HAVE_ASM_GLOBAL_DOT_NAME check.
23649 * sysdeps/powerpc/powerpc64/configure: Regenerate.
23650 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23651 (DOT_LABEL): Remove define.
23652 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23653 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23654 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23655 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23656 (__TLS_GET_ADDR): Likewise.
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23658 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23659
23660 2015-03-11 Carlos O'Donell <carlos@redhat.com>
23661
23662 [BZ #18111]
23663 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23664 (_FPU_SETCW): Initialize cw from fpsr before storing.
23665 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23666 (fesetexceptflag): Rewrite using fpu_control.h.
23667 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23668
23669 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
23670
23671 [BZ #18110]
23672 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23673 asms.
23674 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23675
23676 2015-03-11 Joseph Myers <joseph@codesourcery.com>
23677
23678 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23679 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23680 abort.
23681 (_FP_FMA): Likewise.
23682 (_FP_DIV): Likewise.
23683
23684 2015-03-10 Roland McGrath <roland@hack.frob.com>
23685
23686 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23687 with 0 in that case.
23688 * Makefile (summarize-tests): New canned sequence, factored out of
23689 commands for targets tests and xtests. Display summary lines that
23690 don't start with PASS: or XFAIL: rather than ones that do start with
23691 ERROR: or FAIL:. Make the commands fail if any summary lines fail
23692 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23693 do start with ERROR: or FAIL:.
23694 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23695 (except for [$(build-shared) = yes]).
23696 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23697 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23698 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23699 * nptl/Makefile: Revert 2015-03-04 changes.
23700 [$(CXX) empty] (tests-unsupported): New variable.
23701 * debug/Makefile: Likewise.
23702
23703 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23704 gnulib file. Replace __attribute with __attribute__ throughout.
23705
23706 2015-03-10 Carlos O'Donell <carlos@redhat.com>
23707
23708 * sysdeps/hppa/fpu/libm-test-ulps: Update.
23709
23710 2015-03-10 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #18104]
23713 * math/auto-libm-test-in: Add another test of pow.
23714 * math/auto-libm-test-out: Regenerated.
23715
23716 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717
23718 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23719 $(config-cflags-nofma).
23720
23721 2015-03-10 Joseph Myers <joseph@codesourcery.com>
23722
23723 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23724 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23725 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23726 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23727 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23728 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23729 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23730 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23731 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23732 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23733 Add comment on closing #endif.
23734
23735 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
23736
23737 * posix/wordexp.c (CHAR_IN_SET): New macro.
23738 (parse_param): Use it.
23739
23740 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23741
23742 * sysdeps/powerpc/fpu/libm-test-ulps: update.
23743
23744 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
23745
23746 [BZ #18043]
23747 * posix/wordexp.c (parse_param): Fix buffer overflow.
23748 * posix/wordexp-test.c (test_case): Add test case.
23749
23750 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
23751
23752 [BZ #18042]
23753 * posix/wordexp.c (parse_backtick): Fix off-by-one.
23754 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23755
23756 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
23757
23758 [BZ #18043]
23759 * posix/wordexp-test.c (test_case): Add test for BZ #18043
23760 (do_bz18043): Delete.
23761 (at_page_end): New.
23762 (testit): Refactor to have words at the edge of unreadable page.
23763
23764 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23765
23766 [BZ #16734]
23767 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23768 Cleanup read-only streams as well.
23769 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23770
23771 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
23772
23773 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23774 <bits/libc-lockP.h>
23775
23776 2015-03-07 Joseph Myers <joseph@codesourcery.com>
23777
23778 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
23779 on [__KERNEL__].
23780 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23781 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23782 * soft-fp/op-common.h (_FP_DECL): Likewise.
23783
23784 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
23785
23786 * elf/ifuncdep2.c (global): Replace
23787 __attribute__((visibility("protected"))) with
23788 asm (".protected global").
23789 * elf/ifuncmod1.c (global): Likewise.
23790 * elf/ifuncmod5.c (global): Likewise.
23791
23792 2015-03-06 Joseph Myers <joseph@codesourcery.com>
23793
23794 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23795 <asm/sfp-machine.h> instead of <sfp-machine.h>.
23796
23797 2015-03-06 Roland McGrath <roland@hack.frob.com>
23798
23799 * manual/install.texi (Configuring and compiling):
23800 Document test-wrapper-env-only.
23801 * INSTALL: Regenerated.
23802
23803 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23804
23805 [BZ #18043]
23806 * posix/wordexp.c (parse_param): Fix buffer overflow.
23807 * posix/wordexp-test.c (do_bz18043): Add test case.
23808
23809 2015-03-06 Vincent Bernat <vincent@bernat.im>
23810
23811 * time/tst-strptime2.c (do_test): Ensure failing tests are
23812 reported correctly.
23813 * time/tst-strptime3.c (do_test): Likewise.
23814
23815 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
23816
23817 Fix aio_error thread-safety.
23818 * sysdeps/pthread/aio_error.c: New file
23819 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23820 synchronization.
23821
23822 2015-03-06 Florian Weimer <fweimer@redhat.com>
23823
23824 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23825 (group_number, vfprintf): Use it.
23826 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23827 (JUMP, REF): Use it.
23828 (WORK_BUFFER_SIZE): New enum constant.
23829 (process_arg, vfprintf): Use it.
23830
23831 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
23832
23833 * manual/errno.texi (Error Messages): Complete example function
23834 by adding missing #define.
23835 (program_invocation_name): Add statement indicating GNU
23836 extension and reference which header file declares the variable.
23837 (program_invocation_short_name): Likewise.
23838
23839 2015-03-06 Mike Frysinger <vapier@gentoo.org>
23840
23841 * manual/errno.texi (Error Messages): Delete strerror ISO C89
23842 compatibility note.
23843
23844 2015-03-05 Roland McGrath <roland@hack.frob.com>
23845
23846 * Makeconfig (test-wrapper-env-only): New variable.
23847 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23848 then use that with $(test-wrapper-env-only) rather than using
23849 $(test-wrapper-env) $(run-program-env) $($*-ENV).
23850
23851 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
23852
23853 [BZ #18082]
23854 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23855 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23856 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23857 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23858 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23859 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23860 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23861 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23862 Likewise.
23863 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23864 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23865 Likewise.
23866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23867 Likewise.
23868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23869 Likewise.
23870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23871 Likewise.
23872 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23874 Likewise.
23875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23876 Likewise.
23877 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23878 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23879
23880 2015-03-04 Roland McGrath <roland@hack.frob.com>
23881
23882 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23883 (ETH_ALEN): New macro.
23884 (struct ether_addr): Use it for length of ether_addr_octet.
23885
23886 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23887 (setdb): Don't call __nss_configure_lookup for "rpc".
23888 (do_test): Don't call test_rpc.
23889 (output_rpcent, test_rpc): Functions moved ...
23890 * sunrpc/test-rpcent.c: ... to this new file.
23891 * sunrpc/Makefile (tests): Add it.
23892
23893 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23894 __xpg_sigpause.
23895 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23896 * nptl/tst-signal6.c: Likewise.
23897 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23898 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23899
23900 * configure.ac (libc_cv_cxx_link_ok): New check.
23901 Reset CXX to empty if it fails to link.
23902 * configure: Regenerated.
23903 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23904 bug-atexit3-lib only if $(CXX) is nonempty.
23905 * nptl/Makefile (tests): Likewise for tst-cancel24.
23906 (tests, tests-static): Likewise for tst-cancel24-static.
23907 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23908 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23909 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23910 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23911
23912 2015-03-04 Andreas Schwab <schwab@suse.de>
23913
23914 [BZ #17631]
23915 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23916 for non-GCC compilers.
23917 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23918 Likewise.
23919
23920 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
23921
23922 [BZ #17776]
23923 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23924 integer before bitwise and assembly operations.
23925 (feclearexcept): Likewise.
23926 * math/test-fenvinline.c: New file.
23927 * math/Makefile: Add test-fenvinline test.
23928
23929 2015-03-03 Alan Modra <amodra@gmail.com>
23930
23931 [BZ #16512]
23932 * scripts/localplt.awk: Strip off symbol version.
23933 * NEWS: Mention bug fix.
23934
23935 2015-03-02 Roland McGrath <roland@hack.frob.com>
23936
23937 * sysdeps/pthread/timer_routines.c
23938 (timer_free_list, thread_free_list, thread_active_list): Make static.
23939
23940 2015-03-02 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #17779]
23943 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23944 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23945 Undefine.
23946 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23947 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23948 Likewise.
23949 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23950 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23951 Likewise.
23952
23953 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23954
23955 [BZ #18036]
23956 * posix/fnmatch_loop.c (END): Detect invalid pattern.
23957 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23958
23959 2015-03-02 Andreas Schwab <schwab@suse.de>
23960
23961 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23962 variable name.
23963
23964 2015-03-02 Florian Weimer <fweimer@redhat.com>
23965
23966 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23967 Return error status.
23968
23969 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
23970
23971 [BZ #15969]
23972 * locale/findlocale.c (_nl_find_locale): Introduce const
23973 version of loc_name and drop unsafe type casts.
23974
23975 2015-02-27 Roland McGrath <roland@hack.frob.com>
23976
23977 * dlfcn/tststatic2.c (main): Converted to ...
23978 (do_test): ... this.
23979 (TEST_FUNCTION): New macro.
23980 Include test-skeleton.c.
23981
23982 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
23983
23984 [BZ #17711]
23985 * elf/Makefile (tests): Add vismain only if PIE is enabled.
23986 (tests-pie): Add vismain.
23987 (CFLAGS-vismain.c): New.
23988 * elf/vismain.c: Add comments for PIE requirement.
23989
23990 2015-02-27 Joseph Myers <joseph@codesourcery.com>
23991
23992 [BZ #18046]
23993 [BZ #18047]
23994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23995 0x1p-56L as threshold for just returning the argument.
23996 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23997 0x1p-32L as threshold for just returning the argument.
23998 * math/auto-libm-test-in: Add more tests of atanh.
23999 * math/auto-libm-test-out: Regenerated.
24000 * sysdeps/i386/fpu/libm-test-ulps: Update.
24001 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24002
24003 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
24004
24005 * string/bcopy.c (bcopy): Call memmove for performance.
24006
24007 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
24008
24009 * string/bzero.c (__bzero): Call memset for performance.
24010
24011 2015-02-27 John David Anglin <dave.anglin@bell.net>
24012
24013 [BZ #18068]
24014 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24015 to 00100000.
24016
24017 2015-02-27 Joseph Myers <joseph@codesourcery.com>
24018
24019 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24020
24021 2015-02-26 Joseph Myers <joseph@codesourcery.com>
24022
24023 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24024 (__kernel_standard): Use CSTR macro when setting exc.name.
24025 * sysdeps/ieee754/Makefile [$(subdir) = math]
24026 (CFLAGS-k_standard.c): Remove variable.
24027
24028 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24029 setting p and q from "else if" to "else".
24030 (qzero): Likewise.
24031 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24032 (qone): Likewise.
24033 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24034 (qzerof): Likewise.
24035 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24036 (qonef): Likewise.
24037 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24038 (qzero): Likewise.
24039 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24040 (qone): Likewise.
24041
24042 [BZ #18038]
24043 [BZ #18039]
24044 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24045 return pi/2 for arguments below 0x1p-113L.
24046 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24047 return pi/2 for arguments below 0x1p-106L.
24048 * math/auto-libm-test-in: Add more tests of acos.
24049 * math/auto-libm-test-out: Regenerated.
24050
24051 [BZ #16351]
24052 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24053 (MO): New macro.
24054 (__ieee754_asin): Force underflow exception for results with small
24055 absolute value.
24056 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24057 (MO): New macro.
24058 (__ieee754_asinf): Force underflow exception for results with
24059 small absolute value.
24060 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24061 (__ieee754_asin): Force underflow exception for results with small
24062 absolute value.
24063 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24064 (__ieee754_asinf): Force underflow exception for results with
24065 small absolute value.
24066 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24067 (__ieee754_asinl): Force underflow exception for results with
24068 small absolute value.
24069 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24070 (__ieee754_asinl): Force underflow exception for results with
24071 small absolute value.
24072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24073 (__ieee754_asinl): Force underflow exception for results with
24074 small absolute value.
24075 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24076 Include <math.h>.
24077 * math/auto-libm-test-in: Do not mark underflow exceptions as
24078 possibly missing for bug 16351.
24079 * math/auto-libm-test-out: Regenerated.
24080
24081 [BZ #18030]
24082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24083 of power of 2 down when low part has opposite sign.
24084 * math/libm-test.inc (logb_test_data): Add more tests.
24085
24086 2015-02-26 Andreas Schwab <schwab@suse.de>
24087
24088 [BZ #18032]
24089 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24090 over collating symbol inside a bracket expression. Minor cleanup.
24091 * posix/tst-fnmatch3.c (do_test): Add test case.
24092
24093 2015-02-26 Joseph Myers <joseph@codesourcery.com>
24094
24095 [BZ #18029]
24096 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24097 Adjust exponent of power of 2 down when low part has opposite
24098 sign.
24099 * math/libm-test.inc (ilogb_test_data): Add more tests.
24100
24101 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
24102
24103 [BZ #15969]
24104 * locale/findlocale.c (_nl_find_locale): Fix constness error in
24105 the previous change.
24106
24107 [BZ #15969]
24108 * locale/findlocale.c (_nl_find_locale): Retry archive search
24109 after alias expansion.
24110
24111 2015-02-25 Roland McGrath <roland@hack.frob.com>
24112
24113 * iconv/tst-iconv3.c (main): Converted to ...
24114 (do_test): ... this.
24115 (TEST_FUNCTION): New macro.
24116 Include test-skeleton.c.
24117
24118 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24119 (convert): Make function static.
24120 (test_unalign): Likewise. Add const to argument pointee types.
24121 (main): Replace with static function do_test.
24122 Print "Succeeded." only if RET is zero.
24123 (TEST_FUNCTION): New macro.
24124 Include test-skeleton.c.
24125
24126 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24127 returns a null pointer.
24128
24129 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24130
24131 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24132 to __memcpy_ppc only for static builds.
24133
24134 2015-02-25 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #18020]
24137 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24138 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24139 * math/auto-libm-test-in: Add more tests of asinh.
24140 * math/auto-libm-test-out: Regenerated.
24141 * sysdeps/i386/fpu/libm-test-ulps: Update.
24142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24143
24144 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
24145
24146 [BZ #15850]
24147 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24148 and ip6_mtuinfo definitions here.
24149 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24150 in this define too. Update comment.
24151
24152 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
24153
24154 * elf/sprof.c (load_shobj): Tweak error message to match others.
24155
24156 2015-02-24 Kevin Easton <kevin@guarana.org>
24157
24158 [BZ #16145] (partial fix)
24159 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24160 to reduce lock contention.
24161
24162 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
24163
24164 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24165 (struct timex): Update time comment.
24166 (ADJ_SETOFFSET): Define.
24167
24168 2015-02-24 Joseph Myers <joseph@codesourcery.com>
24169
24170 [BZ #18019]
24171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24172 2**56 not 2**28 as threshold for log (2x) formula.
24173 * math/auto-libm-test-in: Add more tests of acosh.
24174 * math/auto-libm-test-out: Regenerated.
24175 * sysdeps/i386/fpu/libm-test-ulps: Update.
24176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24177
24178 2015-02-24 Mike Frysinger <vapier@gentoo.org>
24179
24180 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24181 parenthesis around the buf assignment.
24182 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24183
24184 2015-02-24 Joseph Myers <joseph@codesourcery.com>
24185
24186 [BZ #16783]
24187 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24188 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24189 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24190 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24191 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24192 * math/libm-test.inc (scalb_test_data): Add more tests.
24193
24194 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24195
24196 [BZ #17916]
24197 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24198 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24199
24200 2015-02-24 Eric Rannaud <e@nanocritical.com>
24201
24202 [BZ #17523]
24203 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24204 * io/bits/fcntl2.h (open): Use it.
24205 (openat): Likewise.
24206 * io/open.c (__libc_open): Likewise.
24207 * io/open64.c (__libc_open64): Likewise.
24208 * io/open64_2.c (__open64_2): Likewise.
24209 * io/open_2.c (__open_2): Likewise.
24210 * io/openat.c (__openat): Likewise.
24211 * io/openat64.c (__openat64): Likewise.
24212 * io/openat64_2.c (__openat64_2): Likewise.
24213 * io/openat_2.c (__openat_2): Likewise.
24214 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24215 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24216 * sysdeps/posix/open64.c (__libc_open64): Likewise.
24217 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24218 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24219 (__open_nocancel): Likewise.
24220 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24221 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24222 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24223
24224 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24225
24226 [BZ #14841]
24227 * resolv/gethnamaddr.c (getanswer): Skip logging if
24228 RES_USE_DNSSEC is set.
24229 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24230
24231 2015-02-24 Mike Frysinger <vapier@gentoo.org>
24232
24233 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24234
24235 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
24236
24237 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24238 201304L, for Unicode 7.
24239
24240 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 [BZ #17836]
24243 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24244 shared library. Add gmon-start.os otherwise.
24245 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24246 $(objpfx)gmon-start.os if builing shared library.
24247 ($(objpfx)g$(static-start-installed-name)): Likewise.
24248
24249 2015-02-23 Andreas Schwab <schwab@suse.de>
24250
24251 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24252
24253 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24254
24255 [BZ #17269]
24256 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24257 (enlarge_userbuf): Likewise.
24258
24259 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
24260
24261 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24262 * math/atest-exp.c (TIMEOUT): Adjust to 200.
24263 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24264 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24265
24266 2015-02-20 Joseph Myers <joseph@codesourcery.com>
24267
24268 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24269 expression inside statement expression.
24270
24271 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
24272
24273 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24274 <sysdeps/nptl/lowlevellock.h> and remove macros and
24275 functions that are now defined there.
24276 (SYS_futex): Remove.
24277 (lll_compare_and_swap): Remove.
24278 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24279
24280 2015-02-19 Joseph Myers <joseph@codesourcery.com>
24281
24282 [BZ #17999]
24283 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24284 instead of scandirat.
24285 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24286 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24287 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24288 __scandirat.
24289 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24290 (__scandirat): Declare. Use libc_hidden_proto.
24291 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24292 Remove variable.
24293 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24294
24295 2015-02-18 Joseph Myers <joseph@codesourcery.com>
24296
24297 [BZ #15319]
24298 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24299 (MO): New macro.
24300 (__ieee754_atan2): For results with small absolute value, force
24301 underflow exception and remove excess range and precision from
24302 return value.
24303 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24304 (MO): New macro.
24305 (__ieee754_atan2f): For results with small absolute value, force
24306 underflow exception and remove excess range and precision from
24307 return value.
24308 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24309 (MO): New macro.
24310 (__atan): For results with small absolute value, force underflow
24311 exception and remove excess range and precision from return value.
24312 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24313 (MO): New macro.
24314 (__atanf): For results with small absolute value, force underflow
24315 exception and remove excess range and precision from return value.
24316 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24317 <math.h>.
24318 (__ieee754_atan2): Force underflow exception for results with
24319 small absolute value.
24320 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24321 <math_private.h>.
24322 (atan): Force underflow exception for results with small absolute
24323 value.
24324 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24325 (__atanf): Force underflow exception for results with small
24326 absolute value.
24327 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24328 <math.h>.
24329 (__atanl): Force underflow exception for results with small
24330 absolute value.
24331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24332 (__atanl): Force underflow exception for results with small
24333 absolute value.
24334 * sysdeps/x86/fpu/bits/mathinline.h
24335 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24336 (__ieee754_atan2): Only define inline for long double.
24337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24338 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24339 * math/auto-libm-test-in: Do not mark underflow exceptions as
24340 possibly missing for bug 15319. Add more tests of atan2.
24341 * math/auto-libm-test-out: Regenerated.
24342 * math/libm-test.inc (casin_test_data): Do not mark underflow
24343 exceptions as possibly missing for bug 15319.
24344 (casinh_test_data): Likewise.
24345 * sysdeps/i386/fpu/libm-test-ulps: Update.
24346
24347 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
24348
24349 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24350 * sysdeps/mips/bits/endian.h: Fix comments.
24351
24352 2015-02-18 Joseph Myers <joseph@codesourcery.com>
24353
24354 [BZ #17996]
24355 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24356 (hdestroy_r): Likewise.
24357 (hsearch_r): Likewise.
24358 (__hcreate_r): Declare and use libc_hidden_proto.
24359 (__hdestroy_r): Likewise.
24360 (__hsearch_r): Likewise.
24361 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24362 (hcreate): Call __hcreate_r instead of hcreate_r.
24363 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24364 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24365 as weak alias of __hcreate_r.
24366 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24367 __hdestroy_r.
24368 (hsearch_r): Rename to __hsearch_r and define as weak alias of
24369 __hsearch_r.
24370 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24371 Remove variable.
24372 (test-xfail-XPG4/search.h/linknamespace): Likewise.
24373 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24374 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24375 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24376
24377 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24378
24379 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24380 arena_lock into a single arena_get.
24381
24382 2015-02-17 Carlos O'Donell <carlos@redhat.com>
24383
24384 * dl-reloc.c: Inlucde libc-internal.h.
24385 (_dl_try_allocate_static_tls): Call ALIGN_UP.
24386 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24387 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24388 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24389 (grow_heap): Likewise.
24390 * malloc/malloc.c: Include libc-internal.h.
24391 (do_check_malloc): Call powerof2.
24392 (sysmalloc): Use pagesize. Call ALIGN_UP.
24393 (systrim): Use pagesize.
24394 (mremap_chunk): Use pagesize. Call ALIGN_UP.
24395 (__libc_valloc): Use pagesize.
24396 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24397
24398 2015-02-17 Joseph Myers <joseph@codesourcery.com>
24399
24400 [BZ #17991]
24401 * include/sys/resource.h (__getrlimit64): Declare. Use
24402 libc_hidden_proto.
24403 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24404 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
24405 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24406 getrlimit64.
24407 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24408 __getrlimit64.
24409 [!getrlimit64] (getrlimit64): Define as weak alias of
24410 __getrlimit64. Use libc_hidden_weak.
24411 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24412 using __getrlimit64 not __new_getrlimit64.
24413 (__GI_getrlimit64): Likewise.
24414 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24415 Likewise.
24416 (__GI_getrlimit64): Likewise.
24417 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24419 (getrlimit): Add __getrlimit64 alias.
24420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24421 Likewise.
24422 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24423 Remove variable.
24424 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24425 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24426
24427 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
24428
24429 * libio/fileops.c: Add missing sys/mman.h
24430 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24431
24432 2015-02-17 Joseph Myers <joseph@codesourcery.com>
24433
24434 * manual/math.texi (Errors in Math Functions): Clarify goals
24435 regarding inexact and underflow exceptions.
24436
24437 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
24438
24439 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24440 * sysdeps/mips/memset.S: Ditto.
24441
24442 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
24443
24444 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24445
24446 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
24447
24448 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24449 (__v1longjmp): Remove versioned symbol.
24450 (__v1siglongjmp): Remove alias and versioned symbol.
24451 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24452 (__v2siglongjmp): Likewise.
24453
24454 2015-02-16 Torvald Riegel <triegel@redhat.com>
24455
24456 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24457
24458 2015-02-16 Mike Frysinger <vapier@gentoo.org>
24459
24460 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24461
24462 2015-02-16 Joseph Myers <joseph@codesourcery.com>
24463
24464 [BZ #17987]
24465 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24466 zero result does not depend on the sign resulting from
24467 subtraction.
24468 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24469 Likewise.
24470 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24471 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24472 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24473 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24474 * math/libm-test.inc (remquo_test_data): Add more tests.
24475
24476 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
24477
24478 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24479 Problem reported by J William Piggott.
24480
24481 2015-02-16 Joseph Myers <joseph@codesourcery.com>
24482
24483 [BZ #17978]
24484 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24485 products 4 * y and 2 * y where those would overflow.
24486 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24487 Likewise.
24488 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24489 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24490 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24491 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24492 * math/libm-test.inc (remquo_test_data): Add more tests.
24493
24494 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24495
24496 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24497 [defined _COMPILING_NEWLIB].
24498 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24499 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24500
24501 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24502 [!defined __mips_isa_rev || __mips_isa_rev < 6].
24503
24504 2015-02-16 Torvald Riegel <triegel@redhat.com>
24505
24506 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24507 acquired.
24508
24509 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
24510
24511 [BZ #17792]
24512 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24513 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24514 HOST_STACK_END_ADDR): Likewise.
24515
24516 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
24517
24518 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24519 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24520 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24521
24522 2015-02-13 Roland McGrath <roland@hack.frob.com>
24523
24524 * sysdeps/generic/c++-types.data: New file.
24525 * sysdeps/generic/ld.abilist: New file.
24526 * sysdeps/generic/libBrokenLocale.abilist: New file.
24527 * sysdeps/generic/libanl.abilist: New file.
24528 * sysdeps/generic/libc.abilist: New file.
24529 * sysdeps/generic/libcrypt.abilist: New file.
24530 * sysdeps/generic/libdl.abilist: New file.
24531 * sysdeps/generic/libm.abilist: New file.
24532 * sysdeps/generic/libpthread.abilist: New file.
24533 * sysdeps/generic/libresolv.abilist: New file.
24534 * sysdeps/generic/librt.abilist: New file.
24535
24536 2015-02-13 Joseph Myers <joseph@codesourcery.com>
24537
24538 [BZ #17569]
24539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24540 Compute absolute value of x as modified by fmod, not original
24541 value of x.
24542 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24543 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
24544 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
24545 RUN_TEST_ffI_f1_mod8.
24546 (remquo_test_data): Add more tests.
24547
24548 2015-02-13 Roland McGrath <roland@hack.frob.com>
24549
24550 * sysdeps/init_array/pt-crti.S: New file.
24551
24552 2015-02-13 Joseph Myers <joseph@codesourcery.com>
24553
24554 [BZ #17967]
24555 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24556 __builtin_fmaf instead of relying on contraction of a * b + c.
24557
24558 2015-02-12 J William Piggott <elseifthen@gmx.com>
24559
24560 [BZ #17969]
24561 * manual/time.texi: correct the zoneinfo path in the TZ Variable
24562 node.
24563
24564 2015-02-12 Joseph Myers <joseph@codesourcery.com>
24565
24566 [BZ #17964]
24567 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24568 __builtin_fma instead of relying on contraction of a * b + c.
24569
24570 2015-02-12 Roland McGrath <roland@hack.frob.com>
24571
24572 * Makeconfig (ASFLAGS): Add -Werror=undef.
24573 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24574 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24575 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24576
24577 * Makeconfig (after-link): New variable.
24578 (+link-pie, +link-pie-tests): Use it.
24579 (+link-static, +link-static-tests): Likewise.
24580 (+link, +link-tests): Likewise.
24581 * Makerules (build-module, build-module-asneeded): Likewise.
24582 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24583 Likewise.
24584 * elf/Makefile ($(objpfx)ld.so): Likewise.
24585
24586 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
24587
24588 [BZ #17965]
24589 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24590 both struct timeval and struct timespec.
24591
24592 2015-02-12 Joseph Myers <joseph@codesourcery.com>
24593
24594 [BZ #16560]
24595 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24596 and redefine.
24597 (__ieee754_exp2l): Do not multiply small fractional parts by
24598 M_LN2l.
24599 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24600 small argument.
24601 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24602 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24603 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24604 * math/auto-libm-test-in: Add more tests of exp2.
24605 * math/auto-libm-test-out: Regenerated.
24606
24607 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24608
24609 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24610 unaligned path.
24611
24612 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24613
24614 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24615 little endian.
24616
24617 2015-02-12 Andreas Schwab <schwab@suse.de>
24618
24619 [BZ #15790]
24620 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24621 Filter out elision flags from value returned in kind.
24622 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24623 * nptl/tst-pthread-mutexattr.c: New file.
24624
24625 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
24626
24627 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24628 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24629 into gnu-gnu, and update comment to refer to abi-tags.
24630
24631 2015-02-11 Joseph Myers <joseph@codesourcery.com>
24632
24633 [BZ #15467]
24634 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24635 (__sincos): Set errno to EDOM for infinite argument.
24636 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24637 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24638 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24639 (__sincosl): Set errno to EDOM for infinite argument.
24640 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24641 (__sincosl): Set errno to EDOM for infinite argument.
24642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24643 (__sincosl): Set errno to EDOM for infinite argument.
24644 * math/libm-test.inc (sincos_test_data): Test errno setting.
24645
24646 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
24647
24648 * string/strxfrm_l.c: Remove #define STRCMP.
24649 * string/strcoll_l.c: Remove #define STRLEN.
24650 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24651 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24652
24653 2015-02-10 Joseph Myers <joseph@codesourcery.com>
24654
24655 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24656 * sysdeps/mips/mips32/sfp-machine.h: ... here.
24657 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24658 * sysdeps/mips/mips64/Makefile: ... here.
24659 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24660 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24661 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24662 * sysdeps/mips/mips64/sfp-machine.h: ... here.
24663 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24664 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24665 * sysdeps/mips/mips64/n64/Implies: Likewise.
24666
24667 2015-02-10 Roland McGrath <roland@hack.frob.com>
24668
24669 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24670 <sys/time.h>, <string.h>, and <errno.h>.
24671 (dest_offset, dest_address, value, zero): Remove unused variables.
24672 (ldouble): Remove typedef.
24673 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24674 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
24675 1). Fix code style.
24676 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24677 (check): Function removed.
24678 (CHECK): New macro.
24679 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
24680 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24681 Don't call set_sigaction_FP and remove_sigaction_FP here.
24682 (ldouble_test): Just use 'long double' as macro argument, no need for
24683 the 'ldouble' typedef.
24684 (do_test): Set up SIGFPE handler at start, using plain signal rather
24685 than sigaction. Fix code style.
24686
24687 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
24688
24689 [BZ #17949]
24690 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24691 jump label.
24692
24693 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
24694
24695 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24696 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24697
24698 * sysdeps/powerpc/configure.ac: Remove file.
24699 * sysdeps/powerpc/configure: Likewise.
24700
24701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24702 [sysdep_routines]: Remove wordcopy-power6 object.
24703 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24704 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24705 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24706 (__memmove_ppc32): Likewise.
24707 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24708 file.
24709 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24710 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24711 Remove preprocessor.
24712
24713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24714 [sysdep_routines]: Remove wide chars objects.
24715 [wcsmbs]: New rule for wide char objects.
24716
24717 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24718 Remove wordcopy-power6 obejct.
24719 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24720 Use local call for wordcopy and memcpy symbols.
24721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24723 implementation for loader.
24724 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24725
24726 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24727 Remove wordcopy-power7 object.
24728 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24729 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24730 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24731 (_wordcopy_fwd_dest_aligned): Likewise.
24732 (_wordcopy_bwd_aligned): Likewise.
24733 (_wordcopy_bwd_dest_aligned): Likewise.
24734
24735 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24736 Rewrite to call __memmove_ppc instead of include default
24737 implementation.
24738
24739 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24740 Remove wide chars objects.
24741 [wcsmbs]: New rule for wide char objects.
24742
24743 2015-02-09 Andreas Schwab <schwab@suse.de>
24744
24745 [BZ #17912]
24746 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24747 in terms of __O_DIRECTORY.
24748
24749 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
24750
24751 * time/getdate.c: Include <stdbool.h>.
24752 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24753 call PTR_MANGLE.
24754 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24755 PTR_DEMANGLE.
24756
24757 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
24758
24759 Add ersatz _Static_assert on older C hosts
24760 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24761 pre-C11 C platform that is not known to support _Static_assert.
24762
24763 2015-02-07 Richard Braun <rbraun@sceen.net>
24764
24765 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24766 sigstate.
24767 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24768
24769 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
24770
24771 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24772 priority against unexistent AIO_PRIO_DELTA_MAX.
24773 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24774 instead of int.
24775 * misc/fchflags.c (fchflags): Likewise.
24776 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24777 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24778 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24779 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24780 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24781 Declare macros.
24782 [__USE_MISC] (chflags, fchflags): Declare functions.
24783 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24784 EINVAL when nfds is greater than FD_SETSIZE.
24785 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24786 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24787 45.
24788 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24789 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24790 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24791 MACH_RCV_TIMED_OUT.
24792 * hurd/hurd/signal.h (_hurd_self_sigstate,
24793 _hurd_critical_section_lock, _hurd_critical_section_unlock):
24794 Explicit casts from void *.
24795 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24796 * abi-tags: Rename gnu-gnu os into gnu.
24797
24798 [BZ #4719]
24799 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24800 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24801 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24802 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24803 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24804 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24805
24806 [BZ #17944]
24807 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24808 duplicates ADDR->sun_path with sockaddr LEN limitation.
24809 * sysdeps/mach/hurd/connect.c: Include <string.h>
24810 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24811 * sysdeps/mach/hurd/sendmsg.c: Likewise.
24812 * sysdeps/mach/hurd/sendto.c: Likewise.
24813 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24814 implementing it by hand.
24815
24816 2015-02-06 Roland McGrath <roland@hack.frob.com>
24817
24818 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24819 Use sfi_breg on ldr.
24820 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24821 Likewise.
24822
24823 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24824 it's defined.
24825 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24826 Test SIGSETXID only if it's defined.
24827
24828 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24829
24830 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24831 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
24832
24833 * nptl/tst-align2.c: Moved ...
24834 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24835 * nptl/Makefile (tests): Remove tst-align2.
24836 * sysdeps/unix/sysv/linux/Makefile
24837 [$(subdir) = nptl] (tests): Add tst-align-clone.
24838 * nptl/tst-getpid1.c: Moved ...
24839 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24840 * nptl/tst-getpid2.c: Moved ...
24841 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24842 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24843 * sysdeps/unix/sysv/linux/Makefile
24844 [$(subdir) = nptl] (tests): ... here.
24845 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24846 * sysdeps/unix/sysv/linux/Makefile
24847 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24848
24849 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24850 Drop trailing \n from perror argument. Use return rather than exit.
24851
24852 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24853 on [SA_SIGINFO].
24854 * nptl/tst-cancel21.c (do_test): Likewise.
24855 * debug/tst-backtrace6.c: Include <signal.h> first thing.
24856 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24857 [!SA_SIGINFO]: Make it a stub test.
24858
24859 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24860 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24861
24862 * posix/tst-getlogin.c: Move to ...
24863 * login/tst-getlogin.c: ... here.
24864 * posix/Makefile (tests): Move tst-getlogin to ...
24865 * login/Makefile (tests): ... here.
24866
24867 * libio/tst-atime.c (do_test): Move local variables SV and E
24868 inside [ST_NOATIME] conditional.
24869
24870 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24871
24872 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24873
24874 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24875 (wait_code): New function replaces macro.
24876 Call nanosleep rather than syscall.
24877
24878 * nptl/pt-system.c: Rewritten. Put everything under
24879 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24880 Use IFUNC to redirect when possible.
24881
24882 * nptl/pt-longjmp.c: Rewritten. Put everything under
24883 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24884 Use IFUNC to redirect when possible.
24885
24886 * nptl/pt-fork.c: Rewritten. Put everything under
24887 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24888 Use IFUNC to redirect when possible.
24889 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24890
24891 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24892 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24893 unconditionally nowadays. This included the only reference to
24894 __vdso_clock_gettime that appears outside libc proper.
24895 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24896 Remove version set (containing only __vdso_clock_gettime).
24897 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24898 Add attribute_hidden.
24899 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24900 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24901 libc_hidden_data_def.
24902 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24903 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24904
24905 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24906 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24907 setrpcent, and getrpcport to ...
24908 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24909 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24910 getrpcbynumber_r, and getrpcent_r to ...
24911 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24912 * inet/getrpcbyname.c: Moved ...
24913 * sunrpc/getrpcbyname.c: ... here.
24914 * inet/getrpcbyname_r.c: Moved ...
24915 * sunrpc/getrpcbyname_r.c: ... here.
24916 * inet/getrpcbynumber.c: Moved ...
24917 * sunrpc/getrpcbynumber.c: ... here.
24918 * inet/getrpcbynumber_r.c: Moved ...
24919 * sunrpc/getrpcbynumber_r.c: ... here.
24920 * inet/getrpcent.c: Moved ...
24921 * sunrpc/getrpcent.c: ... here.
24922 * inet/getrpcent_r.c: Moved ...
24923 * sunrpc/getrpcent_r.c: ... here.
24924 * inet/Makefile (routines): Move those to ...
24925 * sunrpc/Makefile (routines): ... here.
24926 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24927 the $(subdirs) list.
24928 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
24929 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24930 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24931 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24932
24933 * elf/Makefile (routines): Include $(all-dl-routines), not just
24934 $(dl-routines).
24935 (rtld-routines): Likewise. Use = rather than :=.
24936 * sysdeps/aarch64/Makefile [$(subdir) = elf]
24937 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24938 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24939 * sysdeps/arm/Makefile: Likewise.
24940 * sysdeps/i386/Makefile: Likewise.
24941 * sysdeps/x86_64/Makefile: Likewise.
24942 * sysdeps/hppa/Makefile [$(subdir) = elf]
24943 (sysdep_routines, sysdep-rtld-routines): Don't add
24944 $(sysdep-dl-routines) to these.
24945 * sysdeps/ia64/Makefile: Likewise.
24946 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24947 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24948 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24949 Don't add dl-static to these; sysdep-dl-routines alone is enough.
24950 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24951 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24952 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24953 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24954 * sysdeps/powerpc/Makefile [$(subdir) = elf]
24955 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24956 these; sysdep-dl-routines alone is enough.
24957
24958 2015-02-06 Joseph Myers <joseph@codesourcery.com>
24959
24960 [BZ #17932]
24961 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24962 where multiplication results in zero and third argument is finite
24963 and nonzero.
24964 * math/auto-libm-test-in: Add more tests of fma.
24965 * math/auto-libm-test-out: Regenerated.
24966
24967 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24968 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24969 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24970 (_FP_CMP_EQ): Likewise.
24971 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24972
24973 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24974 extra argument CHECK_NAN. Redefine as wrapper around
24975 _FP_EXTEND_CNAN.
24976
24977 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
24978
24979 * version.h (RELEASE): Set to "stable".
24980 (VERSION): Set to "2.21"
24981 * include/features.h (__GLIBC_MINOR__): Set to 21.
24982
24983 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24984
24985 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24986 Paul Eggert <eggert@cs.ucla.edu>
24987
24988 [BZ #16618]
24989 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24990 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24991 size in bytes. Store needed elements in wpmax. Use needed size
24992 in bytes for extend_alloca.
24993
24994 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
24995
24996 * manual/install.texi: Latest tested versions are GCC 4.9.2,
24997 binutls 2.25, and texinfo 5.2.
24998 * INSTALL: Regenerate.
24999 * sysdeps/nios2/configure: Regenerate.
25000 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25001 * manual/contrib.texi: Update.
25002 * po/be.po: Update.
25003 * po/bg.po: Update.
25004 * po/ca.po: Update.
25005 * po/cs.po: Update.
25006 * po/da.po: Update.
25007 * po/de.po: Update.
25008 * po/el.po: Update.
25009 * po/eo.po: Update.
25010 * po/es.po: Update.
25011 * po/fi.po: Update.
25012 * po/fr.po: Update.
25013 * po/gl.po: Update.
25014 * po/hr.po: Update.
25015 * po/hu.po: Update.
25016 * po/ia.po: Update.
25017 * po/id.po: Update.
25018 * po/it.po: Update.
25019 * po/ja.po: Update.
25020 * po/ko.po: Update.
25021 * po/lt.po: Update.
25022 * po/nb.po: Update.
25023 * po/nl.po: Update.
25024 * po/pl.po: Update.
25025 * po/pt_BR.po: Update.
25026 * po/ru.po: Update.
25027 * po/rw.po: Update.
25028 * po/sk.po: Update.
25029 * po/sl.po: Update.
25030 * po/sv.po: Update.
25031 * po/tr.po: Update.
25032 * po/uk.po: Update.
25033 * po/vi.po: Update.
25034 * po/zh_CN.po: Update.
25035 * po/zh_TW.po: Update.
25036
25037 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25038 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25039 * sysdeps/hppa/dl-irel.h: Remove #warning.
25040 * sysdeps/hppa/entry.h: Provide prototype for
25041 __canonicalize_funcptr_for_compare and cast argument.
25042 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25043 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25044 * sysdeps/hppa/sotruss-lib.c: New file.
25045 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25046 (atomic_compare_and_exchange_val_acq): Use __typeof__.
25047 (atomic_compare_and_exchange_bool_acq): Likewise.
25048 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25049 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25050
25051 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25052 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25053 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25054
25055 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
25056
25057 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25058 called function in non-PIC case.
25059
25060 2015-01-31 David S. Miller <davem@davemloft.net>
25061
25062 * sysdeps/sparc/sparc32/bits/atomic.h
25063 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25064 unlock not after it.
25065 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25066 volatile register usage warnings from the compiler.
25067
25068 * sysdeps/sparc/nptl/sem_init.c: Delete.
25069 * sysdeps/sparc/nptl/sem_post.c: Delete.
25070 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25071 * sysdeps/sparc/nptl/sem_wait.c: Delete.
25072 * sysdeps/sparc/sparc32/sem_init.c: New file.
25073 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25074 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25075 padding explicitly initialized.
25076 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25077 padding for in-semaphore spinlock.
25078 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25079 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25080 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25081 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25082 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25083 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25084 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25085 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25086 version.
25087 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25088 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25089
25090 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
25091
25092 [BZ #17801]
25093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25094 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25095 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25096 New.
25097 (index_AVX_Fast_Unaligned_Load): Likewise.
25098 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25099 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25100 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25101 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25102 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25103 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25104 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25105 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25106 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25107
25108 2015-01-29 Andreas Schwab <schwab@suse.de>
25109
25110 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25111
25112 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25113
25114 [BZ #17892]
25115 * nscd/nscd_stat.c (send_stats): Initialize DATA.
25116
25117 2015-01-28 Martin Sebor <msebor@redhat.com>
25118
25119 * math/README.libm-test: Clarify. Add "How to read the test output."
25120
25121 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
25122
25123 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25124 Define to 0.
25125
25126 2015-01-28 Joseph Myers <joseph@codesourcery.com>
25127
25128 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25129 (__HAVE_64B_ATOMICS): Define to 0.
25130
25131 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
25132
25133 [BZ #17885]
25134 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25135 value to set as new flag.
25136
25137 [BZ #16576]
25138 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25139 and use _ARCH_PPCSQ instead.
25140 (__ieee754_sqrt): Likewise.
25141 (__ieee754_sqrtf): Likewise.
25142 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25143 _ARCH_PPCSQ is defined.
25144 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25145 fsqrt instruction.
25146 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25147 _ARCH_PPCSQ is defined.
25148 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25149 fsqrts instruction.
25150 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25151
25152 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25153
25154 * iconv/loop.c: Suppress array out of bound warning caused by GCC
25155 bug (GCC BZ #64739).
25156
25157 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
25158
25159 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25160 Mark _retval as used.
25161 (lll_futex_wake_unlock): Likewise.
25162 (lll_futex_timed_wait_requeue_pi): Likewise.
25163
25164 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25165 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25166 register variables.
25167
25168 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25169 libm_hidden_def.
25170
25171 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25172 (__bswap_64): Mark as __always_inline.
25173
25174 2015-01-25 Bram <bug_rh@spam.wizbit.be>
25175
25176 [BZ #15378]
25177 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25178 when none of the search directories exist.
25179
25180 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
25181
25182 [BZ #17869]
25183 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25184 power8 in .machine directive.
25185
25186 [BZ #17868]
25187 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25188 set dependency from opd value.
25189
25190 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
25191
25192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25193 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25194 architecture.
25195
25196 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
25197
25198 [BZ #17870]
25199 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25200 with uint64_t.
25201 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25202 (uint64_t) 1.
25203 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25204 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25205 Replace 1UL with (uint64_t) 1.
25206 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25207 int with uint64_t.
25208
25209 2015-01-23 Roland McGrath <roland@hack.frob.com>
25210
25211 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25212 (if_freenameindex): Likewise.
25213
25214 * resource/getrlimit64.c: Add missing libc_hidden_def.
25215
25216 2015-01-22 Joseph Myers <joseph@codesourcery.com>
25217
25218 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25219 __label__.
25220 (_FP_FMA): Likewise.
25221 (_FP_TO_INT_ROUND): Likewise.
25222 (_FP_FROM_INT): Likewise.
25223
25224 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25225
25226 [BZ #16418]
25227 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25228 Make code racy and cancel safe.
25229
25230 2015-01-21 Carlos O'Donell <carlos@redhat.com>
25231
25232 * sysdeps/arm/unwind-resume.h: Fix copyright year.
25233 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25234 attribution.
25235
25236 * pwd/tst-getpw.c: Rewrite.
25237
25238 [BZ #17702]
25239 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25240 (modules-names): Add moddummy1 and moddummy2.
25241 ($(objpfx)tst-rec-dlopen): Define.
25242 * dlfcn/moddummy1.c: New file.
25243 * dlfcn/moddummy2.c: New file.
25244 * dlfcn/tst-rec-dlopen.c: New file.
25245 * elf/dl-cache.c (_dl_load_cache_lookup):
25246 Return char*. Copy result with alloca/strcpy/strdup.
25247 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25248 returns char*. Free cached. If not saving realname
25249 free cached.
25250 * elf/dl-open.c (dl_open_worker): Do not assert that
25251 _r_debug->r_state is RT_CONSISTENT.
25252 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25253 returns char*.
25254
25255 2015-01-21 Torvald Riegel <triegel@redhat.com>
25256 Carlos O'Donell <carlos@redhat.com>
25257
25258 [BZ #12674]
25259 * nptl/sem_waitcommon.c: New file.
25260 * nptl/sem_wait.c: Include sem_waitcommon.c.
25261 (__sem_wait_cleanup, do_futex_wait): Remove.
25262 (__new_sem_wait): Adapt.
25263 (__new_sem_trywait): New function.
25264 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25265 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25266 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25267 (sem_timedwait): Adapt.
25268 * nptl/sem_post.c (__new_sem_post): Adapt.
25269 (futex_wake): New function.
25270 (__old_sem_post): Add release MO fence.
25271 * nptl/sem_open.c (sem_open): Adapt.
25272 * nptl/sem_init.c (__new_sem_init): Adapt.
25273 (futex_private_if_supported): New function.
25274 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25275 (__old_sem_getvalue): Add using previous code.
25276 * sysdeps/nptl/internaltypes.h: Adapt.
25277 * nptl/tst-sem13.c (do_test): Adapt.
25278 * nptl/tst-sem11.c (main): Adapt.
25279 * nptl/sem_trywait.c: Remove.
25280 * nptl/DESIGN-sem.txt: Remove.
25281 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25282 (gen-as-const-headers): Remove structsem.sym.
25283 * nptl/structsem.sym: Remove.
25284 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25285 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25286 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25287 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25288 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25289 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25290 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25291 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25292 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25293 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25294 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25295 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25296 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25297 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25298 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25299 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25300 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25301 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25302 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25303 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25304 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25305 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25306
25307 2015-01-20 Carlos O'Donell <carlos@redhat.com>
25308
25309 * INSTALL: Regenerated.
25310
25311 * po/libc.pot: Regenerated.
25312
25313 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
25314 Sandra Loosemore <sandra@codesourcery.com>
25315 Andrew Jenner <andrew@codesourcery.com>
25316 Joseph Myers <joseph@codesourcery.com>
25317 Nathan Sidwell <nathan@codesourcery.com>
25318
25319 * NEWS: Mention new Nios II port.
25320 * sysdeps/nios2/Implies: New file.
25321 * sysdeps/nios2/Makefile: New file.
25322 * sysdeps/nios2/Subdirs: New file.
25323 * sysdeps/nios2/Versions: New file.
25324 * sysdeps/nios2/__longjmp.S: New file.
25325 * sysdeps/nios2/abort-instr.h: New file.
25326 * sysdeps/nios2/backtrace.c: New file.
25327 * sysdeps/nios2/bits/endian.h: New file.
25328 * sysdeps/nios2/bits/fenv.h: New file.
25329 * sysdeps/nios2/bits/link.h: New file.
25330 * sysdeps/nios2/bits/setjmp.h: New file.
25331 * sysdeps/nios2/bsd-_setjmp.S: New file.
25332 * sysdeps/nios2/bsd-setjmp.S: New file.
25333 * sysdeps/nios2/configure: New generated file.
25334 * sysdeps/nios2/configure.ac: New file.
25335 * sysdeps/nios2/crti.S: New file.
25336 * sysdeps/nios2/crtn.S: New file.
25337 * sysdeps/nios2/dl-init.c: New file.
25338 * sysdeps/nios2/dl-machine.h: New file.
25339 * sysdeps/nios2/dl-sysdep.h: New file.
25340 * sysdeps/nios2/dl-tls.h: New file.
25341 * sysdeps/nios2/dl-trampoline.S: New file.
25342 * sysdeps/nios2/gccframe.h: New file.
25343 * sysdeps/nios2/gmp-mparam.h: New file.
25344 * sysdeps/nios2/jmpbuf-offsets.h: New file.
25345 * sysdeps/nios2/jmpbuf-unwind.h: New file.
25346 * sysdeps/nios2/ldsodefs.h: New file.
25347 * sysdeps/nios2/libc-tls.c: New file.
25348 * sysdeps/nios2/libm-test-ulps: New file.
25349 * sysdeps/nios2/machine-gmon.h: New file.
25350 * sysdeps/nios2/math-tests.h: New file.
25351 * sysdeps/nios2/math_private.h: New file.
25352 * sysdeps/nios2/memusage.h: New file.
25353 * sysdeps/nios2/nptl/Makefile: New file.
25354 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25355 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25356 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25357 * sysdeps/nios2/nptl/pthreaddef.h: New file.
25358 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25359 * sysdeps/nios2/nptl/tls.h: New file.
25360 * sysdeps/nios2/preconfigure: New file.
25361 * sysdeps/nios2/s_fma.c: New file.
25362 * sysdeps/nios2/s_fmaf.c: New file.
25363 * sysdeps/nios2/setjmp.S: New file.
25364 * sysdeps/nios2/sfp-machine.h: New file.
25365 * sysdeps/nios2/sotruss-lib.c: New file.
25366 * sysdeps/nios2/stackguard-macros.h: New file.
25367 * sysdeps/nios2/stackinfo.h: New file.
25368 * sysdeps/nios2/start.S: New file.
25369 * sysdeps/nios2/sysdep.h: New file.
25370 * sysdeps/nios2/tls-macros.h: New file.
25371 * sysdeps/nios2/tst-audit.h: New file.
25372 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25373 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25374 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25375 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25376 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25377 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25378 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25379 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25380 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25381 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25382 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25383 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25384 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25385 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25386 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25387 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25388 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25389 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25390 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25391 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25392 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25393 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25394 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25395 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25396 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25397 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25398 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25399 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25400 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25401 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25402 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25403 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25404 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25405 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25406 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25407 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25408 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25409 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25410 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25411 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25412 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25413 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25414 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25415 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25416
25417 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
25418
25419 [BZ #17844]
25420 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25421 (getutent): Use weak_alias in non SHARED case
25422 and default_symbol_version in SHARED case.
25423 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25424 (getutent_r, pututline): Likewise.
25425 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25426 (getutid): Likewise.
25427 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25428 (getutid_r): Likewise.
25429 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25430 (getutline): Likewise.
25431 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25432 (getutline_r): Likewise.
25433 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25434 (updwtmp): Likewise.
25435
25436 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
25437
25438 [BZ #17848]
25439 * sysdeps/s390/s390-32/memcmp.S
25440 (memcmp_g5): Rename to __memcmp_g5.
25441 * sysdeps/s390/s390-32/memcpy.S
25442 (memcpy_g5): Rename to __memcpy_g5.
25443 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25444 (memcpy_mvcle) Rename to __memcpy_mvcle.
25445 * sysdeps/s390/s390-32/memset.S
25446 (memset_g5): Rename to __memset_g5.
25447 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25448 (IFUNC_RESOLVE): Prefix ifunc-resolve function
25449 and use prefixed functions.
25450 * sysdeps/s390/s390-32/multiarch/memcmp.S
25451 (memcmp_z196): Rename to __memcmp_z196.
25452 (memcmp_z10): Rename to __memcmp_z10.
25453 (memcmp): Set alias to __memcmp_g5.
25454 (bcmp): Set alias to __memcmp_g5.
25455 * sysdeps/s390/s390-32/multiarch/memcpy.S
25456 (memcpy_z196): Rename to __memcpy_z196.
25457 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25458 (memcpy_z10): Rename to __memcpy_z10.
25459 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25460 (memcpy): Set alias to __memcpy_g5.
25461 * sysdeps/s390/s390-32/multiarch/memset.S
25462 (memset_z196): Rename to __memset_z196.
25463 Jump to __memset_mvcle instead of memset_mvcle.
25464 (memset_z10): Rename to __memset_z10.
25465 Jump to __memset_mvcle instead of memset_mvcle.
25466 (memset_mvcle) Rename to __memset_mvcle.
25467 (memset): Set alias to __memset_g5.
25468 * sysdeps/s390/s390-64/memcmp.S
25469 (memcmp_z900): Rename to __memcmp_z900.
25470 * sysdeps/s390/s390-64/memcpy.S
25471 (memcpy_z900): Rename to __memcpy_z900.
25472 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25473 (memcpy_mvcle) Rename to __memcpy_mvcle.
25474 * sysdeps/s390/s390-64/memset.S
25475 (memset_z900): Rename to __memset_z900.
25476 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25477 (IFUNC_RESOLVE): Prefix ifunc-resolve function
25478 and use prefixed functions.
25479 * sysdeps/s390/s390-64/multiarch/memcmp.S
25480 (memcmp_z196): Rename to __memcmp_z196.
25481 (memcmp_z10): Rename to __memcmp_z10.
25482 (memcmp): Set alias to __memcmp_z900.
25483 (bcmp): Set alias to __memcmp_z900.
25484 * sysdeps/s390/s390-64/multiarch/memcpy.S
25485 (memcpy_z196): Rename to __memcpy_z196.
25486 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25487 (memcpy_z10): Rename to __memcpy_z10.
25488 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25489 (memcpy): Set alias to __memcpy_z900.
25490 * sysdeps/s390/s390-64/multiarch/memset.S
25491 (memset_z196): Rename to __memset_z196.
25492 Jump to __memset_mvcle instead of memset_mvcle.
25493 (memset_z10): Rename to __memset_z10.
25494 Jump to __memset_mvcle instead of memset_mvcle.
25495 (memset_mvcle) Rename to __memset_mvcle.
25496 (memset): Set alias to __memset_z900.
25497
25498 2015-01-14 Joseph Myers <joseph@codesourcery.com>
25499
25500 [BZ #17748]
25501 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25502 __fesetenv instead of fesetenv.
25503
25504 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25505
25506 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25507 macro.
25508
25509 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25510
25511 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25512 regression on LE.
25513
25514 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25515 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25516 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25517 strncmp-power8 object.
25518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25519 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25520 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25521 * NEWS: Update.
25522
25523 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25524 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25525
25526 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25527 trailing byte check.
25528
25529 2015-01-13 David S. Miller <davem@davemloft.net>
25530
25531 * include/signal.h (__sigreturn): Guard with __USE_MISC.
25532
25533 2015-01-13 Roland McGrath <roland@hack.frob.com>
25534
25535 * login/logout.c (logout): Use memset rather than bzero.
25536 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25537 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25538 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25539 (_gethtbyaddr): Likewise.
25540 * locale/programs/simple-hash.c (bcopy): Macro removed.
25541
25542 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25543
25544 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25545 Add strcmp-power8 object.
25546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25547 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25548 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25549 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25550 __strcmp_power8 implementation.
25551 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25552 * NEWS: Update.
25553
25554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25555 Add strncpy-power8 and stpncpy-power8 objects.
25556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25557 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25558 implementations.
25559 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25560 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25561 __stpncpy_power8 implementation.
25562 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25563 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25564 __strncpy_power8 implementation.
25565 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25566 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25567 * NEWS: Update.
25568
25569 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25570 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25571 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25572
25573 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25574 strncat-power8 object.
25575 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25576 __strcat_power8 implementation.
25577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25578 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25579 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25580 optimized strcat for power8.
25581
25582 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25583 strcpy-power8 and stpcpy-power8 objects.
25584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25585 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25586 implementations.
25587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25588 multiarch stpcpy implementation for POWER8.
25589 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25590 multiarch strcpy implementation for POWER8.
25591 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25592 __strcpy_power8 function.
25593 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25594 stpcpy for POWER8.
25595 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25596 strcpy for POWER8.
25597 * NEWS: Update.
25598
25599 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
25600
25601 [BZ #16009]
25602 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25603 weights and rules. Use do_xfrm_cached if data fits in cache,
25604 do_xfrm otherwise. Moved former main loop to...
25605 * (do_xfrm_cached): New function.
25606 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25607 find_idx, find_position and stack_push.
25608 * (find_idx): New function.
25609 * (find_position): Likewise.
25610 * localedata/sort-test.sh: Added test run for do_xfrm.
25611 * localedata/xfrm-test.c (main): Added command line option
25612 -nocache to run the test with strings that are too large for
25613 the STRXFRM cache.
25614
25615 2015-01-13 Torvald Riegel <triegel@redhat.com>
25616
25617 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25618 variable to lll_futex_wake call, not the value itself.
25619
25620 2015-01-12 Joseph Myers <joseph@codesourcery.com>
25621
25622 [BZ #17803]
25623 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25624 twom64. Adjust value to 0x1p-64L.
25625 (__scalblnl): Only return standard underflowing result for K <=
25626 -64 not K <= -63; adjust exponent for underflowing result by 64
25627 not 63.
25628 * math/libm-test.inc (scalbn_test_data): Add more tests.
25629 (scalbln_test_data): Likewise.
25630
25631 [BZ #17834]
25632 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25633 0x1p63L.
25634 (__scalblnl): Get new exponent of adjusted subnormal value from ES
25635 not HX.
25636 * math/libm-test.inc (scalbn_test_data): Add more tests.
25637 (scalbln_test_data): Likewise.
25638
25639 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25640 Stefani Seibold <stefani@seibold.net>
25641
25642 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25643 (sysdep_routines): Add dl-vdso here, ...
25644 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25645 (sysdep_routines): ... not here.
25646 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25647 fallback when vDSO is not presented.
25648 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25649 Define with libc_hidden_proto/libc_hidden_data_def definitions.
25650 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25651 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25652 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25654 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25656 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25658 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
25659 fallback configurable symbol when vDSO is not available.
25660 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25661 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
25662 be able to redefine fallback symbol when vDSO is not available.
25663 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25664 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25665
25666 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25667
25668 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25669 (TLS_INIT_TP): Add tm_capable initialization.
25670 (TLS_DEFINE_INIT_TP): Likewise.
25671 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25672 TCB.
25673 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25674 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25675 calculation.
25676 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25677 transactoion is lock elision is built and TCB tm_capable is set.
25678 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25680 (INTERNAL_SYSCALL_NCS): Likewise.
25681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25682 (INTERNAL_SYSCALL_NCS): Likewise.
25683 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25684
25685 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25686 for powerpc.
25687 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25688 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25689 and remove it for 32 bits case.
25690 [pthread_rwlock_t] (__rwelision): New field for lock elision.
25691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25692 initialization.
25693 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25694 Disable lock elision with rdlocks if elision is not available.
25695
25696 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25697 (sysdep_routines): Add lock elision objects.
25698 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25699 [pthread_mutex_t] (__spins): Rework to add lock elision field.
25700 [pthread_mutex_t] (__elision): Add field.
25701 [__PTHREAD_SPINS]: Adjust to init lock elision field.
25702 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25703 elision definitions for powerpc.
25704 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25705 implementation of lock elision for powerpc.
25706 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25707 implementation of timed lock elision for powerpc.
25708 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25709 implementation of trylock with lock elision for powerpc.
25710 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25711 implementaion of unlock for lock elision for powerpc.
25712 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25713 automatic enable lock elision for mutexes.
25714 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25715 transaction execution definitions for powerpc.
25716 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25717 definitions.
25718 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25719 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25720 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25721 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25722 * NEWS: Update.
25723
25724 2015-01-09 Roland McGrath <roland@hack.frob.com>
25725
25726 * sysdeps/posix/shm-directory.c: Use <> rather than ""
25727 for #include of <shm-directory.h>.
25728
25729 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
25730
25731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25732 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25733
25734 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
25735
25736 [BZ #17791]
25737 * NEWS: Mention bug fix.
25738 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25739 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25740 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25741
25742 2015-01-09 Torvald Riegel <triegel@redhat.com>
25743
25744 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25745
25746 2015-01-09 Torvald Riegel <triegel@redhat.com>
25747
25748 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25749
25750 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
25751
25752 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25753 pointer and cast to uintptr_t.
25754
25755 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
25756
25757 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25758 removed.
25759 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25760
25761 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
25762
25763 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25764 of 0.
25765
25766 2015-01-08 Roland McGrath <roland@hack.frob.com>
25767
25768 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25769 <nptl/pthreadP.h> instead.
25770 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25771
25772 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25773 already defined.
25774 [__SIGRTMIN] (init): Function removed.
25775 [__SIGRTMIN] (initialized): Variable removed.
25776 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25777 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25778 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25779 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25780 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25781 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25782 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25783 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25784 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25785 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25786 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25787 * sysdeps/nptl/allocrtsig.c: New file.
25788 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25789 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25790 * sysdeps/generic/testrtsig.h: File removed.
25791
25792 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25793 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25794
25795 * nptl/nptl-init.c (pthread_functions): Conditionalize
25796 .ptr__nptl_setxid initialization on [SIGSETXID].
25797
25798 * sysdeps/nptl/sys/procfs.h: New file.
25799 * nptl_db/Makefile (headers): Add it.
25800 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25801
25802 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25803 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25804 * nptl/pthread_attr_setaffinity.c: Include it.
25805 * nptl/pthread_setattr_default_np.c: Likewise.
25806 * nptl/check-cpuset.h: New file.
25807
25808 2015-01-08 Richard Henderson <rth@redhat.com>
25809
25810 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25811 (CFLAGS-tst-execstack-prog.c): Likewise.
25812 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25813
25814 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
25815 Sandra Loosemore <sandra@codesourcery.com>
25816 Andrew Jenner <andrew@codesourcery.com>
25817 Joseph Myers <joseph@codesourcery.com>
25818 Nathan Sidwell <nathan@codesourcery.com>
25819
25820 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25821 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25822 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25823 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25824 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25825 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25826 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25827 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25828 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25829 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25830 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25831 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25832 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25833 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25834 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25835 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25836 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25837
25838 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25839
25840 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25841 timespec struct member in syscall macro.
25842 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25843 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25844 first timeval struct member in syscall macro.
25845 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25846
25847 2015-01-07 Joseph Myers <joseph@codesourcery.com>
25848
25849 [BZ #17748]
25850 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25851 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25852 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25853 __feupdateenv and define as weak alias of __feupdateenv. Use
25854 libm_hidden_weak.
25855 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25856 libm_hidden_def.
25857 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25858 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
25859 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25860 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25861 libm_hidden_def.
25862 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25863 __feupdateenv and define as weak alias of __feupdateenv. Use
25864 libm_hidden_weak.
25865 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25866 libm_hidden_def.
25867 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25868 __feupdateenv and define as weak alias of __feupdateenv. Use
25869 libm_hidden_weak.
25870 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25871 libm_hidden_def.
25872 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25873 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25874 (__feupdateenv): Likewise.
25875 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25876 __feupdateenv and define as weak alias of __feupdateenv. Use
25877 libm_hidden_weak.
25878 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25879 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25880 libm_hidden_def.
25881 * sysdeps/tile/math_private.h (__feupdateenv): New inline
25882 function.
25883 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25884 libm_hidden_def.
25885 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25886 __feupdateenv instead of feupdateenv.
25887 (default_libc_feupdateenv_test): Likewise.
25888 (libc_feresetround_ctx): Likewise.
25889
25890 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25891
25892 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25893 prototype.
25894
25895 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
25896
25897 * posix/regcomp.c (parse_bracket_exp): Initialize type to
25898 COLL_SYM in a couple of places to avoid uninitialized variable
25899 wanings on tilegx gcc 4.8.2.
25900
25901 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
25902
25903 * sysdeps/aarch64/strcpy.S: New file.
25904 * sysdeps/aarch64/stpcpy.S: New file.
25905 * NEWS: Updated.
25906
25907 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
25908
25909 * sysdeps/aarch64/strrchr.S: New file.
25910 * NEWS: Updated.
25911
25912 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
25913
25914 [BZ #17658]
25915 * stdlib/setenv.c: Fix memory leak when setting large,
25916 duplicate string.
25917
25918 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
25919
25920 [BZ #17273]
25921 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25922 and tabs from buffer before parsing fstab entry.
25923 * misc/tst-mntent.c (main): Add test for mount entry with
25924 trailing spaces and tabs.
25925
25926 2015-01-06 Joseph Myers <joseph@codesourcery.com>
25927
25928 [BZ #17748]
25929 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
25930 * math/fesetround.c (fesetround): Rename to __fesetround and
25931 define as weak alias of __fesetround. Use libm_hidden_weak.
25932 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25933 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25934 * sysdeps/arm/fesetround.c (fesetround): Likewise.
25935 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25936 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25937 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25938 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25939 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25940 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25941 __fesetround_inline.
25942 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25943 __fesetround_inline instead of __fesetround.
25944 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25945 __fesetround and define as weak alias of __fesetround. Use
25946 libm_hidden_weak. Call __fesetround_inline instead of
25947 __fesetround.
25948 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25949 __fesetround and define as weak alias of __fesetround. Use
25950 libm_hidden_weak.
25951 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25952 Likewise.
25953 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25954 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25955 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25956 * sysdeps/tile/math_private.h (__fesetround): New inline function.
25957 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25958 __fesetround and define as weak alias of __fesetround. Use
25959 libm_hidden_weak.
25960 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25961 __fesetround instead of fesetround.
25962 (default_libc_feholdexcept_setround): Likewise.
25963 (libc_feholdsetround_ctx): Likewise.
25964 (libc_feholdsetround_noex_ctx): Likewise.
25965
25966 [BZ #17748]
25967 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25968 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25969 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25970 and define as weak alias of __fesetenv. Use libm_hidden_weak.
25971 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25972 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25973 define as weak alias of __fesetenv. Use libm_hidden_weak.
25974 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25975 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25976 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25977 define as weak alias of __fesetenv. Use libm_hidden_weak.
25978 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25979 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25980 define as weak alias of __fesetenv. Use libm_hidden_weak.
25981 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25982 libm_hidden_def.
25983 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25984 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25985 Likewise.
25986 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25987 define as weak alias of __fesetenv. Use libm_hidden_weak.
25988 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25989 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25990 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25991 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25992 and define as weak alias of __fesetenv. Use libm_hidden_weak.
25993 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25994 __fesetenv instead of fesetenv.
25995 (libc_feresetround_noex_ctx): Likewise.
25996 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25997 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25998 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25999 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26000 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26001 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26002 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26003 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26004 (__feupdateenv): Likewise.
26005 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26006 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26007 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26008 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26009
26010 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
26011
26012 [BZ #17806]
26013 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26014 addresses have been freed.
26015
26016 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
26017
26018 * resolv/res_init.c (__res_vinit): Improve comments about nserv
26019 and nservall.
26020
26021 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
26022
26023 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26024 Clean up check_pf allocation pattern. addresses
26025
26026 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26027
26028 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26029 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26030 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26031 * nptl/pthread_exit.c (__pthread_exit): Likewise.
26032 * nptl/pthread_join.c (pthread_join): Likewise.
26033 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26034 * sysdeps/posix/waitid.c (__waitid): Likewise.
26035 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26036 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26037 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26038 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26039 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26040 Likewise.
26041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26042 (__libc_pread64): Likewise.
26043 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26044 (__libc_pwrite): Likewise.
26045 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26046 (__libc_pwrite64): Likewsie.
26047 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26048 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26049 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26050 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26051 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26052 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26053 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26055 Likewise.
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26057 (__libc_pread64): Likewise.
26058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26059 Likewise.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26061 (__libc_pwrite64): Likewise.
26062 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26063 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26064 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26065 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26066 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26067 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26068 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26069 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26070 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26071 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26072 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26073 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26074 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26075 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26076 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26077 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26078 Likewise.
26079
26080 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
26081
26082 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26083 (CFLAGS-test-double.c): Likewise.
26084 (CFLAGS-test-ldouble.c): Likewise.
26085 (CPPFLAGS-test-ifloat.c): Likewise.
26086 (CPPFLAGS-test-idouble.c): Likewise.
26087 (CPPFLAGS-test-ildoubl.c): Likewise.
26088 (CFLAGS-test-test-fenv.c): Remove variable.
26089 (CFLAGS-test-misc.c): Likewise.
26090
26091 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
26092
26093 [BZ #17797]
26094 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26095 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26096 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26097 CLOCKS_PER_SEC == 1000000.
26098 * time/clocktest.c (main): Replace %ld with %jd and cast to
26099 intmax_t.
26100
26101 2015-01-05 Roland McGrath <roland@hack.frob.com>
26102
26103 * sysdeps/generic/unwind-resume.h: New file.
26104 * sysdeps/gnu/unwind-resume.c: Include it.
26105 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26106 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26107 argument list.
26108 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26109 global rather than static.
26110 (_Unwind_Resume): Update user.
26111 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26112 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
26113 rather than static. Add __attribute__ ((cold)).
26114 (_Unwind_Resume, __gcc_personality_v0): Update callers.
26115 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26116 * sysdeps/arm/arm-unwind-resume.S: New file.
26117 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26118 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26119 * sysdeps/arm/Makefile [$(subdir) = csu]
26120 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26121 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26122 Add rt-arm-unwind-resume.
26123 [$(subdir) = nptl]
26124 (libpthread-sysdep_routines, libpthread-shared-only-routines):
26125 Add pt-arm-unwind-resume.
26126 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26127 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26128
26129 2015-01-05 Joseph Myers <joseph@codesourcery.com>
26130
26131 [BZ #17748]
26132 * include/fenv.h (__feholdexcept): Declare. Use
26133 libm_hidden_proto.
26134 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26135 define as weak alias of __feholdexcept. Use libm_hidden_weak.
26136 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26137 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26138 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26139 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26140 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26141 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26142 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26143 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26144 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26145 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26146 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26147 (feholdexcept): Likewise.
26148 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26149 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26150 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26151 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26152 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26153 __feholdexcept instead of feholdexcept.
26154 (default_libc_feholdexcept_setround): Likewise.
26155
26156 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
26157
26158 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26159 to avoid using stl/str to align destination.
26160
26161 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
26162
26163 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26164
26165 2015-01-05 Joseph Myers <joseph@codesourcery.com>
26166
26167 [BZ #17796]
26168 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26169 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26170 Define as weak alias not strong alias.
26171
26172 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
26173
26174 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26175 bltzal with addiupc.
26176 (RTLD_START): Ditto.
26177
26178 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
26179
26180 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26181 for __vdso_* functions in declarations.
26182 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26183 definitions.
26184 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26185 INTERNAL_VSYSCALL): Use struct return types to check for error.
26186
26187 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26188 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26189 function with cast from llround().
26190 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26191 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26192 Define.
26193
26194 2015-01-05 Joseph Myers <joseph@codesourcery.com>
26195
26196 [BZ #17793]
26197 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26198 Define as weak alias not strong alias.
26199
26200 [BZ #17635]
26201 * ctype/ctype-c99.c: New file. isblank implementation moved from
26202 ...
26203 * ctype/ctype-extn.c: ... here.
26204 (__isblank_l): Move to ...
26205 * ctype/ctype-c99_l.c: ... here. New file.
26206 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26207 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26208 Remove variable.
26209 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26210 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26211 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26212 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26213 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26214
26215 [BZ #17777]
26216 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26217 (posix_fadvise64): Define as weak alias not strong alias.
26218 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26219 (posix_fallocate64): Likewise.
26220 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26221 Remove variable.
26222 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26223 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26224 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26225 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26226 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26227
26228 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
26229
26230 [BZ #16191]
26231 * NEWS: Mention bug fix.
26232 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26233 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26234 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26235 (HOST_STACK_END_ADDR): Likewise.
26236
26237 2015-01-02 Joseph Myers <joseph@codesourcery.com>
26238
26239 [BZ #17748]
26240 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
26241 * math/fegetround.c (fegetround): Rename to __fegetround and
26242 define as weak alias of __fegetround. Use libm_hidden_weak.
26243 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26244 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26245 * sysdeps/arm/fegetround.c (fegetround): Likewise.
26246 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26247 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26248 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26249 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26250 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26251 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26252 Undefine after rather than before function definition; use
26253 parentheses around function name in definition.
26254 (__fegetround): Also undefine macro after function definition.
26255 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26256 __fegetround and define as weak alias of __fegetround. Use
26257 libm_hidden_weak. Do not undefine as macro.
26258 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26259 Likewise.
26260 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26261 __fegetround and define as weak alias of __fegetround. Use
26262 libm_hidden_weak.
26263 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26264 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26265 * sysdeps/tile/math_private.h (__fegetround): New inline function.
26266 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26267 __fegetround and define as weak alias of __fegetround. Use
26268 libm_hidden_weak.
26269 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26270 __fegetround instead of fegetround.
26271
26272 [BZ #17782]
26273 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26274 Condition macro definition on [__USE_MISC].
26275
26276 [BZ #17781]
26277 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26278 (struct sigaction): Change type of sa_flags field to int.
26279
26280 [BZ #17780]
26281 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26282 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26283 __glibc_reserved0.
26284
26285 * nptl/version.c (banner): Use single year in copyright notice.
26286
26287 * NEWS: Update copyright dates.
26288 * catgets/gencat.c (print_version): Likewise.
26289 * csu/version.c (banner): Likewise.
26290 * debug/catchsegv.sh: Likewise.
26291 * debug/pcprofiledump.c (print_version): Likewise.
26292 * debug/xtrace.sh (do_version): Likewise.
26293 * elf/ldconfig.c (print_version): Likewise.
26294 * elf/ldd.bash.in: Likewise.
26295 * elf/pldd.c (print_version): Likewise.
26296 * elf/sotruss.sh: Likewise.
26297 * elf/sprof.c (print_version): Likewise.
26298 * iconv/iconv_prog.c (print_version): Likewise.
26299 * iconv/iconvconfig.c (print_version): Likewise.
26300 * locale/programs/locale.c (print_version): Likewise.
26301 * locale/programs/localedef.c (print_version): Likewise.
26302 * login/programs/pt_chown.c (print_version): Likewise.
26303 * malloc/memusage.sh (do_version): Likewise.
26304 * malloc/memusagestat.c (print_version): Likewise.
26305 * malloc/mtrace.pl: Likewise.
26306 * manual/libc.texinfo: Likewise.
26307 * nptl/version.c (banner): Likewise.
26308 * nscd/nscd.c (print_version): Likewise.
26309 * nss/getent.c (print_version): Likewise.
26310 * nss/makedb.c (print_version): Likewise.
26311 * posix/getconf.c (main): Likewise.
26312 * scripts/test-installation.pl: Likewise.
26313 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26314
26315 2015-01-02 Will Newton <will.newton@linaro.org>
26316
26317 * sysdeps/arm/armv7/configure: Removed.
26318 * sysdeps/arm/armv7/configure.ac: Likewise.
26319
26320 2015-01-02 Joseph Myers <joseph@codesourcery.com>
26321
26322 * All files with FSF copyright notices: Update copyright dates
26323 using scripts/update-copyrights.
26324 * intl/plural.c: Regenerated.
26325 * locale/programs/charmap-kw.h: Likewise.
26326 * locale/programs/locfile-kw.h: Likewise.
26327
26328 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26329
26330 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26331
26332 2014-12-31 Joseph Myers <joseph@codesourcery.com>
26333
26334 [BZ #17748]
26335 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26336 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26337 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26338 and define as weak alias of __fegetenv. Use libm_hidden_weak.
26339 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26340 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26341 define as weak alias of __fegetenv. Use libm_hidden_weak.
26342 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26343 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26344 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26345 define as weak alias of __fegetenv. Use libm_hidden_weak.
26346 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26347 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26348 define as weak alias of __fegetenv. Use libm_hidden_weak.
26349 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26350 libm_hidden_def.
26351 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26352 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26353 Likewise.
26354 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26355 define as weak alias of __fegetenv. Use libm_hidden_weak.
26356 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26357 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26358 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26359 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26360 and define as weak alias of __fegetenv. Use libm_hidden_weak.
26361 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26362 __fegetenv instead of fegetenv.
26363 (libc_feholdsetround_noex_ctx): Likewise.
26364
26365 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
26366
26367 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26368 (Elf_MIPS_ABIFlags_v0): New structure.
26369 (EF_MIPS_FP64): Define.
26370 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26371 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26372 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26373 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26374 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26375 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26376 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26377 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26378 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26379 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26380 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26381 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26382 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26383 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26384 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26385 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26386 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26387 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26388 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26389 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26390 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26391 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26392 field.
26393 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26394 EF_MIPS_FP64.
26395 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26396 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26397 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26398 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26399 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26400 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26401 * sysdeps/mips/tst-abi-interlink.c: Likewise.
26402 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26403 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26404 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26405 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26406 record the current FP ABI extension.
26407 (mips-mode-switch): Define to show if kernel headers support mode
26408 switching.
26409 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26410 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26411 supported SYSV ABI version to 3.
26412 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26413 feature.
26414
26415 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26416 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26417
26418 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26419 path.
26420 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26421
26422 2014-12-31 Joseph Myers <joseph@codesourcery.com>
26423
26424 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26425 __fegetround and redefine to call __fegetround. Remove condition
26426 on [!__NO_MATH_INLINES].
26427 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26428 function.
26429 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26430 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26431 Remove macro.
26432 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26433 instead of <fenv_libc.h>.
26434 (__llrintl): Call fegetround instead of __fegetround.
26435 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26436 instead of <fenv_libc.h>.
26437 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26438 (__lrintl): Call fegetround instead of __fegetround.
26439 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26440 instead of <fenv_libc.h>.
26441 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26442 (__rintl): Call fegetround instead of __fegetround.
26443
26444 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26445
26446 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26447 arrays.
26448
26449 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
26450
26451 [BZ #17775]
26452 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26453 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26454 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26455
26456 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
26457
26458 * sysdeps/i386/tls-macros.h: Include <features.h>.
26459 (TLS_LE): Use non-PIC version for GCC >= 5.0.
26460 (TLS_IE): Likewise.
26461 (TLS_LD): Likewise.
26462 (TLS_GD): Likewise.
26463 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26464 define for GCC >= 5.0.
26465
26466 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
26467
26468 * math/test-fenv.c (test_single_exception, set_single_exc,
26469 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26470 feexcp_mask_test, feenable_test, fe_single_test): Add
26471 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26472 case where they are not used.
26473 * math/libm-test.inc: Likewise.
26474 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26475 unused in the absence of FP rounding/exception support.
26476 * stdio-common/tst-printf-round.c: Likewise.
26477 * stdlib/tst-strtod-round.c: Likewise.
26478 * stdlib/tst-strtod-underflow.c: Likewise.
26479
26480 2014-12-30 Joseph Myers <joseph@codesourcery.com>
26481
26482 [BZ #17723]
26483 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26484 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26485 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26486 __feraiseexcept and define as weak alias of __feraiseexcept. Use
26487 libm_hidden_weak.
26488 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26489 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26490 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26491 libm_hidden_def.
26492 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26493 __feraiseexcept and define as weak alias of __feraiseexcept. Use
26494 libm_hidden_weak.
26495 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26496 Likewise.
26497 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26498 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26499 __feraiseexcept and define as weak alias of __feraiseexcept. Use
26500 libm_hidden_weak.
26501 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26502 libm_hidden_def.
26503 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26504 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26505 (__feraiseexcept): Likewise.
26506 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26507 __feraiseexcept and define as weak alias of __feraiseexcept. Use
26508 libm_hidden_weak.
26509 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26510 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26511 libm_hidden_def.
26512 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26513 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26514 Use libm_hidden_def.
26515 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26516 libm_hidden_def.
26517 (feraiseexcept): Define as weak not strong alias. Use
26518 libm_hidden_weak.
26519 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26520 New inline function. Factored out of ...
26521 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
26522 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26523 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26524 feraiseexcept.
26525 * math/w_acos.c (__acos): Likewise.
26526 * math/w_asin.c (__asin): Likewise.
26527 * math/w_ilogb.c (__ilogb): Likewise.
26528 * math/w_j0.c (y0): Likewise.
26529 * math/w_j1.c (y1): Likewise.
26530 * math/w_jn.c (yn): Likewise.
26531 * math/w_log.c (__log): Likewise.
26532 * math/w_log10.c (__log10): Likewise.
26533 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26534 * sysdeps/aarch64/fpu/math_private.h
26535 (libc_feupdateenv_test_aarch64): Likewise.
26536 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26537 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26538 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26539 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26540 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26541 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26542 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26543 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26544 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26545 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26546
26547 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
26548
26549 [BZ #17732]
26550 * io/test-utime.c (main): Replace %ld with %jd and cast to
26551 intmax_t.
26552 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26553 * nptl/tst-mutex5.c: Include <stdint.h>.
26554 (do_test): Replace %ld with %jd and cast to intmax_t.
26555 * posix/tst-regex.c (run_test): Likewise.
26556 (run_test_backwards): Likewise.
26557 * rt/tst-clock.c: Include <stdint.h>.
26558 (clock_test): Replace %ld with %jd and cast to intmax_t.
26559 * rt/tst-cpuclock1.c: Include <stdint.h>.
26560 (do_test): Replace %lu with %ju and cast to uintmax_t.
26561 * rt/tst-cpuclock2.c: Include <stdint.h>.
26562 (do_test): Replace %lu with %ju and cast to uintmax_t.
26563 * rt/tst-mqueue1.c: Include <stdint.h>.
26564 (check_attrs): Replace %ld with %jd and cast to intmax_t.
26565 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26566 intmax_t.
26567 * rt/tst-mqueue4.c (do_test): Likewise.
26568 * rt/tst-timer4.c: Include <stdint.h>.
26569 (check_ts): Replace %ld with %jd and cast to intmax_t.
26570 (do_test): Likewise.
26571 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26572 and cast to intmax_t.
26573 * sysdeps/pthread/tst-timer.c (main): Likewise.
26574 * time/clocktest.c (main): Likewise.
26575 * time/tst-posixtz.c (do_test): Likewise.
26576 * timezone/tst-timezone.c (main): Likewise.
26577
26578 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
26579 H.J. Lu <hongjiu.lu@intel.com>
26580
26581 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26582 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26583 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26584 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26585 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26586 version if bit_Fast_Unaligned_Load is set.
26587 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26588 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26589 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26590 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26591 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26592 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26594 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26595 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26596 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26597 to 4.
26598 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26599 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26600 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26601 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26602
26603 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
26604
26605 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26606 instead of #if to avoid a Wundef warning.
26607 * stdlib/tst-limits.c (do_test): Likewise.
26608
26609 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26610 parallel other exception macros.
26611 (fegetenv): Convert from macro to extern inline so that it applies
26612 retroactively to inline functions already seen by the compiler.
26613 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26614
26615 * posix/Makefile (before-compile): Use $(objpfx) for
26616 posix-conf-vars-def.h.
26617
26618 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26619
26620 * posix/getconf.c (main): Use size_t for type of I.
26621 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26622 NSPEC.
26623
26624 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26625 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26626 * posix/posix-envs.def: Likewise.
26627 * sysdeps/posix/sysconf.c: Likewise.
26628 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26629 (specs): Remove array.
26630 * scripts/gen-posix-conf-vars.awk: Support generation of specs
26631 array.
26632
26633 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26634 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26635 (__sysconf): Use CONF_IS_* macros.
26636
26637 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26638 ($(objpfx)posix-conf-vars-def.h): New target.
26639 * posix/posix-conf-vars.list: New file.
26640 * posix/posix-conf-vars.h: New file.
26641 * posix/confstr.c: Include posix-conf-vars.h.
26642 (confstr): Use CONF_IS_* macros.
26643 * posix/posix-envs.def: Include posix-conf-vars.h. Use
26644 CONF_IS_* macros.
26645 * scripts/gen-posix-conf-vars.awk: New file.
26646
26647 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
26648
26649 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26650 fegetround): Add no-op macros to avoid linknamespace issues.
26651
26652 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26653 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26654
26655 * sysdeps/unix/sysv/linux/tile/sysdep.h
26656 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26657 assembly-specific section to avoid a redefinition warning.
26658
26659 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26660 long before casting to pointer to avoid a cast warning.
26661
26662 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
26663
26664 * sysdeps/tile/tilegx/Implies: New file.
26665
26666 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
26667
26668 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26669
26670 2014-12-23 Florian Weimer <fweimer@redhat.com>
26671
26672 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26673
26674 2014-12-22 Joseph Myers <joseph@codesourcery.com>
26675
26676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26677 not define.
26678 * sysdeps/unix/sysv/linux/utimes.c: Do not include
26679 <kernel-features.h>.
26680 (__utimes) [__NR_utimes]: Make code unconditional.
26681 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26682 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26683 (__ASSUME_UTIMES): Do not undefine.
26684 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26685 (__ASSUME_UTIMES): Likewise.
26686 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26687 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26688 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26689 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26690
26691 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
26692
26693 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26694
26695 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
26696
26697 [BZ #17747]
26698 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26699 alias to weak alias for j0l, y0l.
26700 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26701 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26702
26703 [BZ #17746]
26704 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26705 conversion.
26706
26707 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
26708
26709 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26710 to zero if not already defined.
26711
26712 2014-12-22 Joseph Myers <joseph@codesourcery.com>
26713
26714 [BZ #17724]
26715 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26716 (__kernel_standard_f): Remove. Moved to k_standardf.c.
26717 (__kernel_standard_l): Remove. Moved to k_standardl.c with
26718 (char *) casts added.
26719 * sysdeps/ieee754/k_standardf.c: New file.
26720 * sysdeps/ieee754/k_standardl.c: Likewise.
26721 * math/Makefile (libm-support): Remove k_standard.
26722 (libm-calls): Add k_standard.
26723
26724 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
26725
26726 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26727 Optimize to avoid an unnecessary FPCR read.
26728
26729 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
26730
26731 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26732 Optimize to reduce FPCR/FPSR accesses.
26733
26734 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
26735
26736 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26737 Call libc_fetestexcept_aarch64.
26738
26739 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
26740
26741 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26742 Call libc_fesetround_aarch64.
26743
26744 2014-12-22 Joseph Myers <joseph@codesourcery.com>
26745
26746 [BZ #17733]
26747 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26748 (__bind): Do not define as weak alias.
26749 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26750 define.
26751 (__getsockname): Do not define as weak alias.
26752
26753 2014-12-22 Will Newton <will.newton@linaro.org>
26754
26755 * manual/install.texi: Document that we require bison 2.7
26756 or above.
26757 * INSTALL: Regenerate.
26758 * configure.ac: Use AC_CHECK_PROG_VER instead of
26759 AC_PATH_PROG when checking for bison and check for
26760 version 2.7 or above.
26761 * configure: Regenerate.
26762
26763 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
26764
26765 [BZ #17745]
26766 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26767 * sysdeps/tile/ffsll.c (ffsll): To here.
26768
26769 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26770
26771 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
26772
26773 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26774 if not defined.
26775 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26776 definition.
26777 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26778 hidden ___tls_get_addr.
26779 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26780 hidden __tls_get_addr.
26781 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26782 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26783 Likewise.
26784
26785 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
26786
26787 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26788 _dl_init call.
26789
26790 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
26791
26792 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26793 from "call _dl_init@PLT".
26794 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26795
26796 2014-12-21 Anders Kaseorg <andersk@mit.edu>
26797
26798 * manual/search.texi: (Array Sort Function): Clarify stable sorting
26799 guarantees.
26800
26801 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
26802
26803 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26804
26805 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
26806
26807 [BZ #17744]
26808 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26809 strnlen.
26810
26811 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
26812
26813 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26814 of multu on MIPSr6.
26815 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26816 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26817 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26818 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26819 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26820
26821 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
26822
26823 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26824 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26825 (PTR_SUBU): Use subu for mips32r6/mips64r6.
26826 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26827 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26828 mips32r6/mips64r6.
26829 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26830
26831 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
26832
26833 * string/strncat.c (STRNCAT): Simplify implementation.
26834
26835 2014-12-19 David S. Miller <davem@davemloft.net>
26836
26837 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26838 access the quad as both a long double and as a series of 4 words.
26839
26840 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26841 link_map->l_info array access.
26842
26843 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
26844
26845 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26846
26847 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26848 * math/atest-exp2.c (TIMEOUT): Likewise.
26849 * math/atest-sincos.c (TIMEOUT): Likewise.
26850
26851 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
26852
26853 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26854 -Wno-error with -fno-builtin-lround.
26855
26856 2014-12-19 Torvald Riegel <triegel@redhat.com>
26857
26858 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26859 Contains futex constants and functions moved over from ...
26860 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
26861 <lowlevellock-futex.h>.
26862 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26863 (lll_timedwait_tid): Add comments and parentheses around macro
26864 arguments.
26865
26866 2014-12-19 Torvald Riegel <triegel@redhat.com>
26867
26868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26869 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
26870 (__lll_private_flag): Remove.
26871 (lll_futex_wait): Likewise.
26872 (lll_futex_timed_wait): Likewise.
26873 (lll_futex_wake): Likewise.
26874 (lll_futex_requeue): Likewise.
26875 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26876 (__lll_timedwait_tid): Spell out argument names.
26877 (lll_timedwait_tid): Add comments and parentheses around macro
26878 arguments.
26879 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26880 LLL_SHARED and LLL_PRIVATE usable from assembly code.
26881
26882 2014-12-19 Torvald Riegel <triegel@redhat.com>
26883
26884 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26885 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26886 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26887 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26888 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26889 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26890 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26891 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26892 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26893 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26894 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26895 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26896 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26897 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26898 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26899 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26900 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26901 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26902 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26903
26904 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
26905
26906 * sysdeps/x86_64/x32/Makefile: New file.
26907
26908 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
26909
26910 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26911 1L with (mp_limb_t) 1.
26912
26913 2014-12-17 Roland McGrath <roland@hack.frob.com>
26914
26915 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26916 * nptl/libc_pthread_init.c: ... here.
26917 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26918 * nptl/register-atfork.c: ... here.
26919
26920 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26921 Use pthread_sigmask rather than INTERNAL_SYSCALL.
26922 Use assert_perror to check its return value.
26923 (__gai_create_helper_thread): Likewise.
26924
26925 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26926
26927 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26928
26929 2014-12-17 Joseph Myers <joseph@codesourcery.com>
26930
26931 [BZ #17725]
26932 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26933 __profil_counter.
26934 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26935 Likewise.
26936 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26937 Likewise.
26938 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26939 Likewise.
26940 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26941 (profil_counter): Likewise.
26942 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26943 (profil_counter): Likewise.
26944 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26945 Likewise.
26946 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26947 Likewise.
26948 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26949 (profil_counter): Likewise.
26950 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26951 Likewise.
26952 [!__profil_counter] (profil_counter): Define as weak alias of
26953 __profil_counter.
26954 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26955 (profil_counter): Rename to __profil_counter.
26956 [!__profil_counter] (profil_counter): Define as weak alias of
26957 __profil_counter.
26958 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26959 (profil_counter): Rename to __profil_counter.
26960 [!__profil_counter] (profil_counter): Define as weak alias of
26961 __profil_counter.
26962 * sysdeps/posix/profil.c: Update comment referring to
26963 profil_counter.
26964 (__profil): Use __profil_counter instead of profil_counter.
26965 * sysdeps/posix/sprofil.c (profil_counter): Rename to
26966 __profil_counter. Use __profil_counter_ushort and
26967 __profil_counter_uint in definitions.
26968 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26969 instead of profil_counter_uint and profil_counter_ushort.
26970
26971 [BZ #17722]
26972 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26973 define as weak alias of __inet_makeaddr.
26974 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26975 as weak alias of __inet_addr.
26976 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26977 as weak alias of __inet_pton. Use libc_hidden_weak.
26978 * include/arpa/inet.h (__inet_pton): Declare. Use
26979 libc_hidden_proto.
26980 (inet_makeaddr): Don't use libc_hidden_proto.
26981 (__inet_makeaddr): Declare. Use libc_hidden_proto.
26982 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26983 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
26984 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26985 Remove variable.
26986 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26987 (test-xfail-POSIX/time.h/linknamespace): Likewise.
26988
26989 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
26990
26991 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26992
26993 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
26994
26995 * stdio-common/bug-vfprintf-nargs.c (do_test):
26996 Cast value to intptr_t to avoid format warning
26997 for usage with PRIdPTR printing macro.
26998
26999 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
27000
27001 * libio/tst-widetext.c (do_test):
27002 Use format type %td instead of %Zd for ptrdiff_t
27003 in order to avoid format warning.
27004
27005 2014-12-17 Andreas Schwab <schwab@suse.de>
27006
27007 * nscd/mem.c (gc): Add size_t cast to match printf format.
27008
27009 2014-12-16 Roland McGrath <roland@hack.frob.com>
27010
27011 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27012 (init): Apply PTR_MANGLE to pointers before storing them.
27013 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27014 before using them.
27015
27016 2014-12-16 Joseph Myers <joseph@codesourcery.com>
27017
27018 [BZ #17719]
27019 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27020 define as weak alias of __memrchr.
27021 (__memrchr): Do not define as strong alias of memrchr.
27022 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27023 Remove variable.
27024 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27025 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27026 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27027
27028 [BZ #17717]
27029 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27030 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
27031 (if_indextoname): Rename to __if_indextoname and define as weak
27032 alias of __if_indextoname. Use libc_hidden_weak.
27033 (if_freenameindex): Rename to __if_freenameindex and define as
27034 weak alias of __if_freenameindex.
27035 (if_nameindex): Rename to __if_nameindex and define as weak alias
27036 of __if_nameindex.
27037 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27038 __if_nametoindex and define as weak alias of __if_nametoindex.
27039 Use libc_hidden_weak.
27040 (if_freenameindex): Rename to __if_freenameindex and define as
27041 weak alias of __if_freenameindex.
27042 (if_nameindex): Rename to __if_nameindex and define as weak alias
27043 of __if_nameindex.
27044 (if_indextoname): Rename to __if_indextoname and define as weak
27045 alias of __if_indextoname. Use libc_hidden_weak.
27046 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27047 __if_nametoindex and define as weak alias of __if_nametoindex.
27048 Use libc_hidden_weak.
27049 (if_freenameindex): Rename to __if_freenameindex and define as
27050 weak alias of __if_freenameindex. Use libc_hidden_weak.
27051 (if_nameindex_netlink): Use __if_freenameindex instead of
27052 if_freenameindex.
27053 (if_nameindex): Rename to __if_nameindex and define as weak alias
27054 of __if_nameindex. Use libc_hidden_weak.
27055 (if_indextoname): Rename to __if_indextoname and define as weak
27056 alias of __if_indextoname. Use libc_hidden_weak.
27057 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27058 libc_hidden_proto.
27059 [!_ISOMAC] (__if_freenameindex): Likewise.
27060 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27061 if_nametoindex.
27062 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27063 variable.
27064 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27065 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27066 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27067 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27068 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27069 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27070 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27071
27072 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27073 Remove variable.
27074 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27075 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27076
27077 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27078
27079 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27080 subscript above bounds'
27081
27082 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27083 bounds.
27084
27085 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
27086
27087 * libio/tst-fopenloc.c: Use test-skeleton.c.
27088
27089 * stdlib/tst-bsearch.c: Use test-skeleton.c.
27090 (entry): Rename to ITEM.
27091 (do_test, comp): Adjust.
27092
27093 * stdio-common/tst-fseek.c: Use test-skeleton.c.
27094
27095 2014-12-16 Torvald Riegel <triegel@redhat.com>
27096
27097 * string/tester.c: Include <libc-internal.h>.
27098 (test_memset): Ignore -Wmemset-transposed-args.
27099
27100 2014-12-16 Torvald Riegel <triegel@redhat.com>
27101
27102 * misc/tst-mntent2.c (do_test): Fix warning.
27103
27104 2014-12-16 Torvald Riegel <triegel@redhat.com>
27105
27106 * elf/tst-unique4lib.cc(a): Mark as used.
27107
27108 2014-12-16 Florian Weimer <fweimer@redhat.com>
27109
27110 [BZ #17630]
27111 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27112 names.
27113
27114 2014-12-16 Allan McRae <allan@archlinux.org>
27115
27116 * stdio-common/Makefile (tests): Re-add bug26.
27117
27118 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
27119
27120 [BZ #17657]
27121 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27122 static array.
27123
27124 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
27125
27126 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27127 (__lll_lock_wait): Likewise.
27128 (__lll_timedlock_wait): Likewise.
27129 (__lll_timedwait_tid): Likewise.
27130 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27131 (__lll_robust_timedlock_wait): Likewise.
27132 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27133 (lll_cond_trylock): Likewise.
27134 (__lll_lock): Likewise.
27135 (__lll_robust_lock): Likewise.
27136 (__lll_cond_lock): Likewise.
27137 (lll_robust_cond_lock): Likewise.
27138 (__lll_timedlock): Likewise.
27139 (__lll_robust_timedlock): Likewise.
27140 (__lll_unlock): Likewise.
27141 (__lll_robust_unlock): Likewise.
27142 (lll_wait_tid): Likewise.
27143 (lll_timedwait_tid): Likewise.
27144
27145 2014-12-15 Torvald Riegel <triegel@redhat.com>
27146
27147 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27148
27149 2014-12-15 Torvald Riegel <triegel@redhat.com>
27150
27151 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27152
27153 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
27154
27155 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27156 * stdio-common/tst-sprintf.c: Likewise.
27157
27158 2014-12-15 Torvald Riegel <triegel@redhat.com>
27159
27160 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27161
27162 2014-12-15 Jeff Law <law@redhat.com>
27163
27164 [BZ #16617]
27165 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27166 on the heap. (CVE-2012-3406)
27167 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27168 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
27169 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27170
27171 2014-12-15 Will Newton <will.newton@linaro.org>
27172
27173 * manual/install.texi: Bump required version of texinfo
27174 to 4.7 from 4.5.
27175 * INSTALL: Regenerated.
27176 * configure.ac: Check for makeinfo version 4.7 and above.
27177 * configure: Regenerated.
27178
27179 2014-12-12 Roland McGrath <roland@hack.frob.com>
27180
27181 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27182 PREFIX, string constant to insert between directory and name.
27183 * sysdeps/posix/shm_open.c: Update caller.
27184 * sysdeps/posix/shm_unlink.c: Likewise.
27185 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27186 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27187 (SEM_SHM_PREFIX): New macro.
27188 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27189 [$(have-thread-library) = no].
27190 * nptl/Makefile (libpthread-routines): Add shm-directory.
27191 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27192 * sysdeps/nptl/shm-directory.h: New file.
27193 * sysdeps/posix/shm-directory.c
27194 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27195 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27196 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27197 INTERNAL_SYSCALL.
27198 (__where_is_shmfs): Function removed.
27199 (mountpoint, defaultmount, defaultdir, __namedsem_once):
27200 Variables removed.
27201 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27202 Use SHM_GET_NAME.
27203 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
27204
27205 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27206 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27207 unconditional for use inside libpthread.
27208 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27209
27210 2014-12-12 Roland McGrath <roland@hack.frob.com>
27211
27212 * nptl/pthread_getaffinity.c: New file.
27213 * nptl/pthread_setaffinity.c: New file.
27214 * nptl/pthread_getname.c: New file.
27215 * nptl/pthread_setname.c: New file.
27216
27217 * nptl/pthread_create.c (START_THREAD_DEFN)
27218 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27219
27220 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27221 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27222
27223 * resolv/res_send.c (send_vc): Disable warning resplen may
27224 be used uninitialized.
27225
27226 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27227
27228 * nptl/tst-mutex6.c
27229 (ATTR_NULL): New define checks ATTR against NULL.
27230 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27231 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27232
27233 2014-12-11 James Lemke <jwlemke@codesourcery.com>
27234
27235 [BZ #17581]
27236 * malloc/hooks.c
27237 (mem2mem_check): Revert my previous change.
27238 (malloc_check_get_size): Revert my previous change.
27239 (mem2chunk_check): Revert my previous change.
27240
27241 2014-12-11 Roland McGrath <roland@hack.frob.com>
27242
27243 * sysdeps/posix/shm-directory.c: New file.
27244 * sysdeps/posix/shm-directory.h: New file.
27245 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27246 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27247 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
27248 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27249 Transmute EPERM to EACCES.
27250 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27251 from ...
27252 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
27253 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27254
27255 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27256
27257 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27258 pointer and cast to uintptr_t.
27259 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27260 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27261 Add cast to avoid warning.
27262 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27263
27264 2014-12-11 Joseph Myers <joseph@codesourcery.com>
27265
27266 * nptl/semaphore.h: Move to ...
27267 * sysdeps/pthread/semaphore.h: ... here.
27268 * Makefile (installed-headers): Change nptl/semaphore.h to
27269 sysdeps/pthread/semaphore.h.
27270
27271 2014-12-11 Roland McGrath <roland@hack.frob.com>
27272
27273 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27274 generated error format strings.
27275
27276 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27277 -Wformat-extra-args warnings for scanf formats.
27278 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27279 test of zero-length format (duh).
27280 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27281 corner-case scanf format test.
27282 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27283 generated fprintf format string.
27284 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27285 corner-case sprintf format tests.
27286 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27287 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27288 -Wformat-extra-args warnings throughout.
27289 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27290 (CFLAGS-scanf4.c): Likewise.
27291 (CFLAGS-scanf7.c): Likewise.
27292 (CFLAGS-tst-sprintf.c): Likewise.
27293 (CFLAGS-tst-printf.c): Likewise.
27294 (CFLAGS-tst-printfsz.c): Likewise.
27295
27296 2014-12-11 Joseph Myers <joseph@codesourcery.com>
27297
27298 * include/cpio.h: New file.
27299 * include/fmtmsg.h: Likewise.
27300
27301 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
27302 corresponding format argument to size_t.
27303 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
27304 arguments.
27305 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
27306 corresponding format argument to size_t.
27307 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
27308 arguments.
27309 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
27310 corresponding format argument to size_t.
27311 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27312 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27313 (CFLAGS-tst-mbswcs2.c): Likewise.
27314 (CFLAGS-tst-mbswcs3.c): Likewise.
27315 (CFLAGS-tst-mbswcs4.c): Likewise.
27316 (CFLAGS-tst-mbswcs5.c): Likewise.
27317 (CFLAGS-tst-trans.c): Likewise.
27318
27319 2014-12-11 Roland McGrath <roland@hack.frob.com>
27320
27321 * posix/regexbug1.c (main): Use "%s" format with regerror results,
27322 rather than assuming they won't contain any '%'s.
27323
27324 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
27325
27326 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27327 inhibit_loop_to_libcall to avoid recursive calls.
27328 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27329 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27330
27331 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
27332
27333 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27334 prototype.
27335
27336 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
27337
27338 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27339 integer value instead of boolean.
27340
27341 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
27342
27343 * malloc/malloc.c: Fix powerof2 check.
27344
27345 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27346
27347 * locale/programs/locfile.h (maybe_swap_uint32):
27348 Remove inline and add unused attribute.
27349
27350 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27351
27352 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27353 Truncating assembler expression to a .long expression.
27354
27355 2014-12-11 Andreas Schwab <schwab@suse.de>
27356
27357 * elf/rtld.c (struct map_args): Constify str member.
27358 (do_preload): Constify fname argument.
27359
27360 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27361
27362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27363 constants definition.
27364
27365 2014-12-11 Andreas Schwab <schwab@suse.de>
27366
27367 [BZ #16657]
27368 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27369 FORCE_ELISION instead of DO_ELISION.
27370 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27371 Remove.
27372 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27373 Likewise.
27374
27375 * iconvdata/gconv-modules: Remove duplicate entry.
27376
27377 2014-12-11 Will Newton <will.newton@linaro.org>
27378
27379 Merge gettext 0.19.3 into intl/.
27380
27381 This involves a number of cosmetic changes to comments
27382 and ANSI function definitions and prototypes throughout
27383 all the files. The gettext copyright header is used but
27384 with the date ranges taken from the glibc copy.
27385
27386 * NEWS: Add gettext merge to 2.21.
27387 * intl/bindtextdom.c: Switch to gettext copyright.
27388 Use ANSI definitions and prototypes.
27389 Use gl_* locking primitives rather than __libc_* ones.
27390 Use __builtin_expect rather than __glibc_likely/unlikely.
27391 * intl/dcgettext.c: Switch to gettext copyright.
27392 Use ANSI definitions and prototypes.
27393 * intl/dcigettext.c: Switch to gettext copyright.
27394 Use ANSI definitions and prototypes.
27395 (INTDIV0_RAISES_SIGFPE): New define.
27396 Use gl_* locking primitives rather than __libc_* ones.
27397 Include eval-plural.h instead of plural-eval.c.
27398 Use __builtin_expect rather than __glibc_likely/unlikely.
27399 * intl/dcngettext.c: Switch to gettext copyright.
27400 Use ANSI definitions and prototypes.
27401 * intl/dgettext.c: Likewise.
27402 * intl/dngettext.c: Likewise.
27403 * intl/plural-eval.c: Renamed to...
27404 * intl/eval-plural.h: ...this.
27405 * intl/explodename.c: Switch to gettext copyright.
27406 Use ANSI definitions and prototypes.
27407 (_nl_explode_name): Use strchr instead of __rawmemchr.
27408 * intl/finddomain.c: Switch to gettext copyright.
27409 Use ANSI definitions and prototypes.
27410 Use gl_* locking primitives rather than __libc_* ones.
27411 (_nl_find_domain): Use malloc rather than alloca for
27412 allocation of temporary locale name.
27413 * intl/gettext.c: Switch to gettext copyright.
27414 Use ANSI definitions and prototypes.
27415 * intl/gettextP.h: Switch to gettext copyright.
27416 Use ANSI definitions and prototypes.
27417 Use gl_* locking primitives rather than __libc_* ones.
27418 * intl/gmo.h: Switch to gettext copyright.
27419 (struct sysdep_string): Move struct segment_pair outside of
27420 struct definition.
27421 * intl/hash-string.c: Use ANSI definitions and prototypes.
27422 * intl/hash-string.h: Switch to gettext copyright.
27423 Use ANSI definitions and prototypes.
27424 * intl/l10nflist.c: Switch to gettext copyright.
27425 Use ANSI definitions and prototypes.
27426 (_nl_normalize_codeset): Avoid integer overflow.
27427 * intl/loadinfo.h: Switch to gettext copyright.
27428 Use ANSI definitions and prototypes.
27429 (LIBINTL_DLL_EXPORTED): New define.
27430 (PATH_SEPARATOR): New define.
27431 * intl/loadmsgcat.c: Switch to gettext copyright.
27432 * intl/localealias.c: Switch to gettext copyright.
27433 Use ANSI definitions and prototypes.
27434 (_nl_expand_alias): Use PATH_SEPARATOR.
27435 * intl/ngettext.c: Switch to gettext copyright.
27436 Use ANSI definitions and prototypes.
27437 * intl/plural-exp.c: Likewise.
27438 * intl/plural-exp.h: Switch to gettext copyright.
27439 Use ANSI definitions and prototypes.
27440 (struct expression): Move definition of enum operator outside
27441 of struct definition.
27442 * intl/plural.c: Regenerate.
27443 * intl/plural.y: Switch to gettext copyright.
27444 Use ANSI definitions and prototypes.
27445 Port to bison 3.0.
27446 * intl/textdomain.c: Switch to gettext copyright.
27447 Use ANSI definitions and prototypes.
27448 Use gl_* locking primitives rather than __libc_* ones.
27449
27450 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
27451
27452 * debug/warning-nop.c: Add used atrribute.
27453
27454 2014-12-10 Joseph Myers <joseph@codesourcery.com>
27455
27456 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27457
27458 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27459 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27460 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27461
27462 2014-12-10 Joseph Myers <joseph@codesourcery.com>
27463 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27464
27465 [BZ #17634]
27466 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27467 Undefine after defining function. Define as weak alias of
27468 __wcschr. Use libc_hidden_weak.
27469 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
27470 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27471 (libc_hidden_def): Also define __GI___wcschr alias.
27472 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27473 __wcschr and define as weak alias of __wcschr.
27474 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27475 __wcschr.
27476 [!WCSCHR] (DEFAULT_WCSCHR): Define.
27477 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27478 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
27479 libc_hidden_weak. Do not use libc_hidden_def.
27480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27481 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27482 __GI___wcschr alias.
27483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27484 [IS_IN (libc)] (wcschr): Define as macro expanding to
27485 __redirect_wcschr.
27486 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27487 [IS_IN (libc)] (__wcschr_power6): Likewise.
27488 [IS_IN (libc)] (__wcschr_power7): Likewise.
27489 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
27490 instead of wcschr.
27491 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27492 __libc_wcschr.
27493 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27494 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27495 __wcschr and define as weak alias of __wcschr. Use
27496 libc_hidden_builtin_def.
27497 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27498 as weak alias of __wcschr. Use libc_hidden_weak.
27499 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27500 wcschr.
27501 * time/era.c (_nl_init_era_entries): Likewise.
27502 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27503 variable.
27504 (test-xfail-XPG3/time.h/linknamespace): Likewise.
27505 (test-xfail-XPG4/time.h/linknamespace): Likewise.
27506
27507 2014-12-10 Joseph Myers <joseph@codesourcery.com>
27508
27509 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27510 format for long int variable.
27511
27512 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
27513
27514 [BZ #10672]
27515 * manual/search.texi: (Array Sort Function): Remove claim how to make
27516 qsort stable.
27517
27518 2014-12-10 Andreas Schwab <schwab@suse.de>
27519
27520 [BZ #12847]
27521 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27522 user-controlled locks.
27523
27524 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
27525
27526 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27527 register.
27528
27529 2014-12-10 Joseph Myers <joseph@codesourcery.com>
27530
27531 * configure.ac (--disable-werror): New configure option.
27532 (enable_werror): New AC_SUBST.
27533 * configure: Regenerated.
27534 * config.make.in (enable-werror): New variable.
27535 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27536 -Wno-error=undef.
27537 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27538 * manual/install.texi (Configuring and compiling): Document
27539 --disable-werror.
27540 * INSTALL: Regenerated.
27541 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27542 (CFLAGS-tst-chk2.c): Likewise.
27543 (CFLAGS-tst-chk3.c): Likewise.
27544 (CFLAGS-tst-chk4.cc): Likewise.
27545 (CFLAGS-tst-chk5.cc): Likewise.
27546 (CFLAGS-tst-chk6.cc): Likewise.
27547 (CFLAGS-tst-lfschk1.c): Likewise.
27548 (CFLAGS-tst-lfschk2.c): Likewise.
27549 (CFLAGS-tst-lfschk3.c): Likewise.
27550 (CFLAGS-tst-lfschk4.cc): Likewise.
27551 (CFLAGS-tst-lfschk5.cc): Likewise.
27552 (CFLAGS-tst-lfschk6.cc): Likewise.
27553
27554 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27555 (main): Disable -Wdeprecated-declarations around calls to
27556 register_printf_function.
27557
27558 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27559 (do_test): Disable -Wdiv-by-zero around some calls to
27560 fwrite_unlocked and fread_unlocked.
27561
27562 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27563 (DIAG_POP_NEEDS_COMMENT): Likewise.
27564 (_DIAG_STR1): Likewise.
27565 (_DIAG_STR): Likewise.
27566 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27567 * stdio-common/bug21.c: Include <libc-internal.h>.
27568 (do_test): Disable -Wformat around call to sscanf.
27569 * stdio-common/scanf14.c: Include <libc-internal.h>.
27570 (main): Disable -Wformat around some calls to scanf functions.
27571
27572 2014-12-09 Torvald Riegel <triegel@redhat.com>
27573
27574 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27575
27576 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27577
27578 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27579 stack variable alignment.
27580
27581 2014-12-06 Joseph Myers <joseph@codesourcery.com>
27582
27583 [BZ #17682]
27584 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27585 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27586 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27587 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27588 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27589 __getrlimit instead of getrlimit.
27590 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27591 __gettimeofday instead of gettimeofday.
27592 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27593 Likewise.
27594 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27595 Likewise.
27596 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27597 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27598 Remove variable.
27599 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27600 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27601
27602 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27603
27604 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27605 for wide-character tests.
27606
27607 2014-12-04 Roland McGrath <roland@hack.frob.com>
27608
27609 * io/openat64.c: #include <libc-internal.h>
27610 (__openat64): Prototypify. Use ignore_value on MODE.
27611 * io/openat.c: Likewise.
27612 * misc/reboot.c: #include <libc-internal.h>
27613 (reboot): Prototypify. Use ignore_value on HOWTO.
27614 * misc/ptrace.c: #include <libc-internal.h>
27615 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
27616
27617 2014-12-04 Joseph Myers <joseph@codesourcery.com>
27618
27619 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27620 XPG4, UNIX98 and XOPEN2K.
27621 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27622 Remove variable.
27623 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27624
27625 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27626
27627 * libio/fileops.c: Use ISO C style for function definitions.
27628 * libio/iofopen.c: Likewise.
27629 * libio/wfileops.c: Likewise.
27630
27631 [BZ #17653]
27632 * libio/fileops.c (_IO_new_file_underflow): Unset cached
27633 offset on EOF.
27634 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27635 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27636 (fgets_func): Function pointer to fgets and fgetws.
27637 (do_ftell_test): Add test to verify ftell value after read
27638 EOF.
27639 (do_test): Set fgets_func.
27640
27641 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27642 O_TRUNC flag for w and w+ modes.
27643 (do_rewind_test): Likewise.
27644 (do_ftell_test): Likewise.
27645 (do_write_test): Likewise.
27646
27647 [BZ #17647]
27648 * libio/fileops.c (do_ftell): Seek only when there are
27649 unflushed writes.
27650 * libio/wfileops.c (do_ftell_wide): Likewise.
27651 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27652 test case.
27653 (do_one_test): Call it.
27654
27655 2014-12-03 Joseph Myers <joseph@codesourcery.com>
27656
27657 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27658 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27659 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27660 Remove variable.
27661 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27662 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27663 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27664
27665 2014-12-02 Joseph Myers <joseph@codesourcery.com>
27666
27667 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27668 Remove variable.
27669 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27670
27671 [BZ #17668]
27672 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27673 as weak alias of __getifaddrs. Use libc_hidden_weak.
27674 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27675 __freeifaddrs. Use libc_hidden_weak.
27676 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27677 define as weak alias of __getifaddrs. Use libc_hidden_weak.
27678 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27679 __freeifaddrs. Use libc_hidden_weak.
27680 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27681 __getifaddrs and define as weak alias of __getifaddrs. Use
27682 libc_hidden_weak.
27683 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27684 __freeifaddrs. Use libc_hidden_weak.
27685 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27686 Remove variable.
27687 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27688 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27689
27690 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
27691
27692 [BZ #17601]
27693 * sysdeps/mips/start.S (__start): Use indirect jump to call
27694 __libc_start_main.
27695
27696 2014-12-02 Joseph Myers <joseph@codesourcery.com>
27697
27698 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27699
27700 * nptl/tst-mutex1.c: Include <stdbool.h>.
27701 [!ATTR] (ATTR_NULL): New macro.
27702 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27703 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27704 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27705
27706 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27707 to char *.
27708
27709 [BZ #17665]
27710 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27711 Change conditional to [__USE_MISC].
27712
27713 [BZ #17664]
27714 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27715 fgets_unlocked.
27716 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27717 __fgets_unlocked.
27718 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27719 fgets_unlocked.
27720 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27721 Remove variable.
27722 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27723 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27724 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27725 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27726 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27727 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27728 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27729 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27730 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27731
27732 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27733
27734 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27735
27736 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27737 Remove strpbrk objects.
27738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27739 (__libc_ifunc_impl_list): Remove strpbrk implementation.
27740 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27741 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27742 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27743 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27744
27745 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27746 Remove strcspn objects.
27747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27748 (__libc_ifunc_impl_list): Remove strcspn implementation.
27749 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27750 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27751 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27752 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27753
27754 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27755 Remove strspn objetcs.
27756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27757 (__libc_ifunc_impl_list): Remove strspn implementation.
27758 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27759 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27760 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27761 * sysdeps/powerpc/powerpc64/strspn.S: New file.
27762
27763 2014-12-01 James Lemke <jwlemke@codesourcery.com>
27764
27765 [BZ #17581]
27766 * malloc/hooks.c
27767 (mem2mem_check): Add a terminator to the chain of checking blocks.
27768 (malloc_check_get_size): Use it here.
27769 (mem2chunk_check): Ditto.
27770
27771 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27772
27773 * sysdeps/powerpc/powerpc64/strtok.S: New file.
27774 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27775
27776 2014-11-29 Carlos O'Donell <carlos@redhat.com>
27777
27778 * bits/ioctl-types.h: Indent preprocessor directives correctly.
27779
27780 * nptl/nptl-init.c: Include libc-internal.h.
27781 (__pthread_initialize_minimal_internal): Use ROUND_UP.
27782
27783 * elf/ldconfig.c (search_dir): Expand comment.
27784
27785 2014-11-29 Joseph Myers <joseph@codesourcery.com>
27786
27787 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27788 variable.
27789 (linknamespace-symlist-stdlibs-tests): Likewise.
27790 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27791 instead of $(objpfx)symlist-stdlibs.
27792 (linknamespace-libs-isoc): New variable.
27793 (linknamespace-libs): Use $(linknamespace-libs-isoc).
27794 (linknamespace-libs-ISO): New variable.
27795 (linknamespace-libs-ISO99): Likewise.
27796 (linknamespace-libs-ISO11): Likewise.
27797 (linknamespace-libs-XPG3): Likewise.
27798 (linknamespace-libs-XPG4): Likewise.
27799 (linknamespace-libs-POSIX): Likewise.
27800 (linknamespace-libs-UNIX98): Likewise.
27801 (linknamespace-libs-XOPEN2K): Likewise.
27802 (linknamespace-libs-POSIX2008): Likewise.
27803 (linknamespace-libs-XOPEN2K8): Likewise.
27804 ($(objpfx)symlist-stdlibs): Replace by
27805 $(linknamespace-symlist-stdlibs-tests). Use
27806 $(linknamespace-libs-$*) as set of libraries.
27807 ($(linknamespace-header-tests)): Update dependencies. Use
27808 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27809 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27810 * conform/linknamespace.pl: Remove comment about considering
27811 definitions of symbols from irrelevant libraries.
27812
27813 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 [BZ #13862]
27816 * elf/dl-tls.c: Include <atomic.h>.
27817 (oom): Remove #ifdef SHARED/#endif.
27818 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27819 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
27820 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27821 big enough.
27822 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27823 * nptl/Makefile (tests): Add tst-stack4.
27824 (modules-names): Add tst-stack4mod.
27825 ($(objpfx)tst-stack4): New.
27826 (tst-stack4mod.sos): Likewise.
27827 ($(objpfx)tst-stack4.out): Likewise.
27828 ($(tst-stack4mod.sos)): Likewise.
27829 (clean): Likewise.
27830 * nptl/tst-stack4.c: New file.
27831 * nptl/tst-stack4mod.c: Likewise.
27832
27833 2014-11-27 J. Brown <jb999@gmx.de>
27834
27835 * sysdeps/x86/bits/string.h: Add recent CPUs.
27836
27837 2014-11-27 Joseph Myers <joseph@codesourcery.com>
27838
27839 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27840 sigblock.
27841
27842 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27843 feof.
27844
27845 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27846 variable.
27847
27848 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
27849
27850 * nscd/connections.c: Include libc-internal.h because of macro
27851 usage ignore_value.
27852
27853 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27854
27855 * string/bits/string3.h (__warn_memset_zero_len): Don't
27856 declare for gcc newer than 5.0.
27857 (memset): Don't test for zero-length __LEN for gcc newer than
27858 5.0.
27859
27860 2014-11-27 Joseph Myers <joseph@codesourcery.com>
27861
27862 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27863 size_t for %zu format.
27864
27865 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27866 difference, not %ju.
27867
27868 2014-11-26 Joseph Myers <joseph@codesourcery.com>
27869
27870 * include/libc-internal.h (ignore_value): New macro.
27871 * nscd/connections.c (restart): Wrap calls to setuid and setgid
27872 with ignore_value.
27873
27874 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27875 definition.
27876
27877 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27878 pthread_cleanup_push to void *.
27879
27880 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27881 Undefine.
27882
27883 [BZ #16619]
27884 [BZ #16740]
27885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27886 instead of 1L << 52.
27887
27888 * libio/bug-rewind.c (do_test): Check fwscanf return values.
27889 * libio/bug-rewind2.c (do_test): Likewise.
27890
27891 * debug/test-stpcpy_chk-ifunc.c: Remove file.
27892 * debug/test-strcpy_chk-ifunc.c: Likewise.
27893 * wcsmbs/test-wcschr-ifunc.c: Likewise.
27894 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27895 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27896 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27897 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27898 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27899 * Rules [$(multi-arch) = no] (tests): Do not filter out
27900 $(tests-ifunc).
27901 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27902 * debug/Makefile (tests-ifunc): Remove variable.
27903 (tests): Do not add $(tests-ifunc).
27904 * wcsmbs/Makefile (tests-ifunc): Remove variable.
27905 (tests): Do not add $(tests-ifunc).
27906 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27907 [TEST_IFUNC]: Remove conditionals.
27908 * string/test-string.h (TEST_IFUNC): Remove macro.
27909 [TEST_IFUNC]: Remove conditionals.
27910
27911 * string/test-strchr.c [!WIDE] (L): New macro.
27912 [WIDE] (L): Likewise.
27913 (check1): Use CHAR instead of char. Use L on string and character
27914 constants.
27915
27916 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
27917
27918 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27919 tests.
27920 * sysdeps/powerpc/bits/atomic.h
27921 (__arch_atomic_exchange_and_add_32_acq): Add definition.
27922 (__arch_atomic_exchange_and_add_32_rel): Likewise.
27923 (atomic_exchange_and_add_acq): Likewise.
27924 (atomic_exchange_and_add_rel): Likewise.
27925 * sysdeps/powerpc/powerpc32/bits/atomic.h
27926 (__arch_atomic_exchange_and_add_64_acq): Add definition.
27927 (__arch_atomic_exchange_and_add_64_rel): Likewise.
27928 * sysdeps/powerpc/powerpc64/bits/atomic.h
27929 (__arch_atomic_exchange_and_add_64_acq): Add definition.
27930 (__arch_atomic_exchange_and_add_64_rel): Likewise.
27931
27932 2014-11-26 Torvald Riegel <triegel@redhat.com>
27933
27934 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27935 Change synchronization of __sched_fifo_min_prio and
27936 __sched_fifo_max_prio.
27937 * nptl/pthread_mutexattr_getprioceiling.c
27938 (pthread_mutexattr_getprioceiling): Likewise.
27939 * nptl/pthread_mutexattr_setprioceiling.c
27940 (pthread_mutexattr_setprioceiling): Likewise.
27941 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27942 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27943 Likewise.
27944
27945 2014-11-26 Joseph Myers <joseph@codesourcery.com>
27946
27947 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27948 void.
27949
27950 2014-11-25 Joseph Myers <joseph@codesourcery.com>
27951
27952 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27953 third argument const.
27954
27955 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
27956
27957 fnmatch: work around GCC compiler warning bug with uninit var
27958 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27959 This works around a bug with x86-64 GCC 4.9.2 and earlier
27960 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27961 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27962 used uninitialized in this function [-Wmaybe-uninitialized]".
27963
27964 2014-11-25 Joseph Myers <joseph@codesourcery.com>
27965
27966 * posix/bug-regex31.c (main): Return RES not 0.
27967
27968 2014-11-25 Anton Blanchard <anton@samba.org>
27969
27970 * sysdeps/powerpc/bits/atomic.h
27971 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27972
27973 2014-11-24 Sterling Augustine <saugustine@google.com>
27974
27975 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27976
27977 2014-11-24 Ryan Cumming <etaoins@gmail.com>
27978
27979 [BZ #17608]
27980 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27981
27982 2014-11-24 Joseph Myers <joseph@codesourcery.com>
27983
27984 [BZ #17633]
27985 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27986 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27987 variable.
27988 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27989 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27990
27991 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
27992
27993 * string/strncpy.c (strncpy): Improve performance by using memset.
27994
27995 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
27996
27997 * string/strcpy.c (strcpy):
27998 Improve performance by using strlen and memcpy.
27999
28000 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
28001
28002 * string/strcoll_l.c (get_next_seq): __always_inline.
28003 * string/strcoll_l.c (do_compare): __always_inline.
28004
28005 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28006
28007 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28008 defined.
28009 * include/mqueue.h: Likewise.
28010 * include/stdlib.h: Likewise.
28011
28012 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28013 (get_null_defines): Adjust.
28014 * sunrpc/Makefile: Adjust comment.
28015 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28016 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28017 (CFLAGS-interp.c): Likewise.
28018 (CFLAGS-ldconfig.c): Likewise.
28019 (CPPFLAGS-.os): Likewise.
28020 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28021 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28022 * extra-modules.mk (extra-modules.mk): Likewise.
28023 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28024 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28025 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28026 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28027 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28028 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28029 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28030 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28031 * iconvdata/Makefile (CPPFLAGS): Likewise.
28032 (cpp-srcs-left): Add libof for all iconvdata routines.
28033 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28034 * include/assert.h: Likewise.
28035 * include/ctype.h: Likewise.
28036 * include/errno.h: Likewise.
28037 * include/libc-symbols.h: Likewise.
28038 * include/math.h: Likewise.
28039 * include/netdb.h: Likewise.
28040 * include/resolv.h: Likewise.
28041 * include/stdio.h: Likewise.
28042 * include/stdlib.h: Likewise.
28043 * include/string.h: Likewise.
28044 * include/sys/stat.h: Likewise.
28045 * include/wctype.h: Likewise.
28046 * intl/l10nflist.c: Likewise.
28047 * libidn/idn-stub.c: Likewise.
28048 * libio/libioP.h: Likewise.
28049 * nptl/libc_multiple_threads.c: Likewise.
28050 * nptl/pthreadP.h: Likewise.
28051 * posix/regex_internal.h: Likewise.
28052 * resolv/res_hconf.c: Likewise.
28053 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28054 * sysdeps/arm/memmove.S: Likewise.
28055 * sysdeps/arm/sysdep.h: Likewise.
28056 * sysdeps/generic/_itoa.h: Likewise.
28057 * sysdeps/generic/symbol-hacks.h: Likewise.
28058 * sysdeps/gnu/errlist.awk: Likewise.
28059 * sysdeps/gnu/errlist.c: Likewise.
28060 * sysdeps/i386/i586/memcpy.S: Likewise.
28061 * sysdeps/i386/i586/memset.S: Likewise.
28062 * sysdeps/i386/i686/memcpy.S: Likewise.
28063 * sysdeps/i386/i686/memmove.S: Likewise.
28064 * sysdeps/i386/i686/mempcpy.S: Likewise.
28065 * sysdeps/i386/i686/memset.S: Likewise.
28066 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28067 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28068 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28069 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28070 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28071 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28072 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28073 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28074 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28082 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28083 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28084 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28085 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28086 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28087 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28088 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28089 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28090 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28092 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28095 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28096 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28097 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28098 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28104 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28105 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28106 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28107 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28109 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28112 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28114 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28115 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28116 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28117 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28118 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28119 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28120 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28121 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28122 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28124 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28126 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28127 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28128 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28129 * sysdeps/nptl/bits/libc-lock.h: Likewise.
28130 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28131 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28132 * sysdeps/posix/closedir.c: Likewise.
28133 * sysdeps/posix/opendir.c: Likewise.
28134 * sysdeps/posix/readdir.c: Likewise.
28135 * sysdeps/posix/rewinddir.c: Likewise.
28136 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28137 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28138 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28139 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28140 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28141 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28142 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28143 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28144 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28145 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28146 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28147 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28148 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28149 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28150 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28151 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28152 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28153 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28154 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28155 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28156 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28158 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28159 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28162 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28164 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28165 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28171 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28172 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28173 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28174 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28175 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28176 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28177 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28178 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28179 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28180 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28181 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28182 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28183 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28184 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28185 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28186 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28187 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28188 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28189 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28190 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28192 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28193 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28194 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28195 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28196 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28197 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28198 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28199 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28200 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28201 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28202 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28203 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28204 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28205 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28207 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28208 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28209 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28210 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28211 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28212 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28213 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28214 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28215 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28216 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28218 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28219 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28220 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28222 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28223 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28224 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28225 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28226 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28227 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28228 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28232 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28234 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28235 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28237 * sysdeps/unix/alpha/sysdep.S: Likewise.
28238 * sysdeps/unix/alpha/sysdep.h: Likewise.
28239 * sysdeps/unix/make-syscalls.sh: Likewise.
28240 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28241 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28242 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28243 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28244 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28245 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28246 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28247 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28248 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28249 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28250 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28251 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28252 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28253 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28254 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28255 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28256 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28257 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28258 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28259 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28260 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28261 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28262 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28263 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28264 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28265 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28269 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28270 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28273 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28274 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28275 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28278 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28279 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28280 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28281 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28282 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28283 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28284 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28290 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28291 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28292 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28293 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28294 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28295 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28296 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28298 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28299 * sysdeps/x86_64/memcpy.S: Likewise.
28300 * sysdeps/x86_64/memmove.c: Likewise.
28301 * sysdeps/x86_64/memset.S: Likewise.
28302 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28304 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28305 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28306 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28308 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28309 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28310 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28311 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28312 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28313 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28314 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28315 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28316 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28317 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28318 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28319 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28320 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28321 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28323 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28324 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28326 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28327 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28328 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28329 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28330 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28331 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28332 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28333 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28334 * sysdeps/x86_64/strcmp.S: Likewise.
28335
28336 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28337
28338 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28339 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28340 * elf/rtld-Rules: Likewise.
28341 * elf/setup-vdso.h: Likewise.
28342 * include/assert.h: Likewise.
28343 * include/bits/stdlib-float.h: Likewise.
28344 * include/errno.h: Likewise.
28345 * include/sys/stat.h: Likewise.
28346 * include/unistd.h: Likewise.
28347 * sysdeps/aarch64/setjmp.S: Likewise.
28348 * sysdeps/alpha/setjmp.S: Likewise.
28349 * sysdeps/arm/__longjmp.S: Likewise.
28350 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28351 * sysdeps/arm/setjmp.S: Likewise.
28352 * sysdeps/arm/sysdep.h: Likewise.
28353 * sysdeps/generic/_itoa.h: Likewise.
28354 * sysdeps/generic/dl-sysdep.h: Likewise.
28355 * sysdeps/generic/ldsodefs.h: Likewise.
28356 * sysdeps/i386/dl-tls.h: Likewise.
28357 * sysdeps/i386/setjmp.S: Likewise.
28358 * sysdeps/m68k/setjmp.c: Likewise.
28359 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28360 * sysdeps/mach/hurd/opendir.c: Likewise.
28361 * sysdeps/posix/getcwd.c: Likewise.
28362 * sysdeps/posix/opendir.c: Likewise.
28363 * sysdeps/posix/profil.c: Likewise.
28364 * sysdeps/powerpc/dl-procinfo.h: Likewise.
28365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28366 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28367 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28368 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28369 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28371 * sysdeps/s390/dl-tls.h: Likewise.
28372 * sysdeps/s390/s390-32/setjmp.S: Likewise.
28373 * sysdeps/s390/s390-64/setjmp.S: Likewise.
28374 * sysdeps/sh/sh3/setjmp.S: Likewise.
28375 * sysdeps/sh/sh4/setjmp.S: Likewise.
28376 * sysdeps/unix/alpha/sysdep.h: Likewise.
28377 * sysdeps/unix/arm/sysdep.S: Likewise.
28378 * sysdeps/unix/i386/sysdep.S: Likewise.
28379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28380 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28381 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28382 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28383 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28384 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28385 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28386 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28387 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28388 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28389 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28390 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28391 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28394 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28396 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28397 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28398 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28399 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28402 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28403 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28404 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28406 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28407 * sysdeps/x86_64/setjmp.S: Likewise.
28408
28409 * include/math.h: Use IS_IN instead of IS_IN_libm.
28410 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28411 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28412 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28413 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28414 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28415 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28417 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28420 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28421 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28422 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28423 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28424 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28425 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28426 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28427 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28428 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28429 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28430 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28431 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28432 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28433 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28434 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28435 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28436 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28437 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28438 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28439 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28440 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28441 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28442 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28444 Likewise.
28445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28446 Likewise.
28447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28448 Likewise.
28449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28450 Likewise.
28451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28452 Likewise.
28453 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28455 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28456 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28457 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28458 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28464 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28465 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28466 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28467 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28469 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28470 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28471 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28472 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28473 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28474 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28477 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28479 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28480
28481 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28482 * nptl/pthreadP.h: Likewise.
28483 * nptl_db/structs.def: Likewise.
28484 * sysdeps/arm/sysdep.h: Likewise.
28485 * sysdeps/nptl/bits/libc-lock.h: Likewise.
28486 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28487 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28488 * sysdeps/unix/alpha/sysdep.h: Likewise.
28489 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28490 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28491 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28492 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28493 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28494 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28496 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28497 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28498 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28499 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28500 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28501 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28502 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28506 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28507 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28510 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28511 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28512 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28513 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28514 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28515
28516 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28517 * nptl/pthreadP.h: Likewise.
28518 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28519 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28520 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28521 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28522 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28523 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28524 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28525 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28526 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28527 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28528 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28529 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28531 Likewise.
28532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28533 Likewise.
28534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28536 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28539 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28540 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28541 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28542
28543 * dlfcn/dladdr.c: Use IS_IN.
28544 * dlfcn/dladdr1.c: Likewise.
28545 * dlfcn/dlclose.c: Likewise.
28546 * dlfcn/dlerror.c: Likewise.
28547 * dlfcn/dlinfo.c: Likewise.
28548 * dlfcn/dlmopen.c: Likewise.
28549 * dlfcn/dlopen.c: Likewise.
28550 * dlfcn/dlsym.c: Likewise.
28551 * dlfcn/dlvsym.c: Likewise.
28552
28553 * include/ifaddrs.h: Use IS_IN.
28554 * inet/check_pf.c: Likewise.
28555 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28556 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28557
28558 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28559 IS_IN_ldconfig.
28560 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28561 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28562
28563 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28564 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28565 IS_IN (libc).
28566
28567 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28568
28569 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28570 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28571 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28572 * include/libc-symbols.h (IS_IN_LIB): New macro.
28573 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28574 * include/netdb.h: Likewise.
28575 * include/stap-probe.h: Remove all uses of IN_LIB.
28576
28577 * Makeconfig (module-cppflags-real): Define MODULE_NAME
28578 instead of IN_MODULE.
28579 * include/libc-symbols.h (IN_MODULE): Define using
28580 MODULE_NAME.
28581 (PASTE_NAME, PASTE_NAME1): New macros.
28582 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28583 of IN_LIB.
28584 (STAP_PROBE_ASM): Likewise.
28585
28586 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
28587
28588 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28589 __mach_init in dlopened libc.
28590
28591 2014-11-22 Mike Frysinger <vapier@gentoo.org>
28592
28593 * sysdeps/arm/preconfigure.ac: Delete EABI check.
28594 * sysdeps/arm/preconfigure: Regenerate.
28595
28596 2014-11-21 Roland McGrath <roland@hack.frob.com>
28597
28598 * nptl/pthread_create.c (__pthread_create_2_1): Set
28599 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28600 when copying values from IATTR into PD.
28601
28602 2014-11-21 Will Newton <will.newton@linaro.org>
28603 Andrew Pinski <andrew.pinski@caviumnetworks.com>
28604
28605 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28606 Refactor inline-asm. Also add comment.
28607
28608 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28609 ElfW macro instead of hardcoded Elf64 types.
28610 (la_aarch64_gnu_pltenter): Likewise.
28611 * sysdeps/aarch64/dl-machine.h
28612 (elf_machine_runtime_setup): Use ElfW(Addr).
28613
28614 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28615 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28616 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28617 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28618 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28619 (R_AARCH64_TLS_DTPMOD64): Rename to ..
28620 (R_AARCH64_TLS_DTPMOD): This.
28621 (R_AARCH64_TLS_DTPREL64): Rename to ...
28622 (R_AARCH64_TLS_DTPREL): This.
28623 (R_AARCH64_TLS_TPREL64): Rename to ...
28624 (R_AARCH64_TLS_TPREL): This.
28625 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28626 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28627 R_AARCH64_TLS_TPREL64.
28628 (elf_machine_rela): Likewise.
28629
28630 2014-11-21 Torvald Riegel <triegel@redhat.com>
28631
28632 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28633 by setting it to 0. 64b atomics are not supported currently.
28634
28635 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
28636
28637 [BZ #16469]
28638 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28639 search domain names.
28640
28641 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
28642
28643 [BZ #16469]
28644 * NEWS: Update.
28645 * resolv/res_query.c (__libc_res_nquerydomain): Retain
28646 trailing dot.
28647 * posix/tst-getaddrinfo5.c: New.
28648 * posix/Makefile (tests): Add it.
28649
28650 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
28651
28652 [BZ #14498]
28653 * NEWS: Fixed.
28654 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28655 after parsing line but before break_if_match.
28656 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28657 if there is a protocol mismatch.
28658
28659 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28660
28661 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28662 because the potential race is on the user-supplied stream.
28663
28664 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
28665
28666 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28667 string literal if not passed a buffer.
28668 * manual/job.texi (ctermid): Update reasoning, note deviation
28669 from posix, suggest mtasurace when not passed a buffer, for
28670 future non-preliminary safety notes.
28671
28672 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
28673
28674 * manual/users.texi (cuserid): Fix MT-Safety note for the case
28675 of not passing it a buffer.
28676 Reported by Peng Haitao.
28677
28678 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
28679
28680 * manual/Makefile ($(objpfx)stamp-summary): Require
28681 check-safety.sh to pass.
28682 * manual/check-safety.sh: Wish for verification that every
28683 @deftypefn and @deftypefun is followed by a @safety remark.
28684
28685 2014-11-20 Roland McGrath <roland@hack.frob.com>
28686
28687 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28688
28689 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28690 PTHREAD_CANCEL_ASYNCHRONOUS.
28691 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28692 send SIGCANCEL.
28693
28694 * nptl/default-sched.h: New file.
28695 * sysdeps/unix/sysv/linux/default-sched.h: New file.
28696 * nptl/pthread_create.c: Include it.
28697 (__pthread_create_2_1): Use collect_default_sched instead of making
28698 Linux syscalls here directly.
28699
28700 2014-11-20 Torvald Riegel <triegel@redhat.com>
28701
28702 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28703 __pthread_once): Use C11 atomics.
28704
28705 2014-11-20 Torvald Riegel <triegel@redhat.com>
28706
28707 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28708
28709 2014-11-20 Torvald Riegel <triegel@redhat.com>
28710
28711 * include/atomic.h (__atomic_link_error, __atomic_check_size,
28712 atomic_thread_fence_acquire, atomic_thread_fence_release,
28713 atomic_thread_fence_seq_cst, atomic_load_relaxed,
28714 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28715 atomic_compare_exchange_weak_relaxed,
28716 atomic_compare_exchange_weak_acquire,
28717 atomic_compare_exchange_weak_release,
28718 atomic_exchange_acquire, atomic_exchange_release,
28719 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28720 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28721 atomic_fetch_and_acquire,
28722 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28723
28724 2014-11-20 Torvald Riegel <triegel@redhat.com>
28725
28726 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28727 USE_ATOMIC_COMPILER_BUILTINS): Define.
28728 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28730 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28732 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28734 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28736 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28738 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28740 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28742 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28744 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28746 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28748 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28750 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28752 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28754 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28755 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28756 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28758 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28760 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28761 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28762 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28763 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28764 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28765 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28766 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28768
28769 2014-11-19 Roland McGrath <roland@hack.frob.com>
28770
28771 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28772 the sched_priority value here. It was already checked when the user
28773 called pthread_attr_setschedparam.
28774
28775 * nptl/tst-bad-schedattr.c: New file.
28776 * nptl/Makefile (tests): Add it.
28777
28778 2014-11-19 Carlos O'Donell <carlos@redhat.com>
28779 Florian Weimer <fweimer@redhat.com>
28780 Joseph Myers <joseph@codesourcery.com>
28781 Adam Conrad <adconrad@0c3.net>
28782 Andreas Schwab <schwab@suse.de>
28783 Brooks <bmoses@google.com>
28784
28785 [BZ #17625]
28786 * wordexp-test.c (__dso_handle): Add prototype.
28787 (__register_atfork): Likewise.
28788 (__app_register_atfork): New function.
28789 (registered_forks): New global.
28790 (register_fork): New function.
28791 (test_case): Add 3 new tests for WRDE_CMDSUB.
28792 (main): Call __app_register_atfork.
28793 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28794 fork count is non-zero fail the test.
28795 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28796 is set.
28797 (parse_dollars): Remove check for WRDE_NOCMD.
28798 (parse_dquote): Likewise.
28799
28800 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28801
28802 * Makeconfig (built-modules): List non-library modules to be
28803 built.
28804 (module-cppflags): Include libc-modules.h for
28805 everything except shlib-versions.v.i.
28806 (CPPFLAGS): Use it.
28807 (before-compile): Add libc-modules.h.
28808 ($(common-objpfx)libc-modules.h,
28809 $(common-objpfx)libc-modules.stmp): New targets.
28810 (common-generated): Add libc-modules.h and libc-modules.stmp.
28811 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28812 * include/libc-symbols.h: Don't include libc-modules.h.
28813 * include/libc-modules.h: Remove file.
28814 * scripts/gen-libc-modules.awk: New script to generate
28815 libc-modules.h.
28816 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28817 Depend on libc-modules.stmp.
28818
28819 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28820
28821 * Makeconfig (in-module): Get value of libof set for the
28822 translation unit.
28823 (CPPFLAGS): Use $(in-module).
28824 * Makerules: Don't suffix routine names for nonlib.
28825 * include/libc-modules.h: New file.
28826 * include/libc-symbols.h: Include libc-modules.h
28827 (IS_IN): New macro to replace IS_IN_* macros.
28828 * elf/Makefile: Set libof-* for each routine.
28829 * elf/rtld-Rules: Likewise.
28830 * extra-modules.mk: Likewise.
28831 * iconv/Makefile: Likewise.
28832 * iconvdata/Makefile: Likewise.
28833 * locale/Makefile: Likewise.
28834 * malloc/Makefile: Likewise.
28835 * nss/Makefile: Likewise.
28836 * sysdeps/gnu/Makefile: Likewise.
28837 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28838 * sysdeps/unix/sysv/linux/Makefile: Likewise.
28839 * sysdeps/s390/s390-64/Makefile: Likewise.
28840 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
28841 CPPFLAGS for nscd instead of nonlib.
28842
28843 2014-11-18 Roland McGrath <roland@hack.frob.com>
28844
28845 * nptl/createthread.c: New file.
28846
28847 * nptl/createthread.c: Moved ...
28848 * sysdeps/unix/sysv/linux/createthread.c: ... here.
28849
28850 * nptl/createthread.c: Add proper top-line comment.
28851 (do_clone): Folded into ...
28852 (create_thread): ... here. Take new arguments STOPPED_START and
28853 THREAD_RAN. Always set PD->stopped_start to something here. Don't
28854 increment __nptl_threads, do event-reporting logic, do
28855 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28856 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
28857 resource cleanup if sched_setaffinity or sched_setscheduler fails,
28858 just send SIGCANCEL.
28859 * nptl/pthread_create.c: Forward-declare create_thread before
28860 including createthread.c.
28861 (start_thread): Use new macro START_THREAD_DEFN to replace defining
28862 declaration, and new macro START_THREAD_SELF to replace argument.
28863 Remove return statement.
28864 (report_thread_creation): New function.
28865 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
28866 synchronization logic, and __nptl_nthreads increment here, around
28867 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
28868 PD->parent_cancelhandling here, before create_thread. When
28869 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28870 __deallocate_stack, and ENOMEM translation here.
28871
28872 2014-11-18 Joseph Myers <joseph@codesourcery.com>
28873
28874 [BZ #17616]
28875 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28876 (mptwo): Rename to __mptwo.
28877 (__inv): Use __mptwo instead of mptwo.
28878 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28879 (mptwo): Rename to __mptwo.
28880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28881 of mpone and __mptwo instead of mptwo.
28882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28883 instead of mpone.
28884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28885 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28886 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28887 of mpone and __mptwo instead of mptwo.
28888 (__mpranred): Use __mpone instead of mpone.
28889 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28890 variable.
28891 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28892 (test-xfail-ISO99/math.h/linknamespace): Likewise.
28893 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28894 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28895 (test-xfail-ISO11/math.h/linknamespace): Likewise.
28896 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28897 (test-xfail-XPG3/math.h/linknamespace): Likewise.
28898 (test-xfail-XPG4/math.h/linknamespace): Likewise.
28899 (test-xfail-POSIX/math.h/linknamespace): Likewise.
28900 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28901 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28902 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28903 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28904 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28905 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28906 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28907 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28908 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28909 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28910
28911 2014-11-18 Tom de Vries <tom@codesoucery.com>
28912
28913 * manual/signal.texi (Primitives Interrupted by Signals): In section,
28914 replace BSD Handler xref with BSD Signal Handling.
28915
28916 2014-11-17 Richard Henderson <rth@redhat.com>
28917
28918 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28919 (_FP_PACK_RAW_2): Remove.
28920 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28921 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28922 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28923 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28924 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28925 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28926 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28927 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28928 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28929 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28930 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28931 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28932 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28933 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28934 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28935 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28936
28937 2014-11-14 Roland McGrath <roland@hack.frob.com>
28938
28939 * signal/signal.h [__USE_MISC]
28940 (struct sigvec): Remove type.
28941 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28942 (sigvec): Remove declaration.
28943 * sysdeps/posix/sigvec.c: Moved ...
28944 * signal/sigvec.c: ... here, replacing old file.
28945 (struct sigvec): New type, copied from old signal.h definition.
28946 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28947 (__sigvec): Convert definition to prototype.
28948 (sigvec): Replace weak_alias with compat_symbol.
28949 * signal/Versions (libc: GLIBC_2.21): New version set.
28950 * include/signal.h: Remove __sigvec declaration.
28951 * sysdeps/unix/bsd/sigvec.c: Remove file.
28952 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28953 * manual/signal.texi (BSD Handler): Remove subsection.
28954 Move siginterrupt up to ...
28955 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
28956 (Blocking in BSD): Fold subsection into its parent.
28957 * NEWS: Mention sigvec removal.
28958
28959 2014-11-14 Joseph Myers <joseph@codesourcery.com>
28960
28961 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28962 (DLA_FMS): Make definition conditional only on [__FMA4__].
28963 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28964 definition.
28965
28966 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28967 Make definition conditional only on [PROF].
28968 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28969 definition.
28970 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28971 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28972
28973 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28974 !__GNUC__].
28975 * include/signal.h (__sigpause): Move declaration above call to
28976 libc_hidden_proto.
28977 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28978 variable.
28979 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28980 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28981
28982 2014-11-14 David S. Miller <davem@davemloft.net>
28983
28984 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28985 Define before including <string/memcpy.c> and <string/mempcpy.c>.
28986
28987 2014-11-14 Joseph Myers <joseph@codesourcery.com>
28988
28989 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28990 * configure: Regenerated.
28991 * manual/install.texi (Tools for Compilation): Document a
28992 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28993 compiler verified to work.
28994 * INSTALL: Regenerated.
28995
28996 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28997 redeclare with asm name.
28998 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28999 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29000 including <string.h>.
29001 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29002 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29003 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29004 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29005 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29007 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29008
29009 2014-11-13 Joseph Myers <joseph@codesourcery.com>
29010
29011 * stdlib/strtol.c (__strtol): Use prototype definition.
29012
29013 [BZ #17594]
29014 * stdlib/strtol.c (SYM__): New macro.
29015 (SYM__1): Likewise.
29016 (__strtol): Likewise.
29017 (strtol): Rename to __strtol and define as weak alias of
29018 __strtol. Use libc_hidden_weak.
29019
29020 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
29021
29022 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29023 Use numbered labels in inline assembly.
29024
29025 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
29026
29027 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29028 Add setjmp LIBC_PROBE.
29029 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29030 Likewise.
29031 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29032 Add longjmp, longjmp_target LIBC_PROBE.
29033 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29034 Likewise.
29035
29036 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
29037
29038 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29039 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29040 to get rid of unused variable warning.
29041
29042 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
29043
29044 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29045 Check for unwind_backtrace == NULL only in SHARED case.
29046 (__backchain_backtrace): Compile only in SHARED case.
29047 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29048 Likewise.
29049 (__backchain_backtrace): Declare as static.
29050
29051 2014-11-12 Roland McGrath <roland@hack.frob.com>
29052
29053 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29054 (__libc_multiple_threads_ptr): Variable moved ...
29055 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29056
29057 2014-11-12 Joseph Myers <joseph@codesourcery.com>
29058
29059 * conform/GlibcConform.pm: New file.
29060 * conform/conformtest.pl: Use GlibcConform module.
29061 * conform/linknamespace.pl: New file.
29062 * conform/list-header-symbols.pl: Likewise.
29063 * conform/Makefile (linknamespace-symlists-base): New variable.
29064 (linknamespace-symlists-tests): Likewise.
29065 (linknamespace-header-base): Likewise.
29066 (linknamespace-header-tests): Likewise.
29067 (tests-special): Add new tests.
29068 ($(linknamespace-symlists-tests)): New rule.
29069 (linknamespace-libs): New variable.
29070 ($(objpfx)symlist-stdlibs): New rule.
29071 ($(linknamespace-header-tests)): Likewise.
29072 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29073 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29074 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29075 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29076 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29077 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29078 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29079 (test-xfail-ISO/math.h/linknamespace): Likewise.
29080 (test-xfail-ISO/signal.h/linknamespace): Likewise.
29081 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29082 (test-xfail-ISO/time.h/linknamespace): Likewise.
29083 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29084 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29085 (test-xfail-ISO99/math.h/linknamespace): Likewise.
29086 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29087 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29088 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29089 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29090 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29091 (test-xfail-ISO11/math.h/linknamespace): Likewise.
29092 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29093 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29094 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29095 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29096 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29097 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29098 (test-xfail-XPG3/math.h/linknamespace): Likewise.
29099 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29100 (test-xfail-XPG3/search.h/linknamespace): Likewise.
29101 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29102 (test-xfail-XPG3/time.h/linknamespace): Likewise.
29103 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29104 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29105 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29106 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29107 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29108 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29109 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29110 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29111 (test-xfail-XPG4/math.h/linknamespace): Likewise.
29112 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29113 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29114 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29115 (test-xfail-XPG4/search.h/linknamespace): Likewise.
29116 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29117 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29118 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29119 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29120 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29121 (test-xfail-XPG4/time.h/linknamespace): Likewise.
29122 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29123 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29124 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29125 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29126 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29127 (test-xfail-POSIX/math.h/linknamespace): Likewise.
29128 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29129 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29130 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29131 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29132 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29133 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29134 (test-xfail-POSIX/time.h/linknamespace): Likewise.
29135 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29136 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29137 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29138 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29139 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29140 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29141 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29142 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29143 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29144 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29145 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29146 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29147 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29148 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29149 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29150 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29151 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29152 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29153 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29154 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29155 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29156 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29157 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29158 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29159 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29160 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29161 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29162 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29163 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29164 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29165 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29166 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29167 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29168 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29169 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29170 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29171 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29172 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29173 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29174 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29175 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29176 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29177 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29178 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29179 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29180 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29181 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29182 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29183 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29184 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29185 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29186 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29187 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29188 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29189 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29190 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29191 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29192 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29193 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29194 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29195 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29196 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29197 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29198 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29199 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29200 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29201 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29202 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29203 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29204 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29205 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29206 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29207 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29208 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29209 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29210 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29211 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29212 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29213 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29214 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29215 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29216 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29217 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29218 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29219 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29220 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29221 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29222 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29223 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29224 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29225 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29226 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29227 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29228 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29229 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29230 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29231 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29232 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29233
29234 [BZ #17589]
29235 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29236 of fgets_unlocked.
29237
29238 [BZ #17585]
29239 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29240 (memmem): Rename to __memmem and define as weak alias of
29241 __memmem. Use libc_hidden_weak.
29242 (__memmem): Use libc_hidden_def.
29243 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
29244 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29245 memmem.
29246
29247 [BZ #17582]
29248 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29249 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
29250 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29251 and define as weak alias of __fgets_unlocked. Use
29252 libc_hidden_weak.
29253 (__fgets_unlocked): Use libc_hidden_def.
29254 * include/stdio.h (__fgets_unlocked): Declare. Use
29255 libc_hidden_proto.
29256 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29257 __fgets_unlocked instead of fgets_unlocked.
29258 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29259 (GET_NPROCS_CONF_PARSER): Likewise.
29260 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29261 (GET_NPROCS_CONF_PARSER): Likewise.
29262
29263 [BZ #17574]
29264 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29265 weak alias of __wmemset. Use libc_hidden_weak.
29266 (__wmemset): Use libc_hidden_def.
29267 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
29268 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29269 of wmemset.
29270
29271 [BZ #17573]
29272 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29273 with asm name __mempcpy.
29274 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29275
29276 [BZ #17572]
29277 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29278 and define as weak alias of __rawmemchr.
29279 (__rawmemchr): Do not define as strong alias of rawmemchr.
29280
29281 [BZ #17571]
29282 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29283 alias of __qsort_r.
29284 (qsort): Call __qsort_r instead of qsort_r.
29285 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29286 (__qsort_r): Declare. Call libc_hidden_proto.
29287 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29288 instead of qsort_r.
29289 * nscd/gai.c (__qsort_r): Define to qsort_r.
29290 * posix/tst-rfc3484.c (__qsort_r): Likewise.
29291 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29292 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29293
29294 [BZ #17570]
29295 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29296 define as weak alias of __malloc_info.
29297
29298 [BZ #17584]
29299 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29300 as weak alias of __rewinddir. Don't use libc_hidden_def.
29301 (__rewinddir): Use libc_hidden_def.
29302 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29303 as weak alias of __rewinddir. Don't use libc_hidden_def.
29304 (__rewinddir): Use libc_hidden_def.
29305 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29306 weak alias of __rewinddir. Don't use libc_hidden_def.
29307 (__rewinddir): Use libc_hidden_def.
29308 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29309 (__rewinddir): Use libc_hidden_proto.
29310 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29311 rewinddir.
29312 (__getcwd): Use __rewinddir instead of rewinddir.
29313
29314 [BZ #17583]
29315 * libio/fileno.c (fileno): Rename to __fileno and define as weak
29316 alias of __fileno. Use libc_hidden_weak.
29317 (__fileno): Use libc_hidden_def.
29318 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29319 * libio/ftello.c (ftello): Rename to __ftello and define as weak
29320 alias of __ftello.
29321 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29322 __ftello.
29323 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29324 (__fread_unlocked): Define as strong alias of _IO_fread. Use
29325 libc_hidden_def.
29326 (fread_unlocked): Don't use libc_hidden_ver.
29327 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29328 and define as weak alias of __fread_unlocked. Don't use
29329 libc_hidden_def.
29330 (__fread_unlocked): Use libc_hidden_def.
29331 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
29332 (ftello): Don't use libc_hidden_proto.
29333 (__ftello): Declare. Use libc_hidden_proto.
29334 (fread_unlocked): Don't use libc_hidden_proto.
29335 (__fread_unlocked): Declare. Use libc_hidden_proto.
29336 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29337 and __ftello instead of fileno, fread_unlocked and ftello.
29338
29339 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29340
29341 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29342 GOT12.
29343 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29344 Likewise.
29345 (_dl_start_user): Likewise.
29346 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29347
29348 2014-11-12 Carlos O'Donell <carlos@redhat.com>
29349 Siddhesh Poyarekar <siddhesh@redhat.com>
29350
29351 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29352 Move argv and envp down instead of moving argc up.
29353 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29354
29355 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
29356
29357 [BZ #17506]
29358 * test-skeleton.c (main): Return successful if one of
29359 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29360 * string/tst-strcoll-overflow.c: Define expected status.
29361
29362 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
29363
29364 [BZ #17475]
29365 * locale/iso-639.def: Define Bhili and Tulu language codes.
29366
29367 2014-11-11 Alan Hayward <alan.hayward@arm.com>
29368
29369 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29370
29371 2014-11-10 Renlin Li <Renlin.Li@arm.com>
29372
29373 [BZ #17555]
29374 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29375
29376 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
29377
29378 * configure.ac: Updated check of minimal required version to
29379 2.22.
29380 * manual/install.texi (Tools for Compilation): Updated version
29381 number.
29382 * configure: Regenerated.
29383 * INSTALL: Likewise.
29384
29385 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
29386
29387 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29388 __tls_get_addr.
29389
29390 2014-11-07 Joseph Myers <joseph@codesourcery.com>
29391
29392 * include/sys/wait.h (__libc_waitpid): Remove declaration.
29393 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29394 (__waitpid): Don't define as alias. Use libc_hidden_def not
29395 libc_hidden_weak.
29396 (waitpid): Define as alias of __waitpid.
29397 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29398 __waitpid.
29399 (__waitpid): Don't define as alias. Use libc_hidden_def not
29400 libc_hidden_weak.
29401 (waitpid): Define as alias of __waitpid.
29402 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29403 __libc_waitpid alias.
29404 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29405 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29406 Likewise.
29407 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29408 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29409 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29410 alias.
29411 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29412 __waitpid.
29413 (__waitpid): Don't define as alias. Use libc_hidden_def not
29414 libc_hidden_weak.
29415 (waitpid): Define as alias of __waitpid.
29416
29417 2014-11-06 Carlos O'Donell <carlos@redhat.com>
29418
29419 * manual/llio.texi: Add comment that write safety has been
29420 fixed in Linux.
29421
29422 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29423 (localplt-build-dso): Add elf/ld.so.
29424 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29425 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29426 and free for ld.so.
29427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29428 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29430 Likewise.
29431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29432 Likewise.
29433 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29434 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29435 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29436 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29437 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29438 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29439 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29440 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29441 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29442 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29443 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29444
29445 2014-11-05 Joseph Myers <joseph@codesourcery.com>
29446
29447 [BZ #14132]
29448 * include/libc-symbols.h (INTUSE): Remove macro.
29449 (INTDEF): Likewise.
29450 (INTVARDEF): Likewise.
29451 (_INTVARDEF): Likewise.
29452 (INTDEF2): Likewise.
29453 (INTVARDEF2): Likewise.
29454 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29455 rtld_hidden_def instead of INTVARDEF.
29456 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29457 (_dl_starting_up_internal): Remove declaration.
29458 (_dl_starting_up): Use rtld_hidden_proto.
29459 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29460 declaration.
29461 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29462 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29463 _dl_starting_up.
29464 * elf/dl-writev.h (_dl_writev): Likewise.
29465 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29466 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29467 _dl_starting_up_internal.
29468
29469 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29470
29471 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29472 test-skeleton.c.
29473
29474 2014-11-05 Will Newton <will.newton@linaro.org>
29475
29476 * benchtests/Makefile: (bench-malloc): Add malloc thread
29477 scalability benchmark.
29478 * benchtests/bench-malloc-threads.c: New file.
29479
29480 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
29481
29482 * sysdeps/aarch64/strchrnul.S: New file.
29483
29484 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29485
29486 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29487 definition.
29488 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29489 Likwise.
29490 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29491 Likewise.
29492 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29493 Likewise.
29494 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29495 Likewise.
29496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29497 Likewise.
29498
29499 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
29500
29501 * catgets/test-gencat.c: Use test-skeleton.c.
29502 * catgets/tst-catgets.c: Likewise.
29503 * csu/tst-empty.c: Likewise.
29504 * elf/tst-audit2.c: Likewise.
29505 * elf/tst-global1.c: Likewise.
29506 * elf/tst-pathopt.c: Likewise.
29507 * elf/tst-piemod1.c: Likewise.
29508 * elf/tst-tls10.c: Likewise.
29509 * elf/tst-tls11.c: Likewise.
29510 * elf/tst-tls12.c: Likewise.
29511 * gnulib/tst-gcc.c: Likewise.
29512 * iconvdata/tst-e2big.c: Likewise.
29513 * iconvdata/tst-loading.c: Likewise.
29514 * iconv/tst-iconv1.c: Likewise.
29515 * iconv/tst-iconv2.c: Likewise.
29516 * inet/test-inet6_opt.c: Likewise.
29517 * inet/tst-gethnm.c: Likewise.
29518 * inet/tst-network.c: Likewise.
29519 * inet/tst-ntoa.c: Likewise.
29520 * intl/tst-codeset.c: Likewise.
29521 * intl/tst-gettext2.c: Likewise.
29522 * intl/tst-gettext3.c: Likewise.
29523 * intl/tst-ngettext.c: Likewise.
29524 * intl/tst-translit.c: Likewise.
29525 * io/test-stat.c: Likewise.
29526 * libio/test-fmemopen.c: Likewise.
29527 * libio/tst-freopen.c: Likewise.
29528 * libio/tst-sscanf.c: Likewise.
29529 * libio/tst-ungetwc1.c: Likewise.
29530 * libio/tst-ungetwc2.c: Likewise.
29531 * libio/tst-widetext.c: Likewise.
29532 * localedata/tst-ctype.c: Likewise.
29533 * localedata/tst-digits.c: Likewise.
29534 * localedata/tst-leaks.c: Likewise.
29535 * localedata/tst-mbswcs1.c: Likewise.
29536 * localedata/tst-mbswcs2.c: Likewise.
29537 * localedata/tst-mbswcs3.c: Likewise.
29538 * localedata/tst-mbswcs4.c: Likewise.
29539 * localedata/tst-mbswcs5.c: Likewise.
29540 * localedata/tst-setlocale.c: Likewise.
29541 * localedata/tst-trans.c: Likewise.
29542 * localedata/tst-wctype.c: Likewise.
29543 * localedata/tst-xlocale1.c: Likewise.
29544 * login/tst-grantpt.c: Likewise.
29545 * malloc/tst-calloc.c: Likewise.
29546 * malloc/tst-malloc.c: Likewise.
29547 * malloc/tst-mallocstate.c: Likewise.
29548 * malloc/tst-mcheck.c: Likewise.
29549 * malloc/tst-mtrace.c: Likewise.
29550 * malloc/tst-obstack.c: Likewise.
29551 * math/atest-exp2.c: Likewise.
29552 * math/atest-exp.c: Likewise.
29553 * math/atest-sincos.c: Likewise.
29554 * math/test-matherr.c: Likewise.
29555 * math/test-misc.c: Likewise.
29556 * math/test-powl.c: Likewise.
29557 * math/tst-definitions.c: Likewise.
29558 * misc/tst-dirname.c: Likewise.
29559 * misc/tst-efgcvt.c: Likewise.
29560 * misc/tst-fdset.c: Likewise.
29561 * misc/tst-hsearch.c: Likewise.
29562 * misc/tst-mntent2.c: Likewise.
29563 * nptl/tst-sem7.c: Likewise.
29564 * nptl/tst-sem8.c: Likewise.
29565 * nptl/tst-sem9.c: Likewise.
29566 * nss/test-netdb.c: Likewise.
29567 * posix/tst-fnmatch.c: Likewise.
29568 * posix/tst-getlogin.c: Likewise.
29569 * posix/tst-gnuglob.c: Likewise.
29570 * posix/tst-mmap.c: Likewise.
29571 * pwd/tst-getpw.c: Likewise.
29572 * resolv/tst-inet_ntop.c: Likewise.
29573 * rt/tst-timer.c: Likewise.
29574 * stdio-common/test-fseek.c: Likewise.
29575 * stdio-common/test-popen.c: Likewise.
29576 * stdio-common/test-vfprintf.c: Likewise.
29577 * stdio-common/tst-cookie.c: Likewise.
29578 * stdio-common/tst-fileno.c: Likewise.
29579 * stdio-common/tst-gets.c: Likewise.
29580 * stdio-common/tst-obprintf.c: Likewise.
29581 * stdio-common/tst-perror.c: Likewise.
29582 * stdio-common/tst-sprintf2.c: Likewise.
29583 * stdio-common/tst-sprintf3.c: Likewise.
29584 * stdio-common/tst-sprintf.c: Likewise.
29585 * stdio-common/tst-swprintf.c: Likewise.
29586 * stdio-common/tst-tmpnam.c: Likewise.
29587 * stdio-common/tst-unbputc.c: Likewise.
29588 * stdio-common/tst-wc-printf.c: Likewise.
29589 * stdlib/tst-environ.c: Likewise.
29590 * stdlib/tst-fmtmsg.c: Likewise.
29591 * stdlib/tst-limits.c: Likewise.
29592 * stdlib/tst-rand48-2.c: Likewise.
29593 * stdlib/tst-rand48.c: Likewise.
29594 * stdlib/tst-random2.c: Likewise.
29595 * stdlib/tst-random.c: Likewise.
29596 * stdlib/tst-strtol.c: Likewise.
29597 * stdlib/tst-strtoll.c: Likewise.
29598 * stdlib/tst-tls-atexit.c: Likewise.
29599 * stdlib/tst-xpg-basename.c: Likewise.
29600 * string/test-ffs.c: Likewise.
29601 * string/tst-bswap.c: Likewise.
29602 * string/tst-inlcall.c: Likewise.
29603 * string/tst-strtok.c: Likewise.
29604 * string/tst-strxfrm.c: Likewise.
29605 * sysdeps/x86_64/tst-audit10.c: Likewise.
29606 * sysdeps/x86_64/tst-audit3.c: Likewise.
29607 * sysdeps/x86_64/tst-audit4.c: Likewise.
29608 * sysdeps/x86_64/tst-audit5.c: Likewise.
29609 * time/tst-ftime_l.c: Likewise.
29610 * time/tst-getdate.c: Likewise.
29611 * time/tst-mktime3.c: Likewise.
29612 * time/tst-mktime.c: Likewise.
29613 * time/tst-posixtz.c: Likewise.
29614 * time/tst-strptime2.c: Likewise.
29615 * time/tst-strptime3.c: Likewise.
29616 * wcsmbs/tst-btowc.c: Likewise.
29617 * wcsmbs/tst-mbrtowc.c: Likewise.
29618 * wcsmbs/tst-mbsrtowcs.c: Likewise.
29619 * wcsmbs/tst-wchar-h.c: Likewise.
29620 * wcsmbs/tst-wcpncpy.c: Likewise.
29621 * wcsmbs/tst-wcrtomb.c: Likewise.
29622 * wcsmbs/tst-wcsnlen.c: Likewise.
29623 * wcsmbs/tst-wcstof.c: Likewise.
29624
29625 2014-11-04 Joseph Myers <joseph@codesourcery.com>
29626
29627 [BZ #14132]
29628 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29629 INTDEF.
29630 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29631 declaration.
29632 (_dl_mcount): Use rtld_hidden_proto.
29633 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29634 _dl_mcount.
29635 * elf/rtld.c (_rtld_global_ro): Likewise.
29636
29637 [BZ #14132]
29638 * elf/dl-init.c (_dl_init): Don't use INTDEF.
29639 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29640 of _dl_init_internal.
29641 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29642 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29643 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29644 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29645 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29646 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29647 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29648 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29649 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29650 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29651 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29652 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29653 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29654 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29655 * sysdeps/tile/dl-start.S (_start): Likewise.
29656 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29657 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29658
29659 [BZ #14132]
29660 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29661 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29662 (rtld_progname): Make macro definition unconditional.
29663 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29664 INTDEF.
29665 (dlmopen_doit): Do not use INTUSE with _dl_argv.
29666 (dl_main): Likewise.
29667 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29668 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29669 instead of _dl_argv_internal.
29670 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29671 __GI__dl_argv instead of INTUSE(_dl_argv).
29672 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29673 __GI__dl_argv instead of _dl_argv_internal.
29674
29675 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29676 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29677 macro.
29678 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29679 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29680 New macro.
29681 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29682 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29683 macro.
29684 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29685 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29686
29687 2014-11-04 Andreas Schwab <schwab@suse.de>
29688
29689 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29690
29691 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29692
29693 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29694 mtvsrd instruction in binary form.
29695
29696 2014-11-03 Andreas Schwab <schwab@suse.de>
29697
29698 [BZ #17522]
29699 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29700 for less than MB_LEN_MAX use a local buffer of that size.
29701 * libio/tst-fputws.c: New file.
29702 * libio/Makefile (tests): Add tst-fputws.
29703
29704 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
29705
29706 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29707 the size of the fpu_fr.fpu_dregs[] array.
29708
29709 2014-11-01 Joseph Myers <joseph@codesourcery.com>
29710
29711 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29712 (__nanosleep): Do not define as alias.
29713 (nanosleep): Define as alias of __nanosleep.
29714 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29715 __libc_nanosleep name.
29716
29717 2014-10-31 Joseph Myers <joseph@codesourcery.com>
29718
29719 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29720 install.texi in comment.
29721
29722 2014-10-31 Torvald Riegel <triegel@redhat.com>
29723
29724 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29725 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29726 ... add here and use lwsync or sync ...
29727 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29728 ... and add here using lwsync.
29729
29730 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
29731
29732 * elf/dl-machine-reject-phdr.h: New file.
29733 * elf/dl-load.c: #include that.
29734 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29735 if that returned true.
29736
29737 2014-10-31 Roland McGrath <roland@hack.frob.com>
29738
29739 [BZ #17496]
29740 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29741 gen-as-const-headers chunk. Add a big scare comment after the last
29742 safe place to touch before-compile.
29743
29744 2014-10-31 Joseph Myers <joseph@codesourcery.com>
29745
29746 * manual/install.texi (Tools for Compilation): Update autoconf
29747 version requirements.
29748 * INSTALL: Regenerated.
29749
29750 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29751 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29752 (__libc_pselect): Likewise.
29753
29754 [BZ #14138]
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29759
29760 2014-10-31 Torvald Riegel <triegel@redhat.com>
29761
29762 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29763 correct barrier instruction.
29764 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29765 Likewise.
29766 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29767 Likewise.
29768
29769 2014-10-30 Roland McGrath <roland@hack.frob.com>
29770
29771 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29772 after defining inlines. Instead, just use parens to defeat macro
29773 expansion of __isctype in its declaration.
29774
29775 2014-10-30 Joseph Myers <joseph@codesourcery.com>
29776
29777 * include/sys/uio.h (__libc_readv): Remove declaration.
29778 (__libc_writev): Likewise.
29779 * misc/readv.c (__libc_readv): Rename to __readv.
29780 (__readv): Do not define as alias.
29781 (readv): Define as alias of __readv.
29782 * misc/writev.c (__libc_writev): Rename to __writev.
29783 (__writev): Do not define as alias.
29784 (writev): Define as alias of __writev.
29785 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29786 (__readv): Do not define as alias.
29787 (readv): Define unconditionally as alias of __readv.
29788 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29789 (__writev): Do not define as alias.
29790 (writev): Define unconditionally as alias of __writev.
29791 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29792 name.
29793 (writev): Do not define __libc_writev name.
29794
29795 2014-10-30 Roland McGrath <roland@hack.frob.com>
29796
29797 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29798 (convert_charseq): New function, broken out of ...
29799 (use_from_charmap): ... here. Call it.
29800 (use_to_charmap): Use convert_charseq and free instead of duplicating
29801 its code with a variable-length stack struct.
29802
29803 2014-10-30 Joseph Myers <joseph@codesourcery.com>
29804
29805 * include/fcntl.h (__libc_creat): Remove declaration.
29806 * io/creat.c (__libc_creat): Rename to creat.
29807 (creat): Do not define as alias.
29808 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29809 of creat instead of __libc_creat.
29810 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29811 to creat.
29812 (creat): Do not define as alias.
29813 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29814 __libc_creat.
29815 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29816 __libc_creat name.
29817 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29818 Likewise.
29819
29820 2014-10-29 Carlos O'Donell <carlos@redhat.com>
29821
29822 * manual/llio.texi: Add comments discussing why write() may be
29823 considered MT-unsafe on Linux.
29824
29825 2014-10-28 Carlos O'Donell <carlos@redhat.com>
29826
29827 * dl-load.c (local_strdup): Remove.
29828 (expand_dynamic_string_token): Use __strdup.
29829 (decompose_rpath): Likewise.
29830 (_dl_map_object): Likewise.
29831
29832 2014-10-28 Joseph Myers <joseph@codesourcery.com>
29833
29834 [BZ #14132]
29835 * sysdeps/generic/unwind-dw2-fde.c
29836 (__register_frame_info_bases_internal): Do not declare.
29837 (__register_frame_info_table_bases_internal): Likewise.
29838 (__deregister_frame_info_bases_internal): Likewise.
29839 (__register_frame_info_bases): Declare and use hidden_proto before
29840 definition. Use hidden_def instead of INTDEF.
29841 (__register_frame_info_table_bases): Likewise.
29842 (__deregister_frame_info_bases): Likewise.
29843 (__register_frame_info): Do not use INTUSE.
29844 (__register_frame): Likewise.
29845 (__register_frame_info_table): Likewise.
29846 (__register_frame_table): Likewise.
29847 (__deregister_frame_info): Likewise.
29848 (__deregister_frame): Likewise.
29849
29850 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
29851
29852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29853 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29854 not undefine.
29855 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29856 Likewise.
29857 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29858 Likewise.
29859
29860 2014-10-27 Joseph Myers <joseph@codesourcery.com>
29861
29862 [BZ #14138]
29863 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29864 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29865 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29866 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29867 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29868 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29869 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29870 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29871 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29872 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29873 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29874 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29875 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29876 syscall.
29877 (setfsuid): Likewise.
29878 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29879 (setfsuid): Likewise.
29880 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29881 (setfsuid): Likewise.
29882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29883 Likewise.
29884 (setfsuid): Likewise.
29885 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29886 (setfsuid): Likewise.
29887 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29888 Likewise.
29889 (setfsuid): Likewise.
29890
29891 2014-10-27 Andreas Schwab <schwab@suse.de>
29892
29893 [BZ #17501]
29894 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29895 check for Slow_SSE4_2 feature bit.
29896 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29897 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29898 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29899 Likewise. Fix check for Fast_Unaligned_Load feature bit.
29900
29901 2014-10-24 Roland McGrath <roland@hack.frob.com>
29902
29903 * configure.ac: Validate compiler version with a empirical test of
29904 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29905 $CC -v output.
29906 * configure: Regenerated.
29907
29908 * inet/htons.c (htons): Prototypify.
29909 * inet/htonl.c (htonl): Likewise.
29910
29911 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29912
29913 * string/strncat.c (strncat): Improve performance by using strlen.
29914
29915 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29916
29917 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29918
29919 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29920
29921 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29922 Call libc_fetestexcept_aarch64.
29923
29924 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29925
29926 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29927 Call libc_feholdexcept_aarch64.
29928
29929 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29930
29931 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29932 Call get_rounding_mode.
29933
29934 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29935
29936 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29937 Simplify logic.
29938
29939 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29940
29941 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29942 Simplify logic.
29943
29944 2014-10-24 Joseph Myers <joseph@codesourcery.com>
29945
29946 [BZ #14138]
29947 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29948 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29949 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29950 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29951 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29952 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29953 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29954 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29955 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29956 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29957 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29959 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29960 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29961 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29962 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29963 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29964 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29965 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29966 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29967 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29968 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29969 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29970 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29971 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29972 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29973 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29974 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29975 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29976 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29977 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29978 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29979 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29980 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29981 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29982 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29983 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29984 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29985 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29986 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29987 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29988 syscall.
29989 (geteuid): Likewise.
29990 (getgid): Likewise.
29991 (getuid): Likewise.
29992 (getresgid): Likewise.
29993 (getresuid): Likewise.
29994 (getgroups): Likewise.
29995 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29996 (geteuid): Likewise.
29997 (getgid): Likewise.
29998 (getuid): Likewise.
29999 (getresgid): Likewise.
30000 (getresuid): Likewise.
30001 (getgroups): Likewise.
30002 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30003 (geteuid): Likewise.
30004 (getgid): Likewise.
30005 (getuid): Likewise.
30006 (getresgid): Likewise.
30007 (getresuid): Likewise.
30008 (getgroups): Likewise.
30009 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30010 Likewise.
30011 (geteuid): Likewise.
30012 (getgid): Likewise.
30013 (getuid): Likewise.
30014 (getresgid): Likewise.
30015 (getresuid): Likewise.
30016 (getgroups): Likewise.
30017 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30018 (geteuid): Likewise.
30019 (getgid): Likewise.
30020 (getuid): Likewise.
30021 (getresgid): Likewise.
30022 (getresuid): Likewise.
30023 (getgroups): Likewise.
30024 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30025 Likewise.
30026 (geteuid): Likewise.
30027 (getgid): Likewise.
30028 (getuid): Likewise.
30029 (getgroups): Likewise.
30030
30031 [BZ #14138]
30032 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30033 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30034 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30036 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30037 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30038 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30039 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30040 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30041 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30042 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30043 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30044 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30045 __chown.
30046 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30047 (lchown): Likewise.
30048 (fchown): Likewise.
30049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30050 Likewise.
30051 (lchown): Likewise.
30052 (fchown): Likewise.
30053 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30054 (lchown): Likewise.
30055 (fchown): Likewise.
30056 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30057 Likewise.
30058 (lchown): Likewise.
30059 (fchown): Likewise.
30060
30061 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30062
30063 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30064 Simplify logic.
30065
30066 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30067
30068 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30069 Cleanup logic.
30070
30071 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30072
30073 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30074 Remove unused include.
30075
30076 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
30077
30078 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30079 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30080 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30081 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30082
30083 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
30084 Helge Deller <deller@gmx.de>
30085
30086 [BZ #17508]
30087 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30088 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30089 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30090
30091 2014-10-23 Joseph Myers <joseph@codesourcery.com>
30092
30093 [BZ #14132]
30094 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30095 Remove macro definition.
30096 (__ashrdi3_v_glibc20): Likewise.
30097 (__lshrdi3_v_glibc20): Likewise.
30098 (__cmpdi2_v_glibc20): Likewise.
30099 (__ucmpdi2_v_glibc20): Likewise.
30100 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30101 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30102 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30103 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30104 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30105 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30106
30107 2014-10-22 Roland McGrath <roland@hack.frob.com>
30108
30109 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30110 old GNU extension [0] syntax.
30111 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30112 alloca rather than an array member with variable length.
30113 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30114 * nscd/nscd.c (invalidate_db): New function, broken out of ...
30115 (parse_opt): ... here. Likewise use alloca there.
30116 Validate the -i argument before checking for rootness.
30117 (send_shutdown): New function, broken out of ...
30118 (parse_opt): ... here.
30119
30120 2014-10-22 Roland McGrath <roland@hack.frob.com>
30121
30122 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30123 macro to get at the _rt_local_ro field.
30124 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30125 ([PIC] case) or _dl_hwcap ([!PIC] case).
30126 * sysdeps/arm/setjmp.S: Likewise.
30127
30128 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30129 * sysdeps/arm/configure.ac: New check to define it.
30130 * sysdeps/arm/configure: Regenerated.
30131 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30132 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30133 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30134 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30135 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30136 Use move/movt pair instead of a load.
30137 (LDST_GLOBAL): Macro removed.
30138 (LDR_GLOBAL): New macro replaces it.
30139 (LDR_HIDDEN): New macro.
30140 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30141 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30142
30143 * setjmp/tst-setjmp-static.c: New file.
30144 * setjmp/Makefile (tests): Add it.
30145 (tests-static): New variable.
30146
30147 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
30148
30149 [BZ #17485]
30150 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30151
30152 2014-10-21 Joseph Myers <joseph@codesourcery.com>
30153
30154 [BZ #14132]
30155 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30156
30157 2014-10-21 Roland McGrath <roland@hack.frob.com>
30158
30159 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30160
30161 2014-10-20 Roland McGrath <roland@hack.frob.com>
30162
30163 * io/fts.c (dirent_not_directory): New function.
30164 (fts_build): Call it.
30165
30166 2014-10-20 Roland McGrath <roland@hack.frob.com>
30167
30168 * nptl/version.c (__nptl_main): Use normal __write rather than
30169 INTERNAL_SYSCALL.
30170 (banner): Update copyright years.
30171
30172 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30173 gettimeofday.
30174 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30175 * nptl/pthread_cond_timedwait.c: Likewise.
30176 * nptl/pthread_mutex_timedlock.c: Likewise.
30177 * nptl/sem_timedwait.c: Likewise.
30178
30179 * sysdeps/nptl/bits/libc-lock.h
30180 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30181 (__libc_lock_init_recursive): Return void, not 0.
30182 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30183 (__libc_rwlock_init): Likewise.
30184 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30185
30186 2014-10-20 Torvald Riegel <triegel@redhat.com>
30187
30188 [BZ #15215]
30189 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30190 (__pthread_once_slow): ... here.
30191 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30192 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30193
30194 2014-10-20 Torvald Riegel <triegel@redhat.com>
30195
30196 [BZ #15215]
30197 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30198 __PTHREAD_ONCE_FORK_GEN_INCR): New.
30199 * sysdeps/nptl/fork.c (__libc_fork): Use them.
30200 * nptl/pthread_once.c (__pthread_once): Likewise.
30201 Update comments.
30202
30203 2014-10-20 Joseph Myers <joseph@codesourcery.com>
30204
30205 [BZ #14138]
30206 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30207 name.
30208 (writev): Use __libc_writev as strong name.
30209 * sysdeps/unix/sysv/linux/readv.c: Remove file.
30210 * sysdeps/unix/sysv/linux/writev.c: Likewise.
30211
30212 2014-10-17 Roland McGrath <roland@hack.frob.com>
30213
30214 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30215
30216 * sysdeps/i386/nptl/tls.h
30217 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30218 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30219 New macros.
30220 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30221 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30222 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30223 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30224 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30225 Call CHECK_THREAD_SYSINFO instead of doing an assert.
30226
30227 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30228 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30229 on [__NR_futex].
30230 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30231 broken out of ...
30232 (__pthread_mutex_init): ... here. Call it.
30233 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30234 Conditionalize PI cases on [__NR_futex].
30235 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30236 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30237 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30238
30239 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30240 conditional on [SIGSETXID].
30241 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30242 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30243 is defined. Likewise for SIGSETXID.
30244 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30245 Conditionalize definitions on [SIGSETXID].
30246 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30247 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30248 unblocking on [SIGCANCEL].
30249
30250 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30251 [__NR_set_robust_list].
30252
30253 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30254
30255 * string/strcoll_l.c (get_next_seq): Fix up formatting.
30256 (do_compare): Likewise.
30257
30258 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
30259
30260 [BZ #15884]
30261 * string/strcoll_l.c: Don't include stdio.h.
30262 (coll_seq): Remove members idxarr and rulearr.
30263 (get_next_seq_cached): Remove function.
30264 (get_next_seq): Likewise.
30265 (get_next_seq_nocache): Rename to get_next_seq.
30266 (do_compare): Remove function.
30267 (do_compare_nocache): Rename to do_compare.
30268 (STRCOLL): Remove weight and rules cache.
30269
30270 2014-10-16 Roland McGrath <roland@hack.frob.com>
30271
30272 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30273 * sysdeps/arm/sfp-machine.h: ... to here.
30274 * sysdeps/arm/Implies: Remove arm/soft-fp.
30275
30276 2014-10-14 Joseph Myers <joseph@codesourcery.com>
30277
30278 * conform/data/sys/utsname.h-data (*_t): Allow.
30279 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30280 [POSIX] (WEXITED): Do not expect constant.
30281 [POSIX] (WSTOPPED): Likewise.
30282 [POSIX] (WNOHANG): Likewise.
30283 [POSIX] (WNOWAIT): Likewise.
30284 [POSIX] (siginfo_t): Do not expect type or elements.
30285 [POSIX] (pid_t): Do not expect type.
30286 [POSIX] (signal.h): Do not allow header.
30287 [POSIX] (sys/resource.h): Likewise.
30288 [POSIX] (si_*): Do not allow pattern.
30289 [POSIX] (W*): Likewise.
30290 [POSIX] (P_*): Likewise.
30291 [POSIX] (BUS_*): Likewise.
30292 [POSIX] (CLD_*): Likewise.
30293 [POSIX] (FPE_*): Likewise.
30294 [POSIX] (ILL_*): Likewise.
30295 [POSIX] (POLL_*): Likewise.
30296 [POSIX] (SEGV_*): Likewise.
30297 [POSIX] (SI_*): Likewise.
30298 [POSIX] (TRAP_*): Likewise.
30299 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30300 variable.
30301
30302 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
30303
30304 [BZ #12926]
30305 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30306 infinite loop when __recvmsg returns 0.
30307
30308 2014-10-10 Joseph Myers <joseph@codesourcery.com>
30309
30310 * CANCEL-FCT-WAIVE: Remove file.
30311 * CANCEL-FILE-WAIVE: Likewise.
30312
30313 [BZ #14132]
30314 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30315 instead of INTVARDEF.
30316 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30317 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30318 rtld_hidden_data_def instead of INTVARDEF.
30319 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30320 * elf/dl-deps.c (expand_dst): Likewise.
30321 * elf/dl-load.c (_dl_dst_count): Likewise.
30322 (_dl_dst_substitute): Likewise.
30323 (decompose_rpath): Likewise.
30324 (_dl_init_paths): Likewise.
30325 (open_path): Likewise.
30326 (_dl_map_object): Likewise.
30327 * elf/rtld.c (dl_main): Likewise.
30328 (process_dl_audit): Likewise.
30329 (process_envvars): Likewise.
30330 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30331 Remove declaration.
30332 (__libc_enable_secure): Use rtld_hidden_proto.
30333
30334 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
30335
30336 * elf/dl-load.c
30337 (add_path): New function broken out of _dl_rtld_di_serinfo.
30338 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
30339
30340 2014-10-09 Joseph Myers <joseph@codesourcery.com>
30341
30342 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30343 parentheses around macro arguments.
30344 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30347 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30348 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30349 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30350 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30351 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30352 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30353 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30354 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30355 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30356 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30357 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30358 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30359 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30360 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30362 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30365 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30366 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30367 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30368 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30369 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30370 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30371 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30372 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30373 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30374 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30375 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30376 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30377 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30378 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30379 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30380 Likewise.
30381 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30382 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30383 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30384 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30385 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30386 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30387 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30388 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30389 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30390 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30391 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30392 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30393 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30394 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30395 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30398 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30402 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30403 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30404 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30405 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30406 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30407 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30408 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30409 (_FP_FRAC_SRS_1): Likewise.
30410 (_FP_FRAC_CLZ_1): Likewise.
30411 (_FP_MUL_MEAT_1_imm): Likewise.
30412 (_FP_MUL_MEAT_1_wide): Likewise.
30413 (_FP_MUL_MEAT_1_hard): Likewise.
30414 (_FP_SQRT_MEAT_1): Likewise.
30415 (_FP_FRAC_ASSEMBLE_1): Likewise.
30416 (_FP_FRAC_DISASSEMBLE_1): Likewise.
30417 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30418 (__FP_CLZ_2): Likewise.
30419 (_FP_MUL_MEAT_2_wide): Likewise.
30420 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30421 (_FP_MUL_MEAT_2_gmp): Likewise.
30422 (_FP_MUL_MEAT_2_120_240_double): Likewise.
30423 (_FP_SQRT_MEAT_2): Likewise.
30424 (_FP_FRAC_ASSEMBLE_2): Likewise.
30425 (_FP_FRAC_DISASSEMBLE_2): Likewise.
30426 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30427 (_FP_FRAC_CLZ_4): Likewise.
30428 (_FP_MUL_MEAT_4_wide): Likewise.
30429 (_FP_MUL_MEAT_4_gmp): Likewise.
30430 (_FP_SQRT_MEAT_4): Likewise.
30431 (_FP_FRAC_ASSEMBLE_4): Likewise.
30432 (_FP_FRAC_DISASSEMBLE_4): Likewise.
30433 * soft-fp/op-common.h (_FP_CMP): Likewise.
30434 (_FP_CMP_EQ): Likewise.
30435 (_FP_CMP_UNORD): Likewise.
30436 (_FP_TO_INT): Likewise.
30437 (_FP_FROM_INT): Likewise.
30438 [!__FP_CLZ] (__FP_CLZ): Likewise.
30439 (_FP_DIV_HELP_imm): Likewise.
30440 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30441 Likewise.
30442 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30445 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30446 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30448 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30449 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30450 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30452 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30453 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30454 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30455 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30456 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30457 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30458 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30460 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30463 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30464 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30465 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30466 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30467 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30468 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30469 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30470 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30471 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30472 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30473 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30474 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30475 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30476 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30477 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30478 (FP_UNPACK_RAW_SP): Likewise.
30479 (FP_PACK_RAW_S): Likewise.
30480 (FP_PACK_RAW_SP): Likewise.
30481 (FP_UNPACK_S): Likewise.
30482 (FP_UNPACK_SP): Likewise.
30483 (FP_UNPACK_SEMIRAW_S): Likewise.
30484 (FP_UNPACK_SEMIRAW_SP): Likewise.
30485 (FP_PACK_S): Likewise.
30486 (FP_PACK_SP): Likewise.
30487 (FP_PACK_SEMIRAW_S): Likewise.
30488 (FP_PACK_SEMIRAW_SP): Likewise.
30489 (_FP_SQRT_MEAT_S): Likewise.
30490 (FP_CMP_S): Likewise.
30491 (FP_CMP_EQ_S): Likewise.
30492 (FP_CMP_UNORD_S): Likewise.
30493 (FP_TO_INT_S): Likewise.
30494 (FP_FROM_INT_S): Likewise.
30495
30496 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30497
30498 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30499 (FP_EX_INVALID_IMZ): Likewise.
30500 (FP_EX_INVALID_IMZ_FMA): Likewise.
30501 (FP_EX_INVALID_ISI): Likewise.
30502 (FP_EX_INVALID_ZDZ): Likewise.
30503 (FP_EX_INVALID_IDI): Likewise.
30504 (FP_EX_INVALID_SQRT): Likewise.
30505 (FP_EX_INVALID_CVI): Likewise.
30506 (FP_EX_INVALID_VC): Likewise.
30507 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30508 "invalid" exceptions.
30509 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30510 (_FP_ADD_INTERNAL): Likewise.
30511 (_FP_MUL): Likewise.
30512 (_FP_FMA): Likewise.
30513 (_FP_DIV): Likewise.
30514 (_FP_CMP_CHECK_NAN): Likewise.
30515 (_FP_SQRT): Likewise.
30516 (_FP_TO_INT): Likewise.
30517 (FP_EXTEND): Likewise.
30518
30519 2014-10-09 Allan McRae <allan@archlinux.org>
30520
30521 * po/fr.po: Update French translation from translation project.
30522
30523 2014-10-09 Joseph Myers <joseph@codesourcery.com>
30524
30525 [BZ #14132]
30526 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30527 of INTDEF.
30528 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30529 (__cxa_atexit): Use libc_hidden_proto.
30530 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30531
30532 [BZ #14132]
30533 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30534 declaration.
30535 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30536 [!_ISOMAC] (__iswspace_l_internal): Likewise.
30537 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30538 [!_ISOMAC] (__iswctype_internal): Likewise.
30539 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30540 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30541 alias.
30542 (fcntl): Remove __fcntl_internal alias.
30543 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30544 __connect_internal alias.
30545 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30546 Likewise.
30547
30548 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30549 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30550 FP_DENORM_ZERO.
30551 (_FP_CHECK_FLUSH_ZERO): New macro.
30552 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30553 (_FP_CMP): Likewise.
30554 (_FP_CMP_EQ): Likewise.
30555 (_FP_TO_INT): Do not set inexact for subnormal arguments if
30556 FP_DENORM_ZERO.
30557 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30558 (FP_TRUNC): Likewise.
30559
30560 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30561 treated as invalid conversion, not as normal exponent.
30562
30563 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30564 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
30565 (_FP_CMP_EQ): Likewise.
30566 (_FP_CMP_UNORD): Likewise.
30567 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30568 (FP_CMP_EQ_D): Likewise.
30569 (FP_CMP_UNORD_D): Likewise.
30570 * soft-fp/extended.h (FP_CMP_E): Likewise.
30571 (FP_CMP_EQ_E): Likewise.
30572 (FP_CMP_UNORD_E): Likewise.
30573 * soft-fp/quad.h (FP_CMP_Q): Likewise.
30574 (FP_CMP_EQ_Q): Likewise.
30575 (FP_CMP_UNORD_Q): Likewise.
30576 * soft-fp/single.h (FP_CMP_S): Likewise.
30577 (FP_CMP_EQ_S): Likewise.
30578 (FP_CMP_UNORD_S): Likewise.
30579 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30580 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30581 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30582 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30583 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30584 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30585 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30586 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30587 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30588 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30589 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30590 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30591 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30592 to FP_CMP_Q.
30593 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30594 FP_CMP_Q.
30595 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30596 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30597 FP_CMP_EQ_Q.
30598 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30599 FP_CMP_Q.
30600 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30601 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30602 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30603 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30604 FP_CMP_EQ_Q.
30605 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30606 FP_CMP_Q.
30607 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30608 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30609 FP_CMP_EQ_Q.
30610 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30611 FP_CMP_Q.
30612 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30613 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30614 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30615 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30616 FP_CMP_EQ_Q.
30617
30618 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30619 a subnormal result, set the underflow exception if trapping on
30620 underflow is enabled.
30621 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30622 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30623 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30624 redefine to 0.
30625 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30626 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30627 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30628 * soft-fp/extendxftf2.c (__extendxftf2): Use
30629 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30630
30631 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30632 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30633 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30634 FP_HANDLE_EXCEPTIONS.
30635 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30636 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30637 FP_HANDLE_EXCEPTIONS.
30638 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30639 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30640 FP_HANDLE_EXCEPTIONS.
30641 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30642 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30643 FP_HANDLE_EXCEPTIONS.
30644
30645 2014-10-08 Joseph Myers <joseph@codesourcery.com>
30646
30647 [BZ #14132]
30648 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30649 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30650 use INTUSE.
30651 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30652 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30653 Remove alias.
30654 (__adjtimex): Define using libc_hidden_ver.
30655 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30656 Remove declaration.
30657 (ntp_gettime): Call __adjtimex directly.
30658 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30659 Remove declaration.
30660 (ntp_gettimex): Call __adjtimex directly.
30661 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30662 __adjtimex_internal alias.
30663
30664 2014-10-08 Roland McGrath <roland@hack.frob.com>
30665
30666 [BZ #17460]
30667 * nscd/nscd.c (more_help): Rewrite list of tables collection
30668 using xstrdup and asprintf.
30669
30670 * nscd/nscd_conf.c: Remove local xstrdup declaration.
30671
30672 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
30673 Roland McGrath <roland@hack.frob.com>
30674
30675 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30676 (do_lookup_unique): ... local function 'enter' here; update callers.
30677
30678 2014-10-06 Joseph Myers <joseph@codesourcery.com>
30679
30680 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30681 compat_symbol calls on [SHARED].
30682 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30683 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30684 Remove.
30685 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30686 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30687 (oldsetrlimit): Remove.
30688 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30690 (lchown): New syscall entry.
30691 (oldsetrlimit): Remove.
30692 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30694 (oldsetrlimit): Remove.
30695 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30696
30697 [BZ #14138]
30698 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30699 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30700 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30701 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30702 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30703 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30704 (fchown): Likewise.
30705 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30706 (fchown): Likewise.
30707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30708 Likewise.
30709
30710 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30711
30712 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30713 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30714 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30715 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30716 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30717 Likewise.
30718 (__old_sem_post): Likewise.
30719
30720 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
30721
30722 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30723 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30724 HAVE_CLOCK_GETTIME_VSYSCALL macros.
30725 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30726 Use INLINE_VSYSCALL macro.
30727 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30728 __vdso_clock_gettime.
30729 * sysdeps/unix/sysv/linux/tile/init-first.c
30730 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30731 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30732 __vdso_clock_gettime.
30733
30734 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30735 to set up frame more cleanly.
30736
30737 * sysdeps/tile/memcmp.c: New file.
30738
30739 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30740
30741 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30742 * sysdeps/tile/tilegx/strcasestr.c: New file.
30743 * sysdeps/tile/tilegx/strnlen.c: New file.
30744 * sysdeps/tile/tilegx/strstr.c: New file.
30745
30746 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30747
30748 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
30749
30750 * nptl/tst-setuid3.c: Write errors to stdout.
30751
30752 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
30753
30754 * elf/dl-deps.c
30755 (preload): New functions broken out of _dl_map_object_deps.
30756 (_dl_map_object_deps): Remove a nested function. Update call sites.
30757
30758 2014-10-01 Joseph Myers <joseph@codesourcery.com>
30759
30760 [BZ #14138]
30761 * sysdeps/unix/sysv/linux/execve.c: Remove file.
30762 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30763
30764 2014-10-01 Steve Ellcey <sellcey@mips.com>
30765
30766 * sysdeps/mips/strcmp.S: New.
30767
30768 2014-09-30 Joseph Myers <joseph@codesourcery.com>
30769
30770 [BZ #14138]
30771 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30772 (linkat): Likewise.
30773 (mkdirat): Likewise.
30774 (readlinkat): Likewise.
30775 (renameat): Likewise.
30776 (symlinkat): Likewise.
30777 (unlinkat): Likewise.
30778 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30779 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30780 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30781 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30782 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30783 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30784 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30785
30786 2014-09-30 Will Newton <will.newton@linaro.org>
30787
30788 * math/math.h: Define long double math functions if
30789 _LIBC_TEST is defined.
30790 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30791
30792 * localedata/Makefile: Move assignment to tests-special
30793 into an ifdef testing run-built-tests.
30794 * timezone/Makefile: Likewise.
30795
30796 2014-09-29 Joseph Myers <joseph@codesourcery.com>
30797
30798 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30799 with $(BASH) not $(SHELL).
30800
30801 2014-09-29 Carlos O'Donell <carlos@redhat.com>
30802 Matthew LeGendre <legendre1@llnl.gov>
30803
30804 [BZ #17411]
30805 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30806 l_reloc_result.
30807
30808 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
30809
30810 * stdio-common/printf_fp.c
30811 (hack_digit): New function, broken out of ...
30812 (__printf_fp): ... local function here. Update call sites.
30813 hack_digit now takes an additional parameter that is a pointer
30814 to a struct of the referenced locals. Those locals moved inside
30815 the struct and references updated.
30816
30817 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
30818
30819 * aclocal.m4: Require autoconf 2.69.
30820 * configure: Regenerated.
30821 * sysdeps/aarch64/configure: Likewise.
30822 * sysdeps/alpha/configure: Likewise.
30823 * sysdeps/arm/armv7/configure: Likewise.
30824 * sysdeps/arm/configure: Likewise.
30825 * sysdeps/ia64/configure: Likewise.
30826 * sysdeps/mach/configure: Likewise.
30827 * sysdeps/mips/configure: Likewise.
30828 * sysdeps/s390/configure: Likewise.
30829 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30831
30832 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30833 file.
30834 * sysdeps/ia64/configure.ac: Likewise.
30835
30836 2014-09-26 Joseph Myers <joseph@codesourcery.com>
30837
30838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30839 specify symbol version for ld.so. Do not include entry for
30840 libpthread.
30841 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30842 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30843 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30844
30845 [BZ #14171]
30846 * Makeconfig [$(build-shared) = yes]
30847 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30848 makefiles.
30849 [$(build-shared) = yes && $(soversions.mk-done) = t]
30850 ($(common-objpfx)gnu/lib-names.h): Remove rule.
30851 [$(build-shared) = yes && $(soversions.mk-done) = t]
30852 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
30853 to Makerules.
30854 [$(build-shared) = yes && $(soversions.mk-done) = t]
30855 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30856 here.
30857 [$(build-shared) = yes && $(soversions.mk-done) = t]
30858 (common-generated): Don't append gnu/lib-names.h and
30859 gnu/lib-names.stmp here.
30860 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30861 (lib-names-h-abi): New variable.
30862 [$(build-shared) = yes && $(soversions.mk-done) = t]
30863 (lib-names-stmp-abi): Likewise.
30864 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30865 abi-variants] (before-compile): Append
30866 $(common-objpfx)$(lib-names-h-abi).
30867 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30868 abi-variants] (common-generated): Append gnu/lib-names.h.
30869 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30870 abi-variants] (install-others-nosubdir): Depend on
30871 $(inst_includedir)/$(lib-names-h-abi).
30872 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30873 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30874 [$(build-shared) = yes && $(soversions.mk-done) = t]
30875 ($(common-objpfx)$(lib-names-h-abi)): New rule.
30876 [$(build-shared) = yes && $(soversions.mk-done) = t]
30877 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30878 [$(build-shared) = yes && $(soversions.mk-done) = t]
30879 (common-generated): Append $(lib-names-h-abi) and
30880 $(lib-names-stmp-abi).
30881 * scripts/lib-names.awk: Do not handle multi being set.
30882 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30883 Remove variable.
30884 (abi-lp64_be-ld-soname): Likewise.
30885 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30886 Likewise.
30887 (abi-hard-ld-soname): Likewise.
30888 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30889 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30890 Remove variable.
30891 (abi-o32_hard-ld-soname): Likewise.
30892 (abi-o32_soft_2008-ld-soname): Likewise.
30893 (abi-o32_hard_2008-ld-soname): Likewise.
30894 (abi-n32_soft-ld-soname): Likewise.
30895 (abi-n32_hard-ld-soname): Likewise.
30896 (abi-n32_soft_2008-ld-soname): Likewise.
30897 (abi-n32_hard_2008-ld-soname): Likewise.
30898 (abi-n64_soft-ld-soname): Likewise.
30899 (abi-n64_hard-ld-soname): Likewise.
30900 (abi-n64_soft_2008-ld-soname): Likewise.
30901 (abi-n64_hard_2008-ld-soname): Likewise.
30902 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30903 Likewise.
30904 (abi-64-v2-ld-soname): Likewise.
30905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30906 ld.so entries.
30907 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30908 variable.
30909 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30910 entry.
30911 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30912 variable.
30913 (abi-64-ld-soname): Likewise.
30914 (abi-x32-ld-soname): Likewise.
30915 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30916 entry.
30917 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30918
30919 2014-09-23 Joseph Myers <joseph@codesourcery.com>
30920
30921 [BZ #14138]
30922 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30923 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30924 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30925 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30926 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30927 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30928 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30929 syscall entry for GLIBC_2.2 symbol version.
30930 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30931 Likewise.
30932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30933 (setrlimit): Likewise.
30934 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30935 Likewise.
30936
30937 2014-09-23 Will Newton <will.newton@linaro.org>
30938
30939 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30940 _LINUX_ARM_SYSDEP_H include guard too.
30941 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30942 define.
30943
30944 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
30945
30946 * sysdeps/unix/sysv/linux/eventfd.c:
30947 Make first argument unsigned.
30948 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30949 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30950
30951 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
30952
30953 [BZ #16852]
30954 * socket/recvmmsg.c (recvmmsg): Drop const argument.
30955 * socket/sys/socket.h: Likewise.
30956 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30957
30958 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30959
30960 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30961
30962 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
30963
30964 * time/tst-ftime.c: New test.
30965 * time/Makefile (tests): Add tst-ftime.
30966
30967 2014-09-17 Joseph Myers <joseph@codesourcery.com>
30968
30969 * soft-fp/extended.h: Fix comment formatting.
30970 * soft-fp/op-1.h: Likewise.
30971 * soft-fp/op-2.h: Likewise.
30972 * soft-fp/op-4.h: Likewise.
30973 * soft-fp/op-8.h: Likewise.
30974 * soft-fp/op-common.h: Likewise.
30975 * soft-fp/soft-fp.h: Likewise.
30976
30977 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30978
30979 2014-09-16 Joseph Myers <joseph@codesourcery.com>
30980
30981 [BZ #6652]
30982 * Makeconfig (soversions-default-setname): Remove variable.
30983 ($(common-objpfx)soversions.i): Don't pass default_setname to
30984 soversions.awk.
30985 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30986 oldest_abi to abi-versions.awk.
30987 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30988 * config.make.in (oldest-abi): Remove variable.
30989 * configure.ac (--enable-oldest-abi): Remove configure option.
30990 * configure: Regenerated.
30991 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30992 text.
30993 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30994 * scripts/soversions.awk: Do not handle default_setname variable.
30995 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30996 variable.
30997 * sysdeps/mach/hurd/configure: Regenerated.
30998 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30999 variable.
31000 * sysdeps/unix/sysv/linux/configure: Regenerated.
31001
31002 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31003
31004 * elf/Makefile (CFLAGS-interp.c): Remove.
31005 ($(elf-objpfx)runtime-linker.h): Generate header with linker
31006 path string.
31007 * elf/interp.c: Include generated runtime-linker.h
31008
31009 * Makerules (lib%.so): Don't include $(+interp) in
31010 prerequisites.
31011 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31012 * dlfcn/eval.c: Remove file.
31013
31014 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31015 macros.
31016
31017 [BZ #17266]
31018 * misc/sys/cdefs.h: Define __extern_always_inline for clang
31019 4.2 and newer.
31020
31021 [BZ #17370]
31022 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31023
31024 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31025 Jakub Jelinek <jakub@redhat.com>
31026
31027 [BZ #17266]
31028 * libio/stdio.h: Check definition of __fortify_function
31029 instead of __extern_always_inline to include bits/stdio2.h.
31030 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31031 check if __extern_always_inline is defined.
31032 [__USE_MISC || __USE_XOPEN]: Likewise.
31033 [__USE_ISOC99] Likewise.
31034 * misc/sys/cdefs.h (__fortify_function): Define only if
31035 __extern_always_inline is defined.
31036 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31037 __extern_always_inline and __extern_inline only for g++-4.3
31038 and newer or a compatible gcc.
31039
31040 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
31041
31042 [BZ #17371]
31043 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31044 last change to handle zero prefix length.
31045
31046 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31047
31048 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31049 _SC_REGEX_VERSION.
31050
31051 * posix/getconf.c (vars): Add _POSIX_IPV6 and
31052 _POSIX_RAW_SOCKETS.
31053
31054 2014-09-13 Allan McRae <allan@archlinux.org>
31055
31056 * po/ru.po: Update Russian translation from translation project.
31057
31058 2014-09-12 Roland McGrath <roland@hack.frob.com>
31059
31060 * locale/programs/locale.c (show_locale_vars): Inline local function
31061 into its sole call site. Clean up some style nits.
31062 (print_item): New function, broken out of ...
31063 (show_info): ... local function here. Clean up style nits.
31064
31065 * locale/programs/ld-ctype.c (set_one_default): New function, broken
31066 out of ...
31067 (set_class_defaults): ... local function set_default here.
31068 Define set_default as a macro locally to pass constant parameters.
31069 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31070 rather than a shared local.
31071
31072 * stdlib/rpmatch.c (try): New function, broken out of ...
31073 (rpmatch): ... local function here. Also, prototypify definition.
31074
31075 2014-09-12 Joseph Myers <joseph@codesourcery.com>
31076
31077 * scripts/soversions.awk: Do not handle configuration names.
31078 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31079 vendor and os variables to soversions.awk.
31080 * configure.ac: Do not modify gnu-* host_os.
31081 * configure: Regenerated
31082 * shlib-versions: Remove first column with configuration names.
31083 * nptl/shlib-versions: Likewise.
31084 * nptl_db/shlib-versions: Likewise.
31085 * sysdeps/hppa/shlib-versions: Likewise.
31086 * sysdeps/m68k/shlib-versions: Likewise.
31087 * sysdeps/mach/hurd/shlib-versions: Likewise.
31088 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31089 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31090 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31091 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31092 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31093 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31094 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31095 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31097 Likewise.
31098 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31099 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31100 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31101 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31102 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31103 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31104 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31105 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31106
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31108 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31110 Regenerated.
31111 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31113 Condition symbol version definitions on [HAVE_ELFV2_ABI].
31114
31115 * shlib-versions: Remove OS-specific entries. Moved to files in
31116 sysdeps.
31117 * sysdeps/mach/hurd/shlib-versions: New file.
31118 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31119
31120 * nptl/shlib-versions: Remove architecture-specific entries.
31121 Moved to files in sysdeps.
31122 * shlib-versions: Likewise.
31123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31124 file.
31125 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31126 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31127 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31128 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31129
31130 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31131 (UDP_NO_CHECK6_RX): Likewise.
31132
31133 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31134
31135 * sysdeps/posix/sysconf.c (__sysconf): Spell
31136 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31137
31138 2014-08-12 Florian Weimer <fweimer@redhat.com>
31139
31140 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31141 loading.
31142 * iconv/Versions (__gconv_transliterate): Export for use from
31143 gconv modules.
31144 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31145 (struct __gconv_trans_data, __gconv_trans_fct,
31146 __gconv_trans_context_fct, __gconv_trans_query_fct,
31147 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31148 definitions.
31149 (struct __gconv_step_data): Remove __trans member.
31150 (__gconv_transliterate): Declaration moved from gconv_int.h. No
31151 longer hidden. Remove unused trans_data argument.
31152 * iconv/gconv_int.h (struct trans_struct): Remove definition.
31153 (__gconv_translit_find): Remove declaration.
31154 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
31155 prototype.
31156 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31157 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31158 trans_data argument. Add hidden definition.
31159 (__gconv_translit_find): Remove.
31160 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31161 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31162 * iconv/skeleton.c: Remove transliteration initialization.
31163 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31164 __gconv_step_data initialization.
31165 * libio/iofwide.c (__libio_translit_): Remove.
31166 (_IO_fwide): Adjust struct __gconv_step_data initialization.
31167 * wcsmbs/btowc.c (__btowc): Likewise.
31168 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31169 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31170 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31171 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31172 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31173 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31174 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31175 * wcsmbs/wctob.c (wctob): Likewise.
31176
31177 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31178
31179 [BZ #16194]
31180 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31181 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
31182 register usage.
31183 * sysdeps/x86/Makefile: Adjust.
31184
31185 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
31186 Roland McGrath <roland@hack.frob.com>
31187
31188 * locale/weight.h: Add include guard.
31189 (findidx): Make static rather than auto; take new parameters
31190 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31191 * locale/weightwc.h: Likewise.
31192 * posix/fnmatch_loop.c
31193 (FCT): Change type of EXTRA from int32_t to wint_t.
31194 Don't include either header inside the function.
31195 Call FINDIDX rather than findidx, and pass new arguments.
31196 #undef FINDIDX at the end of the file.
31197 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31198 FINDIDX before including fnmatch_loop.c for the non-wide version.
31199 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31200 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31201 for the wide version.
31202 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31203 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31204 Pass new arguments to findidx.
31205 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31206 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31207 Don't #include it inside the function. Pass new arguments to findidx.
31208 * posix/regex_internal.h
31209 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31210 (re_string_elem_size_at): Don't #include it inside the function.
31211 Pass new arguments to findidx.
31212 * string/strcoll_l.c: #include WEIGHT_H at top level.
31213 (get_next_seq): Don't #include it inside the function.
31214 Pass new arguments to findidx.
31215 (get_next_seq_nocache): Likewise.
31216 * string/strxfrm_l.c: #include WEIGHT_H at top level.
31217 (STRXFRM): Don't #include it inside the function.
31218 Pass new arguments to findidx.
31219
31220 2014-09-11 Florian Weimer <fweimer@redhat.com>
31221
31222 [BZ #17344]
31223 * malloc/malloc.c (unlink): Turn asserts into a call to
31224 malloc_printerr.
31225
31226 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
31227
31228 [BZ #17370]
31229 * libio/wfileops (do_ftell_wide): Free OUT.
31230
31231 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
31232
31233 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31234
31235 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31236
31237 [BZ #17363]
31238 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31239 group if the current group is empty.
31240
31241 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31242
31243 * benchtests/bench-memset.c (test_main): Add more test from size
31244 from 32 to 512 bytes.
31245 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31246 Add POWER8 memset object.
31247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31248 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31249 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31250 implementation.
31251 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31252 Likewise.
31253 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31254 multiarch POWER8 memset optimization.
31255 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31256 POWER8 memset optimization.
31257
31258 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31259 Remove bzero multiarch objects.
31260 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31261 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31262 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31263 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31264 Remove define.
31265 [__bzero]: Redefine to specific name.
31266 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31267 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31268 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31269 define.
31270 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31271 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31272
31273 2014-09-10 Florian Weimer <fweimer@redhat.com>
31274
31275 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31276 warnings into errors.
31277
31278 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31279 __cxa_thread_atexit_impl prototype.
31280
31281 2014-09-09 Steve Ellcey <sellcey@mips.com>
31282
31283 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31284 Fix capitalization of error message.
31285
31286 2014-09-09 Steve Ellcey <sellcey@mips.com>
31287
31288 * sysdeps/mips/preconfigure: Modify ABI tests.
31289
31290 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
31291
31292 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31293
31294 2014-09-07 Roland McGrath <roland@hack.frob.com>
31295 Carlos O'Donell <carlos@systemhalted.org>
31296
31297 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31298 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31299 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31300 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31301 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31303 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31304 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31305 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31306 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31307 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31308 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31309 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31310 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31311 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31312 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31313 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31314 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31315 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31316 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31317 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31318 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31319 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31320 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31321 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31322 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31323 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31324 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31325 Deconditionalize the code that was previously under [RESET_PID].
31326 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31327 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31328 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31329 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31330 include sysdep.h.
31331
31332 2014-09-08 Allan McRae <allan@archlinux.org>
31333
31334 * version.h (RELEASE): Set to "development".
31335 (VERSION): Set to "2.20.90"
31336
31337 2014-09-07 Allan McRae <allan@archlinux.org
31338
31339 * version.h (RELEASE): Set to "stable".
31340 (VERSION): Set to "2.20"
31341 * include/features.h (__GLIBC_MINOR__): Set to 20.
31342
31343 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31344 Liebler.
31345
31346 * po/ko.po: Update Korean translation from translation project.
31347
31348 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
31349
31350 [BZ #17354]
31351 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31352 macro for handling signed relocations.
31353
31354 2014-09-03 Florian Weimer <fweimer@redhat.com>
31355
31356 [BZ #17325]
31357 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31358 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31359 assert.
31360 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31361 * iconvdata/ibm935.c (BODY): Likewise.
31362 * iconvdata/ibm937.c (BODY): Likewise.
31363 * iconvdata/ibm939.c (BODY): Likewise.
31364 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31365 assert.
31366 * iconvdata/Makefile (iconv-test.out): Pass module list to test
31367 script.
31368 * iconvdata/run-iconv-test.sh: New test loop for checking for
31369 decoder crashers.
31370
31371 2014-09-02 Khem Raj <raj.khem@gmail.com>
31372
31373 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31374 libm_hidden_ver.
31375
31376 2014-09-01 Allan McRae <allan@archlinux.org>
31377
31378 * po/eo.po: Update Esperanto translation from translation project.
31379
31380 * po/ca.po: Update Catalan translation from translation project.
31381
31382 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
31383
31384 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31385 __proc_dostop call.
31386
31387 2014-08-27 Mark Wielaard <mjw@redhat.com>
31388
31389 [BZ #17319]
31390 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31391 to call set_thread_area instead of hand written asm.
31392 (__NR_set_thread_area): Removed define.
31393 (TLS_FLAG_WRITABLE): Likewise.
31394 (__ASSUME_SET_THREAD_AREA): Remove check.
31395 (TLS_EBX_ARG): Remove define.
31396 (TLS_LOAD_EBX): Likewise.
31397
31398 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
31399
31400 Simplify atomicity of socket creation in bind.
31401
31402 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31403 looking up the name after linking the file.
31404
31405 2014-08-27 Allan McRae <allan@archlinux.org>
31406
31407 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31408
31409 2014-08-26 Florian Weimer <fweimer@redhat.com>
31410
31411 [BZ #17187]
31412 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31413 trans_compare, open_translit, __gconv_translit_find):
31414 Remove module loading code.
31415
31416 2014-08-26 Allan McRae <allan@archlinux.org>
31417
31418 * po/vi.po: Update Vietnamese translation from translation project.
31419
31420 * po/uk.po: Update Ukrainian translation from translation project.
31421
31422 * po/fr.po: Update French translation from translation project.
31423
31424 * po/ru.po: Update Russian translation from translation project.
31425
31426 * po/pl.po: Update Polish translation from translation project.
31427
31428 * po/cs.po: Update Czech translation from translation project.
31429
31430 * po/de.po: Update German translation from translation project.
31431
31432 * po/bg.po: Update Bulgarian translation from translation project.
31433
31434 * po/sv.po: Update Sweedish translation from translation project.
31435
31436 * po/nl.po: Update Dutch translation from translation project.
31437
31438 * po/es.po: Update Spanish translation from translation project.
31439
31440 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31441
31442 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31443
31444 * catgets/Makefile (CPPFLAGS-gencat): Remove.
31445 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31446 (CPPFLAGS-iconvconfig): Likewise.
31447 * timezone/Makefile (CPPFLAGS-zic): Likewise.
31448
31449 * include/libc-symbols.h: Remove unnecessary check for
31450 NOT_IN_libc.
31451 * nptl/pthreadP.h: Likewise.
31452 * sysdeps/aarch64/setjmp.S: Likewise.
31453 * sysdeps/alpha/setjmp.S: Likewise.
31454 * sysdeps/arm/sysdep.h: Likewise.
31455 * sysdeps/i386/setjmp.S: Likewise.
31456 * sysdeps/m68k/setjmp.c: Likewise.
31457 * sysdeps/posix/getcwd.c: Likewise.
31458 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31460 * sysdeps/s390/s390-32/setjmp.S: Likewise.
31461 * sysdeps/s390/s390-64/setjmp.S: Likewise.
31462 * sysdeps/sh/sh3/setjmp.S: Likewise.
31463 * sysdeps/sh/sh4/setjmp.S: Likewise.
31464 * sysdeps/unix/alpha/sysdep.h: Likewise.
31465 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31467 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31468 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31472 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31473 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31474 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31475 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31476 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31478 * sysdeps/x86_64/setjmp.S: Likewise.
31479
31480 2014-08-13 Joseph Myers <joseph@codesourcery.com>
31481
31482 [BZ #17263]
31483 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31484 <stdint.h>.
31485 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31486 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31487
31488 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31489
31490 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31491
31492 [BZ #17262]
31493 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31494 and __x86_64__ when disabling x87 inline functions.
31495
31496 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
31497
31498 [BZ #17259]
31499 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31500 asm statement with __cpuid_count.
31501
31502 2014-08-12 Mike Frysinger <vapier@gentoo.org>
31503
31504 * configure.ac: Change __ehdr_start code to dereference the struct.
31505 Run readelf on the output to look for relocations.
31506 * configure: Regenerated.
31507
31508 2014-08-12 Joseph Myers <joseph@codesourcery.com>
31509
31510 [BZ #17261]
31511 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31512 value to 0.
31513 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31514
31515 2014-08-12 Roland McGrath <roland@hack.frob.com>
31516
31517 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31518
31519 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
31520
31521 [BZ #16892]
31522 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31523 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31524
31525 2014-08-12 Sean Anderson <seanga2@gmail.com>
31526
31527 * malloc/malloc.c: Fix typo in comment.
31528
31529 2014-08-09 Allan McRae <allan@archlinux.org>
31530
31531 * Regenerate libc.po.
31532
31533 2014-08-08 Mike Frysinger <vapier@gentoo.org>
31534
31535 * intl/tst-gettext2.sh: Check every lang file for creation.
31536
31537 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
31538
31539 * sysdeps/aarch64/fpu/math_private.h
31540 (libc_feholdsetround_noex_aarch64_ctx): New function.
31541
31542 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
31543
31544 * sysdeps/arm/armv6/strcpy.S (strcpy):
31545 Fix performance issue in misaligned cases.
31546
31547 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31548
31549 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31550 Move definition from termios.h.
31551 (struct termio): Likewise.
31552 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31553 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31554 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31555 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31556 Likewise.
31557 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31558 Move definition to ioctl-types.h
31559 (struct termio): Likewise.
31560 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31561 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31562 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31563 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31564 Likewise.
31565
31566 2014-08-05 Richard Henderson <rth@redhat.com>
31567
31568 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31569 exceptions.
31570 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31571 Add fraiseexcpt.
31572 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31573 Use __feraiseexcept.
31574 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31575 Protect libm symbols with IS_IN_libm.
31576
31577 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31578
31579 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
31580
31581 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31582
31583 2014-08-04 Will Newton <will.newton@linaro.org>
31584
31585 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31586 file.
31587
31588 2014-08-04 Mike Frysinger <vapier@gentoo.org>
31589
31590 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31591 variants for each function.
31592
31593 2014-08-04 Roland McGrath <roland@hack.frob.com>
31594
31595 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31596 appended ...
31597 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31598 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31599 appended ...
31600 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31601 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31602 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31603 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31604 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31605 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31606 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31607 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31608 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31609 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31610 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31611 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31612 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31613 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31614 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31615 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31616 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31617 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31618 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31619 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31620 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31621 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31622 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31623 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31624 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31625 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31626 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31627 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31628 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31629 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31630 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31631 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31632 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31633 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31634 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31635 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31636 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31637 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31638 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31639 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31640 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31642 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31644 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31645 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31646 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31648 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31650 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31651 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31652 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31653 Update #include.
31654 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31655 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31656
31657 2014-08-04 Roland McGrath <roland@hack.frob.com>
31658
31659 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31660 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31661 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31662 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31663 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31664 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31665
31666 2014-08-04 Roland McGrath <roland@hack.frob.com>
31667
31668 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31669 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31670 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31671 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31672
31673 2014-08-04 Roland McGrath <roland@hack.frob.com>
31674
31675 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31676 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31677 (__libc_vfork): Define function under this name.
31678 (__vfork): Define as an alias.
31679 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31680 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31681
31682 2014-08-04 Roland McGrath <roland@hack.frob.com>
31683
31684 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31685 that was previously under [RESET_PID].
31686 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31687
31688 2014-08-04 Andreas Schwab <schwab@suse.de>
31689
31690 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31691
31692 2014-08-03 Mike Frysinger <vapier@gentoo.org>
31693
31694 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31695 (main): Likewise.
31696
31697 2014-08-01 Roland McGrath <roland@hack.frob.com>
31698
31699 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31700
31701 2014-08-01 Richard Henderon <rth@redhat.com>
31702
31703 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31704 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31705 typo in exact zero test.
31706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31709
31710 2014-08-01 Roland McGrath <roland@hack.frob.com>
31711
31712 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31713 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31714 * sysdeps/arm/sysdep.h: ... here.
31715 [!__ASSEMBLER__]: Include <stdint.h>.
31716
31717 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31718
31719 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31720 (HAVE_WCTYPE_H): Likewise.
31721 (HAVE_ISWCTYPE): Likewise.
31722 (ENABLE_NLS): Likewise.
31723 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31724 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31725
31726 * posix/regex_internal.c: Check if DEBUG is defined and is
31727 set.
31728
31729 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31730 (HAVE_MBSRTOWCS): Likewise.
31731 * posix/fnmatch.c: Include string.h unconditionally.
31732
31733 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
31734
31735 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31736 reversal.
31737
31738 2014-07-31 Roland McGrath <roland@hack.frob.com>
31739
31740 * sysdeps/generic/safe-fatal.h: New file.
31741 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31742 * nptl/forward.c: Include it.
31743 (__pthread_unwind): Use __safe_fatal as default action, rather
31744 than a bogus use of INTERNAL_SYSCALL that could never work.
31745
31746 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31747 * configure.ac (libc_cv_builtin_trap): New test.
31748 * configure: Regenerated.
31749 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31750 (ABORT_INSTRUCTION): Define using __builtin_trap.
31751
31752 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31753 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31754 * sysdeps/nptl/nptl-signals.h: New file.
31755 * nptl/pthreadP.h: Include <nptl-signals.h>.
31756
31757 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
31758
31759 * sysdeps/s390/s390-64/utf16-utf32-z9.c
31760 (ONE_DIRECTION): Define.
31761 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31762 (ONE_DIRECTION): Define.
31763 * sysdeps/s390/s390-64/utf8-utf32-z9.c
31764 (ONE_DIRECTION): Define.
31765
31766 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
31767
31768 * sysdeps/s390/Makefile: Delete file.
31769 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31770 * sysdeps/s390/__longjmp.c: Delete file.
31771 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31772 Remove fields __flags and __reserved.
31773 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31774 and add versioning.
31775 * sysdeps/s390/rtld-__longjmp.c: Delete file.
31776 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31777 * sysdeps/s390/rtld-setjmp.S: Likewise.
31778 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31779 * sysdeps/s390/s390-32/__longjmp.c: ... here.
31780 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31781 * sysdeps/s390/s390-32/setjmp.S: ... here.
31782 Add versioning.
31783 (__sigsetjmp): Remove setting __flags field.
31784 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31785 * sysdeps/s390/s390-64/__longjmp.c: ... here.
31786 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31787 * sysdeps/s390/s390-64/setjmp.S: ... here.
31788 Add versioning.
31789 (__sigsetjmp): Remove setting __flags field.
31790 * sysdeps/s390/setjmp.S: Delete file.
31791 * sysdeps/s390/sigjmp.c: Likewise.
31792 * sysdeps/s390/v1-longjmp.c: Likewise.
31793 * sysdeps/s390/v1-setjmp.h: Likewise.
31794 * sysdeps/s390/v1-sigjmp.c: Likewise.
31795 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31796 Remove v1-longjmp_chk.
31797 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31798 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31799 Include debug/longjmp_chk.c and add versioning.
31800 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31801 Include nptl/pt-longjmp.c and add versioning.
31802 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31803 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31804 Include __longjmp.c.
31805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31806 Move to ...
31807 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31808 (__getcontext): Remove setting __flags field.
31809 Add versioning.
31810 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31811 Don't restore upper high grps.
31812 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31813 Likewise.
31814 (__swapcontext): Remove setting uc_flags field.
31815 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31816 Delete file.
31817 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31818 Include __longjmp.c.
31819 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31820 Move to ...
31821 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31822 (__getcontext): Remove setting __flags field.
31823 Add versioning.
31824 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31825 (__swapcontext): Remove setting uc_flags field.
31826 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31827 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31828 Remove fields uc_high_gprs and __reserved.
31829 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31830 New file with reverted content.
31831 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31832 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31833 Regenerated.
31834 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31835 Regenerated.
31836
31837 2014-07-31 Andreas Schwab <schwab@suse.de>
31838
31839 * config.h.in (HAVE_IFUNC): Define to 0.
31840 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31841 definedness.
31842
31843 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
31844
31845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31846 memmove-avx-unaligned, memcpy-avx-unaligned and
31847 mempcpy-avx-unaligned.
31848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31849 Add tests for AVX memcpy functions.
31850 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31851 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31852 memcpy_chk.
31853 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31854 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31855 memmove_chk.
31856 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31857 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31858 mempcpy_chk.
31859 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31860 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31861 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31862
31863 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31864
31865 [BZ #17213]
31866 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31867 powerpc64le.
31868
31869 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
31870
31871 [BZ #16839]
31872 * manual/llio.texi: Add section about open file description locks.
31873 * manual/examples/ofdlocks.c: Example of open file description
31874 lock usage.
31875 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31876 F_OFD_SETLK, and F_OFD_SETLKW.
31877
31878 2014-07-23 Allan McRae <allan@archlinux.org>
31879
31880 * po/es.po: Update Spanish translation from translation project.
31881
31882 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
31883
31884 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31885
31886 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
31887
31888 [BZ #17078]
31889 * sysdeps/arm/dl-machine.h (elf_machine_rela)
31890 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31891 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31892
31893 2014-07-17 Joseph Myers <joseph@codesourcery.com>
31894
31895 [BZ #17088]
31896 * math/fesetenv.c (__fesetenv)
31897 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31898 * math/feupdateenv.c (__feupdateenv)
31899 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31900
31901 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31902 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31903 (__ASSUME_SOCKETCALL): Do not define.
31904
31905 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31906 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31907 (__ASSUME_SOCKETCALL): Do not define.
31908 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31909 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31910 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31911 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31912 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31913 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31914 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31915 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31916
31917 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31918 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31919 (__ASSUME_SOCKETCALL): Do not define.
31920 (__ASSUME_IPC64): Define unconditionally.
31921 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31922 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31923 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31924 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31925 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31926 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31927 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31928 Likewise.
31929
31930 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31931 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31932 (__ASSUME_SOCKETCALL): Do not define.
31933 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31934 (__ASSUME_FUTEX_LOCK_PI): Likewise.
31935 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31936 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31937 (__ASSUME_REQUEUE_PI): Define unconditionally.
31938 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31939 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31940 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31941 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31942 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31943 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31944
31945 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31946 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31947 (__ASSUME_SOCKETCALL): Do not define.
31948 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31949 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31950 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31951 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31952 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31953 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31954
31955 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31956 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31957 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31958 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31959 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31960 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31961 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31962 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31963 (__ASSUME_GETCPU_SYSCALL): Likewise.
31964
31965 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31966 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
31967 cases for individual architectures.
31968 * sysdeps/gnu/configure: Regenerated.
31969 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31970 LIBC_SLIBDIR_RTLDDIR.
31971 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31972 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31973 LIBC_SLIBDIR_RTLDDIR.
31974 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31976 LIBC_SLIBDIR_RTLDDIR.
31977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31978 Regenerated.
31979 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31980 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31981 file.
31982 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31983 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31984 file.
31985 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31986 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31987 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31988 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31989
31990 * sysdeps/aarch64/shlib-versions: Move to ...
31991 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31992 * sysdeps/alpha/shlib-versions: Move to ...
31993 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31994 * sysdeps/arm/shlib-versions: Move to ...
31995 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31996 * sysdeps/hppa/shlib-versions: Move all contents except for
31997 libgcc_s entry to ...
31998 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
31999 entry from ...
32000 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
32001 * sysdeps/ia64/shlib-versions: Move to ...
32002 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
32003 entry from ...
32004 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
32005 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32006 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32007 * sysdeps/microblaze/shlib-versions: Move to ...
32008 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32009 * sysdeps/mips/shlib-versions: Move to ...
32010 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
32011 entry from ...
32012 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
32013 * sysdeps/tile/shlib-versions: Move to ...
32014 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32015 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32016 from ...
32017 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
32018 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32019 entry from ...
32020 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
32021
32022 2014-07-17 Will Newton <will.newton@linaro.org>
32023
32024 * sysdeps/arm/bits/atomic.h
32025 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32026 (__arch_compare_and_exchange_bool_16_int): Likewise.
32027 (__arch_compare_and_exchange_bool_64_int): Likewise.
32028
32029 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32030 into an #else block.
32031
32032 2014-07-16 Roland McGrath <roland@hack.frob.com>
32033
32034 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32035 just Linux configurations. Test empirically that the compiler sets
32036 __ARM_EABI__, rather than using the tuple to decide.
32037 * sysdeps/arm/preconfigure: Regenerated.
32038 * sysdeps/unix/sysv/linux/arm/configure: File removed.
32039 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32040 contents appended ...
32041 * sysdeps/arm/configure.ac: ... here.
32042 * sysdeps/arm/configure: Regenerated.
32043
32044 2014-07-15 Roland McGrath <roland@hack.frob.com>
32045
32046 * nptl/pthread_kill.c: New file.
32047 * nptl/pthread_sigmask.c: New file.
32048 * nptl/pthread_sigqueue.c: New file.
32049
32050 * sysdeps/nptl/lowlevellock.h: New file.
32051 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32052 * sysdeps/nptl/lowlevellock-futex.h: New file.
32053
32054 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32055 Remove dead declarations.
32056
32057 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
32058
32059 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32060 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32061 config-cflags-avx2.
32062 * sysdeps/x86_64/configure.ac: Likewise.
32063 * sysdeps/i386/configure: Regenerated.
32064 * sysdeps/x86_64/configure: Likewise.
32065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32066 memset-avx2 only if config-cflags-avx2 is yes.
32067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32068 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32069 defined.
32070 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32071 only if HAVE_AVX2_SUPPORT is defined.
32072 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32073
32074 2014-07-14 Alan Modra <amodra@gmail.com>
32075
32076 [BZ #17153]
32077 * elf/elf.h (DT_PPC64_NUM): Correct value.
32078 * NEWS: Add to fixed bug list.
32079
32080 2014-07-13 Jim Meyering <meyering@fb.com>
32081
32082 [BZ 17150]
32083 regex: don't deref NULL upon heap allocation failure
32084 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32085 failure in one more place.
32086 To trigger the segfault, configure grep -with-included-regex,
32087 build it, and run these commands:
32088 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32089
32090 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
32091
32092 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32093
32094 2014-07-11 Richard Henderson <rth@redhat.com>
32095
32096 * sysdeps/aarch64/libm-test-ulps: Update.
32097
32098 2014-07-10 Florian Weimer <fweimer@redhat.com>
32099
32100 [BZ #17135]
32101 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32102 * nptl/allocatestack.c (__nptl_setxid_error): New function.
32103 (__nptl_setxid): Initialize error member. Call
32104 __nptl_setxid_error.
32105 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32106 * nptl/descr.h (struct xid_command): Add error member.
32107 * nptl/tst-setuid3.c: New file.
32108 * nptl/Makefile (tests): Add it.
32109
32110 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32111
32112 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32113 New define.
32114 (__lll_trylock): Use __lll_base_trylock.
32115 (__lll_cond_trylock): Likewise.
32116
32117 2014-07-10 Roland McGrath <roland@hack.frob.com>
32118
32119 * nptl/pthread_create.c (start_thread): Use atomic_or and
32120 lll_futex_wake directly rather than lll_robust_dead.
32121 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32122 (lll_robust_dead): Macro removed.
32123 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32124 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32125 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32126 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32128 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32129 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32130 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32131 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32132 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32133 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32134 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32135 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32136 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32137 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32138
32139 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32140 Use atomic_compare_and_exchange_val_acq directly rather than
32141 lll_robust_trylock.
32142 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32143 (__lll_robust_trylock, lll_robust_trylock): Removed.
32144 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32145 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32146 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32148 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32149 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32150 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32151 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32152 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32153 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32154 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32155 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32156 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32157 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32158
32159 2014-07-02 Florian Weimer <fweimer@redhat.com>
32160
32161 * manual/locale.texi (Locale Names): New section documenting
32162 locale name syntax. Adjust menu and node chaining accordingly.
32163 (Choosing Locale): Reference Locale Names, Locale Categories.
32164 Mention setting LC_ALL=C. Reflect that name syntax is now
32165 documented.
32166 (Locale Categories): New section title. Reference Locale Names.
32167 LC_ALL is an environment variable, but not a category.
32168 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32169 description, now in Locale Name. Reference that section. Locale
32170 name syntax is now documented.
32171
32172 2014-07-02 Florian Weimer <fweimer@redhat.com>
32173
32174 [BZ #17137]
32175 * locale/findlocale.c (name_present, valid_locale_name): New
32176 functions.
32177 (_nl_find_locale): Use the loc_name variable to store name
32178 candidates. Call name_present and valid_locale_name to check and
32179 validate locale names. Return an error if the locale is invalid.
32180
32181 2014-07-02 Florian Weimer <fweimer@redhat.com>
32182
32183 * locale/setlocale.c (setlocale): Use strdup for allocating
32184 composite name copy.
32185
32186 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32187
32188 Sync up with gnulib.
32189 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32190 [!_LIBC && ENABLE_NLS]: Include gettext.h.
32191 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32192 and _GL_ARG_NONNULL.
32193 [USE_UNLOCKED_IO]: Include unlocked-io.h.
32194 [!_LIBC]: Include code for Windows and Cygwin.
32195 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32196 Include prototype for int strerror_r.
32197 [!_LIBC] (is_open): New function.
32198 (flush_stdout): New function.
32199 (print_errno_message): Use it.
32200 (error): Likewise.
32201 (error_at_line): Likewise.
32202 (error_tail) Add function attribute macros. Use
32203 __builtin_expect.
32204
32205 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32206
32207 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32208
32209 * io/ftw.c: Include sys/param.h unconditionally.
32210
32211 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32212
32213 [BZ #17125]
32214 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32215 libc_freeres_ptr.
32216 (freecache): New function to free CACHE on exit.
32217
32218 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32219 initialization.
32220
32221 2014-07-09 David S. Miller <davem@davemloft.net>
32222
32223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32224
32225 * sysdeps/sparc/nptl/internaltypes.h: Delete.
32226 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32227 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32228 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32229 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32230 * sysdeps/sparc/nptl/sem_init.c: Likewise.
32231 * sysdeps/sparc/nptl/sem_post.c: Likewise.
32232 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32233 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32234 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32235 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32236 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32237 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32238
32239 2014-07-09 Andreas Schwab <schwab@suse.de>
32240
32241 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32242 output.
32243 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32244 (do_test): Likewise.
32245
32246 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32247
32248 2014-07-09 Will Newton <will.newton@linaro.org>
32249
32250 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32251 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32252 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32253 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32254 * sysdeps/hppa/start.S (_start): Likewise.
32255
32256 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32257
32258 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32259
32260 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32261 defined.
32262
32263 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32264
32265 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32266 after checking that it is non-NULL.
32267
32268 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32269
32270 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32271
32272 * sysdeps/powerpc/memmove.c: Remove file.
32273 * sysdeps/powerpc/powerpc32/power4/memcopy.h
32274 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32275 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32276 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32277 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32278 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32279 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32280 string memmove instead of removed powerpc one.
32281
32282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32283 [weak_alias]: Fix compiler warning due trailing data.
32284 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32285 [weak_alias]: Likewise.
32286 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32287 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32288
32289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32290 (__libc_ifunc_impl_list): Add memmove functions.
32291
32292 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32293
32294 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32295 Remove code.
32296 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32297 Likewise.
32298 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32299 Likewise.
32300 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32301 Likewise.
32302 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32303 Likewise.
32304 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32305 Likewise.
32306 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32307 Likewise.
32308 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32309 Likewise.
32310 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32311 Likewise.
32312 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32313 Likewise.
32314 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32315 Likewise.
32316 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32317 Likewise.
32318 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32319 Likewise.
32320 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32321 Likewise.
32322 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32323 Likewise.
32324 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32325 Likewise.
32326 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32327 Likewise.
32328
32329 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32330
32331 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32332 to avoid alignment traps in non-cacheable memory.
32333 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32334
32335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32336 multiarch objects.
32337 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32338 file: multiarch power7 memmove.
32339 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32340 multiarch default memmove.
32341 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32342 multiarch memove for powerpc32/power4.
32343
32344 * string/bcopy.c: Use full path to include memmove.c.
32345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32346 multiarch objects.
32347 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32348 bcopy for powerpc64.
32349 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32350 bcopy for powerpc64.
32351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32352 and memmove implementations.
32353 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32354 optimized multiarch memmove for POWER7/powerpc64.
32355 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32356 default multiarch memmove for powerpc64.
32357 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32358 multiarch for powerpc64.
32359 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32360 for POWER7/powerpc64.
32361 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32362 memmove for POWER7/powerpc64.
32363
32364 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32365 glibc default one.
32366
32367 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32368 __ELF_NATIVE_CLASS equal to 64.
32369
32370 2014-07-07 Roland McGrath <roland@hack.frob.com>
32371
32372 * sysdeps/nptl/lowlevellock.h: File removed.
32373
32374 * NEWS: NPTL is no longer an add-on!
32375 * nptl/internaltypes.h: Moved ...
32376 * sysdeps/nptl/internaltypes.h: ... here.
32377 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32378 * sysdeps/nptl/fork.c: Likewise.
32379 * sysdeps/nptl/gai_misc.h: Likewise.
32380 * sysdeps/nptl/librt-cancellation.c: Likewise.
32381 * sysdeps/nptl/jmp-unwind.c: Likewise.
32382 * sysdeps/nptl/setxid.h: Likewise.
32383 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32384 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32385 * sysdeps/unix/sysv/linux/arm/Implies: New file.
32386 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32387 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32388 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32389 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32390 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32391 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32392 * sysdeps/unix/sysv/linux/mips/Implies: New file.
32393 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32394 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32395 * sysdeps/unix/sysv/linux/sh/Implies: New file.
32396 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32397 * sysdeps/unix/sysv/linux/tile/Implies: New file.
32398 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32399 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32400 * nptl/Makeconfig: Moved ...
32401 * sysdeps/nptl/Makeconfig: ... here.
32402 * nptl/configure: File removed.
32403 * nptl/ANNOUNCE: File removed.
32404 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32405 * sysdeps/unix/sysv/linux/configure: Regenerated.
32406
32407 * nptl/Makefile (routines): Add libc_pthread_init,
32408 libc_multiple_threads, register-atfork and unregister-atfork.
32409 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32410 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32411 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32412 pthread-pi-defines.sym, structsem.sym.
32413 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32414 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32415 [$(subdir) = nptl] (tests): Add tst-setgetname.
32416 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32417 * sysdeps/unix/sysv/linux/sigaction.c: Just include
32418 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32419 [!LIBC_SIGACTION]: Remove aliases.
32420 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32421 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32422 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32423 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32424 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32425 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32426 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32428 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32429 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32430 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32431 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32432 __libc_allocate_rtsig_private.
32433 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32434 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32435 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32436 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32437 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32438 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32439 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32440 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32441 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32442 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32443 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32444 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32445 * nptl/internaltypes.h: ... here.
32446 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32447 * sysdeps/nptl/jmp-unwind.c: ... here.
32448 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32449 * nptl/libc-lowlevellock.c: ... here.
32450 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32451 * nptl/libc_multiple_threads.c: ... here.
32452 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32453 * nptl/libc_pthread_init.c: ... here.
32454 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32455 * nptl/lowlevelbarrier.sym: ... here.
32456 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32457 * nptl/lowlevelcond.sym: ... here.
32458 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32459 * nptl/lowlevellock.c: ... here.
32460 * nptl/lowlevellock.h: Moved ...
32461 * sysdeps/nptl/lowlevellock.h: ... here.
32462 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32463 * nptl/lowlevelrobustlock.c: ... here.
32464 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32465 * nptl/lowlevelrobustlock.sym: ... here.
32466 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32467 * nptl/lowlevelrwlock.sym: ... here.
32468 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32469 * nptl/pt-fork.c: ... here.
32470 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32471 * nptl/pthread-pi-defines.sym: ... here.
32472 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32473 * nptl/pthread_attr_getaffinity.c: ... here.
32474 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32475 * nptl/pthread_attr_setaffinity.c: ... here.
32476 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32477 * nptl/pthread_mutex_cond_lock.c: ... here.
32478 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32479 Update #include.
32480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32481 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32482 * nptl/pthread_once.c: ... here, replacing old file.
32483 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32484 * nptl/pthread_yield.c: ... here.
32485 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32486 * nptl/register-atfork.c: ... here.
32487 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32488 * nptl/sem_post.c: ... here.
32489 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32490 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32491 * nptl/sem_timedwait.c: ... here.
32492 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32493 * nptl/sem_trywait.c: ... here.
32494 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32495 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32496 * nptl/sem_wait.c: ... here.
32497 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32498 * nptl/structsem.sym: ... here.
32499 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32500 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32501 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32502 * nptl/unregister-atfork.c: ... here.
32503 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32504 * nptl/unwindbuf.sym: ... here.
32505 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32506 * sysdeps/nptl/fork.c: ... here.
32507 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32508 * sysdeps/nptl/fork.h: ... here.
32509 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32510 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32511 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32512 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32513 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32514 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32515 * sysdeps/unix/sysv/linux/getpid.c: ... here.
32516 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32517 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32518 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32519 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32520 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32521 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32522 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32523 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32524 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32525 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32526 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32527 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32528 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32529 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32530 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32531 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32532 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32533 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32534 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32535 * sysdeps/unix/sysv/linux/raise.c: ... here.
32536 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32537 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32538 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32539 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32540 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32541 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32542 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32543 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32544 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32545 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32546 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32547 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32548 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32549 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32550 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32551
32552 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32553
32554 * sysdeps/generic/memcopy.h: Add comment for
32555 MEMCPY_OK_FOR_FWD_MEMMOVE.
32556
32557 2014-07-04 Will Newton <will.newton@linaro.org>
32558
32559 * string/memchr.c: Merge from gnulib.
32560 [_LIBC]: Remove conditionals.
32561 (__ptr_t): Remove define.
32562 (LONG_MAX_32_BITS): Likewise.
32563 (LONG_MAX): Likewise.
32564 (MEMCHR): Use ANSI prototype and optimize algorithm.
32565
32566 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32567
32568 2014-07-03 Roland McGrath <roland@hack.frob.com>
32569
32570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32571 (lll_futex_timed_wait_bitset): Fix syscall argument count.
32572
32573 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32574 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32575 in a bare environment with no <stdlib.h> installed.
32576 * sysdeps/nptl/configure: Regenerated.
32577
32578 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32579
32580 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32581 AC_EGREP_CPP for kernel header checks, so they only succeed if
32582 including <linux/version.h> actually works right.
32583 * sysdeps/unix/sysv/linux/configure: Regenerated.
32584
32585 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32586 value so it's not diagnosed as unused.
32587
32588 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32589 thing) with "ifeq ($(subdir),rt)".
32590
32591 2014-07-03 Richard Henderson <rth@redhat.com>
32592
32593 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32594 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32595 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32596
32597 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32598 (math_force_eval): New.
32599
32600 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32601 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32602
32603 * sysdeps/alpha/fpu/s_round.c: Remove file.
32604 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32605
32606 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32607 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32608 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32609 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32610 (_dl_start, print_statistics): Likewise.
32611 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32612 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32613
32614 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32615 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32616 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32617 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32619 (HP_SMALL_TIMING_AVAIL): Define.
32620 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32621 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32622 (HP_SMALL_TIMING_AVAIL): Define.
32623 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32624 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32625
32626 * sysdeps/aarch64/hp-timing.h: New file.
32627
32628 * sysdeps/generic/hp-timing.h: Remove dead comment.
32629 * sysdeps/generic/hp-timing-common.h: New file.
32630 * sysdeps/alpha/hp-timing.h: Include it.
32631 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32632 * sysdeps/i386/i686/hp-timing.h: Likewise.
32633 * sysdeps/ia64/hp-timing.h: Likewise.
32634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32635 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32636 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32637 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32638 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32639 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32640 (hp_timing_t): New.
32641
32642 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32643 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32644 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32645 * elf/rtld.c (_dl_start_final): Likewise.
32646 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32647 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32648 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32649 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32650 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32652 (HP_TIMING_DIFF_INIT): Remove.
32653 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32655 (HP_TIMING_DIFF_INIT): Remove.
32656 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32657 * sysdeps/i386/i686/hp-timing.c: Remove file.
32658 * sysdeps/x86_64/hp-timing.c: Remove file.
32659 * sysdeps/ia64/hp-timing.c: Remove file.
32660 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32661 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32662 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32663 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32664
32665 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32666 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32667 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32668 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32669 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32670 (HP_TIMING_ACCUM): Remove.
32671 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32673 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32674
32675 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32676 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32677 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32678 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32679 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32680 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32681 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32682 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32683
32684 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32685
32686 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
32687
32688 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32689
32690 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32691
32692 Sync up with gettext.
32693 * intl/loadmsgcat.c: Define O_BINARY if not defined.
32694 [_MSC_VER]: Include malloc.h
32695 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32696 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32697 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
32698 TEMP_FAILURE_RETRY. Cast return of alloca.
32699 [!_LIBC] Call gl_rwlock_init.
32700 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32701
32702 2014-07-02 Roland McGrath <roland@hack.frob.com>
32703
32704 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32705 before checking its value.
32706
32707 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32708
32709 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32710
32711 * debug/memcpy_chk.c: Don't include pagecopy.h.
32712 * debug/mempcpy_chk.c: Likewise.
32713 * string/memcpy.c: Likewise.
32714 * string/memmove.c: Likewise.
32715 * sysdeps/powerpc/memmove.c: Likewise.
32716 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
32717 definition of PAGE_COPY_FWD_MAYBE here...
32718 * sysdeps/generic/pagecopy.h: ... from here.
32719 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32720
32721 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32722 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32723
32724 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32726 optimizations.
32727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32728 (__libc_ifunc_impl_list): Likewise.
32729 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32730 multiarch strcat for PPC64.
32731 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32732 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32733
32734 2014-07-02 Roland McGrath <roland@hack.frob.com>
32735
32736 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32737
32738 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32739
32740 * intl/loadmsgcat.c: Remove declaration of
32741 get_sysdep_segment_value.
32742 (get_sysdep_segment_value): Use ISO C style.
32743 (_nl_load_domain): Use ISO C style. Get rid of redundant
32744 semicolon. Fix typo and formatting in comment.
32745 (_nl_unload_domain): Use ISO C style.
32746
32747 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32748
32749 2014-07-02 Will Newton <will.newton@linaro.org>
32750
32751 * malloc/obstack.c: Merge from gnulib master.
32752 [HAVE_CONFIG_H]: Remove conditional code.
32753 [!_LIBC]: Include config.h.
32754 [!ELIDE_CODE]: Don't include inttypes.h, include
32755 stdint.h unconditionally.
32756 (print_and_abort): Mark as _Noreturn.
32757 (_obstack_allocated_p): Mark as __attribute_pure__.
32758 (obstack_free): Rename to __obstack_free.
32759 [!__attribute__]: Remove conditional code.
32760 * malloc/obstack.h: Merge from gnulib master.
32761 [__cplusplus]: Move conditional down.
32762 [!__attribute_pure__]: Define __attribute_pure__ here
32763 if it is not already defined.
32764 (_obstack_memory_used): Mark as __attribute_pure__.
32765 [!__obstack_free]: Define as obstack_free.
32766 [__GNUC__]: Remove check for ancient NeXT gcc.
32767
32768 2014-07-02 Will Newton <will.newton@linaro.org>
32769 Paul Eggert <eggert@cs.ucla.edu>
32770
32771 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32772
32773 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32774
32775 * resolv/gethnamaddr.c: Add comment warning that the file is
32776 not maintained.
32777
32778 2014-07-01 Carlos O'Donell <carlos@redhat.com>
32779
32780 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32781 entries.
32782
32783 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32784 entry for aio_cancel and aio_cancel64.
32785 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32786 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32787 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32788 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32789 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32790 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32791 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32792 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32793 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32794 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32795 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32796 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32797 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32798
32799 2014-07-01 Roland McGrath <roland@hack.frob.com>
32800
32801 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32802 * nptl/pthread_mutex_lock.c: Likewise.
32803 * nptl/pthread_mutex_timedlock.c: Likewise.
32804 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32805
32806 2014-07-01 Richard henderson <rth@redhat.com>
32807
32808 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32809 (__isnan, __isnanl): Remove.
32810 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32811
32812 * sysdeps/alpha/fpu/libm-test-ulps: Update.
32813
32814 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
32815
32816 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32817
32818 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32819
32820 * resolv/nss_dns/dns-host.c (getanswer_r)
32821 [MULTI_PTRS_ARE_ALIASES]: Remove code.
32822
32823 2014-07-01 Joseph Myers <joseph@codesourcery.com>
32824
32825 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32826 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32827 undefine.
32828 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32829 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32830
32831 2014-07-01 Roland McGrath <roland@hack.frob.com>
32832
32833 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32834 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32835
32836 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32837 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32838
32839 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32840 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32841 ... here.
32842 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32843 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32844
32845 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32846 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32847 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32848 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32849
32850 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32851 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32852 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32853 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32854 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32855 Moved ...
32856 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32857 ... here.
32858 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32859 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32860 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32861 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32862 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32863 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32864 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32865 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32866 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32867 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32868 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32869 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32870 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32871 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32872 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32873 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32874 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32875 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32876 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32877 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32878 ... here.
32879 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32880 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32881 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32882 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32883 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32884 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32885 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32886 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32887
32888 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
32889
32890 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32891 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32892 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32893 Add sysdep.
32894
32895 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32896
32897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32898
32899 2014-06-30 Joseph Myers <joseph@codesourcery.com>
32900
32901 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32902 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32903
32904 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32905
32906 * sysdeps/arm/libm-test-ulps: Regenerated.
32907
32908 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
32909 Roland McGrath <roland@hack.frob.com>
32910
32911 * test-skeleton.c (signal_handler): Kill the whole process group
32912 before killing the child individually.
32913 (main): Report any failure on `setpgid'.
32914
32915 2014-06-30 Roland McGrath <roland@hack.frob.com>
32916
32917 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32918 from _TLS_H to _ARM_NPTL_TLS_H.
32919 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32920 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32921
32922 2014-06-30 Joseph Myers <joseph@codesourcery.com>
32923
32924 [BZ #16539]
32925 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32926 (__expm1l): Return argument unchanged when small but not
32927 subnormal.
32928
32929 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32930 include macro name.
32931 (_FP_UNPACK_RAW_1_P): Likewise.
32932 (_FP_PACK_RAW_1): Likewise.
32933 (_FP_PACK_RAW_1_P): Likewise.
32934 (_FP_MUL_MEAT_1_wide): Likewise.
32935 (_FP_MUL_MEAT_DW_1_hard): Likewise.
32936 (_FP_MUL_MEAT_1_hard): Likewise.
32937 (_FP_DIV_MEAT_1_imm): Likewise.
32938 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32939 (_FP_DIV_MEAT_1_udiv): Likewise.
32940 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32941 (_FP_UNPACK_RAW_2): Likewise.
32942 (_FP_UNPACK_RAW_2_P): Likewise.
32943 (_FP_PACK_RAW_2): Likewise.
32944 (_FP_PACK_RAW_2_P): Likewise.
32945 (_FP_MUL_MEAT_DW_2_wide): Likewise.
32946 (_FP_MUL_MEAT_2_wide): Likewise.
32947 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32948 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32949 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32950 (_FP_MUL_MEAT_2_gmp): Likewise.
32951 (_FP_DIV_MEAT_2_udiv): Likewise.
32952 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32953 (_FP_FRAC_SRL_4): Likewise.
32954 (_FP_FRAC_SRST_4): Likewise.
32955 (_FP_FRAC_SRS_4): Likewise.
32956 (_FP_UNPACK_RAW_4): Likewise.
32957 (_FP_UNPACK_RAW_4_P): Likewise.
32958 (_FP_PACK_RAW_4): Likewise.
32959 (_FP_PACK_RAW_4_P): Likewise.
32960 (_FP_MUL_MEAT_DW_4_wide): Likewise.
32961 (_FP_MUL_MEAT_4_wide): Likewise.
32962 (_FP_MUL_MEAT_4_gmp): Likewise.
32963 (umul_ppppmnnn): Likewise.
32964 (_FP_DIV_MEAT_4_udiv): Likewise.
32965 (__FP_FRAC_ADD_4): Likewise.
32966 (__FP_FRAC_SUB_3): Likewise.
32967 (__FP_FRAC_SUB_4): Likewise.
32968 (__FP_FRAC_DEC_3): Likewise.
32969 (__FP_FRAC_DEC_4): Likewise.
32970 (__FP_FRAC_ADDI_4): Likewise.
32971 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32972 (_FP_FRAC_SRL_8): Likewise.
32973 (_FP_FRAC_SRS_8): Likewise.
32974
32975 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32976 include macro name.
32977 (FP_UNPACK_RAW_EP): Likewise.
32978 (FP_PACK_RAW_E): Likewise.
32979 (FP_PACK_RAW_EP): Likewise.
32980 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32981 (_FP_ISSIGNAN): Likewise.
32982 (_FP_ADD_INTERNAL): Likewise.
32983 (_FP_FMA): Likewise.
32984 (_FP_CMP): Likewise.
32985 (_FP_SQRT): Likewise.
32986 (_FP_TO_INT): Likewise.
32987 (_FP_FROM_INT): Likewise.
32988 (FP_EXTEND): Likewise.
32989 (_FP_DIV_MEAT_N_loop): Likewise.
32990
32991 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
32992
32993 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32994 throughout.
32995
32996 2014-06-29 Joseph Myers <joseph@codesourcery.com>
32997
32998 [BZ #17097]
32999 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33000 result with correct sign in case of exponents that produce
33001 overflow except for X very close to 1.
33002
33003 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
33004
33005 mktime: merge #if/#ifdef usage from glibc
33006 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33007 as that works with both Glibc's and Gnulib's style.
33008 See thread starting at Siddhesh Poyarekar's bug report at:
33009 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33010
33011 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33012
33013 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33014 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33015 * sysdeps/tile/tilegx/memmove.c: Remove file.
33016
33017 2014-06-27 Joseph Myers <joseph@codesourcery.com>
33018
33019 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33020 abi-name definition.
33021 * scripts/soversions.awk: Do not handle or generate ABI lines.
33022 * shlib-versions: Remove ABI entries.
33023 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33024 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33025
33026 2014-06-27 Roland McGrath <roland@hack.frob.com>
33027
33028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33029 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33030 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33031 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33033 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33035 Moved ...
33036 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33037 ... here.
33038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33039 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33041 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33042 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33043 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33044 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33045 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33049 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33050 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33051 Moved ...
33052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33054 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33056 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33058 Moved ...
33059 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33061 Moved ...
33062 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33064 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33066 Moved ...
33067 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33068 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33069 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33071 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33073 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33075 Moved ...
33076 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33078 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33079 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33080 Moved ...
33081 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33083 Moved ...
33084 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33085 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33086 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33087 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33088 Moved ...
33089 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33090 ... here.
33091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33092 Identical file removed.
33093 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33094 Moved ...
33095 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33096 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33097 Identical file removed.
33098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33099 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33101 Moved ...
33102 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33104 Identical file removed.
33105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33106 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33107 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33108 Identical file removed.
33109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33110 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33111 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33112 Identical file removed.
33113 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33114 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33116 Identical file removed.
33117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33118 Moved ...
33119 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33121 Identical file removed.
33122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33123 Moved ...
33124 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33125 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33126 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33128 Identical file removed.
33129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33130 Moved ...
33131 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33132 ... here.
33133 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33134 Identical file removed.
33135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33136 Moved ...
33137 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33139 Identical file removed.
33140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33141 Moved ...
33142 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33143 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33144 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33146 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33148 Moved ...
33149 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33150 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33151 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33152
33153 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33154 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33155 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33156 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33157 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33158
33159 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
33160
33161 [BZ #17092]
33162 * nscd/nscd.c (monitor_child): Return exit status of child
33163 instead of return value from wait syscall.
33164
33165 2014-06-27 Joseph Myers <joseph@codesourcery.com>
33166
33167 * configure.ac (libc_commonpagesize): Remove variable.
33168 (libc_relro_required): Likewise.
33169 (libc_cv_z_relro): Remove configure test.
33170 * configure: Regenerated.
33171 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33172 variable.
33173 (libc_relro_required): Likewise.
33174 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33175 (libc_relro_required): Likewise.
33176 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33177 (libc_relro_required): Likewise.
33178 * sysdeps/arm/preconfigure: Regenerated.
33179 * sysdeps/ia64/preconfigure: Remove file.
33180 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33181 variable.
33182 (libc_relro_required): Likewise.
33183
33184 [BZ #16561]
33185 [BZ #16562]
33186 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33187 (__ieee754_yn): Set FE_TONEAREST mode internally and then
33188 recompute overflowing results in original rounding mode.
33189 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33190 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33191 recompute overflowing results in original rounding mode.
33192 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33193 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33194 recompute overflowing results in original rounding mode.
33195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33196 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33197 recompute overflowing results in original rounding mode.
33198 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33199 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33200 recompute overflowing results in original rounding mode.
33201 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33202 (libc_feholdsetround_ctx): New macro.
33203 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33204 * sysdeps/i386/fpu/libm-test-ulps: Update.
33205 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33206
33207 2014-06-26 Joseph Myers <joseph@codesourcery.com>
33208
33209 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33210 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33211 corresponding .cpsetup call.
33212
33213 2014-06-26 Roland McGrath <roland@hack.frob.com>
33214
33215 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33216 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33217 * sysdeps/arm/Makefile [$(subdir) = csu]
33218 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33219 (static-only-routines): Add aeabi_read_tp here.
33220 (shared-only-routines): Add libc-aeabi_read_tp here.
33221 (CFLAGS-libc-start.c): Add -fexceptions here.
33222 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33223 (sysdep_routines, static-only-routines, shared-only-routines):
33224 Don't add to these here.
33225 (CFLAGS-libc-start.c): Likewise.
33226
33227 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33228 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33229 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33230 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33231 * sysdeps/arm/Makefile [$(subdir) = rt]
33232 (librt-sysdep_routines, librt-shared-only-routines):
33233 Append rt-aeabi_unwind_cpp_pr1 here.
33234 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33235 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33236 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33237 (libpthread-sysdep_routines, libpthread-shared-only-routines):
33238 Append nptl-aeabi_unwind_cpp_pr1 here.
33239 (tests): Filter out tst-cleanupx4 here.
33240 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33241 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33242 Don't do those here.
33243
33244 2014-06-26 Joseph Myers <joseph@codesourcery.com>
33245
33246 * scripts/list-sources.sh: Do not handle ports specially.
33247
33248 2014-06-26 Roland McGrath <roland@hack.frob.com>
33249
33250 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33251 * sysdeps/arm/feupdateenv.c: Likewise.
33252
33253 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33254
33255 2014-06-26 Joseph Myers <joseph@codesourcery.com>
33256
33257 * manual/texinfo.tex: Update to version 2014-05-05.10 with
33258 trailing whitespace removed.
33259 * scripts/config.guess: Update to version 2014-03-23.
33260 * scripts/config.sub: Update to version 2014-05-01
33261 * scripts/install-sh: Update to version 2013-12-25.23.
33262 * scripts/move-if-change: Update from gnulib.
33263
33264 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33265
33266 * debug/memmove_chk.c: Remove pagecopy.h include.
33267
33268 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
33269
33270 * time/mktime.c (leapyear): Remove inline keyword. The code is now
33271 identical to gnulib mktime.
33272
33273 2014-06-26 Joseph Myers <joseph@codesourcery.com>
33274
33275 * configure.ac: Do not test for machine being rs6000. Do not test
33276 for powerpc*-*soft.
33277 * configure: Regenerated.
33278
33279 [BZ #11505]
33280 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33281 test.
33282 * configure: Regenerated.
33283 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33284 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33285 Remove configure test.
33286 * sysdeps/arm/configure: Regenerated.
33287 * sysdeps/nptl/configure.ac: Do not check
33288 libc_cv_asm_cfi_directives.
33289 * sysdeps/nptl/configure: Regenerated.
33290 * sysdeps/x86_64/nptl/configure.ac: Remove file.
33291 * sysdeps/x86_64/nptl/configure: Remove generated file.
33292 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33293 unconditional.
33294 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33295
33296 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33297
33298 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33299 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33300 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33301 it is defined.
33302
33303 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33304 instead of whether it is defined.
33305 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33306 * sysdeps/hppa/dl-machine.h: Likewise.
33307 * sysdeps/ia64/dl-machine.h: Likewise.
33308 * sysdeps/m68k/dl-machine.h: Likewise.
33309 * sysdeps/microblaze/dl-machine.h: Likewise.
33310 * sysdeps/mips/dl-machine.: Likewise.
33311 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33312 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33313 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33314 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33315 * sysdeps/sh/dl-machine.h: Likewise.
33316 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33318 * sysdeps/tile/dl-machine.h: Likewise.
33319 * sysdeps/x86_64/dl-machine.h: Likewise.
33320
33321 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33322 code.
33323 (verify_persistent_db): Likewise.
33324
33325 2014-06-26 Roland McGrath <roland@hack.frob.com>
33326
33327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33328 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33330 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33332 Moved ...
33333 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33334 ... here.
33335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33336 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33338 Identical file removed.
33339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33340 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33342 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33344 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33346 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33348 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33350 Moved ...
33351 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33353 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33355 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33357 Moved ...
33358 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33360 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33362 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33364 Identical file removed.
33365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33366 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33368 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33370 Moved ...
33371 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33372 ... here.
33373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33374 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33376 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33378 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33380 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33382 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33384 Moved ...
33385 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33387 Moved ...
33388 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33390 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33392 Moved ...
33393 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33395 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33396
33397 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33398 folded into ...
33399 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33400 * sysdeps/unix/sysv/linux/s390/Versions
33401 (libpthread: GLIBC_2.19): New version set.
33402 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33403 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33404 (librt: GLIBC_2.3.3): New version set.
33405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33406 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33407 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33408 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33409 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33410 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33411 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33412 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33413 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33414 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33415 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33416 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33417 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33418 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33419 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33420 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33421 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33422 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33423 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33424 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33425 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33426 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33427 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33428 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33429 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33430 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33431 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33432 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33433 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33434 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33435 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33441 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33443 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33444 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33445 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33447 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33449 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33450
33451 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33452 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33453 (__libc_vfork): Define the function under this name.
33454 [!NOT_IN_libc] (__vfork): Make this an alias.
33455 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33456 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33457 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33458 (__libc_vfork): Define the function under this name.
33459 [!NOT_IN_libc] (__vfork): Make this an alias.
33460 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33461 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33462 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33465 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33466
33467 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33468 code that was previously under [RESET_PID].
33469 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33470 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33472
33473 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33474 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33475 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33476 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33477 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33478 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33479 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33480 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33481 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33482 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33483 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33484 Moved ...
33485 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33486 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33487 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33488 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33489 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33490 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33491 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33492 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33493 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33494 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33495 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33496 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33497 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33498 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33499 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33500 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33501 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33502 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33503 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33504 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33505 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33506 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33507 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33508 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33509 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33510 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33511 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33513 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33514
33515 2014-06-25 Roland McGrath <roland@hack.frob.com>
33516
33517 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33518 that was previously under [RESET_PID].
33519 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33520
33521 2014-06-25 Joseph Myers <joseph@codesourcery.com>
33522
33523 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33524 not undefine and redefine.
33525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33526 [O_CLOEXEC]: Make code unconditional.
33527 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33528 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33529 <kernel-features.h>.
33530 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33531 conditional variable definition.
33532 (shm_open) [O_CLOEXEC]: Make code unconditional.
33533 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33534 code.
33535
33536 * configure.ac (USE_REGPARMS): Don't define here.
33537 * configure: Regenerated.
33538 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33539 * sysdeps/i386/configure: Regenerated.
33540
33541 * nptl/createthread.c: Don't include kernel-features.h.
33542 * nptl/pthread_cancel.c: Likewise.
33543 * nptl/pthread_condattr_setclock.c: Likewise.
33544 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33545 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33546 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33547 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33548 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33549 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33553 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33554 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33555 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33556 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33557 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33558 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33559 * nscd/gai.c: Likewise.
33560 * nss/nss_db/db-open.c: Likewise.
33561 * sysdeps/generic/ldsodefs.h: Likewise.
33562 * sysdeps/sh/nptl/tls.h: Likewise.
33563 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33564 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33565 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33566 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33567 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33568 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33569 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33570 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33572 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33573 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33574 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33575 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33576 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33577 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33578 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33579 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33580 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33581 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33582 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33583 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33584 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33585 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33586 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33587 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33588 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33589 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33591 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33592 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33593 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33594 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33595 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33596 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33597 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33598 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33599 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33600 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33601 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33602 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33603 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33604 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33605 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33606 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33607 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33608 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33609 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33610 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33611 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33612 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33613 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33614 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33615 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33616 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33617 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33618 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33619 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33620 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33643 * sysdeps/unix/sysv/linux/pread.c: Likewise.
33644 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33645 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33646 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33647 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33648 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33649 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33650 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33651 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33652 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33653 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33654 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33655 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33656 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33657 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33658 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33659 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33660 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33661 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33662 * sysdeps/unix/sysv/linux/system.c: Likewise.
33663 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33664 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33665 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33666 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33667 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33668 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33669 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33670
33671 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33672 * configure: Regenerated.
33673 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33674
33675 * configure.ac (base_machine): Do not set specially for particular
33676 machines here.
33677 * configure: Regenerated.
33678 * sysdeps/powerpc/preconfigure: Move machine and base_machine
33679 settings from configure.ac.
33680 * sysdeps/i386/preconfigure: New file.
33681 * sysdeps/s390/preconfigure: Likewise.
33682 * sysdeps/sh/preconfigure: Likewise.
33683 * sysdeps/sparc/preconfigure: Likewise.
33684
33685 2014-06-25 Roland McGrath <roland@hack.frob.com>
33686
33687 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33688 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33689 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33690 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33691 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33692 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33693 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33694 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33695 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33696 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33697 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33698 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33699 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33700 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33701 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33702 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33704 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33705 * sysdeps/sparc/sparc64/Makefile: ... appended here.
33706
33707 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33708 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33709 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33710 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33711 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33712 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33713 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33714 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33715 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33716 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33717 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33718 * sysdeps/sparc/sparc32/sem_post.c: ... here.
33719 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33720 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33721 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33722 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33723 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33724 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33725 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33726 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33728 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33729 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33730 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33732 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33733 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33734 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33736 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33737 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33738 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33739 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33740 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33741 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33742 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33743 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33744 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33745
33746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33747 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33749 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33751 Moved ...
33752 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33753 ... here.
33754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33755 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33757 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33759 Moved ...
33760 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33762 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33764 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33766 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33768 Moved ...
33769 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33771 Moved ...
33772 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33774 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33776 Moved ...
33777 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33779 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33781 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33783 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33785 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33787 Moved ...
33788 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33789 ... here.
33790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33791 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33795 Moved ...
33796 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33798 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33800 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33802 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33804 Moved ...
33805 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33807 Moved ...
33808 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33810 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33812 Moved ...
33813 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33815 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33817 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33818
33819 2014-06-25 Joseph Myers <joseph@codesourcery.com>
33820
33821 * timezone/checktab.awk: Update from tzcode 2014e.
33822 * timezone/private.h: Likewise.
33823 * timezone/tzfile.h: Likewise.
33824 * timezone/zdump.c: Likewise.
33825 * timezone/zic.c: Likewise.
33826
33827 * sysdeps/unix/sysv/linux/kernel-features.h
33828 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33830 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33831 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33832 Remove conditional code.
33833
33834 2014-06-25 Will Newton <will.newton@linaro.org>
33835
33836 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33837 (_dl_arm_cap_flags): Add HWCAP2 values.
33838 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33839 (_DL_HWCAP_COUNT): Increase to 37.
33840 (_DL_HWCAP_LAST): New define.
33841 (_DL_HWCAP2_LAST): New define.
33842 (_dl_procinfo): Add support for printing
33843 AT_HWCAP2 entries.
33844 (_dl_string_hwcap): Use _dl_hwcap_string.
33845
33846 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33847
33848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33849
33850 2014-06-25 Joseph Myers <joseph@codesourcery.com>
33851
33852 * README: Do not mention ports directory.
33853
33854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33855 Remove macro.
33856 * sysdeps/unix/sysv/linux/futimes.c: Do not include
33857 <kernel-features.h>.
33858 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33859 conditional variable definition.
33860 (__futimes): Update comment.
33861 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33862 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33863
33864 [BZ #16560]
33865 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33866 arguments close to 0.
33867 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33868 Likewise.
33869 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33870 Likewise.
33871 * math/auto-libm-test-in: Add more tests of exp10.
33872 * math/auto-libm-test-out: Regenerated.
33873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33874
33875 * sysdeps/unix/sysv/linux/kernel-features.h
33876 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33877 * sysdeps/unix/sysv/linux/readv.c: Do not include
33878 <kernel-features.h>.
33879 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33880 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33881 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33882 unconditional.
33883 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33884 conditional code.
33885 * sysdeps/unix/sysv/linux/writev.c: Do not include
33886 <kernel-features.h>.
33887 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33888 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33889 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33890 unconditional.
33891 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33892 conditional code.
33893
33894 2014-06-25 Will Newton <will.newton@linaro.org>
33895
33896 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33897 comment changes throughout the file. Remove checks
33898 for HAVE_*_H definitions that are not required.
33899 (__gen_tempname): Call abort if an unknown kind value is
33900 passed.
33901
33902 2014-06-25 Andreas Schwab <schwab@suse.de>
33903
33904 [BZ #17086]
33905 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33906 scalbln, scalblnf, scalblnl in libc.
33907
33908 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33909
33910 [BZ #17086]
33911 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33912 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33913 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33914
33915 2014-06-24 Roland McGrath <roland@hack.frob.com>
33916
33917 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33918 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33919 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33920 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33921 Update #include.
33922 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33923 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33924 Update #include.
33925 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33926 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33927 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33928 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33929 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33930 * sysdeps/x86/bits/pthreadtypes.h: ... here.
33931 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33932 * sysdeps/x86/bits/semaphore.h: ... here.
33933 * sysdeps/x86/nptl/elide.h: Moved ...
33934 * sysdeps/x86/elide.h: ... here.
33935 * sysdeps/x86_64/nptl/Implies: File removed.
33936 * sysdeps/i386/nptl/Implies: File removed.
33937
33938 2014-06-24 Joseph Myers <joseph@codesourcery.com>
33939
33940 [BZ #16539]
33941 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33942 return the argument for normal arguments with exponent below -64.
33943 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33944 Likewise.
33945 * math/auto-libm-test-in: Add another test of expm1.
33946 * math/auto-libm-test-out: Regenerated.
33947
33948 [BZ #16287]
33949 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33950 calling __erfcl for arguments at least 16.
33951 * math/auto-libm-test-in: Add more tests of erf.
33952 * math/auto-libm-test-out: Regenerated.
33953
33954 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33955 individual architectures.
33956 * sysdeps/unix/sysv/linux/configure: Regenerated.
33957 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33958 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33959 * sysdeps/unix/sysv/linux/powerpc/configure.ac
33960 (ldd_rewrite_script): Define variable.
33961 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33963 file.
33964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33965 generated file.
33966 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33967 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33968 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33969 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33970 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33971 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33972 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33973 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33974
33975 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33976
33977 [BZ #17084]
33978 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33979 Rename member __data.d to __data.__elision_data.
33980
33981 2014-06-24 Wilco <wdijkstr@arm.com>
33982
33983 * NEWS: Add 16918 to fixed bug list.
33984
33985 2014-06-24 Wilco <wdijkstr@arm.com>
33986
33987 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33988
33989 2014-06-24 Wilco <wdijkstr@arm.com>
33990
33991 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33992 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33993 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33994 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33995 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33996 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33997 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33998 Use _FPU_MASK_RM.
33999
34000 2014-06-24 Wilco <wdijkstr@arm.com>
34001
34002 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34003
34004 2014-06-24 Wilco <wdijkstr@arm.com>
34005
34006 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34007 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34008 * sysdeps/arm/fesetround.c (fesetround): Remove space.
34009 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34010
34011 2014-06-24 Wilco <wdijkstr@arm.com>
34012
34013 [BZ #16918]
34014 * sysdeps/arm/feupdateenv.c (feupdateenv):
34015 Rewrite to reduce FPSCR accesses and fix return value.
34016
34017 2014-06-24 Wilco <wdijkstr@arm.com>
34018
34019 * sysdeps/arm/fclrexcpt.c (feclearexcept):
34020 Optimize to avoid unnecessary FPSCR writes.
34021 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34022 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34023 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34024 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34025
34026 2014-06-24 Wilco <wdijkstr@arm.com>
34027
34028 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34029 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34030 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34031 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34032 Call libc_fetestexcept_vfp.
34033 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34034 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34035 __SOFTFP__ ifdef so that they can be built for softfp.
34036
34037 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34038
34039 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34040 argument type signed char.
34041
34042 * Makerules (check-abi): Dump diff of symlist if the test
34043 fails.
34044
34045 2014-06-23 Roland McGrath <roland@hack.frob.com>
34046
34047 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34048 using abort.
34049
34050 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34051 Remove unused variable ST.
34052
34053 2014-06-23 Joseph Myers <joseph@codesourcery.com>
34054
34055 [BZ #16354]
34056 [BZ #17061]
34057 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34058 small arguments before calling __expm1.
34059 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34060 small arguments before calling __expm1f.
34061 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34062 small arguments before calling __expm1l.
34063 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34064 Likewise.
34065 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34066 * math/auto-libm-test-in: Add more cosh tests. Do not allow
34067 spurious underflow for some cosh tests.
34068 * math/auto-libm-test-out: Regenerated.
34069 * sysdeps/i386/fpu/libm-test-ulps: Update.
34070
34071 [BZ #17050]
34072 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34073 (__ieee754_y1): Set errno if return value overflows.
34074 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34075 (__ieee754_y1f): Set errno if return value overflows.
34076 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34077 (__ieee754_y1l): Set errno if return value overflows.
34078 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34079 (__ieee754_y1l): Set errno if return value overflows.
34080 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34081 * math/auto-libm-test-out: Regenerated.
34082
34083 * math/gen-auto-libm-tests.c: Document use of
34084 ignore-zero-inf-sign.
34085 (input_flag_type): Add value flag_ignore_zero_inf_sign.
34086 (input_flags): Add ignore-zero-inf-sign.
34087 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34088 * math/gen-libm-test.pl (generate_testfile): Handle
34089 ignore-zero-inf-sign.
34090 * math/auto-libm-test-in: Mark some cpow tests with
34091 ignore-zero-inf-sign and some with xfail-rounding.
34092 * math/auto-libm-test-out: Regenerated.
34093 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34094 * sysdeps/i386/fpu/libm-test-ulps: Update.
34095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34096
34097 [BZ #16315]
34098 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34099 overflowing or underflowing operations take place with sign of
34100 result.
34101 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34102 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34103 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34104 (__ieee754_pow): Recompute overflowing and underflowing results in
34105 original rounding mode.
34106 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34107 (__powl_helper): Allow negative argument X and scale negated value
34108 as needed. Avoid passing value outside [-1, 1] to f2xm1.
34109 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34110 overflowing or underflowing operations take place with sign of
34111 result.
34112 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34113 Include <math.h>.
34114 * math/auto-libm-test-in: Add more tests of pow.
34115 * math/auto-libm-test-out: Regenerated.
34116 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34117 (pow_tonearest_test_data): Remove.
34118 (pow_test_tonearest): Likewise.
34119 (pow_towardzero_test_data): Likewise.
34120 (pow_test_towardzero): Likewise.
34121 (pow_downward_test_data): Likewise.
34122 (pow_test_downward): Likewise.
34123 (pow_upward_test_data): Likewise.
34124 (pow_test_upward): Likewise.
34125 (main): Don't call removed functions.
34126 * sysdeps/i386/fpu/libm-test-ulps: Update.
34127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34128
34129 2014-06-23 Roland McGrath <roland@hack.frob.com>
34130
34131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34132 Moved ...
34133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34135 Moved ...
34136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34138 Moved ...
34139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34141 Moved ...
34142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34144 File removed.
34145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34146 File removed.
34147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34148 File removed.
34149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34150 File removed.
34151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34152 File removed.
34153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34154 File removed.
34155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34156 File removed.
34157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34158 File removed.
34159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34160 File removed.
34161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34162 File removed.
34163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34164 File removed.
34165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34166 File removed.
34167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34168 Moved ...
34169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34171 Moved ...
34172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34173 ... here.
34174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34175 Moved ...
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34178 Moved ...
34179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34181 Moved ...
34182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34184 Moved ...
34185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34187 Moved ...
34188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34190 Moved ...
34191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34193 Moved ...
34194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34197 ... here.
34198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34199 Moved ...
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34202 Moved ...
34203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34204 ... here.
34205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34206 Moved ...
34207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34208 ... here.
34209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34210 Moved ...
34211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34212 ... here.
34213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34214 Moved ...
34215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34217 Moved ...
34218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34222 Moved ...
34223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34224 ... here.
34225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34226 Moved ...
34227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34228 ... here.
34229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34230 Moved ...
34231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34233 Moved ...
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34236 Moved ...
34237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34239 Moved ...
34240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34242 Moved ...
34243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34244 ... here.
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34246 Moved ...
34247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34249 Moved ...
34250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34252 Moved ...
34253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34255 Moved ...
34256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34260 Moved ...
34261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34263 Moved ...
34264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34266 Moved ...
34267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34268 ... here.
34269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34270 Moved ...
34271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34272 ... here.
34273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34274 Moved ...
34275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34276 ... here.
34277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34278 Moved ...
34279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34281 Moved ...
34282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34284 Moved ...
34285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34287 Moved ...
34288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34289 ... here.
34290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34291 Moved ...
34292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34293 ... here.
34294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34295 Moved ...
34296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34297 ... here.
34298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34299 Moved ...
34300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34302 Moved ...
34303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34304
34305 2014-06-23 Will Newton <will.newton@linaro.org>
34306 Wilco <wdijkstr@arm.com>
34307
34308 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34309 implementation. Include get-rounding-mode.h.
34310 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34311 [!libc_feholdsetround_noex_ctx]: Define
34312 libc_feholdsetround_noex_ctx.
34313 [!libc_feholdsetround_noexf_ctx]: Define
34314 libc_feholdsetround_noexf_ctx.
34315 [!libc_feholdsetround_noexl_ctx]: Define
34316 libc_feholdsetround_noexl_ctx.
34317 (libc_feholdsetround_ctx): New function.
34318 (libc_feresetround_ctx): New function.
34319 (libc_feholdsetround_noex_ctx): New function.
34320 (libc_feresetround_noex_ctx): New function.
34321
34322 2014-06-23 Roland McGrath <roland@hack.frob.com>
34323
34324 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34325 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34326 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34327 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34328 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34329 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34330
34331 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34332 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34333 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34334 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34335 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34336 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34338 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34340 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34342 Moved ...
34343 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34344 ... here.
34345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34346 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34348 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34350 Moved ...
34351 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34353 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34355 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34357 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34359 Moved ...
34360 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34361 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34362 Moved ...
34363 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34364 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34365 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34366 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34367 Moved ...
34368 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34369 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34370 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34371 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34372 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34373 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34374 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34376 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34378 Moved ...
34379 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34380 ... here.
34381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34382 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34386 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34388 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34389 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34390 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34391 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34392 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34393 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34394 Moved ...
34395 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34396 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34397 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34398 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34399 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34400 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34401 Moved ...
34402 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34404 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34405 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34406 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34407
34408 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34409 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34410 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34411 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34412 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34413 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34414 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34415 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34417 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34418 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34419 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34420 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34421 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34422 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34423 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34425 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34426 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34427 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34428 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34429 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34431 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34432 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34433 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34434 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34435 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34436
34437 2014-06-23 Joseph Myers <joseph@codesourcery.com>
34438
34439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34440 (FALLOC_FL_COLLAPSE_RANGE): New macro.
34441 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34442 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34443 (IPV6_PMTUDISC_INTERFACE): Likewise.
34444 (IPV6_PMTUDISC_OMIT): Likewise.
34445
34446 2014-06-23 Andreas Schwab <schwab@suse.de>
34447
34448 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34449 Remove unused errout label.
34450
34451 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34452
34453 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34454 macro: hardware supports Vector Crypto instructions.
34455
34456 2014-06-23 Will Newton <will.newton@linaro.org>
34457
34458 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34459 rather than __builtin_expect.
34460
34461 * elf/dl-lookup.c (undefined_msg): Remove variable.
34462 (_dl_lookup_symbol_x): Replace undefined_msg with string
34463 literal.
34464
34465 * elf/dl-lookup.c (do_lookup_unique): New function.
34466 (do_lookup_x): Move STB_GNU_UNIQUE handling code
34467 to a separate function.
34468
34469 2014-06-23 Andreas Schwab <schwab@suse.de>
34470
34471 [BZ #17079]
34472 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34473 before reading the next line.
34474
34475 2014-06-23 Will Newton <will.newton@linaro.org>
34476
34477 * test-skeleton.c (signal_handler): Use printf and %m
34478 rather than perror. Use printf rather than fprintf to
34479 stderr. Use puts rather than fputs to stderr.
34480 (main): Likewise.
34481
34482 2014-06-22 Ludovic Courtès <ludo@gnu.org>
34483
34484 * nscd/nscd.c (thread_info_t): Remove typedef.
34485 (thread_info): Remove variable.
34486
34487 2014-06-21 Allan McRae <allan@archlinux.org>
34488
34489 * NEWS: Mention CVE-2014-4043.
34490
34491 2014-06-20 Roland McGrath <roland@hack.frob.com>
34492
34493 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34494 * nptl/smp.h: ... here.
34495
34496 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34497
34498 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34499 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34500 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34501 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34502
34503 * nptl/allocatestack.c: Include <stack-aliasing.h>.
34504 * nptl/stack-aliasing.h: New file.
34505 * sysdeps/i386/i686/stack-aliasing.h: New file.
34506 * sysdeps/i386/i686/nptl/Makefile: File removed.
34507 * sysdeps/x86_64/stack-aliasing.h: New file.
34508 * sysdeps/x86_64/nptl/Makefile
34509 (CFLAGS-pthread_create.c): Variable removed.
34510
34511 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34512 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34513 old file.
34514 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34515 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34516 old file.
34517
34518 2014-06-21 Joseph Myers <joseph@codesourcery.com>
34519
34520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34521 (__ASSUME_SIGFRAME_V2): Remove macro.
34522 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34523 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34524 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34525 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34526 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34527 Declare as function. Remove conditional macro definitions.
34528 (__default_rt_sa_restorer): Likewise.
34529 (__default_sa_restorer_v1): Remove declaration.
34530 (__default_sa_restorer_v2): Likewise.
34531 (__default_rt_sa_restorer_v1): Likewise.
34532 (__default_rt_sa_restorer_v2): Likewise.
34533 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34534 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34535 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34536
34537 2014-06-20 Roland McGrath <roland@hack.frob.com>
34538
34539 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34540 (libpthread-routines): Add sysdep.
34541 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34542 * sysdeps/unix/sysv/linux/sparc/Versions
34543 (libpthread: GLIBC_2.3.3): New version set.
34544 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34545 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34546 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34547 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34548 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
34549 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34550 Moved ...
34551 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34552 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34553 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34554 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34555 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34556 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34557 * sysdeps/sparc/nptl/sem_init.c: ... here.
34558 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34559 * sysdeps/sparc/nptl/sem_post.c: ... here.
34560 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34561 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34562 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34563 * sysdeps/sparc/nptl/sem_wait.c: ... here.
34564 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34565 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34566 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34567 (libpthread-routines): Add cpu_relax.
34568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34569 File removed.
34570 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34571 (librt: GLIBC_2.3.3): New version set.
34572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34573 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34574 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34575 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34578 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34580 Moved ...
34581 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34583 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34585 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34587 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34589 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34591 Moved ...
34592 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34593 Update #include.
34594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34595 Moved ...
34596 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34597 Update #include.
34598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34599 Moved ...
34600 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34601 Update #include.
34602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34603 Moved ...
34604 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34605 Update #include.
34606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34607 Moved ...
34608 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34609 Update #include.
34610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34611 Moved ...
34612 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34613 Update #include.
34614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34615 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34621 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34623 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34625 Moved ...
34626 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34628 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34630 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34631
34632 2014-06-20 Joseph Myers <joseph@codesourcery.com>
34633
34634 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34635 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34636 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34637 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34638 * nscd/nscd.c: Likewise.
34639 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34640 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34641 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34642 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34643
34644 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34645 <kernel-features.h>.
34646 (init_mq_netlink): Remove conditional have_sock_cloexec
34647 definitions. Remove code conditional on have_sock_cloexec < 0.
34648 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34649 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34650 * sysdeps/unix/sysv/linux/opensock.c: Do not include
34651 <kernel-features.h>.
34652 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34653 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34654
34655 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
34656
34657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34658 Add tests for memset_chk and memset.
34659
34660 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34661 with AVX2_Usable.
34662
34663 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
34664
34665 [BZ #16046]
34666 * elf/tst-dl-iter-static.c: New file.
34667 * elf/Makefile (tests-static): Add tst-dl-iter-static.
34668
34669 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34670 error.
34671
34672 2014-06-20 Joseph Myers <joseph@codesourcery.com>
34673
34674 * sysdeps/unix/sysv/linux/kernel-features.h
34675 (__ASSUME_F_GETOWN_EX): Remove macro.
34676 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34677 <kernel-features.h>.
34678 (miss_F_GETOWN_EX): Remove variable or macro.
34679 (do_fcntl): Do not check miss_F_GETOWN_EX.
34680 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34681
34682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34683 Remove macro.
34684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34685 [!__ASSUME_AT_RANDOM]: Remove conditional code.
34686 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34687
34688 * sysdeps/unix/sysv/linux/kernel-features.h
34689 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34690 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34691 [ADJ_OFFSET_SS_READ]: Make code unconditional.
34692 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34693
34694 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
34695
34696 [BZ #17075]
34697 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34698 Fix calculation of the symbol's value.
34699 * sysdeps/arm/tst-armtlsdescloc.c: New file.
34700 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34701 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34702 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34703 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34704 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34705 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34706 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34707 (modules-names): Add `tst-armtlsdescmod',
34708 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34709 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34710 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34711 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34712 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34713 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34714 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34715 ($(objpfx)tst-armtlsdescloc): New dependency.
34716 ($(objpfx)tst-armtlsdescextnow): Likewise.
34717 ($(objpfx)tst-armtlsdescextlazy): Likewise.
34718 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34719 TLS scheme support.
34720 * sysdeps/arm/configure: Regenerate.
34721
34722 2014-06-20 Joseph Myers <joseph@codesourcery.com>
34723
34724 * include/fcntl.h (__atfct_seterrno): Remove prototype.
34725 (__atfct_seterrno_2): Likewise.
34726 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34727 <kernel-features.h>.
34728 (__ASSUME_ATFCTS): Do not undefine and redefine.
34729 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34730 (__have_atfcts): Remove conditional definition.
34731 (__fxstatat([__NR_fstatat64]: Make code unconditional.
34732 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34733 unreachable if [__ASSUME_ATFCTS].
34734 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34735 not undefine and redefine.
34736 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34737 <kernel-features.h>.
34738 (faccessat) [__NR_faccessat]: Make code unconditional.
34739 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34740 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34741 <kernel-features.h>.
34742 (fchmodat) [__NR_fchmodat]: Make code unconditional.
34743 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34744 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34745 <kernel-features.h>.
34746 (fchownat) [__NR_fchownat]: Make code unconditional.
34747 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34748 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34749 <kernel-features.h>.
34750 (futimesat) [__NR_futimesat]: Make code unconditional.
34751 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34752 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34753 <kernel-features.h>.
34754 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34755 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34756 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34757 <kernel-features.h>.
34758 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34759 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34760 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34761 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34762 <kernel-features.h>.
34763 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34764 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34765 * sysdeps/unix/sysv/linux/linkat.c: Do not include
34766 <kernel-features.h>.
34767 (linkat) [__NR_linkat]: Make code unconditional.
34768 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34769 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34770 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34771 <kernel-features.h>.
34772 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34773 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34774 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34775 <kernel-features.h>.
34776 (mkdirat) [__NR_mkdirat]: Make code unconditional.
34777 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34778 * sysdeps/unix/sysv/linux/openat.c: Do not include
34779 <kernel-features.h>.
34780 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34781 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34782 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34783 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34784 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34785 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34786 <kernel-features.h>.
34787 (readlinkat) [__NR_readlinkat]: Make code unconditional.
34788 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
34789 result of INLINE_SYSCALL directly, not via int variable.
34790 * sysdeps/unix/sysv/linux/renameat.c: Do not include
34791 <kernel-features.h>.
34792 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34793 (renameat) [__NR_renameat]: Make code unconditional.
34794 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34795 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34796 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34797 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34798 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34799 (__ASSUME_ATFCTS): Do not undefine and redefine.
34800 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34801 <kernel-features.h>.
34802 (symlinkat) [__NR_symlinkat]: Make code unconditional.
34803 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34804 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34805 <kernel-features.h>.
34806 (unlinkat) [__NR_unlinkat]: Make code unconditional.
34807 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34808 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34809 (__ASSUME_ATFCTS): Do not undefine and redefine.
34810 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34811 <kernel-features.h>.
34812 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34813 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34814 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34815 <kernel-features.h>.
34816 (__xmknodat) [__NR_mknodat]: Make code unconditional.
34817 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34818
34819 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
34820
34821 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34822
34823 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
34824
34825 [BZ #17069]
34826 * posix/regcomp.c (parse_reg_exp): Deallocate partially
34827 constructed tree before returning error.
34828 * posix/bug-regexp36.c: Expand test case.
34829
34830 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
34831
34832 [BZ #6803]
34833 * math/libm-test.inc (scalbln_test_date):
34834 Add errno expectations.
34835 * math/w_scalblnf.c: New File.
34836 Add wrapper which checks for setting errno to ERANGE.
34837 Add weak_alias for corresponding scalbln function.
34838 * math/w_scalbln.c: Likewise.
34839 * math/w_scalblnl.c: Likewise.
34840 * math/Makefile (libm-calls): Add w_scalbln.
34841 * sysdeps/ieee754/flt-32/s_scalblnf.c:
34842 Remove weak_alias for corresponding scalbln function.
34843 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34844 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34847 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34848 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34849 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34850 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34851 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34852 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34853 Remove long_double_symbol for scalblnl function in libm, libc.
34854 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34855 Add wrapper which checks for setting errno to ERANGE.
34856 Add long_double_symbol for scalblnl function in libm, libc.
34857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34858 Remove long_double_symbol for scalblnl in libm.
34859 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34860 Add wrapper which checks for setting errno to ERANGE.
34861 Add long_double_symbol for scalblnl function in libm.
34862 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34863 Do not use wrapper because of own implementation.
34864
34865 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
34866
34867 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34868 3 bytes for __pad1 for x32.
34869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34870
34871 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
34872 H.J. Lu <hongjiu.lu@intel.com>
34873
34874 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34875 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34876 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34877 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34878 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34879
34880 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
34881
34882 [BZ #17069]
34883 * posix/regcomp.c (parse_expression): Deallocate partially
34884 constructed tree before returning error.
34885 * posix/Makefile.c (tests): Add bug-regex36.
34886 (generated): Add bug-regex36.mtrace.
34887 (tests-special): Add $(objpfx)bug-regex36-mem.out
34888 (bug-regex36-ENV): New variable.
34889 ($(objpfx)bug-regex36-mem.out): New rule.
34890 * posix/bug-regex36.c: New file.
34891
34892 2014-06-19 Will Newton <will.newton@linaro.org>
34893
34894 * malloc/malloc.c (systrim): If extra is zero then return
34895 early.
34896
34897 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34898
34899 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34900
34901 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
34902
34903 * sysdeps/aarch64/strchr.S: New file.
34904
34905 2014-06-18 Joseph Myers <joseph@codesourcery.com>
34906
34907 [BZ #17022]
34908 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34909 from arguments -2 or below.
34910 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34911 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34912
34913 2014-06-18 Andreas Schwab <schwab@suse.de>
34914
34915 [BZ #17062]
34916 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34917 of a bracket expr not to run off the end of the string.
34918 * posix/Makefile (tests): Add tst-fnmatch3.
34919 * posix/tst-fnmatch3.c: New file.
34920
34921 2014-06-18 Joseph Myers <joseph@codesourcery.com>
34922
34923 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34924 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34925 [$(cross-compiling) = no]: Likewise.
34926 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34927 [$(cross-compiling) = no]: Likewise.
34928
34929 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34930
34931 [BZ #17031]
34932 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34933 double, adjusted for any remainder from the high double.
34934 * math/libm-test.inc (nearbyint): Add tests.
34935 (rint): Likewise.
34936
34937 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34938
34939 * nptl/sysdeps/powerpc/Makefile: Moved ...
34940 * sysdeps/powerpc/nptl/Makefile: ... here.
34941 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34942 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34943 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34944 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34945 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34946 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34947 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34948 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34949 * nptl/sysdeps/powerpc/tls.h: Moved ...
34950 * sysdeps/powerpc/nptl/tls.h: ... here.
34951
34952 2014-06-16 Joseph Myers <joseph@codesourcery.com>
34953
34954 [BZ #16681]
34955 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34956 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34957 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34958 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34959 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34960 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34961 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34962 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34963 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34964
34965 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
34966
34967 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34968
34969 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
34970
34971 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34972 defined operator.
34973
34974 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34975 $TIMEOUTFACTOR.
34976
34977 2014-06-16 Florian Weimer <fweimer@redhat.com>
34978
34979 [BZ #17058]
34980 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34981 non-executed part of the test.
34982
34983 2014-06-16 Andreas Schwab <schwab@suse.de>
34984
34985 * string/bits/string2.h (strdup, strndup): Update feature guard.
34986
34987 2014-06-14 David S. Miller <davem@davemloft.net>
34988
34989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34990
34991 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
34992
34993 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34994 that was previously under [RESET_PID].
34995 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34996
34997 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34998 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34999 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35000 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35001 (__libc_vfork): New strong alias.
35002 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35003
35004 2014-06-14 Andi Kleen <ak@linux.intel.com>
35005
35006 * sysdeps/generic/elide.h: New file.
35007
35008 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
35009
35010 * Makefile (installed-headers): Adjust path of pthread.h header.
35011
35012 2014-06-13 Roland McGrath <roland@hack.frob.com>
35013
35014 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35015 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35016 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35017 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35018
35019 * nptl/sysdeps/s390/Makefile: Moved ...
35020 * sysdeps/s390/nptl/Makefile: ... here.
35021 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35022 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35023 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35024 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35025 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35026 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35027 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35028 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35029 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35030 * sysdeps/s390/nptl/pthreaddef.h: ... here.
35031 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35032 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35033 * nptl/sysdeps/s390/tls.h: Moved ...
35034 * sysdeps/s390/nptl/tls.h: ... here.
35035
35036 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35037 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35038
35039 2014-06-13 David S. Miller <davem@davemloft.net>
35040
35041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35044 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35048 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35049 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35050 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35051 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35052 Remove RESET_PID cpp guards.
35053 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35054 Remove RESET_PID cpp guards.
35055 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35056
35057 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
35058
35059 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35060 __sp to uintptr_t.
35061
35062 2014-06-13 Andi Kleen <ak@linux.intel.com>
35063
35064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35065 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35066 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35067 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35068 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35069 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35070 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35071 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35072 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35073 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35074 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35075 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35076 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35078 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35079 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35080 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35081 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35082 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35083 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35084
35085 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35086 (pthread_rwlock_rdlock): Add elision.
35087 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35088 (pthread_rwlock_wrlock): Add elision.
35089 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35090 (pthread_rwlock_trywrlock): Add elision.
35091 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35092 (pthread_rwlock_tryrdlock): Add elision.
35093 * nptl/pthread_rwlock_unlock.c: Include elide.h.
35094 (pthread_rwlock_tryrdlock): Add elision unlock.
35095 * nptl/sysdeps/pthread/pthread.h:
35096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35097 (PTHREAD_RWLOCK_INITIALIZER,
35098 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35099 Handle new elision field.
35100 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35101 * sysdeps/arm/nptl/bits/pthreadtypes.h
35102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35103 * sysdeps/sh/nptl/bits/pthreadtypes.h
35104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35105 * sysdeps/tile/nptl/bits/pthreadtypes.h
35106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35107 * sysdeps/a/nptl/bits/pthreadtypes.h
35108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35109 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35111 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35113 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35115 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35117 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35119 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35121 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35122 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35123 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35125 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35126 (elision_init): Set try_xbegin to zero when no RTM.
35127 * sysdeps/x86/nptl/bits/pthreadtypes.h
35128 (pthread_rwlock_t): Change __pad1 to __rwelision.
35129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35130
35131 2014-06-13 Andi Kleen <ak@linux.intel.com>
35132
35133 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35134 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35135 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35136 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35137
35138 2014-06-13 Meador Inge <meadori@codesourcery.com>
35139
35140 [BZ #16996]
35141 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35142 that the cached result has been set before returning it.
35143
35144 2014-06-12 Roland McGrath <roland@hack.frob.com>
35145
35146 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35147 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35148 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35149 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35150 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35151 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35152
35153 * nptl/sysdeps/sparc/Makefile: Moved ...
35154 * sysdeps/sparc/nptl/Makefile: ... here.
35155 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35156 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35157 * nptl/sysdeps/sparc/tls.h: Moved ...
35158 * sysdeps/sparc/nptl/tls.h: ... here.
35159 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35160 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35161 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35162 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35163 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35164 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35165 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35166 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35167 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35168 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35169 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35170 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35171 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35172 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35173 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35174 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35175 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35177 Update #include.
35178 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35180 Update #include.
35181 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35183 Update #include.
35184 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35185 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35186 Update #include.
35187
35188 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35189
35190 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35191 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35192
35193 * sysdeps/pthread/posix-timer.h: Include <list.h>.
35194 (struct list_links): Type removed.
35195 (struct thread_node, struct timer_node): Replace struct list_links
35196 with struct list_head.
35197 (list_unlink_ip): Likewise.
35198 * sysdeps/pthread/timer_routines.c
35199 (timer_free_list, thread_free_list, thread_active_list): Likewise.
35200 (list_append, list_insbefore): Likewise.
35201 (list_init): Function removed.
35202 (thread_init, init_module): Use INIT_LIST_HEAD instead.
35203 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35204 * sysdeps/pthread/Makefile: ... here, new file.
35205
35206 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35207 * sysdeps/nptl/Implies: ... here.
35208 * sysdeps/unix/sysv/linux/Implies: Add nptl.
35209 * nptl/sysdeps/pthread/list.h: Moved ...
35210 * include/list.h: ... here.
35211 * nptl/sysdeps/pthread/createthread.c: Moved ...
35212 * nptl/createthread.c: ... here.
35213 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35214 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35215 * nptl/pt-longjmp.c: ... here.
35216 * nptl/sysdeps/pthread/Makefile: Moved ...
35217 * sysdeps/nptl/Makefile: ... here.
35218 * nptl/sysdeps/pthread/Subdirs: Moved ...
35219 * sysdeps/nptl/Subdirs: ... here.
35220 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35221 * sysdeps/nptl/aio_misc.h: ... here.
35222 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35223 * sysdeps/nptl/bits/libc-lock.h: ... here.
35224 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35225 * sysdeps/nptl/bits/libc-lockP.h: ... here.
35226 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35227 * sysdeps/nptl/bits/stdio-lock.h: ... here.
35228 * nptl/sysdeps/pthread/configure: Moved ...
35229 * sysdeps/nptl/configure: ... here.
35230 * nptl/sysdeps/pthread/configure.ac: Moved ...
35231 * sysdeps/nptl/configure.ac: ... here.
35232 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35233 * sysdeps/nptl/gai_misc.h: ... here.
35234 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35235 * sysdeps/nptl/librt-cancellation.c: ... here.
35236 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35237 * sysdeps/nptl/malloc-machine.h: ... here.
35238 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35239 * sysdeps/nptl/pthread-functions.h: ... here.
35240 * nptl/sysdeps/pthread/pthread.h: Moved ...
35241 * sysdeps/nptl/pthread.h: ... here.
35242 * nptl/sysdeps/pthread/setxid.h: Moved ...
35243 * sysdeps/nptl/setxid.h: ... here.
35244 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35245 * sysdeps/nptl/sigfillset.c: ... here.
35246 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35247 * sysdeps/nptl/tcb-offsets.h: ... here.
35248 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35249 * sysdeps/nptl/tst-mqueue8x.c: ... here.
35250 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35251 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35252 * nptl/sysdeps/pthread/allocalim.h: Moved ...
35253 * sysdeps/pthread/allocalim.h: ... here.
35254 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35255 * sysdeps/pthread/bits/sigthread.h: ... here.
35256 * nptl/sysdeps/pthread/flockfile.c: Moved ...
35257 * sysdeps/pthread/flockfile.c: ... here.
35258 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35259 * sysdeps/pthread/ftrylockfile.c: ... here.
35260 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35261 * sysdeps/pthread/funlockfile.c: ... here.
35262 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35263 * sysdeps/pthread/posix-timer.h: ... here.
35264 * nptl/sysdeps/pthread/timer_create.c: Moved ...
35265 * sysdeps/pthread/timer_create.c: ... here.
35266 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35267 * sysdeps/pthread/timer_delete.c: ... here.
35268 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35269 * sysdeps/pthread/timer_getoverr.c: ... here.
35270 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35271 * sysdeps/pthread/timer_gettime.c: ... here.
35272 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35273 * sysdeps/pthread/timer_routines.c: ... here.
35274 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35275 * sysdeps/pthread/timer_settime.c: ... here.
35276 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35277 * sysdeps/pthread/tst-timer.c: ... here.
35278 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35279 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35280
35281 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35282 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35283
35284 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35285 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35286 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35287 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35288 Update #include target.
35289 * nptl/sysdeps/i386/i686/Makefile: Moved ...
35290 * sysdeps/i386/i686/nptl/Makefile: ... here.
35291 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35292 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35293 Update #include target.
35294 * nptl/sysdeps/i386/i686/tls.h: Moved ...
35295 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
35296 * nptl/sysdeps/i386/Makefile: Moved ...
35297 * sysdeps/i386/nptl/Makefile: ... here.
35298 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35299 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35300 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35301 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35302 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35303 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35304 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35305 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35306 * sysdeps/i386/nptl/pthreaddef.h: ... here.
35307 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35308 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35309 * nptl/sysdeps/i386/tls.h: Moved ...
35310 * sysdeps/i386/nptl/tls.h: ... here.
35311
35312 * sysdeps/sh/Makefile [$(subdir) = csu]
35313 (gen-as-const-headers): Add tcb-offsets.sym.
35314 * nptl/sysdeps/sh/Makefile: File removed.
35315 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35316 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35317 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35318 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35319 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35320 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35321 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35322 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35323 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35324 * sysdeps/sh/nptl/pthreaddef.h: ... here.
35325 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35326 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35327 * nptl/sysdeps/sh/tls.h: Moved ...
35328 * sysdeps/sh/nptl/tls.h: ... here.
35329 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35330 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35331 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35332 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35333 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35334 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35335 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35336 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35337 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35338 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35340 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35342 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35344 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35346 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35348 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35349 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35350 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35354 Moved ...
35355 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35357 Moved ...
35358 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35359 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35360 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35361 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35363 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35364 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35365 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35366 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35367 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35368 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35369 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35370 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35371 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35372 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35373 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35374 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35375 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35376 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35377
35378 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
35379
35380 * posix/spawn_faction_addopen.c: Include string.h.
35381
35382 2014-06-11 Roland McGrath <roland@hack.frob.com>
35383
35384 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35385 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35386 * nptl/sysdeps/x86_64/Makefile: Moved ...
35387 * sysdeps/x86_64/nptl/Makefile: ... here.
35388 * nptl/sysdeps/x86_64/configure: Moved ...
35389 * sysdeps/x86_64/nptl/configure: ... here.
35390 * nptl/sysdeps/x86_64/configure.ac: Moved ...
35391 * sysdeps/x86_64/nptl/configure.ac: ... here.
35392 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35393 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35394 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35395 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35396 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35397 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35398 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35399 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35400 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35401 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35402 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35403 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35404 * nptl/sysdeps/x86_64/tls.h: Moved ...
35405 * sysdeps/x86_64/nptl/tls.h: ... here.
35406 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35407 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35408 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35409 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35410
35411 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35412
35413 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35414
35415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35416
35417 2014-06-11 Joseph Myers <joseph@codesourcery.com>
35418
35419 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35420 type.
35421 [POSIX] (off_t): Likewise.
35422 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35423 [POSIX] (S_ISBLK): Require macro.
35424 [POSIX] (S_ISCHR): Likewise.
35425 [POSIX] (S_ISDIR): Likewise.
35426 [POSIX] (S_ISFIFO): Likewise.
35427 [POSIX] (S_ISREG): Likewise.
35428 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35429 optional-macro.
35430 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35431 type.
35432 [POSIX] (time_t): Likewise.
35433 [POSIX] (timer_t): Likewise.
35434
35435 2014-06-11 Florian Weimer <fweimer@redhat.com>
35436
35437 [BZ #17048]
35438 * posix/spawn_int.h (struct __spawn_action): Make the path string
35439 non-const to support deallocation.
35440 * posix/spawn_faction_addopen.c
35441 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35442 * posix/spawn_faction_destroy.c
35443 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
35444 path in all spawn_do_open actions.
35445 * posix/tst-spawn.c (do_test): Exercise the copy operation in
35446 posix_spawn_file_actions_addopen.
35447
35448 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
35449
35450 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35451 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35452 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35453 conditional code always true.
35454 (__libc_vfork): New alias.
35455
35456 2014-06-11 Roland McGrath <roland@hack.frob.com>
35457
35458 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35459 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35460
35461 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35462
35463 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35464 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35465
35466 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35467 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35468
35469 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35470 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35471
35472 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35473
35474 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35475 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35476 multiarch strcmp for PPC64.
35477 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35478 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35480 multiarch optimizations.
35481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35482 (__libc_ifunc_impl_list): Likewise.
35483
35484 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35485
35486 * benchtests/scripts/validate_benchout.py: New script.
35487 * benchtests/Makefile (bench-func): Call it.
35488 * benchtests/scripts/benchout.schema.json: New file.
35489
35490 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
35491
35492 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35493 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35494 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35495 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35496 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35497 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35498 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35499 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35500 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35501 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35502 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35503 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35504 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35505 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35506 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35507 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35509 Moved ...
35510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35511 ... here.
35512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35513 Moved ...
35514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35516 Moved ...
35517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35518 ... here.
35519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35520 Moved ...
35521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35522 ... here.
35523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35524 Moved ...
35525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35527 Moved ...
35528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35529 ... here.
35530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35531 Moved ...
35532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35533 ... here.
35534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35535 Moved ...
35536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35538 Moved ...
35539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35540 ... here.
35541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35542 Moved ...
35543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35544 ... here.
35545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35546 Moved ...
35547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35548 ... here.
35549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35550 Moved ...
35551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35553 Moved ...
35554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35555 ... here.
35556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35557 Moved ...
35558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35559 ... here.
35560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35561 Moved ...
35562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35563 ... here.
35564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35565 Moved ...
35566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35568 Moved ...
35569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35570 ... here.
35571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35572 Moved ...
35573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35574 ... here.
35575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35576 Moved ...
35577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35579 Moved ...
35580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35581 ... here.
35582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35583 Moved ...
35584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35586 Moved ...
35587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35589 Moved ...
35590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35591 ... here.
35592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35593 Moved ...
35594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35595 ... here.
35596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35597 Moved ...
35598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35599 ... here.
35600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35601 Moved ...
35602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35604 Moved ...
35605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35606 ... here.
35607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35608 Moved ...
35609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35610 ... here.
35611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35612 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35614 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35616 Moved ...
35617 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35618 ... here.
35619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35620 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35622 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35624 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35626 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35628 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35630 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35632 Moved ...
35633 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35635 Moved ...
35636 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35637 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35638 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35640 Moved ...
35641 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35643 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35644 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35645 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35646 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35647 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35648
35649 2014-06-10 Wilco <wdijkstr@arm.com>
35650
35651 * math/test-fenv-return.c: New file.
35652 * math/Makefile: Add new test test-fenv-return.
35653
35654 2014-06-10 Joseph Myers <joseph@codesourcery.com>
35655
35656 [BZ #17042]
35657 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35658 when x - 1 is zero.
35659 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35660 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35661 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35662 0.0L for an argument of 1.0L.
35663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35664 Likewise.
35665 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35666 value when x - 1 is zero.
35667 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35668 * sysdeps/i386/fpu/libm-test-ulps: Update.
35669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35670
35671 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
35672
35673 [BZ #15119]
35674 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35675
35676 2014-06-09 Roland McGrath <roland@hack.frob.com>
35677
35678 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35679 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35680
35681 2014-06-09 Roland McGrath <roland@hack.frob.com>
35682
35683 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35684 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35685
35686 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35687 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35688
35689 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35690 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35691
35692 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35693 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35694
35695 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35696 if not already defined.
35697 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35698 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35699 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35700 (TLS_INIT_TP): Use it.
35701 (TLS_DEFINE_INIT_TP): New macro.
35702 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35703
35704 2014-06-09 Joseph Myers <joseph@codesourcery.com>
35705
35706 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35707 constant.
35708 [POSIX] (IXANY): Likewise.
35709 [POSIX] (OLCUC): Likewise.
35710 [POSIX || POSIX2008] (CBAUD): Do not allow.
35711 [POSIX || POSIX2008] (DEFECHO): Likewise.
35712 [POSIX || POSIX2008] (ECHOCTL): Likewise.
35713 [POSIX || POSIX2008] (ECHOKE): Likewise.
35714 [POSIX || POSIX2008] (ECHOPRT): Likewise.
35715 [POSIX || POSIX2008] (EXTA): Likewise.
35716 [POSIX || POSIX2008] (EXTB): Likewise.
35717 [POSIX || POSIX2008] (FLUSHO): Likewise.
35718 [POSIX || POSIX2008] (LOBLK): Likewise.
35719 [POSIX || POSIX2008] (PENDIN): Likewise.
35720 [POSIX || POSIX2008] (SWTCH): Likewise.
35721 [POSIX || POSIX2008] (VDISCARD): Likewise.
35722 [POSIX || POSIX2008] (VDSUSP): Likewise.
35723 [POSIX || POSIX2008] (VLNEXT): Likewise.
35724 [POSIX || POSIX2008] (VREPRINT): Likewise.
35725 [POSIX || POSIX2008] (VSTATUS): Likewise.
35726 [POSIX || POSIX2008] (VWERASE): Likewise.
35727 (B*): Change to B[0123456789]*.
35728 * conform/data/time.h-data [POSIX || UNIX98]
35729 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35730 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35731 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35732 [POSIX] (tm_*): Do not allow.
35733
35734 2014-06-07 Joseph Myers <joseph@codesourcery.com>
35735
35736 * Makefile (install): Don't set LANGUAGE.
35737 * Makefile.in (install): Likewise.
35738 * assert/Makefile (test-assert-ENV): Remove variable.
35739 (test-assert-perr-ENV): Likewise.
35740 * elf/Makefile (neededtest4-ENV): Likewise.
35741 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35742 [$(cross-compiling) = no]: Don't set LANGUAGE.
35743 * io/ftwtest-sh (LANG): Remove variable.
35744 * libio/Makefile (tst-widetext-ENV): Likewise.
35745 * manual/install.texi (Running make install): Don't refer to
35746 environment settings for make install.
35747 * INSTALL: Regenerated.
35748 * nptl/tst-tls6.sh: Don't set LANG.
35749 * posix/globtest.sh (LANG): Remove variable.
35750 * string/Makefile (tester-ENV): Likewise.
35751 (inl-tester-ENV): Likewise.
35752 (noinl-tester-ENV): Likewise.
35753 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35754 [$(cross-compiling) = no]: Don't set LANGUAGE.
35755 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35756 without explicit environment settings.
35757
35758 2014-06-06 Roland McGrath <roland@hack.frob.com>
35759
35760 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35761 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35762 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35763 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35764
35765 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
35766
35767 * crypt/crypt-private.h [DOS]: Add some includes taken from the
35768 other files in the crypt directory.
35769 * crypt/crypt.c: Remove duplicate includes.
35770 * crypt/crypt-entry.c: Likewise.
35771 * crypt/crypt_util.c: Likewise.
35772
35773 2014-06-06 Joseph Myers <joseph@codesourcery.com>
35774
35775 * Makeconfig (run-program-env): New variable.
35776 (run-program-prefix-before-env): Likewise.
35777 (run-program-prefix-after-env): Likewise.
35778 (run-program-prefix): Define in terms of new variables.
35779 (built-program-cmd-before-env): New variable.
35780 (built-program-cmd-after-env): Likewise.
35781 (built-program-cmd): Define in terms of new variables.
35782 (test-program-prefix-before-env): New variable.
35783 (test-program-prefix-after-env): Likewise.
35784 (test-program-prefix): Define in terms of new variables.
35785 (test-program-cmd-before-env): New variable.
35786 (test-program-cmd-after-env): Likewise.
35787 (test-program-cmd): Define in terms of new variables.
35788 * Rules (make-test-out): Use $(run-program-env).
35789 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35790 (help): Do not mention environment variables. Mention
35791 --timeoutfactor option.
35792 (timeoutfactor): New variable.
35793 (blacklist_exports): Remove function.
35794 (exports): Remove variable.
35795 (command): Do not include ${exports}.
35796 * manual/install.texi (Configuring and compiling): Do not mention
35797 test wrappers preserving environment variables. Mention that last
35798 assignment to a variable must take precedence.
35799 * INSTALL: Regenerated.
35800 * benchtests/Makefile (run-bench): Use $(run-program-env).
35801 * catgets/Makefile ($(objpfx)test1.cat): Use
35802 $(built-program-cmd-before-env), $(run-program-env) and
35803 $(built-program-cmd-after-env).
35804 ($(objpfx)test2.cat): Do not specify environment variables
35805 explicitly.
35806 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35807 $(run-program-env) and $(built-program-cmd-after-env).
35808 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35809 $(run-program-env) and $(test-program-cmd-after-env).
35810 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35811 explicitly.
35812 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35813 run_program_env and test_program_cmd_after_env arguments.
35814 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35815 * elf/tst-pathopt.sh: Use run_program_env argument.
35816 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35817 $(test-wrapper-env) and $(run-program-env).
35818 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35819 run_program_env arguments.
35820 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35821 * intl/Makefile ($(objpfx)tst-gettext.out): Use
35822 $(test-program-prefix-before-env), $(run-program-env) and
35823 $(test-program-prefix-after-env).
35824 ($(objpfx)tst-gettext2.out): Likewise.
35825 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35826 run_program_env and test_program_prefix_after_env arguments.
35827 * intl/tst-gettext2.sh: Likewise.
35828 * intl/tst-gettext4.sh: Do not set environment variables
35829 explicitly.
35830 * intl/tst-gettext6.sh: Likewise.
35831 * intl/tst-translit.sh: Likewise.
35832 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35833 $(test-program-prefix-before-env), $(run-program-env) and
35834 $(test-program-prefix-after-env).
35835 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35836 run_program_env and test_program_prefix_after_env arguments.
35837 * math/Makefile (run-regen-ulps): Use $(run-program-env).
35838 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35839 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
35840 explicitly with each use of ${test_wrapper_env}.
35841 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35842 $(test-program-prefix-before-env), $(run-program-env) and
35843 $(test-program-prefix-after-env).
35844 * posix/tst-getconf.sh: Do not set environment variables
35845 explicitly.
35846 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35847 run_program_env and test_program_prefix_after_env arguments.
35848 * stdio-common/tst-printf.sh: Do not set environment variables
35849 explicitly.
35850 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35851 $(test-program-prefix-before-env), $(run-program-env) and
35852 $(test-program-prefix-after-env).
35853 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35854 run_program_env and test_program_prefix_after_env arguments.
35855 Split $test calls into $test_pre and $test.
35856 * timezone/Makefile (build-testdata): Use
35857 $(built-program-cmd-before-env), $(run-program-env) and
35858 $(built-program-cmd-after-env).
35859
35860 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35861
35862 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35863 strlen for non SHARED builds.
35864
35865 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35866
35867 * nptl/allocatestack.c (check_list): Inlined function...
35868 (__reclaim_stacks): ... here.
35869
35870 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
35871
35872 [BZ #15698]
35873 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35874 memory overrun.
35875
35876 2014-06-05 Joseph Myers <joseph@codesourcery.com>
35877
35878 * Rules (make-test-out): Include
35879 LOCPATH=$(common-objpfx)localedata in default environment.
35880 * debug/Makefile (tst-chk1-ENV): Remove variable.
35881 (tst-chk2-ENV): Likewise.
35882 (tst-chk3-ENV): Likewise.
35883 (tst-chk4-ENV): Likewise.
35884 (tst-chk5-ENV): Likewise.
35885 (tst-chk6-ENV): Likewise.
35886 (tst-lfschk1-ENV): Likewise.
35887 (tst-lfschk2-ENV): Likewise.
35888 (tst-lfschk3-ENV): Likewise.
35889 (tst-lfschk4-ENV): Likewise.
35890 (tst-lfschk5-ENV): Likewise.
35891 (tst-lfschk6-ENV): Likewise.
35892 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35893 (tst-iconv7-ENV): Likewise.
35894 * intl/Makefile (LOCPATH-ENV): Likewise.
35895 (tst-codeset-ENV): Likewise.
35896 (tst-gettext3-ENV): Likewise.
35897 (tst-gettext5-ENV): Likewise.
35898 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35899 (tst-fopenloc-ENV): Likewise.
35900 (tst-fgetws-ENV): Remove variable.
35901 (tst-ungetwc1-ENV): Likewise.
35902 (tst-ungetwc2-ENV): Likewise.
35903 (bug-ungetwc2-ENV): Likewise.
35904 (tst-swscanf-ENV): Likewise.
35905 (bug-ftell-ENV): Likewise.
35906 (tst-fgetwc-ENV): Likewise.
35907 (tst-fseek-ENV): Likewise.
35908 (tst-ftell-partial-wide-ENV): Likewise.
35909 (tst-ftell-active-handler-ENV): Likewise.
35910 (tst-ftell-append-ENV): Likewise.
35911 * posix/Makefile (tst-fnmatch-ENV): Likewise.
35912 (tst-regexloc-ENV): Likewise.
35913 (bug-regex1-ENV): Likewise.
35914 (tst-regex-ENV): Likewise.
35915 (tst-regex2-ENV): Likewise.
35916 (bug-regex5-ENV): Likewise.
35917 (bug-regex6-ENV): Likewise.
35918 (bug-regex17-ENV): Likewise.
35919 (bug-regex18-ENV): Likewise.
35920 (bug-regex19-ENV): Likewise.
35921 (bug-regex20-ENV): Likewise.
35922 (bug-regex22-ENV): Likewise.
35923 (bug-regex23-ENV): Likewise.
35924 (bug-regex25-ENV): Likewise.
35925 (bug-regex26-ENV): Likewise.
35926 (bug-regex30-ENV): Likewise.
35927 (bug-regex32-ENV): Likewise.
35928 (bug-regex33-ENV): Likewise.
35929 (bug-regex34-ENV): Likewise.
35930 (bug-regex35-ENV): Likewise.
35931 (tst-rxspencer-ENV): Likewise.
35932 (tst-rxspencer-no-utf8-ENV): Likewise.
35933 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35934 (tst-sscanf-ENV): Likewise.
35935 (tst-swprintf-ENV): Likewise.
35936 (tst-swscanf-ENV): Likewise.
35937 (test-vfprintf-ENV): Likewise.
35938 (scanf13-ENV): Likewise.
35939 (bug14-ENV): Likewise.
35940 (tst-grouping-ENV): Likewise.
35941 * stdlib/Makefile (tst-strtod-ENV): Likewise.
35942 (tst-strtod3-ENV): Likewise.
35943 (tst-strtod4-ENV): Likewise.
35944 (tst-strtod5-ENV): Likewise.
35945 (testmb2-ENV): Likewise./
35946 * string/Makefile (tst-strxfrm-ENV): Likewise.
35947 (tst-strxfrm2-ENV): Likewise.
35948 (bug-strcoll1-ENV): Likewise.
35949 (test-strcasecmp-ENV): Likewise.
35950 (test-strncasecmp-ENV): Likewise.
35951 * time/Makefile (tst-strptime-ENV): Likewise.
35952 (tst-ftime_l-ENV): Likewise.
35953 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35954 (tst-mbrtowc-ENV): Likewise.
35955 (tst-wcrtomb-ENV): Likewise.
35956 (tst-mbrtowc2-ENV): Likewise.
35957 (tst-c16c32-1-ENV): Likewise.
35958 (tst-mbsnrtowcs-ENV): Likewise.
35959
35960 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
35961
35962 * manual/resource.texi (How to get information about the memory
35963 subsystem?): Fix typo.
35964 Reported by Peon de la Parra Ivan <peon@keba.com>
35965
35966 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
35967
35968 [BZ #16882]
35969 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35970 (pthread_spin_lock): Branch out of spin loop to proper location.
35971 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35972 (pthread_spin_lock): Likewise.
35973
35974 * nptl/tst-spin4.c: New test.
35975 * nptl/Makefile (tests): Add tst-spin4.
35976
35977 2014-06-03 Andreas Schwab <schwab@suse.de>
35978
35979 [BZ #15946]
35980 * resolv/res_send.c (send_dg): Reload file descriptor after
35981 calling reopen.
35982
35983 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
35984
35985 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35986
35987 2014-06-03 Richard Henderson <rth@redhat.com>
35988
35989 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35990 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35991 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35992 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
35993 in the SAVE_PID block.
35994 (__libc_vfork): New alias.
35995 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35996
35997 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35998 child in registers, not on the stack. Remove RESET_PID conditionals.
35999 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36000
36001 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
36002
36003 * sysdeps/aarch64/libm-test-ulps: Regenerate.
36004
36005 2014-06-03 Wilco <wdijkstr@arm.com>
36006
36007 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36008 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36009 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36010 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36011 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36012 Likewise.
36013
36014 2014-06-03 Wilco <wdijkstr@arm.com>
36015
36016 * sysdeps/aarch64/fpu/math_private.h
36017 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36018 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36019 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36020 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36021 Fix declarations.
36022
36023 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36024
36025 * crypt/crypt-private.h: Include ufc-crypt.h.
36026 (__b64_from_24bit): Declare extern.
36027 * crypt/crypt_util.c(__b64_from_24bit): New function.
36028 (b64t): New static const variable.
36029 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36030 (b64t): Remove variable.
36031 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36032 * crypt/sha256-crypt.c: Include crypt-private.h.
36033 (b64t): Remove variable.
36034 (__sha256_crypt_r): Remove b64_from_24bit and replace
36035 with __b64_from_24bit.
36036 * crypt/sha512-crypt.c: Likewise.
36037
36038 2014-06-02 Roland McGrath <roland@hack.frob.com>
36039
36040 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36041 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36042 Label the code __libc_vfork rather than __vfork.
36043 [!NOT_IN_libc] (vfork): Define as weak alias.
36044 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36045 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36046 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36047
36048 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36049
36050 * malloc/malloc.c (malloc_info): Fix format specifier for
36051 n_mmaps.
36052
36053 2014-06-02 Wilco <wdijkstr@arm.com>
36054
36055 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36056 FPCR write.
36057
36058 2014-06-02 Wilco <wdijkstr@arm.com>
36059
36060 [BZ #17009]
36061 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36062 Rewrite to reduce FPCR/FPSR accesses.
36063
36064 2014-06-01 David S. Miller <davem@davemloft.net>
36065
36066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36067
36068 2014-05-31 David S. Miller <davem@davemloft.net>
36069
36070 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36071 to occur in round to nearest mode when |x| >= 2.0
36072
36073 2014-05-30 Richard Henderson <rth@twiddle.net>
36074
36075 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36076 (PSEUDO_RET_NOERRNO): Remove.
36077 (ret): Don't redefine.
36078 (ret_NOERRNO): Define in terms of ret.
36079 (ret_ERRVAL): Likewise.
36080
36081 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36082 use of PSEUDO_RET; perform the error check directly.
36083
36084 2014-05-30 Marko Myllynen <myllynen@redhat.com>
36085
36086 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36087 with __int128_t.
36088
36089 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36090
36091 * malloc/malloc (malloc_info): Fix formatting.
36092
36093 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36094 Roland McGrath <roland@hack.frob.com>
36095
36096 * malloc/malloc (malloc_info): Also print mmapped statistics.
36097
36098 2014-05-30 Roland McGrath <roland@hack.frob.com>
36099
36100 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36101 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36102
36103 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
36104
36105 * malloc/malloc.c (malloc_info): Inline mi_arena.
36106
36107 2014-05-29 Richard Henderson <rth@twiddle.net>
36108
36109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36110 Remove comma before expanding ASM_ARGS_##nr.
36111 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36112 Make _x0 a strict output; make _x8 a strict input; adjust expansion
36113 of ASM_ARGS_##nr.
36114 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36115 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36116 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36117 (ASM_ARGS_1): Add leading comma.
36118
36119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36120 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36121 to __errno_location.
36122 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36123 Remove the expected plt for __errno_location.
36124
36125 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36126 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36127 call to __read_tp.
36128
36129 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36130 Always allocate 64 bytes of stack frame. Use ldp/stp to create
36131 it and break it down.
36132 (DOCARGS_0, DOCARGS_1): Do nothing.
36133 (DOCARGS_2): Update to store into the new stack frame.
36134 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36135 (UNDOCARGS_1): Update to restore from the new stack frame.
36136 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36137 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36138
36139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36140 (SINGLE_THREAD_P): New parameter for result regno.
36141 (PSEUDO): Update to match; use cbz instead of beq.
36142
36143 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36144 Use ENTRY to define the _nocancel entry point. Share the syscall
36145 and syscall error check paths with the cancel path.
36146 (PSEUDO_END): New.
36147
36148 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36149 whitespace; tabs before and after asm mnemonics.
36150
36151 2014-05-29 Eric Wong <normalperson@yhbt.net>
36152
36153 [BZ #15132]
36154 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36155 Call fstat64 or stat64 internally, depending on arguments passed.
36156 Replace stat buffer argument with file descriptor argument.
36157 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36158 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36159 Pass fd to __internal_statvfs instead of calling fstat64.
36160 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36161 Pass fd to __internal_statvfs64 instead of calling fstat64.
36162 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36163 Pass -1 to __internal_statvfs instead of calling stat64.
36164 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36165 Pass -1 to __internal_statvfs64 instead of calling stat64.
36166
36167 2014-05-28 Roland McGrath <roland@hack.frob.com>
36168
36169 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36170 that was previously under [RESET_PID].
36171 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36172
36173 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36174 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36175
36176 2014-05-27 Roland McGrath <roland@hack.frob.com>
36177
36178 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36179
36180 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36181 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36182
36183 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
36184
36185 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36186
36187 2014-05-27 Andreas Schwab <schwab@suse.de>
36188
36189 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36190 TLS_INIT_TP macro.
36191 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36192 * elf/rtld.c (init_tls, dl_main): Likewise.
36193 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36194 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36195 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36196 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36197 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36198 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36199 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36200 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36201 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36202 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36203 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36204 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36205 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36206 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36207 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36208 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36209 * sysdeps/generic/tls.h: Update description.
36210
36211 2014-05-27 Will Newton <will.newton@linaro.org>
36212
36213 [BZ #16990]
36214 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36215 and restore r2 rather than just restoring.
36216
36217 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36218
36219 [BZ #16724]
36220 * libio/tst-ftell-append.c: New test case.
36221 * libio/Makefile (tests): Add test case.
36222 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36223 append mode.
36224 * libio/wfileops.c (do_ftell_wide): Likewise.
36225
36226 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36227
36228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36229
36230 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36231 ...
36232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36234 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36235 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36236 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36237 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36238 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36239 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36241 Moved ...
36242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36244 Moved ...
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36246 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36247 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36248 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36249 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36250 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36251 ...
36252 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36253 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36254 Moved ...
36255 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36256 here.
36257 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36258 ...
36259 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36260 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36261 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36262
36263 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36264 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36265 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36266 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36267
36268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36269 merge into ...
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36272 ...
36273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36275 ...
36276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36278 Moved ...
36279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36280 here.
36281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36282 Moved ...
36283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36285 Moved ...
36286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36287
36288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36289 conditional [RESET_PID].
36290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36292 removed.
36293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36294 removed.
36295
36296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36297 <tcb-offsets.h>.
36298 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36299 (__libc_vfork): New strong alias.
36300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36301 removed.
36302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36303 Removed.
36304
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36306 <tcb-offsets.h>.
36307 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36308 (__libc_vfork): New strong alias.
36309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36310 removed.
36311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36312 removed.
36313
36314 2014-05-26 Carlos O'Donell <carlos@redhat.com>
36315
36316 * malloc/malloc.c (mi_arena): New function.
36317 (malloc_info): Remove nested function mi_arena. Call non-nosted
36318 function mi_arena.
36319
36320 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36321
36322 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36323 by insrwi.
36324 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36325 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36326 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36327 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36328 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36329 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36330 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36331
36332 2014-05-26 Andreas Schwab <schwab@suse.de>
36333
36334 [BZ #16984]
36335 * locale/programs/repertoire.c (repertoire_read): Add slash
36336 between I18NPATH element and file name.
36337 * locale/programs/locfile.c (locfile_read): Likewise.
36338
36339 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
36340
36341 * nptl/pthread_mutexattr_settype.c
36342 (__pthread_mutexattr_settype):
36343 Disable lock elision for PTHREAD_MUTEX_NORMAL.
36344
36345 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
36346
36347 * nptl/tst-mutex5 (do_test):
36348 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36349
36350 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36351
36352 * benchtests/README: Document 'init' directive.
36353 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36354 BENCH_INIT.
36355 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36356 (parse_file): Recognize 'init' directive.
36357
36358 2014-05-26 Kyle McMartin <kyle@redhat.com>
36359
36360 [BZ #16796]
36361 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36362 alignment of struct pthread.
36363
36364 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36365
36366 [BZ #16878]
36367 * nscd/netgroupcache.c (addgetnetgrentX): Look for
36368 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36369 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36370 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36371
36372 2014-05-25 Richard Henderson <rth@twiddle.net>
36373
36374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36375 (SINGLE_THREAD_P_PIC): Remove.
36376 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36377 (SINGLE_THREAD_P_PIC): Remove.
36378
36379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36380 branch to syscall error ...
36381 (PSEUDO): ... here.
36382 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36383 from __local_syscall_error to .Lsyscall_error.
36384 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36385 (SYSCALL_ERROR): Update label name.
36386
36387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36388 Do not use DOARGS/UNDOARGS.
36389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36390 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36391 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36392 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36393 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36394
36395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36396 block comment.
36397
36398 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36399 define if !NOT_IN_libc.
36400 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36401 define with non-default symbol versions.
36402
36403 2014-05-23 Richard Henderson <rth@twiddle.net>
36404
36405 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36406 (vfork, __vfork): Define via compat_symbol.
36407
36408 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36409 [!HAVE_IFUNC] (vfork_compat): Remove.
36410 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36411
36412 2014-05-23 Joseph Myers <joseph@codesourcery.com>
36413
36414 [BZ #16978]
36415 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36416 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36417 variable.
36418
36419 2014-05-23 Richard Henderson <rth@twiddle.net>
36420
36421 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36422 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36423 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36424 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36425
36426 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36427 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36428 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36429 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36430 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36431 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36432 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36433 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36434 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36435 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36436 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36437 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36438 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36439 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36440 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36441 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36442 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36443 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36444 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36445 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36446 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36447 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36448 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36449 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36450 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36451 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36452 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36453 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36454 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36455 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36456 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36457 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36458 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36459 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36460 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36461 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36462 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36463 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36464 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36465 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36466 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36467 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36468 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36469 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36470 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36471 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36473 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36475 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36476 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36477 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36478 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36479 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36480 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36481 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36482
36483 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36484 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36485 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
36486 before exiting on error.
36487 (__libc_vfork): New strong alias.
36488 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36489 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36490
36491 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36492 that was previously under [RESET_PID].
36493 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36494
36495 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36496
36497 2014-05-23 Joseph Myers <joseph@codesourcery.com>
36498
36499 [BZ #16977]
36500 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36501 value when x - 1 is zero.
36502 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36503 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36504 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36505 0.0L for an argument of 1.0L.
36506 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36507 Likewise.
36508 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36509 value when x - 1 is zero.
36510 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36511 * sysdeps/i386/fpu/libm-test-ulps: Update.
36512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36513
36514 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
36515
36516 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36517 alphasort and versionsort.
36518
36519 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36520
36521 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36522 macro.
36523 [copysignf]: Likewise.
36524
36525 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36526
36527 * crypt/md5-crypt.c: Fix formatting.
36528
36529 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36530
36531 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36532 (b64_from_24bit): New function.
36533
36534 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36535
36536 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36537 libc_hidden_builtin_def to ifunc.
36538 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36539 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36540
36541 2014-05-21 Roland McGrath <roland@hack.frob.com>
36542
36543 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36544 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36545
36546 2014-05-21 Joseph Myers <joseph@codesourcery.com>
36547
36548 * nscd/Depend (linuxthreads): Remove.
36549 (nptl): Add.
36550 * resolv/Depend (linuxthreads): Remove.
36551 * rt/Depend (linuxthreads): Remove.
36552
36553 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36554 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36555 $(common-objpfx)elf/.
36556 (link-libc-before-gnulib): Likewise.
36557 (elfobjdir): Remove variable.
36558 * Makefile (install): Use $(elf-objpfx) instead of
36559 $(common-objpfx)elf/.
36560 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36561 $(elfobjdir)/.
36562 (link-libc-deps): Likewise.
36563 ($(common-objpfx)libc.so): Likewise.
36564 ($(common-objpfx)linkobj/libc.so): Likewise.
36565 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36566 instead of $(common-objpfx)elf/.
36567 (symbolic-link-list): Likewise.
36568 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36569 [$(cross-compiling) = no]: Likewise.
36570 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36571 $(elfobjdir)/.
36572 (static-gnulib-arch): Likewise.
36573 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36574 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36575 $(common-objpfx)elf/.
36576
36577 2014-05-21 Richard Henderson <rth@redhat.com>
36578
36579 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36580 (SINGLE_THREAD_P): Use the correct width load. Fold
36581 into the ldr offset.
36582
36583 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36584 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36585
36586 2014-05-20 Joseph Myers <joseph@codesourcery.com>
36587
36588 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36589 (libgcc_s_resume): Use __attribute_used__.
36590 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36591 Likewise.
36592
36593 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36594
36595 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36596 optimization when used with float constants.
36597
36598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36599
36600 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
36601
36602 [BZ #16915]
36603 * locale/nl_langinfo_l.c: Make direct reference to every
36604 _nl_current_CATEGORY symbol.
36605 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36606 (tests-static): Add tst-langinfo-static.
36607 (tests-special): Add tst-langinfo-static.out.
36608 ($(objpfx)tst-langinfo.out): Redirect output.
36609 ($(objpfx)tst-langinfo-static.out): New.
36610 * localedata/tst-langinfo.sh: Send output to stdout.
36611 * localedata/tst-langinfo-static.c: New file.
36612
36613 [BZ #16965]
36614 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36615 when the shift amount is modulo the limb size.
36616
36617 2014-05-20 Richard Henderson <rth@redhat.com>
36618
36619 [BZ #16967]
36620 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36621 Change type of sa_flags from unsigned int to int.
36622
36623 [BZ #16966]
36624 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36625
36626 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36627
36628 2014-05-20 Will Newton <will.newton@linaro.org>
36629
36630 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36631 Test the return value of the system call in the nocancel case.
36632
36633 2014-05-20 Will Newton <will.newton@linaro.org>
36634 Yvan Roux <yvan.roux@linaro.org>
36635
36636 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36637 #include of asm/ptrace.h.
36638 (PTRACE_GET_THREAD_AREA): Remove #undef.
36639 (PTRACE_GETHBPREGS): Likewise.
36640 (PTRACE_SETHBPREGS): Likewise.
36641 (struct user_regs_struct): New structure.
36642 (struct user_fpsimd_struct): New structure.
36643 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36644 #include of asm/ptrace.h and second #include of sys/user.h.
36645 (PTRACE_GET_THREAD_AREA): Remove #undef.
36646 (PTRACE_GETHBPREGS): Likewise.
36647 (PTRACE_SETHBPREGS): Likewise.
36648 (ELF_NGREG): Use new struct user_regs_struct.
36649 (elf_fpregset_t): Use new struct user_fpsimd_struct.
36650
36651 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36652
36653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36654 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36655
36656 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
36657
36658 [BZ #16958]
36659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36660 membar to avoid block loads/stores to overlap previous stores.
36661
36662 2014-05-17 Richard Henderson <rth@redhat.com>
36663
36664 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36665 Create the __##syscall_name##_nocancel entry point.
36666 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36667 Remove; let the sysdep-cancel.h code create it.
36668
36669 2014-05-17 David S. Miller <davem@davemloft.net>
36670
36671 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36672 Protect with __USE_GNU.
36673 (TIOCSET_TEMPT): Likewise.
36674 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36675 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36676 these are already provided in bits/ioctl-types.h
36677
36678 2014-05-16 Roland McGrath <roland@hack.frob.com>
36679
36680 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36681 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36682
36683 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36684 Use wait4 regardless of [__NR_waitpid].
36685
36686 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
36687
36688 PR libgcc/60166
36689 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36690 (_FP_NANSIGN_Q): Set the quiet bit.
36691
36692 2014-05-16 Joseph Myers <joseph@codesourcery.com>
36693
36694 * benchtests/Makefile
36695 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36696 not $(common-objpfx)math/libm.so.
36697 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36698 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36699 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36700 $(common-objpfx)dlfcn/libdl.so.
36701 ($(objpfx)tst-audit8): Depend on $(libm), not
36702 $(common-objpfx)math/libm.so.
36703 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36704 not $(common-objpfx)dlfcn/libdl.so.
36705 * math/Makefile
36706 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36707 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
36708 [$(build-shared) = yes].
36709 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36710 $(common-objpfx)nptl/libpthread.so.
36711 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36712 $(common-objpfx)math/libm.so$(libm.so-version) or
36713 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36714 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36715 $(common-objpfx)dlfcn/libdl.so.
36716 * setjmp/Makefile (link-libm): Remove variable.
36717 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36718 * stdio-common/Makefile (link-libm): Remove variable.
36719 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36720 * stdlib/Makefile (link-libm): Remove variable.
36721 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36722 ($(objpfx)tst-strtod-round): Likewise.
36723 ($(objpfx)tst-tininess): Likewise.
36724 ($(objpfx)tst-strtod-underflow): Likewise.
36725 ($(objpfx)tst-strtod6): Likewise.
36726 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36727 $(libdl), not $(common-objpfx)nptl/libpthread.so and
36728 $(common-objpfx)dlfcn/libdl.so.
36729
36730 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36731
36732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36733 BSD terminal modes definitions.
36734
36735 2014-05-16 Roland McGrath <roland@hack.frob.com>
36736
36737 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36738 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36739
36740 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36741 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36742 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36743 Don't do #include_next.
36744 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36745 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36746 Don't do #include_next.
36747 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36748 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36749 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36750 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36751
36752 2014-05-16 Allan McRae <allan@archlinux.org>
36753
36754 * po/sv.po: Update Swedish translation from translation project.
36755
36756 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36757 in sed expression.
36758
36759 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
36760
36761 [BZ #16917]
36762 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36763 errno if the TIOCGPTN ioctl fails with an error different than
36764 EINVAL.
36765 * login/tst-ptsname.c: New file.
36766 * login/Makefile (tests): Add tst-ptsname.
36767
36768 [BZ #16943]
36769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36770 and prlimit64.
36771
36772 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36773
36774 [BZ #16849]
36775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36776 herrno to return EAI_AGAIN.
36777
36778 2014-05-14 Roland McGrath <roland@hack.frob.com>
36779
36780 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36781 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36782 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36783 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36784 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36785 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36786 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36787 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36788 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36789 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36790 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36791 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36792 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36793 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36794 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36795 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36796 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36797 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36798 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36799 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36800 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36801 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36802 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36803 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36804 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36805 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36806 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36807 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36808 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36809 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36811 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36813 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36815 Moved ...
36816 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36818 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36820 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36822 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36824 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36826 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36828 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36830 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36832 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36834 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36836 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36838 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36840 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36842 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36844 Moved ...
36845 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36847 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36849 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36851 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36853 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36855 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36857 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36859 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36861 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36863 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36865 Moved ...
36866 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36868 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36869
36870 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36871 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36872 (libpthread-sysdep_routines): Add elision-related stuff here instead.
36873 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36874 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36875 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36876 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36877 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36878 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36879 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36880 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36881 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36882 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36883 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36884 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36885 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36886 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36887 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36888 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36889 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36890 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36891 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36892 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36893 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36894 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36895 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36896 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36897 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36898 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36899 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36900 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36901
36902 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36903 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36904
36905 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36906 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36907 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36908 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36909 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36911 Moved ...
36912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36914 Moved ...
36915 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36916 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36917 Moved ...
36918 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36920 Moved ...
36921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36922 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36923 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36925 Moved ...
36926 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36927 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36928 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36929 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36930 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36931 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36932 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36933 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36934 Moved ...
36935 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36936 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36937 Moved ...
36938 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36939 ... here.
36940 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36941 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36942 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36943 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36945 Moved ...
36946 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36947 ... here.
36948 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36949 Moved ...
36950 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36951 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36952 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36953 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36954 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36956 Moved ...
36957 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36959 Moved ...
36960 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36961 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36962 Moved ...
36963 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36965 Moved ...
36966 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36967 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36968 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36970 Moved ...
36971 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36972 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36973 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36974 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36975 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36976 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36977 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36978 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36979 Moved ...
36980 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36981 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36982 Moved ...
36983 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36984 ... here.
36985 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36986 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36987 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36988 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36990 Moved ...
36991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36992 ... here.
36993 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36994 Moved ...
36995 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36996 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36997 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36998 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36999 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37000 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37001 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37002 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37003 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37005 Moved ...
37006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37008 Moved ...
37009 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37010 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37011 Moved ...
37012 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37013 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37014 Moved ...
37015 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37016 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37017 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37018 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37019 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37021 Moved ...
37022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37023 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37024 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37025 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37026 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37027 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37028 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37029 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37030 Moved ...
37031 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37033 Moved ...
37034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37035 ... here.
37036 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37037 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37038 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37039 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37040 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37041 Moved ...
37042 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37043 ... here.
37044 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37045 Moved ...
37046 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37047 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37048 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37049 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37050 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37051 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37052 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37053 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37054 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37055 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37056 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37057
37058 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37059 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37060
37061 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37062 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37063
37064 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37065 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37066 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37067 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37068 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37069 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37070 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37071 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37072 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37073 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37074 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37075 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37077 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37078 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37080 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37082 Moved ...
37083 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37085 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37087 Moved ...
37088 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37090 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37092 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37096 Moved ...
37097 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37099 Moved ...
37100 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37101 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37102 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37103 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37104 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37106 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37107 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37108 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37109 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37110 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37111 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37112 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37113 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37114 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37115 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37116 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37117
37118 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37119 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37120 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37121 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37122 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37123
37124 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37125 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37126 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37127 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37128 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37129 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37130 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37131 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37132 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37133 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37134
37135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37137
37138 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37139 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37140 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37141 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37142 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37143 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37144 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37145 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37146 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37147 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37148 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37149 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37150 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37151 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37153 Update #include.
37154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37155 Likewise.
37156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37157 Likewise.
37158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37159 Likewise.
37160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37161 Likewise.
37162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37163 Likewise.
37164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37165 Likewise.
37166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37167 Likewise.
37168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37169 Likewise.
37170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37171 Likewise.
37172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37173 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37175 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37177 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37178 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37179 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37180 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37181 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37182 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37183 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37184 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37185 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
37186 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
37187
37188 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37189 that was previously under [RESET_PID].
37190 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37191 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37192 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37193
37194 * sysdeps/i386/nptl/Implies: New file.
37195 * sysdeps/x86_64/nptl/Implies: New file.
37196 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37197 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37198 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37199 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37200
37201 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37202 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37203 (__libc_vfork): New strong alias.
37204 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37205 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37206
37207 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37208 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37209 (__libc_vfork): New strong alias.
37210 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37211 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37212
37213 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37214 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37215 (__libc_vfork): New strong alias.
37216 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37217 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37218 * nptl/pt-vfork.c: New file.
37219 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37220 (libpthread: GLIBC_2.20): New version set (empty).
37221
37222 2014-05-14 Will Newton <will.newton@linaro.org>
37223
37224 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37225 rather than #if.
37226
37227 2014-05-14 Joseph Myers <joseph@codesourcery.com>
37228
37229 [BZ #16564]
37230 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37231 arguments with exponent 65 or above.
37232 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37233 arguments 0x1p113L or above.
37234 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37235 to arguments 0x1p107L or above.
37236 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37237 positive arguments with exponent 65 or above.
37238 * math/auto-libm-test-in: Add more tests of log1p.
37239 * math/auto-libm-test-out: Regenerated.
37240
37241 [BZ #16928]
37242 * math/s_cacos.c (__cacos): Ensure zero real part of result from
37243 non-finite arguments is +0.
37244 * math/s_cacosf.c (__cacosf): Likewise.
37245 * math/s_cacosl.c (__cacosl): Likewise.
37246 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37247 * sysdeps/i386/fpu/libm-test-ulps: Update.
37248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37249
37250 [BZ #16927]
37251 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37252 value.
37253 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37254 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37255 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37256 for explicit high bit of mantissa when testing for argument equal
37257 to 1.
37258 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37259 * sysdeps/i386/fpu/libm-test-ulps: Update.
37260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37261
37262 [BZ #16516]
37263 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37264 (__erf): Scale by 16 instead of 8 in potentially underflowing
37265 case. Ensure exception if result actually underflows.
37266 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37267 (__erff): Scale by 16 instead of 8 in potentially underflowing
37268 case. Ensure exception if result actually underflows.
37269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37270 (efx8): Remove variable.
37271 (__erfl): Scale by 16 instead of 8 in potentially underflowing
37272 case. Ensure exception if result actually underflows.
37273 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37274 (efx8): Remove variable.
37275 (__erfl): Scale by 16 instead of 8 in potentially underflowing
37276 case. Ensure exception if result actually underflows.
37277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37278 (efx8): Remove variable.
37279 (__erfl): Scale by 16 instead of 8 in potentially underflowing
37280 case. Ensure exception if result actually underflows.
37281 * math/auto-libm-test-in: Add more tests of erf.
37282 * math/auto-libm-test-out: Regenerated.
37283
37284 2014-05-14 Andreas Schwab <schwab@suse.de>
37285
37286 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37287 Remove code conditionalized on USE___THREAD.
37288
37289 * config.h.in (HAVE_PT_CHOWN): Define as 0.
37290 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37291 not definedness.
37292
37293 2014-05-14 Joseph Myers <joseph@codesourcery.com>
37294
37295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37296 Define unconditionally.
37297 (__ASSUME_O_CLOEXEC): Likewise.
37298 (__ASSUME_SOCK_CLOEXEC): Likewise.
37299 (__ASSUME_IN_NONBLOCK): Likewise.
37300 (__ASSUME_PIPE2): Likewise.
37301 (__ASSUME_EVENTFD2): Likewise.
37302 (__ASSUME_SIGNALFD4): Likewise.
37303 (__ASSUME_DUP3): Likewise.
37304 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37305 (__ASSUME_DUP3): Do not define.
37306 (__ASSUME_EVENTFD2): Likewise.
37307 (__ASSUME_IN_NONBLOCK): Likewise.
37308 (__ASSUME_O_CLOEXEC): Likewise.
37309 (__ASSUME_PIPE2): Likewise.
37310 (__ASSUME_SIGNALFD4): Likewise.
37311 (__ASSUME_SOCK_CLOEXEC): Likewise.
37312 (__ASSUME_UTIMES): Undefine.
37313 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37314 (__ASSUME_UTIMES): Do not define.
37315 (__ASSUME_O_CLOEXEC): Likewise.
37316 (__ASSUME_SOCK_CLOEXEC): Likewise.
37317 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37318 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37319 0x020621].
37320 (__ASSUME_PIPE2): Likewise.
37321 (__ASSUME_EVENTFD2): Likewise.
37322 (__ASSUME_SIGNALFD4): Likewise.
37323 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37324 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37325 Do not define.
37326 (__ASSUME_EVENTFD2): Likewise.
37327 (__ASSUME_SIGNALFD4): Likewise.
37328 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37329 (__ASSUME_32BITUIDS): Likewise.
37330 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37331 (__ASSUME_IPC64): Likewise.
37332 (__ASSUME_ST_INO_64_BIT): Likewise.
37333 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37334 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37335 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37336 (__ASSUME_UTIMES): Do not define.
37337 (__ASSUME_PSELECT): Likewise.
37338 (__ASSUME_PPOLL): Likewise.
37339 (__ASSUME_O_CLOEXEC): Likewise.
37340 (__ASSUME_SOCK_CLOEXEC): Likewise.
37341 (__ASSUME_IN_NONBLOCK): Likewise.
37342 (__ASSUME_PIPE2): Likewise.
37343 (__ASSUME_EVENTFD2): Likewise.
37344 (__ASSUME_SIGNALFD4): Likewise.
37345 (__ASSUME_DUP3): Likewise.
37346 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37347 (__ASSUME_UTIMES): Likewise.
37348 (__ASSUME_O_CLOEXEC): Likewise.
37349 (__ASSUME_SOCK_CLOEXEC): Likewise.
37350 (__ASSUME_IN_NONBLOCK): Likewise.
37351 (__ASSUME_PIPE2): Likewise.
37352 (__ASSUME_EVENTFD2): Likewise.
37353 (__ASSUME_SIGNALFD4): Likewise.
37354 (__ASSUME_DUP3): Likewise.
37355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37356 (__ASSUME_UTIMES): Likewise.
37357 (__ASSUME_O_CLOEXEC): Likewise.
37358 (__ASSUME_SOCK_CLOEXEC): Likewise.
37359 (__ASSUME_IN_NONBLOCK): Likewise.
37360 (__ASSUME_PIPE2): Likewise.
37361 (__ASSUME_EVENTFD2): Likewise.
37362 (__ASSUME_SIGNALFD4): Likewise.
37363 (__ASSUME_DUP3): Likewise.
37364 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37365 Likewise.
37366 (__ASSUME_UTIMES): Likewise.
37367 (__ASSUME_EVENTFD2): Likewise.
37368 (__ASSUME_SIGNALFD4): Likewise.
37369 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37370 (__ASSUME_O_CLOEXEC): Likewise.
37371 (__ASSUME_SOCK_CLOEXEC): Likewise.
37372 (__ASSUME_IN_NONBLOCK): Likewise.
37373 (__ASSUME_PIPE2): Likewise.
37374 (__ASSUME_EVENTFD2): Likewise.
37375 (__ASSUME_SIGNALFD4): Likewise.
37376 (__ASSUME_DUP3): Likewise.
37377 (__ASSUME_UTIMES): Undefine.
37378
37379 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37380 feclearexcept. Remove symbol versioning code.
37381 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
37382 symbol versioning code.
37383 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
37384 symbol versioning code.
37385 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37386 feupdateenv. Remove symbol versioning code.
37387 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37388 fegetexceptflag. Remove symbol versioning code.
37389 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37390 fesetexceptflag. Remove symbol versioning code.
37391 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37392 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
37393 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37394 (__posix_fadvise64_l32): Remove prototype.
37395 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37396 code.
37397
37398 2014-05-13 Roland McGrath <roland@hack.frob.com>
37399
37400 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37401 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37402 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37403 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37404
37405 2014-05-13 Sami Kerola <kerolasa@iki.fi>
37406
37407 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37408 current working directory
37409
37410 2014-05-13 Roland McGrath <roland@hack.frob.com>
37411
37412 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37413 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37414 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37415 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37416 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37417 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37418 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37419 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37420 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37421 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37422 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37423 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37424 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37425 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37426 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37427 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37428 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37429 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37430 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37431 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37432 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37433 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37434 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37435 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37436 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37437 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37438 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37439 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37440 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37441 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37442 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37443 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37444 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37445 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37446 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37447 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37448 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37449 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37450 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37451 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37452 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37453 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37454
37455 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37456 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37457
37458 * sysdeps/unix/sysv/linux/arm/Makefile
37459 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37460 Add rt-aeabi_unwind_cpp_pr1.
37461 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37462 Add nptl-aeabi_unwind_cpp_pr1.
37463 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37464 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37465 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37466 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37467 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37468 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37469
37470 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37471 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37472 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37473 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37474
37475 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37476 Deconditionalize the code that was previously under [RESET_PID].
37477 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37478
37479 * sysdeps/generic/exit-thread.h: New file.
37480 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37481 * include/unistd.h (__exit_thread): Remove declaration.
37482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37483 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37484 * csu/libc-start.c: Include <exit-thread.h>.
37485 (LIBC_START_MAIN): Pass no argument to __exit_thread.
37486 * nptl/pthread_create.c: Include <exit-thread.h>.
37487 (start_thread): Call __exit_thread in place of __exit_thread_inline.
37488 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37489 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37490 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37491 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37492 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37493 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37494 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37495 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37496 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37497 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37498 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37499 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37500 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37501 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37502 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37503 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37504
37505 2014-05-13 Andreas Schwab <schwab@suse.de>
37506
37507 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37508
37509 2014-05-12 Joseph Myers <joseph@codesourcery.com>
37510
37511 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37512 (__ASSUME_UTIMES): Do not condition on kernel version.
37513 (__ASSUME_PSELECT): Define unconditionally.
37514 (__ASSUME_PPOLL): Likewise.
37515 (__ASSUME_ATFCTS): Likewise.
37516 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37517 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37518 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37519 (__ASSUME_UTIMENSAT): Define unconditionally.
37520 (__ASSUME_PRIVATE_FUTEX): Likewise.
37521 (__ASSUME_FALLOCATE): Likewise.
37522 (__ASSUME_O_CLOEXEC): Likewise.
37523 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37524 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37525 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37526 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37527 (__ASSUME_IN_NONBLOCK): Likewise.
37528 (__ASSUME_PIPE2): Likewise.
37529 (__ASSUME_EVENTFD2): Likewise.
37530 (__ASSUME_SIGNALFD4): Likewise.
37531 (__ASSUME_DUP3): Likewise.
37532 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37533 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37534 (__ASSUME_AT_RANDOM): Likewise.
37535 (__ASSUME_PREADV): Likewise.
37536 (__ASSUME_PWRITEV): Likewise.
37537 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37538 (__ASSUME_F_GETOWN_EX): Define unconditionally.
37539 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37540 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37541 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37543 (__ASSUME_O_CLOEXEC): Define unconditionally.
37544 (__ASSUME_PSELECT): Do not undefine conditionally.
37545 (__ASSUME_PPOLL): Likewise.
37546 (__ASSUME_ATFCTS): Likewise.
37547 (__ASSUME_SET_ROBUST_LIST): Likewise.
37548 (__ASSUME_UTIMENSAT): Likewise.
37549 (__ASSUME_FDATASYNC): Define unconditionally.
37550 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37551 (__ASSUME_SIGFRAME_V2): Likewise.
37552 )__ASSUME_EVENTFD2): Likewise.
37553 (__ASSUME_SIGNALFD4): Likewise.
37554 (__ASSUME_PSELECT): Do not undefine conditionally.
37555 (__ASSUME_PPOLL): Likewise.
37556 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37557 (__ASSUME_PSELECT): Define unconditionally.
37558 (__ASSUME_PPOLL): Likewise.
37559 (__ASSUME_O_CLOEXEC): Likewise.
37560 (__ASSUME_SOCK_CLOEXEC): Likewise.
37561 (__ASSUME_IN_NONBLOCK): Likewise.
37562 (__ASSUME_PIPE2): Likewise.
37563 (__ASSUME_EVENTFD2): Likewise.
37564 (__ASSUME_SIGNALFD4): Likewise.
37565 (__ASSUME_DUP3): Likewise.
37566 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37567 (__ASSUME_O_CLOEXEC): Likewise.
37568 (__ASSUME_SOCK_CLOEXEC): Likewise.
37569 (__ASSUME_IN_NONBLOCK): Likewise.
37570 (__ASSUME_PIPE2): Likewise.
37571 (__ASSUME_EVENTFD2): Likewise.
37572 (__ASSUME_SIGNALFD4): Likewise.
37573 (__ASSUME_DUP3): Likewise.
37574 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37575 (__ASSUME_EVENTFD2): Likewise.
37576 (__ASSUME_SIGNALFD4): Likewise.
37577 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37578
37579 2014-05-12 Andreas Schwab <schwab@suse.de>
37580
37581 [BZ #16932]
37582 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37583 (_nss_nis_gethostbyname4_r): Return error if item length is larger
37584 than maximum RPC packet size.
37585 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37586 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37587 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37588 (_nss_nis_getservbyport_r): Likewise.
37589
37590 2014-05-12 Will Newton <will.newton@linaro.org>
37591
37592 * malloc/Makefile (tests): Add tst-mallopt.
37593 * malloc/tst-mallopt.c: New file.
37594
37595 2014-05-09 Roland McGrath <roland@hack.frob.com>
37596
37597 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37598 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37599
37600 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37601
37602 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37603 (tst-tlsmod6.so): Likewise.
37604
37605 2014-05-09 Roland McGrath <roland@hack.frob.com>
37606
37607 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37608
37609 2014-05-09 Joseph Myers <joseph@codesourcery.com>
37610
37611 [BZ #16064]
37612 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37613 and <dl-procinfo.h>.
37614 (__fegetenv): Save SSE state in envp->__eip if supported.
37615 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37616 envp->__eip if supported.
37617 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37618 and <dl-procinfo.h>.
37619 (__fesetenv): Always set __eip, __cs_selector, __opcode,
37620 __data_offset and __data_selector in environment to 0. Set SSE
37621 state if supported.
37622 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37623 test-fenv-sse.
37624 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37625 -mfpmath=sse.
37626 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37627
37628 2014-05-09 Will Newton <will.newton@linaro.org>
37629
37630 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37631 and libc_relro_required for ARM.
37632 * sysdeps/arm/preconfigure: Regenerate.
37633
37634 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
37635 Stefan Liebler <stli@linux.vnet.ibm.com>
37636
37637 * config.make.in (enable-lock-elision): New Makefile variable.
37638 * configure.ac: Likewise.
37639 * configure: Regenerate.
37640 * sysdeps/s390/configure.ac:
37641 Add check for gcc transactions support.
37642 * sysdeps/s390/configure: Regenerate.
37643 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37644 Build elision files if enabled.
37645 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37646 Add lock elision support for s390.
37647 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37648 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37649 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37650 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37651 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37652 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37653 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37654 Likewise.
37655 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37656 Likewise.
37657 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37658 Likewise.
37659 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37660 Likewise.
37661 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37662 (__lll_timedlock_elision, __lll_lock_elision)
37663 (__lll_unlock_elision, __lll_trylock_elision)
37664 (lll_timedlock_elision, lll_lock_elision)
37665 (lll_unlock_elision, lll_trylock_elision): Add.
37666 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37667 (pthread_mutex_t): Add lock elision support for s390.
37668
37669 2014-05-14 Wilco <wdijkstr@arm.com>
37670
37671 * sysdeps/arm/fclrexcpt.c: Cleanup.
37672 * sysdeps/arm/fedisblxcpt.c: Cleanup.
37673 * sysdeps/arm/feenablxcpt.c: Cleanup.
37674 * sysdeps/arm/fegetenv.c: Cleanup.
37675 * sysdeps/arm/fegetexcept.c: Cleanup.
37676 * sysdeps/arm/fegetround.c: Cleanup.
37677 * sysdeps/arm/feholdexcpt.c: Cleanup.
37678 * sysdeps/arm/fesetenv.c: Cleanup.
37679 * sysdeps/arm/fesetround.c: Cleanup.
37680 * sysdeps/arm/feupdateenv.c: Cleanup.
37681 * sysdeps/arm/fgetexcptflg.c: Cleanup.
37682 * sysdeps/arm/fraiseexcpt.c: Cleanup.
37683 * sysdeps/arm/fsetexcptflg.c: Cleanup.
37684 * sysdeps/arm/ftestexcept.c: Cleanup.
37685 * sysdeps/arm/get-rounding-mode.h: Cleanup.
37686 * sysdeps/arm/setfpucw.c: Cleanup.
37687
37688 2014-05-09 Will Newton <will.newton@linaro.org>
37689
37690 * sysdeps/arm/armv7/strcmp.S: New file.
37691 * NEWS: Mention addition of ARMv7 optimized strcmp.
37692
37693 2014-05-08 Roland McGrath <roland@hack.frob.com>
37694
37695 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37696 look for %.ac rather than %.in.
37697
37698 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37699 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37700 * sysdeps/mach/hurd/configure: Regenerated.
37701 * sysdeps/unix/sysv/linux/configure: Regenerated.
37702
37703 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37704
37705 2014-05-07 Steve Ellcey <sellcey@mips.com>
37706
37707 [BZ# 16922]
37708 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37709 (LONG_SUB): Ditto.
37710 (PTR_SUB): Ditto.
37711
37712 2014-05-07 Andreas Schwab <schwab@suse.de>
37713
37714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37715 when skipping over non-matching result from nscd.
37716
37717 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
37718
37719 [BZ #16876]
37720 * nptl/sockperf.c (client): Check socket return value.
37721
37722 [BZ #16877]
37723 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37724 nscd security class.
37725
37726 2014-05-06 Roland McGrath <roland@hack.frob.com>
37727
37728 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37729 * sysdeps/arm/unwind.h: ... here.
37730
37731 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
37732
37733 [BZ# 16916]
37734 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37735 Define.
37736
37737 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37738
37739 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37740 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37741 multiarch strncpy for PPC64.
37742 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37743 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37745 multiarch optimizations.
37746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37747 (__libc_ifunc_impl_list): Likewise.
37748 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37749 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37750 multiarch stpncpy for PPC64.
37751 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37752 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37753
37754 2014-05-06 Andreas Schwab <schwab@suse.de>
37755
37756 [BZ #16912]
37757 * gmon/mcount.c (_MCOUNT_DECL): Use
37758 atomic_compare_and_exchange_bool_acq instead of
37759 catomic_compare_and_exchange_bool_acq.
37760
37761 2014-05-05 Roland McGrath <roland@hack.frob.com>
37762
37763 * elf/Makefile (others, install-bin): Remove pldd.
37764 (pldd-modules): Variable removed.
37765 ($(objpfx)pldd): Target removed.
37766 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37767 (others, install-bin): Append pldd here.
37768 ($(objpfx)pldd): New target.
37769
37770 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37771 to 0, so the first #if test emitted later doesn't see it undefined.
37772 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37773 * sysdeps/gnu/errlist.c: Regenerated.
37774
37775 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37776
37777 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37778 [libc_hidden_builtin_def]: Define to empty value.
37779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37780 [libc_hidden_builtin_def]: Likewise.
37781 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37782 [libc_hidden_builtin_def]: Likewise.
37783 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37784 [libc_hidden_builtin_def]: Likewise.
37785 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37786 __redirect_memcpy and define ifunc as default hidden symbol.
37787 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37788 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37789
37790 2014-05-04 Adam Conrad <adconrad@0c3.net>
37791
37792 * locale/iso-4217.def: Reintroduce XDR currency.
37793
37794 2014-05-04 Allan McRae <allan@archlinux.org>
37795
37796 * po/eo.po: Update Esperanto translation from translation project.
37797
37798 2014-05-02 Carlos O'Donell <carlos@redhat.com>
37799
37800 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37801 and FEATURE_INDEX_MAX to 1.
37802 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37803
37804 2014-05-01 Steve Ellcey <sellcey@mips.com>
37805
37806 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37807 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37808 * iconvdata/big5.c (ONE_DIRECTION): Define.
37809 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37810 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37811 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37812 * iconvdata/cp932.c (ONE_DIRECTION): Define.
37813 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37814 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37815 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37816 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37817 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37818 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37819 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37820 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37821 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37822 * iconvdata/gbk.c (ONE_DIRECTION): Define.
37823 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37824 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37825 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37826 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37827 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37828 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37829 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37830 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37831 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37832 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37833 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37834 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37835 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37836 * iconvdata/iso646.c (ONE_DIRECTION): Define.
37837 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37838 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37839 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37840 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37841 * iconvdata/johab.c (ONE_DIRECTION): Define.
37842 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37843 * iconvdata/sjis.c (ONE_DIRECTION): Define.
37844 * iconvdata/t.61.c (ONE_DIRECTION): Define.
37845 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37846 * iconvdata/tscii.c (ONE_DIRECTION): Define.
37847 * iconvdata/uhc.c (ONE_DIRECTION): Define.
37848 * iconvdata/unicode.c (ONE_DIRECTION): Define.
37849 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37850 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37851 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37852
37853 2014-05-01 Roland McGrath <roland@hack.frob.com>
37854
37855 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37856 (_IO_JUMPS_OFFSET): Define to 0.
37857
37858 * nptl/sysdeps/pthread/bits/libc-lock.h
37859 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37860 (__libc_lock_define_initialized_recursive): Always define using
37861 initializer. Modern compilers treat uninitialized (implicit zero) and
37862 explicit zero initializers the same (i.e. put the datum in bss).
37863
37864 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
37865
37866 * nscd/nscd-client.h: Include <string.h>.
37867
37868 2014-05-01 David S. Miller <davem@davemloft.net>
37869
37870 [BZ #16885]
37871 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37872 multiple zero bytes exist at the end of a string.
37873 Reported by Aurelien Jarno <aurelien@aurel32.net>
37874
37875 * string/test-strcmp.c (check): Add explicit test for situations where
37876 there are multiple zero bytes after the first.
37877
37878 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
37879
37880 [BZ #16890]
37881 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37882 when compiling wprintf.
37883 * stdio-common/tstdiomisc.c (t3): New function.
37884 (main): Call it.
37885
37886 2014-05-01 Steve Ellcey <sellcey@mips.com>
37887
37888 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37889 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37890 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37891 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37892
37893 2014-05-01 Steve Ellcey <sellcey@mips.com>
37894
37895 * stdlib/longlong.h: Updated from GCC.
37896
37897 2014-05-01 Will Newton <will.newton@linaro.org>
37898 Bernard Ogden <bernie.ogden@linaro.org>
37899
37900 * NEWS: Update fixed bug list.
37901
37902 [BZ #15119]
37903 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37904
37905 2014-04-30 David S. Miller <davem@davemloft.net>
37906
37907 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37908 (libc_feholdexcept_setround_sparc_ctx): New function.
37909 (libc_fesetenv_sparc_ctx): Likewise.
37910 (libc_feupdateenv_sparc_ctx): Likewise.
37911 (libc_feholdsetround_sparc_ctx): Likewise.
37912 (libc_feholdexcept_setround_ctx): Define.
37913 (libc_feholdexcept_setroundf_ctx): Likewise.
37914 (libc_feholdexcept_setroundl_ctx): Likewise.
37915 (libc_fesetenv_ctx): Likewise.
37916 (libc_fesetenvf_ctx): Likewise.
37917 (libc_fesetenvl_ctx): Likewise.
37918 (libc_feupdateenv_ctx): Likewise.
37919 (libc_feupdateenvf_ctx): Likewise.
37920 (libc_feupdateenvl_ctx): Likewise.
37921 (libc_feresetround_ctx): Likewise.
37922 (libc_feresetroundf_ctx): Likewise.
37923 (libc_feresetroundl_ctx): Likewise.
37924 (libc_feholdsetround_ctx): Likewise.
37925 (libc_feholdsetroundf_ctx): Likewise.
37926 (libc_feholdsetroundl_ctx): Likewise.
37927
37928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37929 with __USE_GNU instead of XOPEN cpp guards.
37930
37931 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37932 0.
37933
37934 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37935 with XOPEN cpp guards.
37936
37937 2014-04-30 Julian Brown <julian@codesourcery.com>
37938
37939 [BZ #16888]
37940 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37941 handling.
37942
37943 2014-04-30 Joseph Myers <joseph@codesourcery.com>
37944
37945 [BZ #9894]
37946 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37947 Change to 2.6.32.
37948 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37949 * sysdeps/unix/sysv/linux/configure: Regenerated.
37950 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37951 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37952 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37953 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37954 * README: Update reference to required Linux kernel version.
37955 * manual/install.texi (Linux): Update reference to required Linux
37956 kernel headers version.
37957 * INSTALL: Regenerated.
37958
37959 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37960 header inclusion.
37961 [POSIX] (limits.h): Likewise.
37962 [POSIX] (math.h): Likewise.
37963 [POSIX] (sys/wait.h): Likewise.
37964 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37965 function.
37966 [POSIX] (stddef.h): Do not allow header inclusion.
37967
37968 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37969
37970 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37971
37972 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
37973
37974 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37975 Return immediately after lll_futex_wake.
37976
37977 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37978
37979 [BZ #16791]
37980 * nscd/nscd-client.h (datahead_init_common): Initialize entire
37981 structure.
37982 (datahead_init_pos): Call datahead_init_common early.
37983 (datahead_init_neg): Likewise.
37984
37985 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37986 datahead_init_neg): New functions.
37987 * nscd/aicache.c (addhstaiX): Use them.
37988 * nscd/grpcache.c (cache_addgr): Likewise.
37989 * nscd/hstcache.c (cache_addhst): Likewise.
37990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37991 * nscd/netgroupcache.c (do_notfound): Likewise.
37992 (addgetnetgrentX): Likewise.
37993 (addinnetgrX): Likewise.
37994 * nscd/pwdcache.c (cache_addpw): Likewise.
37995 * nscd/servicescache.c (cache_addserv): Likewise.
37996
37997 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37998 Atsushi Onoe <atsushi@onoe.org>
37999
38000 [BZ #14308]
38001 [BZ #12994]
38002 [BZ #13651]
38003 * resolv/res_query.c (__libc_res_nsearch): Return if at least
38004 one response is valid.
38005 * resolv/res_send.c (send_dg): Check for validity of other
38006 response if the current response is a referral.
38007
38008 2014-04-29 Steve Ellcey <sellcey@mips.com>
38009
38010 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38011
38012 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
38013
38014 [BZ #16823]
38015 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38016 Always divide by positive zero when computing -Inf result.
38017 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38018 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38019
38020 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38021
38022 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38023 FPSCR if value do not change.
38024 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38025 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38026 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38027 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38028 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38029 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38030 function.
38031
38032 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
38033
38034 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38035 * sysdeps/unix/sysv/linux/hppa: Move directory from
38036 ports/systeps/unix/sysv/linux/hppa.
38037 * README: Update listing for hppa-*-linux-gnu.
38038
38039 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
38040
38041 [BZ #16754]
38042 * manual/stdio.texi (Hook functions): Fix types of stream hook
38043 functions.
38044 [BZ #16854]
38045 * socket/sys/socket.h: Fix typo in comment.
38046
38047 2014-04-28 Wilco <wdijkstr@arm.com>
38048
38049 * sysdeps/arm/fenv_private.h: New file.
38050 * sysdeps/arm/math_private.h: New file.
38051 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38052
38053 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
38054
38055 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38056 with __int128_t.
38057 (La_x86_64_retval): Likewise.
38058
38059 2014-04-24 Ian Bolton <ian.bolton@arm.com>
38060
38061 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38062 fpsr if value didn't change.
38063 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38064 to fpcr if value didn't change.
38065 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38066 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38067 fpsr or fpcr if value didn't change.
38068 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38069 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38070 fpcr if value didn't change.
38071 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38072 to fpsr if value didn't change.
38073
38074 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38075
38076 * nptl/tst-sem3.c: Use test-skeleton.c
38077 (main): Rename to do_test. Use return instead of
38078 exit.
38079 * nptl/tst-sem4.c: Use test-skeleton.c
38080 (main): Rename to do_test.
38081
38082 2014-04-22 David S. Miller <davem@davemloft.net>
38083
38084 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38085 (struct sigaction): New struct member __glibc_reserved0, change
38086 type of sa_flags to int.
38087
38088 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
38089
38090 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38091 (COUNT_LEADING_ZEROS_0): Define for AArch64.
38092
38093 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38094
38095 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38096 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38097
38098 2014-04-22 Will Newton <will.newton@linaro.org>
38099 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
38100
38101 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38102 (__longjmp): Add longjmp and longjmp_target SystemTap
38103 probes.
38104 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38105 (__sigsetjmp): Add setjmp SystemTap probe.
38106
38107 2014-04-17 Carlos O'Donell <carlos@redhat.com>
38108
38109 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38110 match manual order.
38111
38112 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38113
38114 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38115
38116 * sysdeps/powerpc/fpu/fenv_private.h
38117 (libc_feholdexcept_setroundl_ctx): Define to
38118 libc_feholdexcept_setround_ppc_ctx.
38119 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38120 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38121 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38122 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38123
38124 2014-04-17 Ian Bolton <ian.bolton@arm.com>
38125
38126 * sysdeps/aarch64/math-tests.h: New file.
38127
38128 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
38129
38130 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38131 New.
38132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38133 Check and set bit_AVX2_Usable.
38134 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38135 macro.
38136 (bit_AVX2): Likewise.
38137 (index_AVX2_Usable): Likewise.
38138 (CPUID_AVX2): Likewise.
38139 (HAS_AVX2): Likewise.
38140
38141 2014-04-17 Will Newton <will.newton@linaro.org>
38142
38143 * manual/setjmp.texi (System V contexts): Add note that
38144 calling setcontext on a context created by a call to a
38145 signal handler is undefined. Update text to note that
38146 setcontext from a signal handler is possible but not
38147 recommended.
38148
38149 [BZ #16629]
38150 * stdlib/tst-setcontext.c: Include signal.h.
38151 (main): Check that the signal stack before and
38152 after swapcontext is the same.
38153
38154 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38155 Re-implement to restore registers in user code and avoid
38156 rt_sigreturn system call.
38157
38158 2014-04-17 Wilco <wdijkstr@arm.com>
38159
38160 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38161 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38162 * math/test-fenv.c: Skip exception trap tests on targets which only
38163 support non-stop mode.
38164
38165 2014-04-17 Ian Bolton <ian.bolton@arm.com>
38166 Wilco Dijkstra <wilco.dijkstra@arm.com>
38167
38168 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38169 (libc_feholdsetround_aarch64_ctx)
38170 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38171 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38172 (libc_feresetround_ctx, libc_feresetroundf_ctx)
38173 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38174 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38175 (libc_feresetround_noexl_ctx): Define.
38176
38177 2014-04-16 Richard Henderson <rth@redhat.com>
38178
38179 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38180
38181 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38182 unwind tables.
38183
38184 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38185 const from the non-libc, non-ldso copy.
38186
38187 * sysdeps/alpha/libm-test-ulps: Regenerate.
38188
38189 2014-04-16 Ian Bolton <ian.bolton@arm.com>
38190 Wilco Dijkstra <wilco.dijkstra@arm.com>
38191
38192 * sysdeps/aarch64/fpu/math_private.h: New file.
38193
38194 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
38195
38196 * sysdeps/aarch64/libm-test-ulps: Regenerate.
38197
38198 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
38199
38200 [BZ #16275]
38201 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38202 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38204 Intel MPX bound registers before _dl_profile_fixup.
38205 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38206 registers after _dl_profile_fixup. Save and restore bound
38207 registers bnd0/bnd1 when calling _dl_call_pltexit.
38208 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38209 (LR_BND_OFFSET): Likewise.
38210 (LRV_BND0_OFFSET): Likewise.
38211 (LRV_BND1_OFFSET): Likewise.
38212
38213 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38214
38215 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38216 to...
38217 * sysdeps/mach/hurd/i386/tls.h: ... here.
38218 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38219 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38220 fields.
38221
38222 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38223
38224 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38225
38226 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
38227
38228 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38229
38230 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
38231
38232 [BZ #14770]
38233 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38234 * sysdeps/s390/configure: Regenerate.
38235
38236 [BZ #16824]
38237 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38238 Set round-to-nearest internally to reduce error accumulation.
38239
38240 2014-04-16 Alan Modra <amodra@gmail.com>
38241
38242 [BZ #16740]
38243 [BZ #16619]
38244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38245 * math/libm-test.inc (frexp_test_data): Add tests.
38246 * NEWS: Update fixed bug list.
38247
38248 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38249
38250 * benchtests/Makefile: Depend on libraries in build directory.
38251 (bench-math): Separate out math tests.
38252 (bench-pthread): Separate out pthread tests.
38253 (bench): Include math and pthread tests.
38254
38255 2014-04-14 Carlos O'Donell <carlos@redhat.com>
38256
38257 [BZ #16831]
38258 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38259 _dl_debug_initialize.
38260
38261 * configure.ac: Remove SELinux header check.
38262 * configure: Regenerate.
38263 * nscd/selinux.c (perms): Array of const char* to permission names.
38264 (nscd_request_avc_has_perm): Call security_deny_unknown to find
38265 default policy. Call string_to_security_class and string_to_av_perm to
38266 translate strings. Enforce default policy and call avs_has_perm with
38267 results of translated strings.
38268
38269 2014-04-13 David S. Miller <davem@davemloft.net>
38270
38271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38272
38273 2014-04-12 Allan McRae <allan@archlinux.org>
38274
38275 [BZ #16838]
38276 * manual/string.texi (Collation Functions): Fix qsort argument
38277 order in example.
38278 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38279
38280 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
38281
38282 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38283 Make the test a no-op if there are no exceptions defined.
38284
38285 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38286
38287 * elf/Makefile (tests): make tst-dlopen-aout conditional on
38288 enable-hardcoded-path-in-tests
38289
38290 2014-04-11 Will Newton <will.newton@linaro.org>
38291
38292 * benchtests/Makefile (extra-objs): Add json-lib.o.
38293 (bench-func): Tidy up JSON output.
38294 * benchtests/bench-skeleton.c: Include json-lib.h.
38295 (main): Use JSON library functions to do output of
38296 benchmark results.
38297 * benchtests/bench-timing-type.c (main): Output the
38298 timing type simply, leaving formatting to the user.
38299 * benchtests/json-lib.c: New file.
38300 * benchtests/json-lib.h: Likewise.
38301
38302 2014-04-11 Torvald Riegel <triegel@redhat.com>
38303
38304 [BZ #15215]
38305 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38306 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
38307 memory barriers. Add comments.
38308 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38309 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38310 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38311 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38312 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38313 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38314
38315 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38316
38317 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38318 * sysdeps/s390/s390-64/configure.ac: ... this ...
38319 * sysdeps/s390/configure.ac: ... to here.
38320 * sysdeps/s390/s390-32/configure: Delete file.
38321 * sysdeps/s390/s390-64/configure: Delete file.
38322 * sysdeps/s390/configure: Regenerate.
38323
38324 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
38325
38326 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38327
38328 2014-04-11 Will Newton <will.newton@linaro.org>
38329
38330 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38331 to zero if it is not defined elsewhere. (mtrim): Test
38332 the value of MALLOC_DEBUG with #if rather than #ifdef.
38333
38334 2014-04-10 Torvald Riegel <triegel@redhat.com>
38335
38336 * benchtests/pthread_once-inputs: New file.
38337 * benchtests/pthread_once-source.c: New file.
38338 * benchtests/README: Update documentation.
38339
38340 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
38341 H.J. Lu <hongjiu.lu@intel.com>
38342
38343 [BZ #16275]
38344 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38345 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38346 * sysdeps/x86_64/configure: Regenerated.
38347 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38348 macro.
38349 (REGISTER_SAVE_RAX): Likewise.
38350 (REGISTER_SAVE_RCX): Likewise.
38351 (REGISTER_SAVE_RDX): Likewise.
38352 (REGISTER_SAVE_RSI): Likewise.
38353 (REGISTER_SAVE_RDI): Likewise.
38354 (REGISTER_SAVE_R8): Likewise.
38355 (REGISTER_SAVE_R9): Likewise.
38356 (REGISTER_SAVE_BND0): Likewise.
38357 (REGISTER_SAVE_BND1): Likewise.
38358 (REGISTER_SAVE_BND2): Likewise.
38359 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
38360 bound registers when calling _dl_fixup.
38361
38362 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38363
38364 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38365 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38366 of its definition.
38367 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38368 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38369 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38370 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38371 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38372 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38373 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38374
38375 2014-04-09 Peter Brett <peter@peter-b.co.uk>
38376
38377 [BZ #15514]
38378 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38379 pathconf(_PC_NAME_MAX).
38380
38381 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38382
38383 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38384 Remove macro usage.
38385 (__PTHREAD_SPINS): Move definition to ...
38386 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38387 (__PTHREAD_SPINS): ... here.
38388 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38389 (__PTHREAD_SPIN): Likewise.
38390 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38391 (__PTHREAD_SPIN): Likewise.
38392 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38393 (__PTHREAD_SPIN): Likewise.
38394 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38395 (__PTHREAD_SPIN): Likewise.
38396 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38397 (__PTHREAD_SPIN): Likewise.
38398 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38399 (__PTHREAD_SPIN): Likewise.
38400 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38401 (__PTHREAD_SPIN): Likewise.
38402 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38403 (__PTHREAD_SPIN): Likewise.
38404 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38405 (__PTHREAD_SPIN): Likewise.
38406 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38407 (__PTHREAD_SPIN): Likewise.
38408 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38409 (__PTHREAD_SPIN): Likewise.
38410 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38411 (__PTHREAD_SPIN): Likewise.
38412
38413 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38414 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38415 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38416 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38417 imply folder.
38418 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38419 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38420 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38421 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38422 correct imply path.
38423 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38424 strlen symbol for non multi-arch builds.
38425 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38426 missing hidden_def and weak_alias.
38427
38428 2014-04-08 Carlos O'Donell <carlos@redhat.com>
38429
38430 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38431
38432 2014-04-07 Will Newton <will.newton@linaro.org>
38433
38434 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38435 and contents. [!_LIBC] Remove #ifndef and contents.
38436 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
38437 * string/memccpy.c (__memccpy): Use ANSI prototype.
38438 * string/memfrob.c (memfrob): Likewise.
38439 * string/strcoll.c (STRCOLL): Likewise.
38440 * string/strlen.c (strlen): Likewise.
38441 * string/strtok.c (STRTOK): Likewise.
38442 * string/strcat.c: Remove unused #include of memcopy.h.
38443 (strcat): Use ANSI prototype.
38444 * string/strchr.c: Remove unused #include of memcopy.h.
38445 (strchr): Use ANSI prototype.
38446 * string/strcmp.c: Remove unused #include of memcopy.h.
38447 (strcmp): Use ANSI prototype.
38448 * string/strcpy.c: Remove unused #include of memcopy.h.
38449 (strcpy): Use ANSI prototype.
38450
38451 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38452
38453 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38454 * config.make.in (config-extra-cppflags): Set it from
38455 libc_extra_cppflags.
38456 * configure.ac (libc_extra_cflags): Make it accumulate over
38457 configure fragments.
38458 (libc_extra_cppflags): New flag.
38459 * configure. Regenerate.
38460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38461 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38462 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38464
38465 [BZ #16815]
38466 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38467 result for FE_DOWNWARD rounding mode.
38468 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38469 Likewise.
38470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38471
38472 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
38473
38474 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38475 in function argument name.
38476
38477 2014-04-03 David Svoboda <svoboda@cert.org>
38478
38479 [BZ #5666]
38480 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38481 explicitly.
38482
38483 2014-04-03 Roland McGrath <roland@hack.frob.com>
38484
38485 * elf/dl-unmap-segments.h: New file.
38486 * sysdeps/generic/ldsodefs.h
38487 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38488 * elf/dl-close.c: Include <dl-unmap-segments.h>.
38489 * elf/dl-fptr.c: Likewise.
38490 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38491 * sysdeps/aarch64/tlsdesc.c: Likewise.
38492 * sysdeps/arm/tlsdesc.c: Likewise.
38493 * sysdeps/i386/tlsdesc.c: Likewise.
38494 * sysdeps/tile/dl-runtime.c: Likewise.
38495 * sysdeps/x86_64/tlsdesc.c: Likewise.
38496 * elf/dl-load.h: New file.
38497 * elf/dl-load.c: Include it.
38498 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38499 Macros moved to dl-load.h.
38500 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38501 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38502 Use _dl_unmap_segments in place of __munmap.
38503 Break out segment-mapping loop into ...
38504 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38505
38506 2014-04-03 Will Newton <will.newton@linaro.org>
38507
38508 * elf/dl-lookup.c (do_lookup_x): Remove comment
38509 referring to nested function and move variable
38510 declarations down to before first use.
38511
38512 2014-04-02 Joseph Myers <joseph@codesourcery.com>
38513
38514 [BZ #16799]
38515 [BZ #16800]
38516 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38517 with 0 numerator.
38518 * math/s_catanf.c (__catanf): Likewise.
38519 * math/s_catanh.c (__catanh): Likewise.
38520 * math/s_catanhf.c (__catanhf): Likewise.
38521 * math/s_catanhl.c (__catanhl): Likewise.
38522 * math/s_catanl.c (__catanl): Likewise.
38523 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38524 by positive zero when computing -Inf result.
38525 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38526 (catanh_test): Likewise.
38527 * sysdeps/i386/fpu/libm-test-ulps: Update.
38528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38529
38530 [BZ #16789]
38531 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38532 instead of using underflowing value in computing result.
38533 * math/s_clog10.c (__clog10): Likewise.
38534 * math/s_clog10f.c (__clog10f): Likewise.
38535 * math/s_clog10l.c (__clog10l): Likewise.
38536 * math/s_clogf.c (__clogf): Likewise.
38537 * math/s_clogl.c (__clogl): Likewise.
38538 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38539 (clog10_test): Likewise.
38540 * sysdeps/i386/fpu/libm-test-ulps: Update.
38541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38542
38543 2014-04-02 Alan Modra <amodra@gmail.com>
38544
38545 [BZ #16739]
38546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38547 output when value is near a power of two. Use int64_t for lx and
38548 remove casts. Use decimal rather than hex exponent constants.
38549 Don't use long double multiplication when double will suffice.
38550 * math/libm-test.inc (nextafter_test_data): Add tests.
38551 * NEWS: Add 16739 and 16786 to bug list.
38552
38553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38554
38555 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38556
38557 2014-04-01 Will Newton <will.newton@linaro.org>
38558
38559 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38560 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
38561
38562 2014-04-01 Florian Weimer <fweimer@redhat.com>
38563
38564 [BZ #13347]
38565 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38566 * nptl/tst-setuid2.c: New file.
38567 * nptl/Makefile (xtests): Add tst-setuid2.
38568
38569 2014-04-01 Alan Modra <amodra@gmail.com>
38570
38571 [BZ #16786]
38572 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38573
38574 2014-03-31 Joseph Myers <joseph@codesourcery.com>
38575
38576 [BZ #6803]
38577 [BZ #6804]
38578 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38579 set errno as appropriate.
38580 * math/w_scalbf.c (__scalbf): Likewise.
38581 * math/w_scalbl.c (__scalbl): Likewise.
38582 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38583 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38584 * math/libm-test.inc (scalb_test_data): Add errno expectations.
38585 Add more NaN tests.
38586
38587 [BZ #16349]
38588 * math/w_atan2.c: Include <errno.h>.
38589 (__atan2): Set errno for result underflowing to zero.
38590 * math/w_atan2f.c: Include <errno.h>.
38591 (__atan2f): Set errno for result underflowing to zero.
38592 * math/w_atan2l.c: Include <errno.h>.
38593 (__atan2l): Set errno for result underflowing to zero.
38594 * math/auto-libm-test-in: Don't allow missing errno for some atan2
38595 tests.
38596 * math/auto-libm-test-out: Regenerated.
38597
38598 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38599
38600 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38601 Encode instruction correctly in little endian.
38602 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38603 Likewise.
38604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38605 Likewise.
38606 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38607 Likewise.
38608 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38609 Likewise.
38610
38611 2014-03-31 Joseph Myers <joseph@codesourcery.com>
38612
38613 [BZ #9894]
38614 * sysdeps/unix/sysv/linux/kernel-features.h
38615 [__sparc__ && !__arch64__ && !__sparc_v9__]
38616 (__ASSUME_SET_ROBUST_LIST): Do not define.
38617 [__sparc__ && !__arch64__ && !__sparc_v9__]
38618 (__ASSUME_FUTEX_LOCK_PI): Likewise.
38619 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38620 Likewise.
38621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38622 (__ASSUME_FUTEX_LOCK_PI): Undefine.
38623 (__ASSUME_REQUEUE_PI): Likewise.
38624 (__ASSUME_SET_ROBUST_LIST): Likewise.
38625 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38626 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38627 Undefine.
38628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38629 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38630 Likewise.
38631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38632 Likewise.
38633 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38634 Likewise.
38635 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38636 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38637 Undefine.
38638 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38639 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38640 Likewise.
38641
38642 [BZ #16648]
38643 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38644 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38645 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38646
38647 2014-03-31 Will Newton <will.newton@linaro.org>
38648
38649 * benchtests/Makefile (bench): Add ffs and ffsll to list
38650 of tests.
38651 * benchtests/ffs-inputs: New file.
38652 * benchtests/ffsll-inputs: Likewise.
38653
38654 2014-03-29 Joseph Myers <joseph@codesourcery.com>
38655
38656 [BZ #16770]
38657 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38658 too large before casting to int.
38659 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38660 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38661 * math/libm-test.inc (scalb_test_data): Add more tests.
38662
38663 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38664
38665 * benchtests/Makefile (DETAILED_OPT): New make option.
38666 (bench-func): Run benchmark program with -d if DETAILED_OPT is
38667 set.
38668 * benchtests/bench-skeleton.c: Include stdbool.h.
38669 (main): Store and print timings per input.
38670 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38671 member to each argument value.
38672 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38673 (_print_arg_data): Initialize per-input timing to 0.
38674
38675 * benchtests/Makefile (timing-type): New binary.
38676 (bench-clean): Also remove bench-timing-type.
38677 (bench): New target for timing-type.
38678 (bench-func): Print output in JSON format.
38679 * benchtests/bench-skeleton.c (main): Print output in JSON
38680 format.
38681 * benchtests/bench-timing-type.c: New file.
38682 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38683 (TIMING_PRINT_STATS): Remove.
38684 * benchtests/scripts/bench.py (_print_arg_data): Store variant
38685 name separately.
38686
38687 * benchtests/bench-modf.c: Remove.
38688 * benchtests/modf-inputs: New inputs file.
38689
38690 2014-03-28 Joseph Myers <joseph@codesourcery.com>
38691
38692 [BZ #16362]
38693 * math/s_clog10.c (M_PI_LOG10E): New macro.
38694 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38695 imaginary parts are 0.
38696 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38697 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38698 imaginary parts are 0.
38699 * math/s_clog10l.c (M_PI_LOG10El): New macro.
38700 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38701 imaginary parts are 0.
38702 * math/libm-test.inc (clog10_test_data): Update expected results
38703 for when real and imaginary parts are 0.
38704
38705 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
38706
38707 * elf/dl-load.c: Finish conversion of __builtin_expect into
38708 __glibc_{un}likely.
38709
38710 2014-03-27 Joseph Myers <joseph@codesourcery.com>
38711
38712 [BZ #16348]
38713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38714 1+x for argument with exponent below -67.
38715 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38716 Likewise.
38717 * math/auto-libm-test-in: Add more tests of exp.
38718 * math/auto-libm-test-out: Regenerated.
38719
38720 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38721
38722 [BZ #16759]
38723 * inet/getnetgrent_r.c (get_nonempty_val): New function.
38724 (nscd_getnetgrent): Use it.
38725
38726 [BZ #16760]
38727 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38728 of stpcpy.
38729
38730 2014-03-27 Andi Kleen <ak@linux.intel.com>
38731
38732 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38733 (lll_robust_lock, lll_cond_lock, lll_timedlock)
38734 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38735 (lll_robust_unlock): Remove out of line section. Use cfi
38736 intrinsics.
38737 (LLL_STUB_UNWIND_INFO*): Remove.
38738 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38739 (lll_robust_lock, lll_cond_lock, lll_timedlock)
38740 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38741 (lll_robust_unlock): Remove out of line section. Use cfi
38742 intrinsics.
38743 (LLL_STUB_UNWIND_INFO*): Remove.
38744
38745 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38746
38747 [BZ #16758]
38748 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38749 blank values.
38750
38751 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
38752
38753 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38754
38755 2014-03-26 Joseph Myers <joseph@codesourcery.com>
38756
38757 [BZ #16198]
38758 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38759 fnstenv.
38760 * math/test-fenv-preserve.c: New file.
38761 * math/Makefile (tests): Add test-fenv-preserve.
38762
38763 2014-03-26 Will Newton <will.newton@linaro.org>
38764
38765 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38766
38767 2014-03-25 Roland McGrath <roland@hack.frob.com>
38768
38769 * scripts/versionlist.awk: Partition the version sets and emit all
38770 GLIBC_* (sorted) before all others (sorted).
38771
38772 2014-03-25 Joseph Myers <joseph@codesourcery.com>
38773
38774 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38775 GLIBC_2.2.5 version.
38776
38777 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38778
38779 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38780 calls.
38781
38782 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38783 previous change.
38784
38785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38786
38787 2014-03-25 Andreas Schwab <schwab@suse.de>
38788
38789 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38790 label to be used after in6ailist is initialized.
38791
38792 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38793
38794 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38795 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38796
38797 2014-03-25 Joseph Myers <joseph@codesourcery.com>
38798
38799 [BZ #16357]
38800 [BZ #16599]
38801 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38802 min_plus_half.
38803 (fp_formats): Update initializers.
38804 (init_fp_formats): Initialize new field.
38805 (output_for_one_input_case): Allow underflow for results up to
38806 min_plus_half.
38807 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38808 * math/auto-libm-test-in: Don't mark some underflows from asin and
38809 atanh as spurious.
38810 * math/auto-libm-test-out: Regenerated.
38811 * sysdeps/i386/fpu/libm-test-ulps: Update.
38812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38813
38814 2014-03-25 Andreas Schwab <schwab@suse.de>
38815
38816 * libio/Makefile (tst-ftell-partial-wide-ENV)
38817 (tst-ftell-active-handler-ENV): Define.
38818
38819 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
38820
38821 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38822
38823 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
38824
38825 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38826
38827 2014-03-24 Joseph Myers <joseph@codesourcery.com>
38828
38829 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38830 * sysdeps/x86_64/fpu/multiarch/e_exp.c
38831 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38832
38833 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
38834
38835 [BZ #16634]
38836 * elf/dl-load.c (open_verify): Add mode parameter.
38837 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38838 (open_path): Change from boolean 'secure' to complete flag 'mode'
38839 (_dl_map_object): Adjust.
38840 * elf/Makefile (tests): Add tst-dlopen-aout.
38841 * elf/tst-dlopen-aout.c: New test.
38842
38843 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38844
38845 [BZ #16714]
38846 * sysdeps/unix/sysv/linux/s390/bits/stat.h
38847 (struct stat): Rename member pad0 to __glibc_reserved0.
38848
38849 [BZ #16712]
38850 * sysdeps/s390/s390-32/bits/wordsize.h
38851 (__WORDSIZE32_SIZE_ULONG): New define.
38852 * sysdeps/s390/s390-64/bits/wordsize.h
38853 (__WORDSIZE32_SIZE_ULONG): Likewise.
38854 * sysdeps/generic/stdint.h (SIZE_MAX):
38855 Define as UL if __WORDSIZE32_SIZE_ULONG.
38856
38857 [BZ #16713]
38858 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38859 (__glibc_reserved0): New variable.
38860 (sa_flags): Change type to int.
38861
38862 * posix/Makefile (before-compile): Use += before-compile instead
38863 of a :=.
38864
38865 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38866 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38867
38868 2014-03-20 Andreas Schwab <schwab@suse.de>
38869
38870 [BZ #16743]
38871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38872 non-matching result from nscd.
38873
38874 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38875
38876 * scripts/bench.py: Moved to ...
38877 * benchtests/scripts/bench.py: ... here.
38878 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38879
38880 2014-03-24 Andreas Schwab <schwab@suse.de>
38881
38882 [BZ #16002]
38883 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38884 alloca_account and account alloca use for struct in6ailist.
38885
38886 2014-03-24 Joseph Myers <joseph@codesourcery.com>
38887
38888 [BZ #16284]
38889 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38890 rounding mode to recompute results that overflow to infinity or
38891 underflow to zero.
38892 * math/auto-libm-test-in: Don't mark tests as expected to fail for
38893 bug 16284.
38894 * math/auto-libm-test-out: Regenerated.
38895 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38896 (ccosh_test): Likewise.
38897 (csin_test_data): Use plus_oflow.
38898 (csin_test): Use ALL_RM_TEST.
38899 (csinh_test_data): Use plus_oflow.
38900 (csinh_test): Use ALL_RM_TEST.
38901 * sysdeps/i386/fpu/libm-test-ulps: Update.
38902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38903
38904 2014-03-21 Joseph Myers <joseph@codesourcery.com>
38905
38906 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38907 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38908 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38909
38910 [BZ #16731]
38911 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38912 when x - 1 is zero.
38913 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38914 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38915 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38916 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38917 argument is 1.
38918 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38919 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38920 zero.
38921 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38922 * sysdeps/i386/fpu/libm-test-ulps: Update.
38923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38924
38925 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38926
38927 * scripts/bench.pl: Remove file.
38928 * scripts/bench.py: New benchmark script.
38929 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38930 * benchtests/README: Mention python dependency.
38931 * scripts/pylintrc: New file.
38932 * scripts/pylint: New file.
38933
38934 * bits/mathdef.h: Use #ifdef instead of #if.
38935 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38936 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38937 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38938 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38939 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38940 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38941
38942 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38943 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
38944
38945 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38947 and strpbrk-ppc64 objects.
38948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38949 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38950 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38951 multiarch strpbrk for POWER7.
38952 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38953 multiarch strpbrk for PPC64.
38954 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38955 ifunc selector.
38956 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38957 strpbrk for POWER7.
38958
38959 2014-03-20 Joseph Myers <joseph@codesourcery.com>
38960
38961 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38962 (atan_test): Likewise.
38963 (atanh_test_data): Use NO_TEST_INLINE for two tests.
38964 (atanh_test): Use ALL_RM_TEST.
38965 (atan2_test_data): Likewise.
38966 (cabs_test): Likewise.
38967 (cacosh_test): Likewise.
38968 (carg_test): Likewise.
38969 (casin_test): Likewise.
38970 (casinh_test): Likewise.
38971 (cbrt_test): Likewise.
38972 (csqrt_test): Likewise.
38973 (erf_test): Likewise.
38974 (erfc_test): Likewise.
38975 (pow10_test): Likewise.
38976 (exp2_test): Likewise.
38977 (hypot_test): Likewise.
38978 (j0_test): Likewise.
38979 (j1_test): Likewise.
38980 (lgamma_test): Likewise.
38981 (gamma_test): Likewise.
38982 (sincos_test): Likewise.
38983 (tanh_test): Likewise.
38984 (y0_test): Likewise.
38985 (y1_test): Likewise.
38986 * sysdeps/i386/fpu/libm-test-ulps: Update.
38987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38988
38989 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38990
38991 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38992 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38993 and strcspn-ppc64 objects.
38994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38995 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38996 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38997 multiarch strcspn for POWER7.
38998 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38999 multiarch strcspn for PPC64.
39000 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39001 ifunc selector.
39002 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39003 strcspn for POWER7.
39004
39005 2014-03-20 Joseph Myers <joseph@codesourcery.com>
39006
39007 * math/gen-libm-test.pl (generate_testfile): Expect only function
39008 name as argument to AUTO_TESTS_* and pass results for all rounding
39009 modes to parse_args.
39010 (parse_auto_input): Separate inputs of automatic tests from
39011 outputs before storing in %auto_tests.
39012 * math/libm-test.inc (acos_test_data): Update call to
39013 AUTO_TESTS_f_f.
39014 (acos_test): Use ALL_RM_TEST.
39015 (acos_tonearest_test_data): Remove.
39016 (acos_test_tonearest): Likewise.
39017 (acos_towardzero_test_data): Likewise.
39018 (acos_test_towardzero): Likewise.
39019 (acos_downward_test_data): Likewise.
39020 (acos_test_downward): Likewise.
39021 (acos_upward_test_data): Likewise.
39022 (acos_test_upward): Likewise.
39023 (acosh_test_data): Update call to AUTO_TESTS_f_f.
39024 (asin_test_data): Likewise.
39025 (asin_test): Use ALL_RM_TEST.
39026 (asin_tonearest_test_data): Remove.
39027 (asin_test_tonearest): Likewise.
39028 (asin_towardzero_test_data): Likewise.
39029 (asin_test_towardzero): Likewise.
39030 (asin_downward_test_data): Likewise.
39031 (asin_test_downward): Likewise.
39032 (asin_upward_test_data): Likewise.
39033 (asin_test_upward): Likewise.
39034 (asinh_test_data): Update call to AUTO_TESTS_f_f.
39035 (atan_test_data): Likewise.
39036 (atanh_test_data): Likewise.
39037 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39038 (cabs_test_data): Update call to AUTO_TESTS_c_f.
39039 (carg_test_data): Likewise.
39040 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39041 (ccos_test_data): Update call to AUTO_TESTS_c_c.
39042 (ccosh_test_data): Likewise.
39043 (cexp_test_data): Likewise.
39044 (clog_test_data): Likewise.
39045 (clog10_test_data): Likewise.
39046 (cos_test_data): Update call to AUTO_TESTS_f_f.
39047 (cos_test): Use ALL_RM_TEST.
39048 (cos_tonearest_test_data): Remove.
39049 (cos_test_tonearest): Likewise.
39050 (cos_towardzero_test_data): Likewise.
39051 (cos_test_towardzero): Likewise.
39052 (cos_downward_test_data): Likewise.
39053 (cos_test_downward): Likewise.
39054 (cos_upward_test_data): Likewise.
39055 (cos_test_upward): Likewise.
39056 (cosh_test_data): Update call to AUTO_TESTS_f_f.
39057 (cosh_test): Use ALL_RM_TEST.
39058 (cosh_tonearest_test_data): Remove.
39059 (cosh_test_tonearest): Likewise.
39060 (cosh_towardzero_test_data): Likewise.
39061 (cosh_test_towardzero): Likewise.
39062 (cosh_downward_test_data): Likewise.
39063 (cosh_test_downward): Likewise.
39064 (cosh_upward_test_data): Likewise.
39065 (cosh_test_upward): Likewise.
39066 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39067 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39068 (ctan_test_data): Likewise.
39069 (ctan_test): Use ALL_RM_TEST.
39070 (ctan_tonearest_test_data): Remove.
39071 (ctan_test_tonearest): Likewise.
39072 (ctan_towardzero_test_data): Likewise.
39073 (ctan_test_towardzero): Likewise.
39074 (ctan_downward_test_data): Likewise.
39075 (ctan_test_downward): Likewise.
39076 (ctan_upward_test_data): Likewise.
39077 (ctan_test_upward): Likewise.
39078 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39079 (ctanh_test): Use ALL_RM_TEST.
39080 (ctanh_tonearest_test_data): Remove.
39081 (ctanh_test_tonearest): Likewise.
39082 (ctanh_towardzero_test_data): Likewise.
39083 (ctanh_test_towardzero): Likewise.
39084 (ctanh_downward_test_data): Likewise.
39085 (ctanh_test_downward): Likewise.
39086 (ctanh_upward_test_data): Likewise.
39087 (ctanh_test_upward): Likewise.
39088 (erf_test_data): Update call to AUTO_TESTS_f_f.
39089 (erfc_test_data): Likewise.
39090 (exp_test_data): Likewise.
39091 (exp_test): Use ALL_RM_TEST.
39092 (exp_tonearest_test_data): Remove.
39093 (exp_test_tonearest): Likewise.
39094 (exp_towardzero_test_data): Likewise.
39095 (exp_test_towardzero): Likewise.
39096 (exp_downward_test_data): Likewise.
39097 (exp_test_downward): Likewise.
39098 (exp_upward_test_data): Likewise.
39099 (exp_test_upward): Likewise.
39100 (exp10_test_data): Update call to AUTO_TESTS_f_f.
39101 (exp10_test): Use ALL_RM_TEST.
39102 (exp10_tonearest_test_data): Remove.
39103 (exp10_test_tonearest): Likewise.
39104 (exp10_towardzero_test_data): Likewise.
39105 (exp10_test_towardzero): Likewise.
39106 (exp10_downward_test_data): Likewise.
39107 (exp10_test_downward): Likewise.
39108 (exp10_upward_test_data): Likewise.
39109 (exp10_test_upward): Likewise.
39110 (exp2_test_data): Update call to AUTO_TESTS_f_f.
39111 (expm1_test_data): Likewise.
39112 (expm1_test): Use ALL_RM_TEST.
39113 (expm1_tonearest_test_data): Remove.
39114 (expm1_test_tonearest): Likewise.
39115 (expm1_towardzero_test_data): Likewise.
39116 (expm1_test_towardzero): Likewise.
39117 (expm1_downward_test_data): Likewise.
39118 (expm1_test_downward): Likewise.
39119 (expm1_upward_test_data): Likewise.
39120 (expm1_test_upward): Likewise.
39121 (fma_test_data): Update call to AUTO_TESTS_fff_f.
39122 (fma_test): Use ALL_RM_TEST.
39123 (fma_towardzero_test_data): Remove.
39124 (fma_test_towardzero): Likewise.
39125 (fma_downward_test_data): Likewise.
39126 (fma_test_downward): Likewise.
39127 (fma_upward_test_data): Likewise.
39128 (fma_test_upward): Likewise.
39129 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39130 (j0_test_data): Update call to AUTO_TESTS_f_f.
39131 (j1_test_data): Likewise.
39132 (jn_test_data): Update call to AUTO_TESTS_if_f.
39133 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39134 (log_test_data): Update call to AUTO_TESTS_f_f.
39135 (log10_test_data): Likewise.
39136 (log1p_test_data): Likewise.
39137 (log2_test_data): Likewise.
39138 (pow_test_data): Update call to AUTO_TESTS_ff_f.
39139 (pow_tonearest_test_data): Likewise.
39140 (sin_test_data): Update call to AUTO_TESTS_f_f.
39141 (sin_test): Use ALL_RM_TEST.
39142 (sin_tonearest_test_data): Remove.
39143 (sin_test_tonearest): Likewise.
39144 (sin_towardzero_test_data): Likewise.
39145 (sin_test_towardzero): Likewise.
39146 (sin_downward_test_data): Likewise.
39147 (sin_test_downward): Likewise.
39148 (sin_upward_test_data): Likewise.
39149 (sin_test_upward): Likewise.
39150 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39151 (sinh_test_data): Update call to AUTO_TESTS_f_f.
39152 (sinh_test): Use ALL_RM_TEST.
39153 (sinh_tonearest_test_data): Remove.
39154 (sinh_test_tonearest): Likewise.
39155 (sinh_towardzero_test_data): Likewise.
39156 (sinh_test_towardzero): Likewise.
39157 (sinh_downward_test_data): Likewise.
39158 (sinh_test_downward): Likewise.
39159 (sinh_upward_test_data): Likewise.
39160 (sinh_test_upward): Likewise.
39161 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39162 (sqrt_test): Use ALL_RM_TEST.
39163 (sqrt_tonearest_test_data): Remove.
39164 (sqrt_test_tonearest): Likewise.
39165 (sqrt_towardzero_test_data): Likewise.
39166 (sqrt_test_towardzero): Likewise.
39167 (sqrt_downward_test_data): Likewise.
39168 (sqrt_test_downward): Likewise.
39169 (sqrt_upward_test_data): Likewise.
39170 (sqrt_test_upward): Likewise.
39171 (tan_test_data): Update call to AUTO_TESTS_f_f.
39172 (tan_test): Use ALL_RM_TEST.
39173 (tan_tonearest_test_data): Remove.
39174 (tan_test_tonearest): Likewise.
39175 (tan_towardzero_test_data): Likewise.
39176 (tan_test_towardzero): Likewise.
39177 (tan_downward_test_data): Likewise.
39178 (tan_test_downward): Likewise.
39179 (tan_upward_test_data): Likewise.
39180 (tan_test_upward): Likewise.
39181 (tanh_test_data): Update call to AUTO_TESTS_f_f.
39182 (tgamma_test_data): Likewise.
39183 (y0_test_data): Likewise.
39184 (y1_test_data): Likewise.
39185 (yn_test_data): Update call to AUTO_TESTS_if_f.
39186 (main): Do not call removed functions.
39187
39188 2014-03-19 Joseph Myers <joseph@codesourcery.com>
39189
39190 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39191 (ldexp_test_data): Remove.
39192 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
39193 scalbn_test_data.
39194 (scalb_test): Use ALL_RM_TEST.
39195
39196 2014-03-19 Andreas Schwab <schwab@suse.de>
39197
39198 * nscd/nscd.service: Also invalidate netgroup cache on reload.
39199
39200 2014-03-19 Joseph Myers <joseph@codesourcery.com>
39201
39202 [BZ #16649]
39203 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39204 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39207 (__ASSUME_PREADV): Undefine.
39208 (__ASSUME_PWRITEV): Likewise.
39209
39210 2014-03-18 Roland McGrath <roland@hack.frob.com>
39211
39212 * bits/mman-linux.h: Add comment about non-Linux use.
39213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39214 bits/mman-linux.h resting place.
39215
39216 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39217 * bits/mman-linux.h: ... here.
39218
39219 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39220
39221 * conform/conformtest.pl: Add standard definition when calling C
39222 preprocessor on data files.
39223 (checknamespace): Remove unused variable.
39224
39225 2014-03-18 Joseph Myers <joseph@codesourcery.com>
39226
39227 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39228 minus_oflow, plus_uflow and minus_uflow in expected results.
39229 * math/libm-test.inc (scalbn_test_data): Add more tests of
39230 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
39231 minus_uflow.
39232 (scalbn_test): Use ALL_RM_TEST.
39233 (scalbln_test_data): Add more tests of negative arguments. Use
39234 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39235 (scalbln_test): Use ALL_RM_TEST.
39236
39237 2014-03-18 Roland McGrath <roland@hack.frob.com>
39238
39239 * scripts/abilist.awk: Ignore symbols marked with .hidden.
39240
39241 2014-03-18 Will Newton <will.newton@linaro.org>
39242
39243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39244 inaccurate comment.
39245
39246 2014-03-18 Joseph Myers <joseph@codesourcery.com>
39247
39248 * Makerules [!subdir] (check-abi): Exit with error status if a
39249 test failed.
39250
39251 2014-03-17 Joseph Myers <joseph@codesourcery.com>
39252
39253 * math/libm-test.inc (nearbyint_test_data): Include all tests used
39254 for rint. Include results for all rounding modes.
39255 (nearbyint_test): Use ALL_RM_TEST.
39256 (rint_test_data): Include all tests used for nearbyint.
39257
39258 2014-03-17 Will Newton <will.newton@linaro.org>
39259
39260 * nptl/sysdeps/pthread/pthread.h: Revert previous
39261 change.
39262
39263 * sysdeps/generic/ldsodefs.h: Revert previous
39264 change.
39265
39266 * libio/genops.c: Revert previous change.
39267 * libio/libioP.h: Likewise.
39268 * stdio-common/vfprintf.c: Likewise.
39269
39270 * sysdeps/generic/math_private.h: Revert previous
39271 change.
39272
39273 * sysdeps/generic/math_private.h: Check whether
39274 HAVE_RM_CTX is defined with #ifdef rather
39275 than #if.
39276
39277 * argp/argp-fmtstream.h: Check whether
39278 __STRICT_ANSI__ is defined with #ifdef rather
39279 than #if.
39280 * argp/argp.h: Likewise.
39281
39282 * libio/genops.c: Check whether
39283 _IO_JUMPS_OFFSET is defined with #ifdef rather
39284 than #if.
39285 * libio/libioP.h: Likewise.
39286 * stdio-common/vfprintf.c: Likewise.
39287
39288 * sysdeps/generic/ldsodefs.h: Check whether
39289 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39290 than #if.
39291
39292 * nptl/sysdeps/pthread/pthread.h: Check
39293 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39294 its value.
39295
39296 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
39297
39298 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39299 setting O_APPEND.
39300 * libio/tst-ftell-active-handler.c (do_append_test): Add a
39301 test case.
39302
39303 [BZ #16680]
39304 * libio/fileops.c (_IO_file_open): Seek to end of file but
39305 don't cache the offset.
39306 (get_file_offset): Remove function.
39307 (do_ftell): Use cached offset when available.
39308 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39309 don't cache the offset.
39310 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39311 case.
39312 (do_one_test): Call it.
39313 (do_ftell_test): Fix up expected old offset for a+ mode.
39314 * libio/wfileops.c (do_ftell_wide): Used cached offset when
39315 available.
39316
39317 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39318 up test status with function return status.
39319 (do_write_test): Likewise.
39320 (do_append_test): Likewise.
39321
39322 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39323 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39324 Remove.
39325
39326 2014-03-17 Joseph Myers <joseph@codesourcery.com>
39327
39328 * math/gen-libm-test.pl (parse_args): Handle results specified for
39329 each rounding mode separately.
39330 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39331 tests and results from lrint_tonearest_test_data,
39332 lrint_towardzero_test_data, lrint_downward_test_data and
39333 lrint_upward_test_data.
39334 (lrint_test): Use ALL_RM_TEST.
39335 (lrint_tonearest_test_data): Remove.
39336 (lrint_test_tonearest): Likewise.
39337 (lrint_towardzero_test_data): Likewise.
39338 (lrint_test_towardzero): Likewise.
39339 (lrint_downward_test_data): Likewise.
39340 (lrint_test_downward): Likewise.
39341 (lrint_upward_test_data): Likewise.
39342 (lrint_test_upward): Likewise.
39343 (llrint_test_data): Merge in per-rounding-mode tests and results
39344 from llrint_tonearest_test_data, llrint_towardzero_test_data,
39345 llrint_downward_test_data and llrint_upward_test_data.
39346 (llrint_test): Use ALL_RM_TEST.
39347 (llrint_tonearest_test_data): Remove.
39348 (llrint_test_tonearest): Likewise.
39349 (llrint_towardzero_test_data): Likewise.
39350 (llrint_test_towardzero): Likewise.
39351 (llrint_downward_test_data): Likewise.
39352 (llrint_test_downward): Likewise.
39353 (llrint_upward_test_data): Likewise.
39354 (llrint_test_upward): Likewise.
39355 (rint_test_data): Merge in per-rounding-mode tests and results
39356 from rint_tonearest_test_data, rint_towardzero_test_data,
39357 rint_downward_test_data and rint_upward_test_data. Add
39358 per-rounding-mode results for tests not in those arrays.
39359 (rint_test): Use ALL_RM_TEST.
39360 (rint_tonearest_test_data): Remove.
39361 (rint_test_tonearest): Likewise.
39362 (rint_towardzero_test_data): Likewise.
39363 (rint_test_towardzero): Likewise.
39364 (rint_downward_test_data): Likewise.
39365 (rint_test_downward): Likewise.
39366 (rint_upward_test_data): Likewise.
39367 (rint_test_upward): Likewise.
39368 (main): Don't call removed functions.
39369
39370 2014-03-14 Roland McGrath <roland@hack.frob.com>
39371
39372 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39373 "Compiled on ..." crapola. It is anti-useful.
39374
39375 2014-03-14 Joseph Myers <joseph@codesourcery.com>
39376
39377 * scripts/evaluate-test.sh: Handle fourth argument to determine
39378 whether test run should stop on failure.
39379 * Makeconfig (stop-on-test-failure): New variable.
39380 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39381 $(stop-on-test-failure).
39382 * Makefile (tests): Give a summary of results from testing and
39383 exit with failure status if they include an ERROR or FAIL.
39384 (xtests): Likewise.
39385 * manual/install.texi (Configuring and compiling): Mention
39386 stop-on-test-failure=y.
39387 * INSTALL: Regenerated.
39388
39389 2014-03-14 Roland McGrath <roland@hack.frob.com>
39390
39391 * scripts/versionlist.awk: New file.
39392 * Makerules [$(build-shared) = yes]
39393 (postclean-generated): Add Versions.def, not Versions.def.v and
39394 Versions.def.v.i.
39395 ($(common-objpfx)Versions.def.v.i): Target removed.
39396 ($(common-objpfx)Versions.def): New target.
39397 ($(common-objpfx)Versions.all): Depend on that rather that
39398 $(common-objpfx)Versions.def.v.
39399 * Versions.def: File removed.
39400
39401 * Makeconfig (+gccwarn): Add -Wundef.
39402 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39403 a dl-sysdep.h breaking its contract.
39404 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39405 * include/stackinfo.h: New file.
39406 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39407 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39408 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39409 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39410 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39411 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39412 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39413 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39414 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39415 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39416 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39417 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39418 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39419 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39420 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39421
39422 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39423
39424 [BZ #16707]
39425 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39426 implementation.
39427 * math/libm-test.inc (round_test_data): Add more tests.
39428
39429 [BZ #16706]
39430 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39431 implementation.
39432 * math/libm-test.inc (nearbyint_test_data): Add more tests.
39433
39434 [BZ #16701]
39435 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39436 implementation.
39437 * math/libm-test.inc (ceil_test_data): Add more tests.
39438
39439 * math/libm-test.inc (trunc_test_data): Add more tests related to
39440 BZ#16414.
39441
39442 2014-03-14 Roland McGrath <roland@hack.frob.com>
39443
39444 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39445 with #if rather than #ifdef.
39446 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39447
39448 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
39449
39450 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39451 first. Disable AVX-512 GCC support if assembler doesn't support
39452 it.
39453 * sysdeps/x86_64/configure: Regenerated.
39454
39455 2014-03-13 Carlos O'Donell <carlos@redhat.com>
39456
39457 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39458 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39459 (__old_pthread_attr_setstack): Likewise.
39460 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39461 [!_STACK_GROWS_DOWN]: Likewise.
39462
39463 2014-03-13 Mike Frysinger <vapier@gentoo.org>
39464
39465 * config.make.in (have-bash2): Delete.
39466 * configure.ac (libc_cv_have_bash2): Delete.
39467 * configure: Regenerate.
39468 * elf/Makefile (common-ldd-rewrite): Rename to ...
39469 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
39470 (sh-ldd-rewrite): Delete.
39471 (bash-ldd-rewrite): Delete.
39472 (have-bash2): Delete checks.
39473 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39474 ldd-rewrite.
39475
39476 * config.make.in (have-ksh): Delete.
39477 (KSH): Delete.
39478 * configure.ac (libc_cv_have_ksh): Delete.
39479 * configure: Regenerate.
39480
39481 * elf/Makefile: Delete $(have-ksh) check.
39482 ($(objpfx)sotruss): Change KSH to BASH.
39483 * elf/sotruss.ksh: Rename to ...
39484 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
39485 function style to match POSIX. Drop ksh vim mode setting.
39486
39487 * manual/time.texi (Specifying the Time Zone with TZ): Change
39488 Tuesday to Thursday.
39489
39490 * debug/tst-longjmp_chk2.c: Update header comment.
39491 (stackoverflow_handler): Add comment. Call assert on pass value.
39492
39493 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
39494
39495 [BZ #16194]
39496 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39497 (HAVE_AVX512_ASM_SUPPORT): Likewise.
39498 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39499 (La_x86_64_vector): Add zmm.
39500 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39501 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39502 ($(objpfx)tst-audit10): New target.
39503 ($(objpfx)tst-audit10.out): Likewise.
39504 (tst-audit10-ENV): New.
39505 (AVX512-CFLAGS): Likewise.
39506 (CFLAGS-tst-audit10.c): Likewise.
39507 (CFLAGS-tst-auditmod10a.c): Likewise.
39508 (CFLAGS-tst-auditmod10b.c): Likewise.
39509 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39510 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39511 * sysdeps/x86_64/configure: Regenerated.
39512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39513 AVX-512 zmm register support.
39514 (_dl_x86_64_save_sse): Likewise.
39515 (_dl_x86_64_restore_sse): Likewise.
39516 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39517 size vector registers.
39518 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39519 (ZMM_SIZE): Likewise.
39520 * sysdeps/x86_64/tst-audit10.c: New file.
39521 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39522 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39523
39524 2014-03-13 Roland McGrath <roland@hack.frob.com>
39525
39526 * configure.ac (HAVE_EHDR_START): New check.
39527 * configure: Regenerated.
39528 * config.h.in (HAVE_EHDR_START): New #undef.
39529 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39530 assuming the lowest-addressed segment maps the start of the file.
39531
39532 2014-03-13 Joseph Myers <joseph@codesourcery.com>
39533
39534 * INSTALL: Regenerated.
39535
39536 2014-03-13 Will Newton <will.newton@linaro.org>
39537
39538 * manual/setjmp.texi (System V contexts): Improve
39539 clarity and grammar of documentation.
39540
39541 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
39542
39543 [BZ #16381]
39544 * elf/Makefile (tests): Add tst-pie2.
39545 (tests-pie): Add tst-pie2.
39546 * elf/tst-pie2.c: New file.
39547 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39548 for ET_EXEC.
39549 * elf/rtld.c (map_doit): Load executable as lt_executable.
39550 (dl_main): Likewise.
39551
39552 2014-03-12 Joseph Myers <joseph@codesourcery.com>
39553
39554 [BZ #16642]
39555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39556 (__ASSUME_PSELECT): Undefine.
39557
39558 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39559
39560 [BZ #16689]
39561 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39562 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39563 static build.
39564 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39565 selector for static builds.
39566
39567 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
39568
39569 [BZ #16695]
39570 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39571 key in the buffer.
39572
39573 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39574
39575 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39576 IFUNC selector for static builds.
39577
39578 2014-03-11 Joseph Myers <joseph@codesourcery.com>
39579
39580 * sysdeps/mips/math_private.h [__mips_hard_float]
39581 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39582 libc_feresetround_mips_ctx.
39583 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39584 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39585 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39586
39587 [BZ #16677]
39588 * math/s_nextafter.c (__nextafter): Do not return value from
39589 overflowing computation.
39590 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39591 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39593 Likewise.
39594 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39595 Likewise.
39596 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39597 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39598
39599 2014-03-11 Roland McGrath <roland@hack.frob.com>
39600
39601 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39602 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39603 Move sfi_sp use from the load-multiple (that no longer sets sp) to
39604 the new mov targetting sp.
39605
39606 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39607
39608 [BZ #16683]
39609 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39610 Define it for static builds as well.
39611 (NO_BZERO_IMPL): Likewise.
39612
39613 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39614
39615 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39616 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39617 multiarch strspn for PPC64.
39618 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39619 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39621 (__libc_ifunc_impl_list): Likewise.
39622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39623 multiarch optimizations
39624 * string/strspn.c (strspn): Using macro to redefine symbol name.
39625
39626 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39627 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39628
39629 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39630 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39631 multiarch strncat for PPC64.
39632 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39633 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39635 (__libc_ifunc_impl_list): Likewise.
39636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39637 multiarch optimizations
39638
39639 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39640
39641 [BZ #16639]
39642 * nscd/nscd.service: Make service type forking.
39643
39644 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39645
39646 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39647 sign in non default rounding modes.
39648 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39649
39650 2014-03-08 Joseph Myers <joseph@codesourcery.com>
39651
39652 * math/libm-test.inc (ALL_RM_TEST): New macro.
39653 (ceil_test): Use ALL_RM_TEST.
39654 (cimag_test): Likewise.
39655 (conj_test): Likewise.
39656 (copysign_test): Likewise.
39657 (cproj_test): Likewise.
39658 (creal_test): Likewise.
39659 (fabs_test): Likewise.
39660 (floor_test): Likewise.
39661 (fmax_test): Likewise.
39662 (fmin_test): Likewise.
39663 (fmod_test): Likewise.
39664 (fpclassify_test): Likewise.
39665 (frexp_test): Likewise.
39666 (ilogb_test): Likewise.
39667 (isfinite_test): Likewise.
39668 (finite_test): Likewise.
39669 (isgreater_test): Likewise.
39670 (isgreaterequal_test): Likewise.
39671 (isinf_test): Likewise.
39672 (isless_test): Likewise.
39673 (islessequal_test): Likewise.
39674 (islessgreater_test): Likewise.
39675 (isnan_test): Likewise.
39676 (isnormal_test): Likewise.
39677 (issignaling_test): Likewise.
39678 (isunordered_test): Likewise.
39679 (logb_test): Likewise.
39680 (logb_downward_test_data): Remove.
39681 (logb_test_downward): Likewise.
39682 (lround_test): Use ALL_RM_TEST.
39683 (llround_test): Likewise.
39684 (modf_test): Likewise.
39685 (nexttoward_test): Likewise.
39686 (remainder_test): Likewise.
39687 (drem_test): Likewise.
39688 (remainder_tonearest_test_data): Likewise.
39689 (remainder_test_tonearest): Likewise.
39690 (drem_test_tonearest): Likewise.
39691 (remainder_towardzero_test_data): Likewise.
39692 (remainder_test_towardzero): Likewise.
39693 (drem_test_towardzero): Likewise.
39694 (remainder_downward_test_data): Likewise.
39695 (remainder_test_downward): Likewise.
39696 (drem_test_downward): Likewise.
39697 (remainder_upward_test_data): Likewise.
39698 (remainder_test_upward): Likewise.
39699 (drem_test_upward): Likewise.
39700 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
39701 (round_test): Use ALL_RM_TEST.
39702 (signbit_test): Likewise.
39703 (trunc_test): Likewise.
39704 (significand_test): Likewise.
39705 (main): Don't call removed functions.
39706
39707 2014-03-07 Joseph Myers <joseph@codesourcery.com>
39708
39709 [BZ #16674]
39710 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39711 || __USE_XOPEN2K8].
39712 (ILL_ILLOPN): Likewise.
39713 (ILL_ILLADR): Likewise.
39714 (ILL_ILLTRP): Likewise.
39715 (ILL_PRVOPC): Likewise.
39716 (ILL_PRVREG): Likewise.
39717 (ILL_COPROC): Likewise.
39718 (ILL_BADSTK): Likewise.
39719 (FPE_INTDIV): Likewise.
39720 (FPE_INTOVF): Likewise.
39721 (FPE_FLTDIV): Likewise.
39722 (FPE_FLTOVF): Likewise.
39723 (FPE_FLTUND): Likewise.
39724 (FPE_FLTRES): Likewise.
39725 (FPE_FLTINV): Likewise.
39726 (FPE_FLTSUB): Likewise.
39727 (SEGV_MAPERR): Likewise.
39728 (SEGV_ACCERR): Likewise.
39729 (BUS_ADRALN): Likewise.
39730 (BUS_ADRERR): Likewise.
39731 (BUS_OBJERR): Likewise.
39732 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39733 (TRAP_TRACE): Likewise.
39734 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39735 __USE_XOPEN2K8].
39736 (CLD_KILLED): Likewise.
39737 (CLD_DUMPED): Likewise.
39738 (CLD_TRAPPED): Likewise.
39739 (CLD_STOPPED): Likewise.
39740 (CLD_CONTINUED): Likewise.
39741 (POLL_IN): Likewise.
39742 (POLL_OUT): Likewise.
39743 (POLL_MSG): Likewise.
39744 (POLL_ERR): Likewise.
39745 (POLL_PRI): Likewise.
39746 (POLL_HUP): Likewise.
39747 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39748 Likewise.
39749 (ILL_ILLOPN): Likewise.
39750 (ILL_ILLADR): Likewise.
39751 (ILL_ILLTRP): Likewise.
39752 (ILL_PRVOPC): Likewise.
39753 (ILL_PRVREG): Likewise.
39754 (ILL_COPROC): Likewise.
39755 (ILL_BADSTK): Likewise.
39756 (FPE_INTDIV): Likewise.
39757 (FPE_INTOVF): Likewise.
39758 (FPE_FLTDIV): Likewise.
39759 (FPE_FLTOVF): Likewise.
39760 (FPE_FLTUND): Likewise.
39761 (FPE_FLTRES): Likewise.
39762 (FPE_FLTINV): Likewise.
39763 (FPE_FLTSUB): Likewise.
39764 (SEGV_MAPERR): Likewise.
39765 (SEGV_ACCERR): Likewise.
39766 (BUS_ADRALN): Likewise.
39767 (BUS_ADRERR): Likewise.
39768 (BUS_OBJERR): Likewise.
39769 (BUS_MCEERR_AR): Likewise.
39770 (BUS_MCEERR_AO): Likewise.
39771 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39772 (TRAP_TRACE): Likewise.
39773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39774 __USE_XOPEN2K8].
39775 (CLD_KILLED): Likewise.
39776 (CLD_DUMPED): Likewise.
39777 (CLD_TRAPPED): Likewise.
39778 (CLD_STOPPED): Likewise.
39779 (CLD_CONTINUED): Likewise.
39780 (POLL_IN): Likewise.
39781 (POLL_OUT): Likewise.
39782 (POLL_MSG): Likewise.
39783 (POLL_ERR): Likewise.
39784 (POLL_PRI): Likewise.
39785 (POLL_HUP): Likewise.
39786 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39787 (ILL_ILLOPN): Likewise.
39788 (ILL_ILLADR): Likewise.
39789 (ILL_ILLTRP): Likewise.
39790 (ILL_PRVOPC): Likewise.
39791 (ILL_PRVREG): Likewise.
39792 (ILL_COPROC): Likewise.
39793 (ILL_BADSTK): Likewise.
39794 (FPE_INTDIV): Likewise.
39795 (FPE_INTOVF): Likewise.
39796 (FPE_FLTDIV): Likewise.
39797 (FPE_FLTOVF): Likewise.
39798 (FPE_FLTUND): Likewise.
39799 (FPE_FLTRES): Likewise.
39800 (FPE_FLTINV): Likewise.
39801 (FPE_FLTSUB): Likewise.
39802 (SEGV_MAPERR): Likewise.
39803 (SEGV_ACCERR): Likewise.
39804 (BUS_ADRALN): Likewise.
39805 (BUS_ADRERR): Likewise.
39806 (BUS_OBJERR): Likewise.
39807 (BUS_MCEERR_AR): Likewise.
39808 (BUS_MCEERR_AO): Likewise.
39809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39810 (TRAP_TRACE): Likewise.
39811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39812 __USE_XOPEN2K8].
39813 (CLD_KILLED): Likewise.
39814 (CLD_DUMPED): Likewise.
39815 (CLD_TRAPPED): Likewise.
39816 (CLD_STOPPED): Likewise.
39817 (CLD_CONTINUED): Likewise.
39818 (POLL_IN): Likewise.
39819 (POLL_OUT): Likewise.
39820 (POLL_MSG): Likewise.
39821 (POLL_ERR): Likewise.
39822 (POLL_PRI): Likewise.
39823 (POLL_HUP): Likewise.
39824 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39825 Likewise.
39826 (ILL_ILLOPN): Likewise.
39827 (ILL_ILLADR): Likewise.
39828 (ILL_ILLTRP): Likewise.
39829 (ILL_PRVOPC): Likewise.
39830 (ILL_PRVREG): Likewise.
39831 (ILL_COPROC): Likewise.
39832 (ILL_BADSTK): Likewise.
39833 (ILL_BADIADDR): Likewise.
39834 (ILL_BREAK): Likewise.
39835 (FPE_INTDIV): Likewise.
39836 (FPE_INTOVF): Likewise.
39837 (FPE_FLTDIV): Likewise.
39838 (FPE_FLTOVF): Likewise.
39839 (FPE_FLTUND): Likewise.
39840 (FPE_FLTRES): Likewise.
39841 (FPE_FLTINV): Likewise.
39842 (FPE_FLTSUB): Likewise.
39843 (FPE_DECOVF): Likewise.
39844 (FPE_DECDIV): Likewise.
39845 (FPE_DECERR): Likewise.
39846 (FPE_INVASC): Likewise.
39847 (FPE_INVDEC): Likewise.
39848 (SEGV_MAPERR): Likewise.
39849 (SEGV_ACCERR): Likewise.
39850 (SEGV_PSTKOVF): Likewise.
39851 (BUS_ADRALN): Likewise.
39852 (BUS_ADRERR): Likewise.
39853 (BUS_OBJERR): Likewise.
39854 (BUS_MCEERR_AR): Likewise.
39855 (BUS_MCEERR_AO): Likewise.
39856 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39857 (TRAP_TRACE): Likewise.
39858 (TRAP_BRANCH): Likewise.
39859 (TRAP_HWBKPT): Likewise.
39860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39861 __USE_XOPEN2K8].
39862 (CLD_KILLED): Likewise.
39863 (CLD_DUMPED): Likewise.
39864 (CLD_TRAPPED): Likewise.
39865 (CLD_STOPPED): Likewise.
39866 (CLD_CONTINUED): Likewise.
39867 (POLL_IN): Likewise.
39868 (POLL_OUT): Likewise.
39869 (POLL_MSG): Likewise.
39870 (POLL_ERR): Likewise.
39871 (POLL_PRI): Likewise.
39872 (POLL_HUP): Likewise.
39873 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39874 (ILL_ILLOPN): Likewise.
39875 (ILL_ILLADR): Likewise.
39876 (ILL_ILLTRP): Likewise.
39877 (ILL_PRVOPC): Likewise.
39878 (ILL_PRVREG): Likewise.
39879 (ILL_COPROC): Likewise.
39880 (ILL_BADSTK): Likewise.
39881 (FPE_INTDIV): Likewise.
39882 (FPE_INTOVF): Likewise.
39883 (FPE_FLTDIV): Likewise.
39884 (FPE_FLTOVF): Likewise.
39885 (FPE_FLTUND): Likewise.
39886 (FPE_FLTRES): Likewise.
39887 (FPE_FLTINV): Likewise.
39888 (FPE_FLTSUB): Likewise.
39889 (SEGV_MAPERR): Likewise.
39890 (SEGV_ACCERR): Likewise.
39891 (BUS_ADRALN): Likewise.
39892 (BUS_ADRERR): Likewise.
39893 (BUS_OBJERR): Likewise.
39894 (BUS_MCEERR_AR): Likewise.
39895 (BUS_MCEERR_AO): Likewise.
39896 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39897 (TRAP_TRACE): Likewise.
39898 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39899 __USE_XOPEN2K8].
39900 (CLD_KILLED): Likewise.
39901 (CLD_DUMPED): Likewise.
39902 (CLD_TRAPPED): Likewise.
39903 (CLD_STOPPED): Likewise.
39904 (CLD_CONTINUED): Likewise.
39905 (POLL_IN): Likewise.
39906 (POLL_OUT): Likewise.
39907 (POLL_MSG): Likewise.
39908 (POLL_ERR): Likewise.
39909 (POLL_PRI): Likewise.
39910 (POLL_HUP): Likewise.
39911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39912 (ILL_ILLOPN): Likewise.
39913 (ILL_ILLADR): Likewise.
39914 (ILL_ILLTRP): Likewise.
39915 (ILL_PRVOPC): Likewise.
39916 (ILL_PRVREG): Likewise.
39917 (ILL_COPROC): Likewise.
39918 (ILL_BADSTK): Likewise.
39919 (FPE_INTDIV): Likewise.
39920 (FPE_INTOVF): Likewise.
39921 (FPE_FLTDIV): Likewise.
39922 (FPE_FLTOVF): Likewise.
39923 (FPE_FLTUND): Likewise.
39924 (FPE_FLTRES): Likewise.
39925 (FPE_FLTINV): Likewise.
39926 (FPE_FLTSUB): Likewise.
39927 (SEGV_MAPERR): Likewise.
39928 (SEGV_ACCERR): Likewise.
39929 (BUS_ADRALN): Likewise.
39930 (BUS_ADRERR): Likewise.
39931 (BUS_OBJERR): Likewise.
39932 (BUS_MCEERR_AR): Likewise.
39933 (BUS_MCEERR_AO): Likewise.
39934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39935 (TRAP_TRACE): Likewise.
39936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39937 __USE_XOPEN2K8].
39938 (CLD_KILLED): Likewise.
39939 (CLD_DUMPED): Likewise.
39940 (CLD_TRAPPED): Likewise.
39941 (CLD_STOPPED): Likewise.
39942 (CLD_CONTINUED): Likewise.
39943 (POLL_IN): Likewise.
39944 (POLL_OUT): Likewise.
39945 (POLL_MSG): Likewise.
39946 (POLL_ERR): Likewise.
39947 (POLL_PRI): Likewise.
39948 (POLL_HUP): Likewise.
39949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39950 (ILL_ILLOPN): Likewise.
39951 (ILL_ILLADR): Likewise.
39952 (ILL_ILLTRP): Likewise.
39953 (ILL_PRVOPC): Likewise.
39954 (ILL_PRVREG): Likewise.
39955 (ILL_COPROC): Likewise.
39956 (ILL_BADSTK): Likewise.
39957 (FPE_INTDIV): Likewise.
39958 (FPE_INTOVF): Likewise.
39959 (FPE_FLTDIV): Likewise.
39960 (FPE_FLTOVF): Likewise.
39961 (FPE_FLTUND): Likewise.
39962 (FPE_FLTRES): Likewise.
39963 (FPE_FLTINV): Likewise.
39964 (FPE_FLTSUB): Likewise.
39965 (SEGV_MAPERR): Likewise.
39966 (SEGV_ACCERR): Likewise.
39967 (BUS_ADRALN): Likewise.
39968 (BUS_ADRERR): Likewise.
39969 (BUS_OBJERR): Likewise.
39970 (BUS_MCEERR_AR): Likewise.
39971 (BUS_MCEERR_AO): Likewise.
39972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39973 (TRAP_TRACE): Likewise.
39974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39975 __USE_XOPEN2K8].
39976 (CLD_KILLED): Likewise.
39977 (CLD_DUMPED): Likewise.
39978 (CLD_TRAPPED): Likewise.
39979 (CLD_STOPPED): Likewise.
39980 (CLD_CONTINUED): Likewise.
39981 (POLL_IN): Likewise.
39982 (POLL_OUT): Likewise.
39983 (POLL_MSG): Likewise.
39984 (POLL_ERR): Likewise.
39985 (POLL_PRI): Likewise.
39986 (POLL_HUP): Likewise.
39987 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39988 (ILL_ILLOPN): Likewise.
39989 (ILL_ILLADR): Likewise.
39990 (ILL_ILLTRP): Likewise.
39991 (ILL_PRVOPC): Likewise.
39992 (ILL_PRVREG): Likewise.
39993 (ILL_COPROC): Likewise.
39994 (ILL_BADSTK): Likewise.
39995 (ILL_DBLFLT): Likewise.
39996 (ILL_HARDWALL): Likewise.
39997 (FPE_INTDIV): Likewise.
39998 (FPE_INTOVF): Likewise.
39999 (FPE_FLTDIV): Likewise.
40000 (FPE_FLTOVF): Likewise.
40001 (FPE_FLTUND): Likewise.
40002 (FPE_FLTRES): Likewise.
40003 (FPE_FLTINV): Likewise.
40004 (FPE_FLTSUB): Likewise.
40005 (SEGV_MAPERR): Likewise.
40006 (SEGV_ACCERR): Likewise.
40007 (BUS_ADRALN): Likewise.
40008 (BUS_ADRERR): Likewise.
40009 (BUS_OBJERR): Likewise.
40010 (BUS_MCEERR_AR): Likewise.
40011 (BUS_MCEERR_AO): Likewise.
40012 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40013 (TRAP_TRACE): Likewise.
40014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40015 __USE_XOPEN2K8].
40016 (CLD_KILLED): Likewise.
40017 (CLD_DUMPED): Likewise.
40018 (CLD_TRAPPED): Likewise.
40019 (CLD_STOPPED): Likewise.
40020 (CLD_CONTINUED): Likewise.
40021 (POLL_IN): Likewise.
40022 (POLL_OUT): Likewise.
40023 (POLL_MSG): Likewise.
40024 (POLL_ERR): Likewise.
40025 (POLL_PRI): Likewise.
40026 (POLL_HUP): Likewise.
40027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40028 (ILL_ILLOPN): Likewise.
40029 (ILL_ILLADR): Likewise.
40030 (ILL_ILLTRP): Likewise.
40031 (ILL_PRVOPC): Likewise.
40032 (ILL_PRVREG): Likewise.
40033 (ILL_COPROC): Likewise.
40034 (ILL_BADSTK): Likewise.
40035 (FPE_INTDIV): Likewise.
40036 (FPE_INTOVF): Likewise.
40037 (FPE_FLTDIV): Likewise.
40038 (FPE_FLTOVF): Likewise.
40039 (FPE_FLTUND): Likewise.
40040 (FPE_FLTRES): Likewise.
40041 (FPE_FLTINV): Likewise.
40042 (FPE_FLTSUB): Likewise.
40043 (SEGV_MAPERR): Likewise.
40044 (SEGV_ACCERR): Likewise.
40045 (BUS_ADRALN): Likewise.
40046 (BUS_ADRERR): Likewise.
40047 (BUS_OBJERR): Likewise.
40048 (BUS_MCEERR_AR): Likewise.
40049 (BUS_MCEERR_AO): Likewise.
40050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40051 (TRAP_TRACE): Likewise.
40052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40053 __USE_XOPEN2K8].
40054 (CLD_KILLED): Likewise.
40055 (CLD_DUMPED): Likewise.
40056 (CLD_TRAPPED): Likewise.
40057 (CLD_STOPPED): Likewise.
40058 (CLD_CONTINUED): Likewise.
40059 (POLL_IN): Likewise.
40060 (POLL_OUT): Likewise.
40061 (POLL_MSG): Likewise.
40062 (POLL_ERR): Likewise.
40063 (POLL_PRI): Likewise.
40064 (POLL_HUP): Likewise.
40065 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40066 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40067
40068 [BZ #16670]
40069 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40070 before #include of <time.h>.
40071 [!__USE_XOPEN2K] (__need_timespec): Likewise.
40072 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40073 (test-xfail-UNIX98/sched.h/conform): Likewise.
40074
40075 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
40076
40077 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40078 error absence of trapping exception support.
40079 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40080
40081 2014-03-07 Joseph Myers <joseph@codesourcery.com>
40082
40083 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40084 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40085 * timezone/Makefile (testdata): Move definition above include of
40086 Rules.
40087 (test-zones): New variable.
40088 (tests-special): Add zone files.
40089 (build-testdata): Use $(evaluate-test).
40090
40091 * elf/Makefile (tests-special): Rename tests to end with .out.
40092 ($(objpfx)noload-mem): Likewise.
40093 ($(objpfx)tst-leaks1-mem): Likewise.
40094 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40095 * iconv/Makefile (xtests-special): Change test-iconvconfig to
40096 $(objpfx)test-iconvconfig.out.
40097 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
40098 set -e inside subshell and redirect output to file.
40099 * iconvdata/Makefile (generated): Rename tests to end with .out.
40100 Correct type.
40101 (tests-special): Rename tests to end with .out.
40102 ($(objpfx)mtrace-tst-loading): Likewise.
40103 * intl/Makefile (generated): Likewise.
40104 (tests-special): Likewise.
40105 ($(objpfx)mtrace-tst-gettext): Likewise.
40106 * misc/Makefile (generated): Likewise.
40107 (tests-special): Likewise.
40108 ($(objpfx)tst-error1-mem): Likewise.
40109 * nptl/Makefile (tests-special): Likewise.
40110 ($(objpfx)tst-stack3-mem): Likewise.
40111 (generated): Likewise.
40112 * posix/Makefile (generated): Likewise.
40113 (tests-special): Likewise.
40114 (xtests-special): Likewise.
40115 ($(objpfx)tst-fnmatch-mem): Likewise.
40116 ($(objpfx)bug-regex2-mem): Likewise.
40117 ($(objpfx)bug-regex14-mem): Likewise.
40118 ($(objpfx)bug-regex21-mem): Likewise.
40119 ($(objpfx)bug-regex31-mem): Likewise.
40120 ($(objpfx)tst-vfork3-mem): Likewise.
40121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40122 ($(objpfx)tst-pcre-mem): Likewise.
40123 ($(objpfx)tst-boost-mem): Likewise.
40124 ($(objpfx)bug-ga2-mem): Likewise.
40125 ($(objpfx)bug-glob2-mem): Likewise.
40126 * resolv/Makefile (generate): Likewise.
40127 (tests-special): Likewise.
40128 (xtests-special): Likewise.
40129 (generated): Likewise.
40130 ($(objpfx)mtrace-tst-leaks): Likewise.
40131 ($(objpfx)mtrace-tst-leaks2): Likewise.
40132
40133 * scripts/merge-test-results.sh: New file.
40134 * Makefile (tests-special-notdir): New variable.
40135 (tests): Run merge-test-results.sh.
40136 (xtests): Likewise.
40137 * Rules (tests-special-notdir): New variable.
40138 (xtests-special-notdir): Likewise.
40139 (tests): Run merge-test-results.sh
40140 (xtests): Likewise.
40141
40142 * Makeconfig (test-xfail-name): New variable.
40143 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40144 compute variable name for expected failures.
40145 * conform/Makefile (conformtest-headers-data): New variable.
40146 (conformtest-standards): Likewise.
40147 (conformtest-headers-ISO): Likewise.
40148 (conformtest-headers-ISO99): Likewise.
40149 (conformtest-headers-ISO11): Likewise.
40150 (conformtest-headers-POSIX): Likewise.
40151 (conformtest-headers-XPG3): Likewise.
40152 (conformtest-headers-XPG4): Likewise.
40153 (conformtest-headers-UNIX98): Likewise.
40154 (conformtest-headers-XOPEN2K): Likewise.
40155 (conformtest-headers-POSIX2008): Likewise.
40156 (conformtest-headers-XOPEN2K8): Likewise.
40157 (conformtest-header-list-base): Likewise.
40158 (conformtest-header-list-tests): Likewise.
40159 (conformtest-header-base): Likewise.
40160 (conformtest-header-tests): Likewise.
40161 (tests-special): Add $(conformtest-header-list-tests). If
40162 [$(fast-check) && !$(cross-compiling)], add
40163 $(conformtest-header-tests) instead of
40164 $(objpfx)run-conformtest.out.
40165 (generated): Add $(conformtest-header-list-base). If
40166 [$(fast-check) && !$(cross-compiling)], add
40167 $(conformtest-header-base). Remove previous setting.
40168 ($(conformtest-header-list-tests)): New target.
40169 (test-xfail-run-conformtest): Remove variable.
40170 ($(objpfx)run-conformtest.out): Remove target.
40171 (test-xfail-ISO11/complex.h/conform): New variable.
40172 (test-xfail-ISO11/stdalign.h/conform): Likewise.
40173 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40174 (test-xfail-XPG3/varargs.h/conform): Likewise.
40175 (test-xfail-XPG4/varargs.h/conform): Likewise.
40176 (test-xfail-UNIX98/varargs.h/conform): Likewise.
40177 (test-xfail-XPG4/ndbm.h/conform): Likewise.
40178 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40179 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40180 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40181 (test-xfail-XPG3/fcntl.h/conform): Likewise.
40182 (test-xfail-XPG3/ftw.h/conform): Likewise.
40183 (test-xfail-XPG3/grp.h/conform): Likewise.
40184 (test-xfail-XPG3/langinfo.h/conform): Likewise.
40185 (test-xfail-XPG3/limits.h/conform): Likewise.
40186 (test-xfail-XPG3/pwd.h/conform): Likewise.
40187 (test-xfail-XPG3/search.h/conform): Likewise.
40188 (test-xfail-XPG3/signal.h/conform): Likewise.
40189 (test-xfail-XPG3/stdio.h/conform): Likewise.
40190 (test-xfail-XPG3/stdlib.h/conform): Likewise.
40191 (test-xfail-XPG3/string.h/conform): Likewise.
40192 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40193 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40194 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40195 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40196 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40197 (test-xfail-XPG3/sys/types.h/conform): Likewise.
40198 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40199 (test-xfail-XPG3/termios.h/conform): Likewise.
40200 (test-xfail-XPG3/time.h/conform): Likewise.
40201 (test-xfail-XPG3/unistd.h/conform): Likewise.
40202 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40203 (test-xfail-XPG4/fcntl.h/conform): Likewise.
40204 (test-xfail-XPG4/langinfo.h/conform): Likewise.
40205 (test-xfail-XPG4/netdb.h/conform): Likewise.
40206 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40207 (test-xfail-XPG4/signal.h/conform): Likewise.
40208 (test-xfail-XPG4/stdio.h/conform): Likewise.
40209 (test-xfail-XPG4/stdlib.h/conform): Likewise.
40210 (test-xfail-XPG4/stropts.h/conform): Likewise.
40211 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40212 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40213 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40214 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40215 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40216 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40217 (test-xfail-XPG4/sys/time.h/conform): Likewise.
40218 (test-xfail-XPG4/sys/types.h/conform): Likewise.
40219 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40220 (test-xfail-XPG4/termios.h/conform): Likewise.
40221 (test-xfail-XPG4/ucontext.h/conform): Likewise.
40222 (test-xfail-XPG4/unistd.h/conform): Likewise.
40223 (test-xfail-XPG4/utmpx.h/conform): Likewise.
40224 (test-xfail-POSIX/sched.h/conform): Likewise.
40225 (test-xfail-POSIX/signal.h/conform): Likewise.
40226 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40227 (test-xfail-POSIX/tar.h/conform): Likewise.
40228 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40229 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40230 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40231 (test-xfail-UNIX98/netdb.h/conform): Likewise.
40232 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40233 (test-xfail-UNIX98/sched.h/conform): Likewise.
40234 (test-xfail-UNIX98/signal.h/conform): Likewise.
40235 (test-xfail-UNIX98/stdio.h/conform): Likewise.
40236 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40237 (test-xfail-UNIX98/stropts.h/conform): Likewise.
40238 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40239 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40240 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40241 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40242 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40243 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40244 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40245 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40246 (test-xfail-UNIX98/unistd.h/conform): Likewise.
40247 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40248 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40249 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40250 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40251 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40252 (test-xfail-XOPEN2K/math.h/conform): Likewise.
40253 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40254 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40255 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40256 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40257 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40258 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40259 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40260 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40261 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40262 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40263 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40264 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40265 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40266 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40267 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40268 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40269 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40270 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40271 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40272 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40273 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40274 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40275 (test-xfail-POSIX2008/signal.h/conform): Likewise.
40276 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40277 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40278 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40279 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40280 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40281 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40282 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40283 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40284 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40285 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40286 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40287 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40288 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40289 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40290 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40291 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40292 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40293 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40294 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40295 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40296 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40297 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40298 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40299 (conformtest-cc-flags): Likewise.
40300 ($(conformtest-header-tests): New target.
40301 * conform/check-header-lists.sh: New file.
40302 * conform/run-conformtest.sh: Remove.
40303
40304 * conform/conformtest.pl: Allow ' and \ in values given for
40305 constants.
40306 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40307 inclusion.
40308 [POSIX] (sys/types.h): Likewise.
40309 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40310 inclusion.
40311 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40312 inclusion.
40313 * conform/data/signal.h-data (SIGIO): Remove expectation.
40314 [XPG3] (SIGBUS): Do not expect.
40315 [POSIX || XPG3] (SIGPOLL): Likewise.
40316 [POSIX || XPG3] (SIGPROF): Likewise.
40317 [POSIX || XPG3] (SIGSYS): Likewise.
40318 [XPG3] (SIGTRAP): Likewise.
40319 [POSIX || XPG3] (SIGURG): Likewise.
40320 [POSIX || XPG3] (SIGVTALRM): Likewise.
40321 [POSIX || XPG3] (SIGXCPU): Likewise.
40322 [POSIX || XPG3] (SIGXFSZ): Likewise.
40323 [POSIX] (SA_SIGINFO): Expect.
40324 [XPG3] (siginfo_t): Do not expect type or contents.
40325 [POSIX] (si_pid): Do not expect element.
40326 [POSIX] (si_uid): Likewise.
40327 [POSIX] (si_addr): Likewise.
40328 [POSIX] (si_status): Likewise.
40329 [POSIX] (si_band): Likewise.
40330 [XPG4] (si_value): Likewise.
40331 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40332 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40333 [POSIX || XPG3] (ILL_ILLADR): Likewise.
40334 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40335 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40336 [POSIX || XPG3] (ILL_PRVREG): Likewise.
40337 [POSIX || XPG3] (ILL_COPROC): Likewise.
40338 [POSIX || XPG3] (ILL_BADSTK): Likewise.
40339 [POSIX || XPG3] (FPE_INTDIV): Likewise.
40340 [POSIX || XPG3] (FPE_INTOVF): Likewise.
40341 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40342 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40343 [POSIX || XPG3] (FPE_FLTUND): Likewise.
40344 [POSIX || XPG3] (FPE_FLTRES): Likewise.
40345 [POSIX || XPG3] (FPE_FLTINV): Likewise.
40346 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40347 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40348 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40349 [POSIX || XPG3] (BUS_ADRALN): Likewise.
40350 [POSIX || XPG3] (BUS_ADRERR): Likewise.
40351 [POSIX || XPG3] (BUS_OBJERR): Likewise.
40352 [POSIX || XPG3] (CLD_EXITED): Likewise.
40353 [POSIX || XPG3] (CLD_KILLED): Likewise.
40354 [POSIX || XPG3] (CLD_DUMPED): Likewise.
40355 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40356 [POSIX || XPG3] (CLD_STOPPED): Likewise.
40357 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40358 [POSIX || XPG3] (POLL_IN): Likewise.
40359 [POSIX || XPG3] (POLL_OUT): Likewise.
40360 [POSIX || XPG3] (POLL_MSG): Likewise.
40361 [POSIX || XPG3] (POLL_ERR): Likewise.
40362 [POSIX || XPG3] (POLL_PRI): Likewise.
40363 [POSIX || XPG3] (POLL_HUP): Likewise.
40364 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40365 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40366 (SIG*): Do not allow.
40367 [XPG3] (si_*): Likewise.
40368 [XPG3] (SI_*): Likewise.
40369 [XPG3 || XPG4] (sigev_*): Likewise.
40370 [XPG3 || XPG4] (SIGEV_*): Likewise.
40371 [XPG3 || XPG4] (sival_*): Likewise.
40372 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40373 [POSIX || XPG3] (BUS_*): Likewise.
40374 [POSIX || XPG3] (CLD_*): Likewise.
40375 [POSIX || XPG3] (FPE_*): Likewise.
40376 [POSIX || XPG3] (ILL_*): Likewise.
40377 [POSIX || XPG3] (POLL_*): Likewise.
40378 [POSIX || XPG3] (SEGV_*): Likewise.
40379 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40380 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40381 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40382 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40383 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40384 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40385 Specify type and value.
40386 (TVERSLEN): Likewise.
40387 (REGTYPE): Likewise.
40388 (AREGTYPE): Likewise.
40389 (LNKTYPE): Likewise.
40390 (SYMTYPE): Likewise.
40391 (CHRTYPE): Likewise.
40392 (BLKTYPE): Likewise.
40393 (DIRTYPE): Likewise.
40394 (FIFOTYPE): Likewise.
40395 (CONTTYPE): Likewise.
40396 (TSUID): Likewise.
40397 (TSGID): Likewise.
40398 (TSVTX): Likewise.
40399 (TUREAD): Likewise.
40400 (TUWRITE): Likewise.
40401 (TUEXEC): Likewise.
40402 (TGREAD): Likewise.
40403 (TGWRITE): Likewise.
40404 (TGEXEC): Likewise.
40405 (TOREAD): Likewise.
40406 (TOWRITE): Likewise.
40407 (TOEXEC): Likewise.
40408 [POSIX] (TSVTX): Expect constant.
40409
40410 2014-03-06 Joseph Myers <joseph@codesourcery.com>
40411
40412 * Makefile (tests): Change dependencies to ....
40413 (tests-special): ... additions to this variable.
40414 (tests): Depend on $(tests-special).
40415 * Makerules (check-abi-list): New variable.
40416 (check-abi): Depend on $(check-abi-list).
40417 [$(subdir) = elf] (tests-special): Add
40418 $(objpfx)check-abi-libc.out.
40419 [$(build-shared) = yes && subdir] (tests-special): Add
40420 $(check-abi-list).
40421 [$(build-shared) = yes && subdir] (tests): Do not depend on
40422 check-abi.
40423 * Rules (tests): Depend on $(tests-special).
40424 (xtests): Depend on $(xtests-special).
40425 * catgets/Makefile (tests): Change dependencies to ....
40426 (tests-special): ... additions to this variable.
40427 * conform/Makefile (tests): Change dependencies to ....
40428 (tests-special): ... additions to this variable.
40429 * elf/Makefile (tests): Change dependencies to ....
40430 (tests-special): ... additions to this variable.
40431 * grp/Makefile (tests): Change dependencies to ....
40432 (tests-special): ... additions to this variable.
40433 * iconv/Makefile (xtests): Change dependencies to ....
40434 (xtests-special): ... additions to this variable.
40435 * iconvdata/Makefile (tests): Change dependencies to ....
40436 (tests-special): ... additions to this variable.
40437 * intl/Makefile (tests): Change dependencies to ....
40438 (tests-special): ... additions to this variable. Also add
40439 $(objpfx)tst-gettext.out.
40440 * io/Makefile (tests): Change dependencies to ....
40441 (tests-special): ... additions to this variable.
40442 * libio/Makefile (tests): Change dependencies to ....
40443 (tests-special): ... additions to this variable.
40444 * malloc/Makefile (tests): Change dependencies to ....
40445 (tests-special): ... additions to this variable.
40446 * misc/Makefile (tests): Change dependencies to ....
40447 (tests-special): ... additions to this variable.
40448 * nptl/Makefile (tests): Change dependencies to ....
40449 (tests-special): ... additions to this variable.
40450 * nptl_db/Makefile (tests): Change dependencies to ....
40451 (tests-special): ... additions to this variable.
40452 * posix/Makefile (tests): Change dependencies to ....
40453 (tests-special): ... additions to this variable.
40454 (xtests): Change dependencies to ....
40455 (xtests-special): ... additions to this variable.
40456 * resolv/Makefile (tests): Change dependencies to ....
40457 (tests-special): ... additions to this variable.
40458 (xtests): Change dependencies to ....
40459 (xtests-special): ... additions to this variable.
40460 * stdio-common/Makefile (tests): Change dependencies to ....
40461 (tests-special): ... additions to this variable.
40462 (do-tst-unbputc): Remove target.
40463 (do-tst-printf): Likewise.
40464 * stdlib/Makefile (tests): Change dependencies to ....
40465 (tests-special): ... additions to this variable.
40466 * string/Makefile (tests): Change dependencies to ....
40467 (tests-special): ... additions to this variable.
40468 * sysdeps/x86/Makefile (tests): Change dependencies to ....
40469 (tests-special): ... additions to this variable.
40470
40471 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40472 whole file.
40473 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40474 whole file.
40475 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40476 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40477
40478 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40479 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40480 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40481 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40482 * conform/data/libgen.h-data [XPG3]: Likewise.
40483 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40484 * conform/data/ndbm.h-data [XPG3]: Likewise.
40485 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40486 * conform/data/netdb.h-data [XPG3]: Likewise.
40487 * conform/data/netinet/in.h-data [XPG3]: Likewise.
40488 * conform/data/poll.h-data [XPG3]: Likewise.
40489 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40490 * conform/data/strings.h-data [XPG3]: Likewise.
40491 * conform/data/stropts.h-data [XPG3]: Likewise.
40492 * conform/data/sys/mman.h-data [XPG3]: Likewise.
40493 * conform/data/sys/resource.h-data [XPG3]: Likewise.
40494 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40495 Likewise.
40496 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40497 * conform/data/sys/time.h-data [XPG3]: Likewise.
40498 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40499 * conform/data/sys/uio.h-data [XPG3]: Likewise.
40500 * conform/data/sys/un.h-data [XPG3]: Likewise.
40501 * conform/data/syslog.h-data [XPG3]: Likewise.
40502 * conform/data/ucontext.h-data [XPG3]: Likewise.
40503 * conform/data/utmpx.h-data [XPG3]: Likewise.
40504 * conform/data/varargs.h-data [UNIX98]: Enable file.
40505
40506 * manual/Makefile (INSTALL_INFO): Remove variable setting.
40507
40508 * math/libm-test.inc (struct test_f_f_data): Move expected results
40509 into structure for each rounding mode.
40510 (struct test_ff_f_data): Likewise.
40511 (struct test_ff_f_data_nexttoward): Likewise.
40512 (struct test_fi_f_data): Likewise.
40513 (struct test_fl_f_data): Likewise.
40514 (struct test_if_f_data): Likewise.
40515 (struct test_fff_f_data): Likewise.
40516 (struct test_c_f_data): Likewise.
40517 (struct test_f_f1_data): Likewise.
40518 (struct test_fF_f1_data): Likewise.
40519 (struct test_ffI_f1_data): Likewise.
40520 (struct test_c_c_data): Likewise.
40521 (struct test_cc_c_data): Likewise.
40522 (struct test_f_i_data): Likewise.
40523 (struct test_ff_i_data): Likewise.
40524 (struct test_f_l_data): Likewise.
40525 (struct test_f_L_data): Likewise.
40526 (struct test_fFF_11_data): Likewise.
40527 (RM_): New macro.
40528 (RM_FE_DOWNWARD): Likewise.
40529 (RM_FE_TONEAREST): Likewise.
40530 (RM_FE_TOWARDZERO): Likewise.
40531 (RM_FE_UPWARD): Likewise.
40532 (RUN_TEST_LOOP_f_f): Update references to expected results.
40533 (RUN_TEST_LOOP_2_f): Likewise.
40534 (RUN_TEST_LOOP_fff_f): Likewise.
40535 (RUN_TEST_LOOP_c_f): Likewise.
40536 (RUN_TEST_LOOP_f_f1): Likewise.
40537 (RUN_TEST_LOOP_fF_f1): Likewise.
40538 (RUN_TEST_LOOP_fI_f1): Likewise.
40539 (RUN_TEST_LOOP_ffI_f1): Likewise.
40540 (RUN_TEST_LOOP_c_c): Likewise.
40541 (RUN_TEST_LOOP_cc_c): Likewise.
40542 (RUN_TEST_LOOP_f_i): Likewise.
40543 (RUN_TEST_LOOP_f_i_tg): Likewise.
40544 (RUN_TEST_LOOP_ff_i_tg): Likewise.
40545 (RUN_TEST_LOOP_f_b): Likewise.
40546 (RUN_TEST_LOOP_f_b_tg): Likewise.
40547 (RUN_TEST_LOOP_f_l): Likewise.
40548 (RUN_TEST_LOOP_f_L): Likewise.
40549 (RUN_TEST_LOOP_fFF_11): Likewise.
40550 * math/gen-libm-test.pl (parse_args): Output four copies of
40551 expected results for each test.
40552
40553 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40554 (__ASSUME_UTIMES): Remove.
40555 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40556 (__ASSUME_UTIMES): Likewise.
40557
40558 * math/gen-auto-libm-tests.c: Update comment on output format.
40559 (output_for_one_input_case): Generate before-rounding and
40560 after-rounding information as conditions on output flags not
40561 floating-point format.
40562 * math/auto-libm-test-out: Regenerated.
40563 * math/gen-libm-test.pl (cond_value): New function.
40564 (or_cond_value): Use cond_value.
40565 (generate_testfile): Handle conditional exceptions.
40566
40567 2014-03-05 Joseph Myers <joseph@codesourcery.com>
40568
40569 * math/libm-test.inc (max_valid_error): New variable.
40570 (init_max_error): Take new argument specifying whether function
40571 results are exactly determined. Set max_valid_error and bound
40572 other variables for errors based on this argument.
40573 (set_max_error): Do not record results above max_valid_error.
40574 (check_float_internal): Only accept errors of up to 0.5ulps if
40575 also at most max_valid_error.
40576 (START): Take new argument EXACT and pass it to init_max_error.
40577 (acos_test): Update call to START.
40578 (acos_test_tonearest): Likewise.
40579 (acos_test_towardzero): Likewise.
40580 (acos_test_downward): Likewise.
40581 (acos_test_upward): Likewise.
40582 (acosh_test): Likewise.
40583 (asin_test): Likewise.
40584 (asin_test_tonearest): Likewise.
40585 (asin_test_towardzero): Likewise.
40586 (asin_test_downward): Likewise.
40587 (asin_test_upward): Likewise.
40588 (asinh_test): Likewise.
40589 (atan_test): Likewise.
40590 (atanh_test): Likewise.
40591 (atan2_test): Likewise.
40592 (cabs_test): Likewise.
40593 (cacos_test): Likewise.
40594 (cacosh_test): Likewise.
40595 (carg_test): Likewise.
40596 (casin_test): Likewise.
40597 (casinh_test): Likewise.
40598 (catan_test): Likewise.
40599 (catanh_test): Likewise.
40600 (cbrt_test): Likewise.
40601 (ccos_test): Likewise.
40602 (ccosh_test): Likewise.
40603 (ceil_test): Likewise.
40604 (cexp_test): Likewise.
40605 (cimag_test): Likewise.
40606 (clog_test): Likewise.
40607 (clog10_test): Likewise.
40608 (conj_test): Likewise.
40609 (copysign_test): Likewise.
40610 (cos_test): Likewise.
40611 (cos_test_tonearest): Likewise.
40612 (cos_test_towardzero): Likewise.
40613 (cos_test_downward): Likewise.
40614 (cos_test_upward): Likewise.
40615 (cosh_test): Likewise.
40616 (cosh_test_tonearest): Likewise.
40617 (cosh_test_towardzero): Likewise.
40618 (cosh_test_downward): Likewise.
40619 (cosh_test_upward): Likewise.
40620 (cpow_test): Likewise.
40621 (cproj_test): Likewise.
40622 (creal_test): Likewise.
40623 (csin_test): Likewise.
40624 (csinh_test): Likewise.
40625 (csqrt_test): Likewise.
40626 (ctan_test): Likewise.
40627 (ctan_test_tonearest): Likewise.
40628 (ctan_test_towardzero): Likewise.
40629 (ctan_test_downward): Likewise.
40630 (ctan_test_upward): Likewise.
40631 (ctanh_test): Likewise.
40632 (ctanh_test_tonearest): Likewise.
40633 (ctanh_test_towardzero): Likewise.
40634 (ctanh_test_downward): Likewise.
40635 (ctanh_test_upward): Likewise.
40636 (erf_test): Likewise.
40637 (erfc_test): Likewise.
40638 (exp_test): Likewise.
40639 (exp_test_tonearest): Likewise.
40640 (exp_test_towardzero): Likewise.
40641 (exp_test_downward): Likewise.
40642 (exp_test_upward): Likewise.
40643 (exp10_test): Likewise.
40644 (exp10_test_tonearest): Likewise.
40645 (exp10_test_towardzero): Likewise.
40646 (exp10_test_downward): Likewise.
40647 (exp10_test_upward): Likewise.
40648 (pow10_test): Likewise.
40649 (exp2_test): Likewise.
40650 (expm1_test): Likewise.
40651 (expm1_test_tonearest): Likewise.
40652 (expm1_test_towardzero): Likewise.
40653 (expm1_test_downward): Likewise.
40654 (expm1_test_upward): Likewise.
40655 (fabs_test): Likewise.
40656 (fdim_test): Likewise.
40657 (floor_test): Likewise.
40658 (fma_test): Likewise.
40659 (fma_test_towardzero): Likewise.
40660 (fma_test_downward): Likewise.
40661 (fma_test_upward): Likewise.
40662 (fmax_test): Likewise.
40663 (fmin_test): Likewise.
40664 (fmod_test): Likewise.
40665 (fpclassify_test): Likewise.
40666 (frexp_test): Likewise.
40667 (hypot_test): Likewise.
40668 (ilogb_test): Likewise.
40669 (isfinite_test): Likewise.
40670 (finite_test): Likewise.
40671 (isgreater_test): Likewise.
40672 (isgreaterequal_test): Likewise.
40673 (isinf_test): Likewise.
40674 (isless_test): Likewise.
40675 (islessequal_test): Likewise.
40676 (islessgreater_test): Likewise.
40677 (isnan_test): Likewise.
40678 (isnormal_test): Likewise.
40679 (issignaling_test): Likewise.
40680 (isunordered_test): Likewise.
40681 (j0_test): Likewise.
40682 (j1_test): Likewise.
40683 (jn_test): Likewise.
40684 (ldexp_test): Likewise.
40685 (lgamma_test): Likewise.
40686 (gamma_test): Likewise.
40687 (lrint_test): Likewise.
40688 (lrint_test_tonearest): Likewise.
40689 (lrint_test_towardzero): Likewise.
40690 (lrint_test_downward): Likewise.
40691 (lrint_test_upward): Likewise.
40692 (llrint_test): Likewise.
40693 (llrint_test_tonearest): Likewise.
40694 (llrint_test_towardzero): Likewise.
40695 (llrint_test_downward): Likewise.
40696 (llrint_test_upward): Likewise.
40697 (log_test): Likewise.
40698 (log10_test): Likewise.
40699 (log1p_test): Likewise.
40700 (log2_test): Likewise.
40701 (logb_test): Likewise.
40702 (logb_test_downward): Likewise.
40703 (lround_test): Likewise.
40704 (llround_test): Likewise.
40705 (modf_test): Likewise.
40706 (nearbyint_test): Likewise.
40707 (nextafter_test): Likewise.
40708 (nexttoward_test): Likewise.
40709 (pow_test): Likewise.
40710 (pow_test_tonearest): Likewise.
40711 (pow_test_towardzero): Likewise.
40712 (pow_test_downward): Likewise.
40713 (pow_test_upward): Likewise.
40714 (remainder_test): Likewise.
40715 (drem_test): Likewise.
40716 (remainder_test_tonearest): Likewise.
40717 (drem_test_tonearest): Likewise.
40718 (remainder_test_towardzero): Likewise.
40719 (drem_test_towardzero): Likewise.
40720 (remainder_test_downward): Likewise.
40721 (drem_test_downward): Likewise.
40722 (remainder_test_upward): Likewise.
40723 (drem_test_upward): Likewise.
40724 (remquo_test): Likewise.
40725 (rint_test): Likewise.
40726 (rint_test_tonearest): Likewise.
40727 (rint_test_towardzero): Likewise.
40728 (rint_test_downward): Likewise.
40729 (rint_test_upward): Likewise.
40730 (round_test): Likewise.
40731 (scalb_test): Likewise.
40732 (scalbn_test): Likewise.
40733 (scalbln_test): Likewise.
40734 (signbit_test): Likewise.
40735 (sin_test): Likewise.
40736 (sin_test_tonearest): Likewise.
40737 (sin_test_towardzero): Likewise.
40738 (sin_test_downward): Likewise.
40739 (sin_test_upward): Likewise.
40740 (sincos_test): Likewise.
40741 (sinh_test): Likewise.
40742 (sinh_test_tonearest): Likewise.
40743 (sinh_test_towardzero): Likewise.
40744 (sinh_test_downward): Likewise.
40745 (sinh_test_upward): Likewise.
40746 (sqrt_test): Likewise.
40747 (sqrt_test_tonearest): Likewise.
40748 (sqrt_test_towardzero): Likewise.
40749 (sqrt_test_downward): Likewise.
40750 (sqrt_test_upward): Likewise.
40751 (tan_test): Likewise.
40752 (tan_test_tonearest): Likewise.
40753 (tan_test_towardzero): Likewise.
40754 (tan_test_downward): Likewise.
40755 (tan_test_upward): Likewise.
40756 (tanh_test): Likewise.
40757 (tgamma_test): Likewise.
40758 (trunc_test): Likewise.
40759 (y0_test): Likewise.
40760 (y1_test): Likewise.
40761 (yn_test): Likewise.
40762 (significand_test): Likewise.
40763
40764 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40765 individual tests in comment.
40766 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40767 (prev_max_error): New variable.
40768 (prev_real_max_error): Likewise.
40769 (prev_imag_max_error): Likewise.
40770 (compare_ulp_data): Don't refer to test names in comment.
40771 (find_test_ulps): Remove function.
40772 (find_function_ulps): Likewise.
40773 (find_complex_function_ulps): Likewise.
40774 (init_max_error): Take function name as argument. Look up ulps
40775 for that function.
40776 (print_ulps): Remove function.
40777 (print_max_error): Use prev_max_error instead of calling
40778 find_function_ulps.
40779 (print_complex_max_error): Use prev_real_max_error and
40780 prev_imag_max_error instead of calling find_complex_function_ulps.
40781 (check_float_internal): Take max_ulp parameter instead of calling
40782 find_test_ulps. Don't call print_ulps.
40783 (check_float): Update call to check_float_internal.
40784 (check_complex): Update calls to check_float_internal.
40785 (START): Pass argument to init_max_error.
40786 * math/gen-libm-test.pl (%results): Don't include "kind"
40787 information.
40788 (parse_ulps): Don't handle ulps of individual tests.
40789 (print_ulps_file): Likewise.
40790 (output_ulps): Likewise.
40791 * math/README.libm-test: Update.
40792 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40793 individual tests.
40794 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40795 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40796 * sysdeps/arm/libm-test-ulps: Likewise.
40797 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40798 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40799 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40800 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40801 * sysdeps/microblaze/libm-test-ulps: Likewise.
40802 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40803 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40805 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40806 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40807 * sysdeps/sh/libm-test-ulps: Likewise.
40808 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40809 * sysdeps/tile/libm-test-ulps: Likewise.
40810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40811
40812 2014-03-04 Joseph Myers <joseph@codesourcery.com>
40813
40814 * math/libm-test.inc (print_complex_max_error): Check separately
40815 whether real and imaginary errors are within allowed range and
40816 pass 0 to print_complex_function_ulps instead of value within
40817 allowed range.
40818
40819 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40820
40821 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40822 formatting.
40823 (get_handles_fopen): Likewise.
40824 (do_write_test): Likewise.
40825
40826 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40827
40828 * libio/fileops.c (do_ftell): Use cached offset when
40829 available.
40830 * libio/iofwide.c (do_ftell_wide): Likewise.
40831 * libio/iofdopen.c (_IO_new_fdopen): Don't use
40832 _IO_file_attach.
40833 * libio/wfileops.c (_IO_fwide): Don't cache offset.
40834
40835 [BZ #16532]
40836 * libio/libioP.h (get_file_offset): New function.
40837 * libio/fileops.c (get_file_offset): Likewise.
40838 (do_ftell): Likewise.
40839 (_IO_new_file_seekoff): Split out ftell logic.
40840 * libio/wfileops.c (do_ftell_wide): Likewise.
40841 (_IO_wfile_seekoff): Split out ftell logic.
40842 * libio/tst-ftell-active-handler.c: New test case.
40843 * libio/Makefile (tests): Add it.
40844
40845 2014-03-03 Roland McGrath <roland@hack.frob.com>
40846
40847 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40848 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40849
40850 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
40851
40852 [BZ #16639]
40853 * nscd/connections.c (nscd_init): Call do_exit.
40854 (start_threads): Call do_exit and notify_parent.
40855 (begin_drop_privileges): Call do_exit.
40856 (finish_drop_privileges): Likewise.
40857 * nscd/selinux.c (preserve_capabilities): Likewise.
40858 (install_real_capabilities): Likewise.
40859 (nscd_selinux_enabled): Likewise.
40860 (avc_create_thread): Likewise.
40861 (avc_alloc_lock): Likewise.
40862 (nscd_avc_init): Likewise.
40863 * nscd/nscd.c (parent_fd): New static variable.
40864 (main): Create a pipe between parent and child processes.
40865 Skip closing parent_fd.
40866 (monitor_child): New function.
40867 (do_exit): Likewise.
40868 (notify_parent): Likewise.
40869 * nscd/nscd.h (notify_parent): Likewise.
40870 (do_exit): Likewise.
40871
40872 2014-03-03 Carlos O'Donell <carlos@redhat.com>
40873
40874 * malloc/malloc.c (__libc_calloc): Revert last change.
40875
40876 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40877
40878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40879
40880 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40881
40882 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40884 implementation.
40885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40886 (__libc_ifunc_impl_list): Likewise.
40887 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40888 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40889 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40890 * string/strrchr.c: Define STRRCHR.
40891
40892 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
40893
40894 * benchtest/bench-strtok.c (simple_strtok): Delete.
40895 (strtok_string): Use as benchmark.
40896 * string/strtok (STRTOK): New macro.
40897
40898 2014-02-28 Carlos O'Donell <carlos@redhat.com>
40899
40900 * manual/threads.texi: Add header and standard comments to all
40901 functions.
40902
40903 * elf/dl-lookup.c (check_match): New function.
40904 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40905 (do_lookup_x): Remove nested function check_match. Use non-nested
40906 function check_match.
40907
40908 2014-02-28 Roland McGrath <roland@hack.frob.com>
40909
40910 * csu/Makefile (generated, before-compile): Use += rather than =.
40911 * catgets/Makefile (generated, generated-dirs): Likewise.
40912 * debug/Makefile (generated): Likewise.
40913 * dlfcn/Makefile (generated): Likewise.
40914 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40915 * iconvdata/Makefile (before-compile, generated): Likewise.
40916 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40917 * libio/Makefile (generated): Likewise.
40918 * malloc/Makefile (generated): Likewise.
40919 * manual/Makefile (generated, generated-dirs): Likewise.
40920 * misc/Makefile (generated): Likewise.
40921 * posix/Makefile (generated): Likewise.
40922 * resolv/Makefile (generated): Likewise.
40923 * sunrpc/Makefile (generated, generated-dirs): Likewise.
40924 * timezone/Makefile (generated, generated-dirs): Likewise.
40925
40926 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40927
40928 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40929
40930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40931 power8 implementation.
40932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40933 file: POWER8 llround ifunc implementation.
40934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40935 (__lllround): Add POWER8 implementation.
40936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40937 POWER8 llround implementation.
40938
40939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40940 power8 implementation.
40941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40942 file: POWER8 llrint ifunc implementation.
40943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40944 Add POWER8 implementation.
40945 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40946 POWER8 llrint implementation.
40947
40948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40949 power8 implementation.
40950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40951 file: POWER8 finite ifunc implementation.
40952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40953 Add POWER8 implementation.
40954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40955 Likewise.
40956 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40957 POWER8 finite implementation.
40958 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40959
40960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40961 power8 implementation.
40962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40963 file: POWER8 isinf ifunc implementation.
40964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40965 POWER8 implementation.
40966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40967 Likewise.
40968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40969 isinf implementation.
40970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40971
40972 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40973 (INIT_ARCH): Add hwcap2 initialization.
40974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40975 power8 implementation.
40976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40977 file: POWER8 isnan ifunc implementation.
40978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40979 POWER8 implementation.
40980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40981 Likewise.
40982 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40983 isnan implementation.
40984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40985
40986 2014-02-27 Joey Ye <joey.ye@arm.com>
40987
40988 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40989 (_FP_NANFRAC_Q): Set to zero.
40990
40991 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40992
40993 [BZ #16623]
40994 * math/auto-libm-test-in: New test inputs.
40995 * math/auto-libm-test-out: Regenerate.
40996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40997 and DA.
40998 (__cos): Likewise.
40999 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41000
41001 2014-02-27 Joseph Myers <joseph@codesourcery.com>
41002
41003 * scripts/evaluate-test.sh: Take new argument indicating whether
41004 failure is expected.
41005 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41006 indicating whether failure is expected.
41007 * conform/Makefile (test-xfail-run-conformtest): New variable.
41008 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41009 level.
41010 * posix/Makefile (test-xfail-annexc): New variable.
41011 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41012
41013 2014-02-26 Joseph Myers <joseph@codesourcery.com>
41014
41015 * argp/Makefile: Include Makeconfig immediately after defining
41016 subdir.
41017 * assert/Makefile: Likewise.
41018 * benchtests/Makefile: Likewise.
41019 * catgets/Makefile: Likewise.
41020 * conform/Makefile: Likewise.
41021 * crypt/Makefile: Likewise.
41022 * csu/Makefile: Likewise.
41023 (all): Remove target.
41024 * ctype/Makefile: Include Makeconfig immediately after defining
41025 subdir.
41026 * debug/Makefile: Likewise.
41027 * dirent/Makefile: Likewise.
41028 * dlfcn/Makefile: Likewise.
41029 * gmon/Makefile: Likewise.
41030 * gnulib/Makefile: Likewise.
41031 * grp/Makefile: Likewise.
41032 * gshadow/Makefile: Likewise.
41033 * hesiod/Makefile: Likewise.
41034 * hurd/Makefile: Likewise.
41035 (all): Remove target.
41036 * iconvdata/Makefile: Include Makeconfig immediately after
41037 defining subdir.
41038 * inet/Makefile: Likewise.
41039 * intl/Makefile: Likewise.
41040 * io/Makefile: Likewise.
41041 * libio/Makefile: Likewise.
41042 (all): Remove target.
41043 * locale/Makefile: Include Makeconfig immediately after defining
41044 subdir.
41045 * login/Makefile: Likewise.
41046 * mach/Makefile: Likewise.
41047 (all): Remove target.
41048 * malloc/Makefile: Include Makeconfig immediately after defining
41049 subdir.
41050 (all): Remove target.
41051 * manual/Makefile: Include Makeconfig immediately after defining
41052 subdir.
41053 * math/Makefile: Likewise.
41054 * misc/Makefile: Likewise.
41055 * nis/Makefile: Likewise.
41056 * nss/Makefile: Likewise.
41057 * po/Makefile: Likewise.
41058 (all): Remove target.
41059 * posix/Makefile: Include Makeconfig immediately after defining
41060 subdir.
41061 * pwd/Makefile: Likewise.
41062 * resolv/Makefile: Likewise.
41063 * resource/Makefile: Likewise.
41064 * rt/Makefile: Likewise.
41065 * setjmp/Makefile: Likewise.
41066 * shadow/Makefile: Likewise.
41067 * signal/Makefile: Likewise.
41068 * socket/Makefile: Likewise.
41069 * soft-fp/Makefile: Likewise.
41070 * stdio-common/Makefile: Likewise.
41071 * stdlib/Makefile: Likewise.
41072 * streams/Makefile: Likewise.
41073 * string/Makefile: Likewise.
41074 * sunrpc/Makefile: Likewise.
41075 (all): Remove target.
41076 * sysvipc/Makefile: Include Makeconfig immediately after defining
41077 subdir.
41078 * termios/Makefile: Likewise.
41079 * time/Makefile: Likewise.
41080 * timezone/Makefile: Likewise.
41081 (all): Remove target.
41082 * wcsmbs/Makefile: Include Makeconfig immediately after defining
41083 subdir.
41084 * wctype/Makefile: Likewise.
41085
41086 2014-02-26 Steve Ellcey <sellcey@mips.com>
41087
41088 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41089 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41090 (libc_feholdexcept_setround_mips): Ditto.
41091 (libc_feholdsetround): New.
41092 (libc_feholdsetroundf): New.
41093 (libc_feholdsetroundl): New.
41094 (libc_feupdateenv_test_mips): New.
41095 (libc_feupdateenv_test): New.
41096 (libc_feupdateenv_testf): New.
41097 (libc_feupdateenv_testl): New.
41098 (libc_feresetround): New.
41099 (libc_feresetroundf): New.
41100 (libc_feresetroundl): New.
41101 (libc_fetestexcept_mips): New.
41102 (libc_fetestexcept): New.
41103 (libc_fetestexceptf): New.
41104 (libc_fetestexceptl): New.
41105 (HAVE_RM_CTX): New.
41106 (libc_feholdexcept_setround_mips_ctx): New.
41107 (libc_feholdexcept_setround_ctx): New.
41108 (libc_feholdexcept_setroundf_ctx): New.
41109 (libc_feholdexcept_setroundl_ctx): New.
41110 (libc_fesetenv_mips_ctx): New.
41111 (libc_fesetenv_ctx): New.
41112 (libc_fesetenv_ctxf): New.
41113 (libc_fesetenv_ctxl): New.
41114 (libc_feupdateenv_mips_ctx): New.
41115 (libc_feupdateenv_ctx): New.
41116 (libc_feupdateenvf_ctx): New.
41117 (libc_feupdateenvl_ctx): New.
41118 (libc_feholdsetround_mips_ctx): New.
41119 (libc_feholdsetround_ctx): New.
41120 (libc_feholdsetroundf_ctx): New.
41121 (libc_feholdsetroundl_ctx): New.
41122 (libc_feresetround_mips_ctx): New.
41123 (libc_feresetround_ctx): New.
41124 (libc_feresetroundf_ctx): New.
41125 (libc_feresetroundl_ctx): New.
41126
41127 2014-02-26 Carlos O'Donell <carlos@redhat.com>
41128
41129 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41130
41131 * manual/ipc.texi: New file.
41132 * manual/Makefile (chapters): Add ipc.
41133 * manual/job.texi: Add "Inter-Process Communication" to next.
41134 * manual/process.texi: Add "Inter-Process Communication" to prev.
41135
41136 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41137
41138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41139
41140 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
41141
41142 * malloc/malloc.c (__libc_calloc): Simplify implementation.
41143
41144 * manual/arith.texi: Fix spaces after sentences.
41145 * manual/charset.texi: Likewise.
41146 * manual/errno.texi: Likewise.
41147 * manual/install.texi: Likewise.
41148 * manual/llio.texi: Likewise.
41149 * manual/locale.texi: Likewise.
41150 * manual/maint.texi: Likewise.
41151 * manual/math.texi: Likewise.
41152 * manual/memory.texi: Likewise.
41153 * manual/message.texi: Likewise.
41154 * manual/probes.texi: Likewise.
41155 * manual/resource.texi: Likewise.
41156 * manual/signal.texi: Likewise.
41157 * manual/socket.texi: Likewise.
41158 * manual/stdio.texi: Likewise.
41159 * manual/string.texi: Likewise.
41160 * manual/time.texi: Likewise.
41161 * manual/users.texi: Likewise.
41162
41163 2014-02-25 Carlos O'Donell <carlos@redhat.com>
41164
41165 [BZ #16632]
41166 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41167 _DEFAULT_SOURCE is defined.
41168
41169 2014-02-25 Ulrich Drepper <drepper@gmail.com>
41170 Carlos O'Donell <carlos@redhat.com>
41171
41172 [BZ #16613]
41173 * elf/dl-tls.c (_dl_count_modids): New function.
41174 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41175 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41176 audit library and increment generation counter.
41177 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41178 * elf/tst-audit9.c: New file.
41179 * elf/tst-auditmod9a.c: New file.
41180 * elf/tst-auditmod9b.c: New file.
41181 * elf/Makefile: Add rules to build and run tst-audit9.
41182
41183 2014-02-25 Florian Weimer <fweimer@redhat.com>
41184
41185 [BZ #15347]
41186 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41187
41188 2014-02-25 Will Newton <will.newton@linaro.org>
41189
41190 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41191 (__longjmp): Restore sp and lr before restoring callee
41192 saved registers. Add longjmp and longjmp_target
41193 SystemTap probe point.
41194 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41195 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41196 Define to zero to match jmpbuf layout.
41197 * sysdeps/arm/setjmp.S: Include stap-probe.h.
41198 (__sigsetjmp): Save sp and lr before saving callee
41199 saved registers. Add setjmp SystemTap probe point.
41200
41201 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
41202
41203 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41204
41205 2014-02-24 Andreas Schwab <schwab@suse.de>
41206
41207 [BZ #15804]
41208 * elf/pldd.c (wait_for_ptrace_stop): New function.
41209 (main): Call it after attaching.
41210
41211 2014-02-22 Roland McGrath <roland@hack.frob.com>
41212
41213 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41214 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41215 Versions files is now verboten.
41216 * hurd/Versions (libc: GLIBC_2.0):
41217 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41218 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41219 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41220 * mach/Versions: Likewise.
41221
41222 * csu/Versions: Remove unused %include.
41223 * resolv/Versions: Likewise.
41224
41225 2014-02-21 Joseph Myers <joseph@codesourcery.com>
41226
41227 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41228 ($(objpfx)check-local-headers.out): Likewise.
41229 ($(objpfx)begin-end-check.out): Likewise.
41230 * Makerules (check-abi-%.out): Likewise.
41231 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41232 ($(objpfx)test2.cat): Likewise.
41233 ($(objpfx)de/libc.cat): Likewise.
41234 ($(objpfx)test-gencat.out): Likewise.
41235 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41236 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41237 ($(objpfx)noload-mem): Likewise.
41238 ($(objpfx)tst-pathopt.out): Likewise.
41239 ($(objpfx)tst-rtld-load-self.out): Likewise.
41240 ($(objpfx)tst-array1-cmp.out): Likewise.
41241 ($(objpfx)tst-array1-static-cmp.out): Likewise.
41242 ($(objpfx)tst-array2-cmp.out): Likewise.
41243 ($(objpfx)tst-array3-cmp.out): Likewise.
41244 ($(objpfx)tst-array4-cmp.out): Likewise.
41245 ($(objpfx)tst-array5-cmp.out): Likewise.
41246 ($(objpfx)tst-array5-static-cmp.out): Likewise.
41247 ($(objpfx)check-textrel.out): Likewise.
41248 ($(objpfx)check-execstack.out): Likewise.
41249 ($(objpfx)check-localplt.out): Likewise.
41250 ($(objpfx)order2-cmp.out): Likewise.
41251 ($(objpfx)tst-leaks1-mem): Likewise.
41252 ($(objpfx)tst-leaks1-static-mem): Likewise.
41253 ($(objpfx)tst-initorder-cmp.out): Likewise.
41254 ($(objpfx)tst-initorder2-cmp.out): Likewise.
41255 ($(objpfx)tst-unused-dep.out): Likewise.
41256 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41257 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41258 * iconv/Makefile (test-iconvconfig): Likewise.
41259 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41260 ($(objpfx)iconv-test.out): Likewise.
41261 ($(objpfx)tst-tables.out): Likewise.
41262 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41263 ($(objpfx)tst-gettext.out): Likewise.
41264 ($(objpfx)tst-translit.out): Likewise.
41265 ($(objpfx)tst-gettext2.out): Likewise.
41266 ($(objpfx)tst-gettext4.out): Likewise.
41267 ($(objpfx)tst-gettext6.out): Likewise.
41268 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41269 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41270 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41271 ($(objpfx)tst-fopenloc-mem.out): Likewise.
41272 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41273 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41274 * posix/Makefile ($(objpfx)globtest.out): Likewise.
41275 ($(objpfx)wordexp-tst.out): Likewise.
41276 ($(objpfx)annexc.out): Likewise.
41277 ($(objpfx)tst-fnmatch-mem): Likewise.
41278 ($(objpfx)bug-regex2-mem): Likewise.
41279 ($(objpfx)bug-regex14-mem): Likewise.
41280 ($(objpfx)bug-regex21-mem): Likewise.
41281 ($(objpfx)bug-regex31-mem): Likewise.
41282 ($(objpfx)tst-vfork3-mem): Likewise.
41283 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41284 ($(objpfx)tst-pcre-mem): Likewise.
41285 ($(objpfx)tst-boost-mem): Likewise.
41286 ($(objpfx)tst-getconf.out): Likewise.
41287 ($(objpfx)bug-ga2-mem): Likewise.
41288 ($(objpfx)bug-glob2-mem): Likewise.
41289 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41290 ($(objpfx)mtrace-tst-leaks2): Likewise.
41291 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41292 ($(objpfx)tst-printf.out): Likewise.
41293 ($(objpfx)tst-setvbuf1.out): Likewise.
41294 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41295 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41296 ($(objpfx)tst-fmtmsg.out): Likewise.
41297 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41298 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41299
41300 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41301 * bits/sigaction.h [__USE_MISC]: Likewise.
41302 * bits/waitstatus.h: Update #endif comments.
41303 * ctype/ctype.h: Likewise.
41304 * dirent/dirent.h: Likewise.
41305 [__USE_MISC]: Remove redundant conditionals.
41306 * grp/grp.h: Update #endif comments.
41307 [__USE_GNU]: Remove redundant conditionals.
41308 [__USE_MISC]: Likewise.
41309 * inet/netinet/in.h [__USE_GNU]: Likewise.
41310 * io/sys/stat.h [__USE_MISC]: Likewise.
41311 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41312 * libio/bits/stdio.h: Update #endif comments.
41313 [__USE_MISC]: Remove redundant conditionals.
41314 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41315 * libio/stdio.h: Update #endif comments.
41316 [__USE_MISC]: Remove redundant conditionals.
41317 * math/bits/math-finite.h [__USE_MISC]: Likewise.
41318 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41319 * math/math.h: Update #else and #endif comments.
41320 [__USE_MISC]: Remove redundant conditionals.
41321 * misc/sys/uio.h: Update #endif comments.
41322 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41323 * posix/glob.h [__USE_MISC]: Likewise.
41324 * posix/sys/types.h: Update #endif comments.
41325 [__USE_MISC]: Remove redundant conditionals.
41326 * posix/sys/wait.h: Update #endif comments.
41327 [__USE_MISC]: Remove redundant conditionals.
41328 * posix/unistd.h: Update #endif comments.
41329 [__USE_MISC]: Remove redundant conditionals.
41330 * pwd/pwd.h [__USE_GNU]: Likewise.
41331 [__USE_MISC]: Likewise.
41332 * resolv/netdb.h [__USE_GNU]: Likewise.
41333 * signal/signal.h: Update #endif comments.
41334 [__USE_MISC]: Remove redundant conditionals.
41335 * stdlib/stdlib.h: Update #else and #endif comments.
41336 [__USE_MISC]: Remove redundant conditionals.
41337 [__USE_GNU]: Likewise.
41338 * string/bits/string2.h [__USE_MISC]: Likewise.
41339 * string/string.h: Update #endif comments.
41340 [__USE_MISC]: Remove redundant conditionals.
41341 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41342 Likewise.
41343 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41344 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41345 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41346 Likewise.
41347 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41348 Likewise.
41349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41350 comments.
41351 [__USE_MISC]: Remove redundant conditionals.
41352 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41353 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41354 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41355 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41356 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41357 Likewise.
41358 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41359 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41360 Likewise.
41361 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41362 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41363 Likewise.
41364 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41365 Likewise.
41366 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41367 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41368 Likewise.
41369 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41370 Likewise.
41371 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41372 * sysdeps/x86/bits/string.h: Update #endif comments.
41373 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41374 conditionals.
41375 * time/sys/time.h: Update #endif comments.
41376 * time/time.h: Likewise.
41377 [__USE_MISC]: Remove redundant conditionals.
41378
41379 2014-02-21 Yury Gribov <y.gribov@samsung.com>
41380
41381 [BZ #16600]
41382 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41383
41384 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
41385
41386 * Versions.def (librt): Add GLIBC_2.17.
41387
41388 2014-02-21 Adam Conrad <adconrad@0c3.net>
41389
41390 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41391 synonym for _SYS_AUXV_H to allow direct inclusion.
41392 * sysdeps/sparc/bits/hwcap.h: Likewise.
41393 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41394 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41395 * sysdeps/sparc/sysdep.h: Likewise.
41396
41397 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41398
41399 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41400
41401 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41402
41403 * benchtests/bench-strrchr.c: Print length instead of position.
41404
41405 2014-02-20 Joseph Myers <joseph@codesourcery.com>
41406
41407 [BZ #16611]
41408 * sysdeps/unix/sysv/linux/kernel-features.h
41409 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41410 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41411 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41412 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41413 Likewise.
41414 [__i386__ || __powerpc__ || __sh__ || __sparc__]
41415 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41416 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41417 (__ASSUME_SENDMMSG): Define instead of using previous
41418 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41419 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41420 (__ASSUME_SENDMMSG_SYSCALL): Define.
41421 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41422 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41423 Likewise.
41424 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41425 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41426 Likewise.
41427 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41428 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41429 Likewise.
41430 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41431 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41432 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41433 [__ASSUME_SENDMMSG]: Change conditionals to
41434 [__ASSUME_SENDMMSG_SOCKETCALL].
41435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41436 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41437 Define.
41438 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41439 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41440 Likewise.
41441 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41442 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41443 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41444 [!__ASSUME_SENDMMSG]: Change conditional to
41445 [!__ASSUME_SENDMMSG_SOCKETCALL].
41446 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41447 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41448 Define.
41449
41450 [BZ #16610]
41451 * sysdeps/unix/sysv/linux/kernel-features.h
41452 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41453 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41454 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41455 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41456 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41457 [__i386__ || __sparc__]
41458 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41459 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41460 (__ASSUME_RECVMMSG): Define instead of using previous
41461 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41462 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41463 (__ASSUME_RECVMMSG_SYSCALL): Define.
41464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41465 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41466 Likewise.
41467 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41469 Likewise.
41470 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41472 Likewise.
41473 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41474 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41475 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41476 [__ASSUME_RECVMMSG]: Change condition to
41477 [__ASSUME_RECVMMSG_SOCKETCALL].
41478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41479 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41480 Define.
41481 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41483 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41484 Likewise.
41485 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41486 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41487 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41488 [!__ASSUME_RECVMMSG]: Change condition to
41489 [!__ASSUME_RECVMMSG_SOCKETCALL].
41490 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41491 (__ASSUME_RECVMMSG_SYSCALL): Define.
41492
41493 [BZ #16609]
41494 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41495 __powerpc__ || __s390__ || __sh__ || __sparc__]
41496 (__ASSUME_SOCKETCALL): Define.
41497 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41498 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41499 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41500 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41501 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41502 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41503 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41504 (__ASSUME_ACCEPT4): Define instead of using previous
41505 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41506 __powerpc__ || __sparc__ || __s390__)] condition.
41507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41508 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41509 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41510 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41511 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41512 [!__ASSUME_ACCEPT4]: Change condition to
41513 [!__ASSUME_ACCEPT4_SOCKETCALL].
41514 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41515 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
41516 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41517 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41518 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41519 __ASSUME_ACCEPT4_SYSCALL.
41520 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41521 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41522 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41523 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41524 __ASSUME_ACCEPT4_SYSCALL.
41525 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41526 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41527 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41528 [__ASSUME_ACCEPT4]: Change condition to
41529 [__ASSUME_ACCEPT4_SOCKETCALL].
41530 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41531 (__ASSUME_SOCKETCALL): Define.
41532 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41533 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41534 (__ASSUME_SOCKETCALL): Define.
41535 (__ASSUME_ACCEPT4): Remove.
41536 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41537 Define.
41538 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41539 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41540 Likewise.
41541 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41542 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41543
41544 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41545 macro.
41546 (HWCAP_ARM_LPAE): Likewise.
41547 (HWCAP_ARM_EVTSTRM): Likewise.
41548 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41549 Add vpfd32, lpae and evtstrm.
41550 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41551 Increase to 22.
41552
41553 2014-02-19 Joseph Myers <joseph@codesourcery.com>
41554
41555 * math/auto-libm-test-in: Add tests of clog10.
41556 * math/auto-libm-test-out: Regenerated.
41557 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41558 * sysdeps/i386/fpu/libm-test-ulps: Update.
41559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41560
41561 2014-02-18 Andreas Schwab <schwab@suse.de>
41562
41563 [BZ #16574]
41564 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41565 Store non-zero if the second buffer was newly allocated.
41566 (send_dg): Likewise.
41567 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41568 to send_vc and send_dg.
41569 (res_nsend): Pass NULL for ansp2_malloced.
41570 * resolv/res_query.c (__libc_res_nquery): Add parameter
41571 answerp2_malloced and pass it down to __libc_res_nsend.
41572 (res_nquery): Pass additional NULL to __libc_res_nquery.
41573 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41574 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
41575 second answer buffer if answerp2_malloced was set.
41576 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41577 (__libc_res_nquerydomain): Add parameter
41578 answerp2_malloced and pass it down to __libc_res_nquery.
41579 (res_nquerydomain): Pass additional NULL to
41580 __libc_res_nquerydomain.
41581 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41582 additional NULL to __libc_res_nsend and __libc_res_nquery.
41583 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41584 additional NULL to __libc_res_nsearch.
41585 (_nss_dns_gethostbyname4_r): Revert last change. Use new
41586 parameter of __libc_res_nsearch to check for separately allocated
41587 second buffer.
41588 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41589 __libc_res_nquery.
41590 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41591 additional NULL to __libc_res_nquery.
41592 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41593 __libc_res_nsearch.
41594 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41595 * include/resolv.h: Update prototypes of __libc_res_nquery,
41596 __libc_res_nsearch, __libc_res_nsend.
41597
41598 2014-02-18 Joseph Myers <joseph@codesourcery.com>
41599
41600 * math/auto-libm-test-in: Add tests of fma.
41601 * math/auto-libm-test-out: Regenerated.
41602 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41603 (fma_towardzero_test_data): Likewise.
41604 (fma_downward_test_data): Likewise.
41605 (fma_upward_test_data): Likewise.
41606 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41607 mpc_mode.
41608 (rounding_modes): Add values for new field.
41609 (func_calc_method): Add value mpfr_fff_f.
41610 (func_calc_desc): Add mpfr_fff_f union field.
41611 (test_function): Add field exact_args.
41612 (FUNC): Add macro argument EXACT_ARGS.
41613 (FUNC_mpfr_f_f): Update call to FUNC.
41614 (FUNC_mpfr_f_f): Likewise.
41615 (FUNC_mpfr_ff_f): Likewise.
41616 (FUNC_mpfr_if_f): Likewise.
41617 (FUNC_mpc_c_f): Likewise.
41618 (FUNC_mpc_c_c): Likewise.
41619 (test_functions): Add fma. Update calls to FUNC.
41620 (handle_input_arg): Add argument exact_args.
41621 (add_test): Update call to handle_input_arg.
41622 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
41623 (output_for_one_input_case): Update call to calc_generic_results.
41624 Recalculate exact zero results in each rounding mode.
41625
41626 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41627 non-negative before setting low bit.
41628 * math/auto-libm-test-in: Mark one asin test possibly having
41629 spurious underflow.
41630 * math/auto-libm-test-out: Regenerated.
41631 * sysdeps/i386/fpu/libm-test-ulps: Update.
41632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41633
41634 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
41635
41636 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41637 * sysdeps/unix/sysv/linux/microblaze: Move directory from
41638 ports/sysdeps/unix/sysv/linux/microblaze.
41639 * README: Add missing listing for microblaze*-*-linux-gnu.
41640
41641 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
41642
41643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41644 duplicate code
41645
41646 2014-02-16 Mike Frysinger <vapier@gentoo.org>
41647
41648 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41649 * sysdeps/unix/sysv/linux/ia64: Move directory from
41650 ports/sysdeps/unix/sysv/linux/ia64.
41651 * README: Update listing for ia64-*-linux-gnu.
41652
41653 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
41654 Joseph Myers <joseph@codesourcery.com>
41655
41656 * Makeconfig (test-name): New variable.
41657 (evaluate-test): Likewise.
41658 * Makerules (do-test-clean): Remove .test-result files.
41659 (common-mostlyclean): Likewise.
41660 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41661 * scripts/evaluate-test.sh: New file.
41662
41663 2014-02-14 Joseph Myers <joseph@codesourcery.com>
41664
41665 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41666 separate $(objpfx)tst-fopenloc-cmp.out and
41667 $(objpfx)tst-fopenloc-mem.out targets.
41668 (tests): Update dependencies.
41669 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41670 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41671 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41672 (tst-rxspencer-no-utf8-ARGS): New variable.
41673 (tst-rxspencer-no-utf8-ENV): Likewise.
41674 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41675 instead of $(objpfx)tst-rxspencer-mem.
41676 ($(objpfx)tst-rxspencer-mem): Change target to
41677 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
41678 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41679 * posix/tst-rxspencer-no-utf8.c: New file.
41680
41681 * elf/Makefile ($(objpfx)order.out): Remove rule.
41682 [$(run-built-tests) = yes] (tests): Depend on
41683 $(objpfx)order-cmp.out.
41684 ($(objpfx)order-cmp.out): New rule.
41685 [$(run-built-tests) = yes] (tests): Depend on
41686 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41687 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41688 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41689 $(objpfx)tst-array5-static-cmp.out.
41690 ($(objpfx)tst-array1.out): Remove rule.
41691 ($(objpfx)tst-array1-cmp.out): New rule.
41692 ($(objpfx)tst-array1-static.out): Remove rule.
41693 ($(objpfx)tst-array1-static-cmp.out): New rule.
41694 ($(objpfx)tst-array2.out): Remove rule.
41695 ($(objpfx)tst-array2-cmp.out): New rule.
41696 ($(objpfx)tst-array3.out): Remove rule.
41697 ($(objpfx)tst-array3-cmp.out): New rule.
41698 ($(objpfx)tst-array4.out): Remove rule.
41699 ($(objpfx)tst-array4-cmp.out): New rule.
41700 ($(objpfx)tst-array5.out): Remove rule.
41701 ($(objpfx)tst-array5-cmp.out): New rule.
41702 ($(objpfx)tst-array5-static.out): Remove rule.
41703 ($(objpfx)tst-array5-static-cmp.out): New rule.
41704 [$(run-built-tests) = yes] (tests): Depend on
41705 $(objpfx)order2-cmp.out.
41706 ($(objpfx)order2.out): Remove rule.
41707 ($(objpfx)order2-cmp.out): New rule.
41708 ($(objpfx)tst-initorder.out): Remove rule.
41709 [$(run-built-tests) = yes] (tests): Depend on
41710 $(objpfx)tst-initorder-cmp.out.
41711 ($(objpfx)tst-initorder-cmp.out): New rule.
41712 ($(objpfx)tst-initorder2.out): Remove rule.
41713 [$(run-built-tests) = yes] (tests): Depend on
41714 $(objpfx)tst-initorder2-cmp.out.
41715 ($(objpfx)tst-initorder2-cmp.out): New rule.
41716 [$(run-built-tests) = yes] (tests): Depend on
41717 $(objpfx)tst-unused-dep-cmp.out.
41718 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41719 ($(objpfx)tst-unused-dep-cmp.out): New rule.
41720 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41721 on $(objpfx)tst-setvbuf1-cmp.out.
41722 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41723 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41724 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41725 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41726 ($(objpfx)tst-svc.out): Remove rule.
41727 ($(objpfx)tst-svc-cmp.out): New rule.
41728
41729 2014-02-13 Joseph Myers <joseph@codesourcery.com>
41730
41731 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41732 * ctype/ctype.h [__USE_MISC]: Likewise.
41733 * dirent/dirent.h [__USE_MISC]: Likewise.
41734 * grp/grp.h [__USE_MISC]: Likewise.
41735 * io/fcntl.h [__USE_MISC]: Likewise.
41736 * io/sys/stat.h [__USE_MISC]: Likewise.
41737 * libio/stdio.h [__USE_MISC]: Likewise.
41738 * posix/unistd.h [__USE_MISC]: Likewise.
41739 * pwd/pwd.h [__USE_MISC]: Likewise.
41740 * stdlib.h [__USE_MISC]: Likewise.
41741 * string/bits/string2.h [__USE_MISC]: Likewise.
41742 * string/string.h [__USE_MISC]: Likewise.
41743 * time/time.h [__USE_MISC]: Likewise.
41744
41745 2014-02-13 Andreas Schwab <schwab@suse.de>
41746
41747 [BZ #16574]
41748 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41749 second answer buffer if it was separately allocated.
41750
41751 2014-02-12 Joseph Myers <joseph@codesourcery.com>
41752
41753 * sysdeps/mips/math-tests.h: Include <features.h>.
41754 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41755 (ROUNDING_TESTS_long_double): Do not define.
41756 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41757 (EXCEPTION_TESTS_long_double): Likewise.
41758 * sysdeps/mips/mips64/libm-test-ulps: Update.
41759
41760 * include/features.h (__USE_BSD): Remove macro definitions.
41761 (__USE_SVID): Likewise.
41762 (_BSD_SOURCE): Likewise.
41763 (_SVID_SOURCE): Likewise.
41764 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41765 from definition of _DEFAULT_SOURCE.
41766 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41767 [_DEFAULT_SOURCE].
41768 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41769 * bits/mman.h [__USE_BSD]: Likewise.
41770 * bits/termios.h [__USE_BSD]: Likewise.
41771 * bits/waitstatus.h [__USE_BSD]: Likewise.
41772 * ctype/ctype.h [__USE_SVID]: Likewise.
41773 * dirent/dirent.h [__USE_BSD]: Likewise.
41774 * grp/grp.h [__USE_SVID]: Likewise.
41775 [__USE_BSD]: Likewise.
41776 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41777 * io/fcntl.h [__USE_BSD]: Likewise.
41778 * io/ftw.h [__USE_BSD]: Likewise.
41779 * io/sys/stat.h [__USE_BSD]: Likewise.
41780 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41781 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41782 * libio/stdio.h [__USE_SVID]: Likewise.
41783 [__USE_BSD]: Likewise.
41784 * math/math.h [__USE_SVID]: Likewise.
41785 [__USE_BSD]: Likewise.
41786 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41787 * misc/bits/syslog.h [__USE_BSD]: Likewise.
41788 * misc/search.h [__USE_SVID]: Likewise.
41789 * misc/sys/mman.h [__USE_BSD]: Likewise.
41790 * misc/sys/syslog.h [__USE_BSD]: Likewise.
41791 * misc/sys/uio.h [__USE_BSD]: Likewise.
41792 * posix/bits/unistd.h [__USE_BSD]: Likewise.
41793 * posix/glob.h [__USE_BSD]: Likewise.
41794 * posix/regex.h [__USE_BSD]: Likewise.
41795 * posix/sys/types.h [__USE_BSD]: Likewise.
41796 [__USE_SVID]: Likewise.
41797 * posix/sys/utsname.h [__USE_SVID]: Likewise.
41798 * posix/sys/wait.h [__USE_BSD]: Likewise.
41799 [__USE_SVID]: Likewise.
41800 * posix/unistd.h [__USE_BSD]: Likewise.
41801 [__USE_SVID]: Likewise.
41802 * pwd/pwd.h [__USE_SVID]: Likewise.
41803 * resolv/netdb.h [__USE_BSD]: Likewise.
41804 * setjmp/setjmp.h [__USE_BSD]: Likewise.
41805 * signal/signal.h [__USE_BSD]: Likewise.
41806 [__USE_SVID]: Likewise.
41807 * socket/sys/socket.h [__USE_BSD]: Likewise.
41808 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41809 * stdlib/stdlib.h [__USE_BSD]: Likewise.
41810 [__USE_SVID]: Likewise.
41811 * string/bits/string2.h [__USE_BSD]: Likewise.
41812 [__USE_SVID]: Likewise.
41813 * string/bits/string3.h [__USE_BSD]: Likewise.
41814 * string/endian.h [__USE_BSD]: Likewise.
41815 * string/string.h [__USE_SVID]: Likewise.
41816 [__USE_BSD]: Likewise.
41817 * string/strings.h [__USE_BSD]: Likewise.
41818 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41819 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41821 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41822 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41823 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41824 Likewise.
41825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41826 Likewise.
41827 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41828 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41829 Likewise.
41830 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41831 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41832 Likewise.
41833 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41834 Likewise.
41835 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41836 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41837 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41838 Likewise.
41839 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41840 Likewise.
41841 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41842 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41843 * termios/termios.h [__USE_BSD]: Likewise.
41844 * time/sys/time.h [__USE_BSD]: Likewise.
41845 * time/time.h [__USE_BSD]: Likewise.
41846 [__USE_SVID]: Likewise.
41847
41848 * Makefile (subdir_targets): Remove subdir_lint.out.
41849
41850 * stdio-common/Makefile (do-tst-unbputc): Remove target.
41851 (do-tst-printf): Likewise.
41852 (tests): Depend directly on $(objpfx)tst-unbputc.out and
41853 $(objpfx)tst-printf.out.
41854
41855 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41856
41857 * Makerules (check-abi-%): Change target to
41858 $(objpfx)check-abi-%.out.
41859 (check-abi target): Update dependencies.
41860 (check-abi-pattern variable): Redirect output of diff to $@.
41861 (check-abi variable): Likewise.
41862 * elf/Makefile (check-abi): Update dependencies.
41863
41864 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41865 unused.
41866 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41867 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41868 subnormal range.
41869 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41870 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41871 value has largest subnormal exponent.
41872 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41873 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41874 * sysdeps/aarch64/soft-fp/sfp-machine.h
41875 (_FP_TININESS_AFTER_ROUNDING): New macro.
41876 * sysdeps/alpha/soft-fp/sfp-machine.h
41877 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41878 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41879 Likewise.
41880 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41881 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41882 * sysdeps/mips/soft-fp/sfp-machine.h
41883 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41884 * sysdeps/powerpc/soft-fp/sfp-machine.h
41885 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41886 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41887 Likewise.
41888 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41889 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41890 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41891 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41892 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41893 Likewise.
41894
41895 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
41896
41897 [BZ #16545]
41898 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41899 model 1.
41900
41901 2014-02-12 Richard Henderson <rth@redhat.com>
41902
41903 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41904 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41905 * sysdeps/unix/sysv/linux/alpha: Move directory from
41906 ports/sysdeps/unix/sysv/linux/alpha.
41907 * README: Update listing for alpha-*-linux-gnu.
41908
41909 2014-02-11 Joseph Myers <joseph@codesourcery.com>
41910
41911 * include/features.h: Update comment documenting feature test
41912 macros.
41913 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
41914 _DEFAULT_SOURCE.
41915 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41916 (_SVID_SOURCE): Likewise.
41917 (_DEFAULT_SOURCE): Update description of default features.
41918 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41919 with _GNU_SOURCE.
41920 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41921 (S_ISVTX): Likewise.
41922 * manual/math.texi (Mathematical Constants): Likewise.
41923 * manual/signal.texi (Interrupted Primitives): Likewise.
41924 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41925 * math/test-matherr.c (_SVID_SOURCE): Do not define.
41926 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41927 Don't refer to _SVID_SOURCE in warning text.
41928
41929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41930
41931 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41932 already defined.
41933 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41934 * sysdeps/mips/dl-lookup.c: Remove.
41935 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41936
41937 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41938
41939 [BZ #16447]
41940 * math/auto-libm-test-in: Add testcase for expl.
41941 * math/auto-libm-test-out: Regenerate.
41942 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41943 calculation of unsafe.
41944 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41945
41946 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
41947
41948 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41949 * sysdeps/unix/sysv/linux/aarch64: Move directory from
41950 ports/sysdeps/unix/sysv/linux/aarch64.
41951 * README: Update listing for aarch64*-*-linux-gnu.
41952
41953 2014-02-11 Will Newton <will.newton@linaro.org>
41954
41955 * manual/probes.texi (Mathematical Function Probes): Use
41956 "triggered" instead of "hit".
41957
41958 * manual/probes.texi (Internal Probes): Add documentation
41959 of setjmp, longjmp and longjmp_target probes.
41960
41961 * include/stap-probe.h: Add comment about probe argument
41962 format.
41963
41964 * malloc/mtrace.c (attribute_hidden): Remove unused macro
41965 definition. (tr_where, tr_freehook, tr_mallochook,
41966 tr_reallochook, tr_memalignhook): Use ANSI protoype.
41967
41968 2014-02-11 David S. Miller <davem@davemloft.net>
41969
41970 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41971 processing int_tests.
41972
41973 2014-02-10 Joseph Myers <joseph@codesourcery.com>
41974
41975 * sysdeps/mips: Move directory from ports/sysdeps/mips.
41976 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41977 * sysdeps/unix/sysv/linux/mips: Move directory from
41978 ports/sysdeps/unix/sysv/linux/mips.
41979 * README: Update listing for mips-*-linux-gnu and
41980 mips64-*-linux-gnu.
41981
41982 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
41983
41984 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41985 * sysdeps/unix/sysv/linux/m68k: Move directory from
41986 ports/sysdeps/unix/sysv/linux/m68k.
41987 * README: Update listing for m68k-*-linux-gnu.
41988
41989 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
41990
41991 * sysdeps/tile: Move directory from ports/sysdeps/tile.
41992 * sysdeps/unix/sysv/linux/generic: Move directory from
41993 ports/sysdeps/unix/sysv/linux/generic.
41994 * sysdeps/unix/sysv/linux/tile: Move directory from
41995 ports/sysdeps/unix/sysv/linux/tile.
41996 * README: Update listing for tile*-*-linux-gnu.
41997
41998 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
41999
42000 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42001 __builtin_expect.
42002 * benchtests/bench-memmem.c (simple_memmem): Likewise.
42003 * catgets/open_catalog.c (__open_catalog): Likewise.
42004 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42005 * debug/confstr_chk.c: Likewise.
42006 * debug/fread_chk.c (__fread_chk): Likewise.
42007 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42008 * debug/getgroups_chk.c: Likewise.
42009 * debug/mbsnrtowcs_chk.c: Likewise.
42010 * debug/mbsrtowcs_chk.c: Likewise.
42011 * debug/mbstowcs_chk.c: Likewise.
42012 * debug/memcpy_chk.c: Likewise.
42013 * debug/memmove_chk.c: Likewise.
42014 * debug/mempcpy_chk.c: Likewise.
42015 * debug/memset_chk.c: Likewise.
42016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42017 * debug/strcat_chk.c (__strcat_chk): Likewise.
42018 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42019 * debug/strncat_chk.c (__strncat_chk): Likewise.
42020 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42021 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42022 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42023 * debug/wcpncpy_chk.c: Likewise.
42024 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42025 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42026 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42027 * debug/wcsncpy_chk.c: Likewise.
42028 * debug/wcsnrtombs_chk.c: Likewise.
42029 * debug/wcsrtombs_chk.c: Likewise.
42030 * debug/wcstombs_chk.c: Likewise.
42031 * debug/wmemcpy_chk.c: Likewise.
42032 * debug/wmemmove_chk.c: Likewise.
42033 * debug/wmempcpy_chk.c: Likewise.
42034 * debug/wmemset_chk.c: Likewise.
42035 * dirent/scandirat.c (SCANDIRAT): Likewise.
42036 * dlfcn/dladdr1.c (dladdr1): Likewise.
42037 * dlfcn/dladdr.c (dladdr): Likewise.
42038 * dlfcn/dlclose.c (dlclose_doit): Likewise.
42039 * dlfcn/dlerror.c (__dlerror): Likewise.
42040 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42041 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42042 * dlfcn/dlopen.c (dlopen_doit): Likewise.
42043 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42044 * dlfcn/dlsym.c (dlsym_doit): Likewise.
42045 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42046 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42047 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42048 Likewise.
42049 * elf/dl-conflict.c: Likewise.
42050 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42051 * elf/dl-dst.h: Likewise.
42052 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42053 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42054 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42055 * elf/dl-init.c (call_init, _dl_init): Likewise.
42056 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42057 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42058 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42059 Likewise.
42060 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42061 Likewise.
42062 * elf/dl-minimal.c (__libc_memalign): Likewise.
42063 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42064 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42065 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42066 * elf/dl-sym.c (do_sym): Likewise.
42067 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42068 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42069 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42070 * elf/dl-writev.h (_dl_writev): Likewise.
42071 * elf/ldconfig.c (search_dir): Likewise.
42072 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42073 (dl_main): Likewise.
42074 * elf/setup-vdso.h (setup_vdso): Likewise.
42075 * grp/compat-initgroups.c (compat_call): Likewise.
42076 * grp/fgetgrent.c (fgetgrent): Likewise.
42077 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42078 * grp/putgrent.c (putgrent): Likewise.
42079 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42080 Likewise.
42081 * hurd/hurdinit.c: Likewise.
42082 * iconvdata/8bit-gap.c (struct): Likewise.
42083 * iconvdata/ansi_x3.110.c : Likewise.
42084 * iconvdata/big5.c : Likewise.
42085 * iconvdata/big5hkscs.c : Likewise.
42086 * iconvdata/cp1255.c: Likewise.
42087 * iconvdata/cp1258.c : Likewise.
42088 * iconvdata/cp932.c : Likewise.
42089 * iconvdata/euc-cn.c: Likewise.
42090 * iconvdata/euc-jisx0213.c : Likewise.
42091 * iconvdata/euc-jp.c: Likewise.
42092 * iconvdata/euc-jp-ms.c : Likewise.
42093 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42094 * iconvdata/gb18030.c : Likewise.
42095 * iconvdata/gbbig5.c (const): Likewise.
42096 * iconvdata/gbgbk.c: Likewise.
42097 * iconvdata/gbk.c : Likewise.
42098 * iconvdata/ibm1364.c : Likewise.
42099 * iconvdata/ibm930.c : Likewise.
42100 * iconvdata/ibm932.c: Likewise.
42101 * iconvdata/ibm933.c : Likewise.
42102 * iconvdata/ibm935.c : Likewise.
42103 * iconvdata/ibm937.c : Likewise.
42104 * iconvdata/ibm939.c : Likewise.
42105 * iconvdata/ibm943.c: Likewise.
42106 * iconvdata/iso_11548-1.c: Likewise.
42107 * iconvdata/iso-2022-cn.c : Likewise.
42108 * iconvdata/iso-2022-cn-ext.c : Likewise.
42109 * iconvdata/iso-2022-jp-3.c: Likewise.
42110 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42111 * iconvdata/iso-2022-kr.c : Likewise.
42112 * iconvdata/iso646.c (gconv_end): Likewise.
42113 * iconvdata/iso_6937-2.c : Likewise.
42114 * iconvdata/iso_6937.c : Likewise.
42115 * iconvdata/iso8859-1.c: Likewise.
42116 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42117 * iconvdata/shift_jisx0213.c : Likewise.
42118 * iconvdata/sjis.c : Likewise.
42119 * iconvdata/t.61.c : Likewise.
42120 * iconvdata/tcvn5712-1.c : Likewise.
42121 * iconvdata/tscii.c: Likewise.
42122 * iconvdata/uhc.c : Likewise.
42123 * iconvdata/unicode.c (gconv_end): Likewise.
42124 * iconvdata/utf-16.c (gconv_end): Likewise.
42125 * iconvdata/utf-32.c (gconv_end): Likewise.
42126 * iconvdata/utf-7.c (base64): Likewise.
42127 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42128 * iconv/gconv_close.c (__gconv_close): Likewise.
42129 * iconv/gconv_open.c (__gconv_open): Likewise.
42130 * iconv/gconv_simple.c (internal_ucs4_loop_single)
42131 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42132 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42133 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42134 (ucs4le_internal_loop_single): Likewise.
42135 * iconv/iconv.c (iconv): Likewise.
42136 * iconv/iconv_close.c: Likewise.
42137 * iconv/loop.c (SINGLE): Likewise.
42138 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42139 * include/atomic.h: Likewise.
42140 * inet/inet6_option.c (option_alloc): Likewise.
42141 * intl/bindtextdom.c (set_binding_values): Likewise.
42142 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42143 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42144 * intl/localealias.c (read_alias_file): Likewise.
42145 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42146 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42147 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42148 * libio/fmemopen.c (fmemopen): Likewise.
42149 * libio/iofgets.c (_IO_fgets): Likewise.
42150 * libio/iofgets_u.c (fgets_unlocked): Likewise.
42151 * libio/iofgetws.c (fgetws): Likewise.
42152 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42153 * libio/iogetdelim.c (_IO_getdelim): Likewise.
42154 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42155 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42156 * locale/findlocale.c (_nl_find_locale): Likewise.
42157 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42158 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42159 Likewise.
42160 * locale/setlocale.c (setlocale): Likewise.
42161 * login/programs/pt_chown.c (main): Likewise.
42162 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42163 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42164 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42165 (mmap, mmap64, mremap, munmap): Likewise.
42166 * math/e_exp2l.c: Likewise.
42167 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42168 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42169 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42170 * math/s_catan.c (__catan): Likewise.
42171 * math/s_catanf.c (__catanf): Likewise.
42172 * math/s_catanh.c (__catanh): Likewise.
42173 * math/s_catanhf.c (__catanhf): Likewise.
42174 * math/s_catanhl.c (__catanhl): Likewise.
42175 * math/s_catanl.c (__catanl): Likewise.
42176 * math/s_ccosh.c (__ccosh): Likewise.
42177 * math/s_ccoshf.c (__ccoshf): Likewise.
42178 * math/s_ccoshl.c (__ccoshl): Likewise.
42179 * math/s_cexp.c (__cexp): Likewise.
42180 * math/s_cexpf.c (__cexpf): Likewise.
42181 * math/s_cexpl.c (__cexpl): Likewise.
42182 * math/s_clog10.c (__clog10): Likewise.
42183 * math/s_clog10f.c (__clog10f): Likewise.
42184 * math/s_clog10l.c (__clog10l): Likewise.
42185 * math/s_clog.c (__clog): Likewise.
42186 * math/s_clogf.c (__clogf): Likewise.
42187 * math/s_clogl.c (__clogl): Likewise.
42188 * math/s_csin.c (__csin): Likewise.
42189 * math/s_csinf.c (__csinf): Likewise.
42190 * math/s_csinh.c (__csinh): Likewise.
42191 * math/s_csinhf.c (__csinhf): Likewise.
42192 * math/s_csinhl.c (__csinhl): Likewise.
42193 * math/s_csinl.c (__csinl): Likewise.
42194 * math/s_csqrt.c (__csqrt): Likewise.
42195 * math/s_csqrtf.c (__csqrtf): Likewise.
42196 * math/s_csqrtl.c (__csqrtl): Likewise.
42197 * math/s_ctan.c (__ctan): Likewise.
42198 * math/s_ctanf.c (__ctanf): Likewise.
42199 * math/s_ctanh.c (__ctanh): Likewise.
42200 * math/s_ctanhf.c (__ctanhf): Likewise.
42201 * math/s_ctanhl.c (__ctanhl): Likewise.
42202 * math/s_ctanl.c (__ctanl): Likewise.
42203 * math/w_pow.c: Likewise.
42204 * math/w_powf.c: Likewise.
42205 * math/w_powl.c: Likewise.
42206 * math/w_scalb.c (sysv_scalb): Likewise.
42207 * math/w_scalbf.c (sysv_scalbf): Likewise.
42208 * math/w_scalbl.c (sysv_scalbl): Likewise.
42209 * misc/error.c (error_tail): Likewise.
42210 * misc/pselect.c (__pselect): Likewise.
42211 * nis/nis_callback.c (__nis_create_callback): Likewise.
42212 * nis/nis_call.c (__nisfind_server): Likewise.
42213 * nis/nis_creategroup.c (nis_creategroup): Likewise.
42214 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42216 * nis/nis_getservlist.c (nis_getservlist): Likewise.
42217 * nis/nis_lookup.c (nis_lookup): Likewise.
42218 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42219 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42220 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42221 * nis/nis_xdr.c (xdr_endpoint): Likewise.
42222 * nis/nss_compat/compat-grp.c (getgrent_next_file)
42223 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42224 * nis/nss_compat/compat-initgroups.c (add_group)
42225 (internal_getgrent_r): Likewise.
42226 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42227 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42228 * nis/nss_compat/compat-spwd.c (getspent_next_file)
42229 (internal_getspnam_r): Likewise.
42230 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42231 (_nss_nis_getaliasbyname_r): Likewise.
42232 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42233 (_nss_nis_getntohost_r): Likewise.
42234 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42235 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42236 (_nss_nis_getgrgid_r): Likewise.
42237 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42238 (internal_nis_gethostent_r, internal_gethostbyname2_r)
42239 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42240 (_nss_nis_gethostbyname4_r): Likewise.
42241 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42242 (initgroups_netid): Likewise.
42243 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42244 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42245 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42246 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42247 (_nss_nis_getprotobynumber_r): Likewise.
42248 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42249 (_nss_nis_getsecretkey): Likewise.
42250 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42251 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42252 (_nss_nis_getpwuid_r): Likewise.
42253 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42254 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42255 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42256 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42257 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42258 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42259 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42260 Likewise.
42261 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42262 (_nss_nisplus_getntohost_r): Likewise.
42263 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42264 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42265 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42266 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42267 Likewise.
42268 * nis/nss_nisplus/nisplus-initgroups.c
42269 (_nss_nisplus_initgroups_dyn): Likewise.
42270 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42271 (_nss_nisplus_getnetbyaddr_r): Likewise.
42272 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42273 (_nss_nisplus_getprotobynumber_r): Likewise.
42274 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42275 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42276 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42277 Likewise.
42278 * nis/nss_nisplus/nisplus-service.c
42279 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42280 (_nss_nisplus_getservbyport_r): Likewise.
42281 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42282 (_nss_nisplus_getspnam_r): Likewise.
42283 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42284 Likewise.
42285 * nscd/aicache.c (addhstaiX): Likewise.
42286 * nscd/cache.c (cache_search, prune_cache): Likewise.
42287 * nscd/connections.c (register_traced_file, send_ro_fd)
42288 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42289 (main_loop_epoll): Likewise.
42290 * nscd/grpcache.c (addgrbyX): Likewise.
42291 * nscd/hstcache.c (addhstbyX): Likewise.
42292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42293 * nscd/mem.c (gc, mempool_alloc): Likewise.
42294 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42295 (addinnetgrX): Likewise.
42296 * nscd/nscd-client.h (__nscd_acquire_maplock)
42297 (__nscd_drop_map_ref): Likewise.
42298 * nscd/nscd_getai.c (__nscd_getai): Likewise.
42299 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42300 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42301 Likewise.
42302 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42303 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42304 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42305 (__nscd_get_map_ref): Likewise.
42306 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42307 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42308 Likewise.
42309 * nscd/pwdcache.c (addpwbyX): Likewise.
42310 * nscd/selinux.c (preserve_capabilities): Likewise.
42311 * nscd/servicescache.c (addservbyX): Likewise.
42312 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42313 * posix/fnmatch.c (fnmatch): Likewise.
42314 * posix/getopt.c (_getopt_internal_r): Likewise.
42315 * posix/glob.c (glob, glob_in_dir): Likewise.
42316 * posix/wordexp.c (exec_comm_child): Likewise.
42317 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42318 (getanswer_r, gaih_getanswer_slice): Likewise.
42319 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42320 * resolv/res_init.c: Likewise.
42321 * resolv/res_mkquery.c (res_nmkquery): Likewise.
42322 * resolv/res_query.c (__libc_res_nquery): Likewise.
42323 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42324 Likewise.
42325 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42326 * stdio-common/perror.c (perror): Likewise.
42327 * stdio-common/printf_fp.c (___printf_fp): Likewise.
42328 * stdio-common/tmpnam.c (tmpnam): Likewise.
42329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42330 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42331 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42332 Likewise.
42333 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42334 * stdlib/putenv.c (putenv): Likewise.
42335 * stdlib/setenv.c (__add_to_environ): Likewise.
42336 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42337 * stdlib/strtol_l.c (INTERNAL): Likewise.
42338 * string/memmem.c (memmem): Likewise.
42339 * string/strerror.c (strerror): Likewise.
42340 * string/strnlen.c (__strnlen): Likewise.
42341 * string/test-memmem.c (simple_memmem): Likewise.
42342 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42343 * sunrpc/pm_getport.c (__get_socket): Likewise.
42344 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42345 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42346 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42347 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42348 Likewise.
42349 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42351 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42352 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42353 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42354 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42355 Likewise.
42356 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42357 Likewise.
42358 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42359 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42360 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42361 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42362 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42364 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42366 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42367 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42368 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42369 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42370 Likewise.
42371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42372 Likewise.
42373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42374 Likewise.
42375 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42378 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42379 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42380 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42381 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42384 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42385 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42387 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42388 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42391 Likewise.
42392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42393 Likewise.
42394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42395 Likewise.
42396 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42397 Likewise.
42398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42400 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42401 Likewise.
42402 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42403 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42404 * sysdeps/posix/opendir.c (__opendirat): Likewise.
42405 * sysdeps/posix/sleep.c: Likewise.
42406 * sysdeps/posix/tempname.c: Likewise.
42407 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42408 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42409 Likewise.
42410 * sysdeps/powerpc/powerpc32/dl-machine.h
42411 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42412 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42414 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42416 Likewise.
42417 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42418 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42419 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42421 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42422 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42423 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42424 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42425 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42426 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42428 (elf_machine_lazy_rel): Likewise.
42429 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42430 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42431 (elf_machine_lazy_rel): Likewise.
42432 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42433 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42434 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42435 * sysdeps/unix/grantpt.c (grantpt): Likewise.
42436 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42437 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42438 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42440 Likewise.
42441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42442 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42443 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42444 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42445 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42446 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42447 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42448 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42449 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42450 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42452 Likewise.
42453 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42454 (__posix_fallocate64_l64): Likewise.
42455 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42456 (posix_fallocate): Likewise.
42457 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42458 Likewise.
42459 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42460 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42461 (getifaddrs_internal): Likewise.
42462 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42463 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42464 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42465 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42466 * sysdeps/unix/sysv/linux/posix_fallocate64.c
42467 (__posix_fallocate64_l64): Likewise.
42468 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42469 Likewise.
42470 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42472 (__get_clockfreq): Likewise.
42473 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42474 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42475 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42478 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42479 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42480 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42481 Likewise.
42482 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42483 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42484 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42485 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42486 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42487 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42488 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42489 Likewise.
42490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42491 (posix_fallocate): Likewise.
42492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42493 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42494 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42495 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42496 (elf_machine_rela, elf_machine_rela_relative)
42497 (elf_machine_lazy_rel): Likewise.
42498 * time/asctime.c (asctime_internal): Likewise.
42499 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42500 * time/tzset.c (__tzset_parse_tz): Likewise.
42501 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42502 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42503 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42504 * wcsmbs/wcsmbsload.h: Likewise.
42505
42506 [BZ #15894]
42507 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42508
42509 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42510 (arena_get2): Remove THREAD_STATS conditionals.
42511 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42512 (__malloc_stats, int): Likewise.
42513
42514 2014-02-08 Mike Frysinger <vapier@gentoo.org>
42515
42516 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42517 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
42518
42519 * manual/setjmp.texi: Fix typos/grammar errors.
42520
42521 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42522 Only return early when n is <= 0. Delete unused return statement.
42523
42524 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42525 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42526 * debug/tst-longjmp_chk3.c: New file.
42527
42528 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42529 (test_main): Replace code with set_fortify_handler call.
42530 * debug/test-strcpy_chk.c: Likewise.
42531 * debug/tst-chk1.c: Likewise.
42532 * debug/tst-longjmp_chk.c: Likewise.
42533 * test-skeleton.c: Include fcntl.h & paths.h
42534 (set_fortify_handler): Define.
42535
42536 * debug/tst-longjmp_chk.c: Add header comment and include
42537 ../test-skeleton.c.
42538 (do_test): Mark static.
42539 (TEST_FUNCTION): Define.
42540
42541 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42542 (IP_PMTUDISC_INTERFACE): Likewise.
42543 (IP_MULTICAST_IF): Likewise.
42544 (IP_MULTICAST_TTL): Likewise.
42545 (IP_MULTICAST_LOOP): Likewise.
42546 (IP_ADD_MEMBERSHIP): Likewise.
42547 (IP_DROP_MEMBERSHIP): Likewise.
42548 (IP_UNBLOCK_SOURCE): Likewise.
42549 (IP_BLOCK_SOURCE): Likewise.
42550 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42551 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42552 (IP_MSFILTER): Likewise.
42553 (MCAST_JOIN_GROUP): Likewise.
42554 (MCAST_BLOCK_SOURCE): Likewise.
42555 (MCAST_UNBLOCK_SOURCE): Likewise.
42556 (MCAST_LEAVE_GROUP): Likewise.
42557 (MCAST_JOIN_SOURCE_GROUP): Likewise.
42558 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42559 (MCAST_MSFILTER): Likewise.
42560 (IP_MULTICAST_ALL): Likewise.
42561 (IP_UNICAST_IF): Likewise.
42562
42563 * timezone/Makefile: Delete $(have-ksh) check.
42564 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42565 * timezone/tzselect.ksh: Add +x mode bits.
42566
42567 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42568 (ANON_INODE_FS_MAGIC): Likewise.
42569 (BDEVFS_MAGIC): Likewise.
42570 (BINFMTFS_MAGIC): Likewise.
42571 (BTRFS_TEST_MAGIC): Likewise.
42572 (CRAMFS_MAGIC_WEND): Likewise.
42573 (DEBUGFS_MAGIC): Likewise.
42574 (ECRYPTFS_SUPER_MAGIC): Likewise.
42575 (EXT3_SUPER_MAGIC): Likewise.
42576 (EXT4_SUPER_MAGIC): Likewise.
42577 (FUTEXFS_SUPER_MAGIC): Likewise.
42578 (HOSTFS_SUPER_MAGIC): Likewise.
42579 (HUGETLBFS_MAGIC): Likewise.
42580 (MINIX3_SUPER_MAGIC): Likewise.
42581 (MTD_INODE_FS_MAGIC): Likewise.
42582 (NILFS_SUPER_MAGIC): Likewise.
42583 (OPENPROM_SUPER_MAGIC): Likewise.
42584 (PIPEFS_MAGIC): Likewise.
42585 (PSTOREFS_MAGIC): Likewise.
42586 (QNX6_SUPER_MAGIC): Likewise.
42587 (RAMFS_MAGIC): Likewise.
42588 (REISERFS_SUPER_MAGIC_STRING): Likewise.
42589 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42590 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42591 (SECURITYFS_MAGIC): Likewise.
42592 (SELINUX_MAGIC): Likewise.
42593 (SMACK_MAGIC): Likewise.
42594 (SOCKFS_MAGIC): Likewise.
42595 (SQUASHFS_MAGIC): Likewise.
42596 (STACK_END_MAGIC): Likewise.
42597 (TMPFS_MAGIC): Likewise.
42598 (USBDEVICE_SUPER_MAGIC): Likewise.
42599 (V9FS_MAGIC): Likewise.
42600 (XENFS_SUPER_MAGIC): Likewise.
42601 (CRAMFS_MAGIC): Fix typo in comment.
42602 (EXT2_SUPER_MAGIC): Update comment.
42603 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42604
42605 2014-02-08 Joseph Myers <joseph@codesourcery.com>
42606
42607 * sysdeps/arm: Move directory from ports/sysdeps/arm.
42608 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42609 * sysdeps/unix/sysv/linux/arm: Move directory from
42610 ports/sysdeps/unix/sysv/linux/arm.
42611 * README: Update listing for arm-*-linux-gnueabi.
42612
42613 * README: Remove mention of am33.
42614
42615 2014-02-07 Roland McGrath <roland@hack.frob.com>
42616
42617 * bits/sigset.h (__sigemptyset): Use a statement expression rather
42618 than the comma operator, to avoid "rhs of comma has no effect"
42619 compiler warnings.
42620 (__sigfillset, __sigandset, __sigorset): Likewise.
42621 * include/signal.h (__sigemptyset): Likewise.
42622 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42623
42624 2014-02-07 Allan McRae <allan@archlinux.org>
42625
42626 * version.h (RELEASE): Set to "development".
42627 (VERSION): Set to "2.19.90"
42628 * NEWS: Add 2.20 section.
42629
42630 2014-02-06 Carlos O'Donell <carlos@redhat.com>
42631
42632 [BZ #16529]
42633 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42634
42635 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42636
42637 * manual/contrib.texi: Update entry for Carlos O'Donell,
42638 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42639
42640 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
42641
42642 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42643
42644 * sysdeps/unix/sysv/linux/kernel-features.h
42645 [__LINUX_KERNEL_VERSION >= 0x020621]
42646 (__ASSUME_PROC_PID_TASK_COMM): Define.
42647
42648 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42649
42650 [BZ #16398]
42651 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42652 conversion when destination buffer does not have enough space.
42653 * libio/tst-ftell-partial-wide.c: New test case.
42654 * libio/Makefile (tests): Add tst-ftell-partial-wide.
42655
42656 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42657 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
42658 Leonard and Allan McRae.
42659
42660 2014-02-04 David S. Miller <davem@davemloft.net>
42661
42662 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42663 32-bit.
42664
42665 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42666
42667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42668 New file
42669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42670 New file
42671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42672 New file.
42673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42674 New file.
42675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42676 New file.
42677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42678 New file.
42679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42680 New file.
42681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42682 New file.
42683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42684 New file.
42685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42686 New file.
42687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42688 New file.
42689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42690 New file.
42691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42692 New file.
42693
42694 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42695
42696 * nptl/shlib-versions: Change powerpc*le start to 2.17.
42697 * shlib-versions: Likewise.
42698
42699 2014-02-04 Roland McGrath <roland@hack.frob.com>
42700 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42701
42702 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42703 (abilist-pattern): New variable, set to %-le.abilist.
42704
42705 * Makerules (abilist-pattern): New variable.
42706 (vpath): Use $(abilist-pattern) in place of %.abilist.
42707 (check-abi-% pattern rule): Likewise.
42708 (check-abi, update-abi): Likewise.
42709
42710 2014-02-04 Eric Wong <normalperson@yhbt.net>
42711
42712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42713
42714 2014-02-03 Carlos O'Donell <carlos@redhat.com>
42715
42716 * manual/startup.texi: Add next, previous, and top entries for
42717 the `Program Arguments' and `Environment Variables' nodes.
42718
42719 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
42720
42721 * manual/macros.texi: Add comments before MTASC-safety macros.
42722
42723 * manual/users.texi: Document MTASC-safety properties.
42724
42725 * manual/threads.texi (pthread_key_create, pthread_key_delete)
42726 (pthread_getspecific, pthread_setspecific): Format with
42727 @deftypefun, and add @safety note.
42728 * manual/signal.texi: Move comments that analyze the above
42729 functions to their home place.
42730
42731 2014-02-03 Allan McRae <allan@archlinux.org>
42732
42733 * po/sl.po: Update Slovenian translation from translation project.
42734
42735 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
42736
42737 * manual/time.texi (timegm): Add missing blank after @c.
42738 Reported by Joseph Myers <joseph@codesourcery.com>.
42739
42740 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
42741
42742 * manual/check-safety.sh: New.
42743 * manual/Makefile ($(objpfx)stamp-summary): Run it.
42744
42745 * manual/terminal.texi: Document MTASC-safety properties.
42746
42747 * manual/filesys.texi: Document MTASC-safety properties.
42748
42749 * manual/errno.texi: Document MTASC-safety properties.
42750
42751 * manual/intro.texi: Document safety identifiers and
42752 conditionals.
42753
42754 * manual/string.texi (wcstok): Fix prototype.
42755 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42756
42757 * manual/time.texi: Document MTASC-safety properties.
42758
42759 * manual/string.texi: Document MTASC-safety properties.
42760
42761 * manual/threads.texi: Document MTASC-safety properties.
42762
42763 * manual/stdio.texi: Document MTASC-safety properties.
42764
42765 * manual/syslog.texi: Document MTASC-safety properties.
42766
42767 * manual/sysinfo.texi: Document MTASC-safety properties.
42768
42769 * manual/startup.texi: Document MTASC-safety properties.
42770
42771 * manual/socket.texi: Document MTASC-safety properties.
42772
42773 * manual/signal.texi: Document MTASC-safety properties.
42774
42775 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
42776
42777 * manual/setjmp.texi: Document MTASC-safety properties.
42778
42779 * manual/search.texi: Document MTASC-safety properties.
42780
42781 * manual/resource.texi: Document MTASC-safety properties.
42782
42783 * manual/process.texi: Document MTASC-safety properties.
42784
42785 * manual/platform.texi: Document MTASC-safety properties.
42786
42787 * manual/pipe.texi: Document MTASC-safety properties.
42788
42789 * manual/pattern.texi: Document MTASC-safety properties.
42790
42791 * manual/message.texi: Document MTASC-safety properties.
42792
42793 [BZ #12751]
42794 * manual/memory.texi: Document MTASC-safety properties.
42795
42796 * manual/math.texi: Document MTASC-safety properties.
42797
42798 * manual/locale.texi: Document MTASC-safety properties.
42799
42800 * manual/llio.texi: Document MTASC-safety properties.
42801
42802 * manual/libdl.texi: New.
42803
42804 * manual/lang.texi: Document MTASC-safety properties.
42805
42806 * manual/job.texi: Document MTASC-safety properties.
42807
42808 * manual/getopt.texi: Document MTASC-safety properties.
42809
42810 * manual/ctype.texi: Document MTASC-safety properties.
42811
42812 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
42813
42814 [BZ #16046]
42815 * csu/libc-tls.c (static_map): Remove variable.
42816 (__libc_setup_tls): Use main executable's link map for TLS data.
42817 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42818 casing for LM_ID_BASE and GL(dl_nns).
42819 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42820 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
42821 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42822 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42823 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42824 member.
42825 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42826 l_phnum members.
42827
42828 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
42829
42830 * manual/debug.texi: Document MTASC-safety properties.
42831
42832 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
42833
42834 [BZ #16510]
42835 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42836 of __x86_64__ when disabling x87 inline functions.
42837
42838 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
42839
42840 * manual/charset.texi: Document MTASC-safety properties.
42841
42842 * manual/crypt.texi: Document MTASC-safety properties.
42843
42844 * manual/conf.texi: Document MTASC-safety properties.
42845
42846 * manual/arith.texi: Document MTASC-safety properties.
42847
42848 * manual/argp.texi: Document MTASC-safety properties.
42849
42850 * manual/macros.texi: Introduce macros to document multi
42851 thread, asynchronous signal and asynchronous cancellation
42852 safety properties.
42853 * manual/intro.texi: Introduce the properties themselves.
42854
42855 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42856
42857 * sysdeps/sh/sh4/Makefile: New file.
42858
42859 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
42860
42861 * math/gen-libm-test.pl ($srcdir): New variable.
42862 ($auto_input): Use it.
42863
42864 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42865
42866 [BZ #16506]
42867 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42868 access beyond array bounds when parsing netgroups file.
42869
42870 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42871 the old buffer before realloc.
42872
42873 2014-01-27 Allan McRae <allan@archlinux.org>
42874
42875 * po/fr.po: Update French translation from translation project.
42876
42877 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42878
42879 * sysdeps/sh/libm-test-ulps: Regenerate.
42880
42881 2014-01-24 David S. Miller <davem@davemloft.net>
42882
42883 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42884
42885 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42886
42887 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42888 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42889
42890 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42891
42892 [BZ #16474]
42893 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42894 string pointers after reallocation.
42895
42896 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42897
42898 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42899 __SH4A__ instead of __SH_FPU_ANY__.
42900
42901 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42902
42903 * sysdeps/sh/fpu_control.h: New file.
42904 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42905 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42906 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42907 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42908 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42909 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42910 * sysdeps/sh/sys/ucontext.h: Remove.
42911 * sysdeps/sh/sys: Remove directory.
42912
42913 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42914
42915 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42916 s390/sys/ucontext.h.
42917 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42918 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42919
42920 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
42921
42922 [BZ #15605]
42923 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42924
42925 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42926
42927 [BZ#16431]
42928 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42929 Adjust the vDSO correctly for internal calls.
42930 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42931
42932 2014-01-20 Allan McRae <allan@archlinux.org>
42933
42934 * po/ca.po: Update Catalan translation from translation project.
42935
42936 2014-01-16 Mike Frysinger <vapier@gentoo.org>
42937
42938 * sysdeps/s390/sotruss-lib.c: New file.
42939
42940 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42941
42942 [BZ#16430]
42943 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42944 (__GI___gettimeofday): Alias for a different internal symbol to avoid
42945 local calls issues by not having a PLT stub required for IFUNC calls.
42946 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42947
42948 2014-01-16 Joseph Myers <joseph@codesourcery.com>
42949
42950 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42951 * math/test-fpucw-static.c: Likewise.
42952
42953 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42954
42955 [BZ #16453]
42956 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42957
42958 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42959
42960 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42961 implementation for powerpc.
42962
42963 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
42964
42965 [BZ #14782]
42966 * sysdeps/posix/system.c (__libc_system): Do not enable
42967 asynchronous cancellation.
42968
42969 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42970
42971 [BZ #16427]
42972 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42973 handling only for numbers special also in the IEEE case.
42974
42975 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42976
42977 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42978
42979 2014-01-11 Allan McRae <allan@archlinux.org>
42980
42981 * po/bg.po: Update Bulgarian translation from translation project.
42982
42983 * po/de.po: Update German translation from translation project.
42984
42985 2014-01-10 Roland McGrath <roland@hack.frob.com>
42986
42987 * sysdeps/generic/gcc-compat.h: New file.
42988
42989 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42990
42991 * benchtests/asin-inputs: Correct slow inputs.
42992 * benchtests/acos-inputs: Likewise.
42993
42994 2014-01-10 Allan McRae <allan@archlinux.org>
42995
42996 * po:sv.po: Update Swedish translation from translation project.
42997
42998 * po/vi.po: Update Vietnamese translation from translation project.
42999
43000 * po/eo.po: Update Esperanto translation from translation project.
43001
43002 * po/cs.po: Update Czech translation from translation project.
43003
43004 * po/nl.po: Update Dutch translation from translation project.
43005
43006 * po/pl.po: Update Polish translation from translation project.
43007
43008 * po/ru.po: Update Russian translation from translation project.
43009
43010 * po/uk.po: Update Ukrainian translation from translation project.
43011
43012 2014-01-08 Brooks Moses <bmoses@google.com>
43013
43014 * elf/dl-load.c: Fix comment typo.
43015
43016 2014-01-08 Carlos O'Donell <carlos@redhat.com>
43017
43018 * po/header.pot: Rename to...
43019 * po/pot.header: ... this.
43020 * po/Makefile: Use pot.header.
43021
43022 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
43023 Maxim Kuvyrkov <maxim@kugelworks.com>
43024
43025 [BZ #16394]
43026 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43027 SRC and DEST against LEN.
43028
43029 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43030
43031 [BZ #16414]
43032 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43033 implementation.
43034 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43035
43036 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43037
43038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43039
43040 2014-01-08 Joseph Myers <joseph@codesourcery.com>
43041
43042 [BZ #16408]
43043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43044 for large positive arguments.
43045
43046 2014-01-07 Joseph Myers <joseph@codesourcery.com>
43047
43048 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43049
43050 * math/auto-libm-test-in: Mark various tests with
43051 xfail-rounding:ldbl-128ibm.
43052 * math/auto-libm-test-out: Regenerated.
43053
43054 [BZ #16407]
43055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43056 Increase overflow threshold.
43057
43058 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
43059
43060 [BZ #14286]
43061 * stdio-common/vfprintf.c: Check for integer overflow.
43062
43063 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43064
43065 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43066 the first argument and return value of __tls_get_addr_internal.
43067
43068 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43069
43070 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43071 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43072
43073 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43074
43075 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43076 * sysdeps/s390/rtld-global-offsets.sym: New file.
43077 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43078 GLIBC_2.19 symbol.
43079 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43082 ... this.
43083 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43084 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43085 ... this.
43086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43087 Regenerate.
43088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43089 Regenerate.
43090 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43091 halfs of GPRs for high_gprs contexts.
43092 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43093 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
43094 field.
43095 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43096 uc_flags field.
43097 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43098 64 bit versions:
43099 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43100 for high GPRs (uc_high_gprs) and for future extensions
43101 (__reserved).
43102 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43103 for future extensions (__reserved).
43104 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43105 64 bit versions:
43106 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43107 SC_HIGHGPRS offset definition.
43108 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43109 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43110
43111 * Versions.def: Add GLIBC_2.19 for libpthread.
43112 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43113 siglongjmp for libpthread with GLIBC_2.19 symver.
43114 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43115 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43116 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43117 * sysdeps/s390/__longjmp.c: New file.
43118 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43119 * sysdeps/s390/longjmp.c: New file.
43120 * sysdeps/s390/setjmp.S: New file.
43121 * sysdeps/s390/sigjmp.S: New file.
43122 * sysdeps/s390/v1-longjmp.c: New file.
43123 * sysdeps/s390/v1-setjmp.h: New file.
43124 * sysdeps/s390/v1-sigjmp.c: New file.
43125 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43126 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43127 GLIBC_2.19 version.
43128 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43129 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43130 versioned symbols for ____longjmp_chk.
43131 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43132 Likewise.
43133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43134 Regenerate.
43135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43136 Regenerate.
43137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43138 Regenerate.
43139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43140 Regenerate.
43141 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43142 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43143 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43144 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43145 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43146 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43147 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43148 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43149 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43150 * sysdeps/s390/rtld-__longjmp.c: New file.
43151 * sysdeps/s390/rtld-setjmp.S: New file.
43152
43153 2014-01-06 Joseph Myers <joseph@codesourcery.com>
43154
43155 [BZ #16400]
43156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43157 Return -__logl (x) for small positive arguments without evaluating
43158 a polynomial.
43159
43160 2014-01-06 Mike Frysinger <vapier@gentoo.org>
43161
43162 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43163 Rename to ...
43164 (__ptrace_peeksiginfo_args): ... this.
43165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43168
43169 2014-01-06 Allan McRae <allan@archlinux.org>
43170
43171 * inet/netinet/in.h: Fix typo in comment.
43172
43173 2014-01-05 Andreas Jaeger <aj@suse.de>
43174
43175 * sysdeps/i386/fpu/libm-test-ulps: Update.
43176
43177 2014-01-05 Allan McRae <allan@archlinux.org>
43178
43179 * po/libc.pot: Regenerated.
43180
43181 * malloc/memusagestat.c: Fix gettext call formatting.
43182
43183 2014-01-04 Sami Kerola <kerolasa@iki.fi>
43184
43185 * nscd/nscd.c: Improve usage() output.
43186
43187 2014-01-04 Mike Frysinger <vapier@gentoo.org>
43188
43189 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43190 * sysdeps/unix/sysv/linux/configure: Regenerated.
43191 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43192 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43193
43194 2014-01-03 Joseph Myers <joseph@codesourcery.com>
43195
43196 [BZ #16390]
43197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43198 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43199
43200 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43201
43202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43203 extra tokens at end of #undef directive.
43204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43205 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43206 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43207
43208 2014-01-03 Joseph Myers <joseph@codesourcery.com>
43209
43210 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43211
43212 * math/auto-libm-test-in: Mark various tests with
43213 xfail-rounding:ldbl-128ibm.
43214 * math/auto-libm-test-out: Regenerated.
43215
43216 2014-01-02 Joseph Myers <joseph@codesourcery.com>
43217
43218 [BZ #16386]
43219 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43220 numbers with subnormal high part when calculating exponent.
43221
43222 [BZ #16385]
43223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43224 fabs.
43225
43226 [BZ #16384]
43227 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43228 M_LN2l.
43229 (__ieee754_acoshl): Use __log1pl not __log1p.
43230
43231 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
43232
43233 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43234 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43235 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43236 (grow_heap, heap_trim, _int_new_arena, get_free_list)
43237 (reused_arena, arena_get2): Convert to GNU style.
43238 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43239 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43240 (memalign_check, __malloc_set_state): Likewise.
43241 * malloc/mallocbug.c (main): Likewise.
43242 * malloc/malloc.c (__malloc_assert, malloc_init_state)
43243 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43244 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43245 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43246 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43247 (__posix_memalign, malloc_info): Likewise.
43248 * malloc/malloc.h: Likewise.
43249 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43250 (mallochook, memalignhook, reallochook, mabort): Likewise.
43251 * malloc/mcheck.h: Likewise.
43252 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43253 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43254 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43255 * malloc/morecore.c (__default_morecore): Likewise.
43256 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43257 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43258 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43259 (print_and_abort): Likewise.
43260 * malloc/obstack.h: Likewise.
43261 * malloc/set-freeres.c (__libc_freeres): Likewise.
43262 * malloc/tst-mallocstate.c (main): Likewise.
43263 * malloc/tst-mtrace.c (main): Likewise.
43264 * malloc/tst-realloc.c (do_test): Likewise.
43265
43266 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43267
43268 [BZ #16366]
43269 * nscd/netgroupcache.c (do_notfound): New function.
43270 (addgetnetgrentX): Use it.
43271
43272 [BZ # 16365]
43273 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43274 NSS_STATUS_NOTFOUND.
43275
43276 2014-01-01 Joseph Myers <joseph@codesourcery.com>
43277
43278 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43280
43281 2014-01-01 Allan McRae <allan@archlinux.org>
43282
43283 * scripts/update-copyrights: Update configure input file suffix.
43284
43285 * NEWS: Update copyright year.
43286 * catgets/gencat.c: Likewise.
43287 * csu/version.c: Likewise.
43288 * debug/catchsegv.sh: Likewise.
43289 * debug/pcprofiledump.c: Likewise.
43290 * debug/xtrace.sh: Likewise.
43291 * elf/ldconfig.c: Likewise.
43292 * elf/ldd.bash.in: Likewise.
43293 * elf/pldd.c: Likewise.
43294 * elf/sotruss.ksh: Likewise.
43295 * elf/sprof.c: Likewise.
43296 * iconv/iconv_prog.c: Likewise.
43297 * iconv/iconvconfig.c: Likewise.
43298 * locale/programs/locale.c: Likewise.
43299 * locale/programs/localedef.c: Likewise.
43300 * login/programs/pt_chown.c: Likewise.
43301 * malloc/memusage.sh: Likewise.
43302 * malloc/memusagestat.c: Likewise.
43303 * malloc/mtrace.pl: Likewise.
43304 * manual/libc.texinfo: Likewise.
43305 * nscd/nscd.c: Likewise.
43306 * nss/getent.c: Likewise.
43307 * nss/makedb.c: Likewise.
43308 * posix/getconf.c: Likewise.
43309 * scripts/test-installation.pl: Likewise.
43310
43311 * All files with FSF copyright notices: Update copyright dates
43312 using scripts/update-copyrights.
43313 * intl/plural.c: Regenerated.
43314 * locale/programs/charmap-kw.h: Likewise.
43315 * locale/programs/locfile-kw.h: Likewise.
43316
43317 2013-12-31 Mike Frysinger <vapier@gentoo.org>
43318
43319 * sysdeps/unix/sysv/linux/configure: Regenerated.
43320 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43321 the linux/fanotify.h header.
43322 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43323 HAVE_LINUX_FANOTIFY_H is defined.
43324
43325 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43326
43327 * benchtests/cos-inputs: New inputs.
43328 * benchtests/sin-inputs: Likewise.
43329
43330 * benchtests/atan-inputs: New inputs. Fix name of multiple
43331 precision fallback inputs.
43332
43333 * benchtests/atanh-inputs: New inputs.
43334 * benchtests/tanh-inputs: Likewise.
43335
43336 * benchtests/acosh-inputs: New inputs.
43337 * benchtests/asinh-inputs: Likewise.
43338
43339 * benchtests/cosh-inputs: New inputs.
43340 * benchtests/sinh-inputs: Likewise.
43341
43342 * benchtests/acos-inputs: Add more inputs.
43343 * benchtests/asin-inputs: Likewise.
43344
43345 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
43346
43347 [BZ #16375]
43348 * manual/arith.texi: Fix spelling.
43349 * manual/charset.texi: Likewise.
43350 * manual/errno.texi: Likewise.
43351 * manual/filesys.texi: Likewise.
43352 * manual/lang.texi: Likewise.
43353 * manual/llio.texi: Likewise.
43354 * manual/locale.texi: Likewise.
43355 * manual/message.texi: Likewise.
43356 * manual/resource.texi: Likewise.
43357 * manual/search.texi: Likewise.
43358 * manual/setjmp.texi: Likewise.
43359 * manual/stdio.texi: Likewise.
43360 * manual/string.texi: Likewise.
43361 * manual/sysinfo.texi: Likewise.
43362 * manual/time.texi: Likewise.
43363
43364 2013-12-27 Carlos O'Donell <carlos@redhat.com>
43365
43366 * po/sl.po: New file.
43367
43368 2013-12-27 Mike Frysinger <vapier@gentoo.org>
43369
43370 * .gitignore: Add core/.gdbinit/.gdb_history.
43371
43372 2013-12-27 Allan McRae <allan@archlinux.org>
43373
43374 [BZ #16369]
43375 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43376 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43377
43378 2013-12-24 Brooks Moses <bmoses@google.com>
43379
43380 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43381 all compilers that claim C++98 compliance, not just GCC.
43382 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43383 Likewise.
43384
43385 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
43386
43387 * NEWS: Restore accidentally deleted bug-fix entries.
43388
43389 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
43390 Ondřej Bílka <neleai@seznam.cz>
43391
43392 [BZ #15073]
43393 * malloc/malloc.c (_int_free): Perform sanity check only if we
43394 have_lock.
43395
43396 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
43397
43398 [BZ #12986]
43399 * manual/stdio.texi (String Input Conversions): Clarify that character
43400 classes are not supported.
43401
43402 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43403
43404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43405
43406 2013-12-22 Joseph Myers <joseph@codesourcery.com>
43407
43408 [BZ #16337]
43409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43410 Calculate results for small negative arguments directly rather
43411 than using reflection formula with special underflow handling.
43412
43413 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43414 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43415 sysdeps/unix/bsd/bsd4.4/syscalls.list.
43416 (fchflags): Likewise.
43417 (revoke): Likewise.
43418 (setlogin): Likewise.
43419 (sigaltstack): Likewise.
43420 (wait4): Likewise.
43421 (sigblock): Remove.
43422 (sigsetmask): Likewise.
43423 (wait3): Likewise.
43424 (waitpid): Likewise.
43425 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43426 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43427 file.
43428 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43429 * sysdeps/unix/bsd/Makefile: ... here.
43430 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43431 * sysdeps/unix/bsd/Versions: ... here.
43432 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43433 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43434 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43435 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43436 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43437 * sysdeps/unix/bsd/sigblock.c: ... here.
43438 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43439 * sysdeps/unix/bsd/sigsetmask.c: ... here.
43440 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43441 * sysdeps/unix/bsd/sigvec.c: ... here.
43442 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43443 * sysdeps/unix/bsd/tcdrain.c: ... here.
43444 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43445 * sysdeps/unix/bsd/tcgetattr.c: ... here.
43446 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43447 * sysdeps/unix/bsd/tcsetattr.c: ... here.
43448 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43449 * sysdeps/unix/bsd/wait.c: ... here.
43450 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43451 * sysdeps/unix/bsd/wait3.c: ... here.
43452 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43453 * sysdeps/unix/bsd/waitpid.c: ... here.
43454
43455 2013-12-21 Joseph Myers <joseph@codesourcery.com>
43456
43457 [BZ #16356]
43458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43459 round-to-nearest for [!USE_AS_EXPM1L].
43460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43461 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
43462 more tests of exp and exp10. Expect some exp10 tests to miss
43463 exceptions or fail in directed rounding modes.
43464 * math/auto-libm-test-out: Regenerated.
43465 * math/libm-test.inc (exp10_tonearest_test_data): New array.
43466 (exp10_test_tonearest): New function.
43467 (exp10_towardzero_test_data): New array.
43468 (exp10_test_towardzero): New function.
43469 (exp10_downward_test_data): New array.
43470 (exp10_test_downward): New function.
43471 (exp10_upward_test_data): New array.
43472 (exp10_test_upward): New function.
43473 (main): Call the new functions.
43474 * sysdeps/i386/fpu/libm-test-ulps: Update.
43475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43476
43477 2013-12-20 Joseph Myers <joseph@codesourcery.com>
43478
43479 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43480 asinh, atan, atan2, atanh, cbrt, cos and cosh.
43481 * math/auto-libm-test-out: Regenerated.
43482 * math/libm-test.inc (acosh_test_data): Add more tests.
43483 (atanh_test_data): Likewise.
43484 (ceil_test_data): Likewise.
43485 (copysign_test_data): Likewise.
43486 * sysdeps/i386/fpu/libm-test-ulps: Update.
43487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43488
43489 * timezone/checktab.awk: Update from tzcode 2013i.
43490 * timezone/private.h: Likewise.
43491 * timezone/scheck.c: Likewise.
43492 * timezone/tzfile.h: Likewise.
43493 * timezone/tzselect.ksh: Likewise.
43494 * timezone/zdump.c: Likewise.
43495 * timezone/zic.c: Likewise.
43496
43497 * math/auto-libm-test-in: Add tests of cpow.
43498 * math/auto-libm-test-out: Regenerated.
43499 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43500 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43501 mpc_cc_c.
43502 (func_calc_desc): Add mpc_cc_c union field.
43503 (test_functions): Add cpow.
43504 (special_fill_2pi): New function.
43505 (special_real_inputs): Add 2pi.
43506 (calc_generic_results): Handle mpc_cc_c.
43507 * sysdeps/i386/fpu/libm-test-ulps: Update.
43508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43509
43510 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43511 csqrt, ctan and ctanh.
43512 * math/auto-libm-test-out: Regenerated.
43513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
43514 (TEST_COND_x86): Likewise.
43515 (ccos_test_data): Use AUTO_TESTS_c_c.
43516 (ccosh_test_data): Likewise.
43517 (cexp_test_data): Likewise.
43518 (clog_test_data): Likewise.
43519 (csqrt_test_data): Likewise.
43520 (ctan_test_data): Likewise.
43521 (ctan_tonearest_test_data): Likewise.
43522 (ctan_towardzero_test_data): Likewise.
43523 (ctan_downward_test_data): Likewise.
43524 (ctan_upward_test_data): Likewise.
43525 (ctanh_test_data): Likewise.
43526 (ctanh_tonearest_test_data): Likewise.
43527 (ctanh_towardzero_test_data): Likewise.
43528 (ctanh_downward_test_data): Likewise.
43529 (ctanh_upward_test_data): Likewise.
43530 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43531 mpc_c_c.
43532 (func_calc_desc): Add mpc_c_c union field.
43533 (FUNC_mpc_c_c): New macro.
43534 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43535 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43536 ctanh.
43537 (special_fill_min_subnorm_p120): New function.
43538 (special_real_inputs): Add min_subnorm_p120.
43539 (calc_generic_results): Handle mpc_c_c.
43540 * sysdeps/i386/fpu/libm-test-ulps: Update.
43541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43542
43543 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
43544
43545 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43546 (do_sin_slow): New functions.
43547 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43548 (cslow2, csloww1, csloww2): Use the new functions.
43549
43550 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43551 Use M to change sign of result instead of X. Assume X is
43552 positive.
43553 (csloww1): Likewise.
43554 (__sin): Adjust.
43555 (__cos): Adjust.
43556
43557 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43558 arguments A and DA.
43559 (__sin): Adjust.
43560 (__cos): Likewise.
43561
43562 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43563 (__cos): Likewise.
43564 (sloww1): Don't adjust sign of DX.
43565 (csloww1): Likewise.
43566 (sloww2): Use X directly and don't adjust sign of DX.
43567 (csloww2): Likewise.
43568
43569 2013-12-19 Joseph Myers <joseph@codesourcery.com>
43570
43571 * math/auto-libm-test-in: Add tests of cabs and carg.
43572 * math/auto-libm-test-out: Regenerated.
43573 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43574 (carg_test_data): Likewise.
43575 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43576 mpc_c_f.
43577 (func_calc_desc): Add mpc_c_f union field.
43578 (test_functions): Add cabs and carg.
43579 (calc_generic_results): Handle mpc_c_f.
43580
43581 * sysdeps/powerpc/powerpc32/libgcc-compat.S
43582 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43583 as a macro and a compat symbol.
43584 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43585 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43586 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43587 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43588 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43590 not use .hidden.
43591 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43592 Likewise.
43593 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43594 Likewise.
43595 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43596 Likewise.
43597 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43598 Likewise.
43599 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43600 Likewise.
43601 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43602 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43603 from GLIBC_2.3.2.
43604
43605 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43606
43607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43608
43609 2013-12-19 Joseph Myers <joseph@codesourcery.com>
43610
43611 * manual/texinfo.tex: Update to version 2013-11-26.10 with
43612 trailing whitespace removed.
43613 * scripts/config.guess: Update to version 2013-11-29.
43614 * scripts/config.sub: Update to version 2013-10-01.
43615
43616 * math/auto-libm-test-in: Add tests of sincos.
43617 * math/auto-libm-test-out: Regenerated.
43618 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43619 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43620 mpfr_f_11.
43621 (func_calc_desc): Add mpfr_f_11 union field.
43622 (test_functions): Add sincos.
43623 (calc_generic_results): Handle mpfr_f_11.
43624 * sysdeps/i386/fpu/libm-test-ulps: Update.
43625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43626
43627 2013-12-19 Andreas Schwab <schwab@suse.de>
43628
43629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43630 CALL_MCOUNT.
43631 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43633 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43634
43635 2013-12-19 Joseph Myers <joseph@codesourcery.com>
43636
43637 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43638 * sysdeps/i386/fpu/libm-test-ulps: Update.
43639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43640
43641 [BZ #16293]
43642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43643 round-to-nearest mode when using frndint.
43644 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43645 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43647 Likewise.
43648 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
43649 sinh test to fail.
43650 * math/auto-libm-test-out: Regenerated.
43651 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43652 (TEST_COND_x86): Likewise.
43653 (expm1_tonearest_test_data): New array.
43654 (expm1_test_tonearest): New function.
43655 (expm1_towardzero_test_data): New array.
43656 (expm1_test_towardzero): New function.
43657 (expm1_downward_test_data): New array.
43658 (expm1_test_downward): New function.
43659 (expm1_upward_test_data): New array.
43660 (expm1_test_upward): New function.
43661 (main): Run the new test functions.
43662 * sysdeps/i386/fpu/libm-test-ulps: Update.
43663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43664
43665 * include/features.h: Update comment documenting feature test
43666 macros. Mention _DEFAULT_SOURCE in comment.
43667 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43668 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43669 _BSD_SOURCE and _SVID_SOURCE.
43670 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43671 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43672 !_SVID_SOURCE]: Likewise.
43673 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43674 (__USE_POSIX_IMPLICITLY): Define.
43675 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43676 (_POSIX_SOURCE): Undefine and redefine.
43677 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43678 (_POSIX_C_SOURCE): Likewise.
43679 * manual/creature.texi (_DEFAULT_SOURCE): Document.
43680 (Feature Test Macros): Update documentation of default features.
43681
43682 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43683
43684 * benchtests/Makefile: Add bench-strtok.
43685 * benchtests/bench-strtok.c: New file: strtok benchtest.
43686
43687 2013-12-19 Allan McRae <allan@archlinux.org>
43688
43689 * manual/install.texi: Suppress menu for plain text output.
43690 * INSTALL: Regenerated.
43691
43692 2013-12-18 Brooks Moses <bmoses@google.com>
43693
43694 [BZ #15846]
43695 * misc/getauxval.c: Include errno.h.
43696 (__getauxval): Set errno to ENOENT if the requested type is not
43697 found.
43698 * misc/sys/auxv.h (getauxval): Document that it may set errno;
43699 don't declare with __attribute_const__.
43700 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43701 * manual/startup.texi: Document that getauxval sets errno.
43702
43703 2013-12-18 Joseph Myers <joseph@codesourcery.com>
43704
43705 * math/auto-libm-test-in: Add tests of jn and yn.
43706 * math/auto-libm-test-out: Regenerated.
43707 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43708 (yn_test_data): Likewise.
43709 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43710 mpfr_if_f.
43711 (func_calc_desc): Add mpfr_if_f union field.
43712 (FUNC_mpfr_if_f): New macro.
43713 (test_functions): Add jn and yn.
43714 (calc_generic_results): Assert type of second input for
43715 mpfr_ff_f. Handle mpfr_if_f.
43716 (output_for_one_input_case): Disable all checking for arguments
43717 fitting floating-point types in case of an integer argument.
43718 * sysdeps/i386/fpu/libm-test-ulps: Update.
43719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43720
43721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43722 Don't expect fegetround reference in libm.so.
43723
43724 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43725
43726 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43727 $(config-cflags-nofma).
43728
43729 2013-12-18 Joseph Myers <joseph@codesourcery.com>
43730
43731 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43732 * math/auto-libm-test-out: Regenerated.
43733
43734 [BZ #16338]
43735 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43736 to determine exponent and adjust argument to have exponent of -1.
43737 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43738 log2.
43739 * math/auto-libm-test-out: Regenerated.
43740 * sysdeps/i386/fpu/libm-test-ulps: Update.
43741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43742
43743 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
43744
43745 * manual/probes.texi: Remove cases when per-thread arenas are
43746 disabled.
43747
43748 2013-12-18 Andreas Schwab <schwab@suse.de>
43749
43750 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43751 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43752 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43753 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43754 * sysdeps/i386/i686/multiarch/Makefile: Update.
43755 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43756
43757 2013-12-17 Joseph Myers <joseph@codesourcery.com>
43758
43759 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43760 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43761
43762 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
43763
43764 [BZ #15968]
43765 Support TZ transition times < 00:00:00.
43766 This is needed for version-3 tz-format files; it supports time
43767 stamps past 2037 for America/Godthab (the only entry in the tz
43768 database for which this change is relevant).
43769 * manual/time.texi (TZ Variable): Document transition times
43770 from -167:59:59 through -00:00:01.
43771 * time/tzset.c (tz_rule): Time of day is now signed.
43772 (__tzset_parse_tz): Parse negative time of day.
43773
43774 Document TZ transition times >= 25:00:00.
43775 * manual/time.texi (TZ Variable): Document transition times from
43776 25:00:00 through 167:59:59. These are already supported, and this
43777 support will help with version-3 tz-format files.
43778
43779 * manual/time.texi (TZ Variable): Modernize North America example
43780 to reflect current (i.e., 2007-and-later) daylight saving rules.
43781
43782 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43783
43784 2013-12-17 Joseph Myers <joseph@codesourcery.com>
43785
43786 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43787 * sysdeps/unix/bsd/bits/stat.h: Likewise.
43788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43790 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43791 * sysdeps/unix/bsd/bsdstat.h: Likewise.
43792 * sysdeps/unix/bsd/clock.c: Likewise.
43793 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43794 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43795 * sysdeps/unix/bsd/init-posix.c: Likewise.
43796 * sysdeps/unix/bsd/poll.c: Likewise.
43797 * sysdeps/unix/bsd/ptsname.c: Likewise.
43798 * sysdeps/unix/bsd/seekdir.c: Likewise.
43799 * sysdeps/unix/bsd/setegid.c: Likewise.
43800 * sysdeps/unix/bsd/seteuid.c: Likewise.
43801 * sysdeps/unix/bsd/setgid.c: Likewise.
43802 * sysdeps/unix/bsd/setrgid.c: Likewise.
43803 * sysdeps/unix/bsd/setruid.c: Likewise.
43804 * sysdeps/unix/bsd/setsid.c: Likewise.
43805 * sysdeps/unix/bsd/setuid.c: Likewise.
43806 * sysdeps/unix/bsd/sigaction.c: Likewise.
43807 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43808 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43809 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43810 * sysdeps/unix/bsd/telldir.c: Likewise.
43811 * sysdeps/unix/bsd/times.c: Likewise.
43812 * sysdeps/unix/bsd/usleep.c: Likewise.
43813
43814 * misc/Makefile (install-lib): Remove libbsd-compat.a.
43815 ($(objpfx)libbsd-compat.a): Remove rule.
43816
43817 * include/features.h (__FAVOR_BSD): Do not define.
43818 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43819 features conflicting with POSIX.
43820 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43821 (_BSD_SOURCE): Remove description of not being a subset of other
43822 feature test macros.
43823 * manual/job.texi (getpgrp): Do not document BSD version.
43824 (getpgid): Do not document by reference to BSD getpgrp.
43825 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43826 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43827 * signal/signal.h [__FAVOR_BSD]: Likewise.
43828 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43829 instead of making contents conditional on [__FAVOR_BSD].
43830 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43831
43832 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43833
43834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43835
43836 2013-12-17 Joseph Myers <joseph@codesourcery.com>
43837
43838 [BZ #16314]
43839 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43840 values below 2**-450, not 2**-500.
43841 * math/auto-libm-test-in: Don't allow spurious underflow from
43842 hypot.
43843 * math/auto-libm-test-out: Regenerated.
43844
43845 [BZ #16316]
43846 [BZ #16330]
43847 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43848 values of ha and hb and sort them after adjusting subnormal
43849 arguments.
43850 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43851 Likewise.
43852 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43853 values of ea and eb and sort them after adjusting subnormal
43854 arguments.
43855 * math/auto-libm-test-in: Do not expect some hypot tests of
43856 subnormals to fail. Add more hypot tests.
43857 * math/auto-libm-test-out: Regenerated.
43858
43859 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43860
43861 [BZ #13304]
43862 * sysdeps/sh/s_fma.c: New file.
43863 * sysdeps/sh/s_fmaf.c: New file.
43864 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
43865 version.
43866 * sysdeps/sh/Implies: Add sh/soft-fp.
43867
43868 2013-12-16 Roland McGrath <roland@hack.frob.com>
43869
43870 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
43871 level of indirection to members `objname', `errstring', `malloced'.
43872 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43873 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
43874 it as the __longjmp argument (just pass 1 instead).
43875 (_dl_catch_error): Initialize C with argument pointers and address of
43876 volatile local ERRCODE rather than copying values out of C at return.
43877
43878 2013-12-16 Joseph Myers <joseph@codesourcery.com>
43879
43880 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43881 * math/auto-libm-test-out: Regenerated.
43882 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43883 (hypot_test_data): Likewise.
43884 (pow_test_data): Likewise.
43885 (pow_tonearest_test_data): Likewise.
43886 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43887 mpfr_ff_f.
43888 (func_calc_desc): Add mpfr_ff_f union field.
43889 (FUNC_mpfr_ff_f): New macro.
43890 (test_functions): Add atan2, hypot and pow.
43891 (special_fill_min): New function.
43892 (special_fill_minus_min): Likewise.
43893 (special_fill_min_subnorm): Likewise.
43894 (special_fill_minus_min_subnorm): Likewise.
43895 (special_real_inputs): Add min, -min, min_subnorm and
43896 -min_subnorm.
43897 (calc_generic_results): Handle mpfr_ff_f.
43898 * sysdeps/i386/fpu/libm-test-ulps: Update.
43899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43900
43901 2013-12-16 Will Newton <will.newton@linaro.org>
43902
43903 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43904 (Aligned Memory Blocks): Add documentation for aligned_alloc
43905 and suggest it as an alternative to posix_memalign.
43906 (Hooks for Malloc): Document __memalign_hook is also called
43907 for aligned_alloc. (Summary of Malloc): Add summary for
43908 aligned alloc. Document __memalign_hook is also called
43909 for aligned_alloc.
43910
43911 2013-12-16 Will Newton <will.newton@linaro.org>
43912
43913 * manual/memory.texi (Malloc Examples): Clarify default
43914 alignment documentation. Suggest posix_memalign rather
43915 than memalign or valloc.
43916 (Aligned Memory Blocks): Remove suggestion to use memalign
43917 or valloc. Remove obsolete comment about BSD.
43918 Document memalign errno values and mark the function obsolete.
43919 Document posix_memalign returned error codes. Mark valloc
43920 as obsolete. (Hooks for Malloc): __memalign_hook is also
43921 called for posix_memalign and valloc.
43922 (Summary of Malloc): Add posix_memalign to function summary.
43923 __memalign_hook is also called for posix_memalign and valloc.
43924
43925 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43926
43927 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43928 TAYLOR_SIN.
43929 (__sin): Adjust.
43930 (__cos): Likewise.
43931 (sloww): Use mynumber union. Expand ternary operator into
43932 if-else statements.
43933 (cslow): use mynumber union.
43934
43935 2013-12-16 Allan McRae <allan@archlinux.org>
43936
43937 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43938 * configure: Regenerated.
43939
43940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43941
43942 [BZ #14120]
43943 * configure.ac: Added --enable-maintainer-mode. Check for
43944 autoconf when enabled.
43945 * configure: Regenerated.
43946
43947 * nscd/nscd.service: New file.
43948 * nscd/nscd.tmpfiles: New file.
43949
43950 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
43951
43952 [BZ #12100]
43953 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43954 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43955 * sysdeps/x86_64/multiarch/strstr.c: ... here.
43956 (strstr): Add __strstr_sse2_unaligned ifunc.
43957 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43958 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43959 (strcasestr): Remove __strcasestr_sse42 ifunc.
43960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43963
43964 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43965
43966 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43967 * sysdeps/sh/bits/fenv.h: ... here.
43968 * sysdeps/sh/sh4/fpu/bits: Remove directory.
43969
43970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43971
43972 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43973
43974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43975 hypotf multiarch implementations.
43976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43977 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43978 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43979 multiarch hypot for PPC64.
43980 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43981 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43982 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43983 multiarch hypotf for PPC64.
43984
43985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43986 modff multiarch implementations.
43987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43990 multiarch modf for PPC64.
43991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43994 multiarch modff for PPC64.
43995
43996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43997 and logl multiarch implementations.
43998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44001 multiarch logb for PPC64.
44002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44005 multiarch logb for PPC64.
44006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44009 multiarch logb for PPC64.
44010
44011 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44012 isinff multiarch implementation.
44013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44014 file.
44015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44017 multiarch isinf for PPC64.
44018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44019 file.
44020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44021 multiarch isinff for PPC64.
44022
44023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44024 finitef multiarch implementation.
44025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44026 file.
44027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44029 multiarch finite for PPC64.
44030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44031 file.
44032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44033 multiarch finitef for PPC64.
44034
44035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44036 lrint multiarch implementation.
44037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44038 file.
44039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44041 multiarch llrint for PPC64.
44042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44043 multiarch lrint for PPC64.
44044
44045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44046 copysignf multiarch implementation.
44047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44048 file.
44049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44050 file.
44051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44052 multiarch copysign for PPC64.
44053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44054 multiarch copysignf for PPC64.
44055
44056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44057 multiarch implementation.
44058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44059 file.
44060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44061 file.
44062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44063 file.
44064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44065 file.
44066 multiarch llround for PPC64.
44067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44068 multiarch trunc for PPC64.
44069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44070 multiarch truncf for PPC64.
44071
44072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44073 multiarch implementation.
44074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44075 file.
44076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44077 file.
44078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44079 file.
44080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44081 file.
44082 multiarch llround for PPC64.
44083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44084 multiarch round for PPC64.
44085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44086 multiarch roundf for PPC64.
44087
44088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44089 multiarch implementation.
44090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44091 file.
44092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44093 file.
44094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44095 file.
44096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44097 file.
44098 multiarch llround for PPC64.
44099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44100 multiarch floor for PPC64.
44101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44102 multiarch floorf for PPC64.
44103
44104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44105 multiarch implementation.
44106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44107 file.
44108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44109 file.
44110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44111 file.
44112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44113 file.
44114 multiarch llround for PPC64.
44115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44116 multiarch ceil for PPC64.
44117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44118 multiarch ceilf for PPC64.
44119
44120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44121 multiarch implementation.
44122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44123 file.
44124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44125 file.
44126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44127 file.
44128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44129 multiarch llround for PPC64.
44130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44131 multiarch lround for PPC64.
44132
44133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44134 multiarch implementation.
44135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44138 file.
44139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44142 multiarch isnan for PPC64.
44143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44144 multiarch isnanf for PPC64.
44145
44146 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44147 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44148 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44149 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44150 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44152
44153 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44157
44158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44159 multiarch implementations.
44160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44161 (__libc_ifunc_impl_list): Likewise.
44162 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44163 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44164 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44165 multiarch stpcpy for PPC64.
44166
44167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44168 multiarch implementations.
44169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44170 (__libc_ifunc_impl_list): Likewise.
44171 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44172 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44173 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44174 multiarch strcpy for PPC64.
44175
44176 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44177 redefine function name.
44178 (_wordcopy_fwd_dest_aligned): Likewise.
44179 (_wordcopy_bwd_aligned): Likewise.
44180 (_wordcopy_bwd_dest_aligned): Likewise.
44181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44182 multiarch implementations.
44183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44184 (__libc_ifunc_impl_list): Likewise.
44185 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44187 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44189 multiarch wcscpy for PPC64.
44190
44191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44192 multiarch implementations.
44193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44194 (__libc_ifunc_impl_list): Likewise.
44195 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44196 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44198 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44199 multiarch wcscpy for PPC64.
44200
44201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44202 multiarch implementations.
44203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44204 (__libc_ifunc_impl_list): Likewise.
44205 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44206 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44207 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44208 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44209 multiarch wcsrchr for PPC64.
44210
44211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44212 multiarch implementations.
44213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44214 (__libc_ifunc_impl_list): Likewise.
44215 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44216 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44217 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44218 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44219 multiarch wcschr for PPC64.
44220
44221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44222 multiarch implementations.
44223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44224 (__libc_ifunc_impl_list): Likewise.
44225 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44226 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44227 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44228 multiarch strchrnul for PPC64.
44229
44230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44231 implementations.
44232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44233 (__libc_ifunc_impl_list): Likewise.
44234 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44235 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44236 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44237 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44238 strchr for PPC64.
44239
44240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44241 implementations.
44242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44243 (__libc_ifunc_impl_list): Likewise.
44244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44245 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44246 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44247 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44248 strncmp for PPC64.
44249
44250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44251 multiarch implementations.
44252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44253 (__libc_ifunc_impl_list): Likewise.
44254 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44255 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44256 strncasecmp for PPC64.
44257 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44258 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44259 multiarch strncasecmp_l for PPC64.
44260
44261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44262 multiarch implementations.
44263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44264 (__libc_ifunc_impl_list): Likewise.
44265 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44267 multiarch strcasecmp for PPC64.
44268 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44269 file.
44270 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44271 multiarch strcasecmp_l for PPC64.
44272
44273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44274 implementations.
44275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44276 (__libc_ifunc_impl_list): Likewise.
44277 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44278 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44279 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44280 strnlen for PPC64.
44281
44282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44283 implementations.
44284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44285 (__libc_ifunc_impl_list): Likewise.
44286 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44287 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44288 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44289 strlen for PPC64.
44290
44291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44292 implementations.
44293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44294 (__libc_ifunc_impl_list): Likewise.
44295 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44296 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44297 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44298 rawmemrchr for PPC64.
44299
44300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44301 implementation.
44302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44303 (__libc_ifunc_impl_list): Likewise.
44304 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44305 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44306 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44307 memrchr for PPC64.
44308
44309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44310 implementation.
44311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44312 (__libc_ifunc_impl_list): Likewise.
44313 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44314 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44315 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44316 memchr for PPC64.
44317
44318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44319 implementation.
44320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44321 (__libc_ifunc_impl_list): Likewise.
44322 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44323 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44324 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44325 mempcpy for PPC64.
44326
44327 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44328 avoid cretion of __bzero symbol.
44329 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44330 Likewise.
44331 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44332 Likewise.
44333 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44334 Likewise.
44335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44336 multiarch implementations.
44337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44338 (__libc_ifunc_impl_list): Likewise.
44339 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44340 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44341 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44342 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44343 bzero for PPC32.
44344 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44345 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44346 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44347 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44348 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44349 memset for PPC64.
44350 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44351
44352 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44354 implementations.
44355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44356 (__libc_ifunc_impl_list): Likewise.
44357 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44358 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44359 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44360 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44361 memcmp for PPC64.
44362
44363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44364 multiarch for POWER/PPC64.
44365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44366 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44367 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44368 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44369 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44370 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44371 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44373 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44374 memcpy for PPC64.
44375
44376 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44377 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44378 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44379 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44380 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44381 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44382 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44383 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44384 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44385 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44386 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44387 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44388 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44389 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44390 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44398
44399 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44400
44401 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44402
44403 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44404
44405 * benchtests/Makefile (bench): Add exp2 and log2.
44406 (LDLIBS-bench-exp2): Add -lm.
44407 (LDLIBS-bench-log2): Likewise.
44408 * benchtests/exp2-inputs: New inputs file.
44409 * benchtests/log2-inputs: New inputs file.
44410 * benchtests/log-inputs: Add new inputs.
44411 * benchtests/tan-inputs: Likewise.
44412
44413 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44414
44415 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44416 definition...
44417 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44418 (csloww2): ... from here.
44419
44420 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44421 instead of structures.
44422 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44423 (POLYNOMIAL): Likewise.
44424 (TAYLOR_SLOW): Likewise.
44425 (__sin): Likewise.
44426 (__cos): Likewise.
44427 (slow1): Likewise.
44428 (slow2): Likewise.
44429 (sloww): Likewise.
44430 (sloww1); Likewise.
44431 (sloww2): Likewise.
44432 (bsloww1): Likewise.
44433 (bsloww2): Likewise.
44434 (cslow2): Likewise.
44435 (csloww): Likewise.
44436 (csloww1): Likewise.
44437 (csloww2): Likewise.
44438
44439 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
44440
44441 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44442 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44443 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44444 * malloc/hooks.c (realloc_check): Likewise.
44445
44446 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44447 * malloc/arena.c: Remove PER_THREAD conditional.
44448 [!PER_THREAD]: Remove code.
44449 (ptmalloc_unlock_all2): Likewise.
44450 (ptmalloc_init): Likewise.
44451 (_int_new_arena): Likewise.
44452 (arena_get2): Likewise.
44453 * malloc/hooks.c (__malloc_get_state): Likewise.
44454 (__malloc_set_state): Likewise.
44455 * malloc/malloc.c: Likewise.
44456 (struct malloc_state): Likewise.
44457 (struct malloc_par): Likewise.
44458 (__libc_realloc): Likewise.
44459 (__libc_mallopt): Likewise.
44460
44461 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44462
44463 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44464
44465 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
44466
44467 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44468 macro to a function. Check for zero perturb_byte.
44469 (_int_malloc, _int_free): Remove zero perturb_byte checks.
44470
44471 * malloc/malloc.c: (force_reg): Remove.
44472 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44473 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44474 force_reg by atomic_forced_read.
44475 * malloc/arena.c (ptmalloc_init): Likewise.
44476 * malloc/hooks.c (top_check): Likewise.
44477
44478 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44479
44480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44481
44482 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
44483
44484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44485
44486 2013-12-08 Joseph Myers <joseph@codesourcery.com>
44487
44488 * math/auto-libm-test-in: Add tests of lgamma.
44489 * math/auto-libm-test-out: Regenerated.
44490 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44491 (M_LOG_2_SQRT_PIl): Likewise.
44492 (lgamma_test_data): Use AUTO_TESTS_f_f1.
44493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
44494 mpfr_f_f1.
44495 (func_calc_desc): Add mpfr_f_f1 union field.
44496 (ARGS1): New macro.
44497 (ARGS2): Likewise.
44498 (ARGS3): Likewise.
44499 (ARGS4): Likewise.
44500 (RET1): Likewise.
44501 (RET2): Likewise.
44502 (CALC): Likewise.
44503 (FUNC): Likewise.
44504 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44505 (test_functions): Add lgamma.
44506 (calc_generic_results): Handle mpfr_f_f1.
44507 * sysdeps/i386/fpu/libm-test-ulps: Update.
44508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44509
44510 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44511
44512 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44513 __mpn_add_n for PowerPC64/POWER7.
44514 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44515 __mpn_sub_n for PowerPC64/POWER7.
44516
44517 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44518 __mpn_addmul_1 for PowerPC64.
44519 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44520 __mpn_submul_1 for PowerPC64.
44521 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44522 for PowerPC64.
44523 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44524 for PowerPC64.
44525
44526 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
44527
44528 [BZ #15089]
44529 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44530
44531 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44532
44533 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44534
44535 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44536 add multiarch folders.
44537 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44538 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44539 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44540 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44541 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44542 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44543 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44544 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44545 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44546 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44547 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44554
44555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44556 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44558 New file.
44559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44560 New file.
44561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44562 multiarch __ieee754_hypot for PowerPC32.
44563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44564 New file.
44565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44566 New file.
44567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44568 multiarch __ieee754_hypotf for PowerPC32.
44569
44570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44571 long_double_symbol only if __logbl is defined.
44572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44573 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44575 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44577 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44579 path for implementation.
44580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44583 logb, and logbl multiarch implementations for PowerPC32.
44584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44585 file.
44586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44587 file.
44588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44589 multiarch logb for PowerPC32.
44590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44591 file.
44592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44593 file.
44594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44595 multiarch logbf for PowerPC32.
44596 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44598 file.
44599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44600 multiarch logbl implementation for PowerPC32.
44601
44602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44603 and modff multiarch implementations.
44604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44605 New file.
44606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44607 New file.
44608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44609 multiarch modf for PowerPC32.
44610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44611 New file.
44612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44613 New file.
44614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44615 multiarch modff for PowerPC32.
44616
44617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44618 and lrintf multiarch implementations.
44619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44620 New file.
44621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44622 New file.
44623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44624 multiarch lrint for PowerPC32.
44625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44626 file: multiarch lrintf for PowerPC32.
44627
44628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44629 and lroundf multiarch implementations.
44630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44631 New file.
44632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44633 New file.
44634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44635 New file.
44636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44637 multiarch lround for PowerPC32.
44638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44639 file: multiarch lroundf for PowerPC32.
44640
44641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44642 copysign and copysignf multiarch implementations.
44643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44644 New file.
44645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44646 New file.
44647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44648 file: multiarch copysign for PowerPC32.
44649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44650 file: multiarch copysignf for PowerPC32.
44651
44652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44653 and truncf multiarch implementations.
44654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44655 New file.
44656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44657 file.
44658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44659 multiarch trunc for PowerPC32.
44660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44661 New file.
44662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44663 New file.
44664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44665 multiarch truncf for PowerPC32.
44666
44667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44668 and roundf multiarch implementations.
44669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44670 New file.
44671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44672 file.
44673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44674 multiarch round for PowerPC32.
44675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44676 New file.
44677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44678 New file.
44679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44680 multiarch roundf for PowerPC32.
44681
44682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44683 and floorf multiarch implementations.
44684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44685 New file.
44686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44687 file.
44688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44689 multiarch floor for PowerPC32.
44690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44691 New file.
44692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44693 New file.
44694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44695 multiarch floorf for PowerPC32.
44696
44697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44698 and ceilf multiarch implementations.
44699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44700 New file.
44701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44702 file.
44703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44704 multiarch ceil for PowerPC32.
44705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44706 New file.
44707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44708 file.
44709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44710 multiarch ceilf for PowerPC32.
44711
44712 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44713 is defined.
44714 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44715 FINITEF is defined.
44716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44717 and finitef multiarch implementations.
44718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44719 New file.
44720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44721 file.
44722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44723 multiarch finite for PowerPC32.
44724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44725 New file.
44726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44727 file: multiarch finitef for PowerPC32.
44728
44729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44730 and isinff multiarch implementations.
44731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44732 file.
44733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44734 file.
44735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44736 multiarch isinf for PowerPC32.
44737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44738 New file.
44739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44740 multiarch isinff for PowerPC32.
44741
44742 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44743 alias when __isnan is defined.
44744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44745 and isnanf multiarch implementations.
44746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44747 file.
44748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44749 file.
44750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44751 file.
44752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44753 file.
44754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44755 multiarch isnan for PowerPC32.
44756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44757 New file.
44758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44759 New file.
44760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44761 multiarch isnanf for PowerPC32.
44762
44763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44764 and sqrtf multiarch implementations.
44765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44766 file.
44767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44768 file.
44769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44770 multiarch sqrt for PowerPC32.
44771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44772 file.
44773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44774 file.
44775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44776 multiarch sqrtf for PowerPC32.
44777
44778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44779 and llroundf multiarch implementations.
44780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44781 New file.
44782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44783 New file.
44784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44785 New file.
44786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44787 file: multiarch llround for PowerPC32.
44788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44789 file: multiarch llroundf for PowerPC32.
44790
44791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44792 multiarch PowerPC32 fpu implementations.
44793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44794 New file.
44795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44796 New file.
44797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44798 multiarch llrint for PowerPC32.
44799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44800 New file.
44801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44802 New file.
44803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44804 file.
44805
44806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44807
44808 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44809 file.
44810 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44811 file.
44812 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44813 file.
44814 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44815 multiarch wordcopy for PPC32.
44816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44817 wordcopy objects.
44818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44819 (__libc_ifunc_impl_list): Likewise.
44820 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44821 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44822 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44823 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44824 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44825 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44826
44827 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44829 file.
44830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44831 file.
44832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44833 file.
44834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44835 multiarch wcscpy for PPC32.
44836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44837 multiarch objects.
44838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44839 (__libc_ifunc_impl_list): Likewise.
44840 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44841 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44842 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44843 sysdeps/powerpc/power6/wcscpy.c.
44844
44845 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44847 file.
44848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44849 file.
44850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44851 file.
44852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44853 multiarch wcsrchr for PPC32.
44854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44855 multiarch objects.
44856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44857 (__libc_ifunc_impl_list): Likewise.
44858 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44859 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44860 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44861 sysdeps/powerpc/power6/wcsrchr.c.
44862
44863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44864 file.
44865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44866 file.
44867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44869 multiarch wcschr for PPc32.
44870 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44871 multiarch objects.
44872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44873 (__libc_ifunc_impl_list): Likewise.
44874 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44875 * sysdeps/powerpc/power6/wcschr.c: ... to here.
44876 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44877 sysdeps/powerpc/power6/wcschr.c.
44878
44879 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44880 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44881 file.
44882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44883 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44884 file: multiarch strchr for PPC32.
44885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44886 multiarch objects.
44887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44888 (__libc_ifunc_impl_list): Likewise.
44889
44890 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44891 name.
44892 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44893 file.
44894 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44895 file.
44896 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44897 multiarch strchrnul for PPC32.
44898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44899 multiarch objects.
44900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44901 (__libc_ifunc_impl_list): Likewise.
44902
44903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44904 file.
44905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44906 multiarch strncasecmp for PPC32.
44907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44908 file.
44909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44910 multiarch strncasecmp_l for PPC32.
44911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44912 strncasecmp multiarch objects.
44913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44914 (__libc_ifunc_impl_list): Likewise.
44915
44916 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44917 file.
44918 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44919 multiarch strncasecmp for PPC32.
44920 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44921 New file.
44922 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44923 multiarch strcasecmp_l for PPC32.
44924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44925 multiarch objects.
44926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44927 (__libc_ifunc_impl_list): Likewise.
44928
44929 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44930 file.
44931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44932 file.
44933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44934 multiarch strncmp for PPC32.
44935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44936 multiarch objects.
44937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44938 (__libc_ifunc_impl_list): Likewise.
44939
44940 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44941 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44942 file.
44943 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44944 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44946 multiarch objects.
44947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44948 (__libc_ifunc_impl_list): Likewise.
44949
44950 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44951 file.
44952 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44953 file.
44954 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44956 multiarch objects.
44957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44958 (__libc_ifunc_impl_list): Likewise.
44959
44960 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44961 file.
44962 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44963 file.
44964 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44965 multiarch rawmemchr for PPC32.
44966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44967 multiarch objects.
44968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44969 (__libc_ifunc_impl_list): Likewise.
44970
44971 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44972 file.
44973 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44974 file.
44975 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44976 file: memrchr multiarch for PPC32.
44977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44978 multiarch objects.
44979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44980 (__libc_ifunc_impl_list): Likewise.
44981
44982 * string/memchr.c (__memchr): Using macro to redefine symbol name.
44983 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44984 file.
44985 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44987 multiarch memchr for PPC32.
44988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44989 multiarch objects.
44990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44991 (__libc_ifunc_impl_list): Likewise.
44992
44993 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44994 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44995 file.
44996 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44997 file.
44998 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44999 file: multiarch mempcpy for PPC32.
45000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45001 multiarch objects.
45002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45003 (__libc_ifunc_impl_list): Likewise.
45004
45005 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45006 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45007 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45008 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45009 multiarch bzero for PPC32.
45010 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45011 file.
45012 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45013 file.
45014 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45015 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45016 file: multiarch memset for PPC32.
45017 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45019 memset multiarch objects.
45020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45021 (__libc_ifunc_impl_list): Likewise.
45022
45023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45024 file.
45025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45027 memcmp for PPC32.
45028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45029 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45030 multiarch objects.
45031 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45032 (__libc_ifunc_impl_list): Likewise.
45033
45034 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45035 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45036 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45037 file.
45038 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45039 file.
45040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45041 file.
45042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45043 multiarch memcpy for PPC32.
45044 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45045 multiarch objects.
45046 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45047 (__libc_ifunc_impl_list): Likewise.
45048
45049 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45050 support multiarch for POWER/PPC32.
45051 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45052 Likewise.
45053 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45055 Implies file to make multiarch folder appers before the fpu and
45056 default folder for power4 configuration.
45057
45058 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45059
45060 * scripts/bench.pl: Append volatile keyword to type.
45061
45062 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45063
45064 * sysdeps/sh/sotruss-lib.c: New file.
45065 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45066
45067 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45068
45069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45070
45071 2013-12-05 Joseph Myers <joseph@codesourcery.com>
45072
45073 [BZ #6810]
45074 * math/w_tgamma.c: Include <errno.h>.
45075 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
45076 * math/w_tgammaf.c: Include <errno.h>.
45077 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
45078 * math/w_tgammal.c: Include <errno.h>.
45079 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
45080 * math/auto-libm-test-in: Do not allow missing errno on tgamma
45081 underflow. Add more tgamma tests.
45082 * math/auto-libm-test-out: Regenerated.
45083 * sysdeps/i386/fpu/libm-test-ulps: Update.
45084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45085
45086 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45087 sin, sinh, tan, tanh, tgamma, y0 and y1.
45088 * math/auto-libm-test-out: Regenerated.
45089 * math/libm-test.inc (TEST_COND_x86_64): New macro.
45090 (TEST_COND_x86): Likewise.
45091 (M_E2l): Remove macro.
45092 (M_E3l): Likewise.
45093 (M_2_SQRT_PIl): Likewise.
45094 (M_SQRT_PIl): Likewise.
45095 (M_1_DIV_El): Likewise.
45096 (log_test_data): Use AUTO_TESTS_f_f.
45097 (log10_test_data): Likewise.
45098 (log1p_test_data): Likewise.
45099 (log2_test_data): Likewise.
45100 (sin_test_data): Likewise.
45101 (sin_tonearest_test_data): Likewise.
45102 (sin_towardzero_test_data): Likewise.
45103 (sin_downward_test_data): Likewise.
45104 (sin_upward_test_data): Likewise.
45105 (sinh_test_data): Likewise.
45106 (sinh_tonearest_test_data): Likewise.
45107 (sinh_towardzero_test_data): Likewise.
45108 (sinh_downward_test_data): Likewise.
45109 (sinh_upward_test_data): Likewise.
45110 (tan_test_data): Likewise.
45111 (tan_tonearest_test_data): Likewise.
45112 (tan_towardzero_test_data): Likewise.
45113 (tan_downward_test_data): Likewise.
45114 (tan_upward_test_data): Likewise.
45115 (tanh_test_data): Likewise.
45116 (tgamma_test_data): Likewise.
45117 (y0_test_data): Likewise.
45118 (y1_test_data): Likewise.
45119 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45120 (special_real_inputs): Add pi/4.
45121 * sysdeps/i386/fpu/libm-test-ulps: Update.
45122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45123
45124 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45125
45126 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45127 "longjmp_target" static probes.
45128 (__longjmp): Rename to __longjmp_symbol.
45129 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45130 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45131 on which longjmp to generate.
45132 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45134 probe.
45135 (__sigsetjmp): Rename to __sigsetjmp_symbol.
45136 (__sigjmp_save): Rename to __sigjmp_save_symbol.
45137 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45138 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45139 and __sigjmp_save_symbol based on which sigsetjmp to generated.
45140 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45142 __longjmp_symbol based on which __longjmp to generate.
45143 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45144 probe.
45145 (setjmp): Rename to setjmp_symbol.
45146 (__sigsetjmp): Rename to __sigsetjmp_symbol.
45147 (_setjmp): Rename to _setjmp_symbol.
45148 (__sigsetjmp): Rename to __sigsetjmp_symbol.
45149 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45150 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45151 which setjmp to generate.
45152 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45153 "longjmp_target" static probes.
45154
45155 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45156
45157 * benchtests/README: Add note about output arguments.
45158 * benchtests/bench-sincos.c: Remove file.
45159 * benchtests/sincos-inputs: New file.
45160 * scripts/bench.pl: Identify output arguments and define
45161 static variables for them.
45162
45163 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45164
45165 [BZ #15941]
45166 * Makefile (INSTALL): Add install-plain.texi as the primary
45167 dependency.
45168 * manual/install-plain.texi: New file.
45169 * manual/install.texi: Include node directive only for
45170 non-plaintext output.
45171
45172 2013-12-04 Joseph Myers <joseph@codesourcery.com>
45173
45174 * stdlib/longlong.h: Update from GCC.
45175
45176 [BZ #6807]
45177 [BZ #15901]
45178 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45179 * math/w_j0f.c (y0f): Likewise.
45180 * math/w_j0l.c (__y0l): Likewise.
45181 * math/w_j1.c (y1): Likewise.
45182 * math/w_j1f.c (y1f): Likewise.
45183 * math/w_j1l.c (__y1l): Likewise.
45184 * math/w_jn.c (yn): Likewise.
45185 * math/w_jnf.c (ynf): Likewise.
45186 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45187 Bessel function pole errors in _POSIX_ mode. Use NAN as return
45188 value for Bessel function domain errors outside _SVID_ mode.
45189 Adjust sign of return value for yn (negative integer, 0).
45190 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45191 by zero in return for negative x and set sign appropriately for
45192 negative n.
45193 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45194 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45195 * math/libm-test.inc (y0_test_data): Add more tests and adjust
45196 expectations in error cases.
45197 (y1_test_data): Likewise.
45198 (yn_test_data): Likewise.
45199 * sysdeps/i386/fpu/libm-test-ulps: Update.
45200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45201
45202 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45203
45204 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45205 "64" to "64-v1". Add "64-v2".
45206 (abi-64-options): Rename to ...
45207 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
45208 (abi-64-condition): Rename to ...
45209 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
45210 (abi-64-ld-soname): Rename to ...
45211 (abi-64-v1-ld-soname): ... this.
45212 (abi-64-v2-options): Define.
45213 (abi-64-v2-condition): Likewise.
45214 (abi-64-v2-ld-soname): Likewise.
45215 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45216 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45220
45221 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45222 Alan Modra <amodra@gmail.com>
45223
45224 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45225 New versions for use with the ELFv2 ABI.
45226 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45227 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45228 declaration.
45229 (struct La_ppc64v2_retval): Likewise.
45230 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45231 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45232 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45233 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45234 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45235 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45236 Do not save or restore CR.
45237 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45238 (_dl_profile_resolve): Do no save or restore CR. Support extended
45239 return values for ELFv2 ABI. Fix location of FPR return registers.
45240 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45241 updated values for _CALL_ELF == 2.
45242 (La_regs, La_retval, int_retval): Likewise.
45243
45244 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45245
45246 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45247 (FRAME_MIN_SIZE_PARM): Likewise.
45248 (FRAME_BACKCHAIN): Likewise.
45249 (FRAME_CR_SAVE): Likewise.
45250 (FRAME_LR_SAVE): Likewise.
45251 (FRAME_TOC_SAVE): Likewise.
45252 (FRAME_PARM_SAVE): Likewise.
45253 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45254 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45255 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45256 (call_mcount_parm_offset): New macro.
45257 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45258 (PROF): Use symbolic stack frame offsets.
45259 (TAIL_CALL_SYSCALL_ERROR): Likewise.
45260 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45261 Redefine in terms of FRAME_MIN_SIZE.
45262 (_dl_runtime_resolve): Use symbolic stack frame offsets.
45263 (_dl_profile_resolve): Likewise. Update comment.
45264 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45265 symbols stack frame offsets.
45266 (__sigsetjmp): Likewise.
45267 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45268 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45269 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45270 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45271
45272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45273 (FRAME_BACKCHAIN): Remove.
45274 (FRAME_CR_SAVE): Likewise.
45275 (FRAME_LR_SAVE): Likewise.
45276 (FRAME_COMPILER_DW): Likewise.
45277 (FRAME_LINKER_DW): Likewise.
45278 (FRAME_TOC_SAVE): Likewise.
45279 (FRAME_PARM_SAVE): Likewise.
45280 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45281 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45282 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45284 (CHECK_SP): Use symbolic stack frame offsets.
45285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45286 zone" instead of caller's parameter save area for temp storage.
45287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45288 Likewise. Also, use symbolic stack frame offsets.
45289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45290 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45291 our own stack frame instead of the caller's.
45292 (__socket): Use symbolic stack frame offsets.
45293
45294 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45295 Alan Modra <amodra@gmail.com>
45296
45297 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45298 Define.
45299 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45300 (PPC64_LOCAL_ENTRY_OFFSET): Define.
45301 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45302 New function.
45303 (elf_machine_fixup_plt): Call it.
45304 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
45305 reloc arguments.
45306 (elf_machine_rela): Update call to elf_machine_plt_conflict.
45307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45308 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45309 r2 before calling target.
45310
45311 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45312 Alan Modra <amodra@gmail.com>
45313
45314 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45315 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45316 versions of macros to support ELFv2 ABI.
45317 (LOCALENTRY): New macro.
45318 (ENTRY, EALIGN): Use it.
45319 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45320 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45321 fall through into ENTRY entry point.
45322 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45323 Only define if _CALL_ELF != 2.
45324
45325 (elf_machine_matches_host): Verify ABI version matches.
45326 (RTLD_START): Use LOCALENTRY.
45327 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45328 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45329 (PLT_ENTRY_WORDS): New macro.
45330 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45331 (elf_machine_runtime_setup): Support ELFv2 ABI.
45332 (elf_machine_fixup_plt): Likewise.
45333 (elf_machine_plt_conflict): Likewise.
45334 (resolve_ifunc): Likewise.
45335 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45337 Likewise.
45338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45339 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45341 (makecontext): Support ELFv2 ABI.
45342 * elf/elf.h (EF_PPC64_ABI): Define.
45343
45344 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45345
45346 * sysdeps/powerpc/powerpc64/sysdep.h
45347 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45348 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45349 (ENTRY) [ASSEMBLER]: ... but instead here ...
45350 (EALIGN) [ASSEMBLER]: ... and here.
45351 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45352 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45353 (ENTRY_2) [!ASSEMBLER]: Use it.
45354 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45355 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
45356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45357 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45358 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45360 Use PPC64_LOAD_FUNCPTR.
45361
45362 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45363
45364 2013-12-04 Alan Modra <amodra@gmail.com>
45365
45366 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45367 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45368 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45369 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45370
45371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45372 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45373 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45374 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45375 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45376 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45377
45378 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
45379
45380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45381 (__makecontext): Fix incorrect CFI when backtracing out of
45382 context created via makecontext.
45383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45384 (__setcontext): Fix incorrect CFI during switch to new context.
45385 (__novec_setcontext): Likewise.
45386
45387 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
45388
45389 [BZ #4772]
45390 * time/strptime_l.c (__strptime_internal): Allow modifiers
45391 in strptime.
45392 * time/tst-strptime.c (day_tests): Add testcase.
45393
45394 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45395
45396 * scripts/bench.pl: Skip over blank lines.
45397
45398 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
45399
45400 [BZ #926]
45401 * manual/time.texi (Calendar Time): Clarify what timezone functions
45402 use.
45403
45404 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45405
45406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45407
45408 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
45409
45410 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45411 implementation.
45412 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45413 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45414 * debug/memset_chk.c (__memset_chk): Likewise.
45415 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45416 * debug/strncpy_chk.c: Likewise.
45417
45418 2013-12-03 Joseph Myers <joseph@codesourcery.com>
45419
45420 [BZ #15268]
45421 [BZ #15425]
45422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45423 (__ieee754_exp): For possibly underflowing results, check size of
45424 result and force underflow exception if required.
45425 * math/auto-libm-test-in: Add more tests of exp.
45426 * math/auto-libm-test-out: Regenerated.
45427 * sysdeps/i386/fpu/libm-test-ulps: Update.
45428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45429
45430 [BZ #16283]
45431 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45432 * math/w_exp2f.c (__exp2f): Likewise.
45433 * math/w_exp2l.c (__exp2l): Likewise.
45434 * math/auto-libm-test-in: Do not allow missing errno on exp2
45435 underflow.
45436 * math/auto-libm-test-out: Regenerated.
45437
45438 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
45439
45440 [BZ #16274]
45441 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45442 handle filename validation.
45443 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45444 (do_open): Delete.
45445
45446 2013-12-03 Joseph Myers <joseph@codesourcery.com>
45447
45448 [BZ #6786]
45449 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45450 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45451 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45452 <float.h>.
45453 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45454 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45455 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45457 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45459 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45460 * math/auto-libm-test-in: Don't allow missing errno from erfc.
45461 Add more erfc tests.
45462 * math/auto-libm-test-out: Regenerated.
45463 * sysdeps/i386/fpu/libm-test-ulps: Update.
45464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45465
45466 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45467 exp2, expm1, j0 and j1.
45468 * math/auto-libm-test-out: Regenerated.
45469 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45470 (erfc_test_data): Likewise.
45471 (exp_test_data): Likewise.
45472 (exp_tonearest_test_data): Likewise.
45473 (exp_towardzero_test_data): Likewise.
45474 (exp_downward_test_data): Likewise.
45475 (exp_upward_test_data): Likewise.
45476 (exp10_test_data): Likewise.
45477 (exp2_test_data): Likewise.
45478 (expm1_test_data): Likewise.
45479 (j0_test_data): Likewise.
45480 (j1_test_data): Likewise.
45481 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45482 (input_flag_type): Add flag_xfail_rounding.
45483 (input_flags): Add xfail-rounding.
45484 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45485 (output_for_one_input_case): Handle flag_xfail_rounding.
45486 * sysdeps/i386/fpu/libm-test-ulps: Update.
45487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45488
45489 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
45490
45491 [BZ #16289]
45492 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45493 division by 0.
45494
45495 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45496
45497 [BZ #16195]
45498 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45499 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45500 (STAP_PROBE0): New macro.
45501 (STAP_PROBE1): Likewise.
45502 (STAP_PROBE2): Likewise.
45503 (STAP_PROBE3): Likewise.
45504 (STAP_PROBE4): Likewise.
45505
45506 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
45507
45508 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45509
45510 2013-12-02 Steve Ellcey <sellcey@mips.com>
45511
45512 * benchtests/Makefile (bench): Add sqrt.
45513 (LDLIBS-bench-sqrt): New.
45514 * benchtests/sqrt-input: New.
45515
45516 2013-12-02 Pavel Simerda <psimerda@redhat.com>
45517
45518 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45519 (GAIH_EAI): Likewise.
45520 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45521 (gaih_inet): Likewise.
45522 (getaddrinfo): Don't use GAIH_EAI.
45523
45524 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45525 (struct gaih): Remove definition.
45526
45527 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
45528
45529 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45530 Use HERRNOP directly.
45531
45532 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45533
45534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45535
45536 2013-11-30 Joseph Myers <joseph@codesourcery.com>
45537
45538 * math/gen-auto-libm-tests.c (test_functions): Add more
45539 single-argument functions.
45540 (special_fill_pi_2): New function.
45541 (special_fill_minus_pi_2): Likewise.
45542 (special_fill_pi_6): Likewise.
45543 (special_fill_minus_pi_6): Likewise.
45544 (special_fill_pi_3): Likewise.
45545 (special_fill_2pi_3): Likewise.
45546 (special_fill_e): Likewise.
45547 (special_fill_1_e): Likewise.
45548 (special_fill_e_minus_1): Likewise.
45549 (special_real_inputs): Add more special inputs.
45550 (output_for_one_input_case): Do not require ERANGE on underflow to
45551 zero if round-to-nearest result does not underflow to zero, unless
45552 exact results required.
45553 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45554 atan, atanh, cbrt, cos and cosh.
45555 * math/auto-libm-test-out: Regenerated.
45556 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45557 (acos_tonearest_test_data): Likewise.
45558 (acos_towardzero_test_data): Likewise.
45559 (acos_downward_test_data): Likewise.
45560 (acos_upward_test_data): Likewise.
45561 (acosh_test_data): Likewise.
45562 (asin_test_data): Likewise.
45563 (asin_tonearest_test_data): Likewise.
45564 (asin_towardzero_test_data): Likewise.
45565 (asin_upward_test_data): Likewise.
45566 (asinh_test_data): Likewise.
45567 (atan_test_data): Likewise.
45568 (atanh_test_data): Likewise.
45569 (cbrt_test_data): Likewise.
45570 (cos_test_data): Likewise.
45571 (cos_tonearest_test_data): Likewise.
45572 (cos_towardzero_test_data): Likewise.
45573 (cos_downward_test_data): Likewise.
45574 (cos_upward_test_data): Likewise.
45575 (cosh_test_data): Likewise.
45576 (cosh_tonearest_test_data): Likewise.
45577 (cosh_towardzero_test_data): Likewise.
45578 (cosh_downward_test_data): Likewise.
45579 (cosh_upward_test_data): Likewise.
45580 * sysdeps/i386/fpu/libm-test-ulps: Update.
45581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45582
45583 2013-11-29 Joseph Myers <joseph@codesourcery.com>
45584
45585 [BZ #6787]
45586 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45587 * math/w_exp10f.c (__exp10f): Likewise.
45588 * math/w_exp10l.c (__exp10l): Likewise.
45589 * math/libm-test.inc (exp10_test_data): Add more tests and expect
45590 errno settings in existing tests.
45591
45592 [BZ #14032]
45593 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45594 precision control set to double precision.
45595 * sysdeps/i386/fpu/w_sqrt.c: New file.
45596 * math/auto-libm-test-in: Add more tests.
45597 * math/auto-libm-test-out: Update.
45598
45599 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45600 (sqrt_test_tonearest): New function.
45601 (sqrt_towardzero_test_data): New variable.
45602 (sqrt_test_towardzero): New function.
45603 (sqrt_downward_test_data): New variable.
45604 (sqrt_test_downward): New function.
45605 (sqrt_upward_test_data): New variable.
45606 (sqrt_test_upward): New function.
45607 (main): Call the new functions.
45608
45609 * math/gen-auto-libm-tests.c: New file.
45610 * math/auto-libm-test-in: Likewise.
45611 * math/auto-libm-test-out: New generated file.
45612 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45613 variables.
45614 (%beautify): Add generated representations of zero.
45615 (top level): Set $auto_input and call parse_auto_input.
45616 (beautify): Remove trailing "f" from hex float constants.
45617 (parse_args): Handle XFAIL_TEST.
45618 (convert_condition): New function.
45619 (or_value): Likewise.
45620 (or_cond_value): Likewise.
45621 (generate_testfile): Handle AUTO_TESTS_* lines.
45622 (parse_auto_input): New function.
45623 * math/libm-test.inc (XFAIL_TEST): New macro.
45624 (ERRNO_UNCHANGED): Update value.
45625 (ERRNO_EDOM): Likewise.
45626 (ERRNO_ERANGE): Likewise.
45627 (IGNORE_RESULT): Likewise.
45628 (TEST_COND_flt_32): New macro.
45629 (TEST_COND_dbl_64): Likewise.
45630 (TEST_COND_ldbl_96_intel): Likewise.
45631 (TEST_COND_ldbl_96_m68k): Likewise.
45632 (TEST_COND_ldbl_128): Likewise.
45633 (TEST_COND_ldbl_128ibm): Likewise.
45634 (TEST_COND_long32): Likewise.
45635 (TEST_COND_long64): Likewise.
45636 (TEST_COND_before_rounding): Likewise.
45637 (TEST_COND_after_rounding): Likewise.
45638 (enable_test): Handle XFAIL_TEST flag.
45639 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45640 with finite results.
45641 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45642 auto-libm-test-out.
45643
45644 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45645 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45646
45647 [BZ #16214]
45648 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45649 __tls_get_addr_internal instead of __tls_get_offset in order to
45650 avoid GOT pointer dependency. Make rtld export
45651 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45652 __tls_get_addr since we are a __tls_get_offset platform.
45653 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45654 GOT pointer being set up before.
45655 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45656
45657 2013-11-28 Joseph Myers <joseph@codesourcery.com>
45658
45659 * manual/math.texi (Errors in Math Functions): Document accuracy
45660 goals.
45661
45662 [BZ #15004]
45663 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45664 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45665 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45666 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45667 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45668 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45669 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45670 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45671 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45672 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45673 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45675 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45677 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45678 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45679
45680 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45681 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45682 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45683 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45684 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45685 Likewise.
45686 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45687 Likewise.
45688 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45689 Likewise.
45690 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45691 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45692 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45693 atomic-feupdateenv and flt-rounds.
45694 * sysdeps/powerpc/nofpu/Versions (libc): Add
45695 __atomic_feholdexcept, __atomic_feclearexcept,
45696 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45697 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45698 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45699 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45700 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45701 here.
45702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45703 Update.
45704
45705 * manual/arith.texi (FP Exceptions): Document that exceptions may
45706 not be raised when matherr is used.
45707 (Math Error Reporting): Document overflow in directed rounding
45708 modes. Document that errno may not be set when finite values are
45709 returned on overflow. Document intent to set errno on underflow
45710 only for underflow to zero.
45711
45712 [BZ #16271]
45713 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45714 round-to-nearest then adjust result for other rounding modes.
45715 * include/fenv.h (fegetround): Use libm_hidden_proto.
45716 * math/fegetround.c (fegetround): Use libm_hidden_def.
45717 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45718 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45719 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45721 Likewise.
45722 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45724 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45725 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45726
45727 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45728
45729 [BZ #16077]
45730 * nss/Versions (libnss_files): Add
45731 _nss_files_gethostbyname3_r.
45732 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45733 New function.
45734 (HOST_DB_LOOKUP): Remove macro.
45735 (_nss_files_gethostbyname_r): Implement function without the
45736 HOST_DB_LOOKUP macro.
45737 (_nss_files_gethostbyname2_r): Likewise.
45738
45739 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
45740
45741 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45742
45743 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
45744
45745 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45746 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45747 warning.
45748
45749 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45750
45751 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45752 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45753 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45754 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45755 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45756 __fe_nomask_env_priv and attribute_hidden.
45757 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45758 (libc_feupdateenv_test_ppc): Likewise.
45759 (libc_feresetround_ppc): Likewise.
45760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45761 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45762 compat_symbol macro.
45763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45764 (__fe_nomask_env): Likewise.
45765 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45766
45767 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
45768
45769 * string/Makefile: Remove ifunc tests.
45770 * string/test-string.h: Define TEST_IFUNC.
45771 * string/test-bcopy-ifunc.c: Remove.
45772 * string/test-bzero-ifunc.c: Likewise.
45773 * string/test-memccpy-ifunc.c: Likewise.
45774 * string/test-memchr-ifunc.c: Likewise.
45775 * string/test-memcmp-ifunc.c: Likewise.
45776 * string/test-memcpy-ifunc.c: Likewise.
45777 * string/test-memmem-ifunc.c: Likewise.
45778 * string/test-memmove-ifunc.c: Likewise.
45779 * string/test-mempcpy-ifunc.c: Likewise.
45780 * string/test-memrchr-ifunc.c: Likewise.
45781 * string/test-memset-ifunc.c: Likewise.
45782 * string/test-rawmemchr-ifunc.c: Likewise.
45783 * string/test-stpcpy-ifunc.c: Likewise.
45784 * string/test-stpncpy-ifunc.c: Likewise.
45785 * string/test-strcasecmp-ifunc.c: Likewise.
45786 * string/test-strcasestr-ifunc.c: Likewise.
45787 * string/test-strcat-ifunc.c: Likewise.
45788 * string/test-strchr-ifunc.c: Likewise.
45789 * string/test-strchrnul-ifunc.c: Likewise.
45790 * string/test-strcmp-ifunc.c: Likewise.
45791 * string/test-strcpy-ifunc.c: Likewise.
45792 * string/test-strcspn-ifunc.c: Likewise.
45793 * string/test-strlen-ifunc.c: Likewise.
45794 * string/test-strncasecmp-ifunc.c: Likewise.
45795 * string/test-strncat-ifunc.c: Likewise.
45796 * string/test-strncmp-ifunc.c: Likewise.
45797 * string/test-strncpy-ifunc.c: Likewise.
45798 * string/test-strnlen-ifunc.c: Likewise.
45799 * string/test-strpbrk-ifunc.c: Likewise.
45800 * string/test-strrchr-ifunc.c: Likewise.
45801 * string/test-strspn-ifunc.c: Likewise.
45802 * string/test-strstr-ifunc.c: Likewise.
45803
45804 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
45805
45806 * benchtests/Makefile: Remove ifunc tests.
45807 * benchtests/bench-string.h: Define TEST_IFUNC.
45808 * benchtests/bench-bcopy-ifunc.c: Remove.
45809 * benchtests/bench-bzero-ifunc.c: Likewise.
45810 * benchtests/bench-memccpy-ifunc.c: Likewise.
45811 * benchtests/bench-memchr-ifunc.c: Likewise.
45812 * benchtests/bench-memcmp-ifunc.c: Likewise.
45813 * benchtests/bench-memcpy-ifunc.c: Likewise.
45814 * benchtests/bench-memmem-ifunc.c: Likewise.
45815 * benchtests/bench-memmove-ifunc.c: Likewise.
45816 * benchtests/bench-mempcpy-ifunc.c: Likewise.
45817 * benchtests/bench-memrchr-ifunc.c: Likewise.
45818 * benchtests/bench-memset-ifunc.c: Likewise.
45819 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45820 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45821 * benchtests/bench-stpcpy-ifunc.c: Likewise.
45822 * benchtests/bench-stpncpy-ifunc.c: Likewise.
45823 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45824 * benchtests/bench-strcasestr-ifunc.c: Likewise.
45825 * benchtests/bench-strcat-ifunc.c: Likewise.
45826 * benchtests/bench-strchr-ifunc.c: Likewise.
45827 * benchtests/bench-strchrnul-ifunc.c: Likewise.
45828 * benchtests/bench-strcmp-ifunc.c: Likewise.
45829 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45830 * benchtests/bench-strcpy-ifunc.c: Likewise.
45831 * benchtests/bench-strcspn-ifunc.c: Likewise.
45832 * benchtests/bench-strlen-ifunc.c: Likewise.
45833 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45834 * benchtests/bench-strncat-ifunc.c: Likewise.
45835 * benchtests/bench-strncmp-ifunc.c: Likewise.
45836 * benchtests/bench-strncpy-ifunc.c: Likewise.
45837 * benchtests/bench-strnlen-ifunc.c: Likewise.
45838 * benchtests/bench-strpbrk-ifunc.c: Likewise.
45839 * benchtests/bench-strrchr-ifunc.c: Likewise.
45840 * benchtests/bench-strsep-ifunc.c: Likewise.
45841 * benchtests/bench-strspn-ifunc.c: Likewise.
45842 * benchtests/bench-strstr-ifunc.c: Likewise.
45843
45844 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
45845
45846 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45847
45848 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
45849
45850 * resolv/netdb.h: Use __glibc_reserved instead __unused.
45851 * rt/aio.h: Likewise.
45852 * sysdeps/gnu/bits/utmp.h: Likewise.
45853 * sysdeps/gnu/bits/utmpx.h: Likewise.
45854 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45855 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45856 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45857 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45858 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45859 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45860 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45861 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45862 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45863 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45864 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45865 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45866 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45868 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45869 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45870 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45871 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45872 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45873 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45874 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45875 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45876 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45877 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45878 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45880 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45881 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45882 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45884 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45885 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45886 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45887 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45888 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45889 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45891 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45892 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45893 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45894 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45895 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45896
45897 2013-11-25 Carlos O'Donell <carlos@redhat.com>
45898
45899 [BZ #16245]
45900 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45901 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45902
45903 2013-11-25 Joseph Myers <joseph@codesourcery.com>
45904
45905 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45907 Likewise.
45908
45909 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45910
45911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45912 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45913 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45914 (__fesetround): Remove define.
45915 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45916 rounding and exceptions handling.
45917 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45918 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45919 (__fe_nomask_env): Likewise.
45920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45921 __fegetround instead of fegetround.
45922 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45923 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45924
45925 2013-11-21 Roland McGrath <roland@hack.frob.com>
45926
45927 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45928 it's there.
45929
45930 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45931
45932 2013-11-21 Meador Inge <meadori@codesourcery.com>
45933
45934 [BZ #11157]
45935 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45936 (encrypt_r): Likewise.
45937 * malloc/obstack.h (obstack_free): Likewise.
45938 * posix/unistd.h (encrypt): Likewise.
45939
45940 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
45941
45942 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45943 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45944 DL_CALL_DT_FINI() that call the functions directly.
45945 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45946 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45947 * elf/dl-fini.c: Likewise.
45948
45949 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
45950
45951 * malloc/hooks.c (memalign_check): Add alignment rounding.
45952 * malloc/malloc.c (_mid_memalign): New function.
45953 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45954 Implement by calling _mid_memalign.
45955 * manual/probes.texi (Memory Allocation Probes): Remove
45956 memory_valloc_retry and memory_pvalloc_retry.
45957
45958 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45959
45960 * locale/programs/locarchive.c (open_archive): Add const
45961 qualifier to ARCHIVEFNAME and copy default fname to
45962 DEFAULT_FNAME.
45963
45964 [BZ #15601]
45965 * libio/tst-widetext.input: Rename Oriya to Odia.
45966 * locale/iso-639.def: Likewise.
45967
45968 * manual/probes.texi (Mathematical Function Probes): Add
45969 documentation for sin, cos, asin and acos probes.
45970 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45971 (__sin32): Add slowasin probe.
45972 (__cos32): Add slowacos probe.
45973 (__mpsin): Add slowsin probe.
45974 (__mpcos): Add slowcos probe.
45975
45976 2013-11-19 Joseph Myers <joseph@codesourcery.com>
45977
45978 [BZ #15483]
45979 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45980 thread-local __sim_exceptions_thread and global
45981 __sim_exceptions_global.
45982 (__sim_disabled_exceptions): Change to thread-local
45983 __sim_disabled_exceptions_thread and global
45984 __sim_disabled_exceptions_global.
45985 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45986 and global __sim_round_mode_global.
45987 (__simulate_exceptions): Use thread-local floating-point state and
45988 set global state from it as needed.
45989 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45990 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45991 __sim_round_mode_thread.
45992 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45993 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45994 and global __sim_exceptions_global.
45995 (__sim_disabled_exceptions): Change to thread-local
45996 __sim_disabled_exceptions_thread and global
45997 __sim_disabled_exceptions_global.
45998 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45999 and global __sim_round_mode_global.
46000 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46001 (SIM_SET_GLOBAL): Likewise.
46002 * sysdeps/powerpc/soft-fp/sfp-machine.h
46003 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46004 __sim_round_mode_thread.
46005 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46006 __sim_disabled_exceptions_thread.
46007 (__sim_exceptions): Change to __sim_exceptions_thread.
46008 (__sim_disabled_exceptions): Change to
46009 __sim_disabled_exceptions_thread.
46010 (__sim_round_mode): Change to __sim_round_mode_thread.
46011 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46012 thread-local floating-point state and set global state from it as
46013 needed.
46014 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46015 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46016 (__sim_disabled_exceptions): Remove extern declaration.
46017 (feenableexcept): Use thread-local floating-point state and set
46018 global state from it as needed.
46019 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46020 extern declaration.
46021 (__sim_disabled_exceptions): Likewise.
46022 (__sim_round_mode): Likewise.
46023 (__fegetenv): Use thread-local floating-point state.
46024 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46025 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46026 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46027 floating-point state and set global state from it as needed.
46028 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46029 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46030 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46031 Likewise.
46032 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46033 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46034 Likewise.
46035 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46036 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46037 Use __sim_round_mode_thread.
46038 * math/test-fenv-tls.c: New file.
46039 * math/Makefile (tests): Add test-fenv-tls.
46040 ($(objpfx)test-fenv-tls): Depend on
46041 $(common-objpfx)nptl/libpthread.so.
46042
46043 2013-11-19 Andreas Schwab <schwab@suse.de>
46044
46045 * locale/programs/locale.c (show_info): Decode wordarray elements.
46046 * locale/categories.def (LC_MONETARY): Add element for
46047 _NL_MONETARY_CRNCYSTR.
46048 * locale/C-monetary.c (conversion_rate): New variable.
46049 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46050 element.
46051
46052 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
46053
46054 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46055 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46056
46057 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
46058
46059 * elf/Makefile (tst-auxv): New test.
46060 * elf/tst-auxv.c: New
46061 * elf/rtld.c (dl_main): Adjust AT_EXECFN
46062
46063 2013-11-18 Joseph Myers <joseph@codesourcery.com>
46064
46065 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46066 (hidden_proto): Caller changed.
46067 (hidden_tls_proto): New macro.
46068 (libc_hidden_tls_proto): Likewise.
46069 (rtld_hidden_tls_proto): Likewise.
46070 (libm_hidden_tls_proto): Likewise.
46071 (libresolv_hidden_tls_proto): Likewise.
46072 (librt_hidden_tls_proto): Likewise.
46073 (libdl_hidden_tls_proto): Likewise.
46074 (libnss_files_hidden_tls_proto): Likewise.
46075 (libnsl_hidden_tls_proto): Likewise.
46076 (libnss_nisplus_hidden_tls_proto): Likewise.
46077 (libutil_hidden_tls_proto): Likewise.
46078
46079 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
46080
46081 [BZ #10253]
46082 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46083 (decompose_rpath): Defer expansion to fillin_rpath.
46084 (_dl_init_paths): Pass linkmap to fillin_rpath.
46085
46086 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46087
46088 * benchtests/Makefile: Add strsep.
46089 * benchtests/bench-strsep.c: New file: strsep benchtest.
46090 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46091
46092 2013-11-18 Andreas Schwab <schwab@suse.de>
46093
46094 * locale/programs/locale.c (show_info) [case byte]: Check for
46095 '\377' instead of '\177'.
46096 * locale/C-monetary.c (not_available): Always use "\377".
46097 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46098 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
46099 detect unavailable sign_posn locale elements.
46100 * locale/localeconv.c (__localeconv): For grouping and
46101 mon_grouping handle "\177" and "\377" like no grouping.
46102 (INT_ELEM): New macro. Use it to set all numeric members.
46103 * locale/programs/ld-monetary.c (monetary_read)
46104 <tok_mon_grouping>: Normalize single -1 to the empty string.
46105 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46106 Likewise.
46107
46108 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
46109
46110 [BZ #16055]
46111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46112 when we match (nil).
46113 * stdio-common/tst-sscanf.c (struct test): Add testcase.
46114
46115 2013-11-16 Joseph Myers <joseph@codesourcery.com>
46116
46117 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46118 (NO_TEST_INLINE): Update value.
46119 (ERRNO_UNCHANGED): Likewise.
46120 (ERRNO_EDOM): Likewise.
46121 (ERRNO_ERANGE): Likewise.
46122 (IGNORE_RESULT): Likewise.
46123 (check_float_internal): Check signs of NaN results if
46124 TEST_NAN_SIGN used.
46125 (check_complex): Pass TEST_NAN_SIGN flag through to second
46126 check_float_internal call.
46127 (copysign_test_data): Add tests with quiet NaNs as second
46128 argument. Use TEST_NAN_SIGN.
46129 (fabs_test_data): Add test of negative quiet NaN argument. Use
46130 TEST_NAN_SIGN.
46131 (signbit_test_data): Add tests of quiet NaN argument.
46132 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46133
46134 * math/gen-libm-test.pl (show_exceptions): Take extra argument
46135 $ignore_result.
46136 (parse_args): Handle function results specified as IGNORE.
46137 * math/libm-test.inc (IGNORE_RESULT): New macro.
46138 (check_float_internal): Do not check numerical result if flag
46139 IGNORE_RESULT set.
46140 (check_complex): Pass through IGNORE_RESULT to second
46141 check_float_internal call.
46142 (check_int): Do not check numerical result if flag IGNORE_RESULT
46143 set.
46144 (check_long): Likewise.
46145 (check_bool): Likewise.
46146 (check_longlong): Likewise.
46147 (lrint_test_data): Add tests of infinite and NaN arguments.
46148 (lrint_tonearest_test_data): Likewise.
46149 (lrint_towardzero_test_data): Likewise.
46150 (lrint_downward_test_data): Likewise.
46151 (lrint_upward_test_data): Likewise.
46152 (llrint_test_data): Likewise.
46153 (llrint_tonearest_test_data): Likewise.
46154 (llrint_towardzero_test_data): Likewise.
46155 (llrint_downward_test_data): Likewise.
46156 (llrint_upward_test_data): Likewise.
46157 (lround_test_data): Likewise.
46158 (llround_test_data): Likewise.
46159
46160 * math/libm-test.inc (NO_TEST_INLINE): New macro.
46161 (ERRNO_UNCHANGED): Update value.
46162 (ERRNO_EDOM): Likewise.
46163 (ERRNO_ERANGE): Likewise.
46164 (NO_TEST_INLINE_FLOAT): New macro.
46165 (NO_TEST_INLINE_DOUBLE): Likewise.
46166 (enable_test): New function.
46167 (RUN_TEST_f_f): Check enable_test before running test.
46168 (RUN_TEST_2_f): Likewise.
46169 (RUN_TEST_fff_f): Likewise.
46170 (RUN_TEST_c_f): Likewise.
46171 (RUN_TEST_f_f1): Likewise.
46172 (RUN_TEST_fF_f1): Likewise.
46173 (RUN_TEST_fI_f1): Likewise.
46174 (RUN_TEST_ffI_f1): Likewise.
46175 (RUN_TEST_c_c): Likewise.
46176 (RUN_TEST_cc_c): Likewise.
46177 (RUN_TEST_f_i): Likewise.
46178 (RUN_TEST_f_i_tg): Likewise.
46179 (RUN_TEST_ff_i_tg): Likewise.
46180 (RUN_TEST_f_b): Likewise.
46181 (RUN_TEST_f_b_tg): Likewise.
46182 (RUN_TEST_f_l): Likewise.
46183 (RUN_TEST_f_L): Likewise.
46184 (RUN_TEST_fFF_11): Likewise.
46185 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46186 conditionals.
46187 (cosh_test_data): Likewise.
46188 (exp_test_data): Likewise.
46189 (expm1_test_data): Likewise.
46190 (hypot_test_data): Likewise.
46191 (pow_test_data): Likewise.
46192 (sinh_test_data): Likewise.
46193 (tanh_test_data): Likewise.
46194 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46195 flags argument.
46196
46197 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46198 tests with quiet NaN input and output.
46199 (acosh_test_data): Likewise.
46200 (asin_test_data): Likewise.
46201 (asinh_test_data): Likewise.
46202 (atan_test_data): Likewise.
46203 (atanh_test_data): Likewise.
46204 (atan2_test_data): Likewise.
46205 (cbrt_test_data): Likewise.
46206 (cos_test_data): Likewise.
46207 (cosh_test_data): Likewise.
46208 (erf_test_data): Likewise.
46209 (erfc_test_data): Likewise.
46210 (exp_test_data): Likewise.
46211 (exp10_test_data): Likewise.
46212 (exp2_test_data): Likewise.
46213 (expm1_test_data): Likewise.
46214 (hypot_test_data): Likewise.
46215 (j0_test_data): Likewise.
46216 (j1_test_data): Likewise.
46217 (jn_test_data): Likewise.
46218 (lgamma_test_data): Likewise.
46219 (log_test_data): Likewise.
46220 (log10_test_data): Likewise.
46221 (log1p_test_data): Likewise.
46222 (log2_test_data): Likewise.
46223 (pow_test_data): Likewise.
46224 (scalb_test_data): Likewise.
46225 (sin_test_data): Likewise.
46226 (sincos_test_data): Likewise.
46227 (sinh_test_data): Likewise.
46228 (tan_test_data): Likewise.
46229 (tanh_test_data): Likewise.
46230 (tgamma_test_data): Likewise.
46231 (y0_test_data): Likewise.
46232 (y1_test_data): Likewise.
46233 (yn_test_data): Likewise.
46234
46235 [BZ #16167]
46236 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46237 argument being NaN and avoid computations with second argument in
46238 that case.
46239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46241 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46242
46243 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
46244
46245 * locale/iso-639.def: Add Chitwani Tharu (the).
46246
46247 2013-11-14 Andreas Schwab <schwab@suse.de>
46248
46249 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46250 word instead of empty string.
46251
46252 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46253
46254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46255 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46257 (__fe_nomask_env): Likewise.
46258
46259 2013-11-13 Steve Ellcey <sellcey@mips.com>
46260
46261 * benchtests/bench-timing.h: Include time.h.
46262
46263 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
46264
46265 [BZ #15997]
46266 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46267 to 3.4.0 for x32.
46268 * sysdeps/unix/sysv/linux/configure: Regenerated.
46269
46270 2013-11-13 Joseph Myers <joseph@codesourcery.com>
46271
46272 [BZ #16151]
46273 * stdlib/strtod_l.c (round_and_return): Do not consider
46274 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46275 exponent one less than half the least subnormal exponent.
46276 * stdlib/test-strtod-round-data: Add more tests.
46277 * stdlib/tst-strtod-round.c (tests): Regenerated.
46278
46279 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46280
46281 [BZ #14143]
46282 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46283 (__fe_mask_env): Likewise.
46284 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46285 libm_hidden_proto and add function prototype.
46286 (__fe_mask_env): Add function prototype.
46287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46288 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46290 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46292 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46293
46294 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46295
46296 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46297 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46298
46299 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
46300
46301 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46302 of htab_find_slot().
46303
46304 2013-11-11 David S. Miller <davem@davemloft.net>
46305
46306 [BZ #16150]
46307 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46308 symbol in the non-vis3 case in static builds.
46309 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46311 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46312 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46313
46314 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
46315
46316 [BZ #387]
46317 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46318 it is empty.
46319
46320 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46321
46322 * benchtests/Makefile: Add bench-strtod.
46323 * benchtests/bench-strtod.c: New file: strtod benchtest
46324
46325 2013-11-11 Andreas Schwab <schwab@suse.de>
46326
46327 [BZ #16153]
46328 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46329 terminating NUL in key length.
46330
46331 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46332
46333 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46334 Add artificial ODP entry for vDSO symbol for PPC64.
46335 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46336 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46337
46338 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
46339
46340 [BZ #15374]
46341 * nss/getent.c (services_keys): Recognize services starting with digit.
46342
46343 2013-11-06 David S. Miller <davem@davemloft.net>
46344
46345 [BZ #15985]
46346 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46347 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46348
46349 2013-11-06 Will Newton <will.newton@linaro.org>
46350
46351 * manual/memory.texi (Malloc Examples): Remove register
46352 keyword from examples.
46353
46354 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
46355
46356 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46357
46358 2013-11-04 Joseph Myers <joseph@codesourcery.com>
46359
46360 [BZ #6981]
46361 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46362 depending on [__GCC_IEC_559 > 0].
46363 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46364 depending on [__GCC_IEC_559_COMPLEX > 0].
46365
46366 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
46367
46368 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46369 to iso-639.def.
46370
46371 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
46372
46373 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46374
46375 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
46376
46377 [BZ #16112]
46378 * malloc/malloc (malloc_info): Do not handle first bin as
46379 special case.
46380
46381 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
46382
46383 * locale/iso-639.def: Add Central Nahuatl (nhn).
46384
46385 2013-11-01 Bruno Haible <bruno@clisp.org>
46386
46387 [BZ #7003]
46388 * manual/math.texi (BSD Random): Specify range upper bound as
46389 in POSIX.
46390
46391 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
46392
46393 * locale/iso-639.def: Add Meadow Mari (mhr).
46394
46395 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
46396
46397 [BZ #14752], [BZ #15763]
46398 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46399 Validate name.
46400 * rt/tst_shm.c: Add test for escaping directory.
46401
46402 2013-10-31 Andreas Schwab <schwab@suse.de>
46403
46404 [BZ #15917]
46405 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46406 followed by 'x' as part of digit sequence.
46407 * stdio-common/tst-sscanf.c (double_tests2): New tests.
46408
46409 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46410
46411 [BZ #16037]
46412 * configure.ac: allow GNU Make 4.0 and greater.
46413 * configure: Regenerated.
46414
46415 2013-10-30 Will Newton <will.newton@linaro.org>
46416
46417 [BZ #16038]
46418 * malloc/hooks.c (memalign_check): Limit alignment to the
46419 maximum representable power of two.
46420 * malloc/malloc.c (__libc_memalign): Likewise.
46421 * malloc/tst-memalign.c (do_test): Add test for very
46422 large alignment values.
46423 * malloc/tst-posix_memalign.c (do_test): Likewise.
46424
46425 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
46426
46427 [BZ #11087]
46428 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46429 (munmap_chunk): Likewise.
46430 (mremap_chunk): Likewise.
46431
46432 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
46433
46434 [BZ #15799]
46435 * stdlib/div.c (div): Remove obsolete code.
46436 * stdlib/ldiv.c (ldiv): Likewise.
46437 * stdlib/lldiv.c (lldiv): Likewise.
46438
46439 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46440
46441 [BZ #16071]
46442 * nss/nss_files/files-XXX.c (get_contents_ret): New
46443 enumerator.
46444 (get_contents): New function.
46445 (internal_getent): Use it. Expand size of LINEBUFLEN.
46446
46447 2013-10-30 Mike Frysinger <vapier@gentoo.org>
46448
46449 * configure.in: Moved to ...
46450 * configure.ac: ... here. Change reference to configure.in
46451 to configure.ac.
46452 * sysdeps/arm/preconfigure.ac: ... here.
46453 configure.in to configure.ac.
46454 * sysdeps/gnu/configure.in: Moved to ...
46455 * sysdeps/gnu/configure.ac: ... here.
46456 * sysdeps/i386/configure.in: Moved to ...
46457 * sysdeps/i386/configure.ac: ... here.
46458 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46459 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46460 * sysdeps/mach/configure.in: Moved to ...
46461 * sysdeps/mach/configure.ac: ... here.
46462 * sysdeps/mach/hurd/configure.in: Moved to ...
46463 * sysdeps/mach/hurd/configure.ac: ... here.
46464 * sysdeps/powerpc/configure.in: Moved to ...
46465 * sysdeps/powerpc/configure.ac: ... here.
46466 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46467 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46468 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46469 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46470 * sysdeps/s390/s390-32/configure.in: Moved to ...
46471 * sysdeps/s390/s390-32/configure.ac: ... here.
46472 * sysdeps/s390/s390-64/configure.in: Moved to ...
46473 * sysdeps/s390/s390-64/configure.ac: ... here.
46474 * sysdeps/sh/configure.in: Moved to ...
46475 * sysdeps/sh/configure.ac: ... here.
46476 * sysdeps/sparc/configure.in: Moved to ...
46477 * sysdeps/sparc/configure.ac: ... here.
46478 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46479 * sysdeps/unix/sysv/linux/configure.ac: ... here.
46480 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46481 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46482 * sysdeps/x86_64/configure.in: Moved to ...
46483 * sysdeps/x86_64/configure.ac: ... here.
46484 * sysdeps/x86_64/preconfigure.in: Moved to ...
46485 * sysdeps/x86_64/preconfigure.ac: ... here.
46486 * aclocal.m4: Change reference to configure.in to configure.ac.
46487 * config.h.in: Likewise.
46488 * manual/install.texi: Likewise.
46489 * manual/maint.texi: Likewise.
46490 * Makefile: Likewise.
46491 * malloc/Makefile: Likewise.
46492 * nscd/Makefile: Likewise.
46493 * Makeconfig: Change reference to configure.in and
46494 preconfigure.in to configure.ac and preconfigure.ac
46495 respectively.
46496 * INSTALL: Regenerated.
46497 * configure: Likewise.
46498 * sysdeps/gnu/configure: Likewise.
46499 * sysdeps/i386/configure: Likewise.
46500 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46501 * sysdeps/mach/configure: Likewise.
46502 * sysdeps/mach/hurd/configure: Likewise.
46503 * sysdeps/powerpc/configure: Likewise.
46504 * sysdeps/powerpc/powerpc32/configure: Likewise.
46505 * sysdeps/powerpc/powerpc64/configure: Likewise.
46506 * sysdeps/s390/s390-32/configure: Likewise.
46507 * sysdeps/s390/s390-64/configure: Likewise.
46508 * sysdeps/sh/configure: Likewise.
46509 * sysdeps/sparc/configure: Likewise.
46510 * sysdeps/unix/sysv/linux/configure: Likewise.
46511 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46512 * sysdeps/x86_64/configure: Likewise.
46513 * sysdeps/x86_64/preconfigure: Likewise.
46514
46515 2013-10-29 Andreas Schwab <schwab@suse.de>
46516
46517 * stdio-common/Makefile (tst-swscanf-ENV): Define.
46518
46519 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46520
46521 * benchtests/pow-inputs: Add new inputs.
46522
46523 * benchtests/exp-inputs: Add new inputs.
46524
46525 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46526 conditional check for return value.
46527 (__cos32): Likewise.
46528
46529 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46530
46531 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46532 to provide a boost for large inputs with word alignment.
46533 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46534 implementation based on optimized PPC64 strcpy.
46535 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46536 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46537 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46538 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46539
46540 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
46541
46542 [BZ #2801]
46543 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46544
46545 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
46546
46547 [BZ #14876]
46548 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46549 * time/tst-strptime.c (day_tests): Add testcase.
46550
46551 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
46552
46553 [BZ #14029]
46554 * manual/pattern.texi: Acknowledge that fnmatch can fail.
46555
46556 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
46557
46558 [BZ #16074]
46559 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46560 MAP_FAILED on error.
46561
46562 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46563
46564 [BZ #16072]
46565 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46566 heap for large requests.
46567
46568 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
46569
46570 [BZ #9954]
46571 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46572 result if the result has no associated interface.
46573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46574 interface for all 127.X.Y.Z addresses.
46575
46576 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
46577
46578 * locale/iso-639.def: Add Ligurian (lij)
46579
46580 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
46581
46582 [BZ #15825]
46583 * sunrpc/rpc_main.c: Document rpcgen -5.
46584
46585 2013-10-19 Michael Stahl <mstahl@redhat.com>
46586
46587 * elf/rtld.c (do_preload): Print the reason why preloading failed.
46588
46589 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
46590
46591 [BZ #10278]
46592 * posix/glob.c: Match only directories when trailing slash is present.
46593 * posix/tst-gnuglob.c (my_opendir): Do not open files.
46594 (main): Add testcase.
46595
46596 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
46597
46598 [BZ #15670]
46599 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46600
46601 2013-10-18 Carlos O'Donell <carlos@redhat.com>
46602
46603 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46604 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46605 AUTH_DES and cindex for FIPS 140-2.
46606 (DES Encryption): Add cindex FIPS 46-3.
46607
46608 * locale/locarchive.h (struct locarhandle): Add fname.
46609 * locale/programs/localedef.c (main): Pass ARGV[remaining]
46610 if an optional argument was specified to --list-archive,
46611 otherwise NULL.
46612 * locale/programs/locarchive.c (show_archive_content): Take new
46613 argument fname and pass it via ah.fname to open_archive.
46614 * locale/programs/localedef.h: Update decl.
46615 (open_archive): If AH->fname is non-null, open that file
46616 rather than the default file name, and don't ignore ENOENT.
46617 (create_archive): Set AH.fname to NULL.
46618 (delete_locales_from_archive): Likewise.
46619 (add_locales_to_archive): Likewise.
46620 * locale/programs/locfile.c (write_all_categories): Likewise.
46621
46622 2013-10-18 Joseph Myers <joseph@codesourcery.com>
46623 Aldy Hernandez <aldyh@redhat.com>
46624
46625 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46626 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46627 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46628 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46629 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46632 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46633 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46634 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46636 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46637 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46638 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46639 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46640 Likewise.
46641 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46642 Likewise.
46643 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46644 Likewise.
46645 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46646 Likewise.
46647 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46648 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46649 Likewise.
46650 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46651 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46652 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46653 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46654 Likewise.
46655 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46656 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46657 * sysdeps/powerpc/preconfigure: Likewise.
46658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46659 Likewise.
46660 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46661 Replace contents of file by #include of <fenv_libc.h>.
46662 * sysdeps/powerpc/soft-fp/sfp-machine.h
46663 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46664 and <sys/prctl.h>.
46665 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46668 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46669 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46670 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46672 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46673 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46674 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46675 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46676 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46678 Allow copysignl PLT reference to be missing.
46679
46680 2013-10-18 Richard Sandiford <richard@codesourcery.com>
46681 Joseph Myers <joseph@codesourcery.com
46682
46683 [BZ #15948]
46684 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46685 single character.
46686 (add_to_tablewc): Assert sequence of wide characters is nonempty.
46687
46688 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46689
46690 * elf/tst-tls-dlinfo.c: Don't include tls.h.
46691 * elf/tst-tls1.c: Likewise.
46692 * elf/tst-tls10.h: Likewise.
46693 * elf/tst-tls14.c: Likewise.
46694 * elf/tst-tls2.c: Likewise.
46695 * elf/tst-tls3.c: Likewise.
46696 * elf/tst-tls4.c: Likewise.
46697 * elf/tst-tls5.c: Likewise.
46698 * elf/tst-tls6.c: Likewise.
46699 * elf/tst-tls7.c: Likewise.
46700 * elf/tst-tls8.c: Likewise.
46701 * elf/tst-tls9.c: Likewise.
46702 * elf/tst-tlsmod1.c: Likewise.
46703 * elf/tst-tlsmod13.c: Likewise.
46704 * elf/tst-tlsmod13a.c: Likewise.
46705 * elf/tst-tlsmod14a.c: Likewise.
46706 * elf/tst-tlsmod16a.c: Likewise.
46707 * elf/tst-tlsmod16b.c: Likewise.
46708 * elf/tst-tlsmod2.c: Likewise.
46709 * elf/tst-tlsmod3.c: Likewise.
46710 * elf/tst-tlsmod4.c: Likewise.
46711 * elf/tst-tlsmod5.c: Likewise.
46712 * elf/tst-tlsmod6.c: Likewise.
46713
46714 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
46715
46716 [BZ #12486]
46717 * malloc/malloc.c: remove checks for statistics.
46718
46719 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
46720
46721 [BZ #15277]
46722 * inet/inet_net.c (inet_network): Detect additional invalid strings.
46723 * inet/tst-network.c: Add testcase.
46724
46725 2013-10-17 Andreas Schwab <schwab@suse.de>
46726
46727 [BZ #15218]
46728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46729 to determine canonical name.
46730
46731 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
46732
46733 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46734 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46736 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46737 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46738 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46740 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46741 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46742 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46743 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46744 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46745 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46746 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46747 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46748 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46750 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46751 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46752 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46756 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46757 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46759 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46760 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46761 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46762 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46764 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46765 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46766 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46767 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46768 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46778 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46779 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46780 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46781 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46783 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46785 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46786 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46787 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46788 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46790 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46791
46792 2013-10-17 Joseph Myers <joseph@codesourcery.com>
46793
46794 [BZ #16041]
46795 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46796 make result into a quiet NaN.
46797
46798 2013-10-16 Joseph Myers <joseph@codesourcery.com>
46799
46800 * soft-fp/adddf3.c: Fix horizontal whitespace.
46801 * soft-fp/addsf3.c: Likewise.
46802 * soft-fp/addtf3.c: Likewise.
46803 * soft-fp/divdf3.c: Likewise.
46804 * soft-fp/divsf3.c: Likewise.
46805 * soft-fp/divtf3.c: Likewise.
46806 * soft-fp/double.h: Likewise.
46807 * soft-fp/eqdf2.c: Likewise.
46808 * soft-fp/eqsf2.c: Likewise.
46809 * soft-fp/eqtf2.c: Likewise.
46810 * soft-fp/extenddftf2.c: Likewise.
46811 * soft-fp/extended.h: Likewise.
46812 * soft-fp/extendsfdf2.c: Likewise.
46813 * soft-fp/extendsftf2.c: Likewise.
46814 * soft-fp/extendxftf2.c: Likewise.
46815 * soft-fp/fixdfdi.c: Likewise.
46816 * soft-fp/fixdfsi.c: Likewise.
46817 * soft-fp/fixdfti.c: Likewise.
46818 * soft-fp/fixsfdi.c: Likewise.
46819 * soft-fp/fixsfsi.c: Likewise.
46820 * soft-fp/fixsfti.c: Likewise.
46821 * soft-fp/fixtfdi.c: Likewise.
46822 * soft-fp/fixtfsi.c: Likewise.
46823 * soft-fp/fixtfti.c: Likewise.
46824 * soft-fp/fixunsdfdi.c: Likewise.
46825 * soft-fp/fixunsdfsi.c: Likewise.
46826 * soft-fp/fixunsdfti.c: Likewise.
46827 * soft-fp/fixunssfdi.c: Likewise.
46828 * soft-fp/fixunssfsi.c: Likewise.
46829 * soft-fp/fixunssfti.c: Likewise.
46830 * soft-fp/fixunstfdi.c: Likewise.
46831 * soft-fp/fixunstfsi.c: Likewise.
46832 * soft-fp/fixunstfti.c: Likewise.
46833 * soft-fp/floatdidf.c: Likewise.
46834 * soft-fp/floatdisf.c: Likewise.
46835 * soft-fp/floatditf.c: Likewise.
46836 * soft-fp/floatsidf.c: Likewise.
46837 * soft-fp/floatsisf.c: Likewise.
46838 * soft-fp/floatsitf.c: Likewise.
46839 * soft-fp/floattidf.c: Likewise.
46840 * soft-fp/floattisf.c: Likewise.
46841 * soft-fp/floattitf.c: Likewise.
46842 * soft-fp/floatundidf.c: Likewise.
46843 * soft-fp/floatundisf.c: Likewise.
46844 * soft-fp/floatunditf.c: Likewise.
46845 * soft-fp/floatunsidf.c: Likewise.
46846 * soft-fp/floatunsisf.c: Likewise.
46847 * soft-fp/floatunsitf.c: Likewise.
46848 * soft-fp/floatuntidf.c: Likewise.
46849 * soft-fp/floatuntisf.c: Likewise.
46850 * soft-fp/floatuntitf.c: Likewise.
46851 * soft-fp/fmadf4.c: Likewise.
46852 * soft-fp/fmasf4.c: Likewise.
46853 * soft-fp/fmatf4.c: Likewise.
46854 * soft-fp/gedf2.c: Likewise.
46855 * soft-fp/gesf2.c: Likewise.
46856 * soft-fp/getf2.c: Likewise.
46857 * soft-fp/ledf2.c: Likewise.
46858 * soft-fp/lesf2.c: Likewise.
46859 * soft-fp/letf2.c: Likewise.
46860 * soft-fp/muldf3.c: Likewise.
46861 * soft-fp/mulsf3.c: Likewise.
46862 * soft-fp/multf3.c: Likewise.
46863 * soft-fp/negdf2.c: Likewise.
46864 * soft-fp/negsf2.c: Likewise.
46865 * soft-fp/negtf2.c: Likewise.
46866 * soft-fp/op-1.h: Likewise.
46867 * soft-fp/op-2.h: Likewise.
46868 * soft-fp/op-4.h: Likewise.
46869 * soft-fp/op-8.h: Likewise.
46870 * soft-fp/op-common.h: Likewise.
46871 * soft-fp/quad.h: Likewise.
46872 * soft-fp/single.h: Likewise.
46873 * soft-fp/soft-fp.h: Likewise.
46874 * soft-fp/sqrtdf2.c: Likewise.
46875 * soft-fp/sqrtsf2.c: Likewise.
46876 * soft-fp/sqrttf2.c: Likewise.
46877 * soft-fp/subdf3.c: Likewise.
46878 * soft-fp/subsf3.c: Likewise.
46879 * soft-fp/subtf3.c: Likewise.
46880 * soft-fp/truncdfsf2.c: Likewise.
46881 * soft-fp/trunctfdf2.c: Likewise.
46882 * soft-fp/trunctfsf2.c: Likewise.
46883 * soft-fp/trunctfxf2.c: Likewise.
46884 * soft-fp/unorddf2.c: Likewise.
46885 * soft-fp/unordsf2.c: Likewise.
46886 * soft-fp/unordtf2.c: Likewise.
46887
46888 2013-10-15 Joseph Myers <joseph@codesourcery.com>
46889
46890 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46891 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46892
46893 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
46894
46895 * elf/dl-libc.c: Clear initfini list after freeing.
46896
46897 2013-10-14 Joseph Myers <joseph@codesourcery.com>
46898
46899 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46900 * soft-fp/addsf3.c: Likewise.
46901 * soft-fp/addtf3.c: Likewise.
46902 * soft-fp/divdf3.c: Likewise.
46903 * soft-fp/divsf3.c: Likewise.
46904 * soft-fp/divtf3.c: Likewise.
46905 * soft-fp/double.h: Likewise.
46906 * soft-fp/eqdf2.c: Likewise.
46907 * soft-fp/eqsf2.c: Likewise.
46908 * soft-fp/eqtf2.c: Likewise.
46909 * soft-fp/extenddftf2.c: Likewise.
46910 * soft-fp/extended.h: Likewise.
46911 * soft-fp/extendsfdf2.c: Likewise.
46912 * soft-fp/extendsftf2.c: Likewise.
46913 * soft-fp/extendxftf2.c: Likewise.
46914 * soft-fp/fixdfdi.c: Likewise.
46915 * soft-fp/fixdfsi.c: Likewise.
46916 * soft-fp/fixdfti.c: Likewise.
46917 * soft-fp/fixsfdi.c: Likewise.
46918 * soft-fp/fixsfsi.c: Likewise.
46919 * soft-fp/fixsfti.c: Likewise.
46920 * soft-fp/fixtfdi.c: Likewise.
46921 * soft-fp/fixtfsi.c: Likewise.
46922 * soft-fp/fixtfti.c: Likewise.
46923 * soft-fp/fixunsdfdi.c: Likewise.
46924 * soft-fp/fixunsdfsi.c: Likewise.
46925 * soft-fp/fixunsdfti.c: Likewise.
46926 * soft-fp/fixunssfdi.c: Likewise.
46927 * soft-fp/fixunssfsi.c: Likewise.
46928 * soft-fp/fixunssfti.c: Likewise.
46929 * soft-fp/fixunstfdi.c: Likewise.
46930 * soft-fp/fixunstfsi.c: Likewise.
46931 * soft-fp/fixunstfti.c: Likewise.
46932 * soft-fp/floatdidf.c: Likewise.
46933 * soft-fp/floatdisf.c: Likewise.
46934 * soft-fp/floatditf.c: Likewise.
46935 * soft-fp/floatsidf.c: Likewise.
46936 * soft-fp/floatsisf.c: Likewise.
46937 * soft-fp/floatsitf.c: Likewise.
46938 * soft-fp/floattidf.c: Likewise.
46939 * soft-fp/floattisf.c: Likewise.
46940 * soft-fp/floattitf.c: Likewise.
46941 * soft-fp/floatundidf.c: Likewise.
46942 * soft-fp/floatundisf.c: Likewise.
46943 * soft-fp/floatunsidf.c: Likewise.
46944 * soft-fp/floatunsisf.c: Likewise.
46945 * soft-fp/floatuntidf.c: Likewise.
46946 * soft-fp/floatuntisf.c: Likewise.
46947 * soft-fp/floatuntitf.c: Likewise.
46948 * soft-fp/fmadf4.c: Likewise.
46949 * soft-fp/fmasf4.c: Likewise.
46950 * soft-fp/fmatf4.c: Likewise.
46951 * soft-fp/gedf2.c: Likewise.
46952 * soft-fp/gesf2.c: Likewise.
46953 * soft-fp/getf2.c: Likewise.
46954 * soft-fp/ledf2.c: Likewise.
46955 * soft-fp/lesf2.c: Likewise.
46956 * soft-fp/letf2.c: Likewise.
46957 * soft-fp/muldf3.c: Likewise.
46958 * soft-fp/mulsf3.c: Likewise.
46959 * soft-fp/multf3.c: Likewise.
46960 * soft-fp/negdf2.c: Likewise.
46961 * soft-fp/negsf2.c: Likewise.
46962 * soft-fp/negtf2.c: Likewise.
46963 * soft-fp/op-1.h: Likewise.
46964 * soft-fp/op-2.h: Likewise.
46965 * soft-fp/op-4.h: Likewise.
46966 * soft-fp/op-8.h: Likewise.
46967 * soft-fp/op-common.h: Likewise.
46968 * soft-fp/quad.h: Likewise.
46969 * soft-fp/single.h: Likewise.
46970 * soft-fp/soft-fp.h: Likewise.
46971 * soft-fp/sqrtdf2.c: Likewise.
46972 * soft-fp/sqrtsf2.c: Likewise.
46973 * soft-fp/sqrttf2.c: Likewise.
46974 * soft-fp/subdf3.c: Likewise.
46975 * soft-fp/subsf3.c: Likewise.
46976 * soft-fp/subtf3.c: Likewise.
46977 * soft-fp/truncdfsf2.c: Likewise.
46978 * soft-fp/trunctfdf2.c: Likewise.
46979 * soft-fp/trunctfsf2.c: Likewise.
46980 * soft-fp/trunctfxf2.c: Likewise.
46981 * soft-fp/unorddf2.c: Likewise.
46982 * soft-fp/unordsf2.c: Likewise.
46983 * soft-fp/unordtf2.c: Likewise.
46984
46985 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
46986
46987 [BZ #15672]
46988 * misc/error.c (error_tail): Fix possible buffer overflow.
46989
46990 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
46991
46992 [BZ #13028]
46993 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46994 address.
46995
46996 2013-10-14 P. J. McDermott <pj@pehjota.net>
46997
46998 [BZ #832]
46999 * elf/ldd.bash.in (try_trace): New function. Delete previous code
47000 testing pipefail option.
47001
47002 2013-10-12 Joseph Myers <joseph@codesourcery.com>
47003
47004 * soft-fp/double.h: Indent preprocessor directives inside #if.
47005 * soft-fp/extended.h: Likewise.
47006 * soft-fp/op-2.h: Likewise.
47007 * soft-fp/op-4.h: Likewise.
47008 * soft-fp/op-common.h: Likewise.
47009 * soft-fp/quad.h: Likewise.
47010 * soft-fp/single.h: Likewise.
47011 * soft-fp/soft-fp.h: Likewise.
47012
47013 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
47014
47015 * iconv/iconv_prog.c: Fix typos.
47016 * stdio-common/psiginfo-data.h: Likewise.
47017
47018 2013-10-12 Reuben Thomas <rrt@sc3d.org>
47019
47020 [BZ #15764]
47021 * locale/setlocale.c: Fix typo.
47022
47023 2013-10-12 Joseph Myers <joseph@codesourcery.com>
47024
47025 [BZ #16036]
47026 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47027 signaling NaN arguments.
47028 * soft-fp/unordsf2.c (__unordsf2): Likewise.
47029 * soft-fp/unordtf2.c (__unordtf2): Likewise.
47030
47031 [BZ #14910]
47032 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47033 unordered operands.
47034 * soft-fp/gesf2.c (__gesf2): Likewise.
47035 * soft-fp/getf2.c (__getf2): Likewise.
47036 * soft-fp/ledf2.c (__ledf2): Likewise.
47037 * soft-fp/lesf2.c (__lesf2): Likewise.
47038 * soft-fp/letf2.c (__letf2): Likewise.
47039
47040 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47041 * soft-fp/eqsf2.c (__eqsf2): Likewise.
47042 * soft-fp/eqtf2.c (__eqtf2): Likewise.
47043 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47044 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47045 * soft-fp/fixdfti.c (__fixdfti): Likewise.
47046 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47047 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47048 * soft-fp/fixsfti.c (__fixsfti): Likewise.
47049 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47050 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47051 * soft-fp/fixtfti.c (__fixtfti): Likewise.
47052 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47053 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47054 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47055 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47056 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47057 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47058 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47059 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47060 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47061 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47062 * soft-fp/floatdisf.c (__floatdisf): Likewise.
47063 * soft-fp/floatsisf.c (__floatsisf): Likewise.
47064 * soft-fp/floattidf.c (__floattidf): Likewise.
47065 * soft-fp/floattisf.c (__floattisf): Likewise.
47066 * soft-fp/floattitf.c (__floattitf): Likewise.
47067 * soft-fp/floatundidf.c (__floatundidf): Likewise.
47068 * soft-fp/floatundisf.c (__floatundisf): Likewise.
47069 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47070 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47071 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47072 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47073 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47074 * soft-fp/gesf2.c (__gesf2): Likewise.
47075 * soft-fp/getf2.c (__getf2): Likewise.
47076 * soft-fp/ledf2.c (__ledf2): Likewise.
47077 * soft-fp/lesf2.c (__lesf2): Likewise.
47078 * soft-fp/letf2.c (__letf2): Likewise.
47079
47080 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47081 Undefine and redefine.
47082 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47083 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47084 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47085 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47086 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47087 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47088 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47089 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47090 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47091 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47092 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47093 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47094 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47095 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47096 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47097
47098 [BZ #16032]
47099 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47100 without decrementing exponent if mantissa >= that for the
47101 denominator, not >.
47102 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47103 denominator, not >. Decrement exponent in < case instead of
47104 incrementing in >= case.
47105 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47106 without decrementing exponent if mantissa >= that for the
47107 denominator, not >.
47108
47109 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47110 computing saturated result for unsigned overflow.
47111
47112 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
47113 Jeff Law <law@redhat.com>
47114
47115 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47116 (atan2Mp): Add systemtap probe marker.
47117 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47118 (__ieee754_log): Add systemtap probe marker.
47119 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47120 (atanMp): Add systemtap probe marker.
47121 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47122 (tanMp): Add systemtap probe marker.
47123 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47124 (__slowexp): Add systemtap probe marker.
47125 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47126 (__slowpow): Add systemtap probe marker.
47127 * manual/probes.texi: Document probes.
47128
47129 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
47130
47131 [BZ #15362]
47132 * libio/fileops.c (_IO_new_file_write): Return count of bytes
47133 written.
47134 (_IO_new_file_xsputn): Don't return EOF if nothing has been
47135 written.
47136 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47137 written to buffer but not flushed.
47138 * libio/iofwrite_u.c: Likewise.
47139 * libio/iopadn.c: Return bytes returned even if EOF was
47140 encountered.
47141 * libio/iowpadn.c: Likewise.
47142 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47143 if _IO_padn does not write the whole buffer.
47144 [!COMPILE_WPRINTF] (PAD): Likewise.
47145
47146 2013-10-10 David S. Miller <davem@davemloft.net>
47147
47148 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47149 directory block.
47150
47151 2013-10-10 Joseph Myers <joseph@codesourcery.com>
47152
47153 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
47154 instead of FSF address.
47155 * soft-fp/fixdfti.c: Likewise.
47156 * soft-fp/fixsfti.c: Likewise.
47157 * soft-fp/fixtfti.c: Likewise.
47158 * soft-fp/fixunsdfti.c: Likewise.
47159 * soft-fp/fixunssfti.c: Likewise.
47160 * soft-fp/fixunstfti.c: Likewise.
47161 * soft-fp/floattidf.c: Likewise.
47162 * soft-fp/floattisf.c: Likewise.
47163 * soft-fp/floattitf.c: Likewise.
47164 * soft-fp/floatuntidf.c: Likewise.
47165 * soft-fp/floatuntisf.c: Likewise.
47166 * soft-fp/floatuntitf.c: Likewise.
47167 * soft-fp/trunctfxf2.c: Likewise.
47168
47169 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
47170 * soft-fp/fixdfti.c: Likewise.
47171 * soft-fp/fixsfti.c: Likewise.
47172 * soft-fp/fixtfti.c: Likewise.
47173 * soft-fp/fixunsdfti.c: Likewise.
47174 * soft-fp/fixunssfti.c: Likewise.
47175 * soft-fp/fixunstfti.c: Likewise.
47176 * soft-fp/floattidf.c: Likewise.
47177 * soft-fp/floattisf.c: Likewise.
47178 * soft-fp/floattitf.c: Likewise.
47179 * soft-fp/floatuntidf.c: Likewise.
47180 * soft-fp/floatuntisf.c: Likewise.
47181 * soft-fp/floatuntitf.c: Likewise.
47182 * soft-fp/trunctfxf2.c: Likewise.
47183
47184 2013-10-10 David S. Miller <davem@davemloft.net>
47185
47186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47187
47188 2013-10-10 Joseph Myers <joseph@codsourcery.com>
47189
47190 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47191 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47192 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47193 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47194 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47195 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47196 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47197
47198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47199 for NaNs before doing comparisons on argument.
47200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47201 Likewise.
47202
47203 2013-10-10 Will Newton <will.newton@linaro.org>
47204
47205 * malloc/hooks.c (memalign_check): Ensure the value of bytes
47206 passed to _int_memalign does not overflow.
47207
47208 2013-10-10 Torvald Riegel <triegel@redhat.com>
47209
47210 * scripts/bench.pl: Add include-sources directive.
47211 * benchtests/README: Update documentation.
47212
47213 2013-10-10 Joseph Myers <joseph@codesourcery.com>
47214
47215 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47216 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47217 instead of FP_INIT_ROUNDMODE.
47218 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47219 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47220
47221 [BZ #16034]
47222 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
47223 copy class of input value.
47224 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
47225 not handle exceptions.
47226 * soft-fp/negsf2.c (__negsf2): Likewise.
47227 * soft-fp/negtf2.c (__negtf2): Likewise.
47228 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47229
47230 2013-10-09 Joseph Myers <joseph@codesourcery.com>
47231
47232 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47233 semicolon. From Linux kernel.
47234
47235 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
47236
47237 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47238
47239 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
47240
47241 [BZ #156]
47242 * manual/socket.texi: Added statement about buffer
47243 for gethostbyname2_r.
47244
47245 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
47246
47247 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47248 Use .p2align directive instead, throughout.
47249 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47250 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47251 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47253 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47254 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47255 * sysdeps/x86_64/strchr.S: Likewise.
47256 * sysdeps/x86_64/strrchr.S: Likewise.
47257
47258 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
47259
47260 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47261
47262 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47263
47264 * sysdeps/generic/math_private.h (__mpsin1): Remove
47265 declaration.
47266 (__mpcos1): Likewise.
47267 (__mpsin): New argument __range_reduce.
47268 (__mpcos): Likewise.
47269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47270 (slow): Use __mpsin and __mpcos.
47271 (slow1): Likewise.
47272 (slow2): Likewise.
47273 (sloww): Likewise.
47274 (sloww1): Likewise.
47275 (sloww2): Likewise.
47276 (bsloww): Likewise.
47277 (bsloww1): Likewise.
47278 (bsloww2): Likewise.
47279 (cslow2): Likewise.
47280 (csloww): Likewise.
47281 (csloww1): Likewise.
47282 (csloww2): Likewise.
47283 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47284 range_reduce. Merge in __mpsin1.
47285 (__mpcos): Likewise.
47286 (__mpsin1): Remove.
47287 (__mpcos1): Likewise.
47288
47289 2013-10-07 Joseph Myers <joseph@codesourcery.com>
47290
47291 * locale/loadlocale.c (_nl_intern_locale_data): Use
47292 LOCFILE_ALIGNED_P.
47293 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47294 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47295 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47296 obstack data is appropriately aligned.
47297 (obstack_int32_grow_fast): Likewise.
47298 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47299 * locale/programs/locfile.c (add_locale_uint32): Likewise.
47300 (add_locale_uint32_array): Likewise.
47301
47302 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47303
47304 * benchtests/Makefile: Remove ARGLIST and RET variables.
47305 ($(objpfx)bench-%.c): Pass only function name to the script.
47306 * benchtests/README: Update documentation.
47307 * benchtests/acos-inputs: Add new directives.
47308 * benchtests/acosh-inputs: Likewise.
47309 * benchtests/asin-inputs: Likewise.
47310 * benchtests/asinh-inputs: Likewise.
47311 * benchtests/atan-inputs: Likewise.
47312 * benchtests/atanh-inputs: Likewise.
47313 * benchtests/cos-inputs: Likewise.
47314 * benchtests/cosh-inputs: Likewise.
47315 * benchtests/exp-inputs: Likewise.
47316 * benchtests/log-inputs: Likewise.
47317 * benchtests/pow-inputs: Likewise.
47318 * benchtests/rint-inputs: Likewise.
47319 * benchtests/sin-inputs: Likewise.
47320 * benchtests/sinh-inputs: Likewise.
47321 * benchtests/tan-inputs: Likewise.
47322 * benchtests/tanh-inputs: Likewise.
47323 * scripts/bench.pl: Add support for new directives.
47324
47325 2013-10-07 Alan Modra <amodra@gmail.com>
47326
47327 * README: Fix careless merge.
47328
47329 2013-10-05 Alan Modra <amodra@gmail.com>
47330
47331 * NEWS: Mention powerpc64le support and bugs fixed.
47332 * README: Both big-endian and little-endian powerpc64 supported.
47333
47334 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
47335
47336 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47337 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47338 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47339 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47340
47341 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
47342
47343 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47344 match prototype.
47345
47346 2013-10-04 Joseph Myers <joseph@codesourcery.com>
47347
47348 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47349 Move -mhard-float appending from
47350 ports/sysdeps/powerpc/powerpc32/Makefile.
47351 [$(with-fp) = yes] (ASFLAGS): Likewise.
47352 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47353 * sysdeps/powerpc/nofpu: Move directory from
47354 ports/sysdeps/powerpc/nofpu.
47355 * sysdeps/powerpc/soft-fp: Move directory from
47356 ports/sysdeps/powerpc/soft-fp.
47357 * sysdeps/powerpc/powerpc32/405: Move directory from
47358 ports/sysdeps/powerpc/powerpc32/405.
47359 * sysdeps/powerpc/powerpc32/440: Move directory from
47360 ports/sysdeps/powerpc/powerpc32/440.
47361 * sysdeps/powerpc/powerpc32/464: Move directory from
47362 ports/sysdeps/powerpc/powerpc32/464.
47363 * sysdeps/powerpc/powerpc32/476: Move directory from
47364 ports/sysdeps/powerpc/powerpc32/476.
47365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47366 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47368 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47370 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47372 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47374 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47375 * README: Update for powerpc-*-linux-gnu software floating point
47376 support in libc.
47377
47378 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47379 case to powerpc/powerpc32*.
47380 * sysdeps/unix/sysv/linux/configure: Regenerated.
47381
47382 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47383 (_FPU_MASK_OM): Define as 0x04.
47384 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47386 0x00c10080.
47387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47388 0x0000003c.
47389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47390
47391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47392 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47393 getcontext_e500.
47394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47395 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47396 setcontext_e500.
47397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47398 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47399 and setcontext_e500.
47400
47401 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
47402
47403 * locale/iso-3166.def: Update iso-1366.def and related occurrences
47404
47405 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47406
47407 * manual/threads.texi (Default Thread Attributes): Fix typo.
47408
47409 2013-10-04 Will Newton <will.newton@linaro.org>
47410
47411 * malloc/Makefile: Add tst-memalign.
47412 * malloc/tst-memalign.c: New file.
47413
47414 * malloc/tst-posix_memalign.c: Add comments.
47415 (do_test): Add comments and call free on all potentially
47416 allocated pointers. Add space after cast.
47417
47418 * malloc/tst-pvalloc.c: Add comments.
47419 (do_test): Add comments and call free on all potentially
47420 allocated pointers. Remove duplicate check for NULL pointer.
47421 Add space after cast.
47422
47423 * malloc/tst-valloc.c: Add comments.
47424 (do_test): Add comments and call free on all potentially
47425 allocated pointers. Remove duplicate check for NULL pointer.
47426 Add space after cast.
47427
47428 2013-10-04 Alan Modra <amodra@gmail.com>
47429
47430 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47431 Use stdint types in rather than __attribute__((mode())).
47432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47433
47434 2013-10-04 Alan Modra <amodra@gmail.com>
47435
47436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47437 Correct handling of unaligned relocs for little-endian.
47438 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47439
47440 2013-10-04 Alan Modra <amodra@gmail.com>
47441
47442 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47443 * configure: Regenerate.
47444 * nptl/shlib-versions: Powerpc*le starts at 2.18.
47445 * shlib-versions: Likewise.
47446
47447 2013-10-04 Alan Modra <amodra@gmail.com>
47448
47449 * string/tester.c (test_memrchr): Increment reported test cycle.
47450
47451 2013-10-04 Alan Modra <amodra@gmail.com>
47452
47453 * string/test-memcpy.c (do_one_test): When reporting errors, print
47454 string address and don't overrun end of string.
47455
47456 2013-10-04 Alan Modra <amodra@gmail.com>
47457
47458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47459 insrdi. Make better use of reg selection to speed exit slightly.
47460 Schedule entry path a little better. Remove useless "are we done"
47461 checks on entry to main loop. Handle wrapping around zero address.
47462 Correct main loop count. Handle single left-over word from main
47463 loop inline rather than by using loop_small. Remove extra word
47464 case in loop_small caused by wrong loop count. Add little-endian
47465 support.
47466 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47467 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
47468 cache hint.
47469 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47470 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47471 support. Avoid rlwimi.
47472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47473
47474 2013-10-04 Alan Modra <amodra@gmail.com>
47475
47476 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47477 insrdi. Formatting.
47478 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47479 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47480 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47481 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47482 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47483 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47484
47485 2013-10-04 Alan Modra <amodra@gmail.com>
47486
47487 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47489 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47490 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47494 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47495 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
47496 use of regs. Use power7 mtocrf. Tidy function tails.
47497
47498 2013-10-04 Alan Modra <amodra@gmail.com>
47499
47500 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47501 Formatting. Consistently use rXXX register defines or rN defines.
47502 Use early exit labels that avoid restoring unused non-volatile regs.
47503 Make cr field use more consistent with rWORDn compares. Rename
47504 regs used as shift registers for unaligned loop, using rN defines
47505 for short lifetime/multiple use regs.
47506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
47508 addi 1,1,64 to pop stack frame. Simplify return value code.
47509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47510
47511 2013-10-04 Alan Modra <amodra@gmail.com>
47512
47513 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47514 support. Correct typos, formatting. Optimize tail. Use insrdi
47515 rather than rlwimi.
47516 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47518 little-endian support. Correct typos.
47519 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
47520 rather than rlwimi.
47521 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
47522 in loop and entry code to keep "and." results.
47523 (strchr): Add little-endian support. Comment. Move cntlzd
47524 earlier in tail.
47525 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47526
47527 2013-10-04 Alan Modra <amodra@gmail.com>
47528
47529 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47530 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47531 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47532 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47533
47534 2013-10-04 Alan Modra <amodra@gmail.com>
47535
47536 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47537 (rTMP): Define as r11.
47538 (strcmp): Add little-endian support. Optimise tail.
47539 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47540 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47541 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47542 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47546
47547 2013-10-04 Alan Modra <amodra@gmail.com>
47548
47549 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47550 little-endian support. Remove unnecessary "are we done" tests.
47551 Handle "s" wrapping around zero and extremely large "size".
47552 Correct main loop count. Handle single left-over word from main
47553 loop inline rather than by using small_loop. Correct comments.
47554 Delete "zero" tail, use "end_max" instead.
47555 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47556
47557 2013-10-04 Alan Modra <amodra@gmail.com>
47558
47559 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47560 support. Don't branch over align.
47561 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47562 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47563 support. Rearrange tmp reg use to suit. Comment.
47564 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47565
47566 2013-10-04 Alan Modra <amodra@gmail.com>
47567
47568 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47569
47570 2013-10-04 Alan Modra <amodra@gmail.com>
47571
47572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47573 conditional form of branch and link when obtaining pc.
47574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47575
47576 2013-10-04 Alan Modra <amodra@gmail.com>
47577
47578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47579 HIWORD/LOWORD.
47580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47582
47583 2013-10-04 Alan Modra <amodra@gmail.com>
47584
47585 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47586 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47588 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47589 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47590 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47591 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47592 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47593 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47594 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47595
47596 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
47597 Alistair Popple <alistair@ozlabs.au.ibm.com>
47598 Alan Modra <amodra@gmail.com>
47599
47600 [BZ #15723]
47601 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47603 _dl_hwcap access for little-endian.
47604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
47605 destroy vmx regs when saving unaligned.
47606 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47607 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
47608 destroy vmx regs when saving unaligned.
47609
47610 2013-10-04 Alan Modra <amodra@gmail.com>
47611
47612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47613 Don't use a union to pack hi/low value.
47614
47615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
47616
47617 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47618 for little-endian.
47619 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47621 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47622 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47623 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47624
47625 2013-10-04 Alan Modra <amodra@gmail.com>
47626
47627 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47628 constants to usual value for .cst8 section, and remove redundant
47629 high address load.
47630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47631 constant for 0x1p52. Load little-endian words of double from
47632 correct stack offsets.
47633
47634 2013-10-04 Alan Modra <amodra@gmail.com>
47635
47636 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47637 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47638 words of double from correct stack offsets.
47639 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47640 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47641 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47642 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47643 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47645 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47646 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47647 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47650 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47651 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47652 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47653 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47654 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47655 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47656
47657 2013-10-04 Alan Modra <amodra@gmail.com>
47658
47659 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47660 64-bit int/double union.
47661 (_FPU_SETCW): Likewise.
47662 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47663 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47664
47665 2013-10-04 Alan Modra <amodra@gmail.com>
47666
47667 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47668 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47669
47670 2013-10-04 Alan Modra <amodra@gmail.com>
47671
47672 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47673 use vector int constants.
47674 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47675
47676 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
47677
47678 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47679 array with long long.
47680 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47681 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47682 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47683 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47684 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47685 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47686 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47687 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47688 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47689 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47690 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47691 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47693
47694 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
47695
47696 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47697 (__signbit): Likewise. Correct for little-endian.
47698 (__signbitl): Call __signbit.
47699 (lrint): Correct for little-endian.
47700 (lrintf): Call lrint.
47701
47702 2013-10-04 Alan Modra <amodra@gmail.com>
47703
47704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47705 union 32-bit int array member with 64-bit int array.
47706 (t515, tm256): Double rather than long double.
47707 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47708
47709 2013-10-04 Alan Modra <amodra@gmail.com>
47710
47711 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47712 Delete.
47713 (IEEE854_LONG_DOUBLE_BIAS): Delete.
47714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47715 version of math_ldbl.h.
47716
47717 2013-10-04 Alan Modra <amodra@gmail.com>
47718
47719 [BZ #15734], [BZ #15735]
47720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47721 all uses of ieee875 long double macros and unions. Simplify test
47722 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
47723 ldbl_extract_mantissa value for ix,iy exponents. Properly
47724 normalize after ldbl_extract_mantissa, and don't add hidden bit
47725 already handled. Don't treat low word of ieee854 mantissa like
47726 low word of IBM long double and mask off bit when testing for
47727 zero.
47728 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47729 all uses of ieee875 long double macros and unions. Simplify tests
47730 for 0.0L and inf. Correct double adjustment of k. Delete dead code
47731 adjusting ha,hb. Simplify code setting kld. Delete two600 and
47732 two1022, instead use their values. Recognise that tests for large
47733 "a" and small "b" are mutually exclusive. Rename vars. Comment.
47734 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47735 Rewrite all uses of ieee875 long double macros and unions. Simplify
47736 test for 0.0L and nan. Correct negation.
47737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47738 ieee875 long double macros and unions. Correct output for large
47739 magnitude x. Correct absolute value calculation.
47740 (__erfcl): Likewise.
47741 * math/libm-test.inc: Add tests for errors discovered in IBM long
47742 double versions of fmodl, remainderl, erfl and erfcl.
47743
47744 2013-10-04 Alan Modra <amodra@gmail.com>
47745
47746 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47747 all uses of ieee854 long double macros and unions. Simplify tests
47748 for long doubles that are fully specified by the high double.
47749 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47750 Likewise.
47751 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47752 Remove dead code too.
47753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47754 (__ieee754_ynl): Likewise.
47755 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47758 Remove dead code too.
47759 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47760 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47762 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47763 Simplify.
47764 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47765 Simplify.
47766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47767 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47769 Comment on variable precision.
47770 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47771 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47772 Likewise.
47773 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47776 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47777 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47778
47779 2013-10-04 Alan Modra <amodra@gmail.com>
47780
47781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47783 all uses of ieee854 long double macros and unions.
47784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47785 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47786 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47789 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47790 Likewise.
47791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47796 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47797 Simplify sign and nan test too.
47798 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47799 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47800 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47801 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47802 Likewise.
47803 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47804 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47805 Likewise.
47806 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47807 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47808 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47809 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47810 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47812
47813 2013-10-04 Alan Modra <amodra@gmail.com>
47814
47815 * stdio-common/printf_size.c (__printf_size): Don't use
47816 union ieee854_long_double in fpnum union.
47817 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
47818 signbit macro to retrieve sign from long double.
47819 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47820 retrieve sign from long double.
47821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47822 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47823 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47824 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47825 * math/test-misc.c (main): Don't use union ieee854_long_double.
47826
47827 2013-10-04 Alan Modra <amodra@gmail.com>
47828
47829 [BZ #15680]
47830 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47832 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47833 calculation. Remove unnecessary test for denormal exponent.
47834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47835 Correct handling of denormals. Avoid undefined shift behaviour.
47836 Correct normalisation of low mantissa when low double is denormal.
47837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47838 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
47839 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47840 Correct normalisation of low mantissa. Test for overflow of high
47841 mantissa and normalise.
47842 (ldbl_nearbyint): Use more readable constant for two52.
47843 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47844 (__mpn_construct_long_double): Fix test for overflow of high
47845 mantissa and correct normalisation. Avoid undefined shift.
47846
47847 2013-10-04 Alan Modra <amodra@gmail.com>
47848
47849 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47850 (union ibm_extended_long_double): Define as an array of ieee754_double.
47851 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47852 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47853 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47854 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47856 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47857 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47858 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47860 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47861 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47862
47863 2013-10-03 Joseph Myers <joseph@codesourcery.com>
47864
47865 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47866 page size instead of calling getpagesize.
47867
47868 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47869 (LOCFILE_ALIGN_MASK): Likewise.
47870 (LOCFILE_ALIGN_UP): Likewise.
47871 (LOCFILE_ALIGNED_P): Likewise.
47872 * locale/programs/ld-collate.c (collate_output): Use the new
47873 macros instead of __alignof__ (int32_t).
47874 * locale/weight.h (findidx): Likewise.
47875
47876 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
47877
47878 [BZ #431]
47879 * manual/string.texi: Fix strncat and wcsncat.
47880
47881 2013-10-03 Brooks Moses <bmoses@google.com>
47882
47883 [BZ #15915]
47884 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47885 * Makerules: ...here, and adjust associated comments.
47886
47887 2013-10-02 Will Newton <will.newton@linaro.org>
47888
47889 * malloc/Makefile: Add tst-pvalloc.
47890 * malloc/tst-pvalloc.c: New file.
47891
47892 2013-10-02 Will Newton <will.newton@linaro.org>
47893
47894 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47895 improve test coverage.
47896
47897 2013-10-02 Will Newton <will.newton@linaro.org>
47898
47899 * malloc/Makefile: Add tst-posix_memalign.
47900 * malloc/tst-posix_memalign.c: New file.
47901
47902 2013-10-01 Eric Blake <eblake@redhat.com>
47903
47904 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47905 Use __THROWNL rather than __THROW on static functions.
47906
47907 2013-09-30 Petr Machata <pmachata@redhat.com>
47908
47909 * elf/elf.h (R_AARCH64_ABS16): New macro.
47910 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47911 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47912 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47913 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47914 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47915 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47916 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47917 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47918 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47919 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47920 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47921 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47922 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47923 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47924 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47925 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47926 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47927 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47928 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47929 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47930 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47931 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47932 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47933 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47934 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47935 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47936 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47937 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47938 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47939 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47940 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47941 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47942 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47943 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47944 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47945 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47946 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47947 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47948 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47949 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47950 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47951 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47952 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47953 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47954 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47955 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47956 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47957 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47958 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47959 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47960 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47961 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47962 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47963 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47964 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47965 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47966 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47967 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47968 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47969 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47970 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47971 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47972 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47973 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47974 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47975 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47976 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47977 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47978 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47979 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47980 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47981 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47982 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47983 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47984 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47985 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47986 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47987 (R_AARCH64_TLSDESC_LDR): Likewise.
47988 (R_AARCH64_TLSDESC_ADD): Likewise.
47989 (R_AARCH64_TLSDESC_CALL): Likewise.
47990
47991 2013-09-30 Andreas Schwab <schwab@suse.de>
47992
47993 [BZ #15048]
47994 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47995 the nss database lookup.
47996 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47998
47999 2013-09-28 Mike Frysinger <vapier@gentoo.org>
48000
48001 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48002
48003 2013-09-28 P. J. McDermott <pj@pehjota.net>
48004
48005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48006 ${Bash-specific parameter/pattern/string} parameter expansion.
48007 * sysdeps/unix/make-syscalls.sh: Likewise.
48008
48009 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48010
48011 * sysdeps/sh/stackguard-macros.h: New file.
48012
48013 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
48014
48015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48017 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48020 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48021
48022 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48023
48024 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48025 Fix thread ID register.
48026
48027 2013-09-25 Joseph Myers <joseph@codesourcery.com>
48028
48029 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48030 [POSIX || UNIX98]: Require rather than permitting all symbols from
48031 <time.h>.
48032 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48033 element of struct sched_param.
48034 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48035 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48036 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48037 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48038 constant.
48039
48040 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
48041
48042 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48043 argument calculation.
48044
48045 2013-09-24 Joseph Myers <joseph@codesourcery.com>
48046
48047 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48048 Expect macro.
48049 [POSIX] (pthread_attr_t): Do not require type.
48050 [POSIX] (pthread_cond_t): Likewise.
48051 [POSIX] (pthread_condattr_t): Likewise.
48052 [POSIX] (pthread_key_t): Likewise.
48053 [POSIX] (pthread_mutex_t): Likewise.
48054 [POSIX] (pthread_mutexattr_t): Likewise.
48055 [POSIX] (pthread_once_t): Likewise.
48056 [POSIX] (pthread_t): Likewise.
48057 [POSIX-based standards] (pthread_atfork): Expect function.
48058
48059 2013-09-24 Joseph Myers <joseph@codesourcery.com>
48060 Richard Sandiford <richard@codesourcery.com>
48061
48062 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48063 (swap_endianness_p): New extern variable.
48064 (set_big_endian): New inline function.
48065 (maybe_swap_uint32): Likewise.
48066 (maybe_swap_uint32_array): Likewise.
48067 (maybe_swap_uint32_obstack): Likewise.
48068 * locale/programs/locfile.c: Include <stdbool.h>.
48069 (swap_endianness_p): New variable.
48070 (add_locale_uint32): Call maybe_swap_uint32.
48071 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48072 (write_locale_data): Call maybe_swap_uint32_array.
48073 * locale/programs/ld-collate.c (obstack_int32_grow): Call
48074 maybe_swap_uint32.
48075 (obstack_int32_grow_fast): Likewise.
48076 (output_weightwc): Call maybe_swap_uint32_obstack.
48077 (collate_output): Likewise.
48078 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48079 (OPT_LITTLE_ENDIAN): Likewise.
48080 (options): Add --little-endian and --big-endian options.
48081 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48082 * locale/programs/locarchive.c: Include "locfile.h".
48083 (GET): New macro.
48084 (SET): Likewise.
48085 (INC): Likewise.
48086 (create_archive): Use the new macros to access fields of
48087 structures directly mapped from or written to locale archives.
48088 (oldlocrecentcmp): Likewise.
48089 (enlarge_archive): Likewise.
48090 (insert_name): Likewise.
48091 (add_alias): Likewise.
48092 (add_locale): Likewise.
48093 (delete_locales_from_archive): Likewise.
48094 (show_archive_content): Likewise.
48095 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
48096 locale data.
48097
48098 2013-09-24 Roland McGrath <roland@hack.frob.com>
48099
48100 * manual/freemanuals.texi: Updated from (newly) canonical copy at
48101 http://www.gnu.org/doc/freemanuals.texi.
48102 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48103
48104 2013-09-24 Will Newton <will.newton@linaro.org>
48105
48106 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48107 macro.
48108
48109 2013-09-23 Joseph Myers <joseph@codesourcery.com>
48110
48111 * locale/hashval.h (compute_hashval): Interpret bytes of key as
48112 unsigned char.
48113
48114 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
48115
48116 * manual/threads.texi (POSIX Threads): Fix a typo.
48117
48118 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
48119
48120 [BZ #14547]
48121 * string/tst-strcoll-overflow.c: New test case.
48122 * string/Makefile (xtests): Add tst-strcoll-overflow.
48123 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48124 cache if string sizes may cause integer overflow.
48125
48126 [BZ #14547]
48127 * string/strcoll_l.c (coll_seq): New members rule, idx,
48128 save_idx and back_us.
48129 (get_next_seq_nocache): New function.
48130 (do_compare_nocache): New function.
48131 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48132 when malloc fails.
48133
48134 2013-09-23 Carlos O'Donell <carlos@redhat.com>
48135
48136 [BZ #15754]
48137 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48138 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48139 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48140
48141 [BZ #15754]
48142 * elf/Makefile (tests): Add tst-ptrguard1.
48143 (tests-static): Add tst-ptrguard1-static.
48144 (tst-ptrguard1-ARGS): Define.
48145 (tst-ptrguard1-static-ARGS): Define.
48146 * elf/tst-ptrguard1.c: New file.
48147 * elf/tst-ptrguard1-static.c: New file.
48148 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48149 * sysdeps/i386/stackguard-macros.h: Likewise.
48150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48156
48157 2013-09-23 Hector Marco <hecmargi@upv.es>
48158 Ismael Ripoll <iripoll@disca.upv.es>
48159 Carlos O'Donell <carlos@redhat.com>
48160
48161 [BZ #15754]
48162 * sysdeps/generic/stackguard-macros.h: Define
48163 __pointer_chk_guard_local and POINTER_CHK_GUARD.
48164 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48165 Define __pointer_chk_guard_local.
48166 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48167 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48168
48169 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
48170
48171 [BZ #15859]
48172 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48173
48174 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
48175
48176 * include/string.h (__ffs): Declare as hidden.
48177 * string/ffs.c (__ffs): Define as hidden.
48178 * sysdeps/i386/ffs.c (__ffs): Likewise.
48179 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48180 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48181 * sysdeps/s390/ffs.c (__ffs): Likewise.
48182 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48183
48184 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
48185
48186 * NEWS: Mention malloc probes.
48187
48188 * malloc/arena.c (new_heap): New memory_heap_new probe.
48189 (grow_heap): New memory_heap_more probe.
48190 (shrink_heap): New memory_heap_less probe.
48191 (heap_trim): New memory_heap_free probe.
48192 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48193 (systrim): New memory_sbrk_less probe.
48194 * manual/probes.texi: Document them.
48195
48196 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48197 * manual/probes.texi: Document it.
48198
48199 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48200 (__libc_realloc): Add memory_realloc_retry probe.
48201 (__libc_memalign): Add memory_memalign_retry probe.
48202 (__libc_valloc): Add memory_valloc_retry probe.
48203 (__libc_pvalloc): Add memory_pvalloc_retry probe.
48204 (__libc_calloc): Add memory_calloc_retry probe.
48205 * manual/probes.texi: Document them.
48206
48207 * malloc/arena.c (get_free_list): Add probe
48208 memory_arena_reuse_free_list.
48209 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48210 and memory_arena_reuse.
48211 (arena_get2) [!PER_THREAD]: Likewise.
48212 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48213 memory_arena_reuse_realloc.
48214 * manual/probes.texi: Document them.
48215
48216 * malloc/malloc.c (__libc_free): Add
48217 memory_mallopt_free_dyn_thresholds probe.
48218 (__libc_mallopt): Add multiple memory_mallopt probes.
48219 * manual/probes.texi: Document them.
48220
48221 * malloc/malloc.c: Include stap-probe.h.
48222 (__libc_mallopt): Add memory_mallopt probe.
48223 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48224 * manual/probes.texi: New.
48225 * manual/Makefile (chapters): Add probes.
48226 * manual/threads.texi: Set next node.
48227
48228 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
48229
48230 [BZ #15963, #13985]
48231 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48232 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48233 Add `Chinese' to `nan' entry name.
48234
48235 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
48236
48237 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48238 (POLYNOMIAL): Likewise.
48239 (TAYLOR_SINCOS): Likewise.
48240 (TAYLOR_SLOW): Likewise.
48241 (__sin): Use TAYLOR_SINCOS.
48242 (__cos): Likewise.
48243 (slow): Use TAYLOR_SLOW.
48244 (sloww): Likewise.
48245 (bsloww): Likewise.
48246 (csloww): Likewise.
48247
48248 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48249
48250 * stdlib/strtod_l.c: Fix buffer overrun.
48251
48252 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
48253
48254 * benchtests/Makefile (bench): Add sincos.
48255 * benchtests/bench-sincos.c: New file.
48256
48257 * math/libm-test.inc (cos_test_data): New test inputs.
48258 (sin_test_data): Likewise.
48259
48260 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48261 macro.
48262 (__sin): Use it.
48263 (__cos): Likewise.
48264 (slow1): Likewise.
48265 (slow2): Likewise.
48266 (sloww1): Likewise.
48267 (sloww2): Likewise.
48268 (bsloww1): Likewise.
48269 (bsloww2): Likewise.
48270 (cslow2): Likewise.
48271 (csloww1): Likewise.
48272 (csloww2): Likewise.
48273
48274 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48275 function.
48276 (__sin): Use it.
48277 (__cos): Likewise.
48278
48279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48280 gotos.
48281 (__cos): Likewise.
48282
48283 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
48284
48285 * config.h.in (HAVE_MIPS_NAN2008): New macro.
48286 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48287 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48288 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48289 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48290 * elf/cache.c (print_entry): Handle the new cache flags.
48291
48292 2013-09-18 Joseph Myers <joseph@codesourcery.com>
48293 Aldy Hernandez <aldyh@redhat.com>
48294
48295 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48296 Change condition to [_SOFT_FLOAT].
48297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48304 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48309 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48312 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48313 declaration.
48314
48315 2013-09-18 Joseph Myers <joseph@codesourcery.com>
48316
48317 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48318 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48319 (__longjmp): Use LOAD_GP to load saved GPRs.
48320 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48321 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48322 (__sigsetjmp): Use SAVE_GP to save GPRs.
48323
48324 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48325 Do not append -msoft-float.
48326 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48327
48328 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
48329
48330 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48331
48332 2013-09-17 Joseph Myers <joseph@codesourcery.com>
48333
48334 [BZ #15966]
48335 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48336 (_FPU_GETCW): Use initial "__" on variable and field names but not
48337 on macro parameter name.
48338 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
48339 parentheses around reference to macro parameter.
48340
48341 2013-09-13 Richard Sandiford <richard@codesourcery.com>
48342
48343 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48344 prototype.
48345 (ctype_startup): Use uint32_t in cast and sizeof for
48346 ctype->charnames.
48347
48348 2013-09-11 Jia Liu <proljc@gmail.com>
48349
48350 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48351 __daddr_t_defined.
48352 [__FreeBSD__]: Likewise.
48353
48354 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
48355
48356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48357 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48358 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48359 (strchr): Remove __strchr_sse42 ifunc selection.
48360 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48361 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48362
48363 2013-09-11 Will Newton <will.newton@linaro.org>
48364
48365 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48366 parameter to RES. Remove hardcoded 1000 value.
48367 * benchtests/bench-skeleton.c (main): Pass RES parameter
48368 to TIMING_INIT and multiply result by 1000.
48369
48370 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48371
48372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48373
48374 2013-09-11 Andreas Schwab <schwab@suse.de>
48375
48376 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48377 if not defined.
48378 (O_TMPFILE) [__USE_GNU]: Define.
48379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48380 Define.
48381
48382 2013-09-11 Will Newton <will.newton@linaro.org>
48383
48384 [BZ #15857]
48385 * malloc/malloc.c (__libc_memalign): Check the value of bytes
48386 does not overflow.
48387
48388 2013-09-11 Will Newton <will.newton@linaro.org>
48389
48390 [BZ #15856]
48391 * malloc/malloc.c (__libc_valloc): Check the value of bytes
48392 does not overflow.
48393
48394 2013-09-11 Will Newton <will.newton@linaro.org>
48395
48396 [BZ #15855]
48397 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48398 does not overflow.
48399
48400 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
48401
48402 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48403 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48407
48408 2013-09-10 Allan McRae <allan@archlinux.org>
48409
48410 [BZ #15748]
48411 * manual/arith.texi (Parsing of Floats): Clarify
48412 cross-reference.
48413
48414 [BZ #15849]
48415 * manual/install.texi (Running make install): Mention
48416 --enable-pt-chown.
48417 * INSTALL: Regenerated.
48418
48419 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
48420
48421 * csu/init-first.c (_init): Remove the !SHARED condition around
48422 FPU control word initialization.
48423 * elf/dl-support.c (_dl_fpu_control): New variable.
48424 (_dl_aux_init) <AT_FPUCW>: Initialize it.
48425 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48426 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48427 * math/test-fpucw-static.c: New file.
48428 * math/test-fpucw-ieee.c: New file.
48429 * math/test-fpucw-ieee-static.c: New file.
48430 * math/Makefile (tests): Add `test-fpucw-ieee' and
48431 `$(tests-static)'.
48432 (tests-static): New variable.
48433 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48434 dependency to...
48435 [($(build-shared),yes)]
48436 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48437 ... this.
48438 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48439 New dependency.
48440
48441 2013-09-09 Allan McRae <allan@archlinux.org>
48442
48443 [BZ #15939]
48444 * manual/string.texi (Collation Functions): Fix typo in
48445 strcoll example.
48446 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48447
48448 [BZ #15893]
48449 * stdlib/isomac.c (get_null_defines): Fix memory leak.
48450
48451 [BZ #15892]
48452 * libio/memstream.c (open_memstream): Fix memory leak.
48453 * libio/wmemstream.c (open_wmemstream): Likewise.
48454
48455 [BZ #15895]
48456 * nscd/netgroupcache.c: Fix nesting of ifdefs.
48457
48458 2013-09-09 Will Newton <will.newton@linaro.org>
48459
48460 * malloc/Makefile: Add tst-realloc to tests.
48461 * malloc/tst-realloc.c: New file.
48462
48463 2013-09-09 Allan McRae <allan@archlinux.org>
48464
48465 [BZ #15844]
48466 * COPYING: Update from GNU website to fix FSF address.
48467 * COPYING.LIB: Likewise.
48468
48469 2013-09-06 David S. Miller <davem@davemloft.net>
48470
48471 * po/zh_TW.po: Update Chinese (traditional) translation from
48472 translation project.
48473
48474 2013-09-06 Richard Sandiford <richard@codesourcery.com>
48475 Joseph Myers <joseph@codesourcery.com>
48476
48477 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48478 "localeinfo.h".
48479 (obstack_chunk_alloc): New macro.
48480 (obstack_chunk_free): Likewise.
48481 (record_offset): New function.
48482 (init_locale_data): Likewise.
48483 (align_locale_data): Likewise.
48484 (add_locale_empty): Likewise.
48485 (add_locale_raw_data): Likewise.
48486 (add_locale_raw_obstack): Likewise.
48487 (add_locale_string): Likewise.
48488 (add_locale_wstring): Likewise.
48489 (add_locale_uint32): Likewise.
48490 (add_locale_uint32_array): Likewise.
48491 (add_locale_char): Likewise.
48492 (start_locale_structure): Likewise.
48493 (end_locale_structure): Likewise.
48494 (start_locale_prelude): Likewise.
48495 (end_locale_prelude): Likewise.
48496 (write_locale_data): Take locale_file structure rather than an
48497 iovec.
48498 * locale/programs/locfile.h: Include "obstack.h".
48499 (struct locale_file): Change to store locale file contents instead
48500 of header.
48501 (init_locale_data): New prototype.
48502 (align_locale_data): Likewise.
48503 (add_locale_empty): Likewise.
48504 (add_locale_raw_data): Likewise.
48505 (add_locale_raw_obstack): Likewise.
48506 (add_locale_string): Likewise.
48507 (add_locale_wstring): Likewise.
48508 (add_locale_uint32): Likewise.
48509 (add_locale_uint32_array): Likewise.
48510 (add_locale_char): Likewise.
48511 (start_locale_structure): Likewise.
48512 (end_locale_structure): Likewise.
48513 (start_locale_prelude): Likewise.
48514 (end_locale_prelude): Likewise.
48515 (write_locale_data): Update prototype.
48516 * locale/programs/3level.h (struct TABLE): Remove result field.
48517 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48518 Use new locale_file interface.
48519 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48520 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48521 * locale/programs/ld-address.c (address_output): Use new
48522 locale_file interface.
48523 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48524 NO_ADD_LOCALE.
48525 (collate_finish): Don't call collseq_table_finalize.
48526 (collate_output): Use new locale_file interface.
48527 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48528 in file.
48529 (NO_FINALIZE): Change to NO_ADD_LOCALE.
48530 (TABLE): Move defines earlier in file.
48531 (ELEMENT): Likewise.
48532 (DEFAULT): Likewise.
48533 (wctrans_table_add): Move macro and inline function earlier in
48534 file.
48535 (struct wctype_table): Move type earlier in file.
48536 (add_locale_wctype_table): New static prototype.
48537 (struct locale_ctype_t): Use logical types instead of struct iovec
48538 pointers for members.
48539 (ctype_output): Use new locale_file interface.
48540 (wctype_table_finalize): Change to add_locale_wctype_table. Use
48541 new locale_file interface.
48542 (allocate_arrays): Update for use of new locale_file interface.
48543 * locale/programs/ld-identification.c (identification_output): Use
48544 new locale_file interface.
48545 * locale/programs/ld-measurement.c (measurement_output): Likewise.
48546 * locale/programs/ld-messages.c (messages_output): Likewise.
48547 * locale/programs/ld-monetary.c (monetary_output): Likewise.
48548 * locale/programs/ld-name.c (name_output): Likewise.
48549 * locale/programs/ld-numeric.c (numeric_output): Likewise.
48550 * locale/programs/ld-paper.c (paper_output): Likewise.
48551 * locale/programs/ld-telephone.c (telephone_output): Likewise.
48552 * locale/programs/ld-time.c (time_output): Likewise.
48553
48554 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48555
48556 * benchtests/Makefile: Add memrchr benchmark.
48557 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48558 benchmark as memrchr.
48559 * benchtests/bench-memrchr-ifunc.c: New file.
48560 * benchtests/bench-memrchr.c: New file.
48561
48562 2013-09-06 Will Newton <will.newton@linaro.org>
48563
48564 * benchtests/Makefile (string-bench): Add memcpy.
48565
48566 2013-09-05 Carlos O'Donell <carlos@redhat.com>
48567 Cong Wang <amwang@redhat.com>
48568
48569 [BZ #15850]
48570 * sysdeps/unix/sysv/linux/bits/in.h
48571 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48572 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48573 before __USE_KERNEL_IPV6_DEFS uses.
48574 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48575 IPPROTO_BEETPH.
48576 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48577 sockaddr_in6, or ipv6_mreq.
48578
48579 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48580
48581 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48582 memory access for final bytes in some large inputs.
48583 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48584
48585 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48586
48587 * string/test-memrchr.c: New file.
48588 * string/test-memrchr-ifunc.c: New file.
48589 * string/Makefile: Add new memrchr testcase.
48590
48591 2013-09-05 Mike Frysinger <vapier@gentoo.org>
48592
48593 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48594 fanotify_init returns EPERM.
48595
48596 2013-09-04 Joseph Myers <joseph@codesourcery.com>
48597
48598 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48599 errors.
48600 (top level): Treat second token from macro or constant entries for
48601 allowed headers as allowed.
48602 * include/complex.h: Condition internal declarations on
48603 [!_ISOMAC].
48604 * include/fenv.h: Condition include of <stdbool.h> and internal
48605 declarations on [!_ISOMAC].
48606
48607 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
48608
48609 [BZ #15923]
48610 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48611
48612 2013-09-04 Joseph Myers <joseph@codesourcery.com>
48613
48614 * configure.in (--enable-versioning): Remove configure option.
48615 (libc_cv_asm_symver_directive): Remove configure test.
48616 (libc_cv_ld_version_script_option): Likewise.
48617 (VERSIONING): Remove variable and AC_SUBST.
48618 (DO_VERSIONING): Remove AC_DEFINE.
48619 * configure: Regenerated.
48620 * config.h.in (DO_VERSIONING): Remove macro.
48621 * Makerules [$(versioning) = yes]: Change conditionals to
48622 [$(build-shared) = yes].
48623 * config.make.in (versioning): Remove variable.
48624 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48625 [$(build-shared) = yes].
48626 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48627 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48628 * elf/Makefile [$(versioning) = yes]: Change conditionals to
48629 [$(build-shared) = yes].
48630 * extra-lib.mk [$(versioning) = yes]: Likewise.
48631 * hurd/Makefile [$(versioning) = yes]: Likewise.
48632 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48633 [SHARED].
48634 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48635 [SHARED].
48636 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48637 [SHARED && !NO_HIDDEN].
48638 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48639 [SHARED].
48640 [SHARED && DO_VERSIONING]: Likewise..
48641 * libio/Makefile [$(versioning) = yes]: Change conditionals to
48642 [$(build-shared) = yes].
48643 * manual/install.texi (--disable-versioning): Remove
48644 documentation.
48645 * INSTALL: Regenerated.
48646 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48647 to [SHARED].
48648 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48649 [$(build-shared) = yes].
48650 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48651 * sysdeps/i386/i686/multiarch/strstr-c.c
48652 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48653 [SHARED && !NO_HIDDEN].
48654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48655 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48656 * sysdeps/powerpc/powerpc32/dl-machine.c
48657 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48658 * sysdeps/powerpc/powerpc32/sysdep.h
48659 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48660 to [SHARED && PIC && !NO_HIDDEN].
48661 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48662 conditional to [SHARED].
48663
48664 2013-09-04 Will Newton <will.newton@linaro.org>
48665
48666 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48667 * benchtests/bench-string.h: Include bench-timing.h instead
48668 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48669 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48670 call to HP_TIMING_DIFF_INIT.
48671 * benchtests/bench-memccpy.c: Use bench-timing.h macros
48672 instead of hp-timing.h macros.
48673 * benchtests/bench-memchr.c: Likewise.
48674 * benchtests/bench-memcmp.c: Likewise.
48675 * benchtests/bench-memcpy.c: Likewise.
48676 * benchtests/bench-memmem.c: Likewise.
48677 * benchtests/bench-memmove.c: Likewise.
48678 * benchtests/bench-memset.c: Likewise.
48679 * benchtests/bench-rawmemchr.c: Likewise.
48680 * benchtests/bench-strcasecmp.c: Likewise.
48681 * benchtests/bench-strcasestr.c: Likewise.
48682 * benchtests/bench-strcat.c: Likewise.
48683 * benchtests/bench-strchr.c: Likewise.
48684 * benchtests/bench-strcmp.c: Likewise.
48685 * benchtests/bench-strcpy.c: Likewise.
48686 * benchtests/bench-strcpy_chk.c: Likewise.
48687 * benchtests/bench-strlen.c: Likewise.
48688 * benchtests/bench-strncasecmp.c: Likewise.
48689 * benchtests/bench-strncat.c: Likewise.
48690 * benchtests/bench-strncmp.c: Likewise.
48691 * benchtests/bench-strncpy.c: Likewise.
48692 * benchtests/bench-strnlen.c: Likewise.
48693 * benchtests/bench-strpbrk.c: Likewise.
48694 * benchtests/bench-strrchr.c: Likewise.
48695 * benchtests/bench-strspn.c: Likewise.
48696 * benchtests/bench-strstr.c: Likewise.
48697
48698 2013-09-04 Will Newton <will.newton@linaro.org>
48699
48700 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48701
48702 2013-09-03 Joseph Myers <joseph@codesourcery.com>
48703
48704 [BZ #15427]
48705 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48706 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48707 * math/libm-test.inc (lgamma_test_data): Add more tests.
48708 * sysdeps/i386/fpu/libm-test-ulps: Update.
48709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48710
48711 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
48712
48713 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48715 Add ifunc.
48716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48717 Add strcmp-sse2-unaligned
48718 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48719
48720 2013-09-02 Mike Frysinger <vapier@gentoo.org>
48721
48722 * Versions.def (libc): Add GLIBC_2.19.
48723
48724 2013-09-02 Mike Frysinger <vapier@gentoo.org>
48725
48726 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48727 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48728
48729 2013-09-02 Joseph Myers <joseph@codesourcery.com>
48730
48731 [BZ #14155]
48732 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48733 intermediate calculations in recurrence.
48734 (__ieee754_ynf): Likewise.
48735 * math/libm-test.inc (jn_test_data): Do not allow spurious
48736 underflow exception. Add more tests.
48737 (yn_test_data): Add more tests.
48738 * sysdeps/i386/fpu/libm-test-ulps: Update.
48739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48740
48741 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
48742
48743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48744
48745 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
48746
48747 * csu/init-first.c: Fix then/than typos.
48748 * locale/programs/ld-collate.c: Likewise.
48749 * locale/programs/linereader.h: Likewise.
48750 * manual/charset.texi: Likewise.
48751 * manual/filesys.texi: Likewise.
48752 * manual/stdio.texi: Likewise.
48753 * manual/string.texi: Likewise.
48754 * stdlib/fmtmsg.c: Likewise.
48755 * sysdeps/i386/stpncpy.S: Likewise.
48756 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48757 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48758 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48759 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48760
48761 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
48762
48763 * elf/dl-open.c: Fix typos.
48764 * iconvdata/gbbig5.c: Likewise.
48765 * iconvdata/iso-2022-jp.c: Likewise.
48766 * iconv/gconv_int.h: Likewise.
48767 * iconv/loop.c: Likewise.
48768 * nis/rpcsvc/nis.h: Likewise.
48769 * resolv/ns_name.c: Likewise.
48770 * stdio-common/vfscanf.c: Likewise.
48771 * streams/stropts.h: Likewise.
48772 * sunrpc/rpc_thread.c: Likewise.
48773 * sysdeps/i386/strpbrk.S: Likewise.
48774 * sysdeps/ieee754/k_standard.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48777 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48778 * sysdeps/mach/hurd/profil.c: Likewise.
48779 * sysdeps/s390/dl-procinfo.h: Likewise.
48780 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48781 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48782 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48783 * sysdeps/x86_64/dl-trampoline.S: Likewise.
48784 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48785
48786 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
48787
48788 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48790
48791 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
48792
48793 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48794 aix specific files.
48795 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48796 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48797 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48798 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48799 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48800 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48801 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48802 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48803
48804 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
48805 Roland McGrath <roland@hack.frob.com>
48806
48807 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48808 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48809
48810 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
48811
48812 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48813 __executable_start symbol instead of _start.
48814
48815 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
48816
48817 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48818 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48819 Move macros to...
48820 * sysdeps/gnu/ldsodefs.h: ... this new file.
48821
48822 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48823 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48824 instead of ELFOSABI_LINUX.
48825
48826 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48827 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48828 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48829 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48830 Likewise.
48831 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48832 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48833 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48834 Likewise.
48835 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48836 (ibm_extended_long_double): Add ieee_nan member.
48837 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48838 (do_test): New function.
48839
48840 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48841 TEST_TRUNC.
48842 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48843 functions, renamed from truncdfsf_test, trunctfsf_test,
48844 trunctfdf_test.
48845 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48846 functions.
48847 (do_test): Run all these.
48848
48849 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
48850
48851 * argp/argp-help.c: Fix typos.
48852 * argp/argp-parse.c: Likewise.
48853 * debug/backtracesyms.c: Likewise.
48854 * elf/elf.h: Likewise.
48855 * malloc/malloc.c: Likewise.
48856 * nis/nis_print.c: Likewise.
48857 * resolv/res_comp.c: Likewise.
48858 * stdlib/stdlib.h: Likewise.
48859 * sunrpc/clnt_tcp.c: Likewise.
48860 * sunrpc/clnt_udp.c: Likewise.
48861 * sunrpc/clnt_unix.c: Likewise.
48862 * sysdeps/unix/bsd/ptsname.c: Likewise.
48863 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48864 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48866 Likewise.
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48868 Likewise.
48869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48870 Likewise.
48871 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48872
48873 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48874
48875 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48877
48878 2013-08-27 Mike Frysinger <vapier@gentoo.org>
48879
48880 [BZ #15897]
48881 * dlfcn/Makefile (tests): Add bug-dl-leaf.
48882 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48883 ($(objpfx)bug-dl-leaf): New rule.
48884 ($(objpfx)bug-dl-leaf.so): Likewise.
48885 ($(objpfx)bug-dl-leaf.out): Likewise.
48886 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48887 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48888 * dlfcn/bug-dl-leaf.c: New test.
48889 * dlfcn/bug-dl-leaf-lib.c: Likewise.
48890 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48891 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48892 (dlclose): Likewise.
48893 (dlmopen): Likewise.
48894
48895 2013-08-27 Roland McGrath <roland@hack.frob.com>
48896
48897 * include/netdb.h [!_ISOMAC]:
48898 Don't include <tls.h>.
48899 (h_errno, __libc_h_errno): Move declaration and macros out of
48900 [_LIBC_REENTRANT].
48901
48902 * include/resolv.h [_RESOLV_H_]:
48903 Don't include <tls.h>.
48904 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48905 * resolv/res_libc.c: Don't include <tls.h>.
48906 (_res): Use __attribute__ ((nocommon)) in place of
48907 __attribute__ ((section (".bss"))).
48908
48909 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48910 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48911
48912 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48913
48914 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48915 only under [SIOCGIFCONF && SIOCGIFNETMASK].
48916
48917 * resolv/res_mkquery.c: Include <sys/time.h>.
48918
48919 * inet/ifreq.c: Moved to ...
48920 * sysdeps/unix/ifreq.c: ... here.
48921 * inet/ifreq.c: New file, true stub version.
48922
48923 * socket/sa_len.c: New file.
48924 * socket/Makefile (aux): Add it.
48925 * sysdeps/unix/sysv/linux/Makefile
48926 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48927 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48928 and #include <socket/sa_len.c>.
48929 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48930 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48931
48932 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48933 * bits/socket.h: ... here.
48934
48935 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48936 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48937 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48938
48939 2013-08-27 Andreas Schwab <schwab@suse.de>
48940
48941 [BZ #15736]
48942 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48943 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48944 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48945 * string/test-strcasecmp.c (test_main): Run tests in several
48946 locales.
48947 * string/test-strncasecmp.c (test_main): Likewise.
48948
48949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48950 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48951 to __strcasecmp_nonascii and __strncasecmp_nonascii.
48952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48953 (__strncasecmp_ssse3) [PIC]: Likewise.
48954
48955 2013-08-26 Roland McGrath <roland@hack.frob.com>
48956
48957 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48958
48959 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48960 instead of explicitly declaring xdecrypt.
48961 * nis/nss_nis/nis-publickey.c: Likewise.
48962
48963 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48964
48965 [BZ #15890]
48966 * nscd/aicache.c: Include res_hconf.h.
48967 (addhstaiX): Initialize res_hconf.
48968
48969 2013-08-26 Andreas Schwab <schwab@suse.de>
48970
48971 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48972 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48973
48974 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48975
48976 * nscd/aicache.c (addhstaiX): Fix indentation.
48977
48978 2013-08-25 Mike Frysinger <vapier@gentoo.org>
48979
48980 * configure.ac: Quote $build_pt_chown test.
48981 * configure: Regenerated.
48982
48983 2013-08-23 Joseph Myers <joseph@codesourcery.com>
48984
48985 [BZ #15532]
48986 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48987 * math/s_cexpf.c (__cexpf): Likewise.
48988 * math/s_cexpl.c (__cexpl): Likewise.
48989 * math/libm-test.inc (cexp_test_data): Correct expected return
48990 value for NaN + i0. Add another test.
48991
48992 2013-08-22 David S. Miller <davem@davemloft.net>
48993
48994 * po/ca.po: Update Catalan translation from translation project.
48995 * po/uk.po: Add Ukrainian translations from translation project.
48996
48997 2013-08-21 Joseph Myers <joseph@codesourcery.com>
48998
48999 [BZ #15797]
49000 * math/s_fdim.c (__fdim): Check for infinite arguments if result
49001 is infinite, not alongside NaN test.
49002 * math/s_fdimf.c (__fdimf): Likewise.
49003 * math/s_fdiml.c (__fdiml): Likewise.
49004 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
49005 errno is unchanged.
49006
49007 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
49008
49009 * argp/argp-help.c: Fix typos.
49010 * crypt/speeds.c: Likewise.
49011 * csu/check_fds.c: Likewise.
49012 * elf/dl-load.c: Likewise.
49013 * elf/dl-open.c: Likewise.
49014 * elf/reldep3.c: Likewise.
49015 * elf/reldep.c: Likewise.
49016 * elf/sprof.c: Likewise.
49017 * iconv/iconv_charmap.c: Likewise.
49018 * iconv/skeleton.c: Likewise.
49019 * iconv/strtab.c: Likewise.
49020 * io/lockf64.c: Likewise.
49021 * libio/libioP.h: Likewise.
49022 * resolv/gai_notify.c: Likewise.
49023 * resolv/ns_name.c: Likewise.
49024 * resolv/ns_samedomain.c: Likewise.
49025 * resolv/res_send.c: Likewise.
49026 * stdlib/random.c: Likewise.
49027 * sunrpc/rpc/xdr.h: Likewise.
49028 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49029 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49030 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49031 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49036 * sysdeps/mach/hurd/check_fds.c: Likewise.
49037 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49038 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49040 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49041 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49043 * sysdeps/pthread/aio_notify.c: Likewise.
49044 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49045 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49046 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49048 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49049
49050 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49051
49052 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49053 version if bit_Slow_SSE4_2 is set.
49054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49056
49057 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49058
49059 [BZ #15867]
49060 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49061 trampoline stack frame information.
49062 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49063 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49064 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49065 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49066 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49067 * sysdeps/unix/sysv/linux/powerpc/init-first.c
49068 (_libc_vdso_platform_setup): Initialize the signal trampolines.
49069 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49070 sa_flags value.
49071 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49072 interrupting a syscall and set with option SA_SIGINFO.
49073
49074 2013-08-20 Joseph Myers <joseph@codesourcery.com>
49075
49076 [BZ #15531]
49077 * math/s_cproj.c (__cproj): Only return an infinity if one part of
49078 argument is infinite.
49079 * math/s_cprojf.c (__cprojf): Likewise.
49080 * math/s_cprojl.c (__cprojl): Likewise.
49081 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49082 * math/libm-test.inc (cproj_test_data): Add more tests.
49083
49084 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49085
49086 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49087 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49088 size. Use __ffs to determine corresponding shift.
49089
49090 2013-08-20 Joseph Myers <joseph@codesourcery.com>
49091 Roland McGrath <roland@hack.frob.com>
49092
49093 * Makefile (INSTALL): Remove trailing blank lines from output of
49094 makeinfo.
49095
49096 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49097
49098 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49099 Align 32 bit compat elf_greg to 8 bytes.
49100
49101 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
49102
49103 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49104
49105 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49106
49107 * string/strcoll_l.c (coll_seq): New structure.
49108 (get_next_seq_cached): New function.
49109 (get_next_seq): New function.
49110 (do_compare): New function.
49111 (STRCOLL): Use GNU style definition. Simplify implementation
49112 by using get_next_seq, get_next_seq_cached and do_compare.
49113
49114 2013-08-16 Florian Weimer <fweimer@redhat.com>
49115
49116 [BZ #14699]
49117 CVE-2013-4237
49118 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49119 member.
49120 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49121 member.
49122 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49123 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49124 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
49125 conditional.
49126 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49127 GETDENTS_64BIT_ALIGNED.
49128 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49129 * manual/filesys.texi (Reading/Closing Directory): Document
49130 ENAMETOOLONG return value of readdir_r. Recommend readdir more
49131 strongly.
49132 * manual/conf.texi (Limits for Files): Add portability note to
49133 NAME_MAX, PATH_MAX.
49134 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49135
49136 2013-08-13 Andreas Schwab <schwab@suse.de>
49137
49138 [BZ #15749]
49139 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49140 of fabs.
49141 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49142 LDBL_MAX_EXP >= 16384]: Add tests for it.
49143
49144 2013-08-12 David S. Miller <davem@davemloft.net>
49145
49146 * version.h (RELEASE): Set to "development".
49147 (VERSION): Set to "2.18.90".
49148 * NEWS: Add 2.19 section.
49149
49150 2013-08-03 David S. Miller <davem@davemloft.net>
49151
49152 * po/ko.po: Update Korean translation from translation project.
49153
49154 2013-08-01 David S. Miller <davem@davemloft.net>
49155
49156 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
49157 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49158 Bilka.
49159
49160 2013-07-30 David S. Miller <davem@davemloft.net>
49161
49162 * po/fr.po: Update French translation from translation project.
49163
49164 2013-07-28 David S. Miller <davem@davemloft.net>
49165
49166 * po/cs.po: Update Czech translation from translation project.
49167
49168 * po/sv.po: Update Swedish translation from translation project.
49169
49170 2013-07-27 David S. Miller <davem@davemloft.net>
49171
49172 * po/eo.po: Update Esperanto translation from translation project.
49173
49174 * po/vi.po: Update Vietnamese translation from translation project.
49175
49176 * po/de.po: Update German translation from translation project.
49177
49178 2013-07-26 David S. Miller <davem@davemloft.net>
49179
49180 * po/bg.po: Update Bulgarian translation from translation project.
49181
49182 * po/nl.po: Update Dutch translation from translation project.
49183 * po/pl.po: Update Polish translation from translation project.
49184 * po/ru.po: Update Russian translation from translation project.
49185
49186 2013-07-24 David S. Miller <davem@davemloft.net>
49187
49188 * po/libc.pot: Update.
49189
49190 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49191
49192 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49193 variable page size.
49194 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49195 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49196 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49197
49198 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49199
49200 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49201
49202 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
49203 Andreas Schwab <schwab@suse.de>
49204 Roland McGrath <roland@hack.frob.com>
49205 Joseph Myers <joseph@codesourcery.com>
49206 Carlos O'Donell <carlos@redhat.com>
49207
49208 [BZ #15755]
49209 * config.h.in: Define HAVE_PT_CHOWN.
49210 * config.make.in (build-pt-chown): New variable.
49211 * configure.in (--enable-pt_chown): New configure option.
49212 * configure: Regenerate.
49213 * login/Makefile: Include Makeconfig. Build pt_chown only if
49214 build-pt-chown is enabled.
49215 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49216 pt_chown to fix pty ownership.
49217 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49218 CLOSE_ALL_FDS.
49219 * manual/install.texi (Configuring and compiling): Mention
49220 --enable-pt_chown. Add @findex for grantpt.
49221 * INSTALL: Regenerate.
49222
49223 2013-07-20 David S. Miller <davem@davemloft.net>
49224
49225 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49226 difference between 32-bit and 64-bit.
49227
49228 2013-07-15 Carlos O'Donell <carlos@redhat.com>
49229
49230 [BZ #15711]
49231 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49232 Avoid system header dependency with -ffreestanding.
49233 ($(objpfx)bits/syscall%d): Likewise.
49234
49235 2013-07-13 David S. Miller <davem@davemloft.net>
49236
49237 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49238 underflows from atanl/atan2l due to bug 15319.
49239 (casinh_test_data): Likewise.
49240
49241 2013-07-07 David S. Miller <davem@davemloft.net>
49242
49243 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49244
49245 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
49246
49247 * sysdeps/i386/fpu/libm-test-ulps: Update.
49248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49249
49250 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49251
49252 * configure.in (--enable-lock-elision): Fix message text.
49253 * INSTALL: Regenerate.
49254 * configure: Regenerate.
49255
49256 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49257
49258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49259
49260 2013-07-03 Andreas Jaeger <aj@suse.de>
49261
49262 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49263 define.
49264 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49265 (ptrace_peeksiginfo_args): Add.
49266 (__ptrace_peeksiginfo_flags): Add.
49267 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49268 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49270
49271 2013-07-03 Allan McRae <allan@archlinux.org>
49272
49273 * sysdeps/i386/fpu/libm-test-ulps: Update.
49274
49275 2013-07-02 David S. Miller <davem@davemloft.net>
49276
49277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49278
49279 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
49280
49281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49282
49283 2013-07-02 Joseph Myers <joseph@codesourcery.com>
49284
49285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49287
49288 2013-07-02 Andi Kleen <ak@linux.intel.com>
49289
49290 * config.h.in (ENABLE_LOCK_ELISION): Add.
49291 * configure.in (--enable-lock-elision): Add option.
49292 * manual/install.texi: Document --enable lock elision.
49293 * configure: Regenerate
49294 * INSTALL: Regenerate.
49295
49296 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
49297
49298 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49299 SSE4.2 strcasecmp for libc.a.
49300 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49301
49302 2013-07-02 Joseph Myers <joseph@codesourcery.com>
49303
49304 [BZ #13304]
49305 * soft-fp/op-common.h (_FP_FMA): New macro.
49306 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49307 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
49308 (_FP_MUL_MEAT_1_imm): ... here.
49309 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
49310 (_FP_MUL_MEAT_1_wide): ... here.
49311 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
49312 (_FP_MUL_MEAT_1_hard): ... here.
49313 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49314 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
49315 (_FP_MUL_MEAT_2_wide): ... here.
49316 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
49317 (_FP_MUL_MEAT_2_wide_3mul): ... here.
49318 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
49319 (_FP_MUL_MEAT_2_gmp): ... here.
49320 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49321 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
49322 (_FP_MUL_MEAT_4_wide): ... here.
49323 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
49324 (_FP_MUL_MEAT_4_gmp): ... here.
49325 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49326 (_FP_WFRACBITS_DW_S): Likewise.
49327 (_FP_WFRACXBITS_DW_S): Likewise.
49328 (_FP_HIGHBIT_DW_S): Likewise.
49329 (FP_FMA_S): Likewise.
49330 (_FP_FRAC_HIGH_DW_S): Likewise.
49331 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49332 (_FP_WFRACBITS_DW_D): Likewise.
49333 (_FP_WFRACXBITS_DW_D): Likewise.
49334 (_FP_HIGHBIT_DW_D): Likewise.
49335 (FP_FMA_D): Likewise.
49336 (_FP_FRAC_HIGH_DW_D): Likewise.
49337 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49338 (_FP_WFRACBITS_DW_E): Likewise.
49339 (_FP_WFRACXBITS_DW_E): Likewise.
49340 (_FP_HIGHBIT_DW_E): Likewise.
49341 (FP_FMA_E): Likewise.
49342 (_FP_FRAC_HIGH_DW_E): Likewise.
49343 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49344 (_FP_WFRACBITS_DW_Q): Likewise.
49345 (_FP_WFRACXBITS_DW_Q): Likewise.
49346 (_FP_HIGHBIT_DW_Q): Likewise.
49347 (FP_FMA_Q): Likewise.
49348 (_FP_FRAC_HIGH_DW_Q): Likewise.
49349 * soft-fp/fmasf4.c: New file.
49350 * soft-fp/fmadf4.c: Likewise.
49351 * soft-fp/fmatf4.c: Likewise.
49352
49353 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49354
49355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49356 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49357 Silvermont.
49358 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49359 macro.
49360 (index_Slow_SSE4_2): Likewise.
49361 (index_Prefer_PMINUB_for_stringop): Likewise.
49362 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49363 bit_Slow_SSE4_2 is set.
49364 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49365 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49366
49367 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49368
49369 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49370 rtld_global._dl_hwcap2.
49371 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49372 POWER8.
49373 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49374 POWER8 feature descriptions defined in _dl_hwcap2.
49375 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49376 string handling for POWER8 feature bits.
49377 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49378 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49379 _dl_powerpc_cap_flags.
49380 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49381 * sysdeps/powerpc/rtld-global-offsets.sym
49382 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49383 _dl_hwcap2 in the rtld_global_ro structure.
49384
49385 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49386
49387 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49388 hardware capabilities in support of AT_HWCAP2.
49389 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49390 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49391 GLRO(dl_hwcap2).
49392 (_dl_show_auxv): Add support for calling _dl_procinfo to display
49393 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
49394 explicitly the unknown a_type display mechanism is used.
49395 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49396 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49397 struct member.
49398 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49399 to macro prototype for AT_HWCAP2 support.
49400 * sysdeps/i386/dl-procinfo.h: Likewise.
49401 * sysdeps/s390/dl-procinfo.h: Likewise.
49402 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49403 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
49404 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
49405 return -1 for unknown a_type display fallback.
49406 * sysdeps/sparc/dl-procinfo.h: Likewise.
49407 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49408 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49409
49410 2013-06-28 Joseph Myers <joseph@codesourcery.com>
49411
49412 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49413 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49414
49415 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
49416
49417 [BZ #12492]
49418 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49419 mprotect making __stack_prot writable.
49420
49421 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
49422 Joseph Myers <joseph@codesourcery.com>
49423
49424 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49425 as being properly aligned.
49426
49427 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
49428
49429 * dlfcn/modstatic5.c: New file.
49430 * dlfcn/tststatic5.c: New file.
49431 * dlfcn/Makefile (tests): Add tststatic5.
49432 (tests-static): Likewise.
49433 (modules-names): Add modstatic5.
49434 (tststatic5-ENV): New variable.
49435 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49436
49437 [BZ #15022]
49438 * elf/dl-support.c (_dl_main_map): New variable.
49439 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49440 (_dl_nns, _dl_load_adds): Set to 1.
49441 (_dl_initial_searchlist): Refer to _dl_main_map.
49442 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49443 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49444 call to _dl_get_origin.
49445 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49446 around call_map.
49447 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49448 * dlfcn/modstatic3.c: New file.
49449 * dlfcn/tststatic3.c: New file.
49450 * dlfcn/tststatic4.c: New file.
49451 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49452 (tests-static): Likewise.
49453 (modules-names): Add modstatic3.
49454 (tststatic3-ENV, tststatic4-ENV): New variables.
49455 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49456 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49457
49458 2013-06-26 Joseph Myers <joseph@codesourcery.com>
49459
49460 * configure.in (CC): Require GCC version 4.4 or later.
49461 * configure: Regenerated.
49462 * manual/install.texi (Tools for Compilation): Update GCC version
49463 requirement.
49464 * INSTALL: Regenerated.
49465
49466 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49467
49468 [BZ #15674]
49469 * string/test-memcmp.c (check2): New.
49470 (main): Call check2.
49471
49472 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49473
49474 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
49475
49476 [BZ #15022]
49477 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49478 over to...
49479 (dl_open_worker) [!SHARED]: ... here.
49480
49481 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49482
49483 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49484
49485 2013-06-25 Richard Henderson <rth@redhat.com>
49486
49487 * locale/programs/locarchive.c: Include <libc-internal.h>
49488
49489 2013-06-25 Joseph Myers <joseph@codesourcery.com>
49490
49491 * manual/texinfo.tex: Update to version 2013-06-21.17, with
49492 trailing whitespace removed.
49493
49494 2013-06-24 Mike Frysinger <vapier@gentoo.org>
49495
49496 [BZ #10283]
49497 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49498 * locale/programs/locarchive.c: Include libc-mmap.h.
49499 (prepare_address_space): Take two new outputs (the mmap base and len).
49500 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
49501 values.
49502 (create_archive): Declare new mmap base and len values for
49503 prepare_address_space, and store the result in ah.
49504 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49505 (enlarge_archive): If ah->mmap_base is not NULL, use that and
49506 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49507 Declare new mmap base and len values for
49508 prepare_address_space, and store the result in new_ah.
49509 (open_archive): Declare new mmap base and len values for
49510 prepare_address_space, and store the result in ah.
49511 (close_archive): If ah->mmap_base is not NULL, use that and
49512 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49513 * sysdeps/generic/libc-mmap.h: New file.
49514
49515 2013-06-24 Mike Frysinger <vapier@gentoo.org>
49516
49517 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49518 (ALIGN_UP): Likewise.
49519 (PTR_ALIGN_DOWN): Likewise.
49520 (PTR_ALIGN_UP): Likewise.
49521
49522 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49523
49524 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49525 entry mapped to PPC_PLATFORM_POWER8.
49526 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49527 POWER8.
49528 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49529 (_dl_string_platform): Add case for exporting platform position for
49530 POWER8.
49531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49532 search path to sysdeps/powerpc/powerpc32/power8 directory.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49534 search path to sysdeps/powerpc/powerpc64/power8 directory.
49535 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49536 power7 directories.
49537 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49538 power7 directories.
49539
49540 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49541
49542 * INSTALL: Regenerate.
49543
49544 * nscd/connections.c (nscd_init): Fix comment.
49545
49546 2013-06-22 Joseph Myers <joseph@codesourcery.com>
49547
49548 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49549
49550 [BZ #15667]
49551 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49552 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49553
49554 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
49555
49556 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49557 DL_DST_REQ_STATIC.
49558 (DL_DST_REQ_STATIC): Remove macro.
49559
49560 2013-06-21 Joseph Myers <joseph@codesourcery.com>
49561
49562 [BZ #7006]
49563 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49564 with a shift of 0 bits.
49565
49566 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
49567
49568 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49569 $(tststatic-ENV).
49570
49571 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49572
49573 [BZ #15655]
49574 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49575
49576 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49577
49578 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49579 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49580 accepts -fno-tree-loop-distribute-patterns.
49581 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49582 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49583 recursive call.
49584 * string/memset.c (memset): Likewise.
49585 * string/test-memmove.c (simple_memmove): Disable loop transformation
49586 to library calls.
49587 * string/test-memset.c (simple_memset): Likewise.
49588 * benchtests/bench-memmove.c (simple_memmove): Likewise.
49589 * benchtests/bench-memset.c (simple_memset): Likewise.
49590 * configure: Regenerated.
49591
49592 2013-06-20 Joseph Myers <joseph@codesourcery.com>
49593
49594 * math/test-misc.c (main): Ignore fesetround failure when failures
49595 of subsequent rounding tests would be ignored.
49596
49597 [BZ #15654]
49598 * math/fedisblxcpt.c (fedisableexcept): Return 0.
49599 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49600 * math/fegetenv.c (__fegetenv): Return 0.
49601 * math/fegetexcept.c (fegetexcept): Return 0.
49602 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49603 FE_TONEAREST.
49604 * math/feholdexcpt.c (feholdexcept): Return 0.
49605 * math/fesetenv.c (__fesetenv): Return 0.
49606 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49607 argument FE_TONEAREST.
49608 * math/feupdateenv.c (__feupdateenv): Return 0.
49609 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49610
49611 2013-06-18 Roland McGrath <roland@hack.frob.com>
49612
49613 * elf/rtld-Rules (rtld-compile-command.S): New variable.
49614 (rtld-compile-command.s, rtld-compile-command.c): New variables.
49615 ($(objpfx)rtld-%.os rules): Use them.
49616
49617 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49618
49619 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49620 fields.
49621
49622 2013-06-17 Roland McGrath <roland@hack.frob.com>
49623
49624 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49625 length of target pattern, then descending length of dependency pattern.
49626 * configure.in (AWK): Require gawk 3.1.2 or newer.
49627 * manual/install.texi (Tools for Compilation): Say that we do.
49628 * configure: Regenerated.
49629
49630 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49631 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49632 * scripts/sysd-rules.awk: ... this new script.
49633 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49634 than a glob-style pattern.
49635
49636 2013-06-17 Joseph Myers <joseph@codesourcery.com>
49637
49638 * math/test-misc.c (main): Do not treat incorrectly rounded
49639 conversions as failure unless ROUNDING_TESTS passes.
49640
49641 2013-06-15 Joseph Myers <joseph@codesourcery.com>
49642
49643 [BZ #15631]
49644 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49645 restore exception state around main square root computation, then
49646 check for inexactness explicitly.
49647
49648 * math/libm-test.inc (fma_test_data): Add another test.
49649
49650 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
49651
49652 * manual/threads.texi (Non-POSIX Extensions): New document
49653 node. Document pthread_getattr_default_np and
49654 pthread_setattr_default_np.
49655
49656 * Versions.def (libpthread): Add GLIBC_2.18.
49657 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49659 Likewise.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49661 Likewise.
49662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49663 Likewise.
49664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49665 Likewise.
49666 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49667 Likewise.
49668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49669 Likewise.
49670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49671 Likewise.
49672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49673 Likewise.
49674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49675 Likewise.
49676
49677 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49678
49679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49680 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49681
49682 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
49683 H.J. Lu <hjl.tools@gmail.com>
49684
49685 [BZ #15627]
49686 * sysdeps/x86_64/rtld-memset.c: Remove file.
49687 * sysdeps/x86_64/rtld-memset.S: New file.
49688
49689 2013-06-14 Joseph Myers <joseph@codesourcery.com>
49690
49691 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49692 (test_in_one_mode): Take arguments for whether the rounding mode
49693 is supported for each floating-point type.
49694 (do_test): Pass new arguments to test_in_one_mode using
49695 ROUNDING_TESTS.
49696
49697 2013-06-13 Roland McGrath <roland@hack.frob.com>
49698
49699 * posix/tst-waitid.c (do_test): Distinguish different instances of
49700 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
49701 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49702 before entering the kernel for waitpid.
49703
49704 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
49705
49706 * NEWS: Fix note on clock function precision. Text by Roland
49707 McGrath.
49708
49709 2013-06-13 Roland McGrath <roland@hack.frob.com>
49710
49711 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49712 it into place only when and if the sanity check passes.
49713
49714 2013-06-13 Joseph Myers <joseph@codesourcery.com>
49715
49716 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49717 output for whether conversion result is exact. Take argument
49718 indicating whether type is IBM long double.
49719 (round_for_all): Change need_exact field to ibm_ld.
49720 * stdlib/tst-strtod-round.c (struct exactness): New type.
49721 (struct test): Change bool ld_ok field to struct exactness exact.
49722 (TEST): Update all definitions for change to field.
49723 (tests): Regenerate array contents.
49724 (test_in_one_mode): Take pointer to new field instead of old ld_ok
49725 field value. Check for IBM long double here.
49726 (do_test): Update calls to test_in_one_mode.
49727
49728 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
49729
49730 [BZ #12515]
49731 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49732 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49733
49734 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49735
49736 [BZ #15605]
49737 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49738 generated by the compiler on loop optimizations.
49739 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49740 general definitions.
49741
49742 2013-06-12 Joseph Myers <joseph@codesourcery.com>
49743
49744 * math/bug-nextafter.c: Include <math-tests.h>.
49745 (main): Only test for exceptions if EXCEPTION_TESTS is true for
49746 the relevant type.
49747 * math/bug-nexttoward.c: Include <math-tests.h>.
49748 (main): Only test for exceptions if EXCEPTION_TESTS is true for
49749 the relevant type.
49750 * math/test-misc.c: Include <math-tests.h>.
49751 (main): Only test for exceptions if EXCEPTION_TESTS is true for
49752 the relevant type.
49753
49754 2013-06-12 Andreas Jaeger <aj@suse.de>
49755
49756 * po/ia.po: Update Interlingua translation from translation
49757 project.
49758
49759 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49760
49761 * include/fenv.h: Include stdbool.h.
49762 (struct rm_ctx): New structure.
49763 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49764 Define macro.
49765 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49766 (SET_RESTORE_ROUNDF): Likewise.
49767 (SET_RESTORE_ROUNDL): Likewise.
49768 (SET_RESTORE_ROUND_NOEX): Likewise.
49769 (SET_RESTORE_ROUND_NOEXF): Likewise.
49770 (SET_RESTORE_ROUND_NOEXL): Likewise.
49771 (SET_RESTORE_ROUND_53BIT): Likewise.
49772 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49773 (libc_feresetround_noexf_ctx): Likewise.
49774 (libc_feresetround_noexl_ctx): Likewise.
49775 (libc_feholdsetround_53bit_ctx): Likewise.
49776 (libc_feresetround_53bit_ctx): Likewise.
49777 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49778 (libc_feholdexcept_setround_sse_ctx): New function.
49779 (libc_fesetenv_sse_ctx): Likewise.
49780 (libc_feupdateenv_sse_ctx): Likewise.
49781 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49782 (libc_feholdexcept_setround_387_ctx): Likewise.
49783 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49784 (libc_feholdsetround_387_prec_ctx): Likewise.
49785 (libc_feholdsetround_387_ctx): Likewise.
49786 (libc_feholdsetround_387_53bit_ctx): Likewise.
49787 (libc_feholdsetround_sse_ctx): Likewise.
49788 (libc_feresetround_sse_ctx): Likewise.
49789 (libc_feresetround_387_ctx): Likewise.
49790 (libc_feupdateenv_387_ctx): Likewise.
49791 (libc_feholdexcept_setroundf_ctx): Define macro.
49792 (libc_fesetenvf_ctx): Likewise.
49793 (libc_feupdateenvf_ctx): Likewise.
49794 (libc_feholdsetroundf_ctx): Likewise.
49795 (libc_feresetroundf_ctx): Likewise.
49796 (libc_feholdexcept_setround_ctx): Likewise.
49797 (libc_fesetenv_ctx): Likewise.
49798 (libc_feupdateenv_ctx): Likewise.
49799 (libc_feholdsetround_ctx): Likewise.
49800 (libc_feresetround_ctx): Likewise.
49801 (libc_feholdexcept_setroundl_ctx): Likewise.
49802 (libc_feupdateenvl_ctx): Likewise.
49803 (libc_feholdsetroundl_ctx): Likewise.
49804 (libc_feresetroundl_ctx): Likewise.
49805 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49806 (libc_feresetround_53bit_ctx): Likewise.
49807
49808 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49809
49810 * locale/iso-639.def: Convert to UTF-8.
49811
49812 2013-06-11 Joseph Myers <joseph@codesourcery.com>
49813
49814 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49815 (EXCEPTION_TESTS_double): Likewise.
49816 (EXCEPTION_TESTS_long_double): Likewise.
49817 (EXCEPTION_TESTS): Likewise.
49818 * math/libm-test.inc (test_exceptions): Only test exceptions if
49819 EXCEPTION_TESTS (FLOAT).
49820
49821 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49822
49823 * benchtests/Makefile (string-bench): Add strcpy_chk and
49824 stpcpy_chk.
49825 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49826 * benchtests/bench-stpcpy_chk.c: New file.
49827 * benchtests/bench-strcpy_chk-ifunc.c: New file.
49828 * benchtests/bench-strcpy_chk.c: New file.
49829 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49830 code.
49831 (do_test): Likewise.
49832
49833 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49834
49835 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49836 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49837 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49838 with tabs where appropriate.
49839 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49840 dl-procinfo.h.
49841 [PPC_PLATFORM_PPC440]: Likewise.
49842 [PPC_PLATFORM_PPC464]: Likewise.
49843 [PPC_PLATFORM_PPC476]: Likewise.
49844 (_dl_string_platform): Add support for detecting ppc405, ppc440,
49845 ppc464, and ppc476 platform strings merging from ports/
49846 dl-procinfo.h.
49847
49848 2013-06-11 Andreas Schwab <schwab@suse.de>
49849
49850 [BZ #14991]
49851 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49852 (from_ucs4_idx): Regenerate.
49853 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49854 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49855 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49856 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49857 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49858 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49859 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49860 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49861 from FROM_LOOP and TO_LOOP specific macros.
49862 (BODY): Handle combining characters.
49863 * iconvdata/BIG5HKSCS.irreversible: Update.
49864 * iconvdata/BIG5HKSCS.precomposed: New file.
49865 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49866 characters.
49867 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49868
49869 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49870
49871 * include/sys/time.h: Fix indentation and add copyright header.
49872
49873 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49874 (do_test): Likewise.
49875 * string/test-memchr.c (do_one_test): Likewise.
49876 (do_test): Likewise.
49877 * string/test-memcmp.c (do_one_test): Likewise.
49878 (do_test): Likewise.
49879 * string/test-memcpy.c (do_one_test): Likewise.
49880 (do_test): Likewise.
49881 * string/test-memmem.c (do_one_test): Likewise.
49882 (do_test): Likewise.
49883 (do_random_tests): Likewise.
49884 * string/test-memmove.c (do_one_test): Likewise.
49885 (do_test): Likewise.
49886 * string/test-memset.c (do_one_test): Likewise.
49887 (do_test): Likewise.
49888 * string/test-rawmemchr.c (do_one_test): Likewise.
49889 (do_test): Likewise.
49890 * string/test-strcasecmp.c (do_one_test): Likewise.
49891 (do_test): Likewise.
49892 * string/test-strcasestr.c (do_one_test): Likewise.
49893 (do_test): Likewise.
49894 * string/test-strcat.c (do_one_test): Likewise.
49895 (do_test): Likewise.
49896 * string/test-strchr.c (do_one_test): Likewise.
49897 (do_test): Likewise.
49898 * string/test-strcmp.c (do_one_test): Likewise.
49899 (do_test): Likewise.
49900 * string/test-strcpy.c (do_one_test): Likewise.
49901 (do_test): Likewise.
49902 * string/test-string.h: Likewise.
49903 (test_init): Likewise.
49904 * string/test-strlen.c (do_one_test): Likewise.
49905 (do_test): Likewise.
49906 * string/test-strncasecmp.c (do_one_test): Likewise.
49907 (do_test): Likewise.
49908 * string/test-strncat.c (do_one_test): Likewise.
49909 (do_test): Likewise.
49910 * string/test-strncmp.c (do_one_test): Likewise.
49911 (do_test_limit): Likewise.
49912 (do_test): Likewise.
49913 * string/test-strncpy.c (do_one_test): Likewise.
49914 (do_test): Likewise.
49915 * string/test-strnlen.c (do_one_test): Likewise.
49916 (do_test): Likewise.
49917 * string/test-strpbrk.c (do_one_test): Likewise.
49918 (do_test): Likewise.
49919 * string/test-strrchr.c (do_one_test): Likewise.
49920 (do_test): Likewise.
49921 * string/test-strspn.c (do_one_test): Likewise.
49922 (do_test): Likewise.
49923 * string/test-strstr.c (do_one_test): Likewise.
49924 (do_test): Likewise.
49925
49926 * benchtests/Makefile (string-bench): Add string benchmarks.
49927 * benchtests/bench-bcopy-ifunc.c: New file.
49928 * benchtests/bench-bcopy.c: New file.
49929 * benchtests/bench-bzero-ifunc.c: New file.
49930 * benchtests/bench-bzero.c: New file.
49931 * benchtests/bench-memccpy-ifunc.c: New file.
49932 * benchtests/bench-memccpy.c: New file.
49933 * benchtests/bench-memchr-ifunc.c: New file.
49934 * benchtests/bench-memchr.c: New file.
49935 * benchtests/bench-memcmp-ifunc.c: New file.
49936 * benchtests/bench-memcmp.c: New file.
49937 * benchtests/bench-memmem-ifunc.c: New file.
49938 * benchtests/bench-memmem.c: New file.
49939 * benchtests/bench-memmove-ifunc.c: New file.
49940 * benchtests/bench-memmove.c: New file.
49941 * benchtests/bench-mempcpy-ifunc.c: New file.
49942 * benchtests/bench-mempcpy.c: New file.
49943 * benchtests/bench-memset-ifunc.c: New file.
49944 * benchtests/bench-memset.c: New file.
49945 * benchtests/bench-rawmemchr-ifunc.c: New file.
49946 * benchtests/bench-rawmemchr.c: New file.
49947 * benchtests/bench-stpcpy-ifunc.c: New file.
49948 * benchtests/bench-stpcpy.c: New file.
49949 * benchtests/bench-stpncpy-ifunc.c: New file.
49950 * benchtests/bench-stpncpy.c: New file.
49951 * benchtests/bench-strcasecmp-ifunc.c: New file.
49952 * benchtests/bench-strcasecmp.c: New file.
49953 * benchtests/bench-strcasestr-ifunc.c: New file.
49954 * benchtests/bench-strcasestr.c: New file.
49955 * benchtests/bench-strcat-ifunc.c: New file.
49956 * benchtests/bench-strcat.c: New file.
49957 * benchtests/bench-strchr-ifunc.c: New file.
49958 * benchtests/bench-strchr.c: New file.
49959 * benchtests/bench-strchrnul-ifunc.c: New file.
49960 * benchtests/bench-strchrnul.c: New file.
49961 * benchtests/bench-strcmp-ifunc.c: New file.
49962 * benchtests/bench-strcmp.c: New file.
49963 * benchtests/bench-strcpy-ifunc.c: New file.
49964 * benchtests/bench-strcpy.c: New file.
49965 * benchtests/bench-strcspn-ifunc.c: New file.
49966 * benchtests/bench-strcspn.c: New file.
49967 * benchtests/bench-strlen-ifunc.c: New file.
49968 * benchtests/bench-strlen.c: New file.
49969 * benchtests/bench-strncasecmp-ifunc.c: New file.
49970 * benchtests/bench-strncasecmp.c: New file.
49971 * benchtests/bench-strncat-ifunc.c: New file.
49972 * benchtests/bench-strncat.c: New file.
49973 * benchtests/bench-strncmp-ifunc.c: New file.
49974 * benchtests/bench-strncmp.c: New file.
49975 * benchtests/bench-strncpy-ifunc.c: New file.
49976 * benchtests/bench-strncpy.c: New file.
49977 * benchtests/bench-strnlen-ifunc.c: New file.
49978 * benchtests/bench-strnlen.c: New file.
49979 * benchtests/bench-strpbrk-ifunc.c: New file.
49980 * benchtests/bench-strpbrk.c: New file.
49981 * benchtests/bench-strrchr-ifunc.c: New file.
49982 * benchtests/bench-strrchr.c: New file.
49983 * benchtests/bench-strspn-ifunc.c: New file.
49984 * benchtests/bench-strspn.c: New file.
49985 * benchtests/bench-strstr-ifunc.c: New file.
49986 * benchtests/bench-strstr.c: New file.
49987
49988 * benchtests/Makefile: Disable parallel execution of targets.
49989 (string-bench): Add memcpy.
49990 (benchset): New variable to store a list of benchmark sets.
49991 (bench-func): Renamed from bench.
49992 (bench-set): New target.
49993 (bench): Depend on bench-func and bench-set.
49994 * benchtests/README: Add section on benchmark sets.
49995 * benchtests/bench-memcpy-ifunc.c: New file.
49996 * benchtests/bench-memcpy.c: New file.
49997 * benchtests/bench-string.h: New file.
49998
49999 2013-06-11 Andreas Schwab <schwab@suse.de>
50000
50001 [BZ #15577]
50002 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50003 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50004 values in the triple.
50005 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50006 terminator in the group key.
50007
50008 2013-06-11 Andreas Jaeger <aj@suse.de>
50009
50010 * po/zh_TW.po: Update Chinese (traditional) translation from
50011 translation project.
50012
50013 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50014
50015 * include/time.h (__clock_gettime): Add libc_hidden_proto.
50016 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50017 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
50018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50019 (clock_getcpuclockid): Likewise.
50020 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50021 Add weak_alias and libc_hidden_def.
50022 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50023 * rt/clock_gettime.c (clock_gettime): Rename to
50024 __clock_gettime. Add weak_alias and libc_hidden_def.
50025 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50026 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50027 __clock_nanosleep. Add weak_alias and libc_hidden_def.
50028 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50029 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50030 Likewise.
50031 * rt/clock_settime.c (clock_settime): Rename to
50032 __clock_settime. Add weak_alias and libc_hidden_def.
50033 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50034
50035 2013-06-10 Joseph Myers <joseph@codesourcery.com>
50036
50037 * mach/err_boot.sub: Remove trailing whitespace.
50038 * mach/err_ipc.sub: Likewise.
50039 * mach/err_mach.sub: Likewise.
50040
50041 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50042 (ROUNDING_TESTS_double): Likewise.
50043 (ROUNDING_TESTS_long_double): Likewise.
50044 (ROUNDING_TESTS): Likewise.
50045 * math/libm-test.inc: Include <math-tests.h>.
50046 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50047 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50048 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50049 (IF_ROUND_INIT_FE_UPWARD): Likewise.
50050
50051 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50052
50053 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50054 of assigning.
50055
50056 2013-06-08 Joseph Myers <joseph@codesourcery.com>
50057
50058 * sysdeps/gnu/errlist.awk: Do not generate space at end of
50059 otherwise empty TRANS lines.
50060 * sysdeps/gnu/errlist.c: Regenerated.
50061
50062 * catgets/gencat.c (error_print): Use (void) in function
50063 definition.
50064 * crypt/crypt_util.c (__init_des): Likewise.
50065 * crypt/speeds.c (Stop): Likewise.
50066 (main): Likewise.
50067 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50068 * inet/ruserpass.c (token): Likewise.
50069 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50070 * intl/localealias.c (extend_alias_table): Likewise.
50071 * intl/plural-exp.c (init_germanic_plural): Likewise.
50072 * libio/fcloseall.c (__fcloseall): Likewise.
50073 * libio/genops.c (_IO_flush_all): Likewise.
50074 (_IO_flush_all_linebuffered): Likewise.
50075 (_IO_cleanup): Likewise.
50076 (_IO_iter_begin): Likewise.
50077 (_IO_iter_end): Likewise.
50078 (_IO_list_lock): Likewise.
50079 (_IO_list_unlock): Likewise.
50080 (_IO_list_resetlock): Likewise.
50081 * libio/getchar.c (getchar): Likewise.
50082 * libio/getchar_u.c (getchar_unlocked): Likewise.
50083 * libio/getwchar.c (getwchar): Likewise.
50084 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50085 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50086 * login/getpt.c (__getpt): Likewise.
50087 * login/tst-utmp.c (main): Likewise.
50088 * malloc/hooks.c (__malloc_check_init): Likewise.
50089 * malloc/malloc.c (__malloc_stats): Likewise.
50090 * malloc/mtrace.c (tr_break): Likewise.
50091 (mtrace): Likewise.
50092 (muntrace): Likewise.
50093 * misc/fstab.c (endfsent): Likewise.
50094 * misc/getclktck.c (__getclktck): Likewise.
50095 * misc/getdtsz.c (__getdtablesize): Likewise.
50096 * misc/gethostid.c (gethostid): Likewise.
50097 * misc/getpagesize.c (__getpagesize): Likewise.
50098 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50099 (__get_nprocs): Likewise.
50100 (__get_phys_pages): Likewise.
50101 (__get_avphys_pages): Likewise.
50102 * misc/getttyent.c (getttyent): Likewise.
50103 (setttyent): Likewise.
50104 (endttyent): Likewise.
50105 * misc/getusershell.c (getusershell): Likewise.
50106 (endusershell): Likewise.
50107 (setusershell): Likewise.
50108 (initshells): Likewise.
50109 * misc/hsearch.c (__hdestroy): Likewise.
50110 * misc/sync.c (sync): Likewise.
50111 * misc/syslog.c (closelog_internal): Likewise.
50112 (closelog): Likewise.
50113 * misc/ttyslot.c (ttyslot): Likewise.
50114 * misc/vhangup.c (vhangup): Likewise.
50115 * posix/fork.c (__fork): Likewise.
50116 * posix/getegid.c (__getegid): Likewise.
50117 * posix/geteuid.c (__geteuid): Likewise.
50118 * posix/getgid.c (__getgid): Likewise.
50119 * posix/getpid.c (__getpid): Likewise.
50120 * posix/getppid.c (__getppid): Likewise.
50121 * posix/getuid.c (__getuid): Likewise.
50122 * posix/pause.c (pause): Likewise.
50123 * posix/setpgrp.c (setpgrp): Likewise.
50124 * posix/setsid.c (__setsid): Likewise.
50125 * posix/test-vfork.c (noop): Likewise.
50126 * resolv/gethnamaddr.c (_endhtent): Likewise.
50127 (_gethtent): Likewise.
50128 (ht_endhostent): Likewise.
50129 (gethostent): Likewise.
50130 (dns_service): Likewise.
50131 * stdlib/drand48.c (drand48): Likewise.
50132 * stdlib/lrand48.c (lrand48): Likewise.
50133 * stdlib/mrand48.c (mrand48): Likewise.
50134 * stdlib/rand.c (rand): Likewise.
50135 * stdlib/random.c (__random): Likewise.
50136 * stdlib/setenv.c (clearenv): Likewise.
50137 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50138 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50139 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50140 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50141 (__get_nprocs): Likewise.
50142 (__get_phys_pages): Likewise.
50143 (__get_avphys_pages): Likewise.
50144 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50145 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50146 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50147 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50148 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50149 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50150 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50151 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50152 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50153 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50154 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50155 * sysdeps/mach/hurd/sync.c (sync): Likewise.
50156 * sysdeps/posix/clock.c (clock): Likewise.
50157 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50158 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50159 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50160 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50161 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50163 (__get_nprocs_conf): Likewise.
50164 (__get_phys_pages): Likewise.
50165 (__get_avphys_pages): Likewise.
50166 * time/clock.c (clock): Likewise.
50167 * time/tzset.c (__tzname_max): Likewise.
50168
50169 2013-06-07 Joseph Myers <joseph@codesourcery.com>
50170
50171 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50172 (__bswap_32): Do not use "register".
50173 * crypt/crypt.c (_ufc_doit_r): Likewise.
50174 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50175 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50176 * gmon/gmon.c (__monstartup): Likewise.
50177 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50178 * hurd/hurdmalloc.c (more_memory): Likewise.
50179 (malloc): Likewise.
50180 (free): Likewise.
50181 (realloc): Likewise.
50182 (malloc_fork_prepare): Likewise.
50183 (malloc_fork_parent): Likewise.
50184 (malloc_fork_child): Likewise.
50185 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50186 (_svcauth_des): Likewise.
50187 * inet/inet_lnaof.c (inet_lnaof): Likewise.
50188 * inet/inet_net.c (inet_network): Likewise.
50189 * inet/inet_netof.c (inet_netof): Likewise.
50190 * inet/rcmd.c (__validuser2_sa): Likewise.
50191 * io/fts.c (fts_open): Likewise.
50192 (fts_load): Likewise.
50193 (fts_close): Likewise.
50194 (fts_read): Likewise.
50195 (fts_children): Likewise.
50196 (fts_build): Likewise.
50197 (fts_stat): Likewise.
50198 (fts_sort): Likewise.
50199 (fts_alloc): Likewise.
50200 (fts_lfree): Likewise.
50201 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50202 (_IO_file_xsgetn): Likewise.
50203 (_IO_file_xsgetn_mmap): Likewise.
50204 * libio/iofopncook.c (_IO_cookie_read): Likewise.
50205 (_IO_cookie_write): Likewise.
50206 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50207 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50208 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50209 * malloc/obstack.c (_obstack_begin): Likewise.
50210 (_obstack_begin_1): Likewise.
50211 (_obstack_newchunk): Likewise.
50212 (_obstack_allocated_p): Likewise.
50213 (obstack_free): Likewise.
50214 (_obstack_memory_used): Likewise.
50215 * misc/getttyent.c (getttynam): Likewise.
50216 (getttyent): Likewise.
50217 (skip): Likewise.
50218 (value): Likewise.
50219 * misc/getusershell.c (initshells): Likewise.
50220 * misc/syslog.c (__vsyslog_chk): Likewise.
50221 * misc/ttyslot.c (ttyslot): Likewise.
50222 * nis/nis_hash.c (__nis_hash): Likewise.
50223 * posix/fnmatch_loop.c (FCT): Likewise.
50224 * posix/getconf.c (print_all): Likewise.
50225 (main): Likewise.
50226 * posix/getopt.c (exchange): Likewise.
50227 * posix/glob.c (globfree): Likewise.
50228 (prefix_array): Likewise.
50229 (__glob_pattern_type): Likewise.
50230 * resolv/arpa/nameser.h (NS_GET16): Likewise.
50231 (NS_GET32): Likewise.
50232 (NS_PUT16): Likewise.
50233 (NS_PUT32): Likewise.
50234 * resolv/gethnamaddr.c (getanswer): Likewise.
50235 (gethostbyname2): Likewise.
50236 (gethostbyaddr): Likewise.
50237 (_gethtent): Likewise.
50238 (_gethtbyname2): Likewise.
50239 (_gethtbyaddr): Likewise.
50240 * resolv/ns_print.c (dst_s_get_int16): Likewise.
50241 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50242 * resolv/res_init.c (__res_vinit): Likewise.
50243 (net_mask): Likewise.
50244 * resolv/res_mkquery.c (outchar): Likewise.
50245 (PRINT): Likewise.
50246 * stdio-common/printf_fp.c (outchar): Likewise.
50247 (PRINT): Likewise.
50248 * stdio-common/printf_fphex.c (outchar): Likewise.
50249 (PRINT): Likewise.
50250 * stdio-common/printf_size.c (outchar): Likewise.
50251 (PRINT): Likewise.
50252 * stdio-common/test_rdwr.c (main): Likewise.
50253 * stdio-common/tfformat.c (matches): Likewise.
50254 * stdio-common/vfprintf.c (outchar): Likewise.
50255 (printf_unknown): Likewise.
50256 (buffered_vfprintf): Likewise.
50257 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50258 * stdio-common/xbug.c (AppendToBuffer): Likewise.
50259 (ReadFile): Likewise.
50260 * stdlib/qsort.c (SWAP): Likewise.
50261 (_quicksort): Likewise.
50262 * stdlib/setenv.c (__add_to_environ): Likewise.
50263 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50264 * stdlib/strtol_l.c (__strtol_l): Likewise.
50265 * stdlib/tst-strtod.c (main): Likewise.
50266 * stdlib/tst-strtol.c (main): Likewise.
50267 * stdlib/tst-strtoll.c (main): Likewise.
50268 * string/bits/string2.h (__strcmp_cc): Likewise.
50269 (__strcmp_cg): Likewise.
50270 (__strcspn_c1): Likewise.
50271 (__strcspn_c2): Likewise.
50272 (__strcspn_c3): Likewise.
50273 (__strspn_c1): Likewise.
50274 (__strspn_c2): Likewise.
50275 (__strspn_c3): Likewise.
50276 (__strsep_1c): Likewise.
50277 (__strsep_2c): Likewise.
50278 (__strsep_3c): Likewise.
50279 * string/memccpy.c (__memccpy): Likewise.
50280 * string/stpcpy.c (__stpcpy): Likewise.
50281 * string/strcmp.c (strcmp): Likewise.
50282 * string/strrchr.c (strrchr): Likewise.
50283 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50284 Likewise.
50285 * sysdeps/mach/hurd/getcwd.c
50286 (_hurd_canonicalize_directory_name_internal): Likewise.
50287 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50288 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50289 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50290 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50291 Likewise, in both definitions.
50292 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50293 definitions.
50294 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50295 64] (__bswap_64): Likewise.
50296 * time/test_time.c (main): Likewise.
50297 * time/tzfile.c (__tzfile_read): Likewise.
50298 (__tzfile_compute): Likewise.
50299 * time/tzset.c (__tzset_parse_tz): Likewise.
50300 (tzset_internal): Likewise.
50301 (compute_change): Likewise.
50302 * wcsmbs/wcscat.c (__wcscat): Likewise.
50303 * wcsmbs/wcschr.c (wcschr): Likewise.
50304 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50305 * wcsmbs/wcscspn.c (wcscspn): Likewise.
50306 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50307 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50308 * wcsmbs/wcsspn.c (wcsspn): Likewise.
50309 * wcsmbs/wcsstr.c (wcsstr): Likewise.
50310 * wcsmbs/wmemchr.c (wmemchr): Likewise.
50311 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50312 * wcsmbs/wmemset.c (wmemset): Likewise.
50313
50314 2013-06-06 Joseph Myers <joseph@codesourcery.com>
50315
50316 * scripts/config.guess: Update to version 2013-05-16.
50317 * scripts/config.sub: Update to version 2013-04-24.
50318 * scripts/install-sh: Update to version 2011-11-20.07.
50319 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50320 * scripts/move-if-change: Update to version 2012-01-06 07:23.
50321
50322 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
50323
50324 * debug/fgetws_u_chk.c: Fix leading whitespaces.
50325 * elf/sln.c: Likewise.
50326 * hurd/hurd/ioctl.h: Likewise.
50327 * hurd/hurdmalloc.c: Likewise.
50328 * hurd/xattr.c: Likewise.
50329 * include/shlib-compat.h: Likewise.
50330 * inet/ruserpass.c: Likewise.
50331 * libio/iofgets_u.c: Likewise.
50332 * libio/iofgetws_u.c: Likewise.
50333 * locale/programs/ld-identification.c: Likewise.
50334 * locale/programs/ld-time.c: Likewise.
50335 * mach/msg-destroy.c: Likewise.
50336 * nss/nss_files/files-netgrp.c: Likewise.
50337 * resolv/res_data.c: Likewise.
50338 * soft-fp/op-1.h: Likewise.
50339 * soft-fp/op-2.h: Likewise.
50340 * soft-fp/op-4.h: Likewise.
50341 * soft-fp/op-common.h: Likewise.
50342 * stdio-common/printf_fphex.c: Likewise.
50343 * stdlib/strtod_l.c: Likewise.
50344 * sunrpc/rpc/clnt.h: Likewise.
50345 * sysdeps/generic/framestate.c: Likewise.
50346 * sysdeps/i386/bsd-_setjmp.S: Likewise.
50347 * sysdeps/i386/bsd-setjmp.S: Likewise.
50348 * sysdeps/i386/__longjmp.S: Likewise.
50349 * sysdeps/i386/setjmp.S: Likewise.
50350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50351 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50367 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50368 * sysdeps/ieee754/support.c: Likewise.
50369 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50370 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50371 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50372 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50373 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50374 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50375 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50376 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50377 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50378 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50379 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50380 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50381 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50382 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50383 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50384 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50385 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50387
50388 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
50389
50390 * posix/transbug.c: Remove executable mode.
50391
50392 2013-06-05 Joseph Myers <joseph@codesourcery.com>
50393
50394 * crypt/speeds.c: Remove trailing whitespace.
50395 * dlfcn/default.c: Likewise.
50396 * elf/ifuncdep2.c: Likewise.
50397 * elf/ifuncmain1.c: Likewise.
50398 * elf/ifuncmain1vis.c: Likewise.
50399 * elf/testobj.h: Likewise.
50400 * elf/tst-stackguard1.c: Likewise.
50401 * gmon/sys/gmon.h: Likewise.
50402 * hurd/hurdmsg.c: Likewise.
50403 * hurd/new-fd.c: Likewise.
50404 * hurd/ports-get.c: Likewise.
50405 * iconvdata/ibm1008_420.c: Likewise.
50406 * inet/tst-getni1.c: Likewise.
50407 * inet/tst-getni2.c: Likewise.
50408 * libio/ioungetc.c: Likewise.
50409 * libio/wfiledoalloc.c: Likewise.
50410 * manual/libm-err-tab.pl: Likewise.
50411 * math/w_dremf.c: Likewise.
50412 * misc/ftruncate.c: Likewise.
50413 * posix/bug-glob2.c: Likewise.
50414 * posix/tst-pcre.c: Likewise.
50415 * posix/wait4.c: Likewise.
50416 * resolv/README: Likewise.
50417 * resolv/res_debug.h: Likewise.
50418 * resolv/tst-inet_ntop.c: Likewise.
50419 * setjmp/bug269-setjmp.c: Likewise.
50420 * soft-fp/extended.h: Likewise.
50421 * soft-fp/op-1.h: Likewise.
50422 * soft-fp/op-2.h: Likewise.
50423 * soft-fp/op-4.h: Likewise.
50424 * soft-fp/op-8.h: Likewise.
50425 * soft-fp/testit.c: Likewise.
50426 * stdio-common/bug16.c: Likewise.
50427 * stdlib/random.c: Likewise.
50428 * sunrpc/rpcsvc/rquota.x: Likewise.
50429 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50435 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50436 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50438 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50439 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50440 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50441 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50442 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50444 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50445 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50446 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50447 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50448 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50449 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50450 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50451 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50455 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50456 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50457 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50458 * sysdeps/ieee754/s_lib_version.c: Likewise.
50459 * sysdeps/mach/hurd/check_fds.c: Likewise.
50460 * sysdeps/mach/hurd/getsockname.c: Likewise.
50461 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50462 * sysdeps/mach/hurd/recvfrom.c: Likewise.
50463 * sysdeps/powerpc/bits/link.h: Likewise.
50464 * sysdeps/powerpc/dl-procinfo.c: Likewise.
50465 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50466 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50467 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50468 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50469 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50470 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50471 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50472 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50473 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50474 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50475 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50476 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50477 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50478 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50479 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50481 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50482 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50485 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50487 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50488 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50489 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50490 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50491 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50492 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50493 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50494 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50496 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50498 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50499 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50500 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50501 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50502 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50503 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50504 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50505 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50506 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50507 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50508 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50509 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50510 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50511 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50512 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50513 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50514 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50515 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50517 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50518 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50519 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50520 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50523 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50524 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50525 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50526 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50528 * sysdeps/powerpc/sysdep.h: Likewise.
50529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50530 * sysdeps/s390/s390-64/sub_n.S: Likewise.
50531 * sysdeps/sh/dl-trampoline.S: Likewise.
50532 * sysdeps/sh/memset.S: Likewise.
50533 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50534 * sysdeps/sh/strlen.S: Likewise.
50535 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50536 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50537 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50538 * sysdeps/sparc/sparc32/rem.S: Likewise.
50539 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50540 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50541 * sysdeps/sparc/sparc32/strchr.S: Likewise.
50542 * sysdeps/sparc/sparc32/udiv.S: Likewise.
50543 * sysdeps/sparc/sparc32/urem.S: Likewise.
50544 * sysdeps/sparc/sparc64/add_n.S: Likewise.
50545 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50546 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50547 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50548 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50549 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50550 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50551 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50552 * sysdeps/unix/bsd/times.c: Likewise.
50553 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50554 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50559 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50560 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50561 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50562 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50563 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50564 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50565 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50566 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50567 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50568 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50569 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50570 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50571 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50572 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50573 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50574 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50576 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50577 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50578 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50579 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50580 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50581 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50582 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50583 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50584 * sysdeps/x86_64/strcspn.S: Likewise.
50585
50586 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50587
50588 * locale/C-translit.h: Revert #include <stdint.h> because this is a
50589 generated file. Regenerate properly from gen-translit.pl.
50590 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
50591 locale/C-translit.h.
50592
50593 2013-06-05 Andreas Schwab <schwab@suse.de>
50594
50595 [BZ #15100]
50596 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50597 week as 6 instead of -1.
50598 * time/tst-strptime.c (day_tests): Add test case.
50599
50600 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50601
50602 * sysdeps/generic/math_private.h
50603 (libc_feholdexcept_setround_53bit): Replace with
50604 libc_feholdsetround_53bit.
50605 (libc_feupdateenv_53bit): Replace with
50606 libc_feresetround_53bit.
50607 (SET_RESTORE_ROUND_53BIT): Adjust.
50608
50609 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50610
50611 * string/test-strchrnul.c: Add copyright header.
50612
50613 * posix/tst-getaddrinfo4.c: Increase test timeout.
50614
50615 2013-06-03 Carlos O'Donell <carlos@redhat.com>
50616
50617 [BZ #15536]
50618 * math/libm-test.inc (MAX_EXP): Remove
50619 (MIN_EXP): Define.
50620 (ulp): Use MIN_EXP - MANT_DIG.
50621 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50622
50623 2013-05-31 Carlos O'Donell <carlos@redhat.com>
50624
50625 * po/be.po: Revert last change.
50626 * po/zh_CN.po: Likewise.
50627 * po/header.pot: Likewise.
50628
50629 2013-05-31 Joseph Myers <joseph@codesourcery.com>
50630
50631 * Makefile ($(common-objpfx)linkobj/libc.so): Define
50632 link-libc-deps to empty as target-specific variable.
50633 * Makerules (link-libc-args): New variable.
50634 (libc-for-link): Likewise.
50635 (link-libc-deps): Likewise.
50636 (lib%.so): Depend on $(link-libc-deps). Link with
50637 $(link-libc-args).
50638 (build-module): Link with $(link-libc-args).
50639 (build-module-asneeded): Likewise.
50640 (build-module-helper-objlist): Filter out $(link-libc-deps) from
50641 list of objects.
50642 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50643 target-specific variable.
50644 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50645 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50646 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50647 libc.
50648 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50649 libc and ld.so.
50650 ($(objpfx)libpcprofile.so): Likewise.
50651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50652 libc_nonshared.a.
50653 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50654 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50655 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50656 $(link-libc-deps).
50657 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50658 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50659 * login/Makefile ($(objpfx)libutil.so): Likewise.
50660 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50661 * math/Makefile ($(objpfx)libm.so): Likewise.
50662 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50663 $(objpfx)libnsl.so): Define libc-for-link as target-specific
50664 variable instead of depending directly on libc.
50665 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50666 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50667 $(link-libc-deps).
50668 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50669 libc.
50670 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50671 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50672 ($(objpfx)libanl.so): Likewise.
50673 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50674 ld.so.
50675 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50676 $(link-libc-deps).
50677 * sysdeps/i386/fpu/Makefile: Remove file.
50678 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50679 ($(objpfx)libm.so): Remove dependency on ld.so.
50680
50681 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
50682
50683 [BZ # 15553]
50684 * nis/yp_xdr.c (XDRMAXNAME): Define.
50685 (XDRMAXRECORD): Define.
50686 (xdr_domainname): Use XDRMAXNAME.
50687 (xdr_mapname): Likewise.
50688 (xdr_peername): Likewise.
50689 (xdr_keydat): Use XDRMAXRECORD.
50690 (xdr_valdat): Likewise.
50691
50692 2013-05-30 Jeff Law <law@redhat.com>
50693
50694 [BZ #14256]
50695 * manual/errno.texi (ESTALE): Update to account for more than
50696 just NFS file systems.
50697 * sysdeps/gnu/errlist.c: Regenerated.
50698
50699 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50700
50701 [BZ #15465]
50702 * elf/Makefile (tests): Add tst-null-argv.
50703 (modules-names): Add tst-null-argv-lib.
50704 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50705 (tst-null-argv-ENV): Set environment for tst-null-argv.
50706 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50707 (RTLD_PROGNAME): New macro.
50708 * elf/tst-null-argv.c: New test case.
50709 * elf/tst-null-argv-lib.c: Library for test case.
50710 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50711 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50712 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50713 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50714 * elf/dl-init.c (call_init): Likewise.
50715 (_dl_init): Likewise.
50716 * elf/dl-load.c (print_search_path): Likewise.
50717 (_dl_map_object): Likewise.
50718 * elf/dl-lookup.c (do_lookup_x): Likewise.
50719 (add_dependency): Likewise.
50720 (_dl_lookup_symbol_x): Likewise.
50721 (_dl_debug_bindings): Likewise.
50722 * elf/dl-open.c (_dl_show_scope): Likewise.
50723 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50724 * elf/dl-version.c (match_symbol): Likewise.
50725 (_dl_check_map_versions): Likewise.
50726 * elf/rtld.c (dl_main): Likewise.
50727 (print_unresolved): Use RTLD_PROGNAME.
50728 (print_missing_version): Likewise.
50729 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50730 (elf_machine_rela): Likewise.
50731 * sysdeps/powerpc/powerpc32/dl-machine.c
50732 (__process_machine_rela): Likewise.
50733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50734 Likewise.
50735 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50736 Likewise.
50737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50738 Likewise.
50739 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50741 Likewise.
50742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50743 Likewise.
50744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50745
50746 2013-05-28 Carlos O'Donell <carlos@redhat.com>
50747
50748 * po/be.po: Add descriptive title.
50749 * po/zh_CN.po: Likewise.
50750 * po/header.pot: Likewise.
50751
50752 2013-05-28 Mike Frysinger <vapier@gentoo.org>
50753
50754 * locale/programs/locarchive.c (create_archive): Inlucde fname in
50755 error message.
50756 (enlarge_archive): Likewise.
50757
50758 2013-05-28 Ben North <ben@redfrontdoor.org>
50759
50760 * manual/arith.texi (frexp): It is the magnitude of the return
50761 value which lies in [0.5, 1), not the return value itself.
50762
50763 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50764
50765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50766
50767 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
50768
50769 * stdio-common/bug26.c (main): Correct fscanf template.
50770
50771 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50772 declare _dl_skip_args.
50773
50774 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50775 Don't declare.
50776
50777 * manual/platform.texi: Add missing @end deftypefun.
50778
50779 2013-05-24 Joseph Myers <joseph@codesourcery.com>
50780
50781 [BZ #15529]
50782 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50783 bit of mantissa of 2^16382.
50784 * math/libm-test.inc (hypot_test_data): Add more tests.
50785
50786 * math/libm-test.inc: Add drem and pow10 to list of tested
50787 functions.
50788 (pow10_test): New function.
50789 (drem_test): Likewise.
50790 (drem_test_tonearest): Likewise.
50791 (drem_test_towardzero): Likewise.
50792 (drem_test_downward): Likewise.
50793 (drem_test_upward): Likewise.
50794 (main): Call the new functions.
50795
50796 * math/libm-test.inc (finite_test_data): Remove.
50797 (finite_test): Run tests from isfinite_test_data.
50798 (gamma_test_data): Remove.
50799 (gamma_test): Run tests from lgamma_test_data.
50800 * sysdeps/i386/fpu/libm-test-ulps: Update.
50801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50802
50803 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50804
50805 * manual/platform.texi: Add PowerPC PPR function set documentation.
50806 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50807 implementation.
50808
50809 2013-05-24 Carlos O'Donell <carlos@redhat.com>
50810
50811 * math/libm-test.inc (MAX_EXP): Define.
50812 (ULPDIFF): Define.
50813 (ulp): New function.
50814 (check_float_internal): Use ULPDIFF.
50815 (cpow_test): Disable failing test.
50816 (check_ulp): Test ulp() implemetnation.
50817 (main): Call check_ulp before starting tests.
50818
50819 2013-05-24 Joseph Myers <joseph@codesourcery.com>
50820
50821 * math/gen-libm-test.pl (generate_testfile): Do not handle
50822 START_DATA and END_DATA.
50823 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50824 END_DATA.
50825 (acos_tonearest_test_data): Likewise.
50826 (acos_towardzero_test_data): Likewise.
50827 (acos_downward_test_data): Likewise.
50828 (acos_upward_test_data): Likewise.
50829 (acosh_test_data): Likewise.
50830 (asin_test_data): Likewise.
50831 (asin_tonearest_test_data): Likewise.
50832 (asin_towardzero_test_data): Likewise.
50833 (asin_downward_test_data): Likewise.
50834 (asin_upward_test_data): Likewise.
50835 (asinh_test_data): Likewise.
50836 (atan_test_data): Likewise.
50837 (atanh_test_data): Likewise.
50838 (atan2_test_data): Likewise.
50839 (cabs_test_data): Likewise.
50840 (cacos_test_data): Likewise.
50841 (cacosh_test_data): Likewise.
50842 (carg_test_data): Likewise.
50843 (casin_test_data): Likewise.
50844 (casinh_test_data): Likewise.
50845 (catan_test_data): Likewise.
50846 (catanh_test_data): Likewise.
50847 (cbrt_test_data): Likewise.
50848 (ccos_test_data): Likewise.
50849 (ccosh_test_data): Likewise.
50850 (ceil_test_data): Likewise.
50851 (cexp_test_data): Likewise.
50852 (cimag_test_data): Likewise.
50853 (clog_test_data): Likewise.
50854 (clog10_test_data): Likewise.
50855 (conj_test_data): Likewise.
50856 (copysign_test_data): Likewise.
50857 (cos_test_data): Likewise.
50858 (cos_tonearest_test_data): Likewise.
50859 (cos_towardzero_test_data): Likewise.
50860 (cos_downward_test_data): Likewise.
50861 (cos_upward_test_data): Likewise.
50862 (cosh_test_data): Likewise.
50863 (cosh_tonearest_test_data): Likewise.
50864 (cosh_towardzero_test_data): Likewise.
50865 (cosh_downward_test_data): Likewise.
50866 (cosh_upward_test_data): Likewise.
50867 (cpow_test_data): Likewise.
50868 (cproj_test_data): Likewise.
50869 (creal_test_data): Likewise.
50870 (csin_test_data): Likewise.
50871 (csinh_test_data): Likewise.
50872 (csqrt_test_data): Likewise.
50873 (ctan_test_data): Likewise.
50874 (ctan_tonearest_test_data): Likewise.
50875 (ctan_towardzero_test_data): Likewise.
50876 (ctan_downward_test_data): Likewise.
50877 (ctan_upward_test_data): Likewise.
50878 (ctanh_test_data): Likewise.
50879 (ctanh_tonearest_test_data): Likewise.
50880 (ctanh_towardzero_test_data): Likewise.
50881 (ctanh_downward_test_data): Likewise.
50882 (ctanh_upward_test_data): Likewise.
50883 (erf_test_data): Likewise.
50884 (erfc_test_data): Likewise.
50885 (exp_test_data): Likewise.
50886 (exp_tonearest_test_data): Likewise.
50887 (exp_towardzero_test_data): Likewise.
50888 (exp_downward_test_data): Likewise.
50889 (exp_upward_test_data): Likewise.
50890 (exp10_test_data): Likewise.
50891 (exp2_test_data): Likewise.
50892 (expm1_test_data): Likewise.
50893 (fabs_test_data): Likewise.
50894 (fdim_test_data): Likewise.
50895 (finite_test_data): Likewise.
50896 (floor_test_data): Likewise.
50897 (fma_test_data): Likewise.
50898 (fma_towardzero_test_data): Likewise.
50899 (fma_downward_test_data): Likewise.
50900 (fma_upward_test_data): Likewise.
50901 (fmax_test_data): Likewise.
50902 (fmin_test_data): Likewise.
50903 (fmod_test_data): Likewise.
50904 (fpclassify_test_data): Likewise.
50905 (frexp_test_data): Likewise.
50906 (gamma_test_data): Likewise.
50907 (hypot_test_data): Likewise.
50908 (ilogb_test_data): Likewise.
50909 (isfinite_test_data): Likewise.
50910 (isgreater_test_data): Likewise.
50911 (isgreaterequal_test_data): Likewise.
50912 (isinf_test_data): Likewise.
50913 (isless_test_data): Likewise.
50914 (islessequal_test_data): Likewise.
50915 (islessgreater_test_data): Likewise.
50916 (isnan_test_data): Likewise.
50917 (isnormal_test_data): Likewise.
50918 (issignaling_test_data): Likewise.
50919 (isunordered_test_data): Likewise.
50920 (j0_test_data): Likewise.
50921 (j1_test_data): Likewise.
50922 (jn_test_data): Likewise.
50923 (ldexp_test_data): Likewise.
50924 (lgamma_test_data): Likewise.
50925 (lrint_test_data): Likewise.
50926 (lrint_tonearest_test_data): Likewise.
50927 (lrint_towardzero_test_data): Likewise.
50928 (lrint_downward_test_data): Likewise.
50929 (lrint_upward_test_data): Likewise.
50930 (llrint_test_data): Likewise.
50931 (llrint_tonearest_test_data): Likewise.
50932 (llrint_towardzero_test_data): Likewise.
50933 (llrint_downward_test_data): Likewise.
50934 (llrint_upward_test_data): Likewise.
50935 (log_test_data): Likewise.
50936 (log10_test_data): Likewise.
50937 (log1p_test_data): Likewise.
50938 (log2_test_data): Likewise.
50939 (logb_test_data): Likewise.
50940 (logb_downward_test_data): Likewise.
50941 (lround_test_data): Likewise.
50942 (llround_test_data): Likewise.
50943 (modf_test_data): Likewise.
50944 (nearbyint_test_data): Likewise.
50945 (nextafter_test_data): Likewise.
50946 (nexttoward_test_data): Likewise.
50947 (pow_test_data): Likewise.
50948 (pow_tonearest_test_data): Likewise.
50949 (pow_towardzero_test_data): Likewise.
50950 (pow_downward_test_data): Likewise.
50951 (pow_upward_test_data): Likewise.
50952 (remainder_test_data): Likewise.
50953 (remainder_tonearest_test_data): Likewise.
50954 (remainder_towardzero_test_data): Likewise.
50955 (remainder_downward_test_data): Likewise.
50956 (remainder_upward_test_data): Likewise.
50957 (remquo_test_data): Likewise.
50958 (rint_test_data): Likewise.
50959 (rint_tonearest_test_data): Likewise.
50960 (rint_towardzero_test_data): Likewise.
50961 (rint_downward_test_data): Likewise.
50962 (rint_upward_test_data): Likewise.
50963 (round_test_data): Likewise.
50964 (scalb_test_data): Likewise.
50965 (scalbn_test_data): Likewise.
50966 (scalbln_test_data): Likewise.
50967 (signbit_test_data): Likewise.
50968 (sin_test_data): Likewise.
50969 (sin_tonearest_test_data): Likewise.
50970 (sin_towardzero_test_data): Likewise.
50971 (sin_downward_test_data): Likewise.
50972 (sin_upward_test_data): Likewise.
50973 (sincos_test_data): Likewise.
50974 (sinh_test_data): Likewise.
50975 (sinh_tonearest_test_data): Likewise.
50976 (sinh_towardzero_test_data): Likewise.
50977 (sinh_downward_test_data): Likewise.
50978 (sinh_upward_test_data): Likewise.
50979 (sqrt_test_data): Likewise.
50980 (tan_test_data): Likewise.
50981 (tan_tonearest_test_data): Likewise.
50982 (tan_towardzero_test_data): Likewise.
50983 (tan_downward_test_data): Likewise.
50984 (tan_upward_test_data): Likewise.
50985 (tanh_test_data): Likewise.
50986 (tgamma_test_data): Likewise.
50987 (trunc_test_data): Likewise.
50988 (y0_test_data): Likewise.
50989 (y1_test_data): Likewise.
50990 (yn_test_data): Likewise.
50991 (significand_test_data): Likewise.
50992
50993 * math/gen-libm-test.pl (@functions): Remove variable.
50994 (generate_testfile): Don't handle START and END lines.
50995 * math/libm-test.inc (START): New macro.
50996 (END): Likewise.
50997 (END_COMPLEX): Likewise.
50998 (acos_test): Use END macro without arguments.
50999 (acos_test_tonearest): Likewise.
51000 (acos_test_towardzero): Likewise.
51001 (acos_test_downward): Likewise.
51002 (acos_test_upward): Likewise.
51003 (acosh_test): Likewise.
51004 (asin_test): Likewise.
51005 (asin_test_tonearest): Likewise.
51006 (asin_test_towardzero): Likewise.
51007 (asin_test_downward): Likewise.
51008 (asin_test_upward): Likewise.
51009 (asinh_test): Likewise.
51010 (atan_test): Likewise.
51011 (atanh_test): Likewise.
51012 (atan2_test): Likewise.
51013 (cabs_test): Likewise.
51014 (cacos_test): Use END_COMPLEX macro without arguments.
51015 (cacosh_test): Likewise.
51016 (carg_test): Use END macro without arguments.
51017 (casin_test): Use END_COMPLEX macro without arguments.
51018 (casinh_test): Likewise.
51019 (catan_test): Likewise.
51020 (catanh_test): Likewise.
51021 (cbrt_test): Use END macro without arguments.
51022 (ccos_test): Use END_COMPLEX macro without arguments.
51023 (ccosh_test): Likewise.
51024 (ceil_test): Use END macro without arguments.
51025 (cexp_test): Use END_COMPLEX macro without arguments.
51026 (cimag_test): Use END macro without arguments.
51027 (clog_test): Use END_COMPLEX macro without arguments.
51028 (clog10_test): Likewise.
51029 (conj_test): Likewise.
51030 (copysign_test): Use END macro without arguments.
51031 (cos_test): Likewise.
51032 (cos_test_tonearest): Likewise.
51033 (cos_test_towardzero): Likewise.
51034 (cos_test_downward): Likewise.
51035 (cos_test_upward): Likewise.
51036 (cosh_test): Likewise.
51037 (cosh_test_tonearest): Likewise.
51038 (cosh_test_towardzero): Likewise.
51039 (cosh_test_downward): Likewise.
51040 (cosh_test_upward): Likewise.
51041 (cpow_test): Use END_COMPLEX macro without arguments.
51042 (cproj_test): Likewise.
51043 (creal_test): Use END macro without arguments.
51044 (csin_test): Use END_COMPLEX macro without arguments.
51045 (csinh_test): Likewise.
51046 (csqrt_test): Likewise.
51047 (ctan_test): Likewise.
51048 (ctan_test_tonearest): Likewise.
51049 (ctan_test_towardzero): Likewise.
51050 (ctan_test_downward): Likewise.
51051 (ctan_test_upward): Likewise.
51052 (ctanh_test): Likewise.
51053 (ctanh_test_tonearest): Likewise.
51054 (ctanh_test_towardzero): Likewise.
51055 (ctanh_test_downward): Likewise.
51056 (ctanh_test_upward): Likewise.
51057 (erf_test): Use END macro without arguments.
51058 (erfc_test): Likewise.
51059 (exp_test): Likewise.
51060 (exp_test_tonearest): Likewise.
51061 (exp_test_towardzero): Likewise.
51062 (exp_test_downward): Likewise.
51063 (exp_test_upward): Likewise.
51064 (exp10_test): Likewise.
51065 (exp2_test): Likewise.
51066 (expm1_test): Likewise.
51067 (fabs_test): Likewise.
51068 (fdim_test): Likewise.
51069 (finite_test): Likewise.
51070 (floor_test): Likewise.
51071 (fma_test): Likewise.
51072 (fma_test_towardzero): Likewise.
51073 (fma_test_downward): Likewise.
51074 (fma_test_upward): Likewise.
51075 (fmax_test): Likewise.
51076 (fmin_test): Likewise.
51077 (fmod_test): Likewise.
51078 (fpclassify_test): Likewise.
51079 (frexp_test): Likewise.
51080 (gamma_test): Likewise.
51081 (hypot_test): Likewise.
51082 (ilogb_test): Likewise.
51083 (isfinite_test): Likewise.
51084 (isgreater_test): Likewise.
51085 (isgreaterequal_test): Likewise.
51086 (isinf_test): Likewise.
51087 (isless_test): Likewise.
51088 (islessequal_test): Likewise.
51089 (islessgreater_test): Likewise.
51090 (isnan_test): Likewise.
51091 (isnormal_test): Likewise.
51092 (issignaling_test): Likewise.
51093 (isunordered_test): Likewise.
51094 (j0_test): Likewise.
51095 (j1_test): Likewise.
51096 (jn_test): Likewise.
51097 (ldexp_test): Likewise.
51098 (lgamma_test): Likewise.
51099 (lrint_test): Likewise.
51100 (lrint_test_tonearest): Likewise.
51101 (lrint_test_towardzero): Likewise.
51102 (lrint_test_downward): Likewise.
51103 (lrint_test_upward): Likewise.
51104 (llrint_test): Likewise.
51105 (llrint_test_tonearest): Likewise.
51106 (llrint_test_towardzero): Likewise.
51107 (llrint_test_downward): Likewise.
51108 (llrint_test_upward): Likewise.
51109 (log_test): Likewise.
51110 (log10_test): Likewise.
51111 (log1p_test): Likewise.
51112 (log2_test): Likewise.
51113 (logb_test): Likewise.
51114 (logb_test_downward): Likewise.
51115 (lround_test): Likewise.
51116 (llround_test): Likewise.
51117 (modf_test): Likewise.
51118 (nearbyint_test): Likewise.
51119 (nextafter_test): Likewise.
51120 (nexttoward_test): Likewise.
51121 (pow_test): Likewise.
51122 (pow_test_tonearest): Likewise.
51123 (pow_test_towardzero): Likewise.
51124 (pow_test_downward): Likewise.
51125 (pow_test_upward): Likewise.
51126 (remainder_test): Likewise.
51127 (remainder_test_tonearest): Likewise.
51128 (remainder_test_towardzero): Likewise.
51129 (remainder_test_downward): Likewise.
51130 (remainder_test_upward): Likewise.
51131 (remquo_test): Likewise.
51132 (rint_test): Likewise.
51133 (rint_test_tonearest): Likewise.
51134 (rint_test_towardzero): Likewise.
51135 (rint_test_downward): Likewise.
51136 (rint_test_upward): Likewise.
51137 (round_test): Likewise.
51138 (scalb_test): Likewise.
51139 (scalbn_test): Likewise.
51140 (scalbln_test): Likewise.
51141 (signbit_test): Likewise.
51142 (sin_test): Likewise.
51143 (sin_test_tonearest): Likewise.
51144 (sin_test_towardzero): Likewise.
51145 (sin_test_downward): Likewise.
51146 (sin_test_upward): Likewise.
51147 (sincos_test): Likewise.
51148 (sinh_test): Likewise.
51149 (sinh_test_tonearest): Likewise.
51150 (sinh_test_towardzero): Likewise.
51151 (sinh_test_downward): Likewise.
51152 (sinh_test_upward): Likewise.
51153 (sqrt_test): Likewise.
51154 (tan_test): Likewise.
51155 (tan_test_tonearest): Likewise.
51156 (tan_test_towardzero): Likewise.
51157 (tan_test_downward): Likewise.
51158 (tan_test_upward): Likewise.
51159 (tanh_test): Likewise.
51160 (tgamma_test): Likewise.
51161 (trunc_test): Likewise.
51162 (y0_test): Likewise.
51163 (y1_test): Likewise.
51164 (yn_test): Likewise.
51165 (significand_test): Likewise.
51166
51167 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
51168
51169 [BZ #15381]
51170 * libio/genops.c (_IO_no_init): Initialize wide struct info.
51171
51172 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
51173
51174 [BZ #14894]
51175 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51176 __ppc_mdoio and __ppc_mdoom.
51177 * manual/platform.texi: Document new functions __ppc_yield,
51178 __ppc_mdoio and __ppc_mdoom.
51179
51180 2013-05-22 Carlos O'Donell <carlos@redhat.com>
51181
51182 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51183 (main): Mention "tls" pseudo-hwcap is legacy.
51184 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51185
51186 2013-05-22 Joseph Myers <joseph@codesourcery.com>
51187
51188 * math/gen-libm-test.pl (parse_args): Output only string of
51189 arguments as text for test name, not full call or descriptions of
51190 tests for extra outputs.
51191 (generate_testfile): Do not pass function name to parse_args.
51192 Generate this_func variable from START.
51193 * math/libm-test.inc (struct test_f_f_data): Rename test_name
51194 field to arg_str.
51195 (struct test_ff_f_data): Likewise.
51196 (test_ff_f_data_nexttoward): Likewise.
51197 (struct test_fi_f_data): Likewise.
51198 (struct test_fl_f_data): Likewise.
51199 (struct test_if_f_data): Likewise.
51200 (struct test_fff_f_data): Likewise.
51201 (struct test_c_f_data): Likewise.
51202 (struct test_f_f1_data): Likewise. Remove field extra_name.
51203 (struct test_fF_f1_data): Likewise.
51204 (struct test_ffI_f1_data): Likewise.
51205 (struct test_c_c_data): Rename test_name field to arg_str.
51206 (struct test_cc_c_data): Likewise.
51207 (struct test_f_i_data): Likewise.
51208 (struct test_ff_i_data): Likewise.
51209 (struct test_f_l_data): Likewise.
51210 (struct test_f_L_data): Likewise.
51211 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
51212 and extra2_name.
51213 (COMMON_TEST_SETUP): New macro.
51214 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51215 (COMMON_TEST_CLEANUP): Likewise.
51216 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51217 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
51218 macros.
51219 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51220 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
51221 macros.
51222 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51223 (RUN_TEST_fff_f): Take argument string. Call new setup and
51224 cleanup macros.
51225 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51226 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
51227 macros.
51228 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51229 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
51230 macros.
51231 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51232 (RUN_TEST_fF_f1): Take argument string. Call new setup and
51233 cleanup macros.
51234 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51235 (RUN_TEST_fI_f1): Take argument string. Call new setup and
51236 cleanup macros.
51237 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51238 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
51239 cleanup macros.
51240 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51241 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
51242 macros.
51243 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51244 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
51245 macros.
51246 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51247 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
51248 macros.
51249 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51250 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
51251 cleanup macros.
51252 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51253 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
51254 cleanup macros.
51255 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51256 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
51257 macros.
51258 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51259 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
51260 cleanup macros.
51261 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51262 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
51263 macros.
51264 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51265 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
51266 macros.
51267 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51268 (RUN_TEST_fFF_11): Take argument string. Call new setup and
51269 cleanup macros.
51270 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51271
51272 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
51273
51274 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51275 to _sifields.sigfault.
51276 (si_addr_lsb): Define new macro.
51277 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51278 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51280
51281 2013-05-03 Carlos O'Donell <carlos at redhat.com>
51282
51283 [BZ #15441]
51284 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51285 returns -1.
51286 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51287 null return -1.
51288 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51289 loading the domain.
51290
51291 2013-05-22 Joseph Myers <joseph@codesourcery.com>
51292
51293 * math/gen-libm-test.pl (parse_args): Do not include expected
51294 result in test name.
51295 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51297 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51299 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51301
51302 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51303
51304 * benchtests/Makefile: Sort function entries.
51305
51306 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51307 tanh, asinh, acosh, atanh.
51308 * benchtests/acos-inputs: New file.
51309 * benchtests/acosh-inputs: New file.
51310 * benchtests/asin-inputs: New file.
51311 * benchtests/asinh-inputs: New file.
51312 * benchtests/atanh-inputs: New file.
51313 * benchtests/cosh-inputs: New file.
51314 * benchtests/log-inputs: New file.
51315 * benchtests/sinh-inputs: New file.
51316 * benchtests/tanh-inputs: New file.
51317
51318 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
51319
51320 [BZ #15339]
51321 * posix/tst-getaddrinfo4.c: New test.
51322 * posix/Makefile (tests): Add it.
51323
51324 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51325
51326 [BZ #15339]
51327 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51328 when no services were used.
51329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51330 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51331
51332 2013-05-21 Andreas Schwab <schwab@suse.de>
51333
51334 [BZ #15014]
51335 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51336 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51337 successful.
51338 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51339 redundant variable declarations and reallocation of buffer when
51340 parsing as IPv6 address. Always set NSS status when called from
51341 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
51342 buffer too small. Correct computation of needed size.
51343 * nss/Makefile (tests): Add test-digits-dots.
51344 * nss/test-digits-dots.c: New test.
51345
51346 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
51347
51348 * benchtests/Makefile: Remove instructions for adding
51349 benchmark tests.
51350 * benchtests/README: New file to explain how to execute and
51351 enhance the benchmark tests.
51352
51353 2013-05-21 Andreas Schwab <schwab@suse.de>
51354
51355 [BZ #15493]
51356 * setjmp/Makefile (tests): Add tst-sigsetjmp.
51357 * setjmp/tst-sigsetjmp.c: New test.
51358
51359 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
51360
51361 * sysdeps/x86_64/memset.S (memset): New implementation.
51362 (__bzero): Likewise.
51363 (__memset_tail): New function.
51364
51365 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
51366
51367 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51368 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51369 __memcpy_sse2_unaligned ifunc selection.
51370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51371 Add memcpy-sse2-unaligned.S.
51372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51373 Add: __memcpy_sse2_unaligned.
51374
51375 2013-05-19 Joseph Myers <joseph@codesourcery.com>
51376
51377 [BZ #15490]
51378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51379 math_force_eval before restoring floating-point envrionment.
51380 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51382 Likewise.
51383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51384 <math_private.h>.
51385 (__nearbyintl): Use math_force_eval before restoring
51386 floating-point environment.
51387 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51388
51389 * math/gen-libm-test.pl (special_functions): Remove.
51390 (parse_args): Don't handle TEST_extra. Handle functions with no
51391 return value.
51392 * math/libm-test.inc (struct test_sincos_data): Replace with
51393 struct test_fFF_11_data.
51394 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51395 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51396 (sincos_test_data): Change element type to struct
51397 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
51398 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51399 RUN_TEST_LOOP_sincos.
51400 * math/README.libm-test: Don't mention special handling of
51401 individual functions.
51402 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51408
51409 * math/gen-libm-test.pl (get_variable): Remove function.
51410 (parse_args): Don't show pointer parameters to call in test
51411 names. Use "extra output N" in test names for extra outputs
51412 rather than naming variables.
51413
51414 2013-05-18 Joseph Myers <joseph@codesourcery.com>
51415
51416 [BZ #15488]
51417 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51418 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51419 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51420 double tests.
51421 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51422 disable.
51423 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51424 check_long_double.
51425
51426 * math/gen-libm-test.pl (@tests): Remove variable.
51427 ($count): Likewise.
51428 (new_test): Remove function.
51429 (show_exceptions): New function.
51430 (special_functions): Use show_exceptions instead of new_test.
51431 (parse_args): Likewise.
51432 (generate_testfile): Pass only function name in generated call to
51433 print_max_error or print_complex_max_error.
51434 (get_ulps): Do not handle complex tests specially.
51435 (output_test): Rename to ...
51436 (get_all_ulps_for_test): ... this. Return a string rather than
51437 printing to a file. Require ulps to be present.
51438 (output_ulps): Generate arrays rather than #defines.
51439 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51440 (struct ulp_data): New type.
51441 (BUILD_COMPLEX_ULP): Remove macro.
51442 (compare_ulp_data): New function.
51443 (find_ulps): Likewise.
51444 (find_test_ulps): Likewise.
51445 (find_function_ulps): Likewise.
51446 (find_complex_function_ulps): Likewise.
51447 (print_max_error): Determine allowed ulps using
51448 find_function_ulps.
51449 (print_complex_max_error): Determine allowed ulps using
51450 find_complex_function_ulps.
51451 (check_float_internal): Determine max ulps using find_test_ulps.
51452 (check_float): Do not take max_ulp parameter. Update call to
51453 check_float_internal.
51454 (check_complex): Likewise.
51455 (check_int): Do not take max_ulp parameter.
51456 (check_long): Likewise.
51457 (check_bool): Likewise.
51458 (check_longlong): Likewise.
51459 (struct test_f_f_data): Remove max_ulp field.
51460 (struct test_ff_f_data): Likewise.
51461 (struct test_ff_f_data_nexttoward): Likewise.
51462 (struct test_fi_f_data): Likewise.
51463 (struct test_fl_f_data): Likewise.
51464 (struct test_if_f_data): Likewise.
51465 (struct test_fff_f_data): Likewise.
51466 (struct test_c_f_data): Likewise.
51467 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51468 (struct test_fF_f1_data): Likewise.
51469 (struct test_ffI_f1_data): Likewise.
51470 (struct test_c_c_data): Remove max_ulp field.
51471 (struct test_cc_c_data): Likewise.
51472 (struct test_f_i_data): Likewise.
51473 (struct test_ff_i_data): Likewise.
51474 (struct test_f_l_data): Likewise.
51475 (struct test_f_L_data): Likewise.
51476 (struct test_sincos_data): Likewise.
51477 (RUN_TEST_f_f): Do not handle ulps.
51478 (RUN_TEST_LOOP_f_f): Likewise.
51479 (RUN_TEST_2_f): Likewise.
51480 (RUN_TEST_LOOP_2_f): Likewise.
51481 (RUN_TEST_fff_f): Likewise.
51482 (RUN_TEST_LOOP_fff_f): Likewise.
51483 (RUN_TEST_c_f): Likewise.
51484 (RUN_TEST_LOOP_c_f): Likewise.
51485 (RUN_TEST_f_f1): Likewise.
51486 (RUN_TEST_LOOP_f_f1): Likewise.
51487 (RUN_TEST_fF_f1): Likewise.
51488 (RUN_TEST_LOOP_fF_f1): Likewise.
51489 (RUN_TEST_fI_f1): Likewise.
51490 (RUN_TEST_LOOP_fI_f1): Likewise.
51491 (RUN_TEST_ffI_f1): Likewise.
51492 (RUN_TEST_LOOP_ffI_f1): Likewise.
51493 (RUN_TEST_c_c): Likewise.
51494 (RUN_TEST_LOOP_c_c): Likewise.
51495 (RUN_TEST_cc_c): Likewise.
51496 (RUN_TEST_LOOP_cc_c): Likewise.
51497 (RUN_TEST_f_i): Likewise.
51498 (RUN_TEST_LOOP_f_i): Likewise.
51499 (RUN_TEST_f_i_tg): Likewise.
51500 (RUN_TEST_LOOP_f_i_tg): Likewise.
51501 (RUN_TEST_ff_i_tg): Likewise.
51502 (RUN_TEST_LOOP_ff_i_tg): Likewise.
51503 (RUN_TEST_f_b): Likewise.
51504 (RUN_TEST_LOOP_f_b): Likewise.
51505 (RUN_TEST_f_b_tg): Likewise.
51506 (RUN_TEST_LOOP_f_b_tg): Likewise.
51507 (RUN_TEST_f_l): Likewise.
51508 (RUN_TEST_LOOP_f_l): Likewise.
51509 (RUN_TEST_f_L): Likewise.
51510 (RUN_TEST_LOOP_f_L): Likewise.
51511 (RUN_TEST_sincos): Likewise.
51512 (RUN_TEST_LOOP_sincos): Likewise.
51513
51514 2013-05-17 Joseph Myers <joseph@codesourcery.com>
51515
51516 [BZ #15480]
51517 [BZ #15485]
51518 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51519 main case of finite arguments, set rounding mode to FE_TONEAREST
51520 and discard exceptions.
51521 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51522 exceptions.
51523 (remainder_tonearest_test_data): New variable.
51524 (remainder_test_tonearest): New function.
51525 (remainder_towardzero_test_data): New variable.
51526 (remainder_test_towardzero): New function.
51527 (remainder_downward_test_data): New variable.
51528 (remainder_test_downward): New function.
51529 (remainder_upward_test_data): New variable.
51530 (remainder_test_upward): New function.
51531 (main): Call the new test functions.
51532
51533 * math/libm-test.inc (struct test_f_f1_data): Remove field
51534 extra_init.
51535 (struct test_fF_f1_data): Likewise.
51536 (struct test_ffI_f1_data): Likewise.
51537 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
51538 based on value of EXTRA_EXPECTED.
51539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51540 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
51541 EXTRA_VAR based on value of EXTRA_EXPECTED.
51542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51543 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
51544 EXTRA_VAR based on value of EXTRA_EXPECTED.
51545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51546 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
51547 EXTRA_VAR based on value of EXTRA_EXPECTED.
51548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51549 * math/gen-libm-test.pl (parse_args): Don't output initializers
51550 for extra output values.
51551
51552 * math/libm-test.inc (check_int): Expect result to be exactly
51553 equal to expected value and do not handle ulps.
51554 (check_long): Likewise.
51555 (check_longlong): Likewise.
51556
51557 * math/libm-test.inc (ceil_test_data): Test for "inexact"
51558 exceptions.
51559 (cimag_test_data): Likewise.
51560 (conj_test_data): Likewise.
51561 (copysign_test_data): Likewise.
51562 (cproj_test_data): Likewise.
51563 (creal_test_data): Likewise.
51564 (fabs_test_data): Likewise.
51565 (fdim_test_data): Likewise.
51566 (finite_test_data): Likewise.
51567 (floor_test_data): Likewise.
51568 (fmax_test_data): Likewise.
51569 (fmin_test_data): Likewise.
51570 (fmod_test_data): Likewise.
51571 (fpclassify_test_data): Likewise.
51572 (frexp_test_data): Likewise.
51573 (ilogb_test_data): Likewise.
51574 (isfinite_test_data): Likewise.
51575 (isgreater_test_data): Likewise.
51576 (isgreaterequal_test_data): Likewise.
51577 (isinf_test_data): Likewise.
51578 (isless_test_data): Likewise.
51579 (islessequal_test_data): Likewise.
51580 (islessgreater_test_data): Likewise.
51581 (isnan_test_data): Likewise.
51582 (isnormal_test_data): Likewise.
51583 (issignaling_test_data): Likewise.
51584 (isunordered_test_data): Likewise.
51585 (ldexp_test_data): Likewise.
51586 (lrint_test_data): Likewise.
51587 (lrint_test_data) [TEST_FLOAT]: Disable one test.
51588 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51589 (lrint_tonearest_test_data): Test for "inexact" exceptions.
51590 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51591 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51592 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51593 test input.
51594 (lrint_towardzero_test_data): Test for "inexact" exceptions.
51595 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51596 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51597 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51598 that test input.
51599 (lrint_downward_test_data): Test for "inexact" exceptions.
51600 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51601 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51602 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51603 test input.
51604 (lrint_upward_test_data): Test for "inexact" exceptions.
51605 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51606 test input.
51607 (llrint_test_data): Test for "inexact" exceptions.
51608 (llrint_test_data) [TEST_FLOAT]: Disable one test.
51609 (llrint_tonearest_test_data): Test for "inexact" exceptions.
51610 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51611 (llrint_towardzero_test_data): Test for "inexact" exceptions.
51612 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51613 (llrint_downward_test_data): Test for "inexact" exceptions.
51614 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51615 (llrint_upward_test_data): Test for "inexact" exceptions.
51616 (logb_test_data): Likewise.
51617 (logb_downward_test_data): Likewise.
51618 (nextafter_test_data): Likewise.
51619 (nexttoward_test_data): Likewise.
51620 (remainder_test_data): Likewise.
51621 (remquo_test_data): Likewise.
51622 (scalbn_test_data): Likewise.
51623 (scalbln_test_data): Likewise.
51624 (signbit_test_data): Likewise.
51625 (sqrt_test_data): Likewise.
51626 (significand_test_data): Likewise.
51627
51628 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
51629
51630 [BZ #15424]
51631 * benchtests/bench-modf.c (struct args): Mark arg0 as
51632 volatile.
51633 * scripts/bench.pl: Mark members of struct args as volatile.
51634
51635 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51636
51637 [BZ # 15497]
51638 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51639 negative infinity on POWER6 or lower.
51640 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51641
51642 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51643
51644 [BZ #15442]
51645 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51646 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51647 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51648 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51649 (_FP_SETQNAN): New macro.
51650 (_FP_SETQNAN_SEMIRAW): Likewise.
51651 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51652 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51653 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51654 (FP_EXTEND): Use _FP_FRAC_SNANP.
51655 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51656 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51657 into account.
51658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51659 New macro.
51660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51661 Likewise.
51662
51663 2013-05-16 Joseph Myers <joseph@codesourcery.com>
51664
51665 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51666 with DIVIDE_BY_ZERO_EXCEPTION.
51667 (gamma_test_data): Likewise.
51668 (lgamma_test_data): Likewise.
51669 (log_test_data): Likewise.
51670 (log10_test_data): Likewise.
51671 (log2_test_data): Likewise.
51672 (tgamma_test_data): Likewise.
51673
51674 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51675 (acos_test_tonearest): Likewise.
51676 (acos_test_towardzero): Likewise.
51677 (acos_test_downward): Likewise.
51678 (acos_test_upward): Likewise.
51679 (acosh_test): Likewise.
51680 (asin_test): Likewise.
51681 (asin_test_tonearest): Likewise.
51682 (asin_test_towardzero): Likewise.
51683 (asin_test_downward): Likewise.
51684 (asin_test_upward): Likewise.
51685 (asinh_test): Likewise.
51686 (atan_test): Likewise.
51687 (atanh_test): Likewise.
51688 (atan2_test): Likewise.
51689 (cabs_test): Likewise.
51690 (cacos_test): Likewise.
51691 (cacosh_test): Likewise.
51692 (casin_test): Likewise.
51693 (casinh_test): Likewise.
51694 (catan_test): Likewise.
51695 (catanh_test): Likewise.
51696 (cbrt_test): Likewise.
51697 (ccos_test): Likewise.
51698 (ccosh_test): Likewise.
51699 (cexp_test): Likewise.
51700 (clog_test): Likewise.
51701 (clog10_test): Likewise.
51702 (cos_test): Likewise.
51703 (cos_test_tonearest): Likewise.
51704 (cos_test_towardzero): Likewise.
51705 (cos_test_downward): Likewise.
51706 (cos_test_upward): Likewise.
51707 (cosh_test): Likewise.
51708 (cosh_test_tonearest): Likewise.
51709 (cosh_test_towardzero): Likewise.
51710 (cosh_test_downward): Likewise.
51711 (cosh_test_upward): Likewise.
51712 (cpow_test): Likewise.
51713 (csin_test): Likewise.
51714 (csinh_test): Likewise.
51715 (csqrt_test): Likewise.
51716 (ctan_test): Likewise.
51717 (ctan_test_tonearest): Likewise.
51718 (ctan_test_towardzero): Likewise.
51719 (ctan_test_downward): Likewise.
51720 (ctan_test_upward): Likewise.
51721 (ctanh_test): Likewise.
51722 (ctanh_test_tonearest): Likewise.
51723 (ctanh_test_towardzero): Likewise.
51724 (ctanh_test_downward): Likewise.
51725 (ctanh_test_upward): Likewise.
51726 (erf_test): Likewise.
51727 (erfc_test): Likewise.
51728 (exp_test): Likewise.
51729 (exp_test_tonearest): Likewise.
51730 (exp_test_towardzero): Likewise.
51731 (exp_test_downward): Likewise.
51732 (exp_test_upward): Likewise.
51733 (exp10_test): Likewise.
51734 (exp2_test): Likewise.
51735 (expm1_test): Likewise.
51736 (fmod_test): Likewise.
51737 (gamma_test): Likewise.
51738 (hypot_test): Likewise.
51739 (j0_test): Likewise.
51740 (j1_test): Likewise.
51741 (jn_test): Likewise.
51742 (lgamma_test): Likewise.
51743 (log_test): Likewise.
51744 (log10_test): Likewise.
51745 (log1p_test): Likewise.
51746 (log2_test): Likewise.
51747 (logb_test_downward): Likewise.
51748 (pow_test): Likewise.
51749 (pow_test_tonearest): Likewise.
51750 (pow_test_towardzero): Likewise.
51751 (pow_test_downward): Likewise.
51752 (pow_test_upward): Likewise.
51753 (remainder_test): Likewise.
51754 (remquo_test): Likewise.
51755 (sin_test): Likewise.
51756 (sin_test_tonearest): Likewise.
51757 (sin_test_towardzero): Likewise.
51758 (sin_test_downward): Likewise.
51759 (sin_test_upward): Likewise.
51760 (sincos_test): Likewise.
51761 (sinh_test): Likewise.
51762 (sinh_test_tonearest): Likewise.
51763 (sinh_test_towardzero): Likewise.
51764 (sinh_test_downward): Likewise.
51765 (sinh_test_upward): Likewise.
51766 (sqrt_test): Likewise.
51767 (tan_test): Likewise.
51768 (tan_test_tonearest): Likewise.
51769 (tan_test_towardzero): Likewise.
51770 (tan_test_downward): Likewise.
51771 (tan_test_upward): Likewise.
51772 (tanh_test): Likewise.
51773 (tgamma_test): Likewise.
51774 (y0_test): Likewise.
51775 (y1_test): Likewise.
51776 (yn_test): Likewise.
51777
51778 * math/gen-libm-test.pl (adjust_arg): Remove function.
51779 (special_function): Remove argument $in_func. Only handle
51780 generating output for tables of tests, not inside functions.
51781 (parse_args): Likewise.
51782 (generate_testfile): Remove variable $in_func. Update call to
51783 parse_args.
51784 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51785 (MINUS_ZERO_INIT): Rename macro to minus_zero.
51786 (PLUS_INFTY_INIT): Rename macro to plus_infty.
51787 (MINUS_INFTY_INIT): Rename macro to minus_infty.
51788 (QNAN_VALUE_INIT): Rename macro to qnan_value.
51789 (MAX_VALUE_INIT): Rename macro to max_value.
51790 (MIN_VALUE_INIT): Rename macro to min_value.
51791 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51792 (plus_zero): Remove variable.
51793 (minus_zero): Likewise.
51794 (plus_infty): Likewise.
51795 (minus_infty): Likewise.
51796 (qnan_value): Likewise.
51797 (max_value): Likewise.
51798 (min_value): Likewise.
51799 (min_subnorm_value): Likewise.
51800
51801 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
51802
51803 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51804 uint64_t or uint32_t usage.
51805 * crypt/sha256-block.c: Likewise.
51806 * crypt/sha256-crypt.c: Likewise.
51807 * crypt/sha256.c: Likewise.
51808 * crypt/sha512-block.c: Likewise.
51809 * crypt/sha512-crypt.c: Likewise.
51810 * crypt/sha512.c: Likewise.
51811 * debug/backtrace-tst.c: Likewise.
51812 * debug/pcprofiledump.c: Likewise.
51813 * elf/cache.c: Likewise.
51814 * elf/dl-cache.c: Likewise.
51815 * elf/dl-misc.c: Likewise.
51816 * elf/dl-profile.c: Likewise.
51817 * elf/dl-support.c: Likewise.
51818 * elf/ldconfig.c: Likewise.
51819 * elf/sprof.c: Likewise.
51820 * iconv/dummy-repertoire.c: Likewise.
51821 * iconv/iconv_charmap.c: Likewise.
51822 * iconv/skeleton.c: Likewise.
51823 * iconvdata/8bit-generic.c: Likewise.
51824 * iconvdata/cp737.h: Likewise.
51825 * iconvdata/cp775.h: Likewise.
51826 * iconvdata/ibm1008.h: Likewise.
51827 * iconvdata/ibm1025.h: Likewise.
51828 * iconvdata/ibm1046.h: Likewise.
51829 * iconvdata/ibm1097.h: Likewise.
51830 * iconvdata/ibm1112.h: Likewise.
51831 * iconvdata/ibm1122.h: Likewise.
51832 * iconvdata/ibm1123.h: Likewise.
51833 * iconvdata/ibm1124.h: Likewise.
51834 * iconvdata/ibm1129.h: Likewise.
51835 * iconvdata/ibm1130.h: Likewise.
51836 * iconvdata/ibm1132.h: Likewise.
51837 * iconvdata/ibm1133.h: Likewise.
51838 * iconvdata/ibm1137.h: Likewise.
51839 * iconvdata/ibm1140.h: Likewise.
51840 * iconvdata/ibm1141.h: Likewise.
51841 * iconvdata/ibm1142.h: Likewise.
51842 * iconvdata/ibm1143.h: Likewise.
51843 * iconvdata/ibm1144.h: Likewise.
51844 * iconvdata/ibm1145.h: Likewise.
51845 * iconvdata/ibm1146.h: Likewise.
51846 * iconvdata/ibm1147.h: Likewise.
51847 * iconvdata/ibm1148.h: Likewise.
51848 * iconvdata/ibm1149.h: Likewise.
51849 * iconvdata/ibm1153.h: Likewise.
51850 * iconvdata/ibm1154.h: Likewise.
51851 * iconvdata/ibm1155.h: Likewise.
51852 * iconvdata/ibm1156.h: Likewise.
51853 * iconvdata/ibm1157.h: Likewise.
51854 * iconvdata/ibm1158.h: Likewise.
51855 * iconvdata/ibm1160.h: Likewise.
51856 * iconvdata/ibm1161.h: Likewise.
51857 * iconvdata/ibm1162.h: Likewise.
51858 * iconvdata/ibm1163.h: Likewise.
51859 * iconvdata/ibm1164.h: Likewise.
51860 * iconvdata/ibm1166.h: Likewise.
51861 * iconvdata/ibm1167.h: Likewise.
51862 * iconvdata/ibm12712.h: Likewise.
51863 * iconvdata/ibm1390.h: Likewise.
51864 * iconvdata/ibm1399.h: Likewise.
51865 * iconvdata/ibm16804.h: Likewise.
51866 * iconvdata/ibm4517.h: Likewise.
51867 * iconvdata/ibm4899.h: Likewise.
51868 * iconvdata/ibm4909.h: Likewise.
51869 * iconvdata/ibm4971.h: Likewise.
51870 * iconvdata/ibm5347.h: Likewise.
51871 * iconvdata/ibm803.h: Likewise.
51872 * iconvdata/ibm856.h: Likewise.
51873 * iconvdata/ibm901.h: Likewise.
51874 * iconvdata/ibm902.h: Likewise.
51875 * iconvdata/ibm9030.h: Likewise.
51876 * iconvdata/ibm9066.h: Likewise.
51877 * iconvdata/ibm921.h: Likewise.
51878 * iconvdata/ibm922.h: Likewise.
51879 * iconvdata/ibm9448.h: Likewise.
51880 * iconvdata/isiri-3342.h: Likewise.
51881 * iconvdata/jis0201.h: Likewise.
51882 * include/link.h: Likewise.
51883 * include/netdb.h: Likewise.
51884 * inet/check_native.c: Likewise.
51885 * inet/check_pf.c: Likewise.
51886 * inet/getipv4sourcefilter.c: Likewise.
51887 * inet/getnameinfo.c: Likewise.
51888 * inet/getsourcefilter.c: Likewise.
51889 * inet/htonl.c: Likewise.
51890 * inet/setipv4sourcefilter.c: Likewise.
51891 * inet/setsourcefilter.c: Likewise.
51892 * inet/test-inet6_opt.c: Likewise.
51893 * inet/tst-network.c: Likewise.
51894 * locale/C-collate.c: Likewise.
51895 * locale/C-ctype.c: Likewise.
51896 * locale/C-time.c: Likewise.
51897 * locale/C-translit.h: Likewise.
51898 * locale/loadarchive.c: Likewise.
51899 * locale/programs/3level.h: Likewise.
51900 * locale/programs/charmap.c: Likewise.
51901 * locale/programs/charmap.h: Likewise.
51902 * locale/programs/ld-address.c: Likewise.
51903 * locale/programs/ld-collate.c: Likewise.
51904 * locale/programs/ld-ctype.c: Likewise.
51905 * locale/programs/ld-identification.c: Likewise.
51906 * locale/programs/ld-measurement.c: Likewise.
51907 * locale/programs/ld-messages.c: Likewise.
51908 * locale/programs/ld-monetary.c: Likewise.
51909 * locale/programs/ld-name.c: Likewise.
51910 * locale/programs/ld-numeric.c: Likewise.
51911 * locale/programs/ld-paper.c: Likewise.
51912 * locale/programs/ld-telephone.c: Likewise.
51913 * locale/programs/ld-time.c: Likewise.
51914 * locale/programs/linereader.c: Likewise.
51915 * locale/programs/locale.c: Likewise.
51916 * locale/programs/locarchive.c: Likewise.
51917 * locale/programs/locfile.h: Likewise.
51918 * locale/programs/repertoire.c: Likewise.
51919 * locale/programs/simple-hash.c: Likewise.
51920 * locale/programs/simple-hash.h: Likewise.
51921 * malloc/memusage.c: Likewise.
51922 * malloc/memusagestat.c: Likewise.
51923 * nis/nis_defaults.c: Likewise.
51924 * nis/nis_hash.c: Likewise.
51925 * nis/nis_print.c: Likewise.
51926 * nis/nis_xdr.c: Likewise.
51927 * nscd/connections.c: Likewise.
51928 * nscd/hstcache.c: Likewise.
51929 * nscd/nscd_gethst_r.c: Likewise.
51930 * nscd/nscd_getserv_r.c: Likewise.
51931 * nscd/nscd_helper.c: Likewise.
51932 * nscd/servicescache.c: Likewise.
51933 * nss/makedb.c: Likewise.
51934 * nss/nss_db/db-XXX.c: Likewise.
51935 * nss/nss_db/db-initgroups.c: Likewise.
51936 * nss/nss_db/db-netgrp.c: Likewise.
51937 * nss/nss_files/files-network.c: Likewise.
51938 * nss/nss_files/files-parse.c: Likewise.
51939 * posix/bug-regex5.c: Likewise.
51940 * posix/fnmatch_loop.c: Likewise.
51941 * posix/regcomp.c: Likewise.
51942 * posix/regexec.c: Likewise.
51943 * posix/tst-rfc3484-2.c: Likewise.
51944 * posix/tst-rfc3484-3.c: Likewise.
51945 * posix/tst-rfc3484.c: Likewise.
51946 * resolv/nss_dns/dns-canon.c: Likewise.
51947 * resolv/nss_dns/dns-network.c: Likewise.
51948 * resolv/res_init.c: Likewise.
51949 * resolv/res_mkquery.c: Likewise.
51950 * resolv/tst-aton.c: Likewise.
51951 * stdlib/cxa_atexit.c: Likewise.
51952 * stdlib/cxa_finalize.c: Likewise.
51953 * stdlib/gen-fpioconst.c: Likewise.
51954 * stdlib/strtol_l.c: Likewise.
51955 * string/tst-endian.c: Likewise.
51956 * sunrpc/auth_des.c: Likewise.
51957 * sunrpc/clnt_udp.c: Likewise.
51958 * sunrpc/rtime.c: Likewise.
51959 * sunrpc/svcauth_des.c: Likewise.
51960 * sunrpc/xdr.c: Likewise.
51961 * sunrpc/xdr_intXX_t.c: Likewise.
51962 * sunrpc/xdr_rec.c: Likewise.
51963 * sysdeps/generic/ldconfig.h: Likewise.
51964 * sysdeps/generic/ldsodefs.h: Likewise.
51965 * sysdeps/generic/memusage.h: Likewise.
51966 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51972 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51976 * sysdeps/posix/getaddrinfo.c: Likewise.
51977 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51978 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51979 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51980 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51981 * sysdeps/powerpc/test-gettimebase.c: Likewise.
51982 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51983 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51984 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51985 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51986 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51987 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51988 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51989 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51990 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51991 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51992 * sysdeps/x86_64/dl-tls.h: Likewise.
51993 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51994 * time/alt_digit.c: Likewise.
51995 * time/era.c: Likewise.
51996 * wcsmbs/tst-c16c32-1.c: Likewise.
51997
51998 2013-05-16 Joseph Myers <joseph@codesourcery.com>
51999
52000 * math/libm-test.inc (struct test_sincos_data): New type.
52001 (RUN_TEST_LOOP_sincos): New macro.
52002 (sincos_test_data): New variable.
52003 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52004
52005 2013-05-16 Richard Henderson <rth@redhat.com>
52006
52007 * math/atest-exp2.c (LIMB64): New macro.
52008 (CONSTSZ): New macro.
52009 (mp_exp1, mp_exp_m1, mp_log2): New variables.
52010 (hexdig): Move ...
52011 (print_mpn_fp): ... to function scope.
52012 (read_mpn_hex): Remove.
52013 (get_log2): Remove.
52014 (exp2_mpn): Use mp_log2.
52015 (main): Use mp_exp1.
52016
52017 2013-05-16 Joseph Myers <joseph@codesourcery.com>
52018
52019 * math/libm-test.inc: Remove comment about not testing "inexact"
52020 exceptions.
52021 (INEXACT_EXCEPTION): New macro.
52022 (NO_INEXACT_EXCEPTION): Likewise.
52023 (INVALID_EXCEPTION_OK): Update value.
52024 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52025 (OVERFLOW_EXCEPTION_OK): Likewise.
52026 (UNDERFLOW_EXCEPTION_OK): Likewise.
52027 (IGNORE_ZERO_INF_SIGN): Likewise.
52028 (ERRNO_UNCHANGED): Likewise.
52029 (ERRNO_EDOM): Likewise.
52030 (ERRNO_ERANGE): Likewise.
52031 (test_exceptions): Handle testing "inexact" exceptions.
52032 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52033 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52034 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52035 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52036 INEXACT_EXCEPTION.
52037 (rint_towardzero_test_data): Likewise.
52038 (rint_downward_test_data): Likewise.
52039 (rint_upward_test_data): Likewise.
52040
52041 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52042 with OVERFLOW_EXCEPTION.
52043 (exp10_test_data): Likewise.
52044 (exp2_test_data): Likewise.
52045 (expm1_test_data): Likewise.
52046 (lgamma_test_data): Likewise.
52047 (pow_test_data): Likewise.
52048 (tgamma_test_data): Likewise.
52049 (yn_test_data): Remove duplicate test of overflow.
52050
52051 * math/libm-test.inc (struct test_cc_c_data): New type.
52052 (RUN_TEST_LOOP_cc_c): New macro.
52053 (cpow_test_data): New variable.
52054 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52055
52056 * math/libm-test.inc (struct test_f_L_data): New type.
52057 (RUN_TEST_LOOP_f_L): New macro.
52058 (llrint_test_data): New variable.
52059 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52060 (llrint_tonearest_test_data): New variable.
52061 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52062 (llrint_towardzero_test_data): New variable.
52063 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52064 (llrint_downward_test_data): New variable.
52065 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52066 (llrint_upward_test_data): New variable.
52067 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52068 (llround_test_data): New variable.
52069 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52070
52071 2013-05-13 Peter Collingbourne <pcc@google.com>
52072
52073 * math/atest-exp2.c (get_log2): Remove const attribute.
52074
52075 2013-05-15 Joseph Myers <joseph@codesourcery.com>
52076
52077 * math/libm-test.inc (struct test_f_l_data): New type.
52078 (RUN_TEST_LOOP_f_l): New macro.
52079 (lrint_test_data): New variable.
52080 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52081 (lrint_tonearest_test_data): New variable.
52082 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52083 (lrint_towardzero_test_data): New variable.
52084 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52085 (lrint_downward_test_data): New variable.
52086 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52087 (lrint_upward_test_data): New variable.
52088 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52089 (lround_test_data): New variable.
52090 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52091
52092 2013-05-15 Peter Collingbourne <pcc@google.com>
52093
52094 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52095 (EXTRACT_WORDS64) Use where appropriate.
52096 (INSERT_WORDS64) Likewise.
52097
52098 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52099 constraints with x constraints.
52100 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52101
52102 * malloc/obstack.c (_obstack_compat): Add initializer.
52103
52104 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
52105
52106 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52107 si_trapno and add si_addr_lsb to _sifields.sigfault.
52108 (si_trapno): Remove macro.
52109 (si_addr_lsb): Define new macro.
52110 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52111
52112 2013-05-15 Joseph Myers <joseph@codesourcery.com>
52113
52114 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52115 instead of TEST_f_l.
52116 (llrint_test_tonearest): Likewise.
52117 (llrint_test_towardzero): Likewise.
52118 (llrint_test_downward): Likewise.
52119 (llrint_test_upward): Likewise.
52120 (llround_test): Likewise.
52121
52122 * math/libm-test.inc (struct test_f_i_data): Add comment.
52123 (RUN_TEST_LOOP_f_b): New macro.
52124 (RUN_TEST_LOOP_f_b_tg): Likewise.
52125 (finite_test_data): New variable.
52126 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52127 (isfinite_test_data): New variable.
52128 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52129 (isinf_test_data): New variable.
52130 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52131 (isnan_test_data): New variable.
52132 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52133 (isnormal_test_data): New variable.
52134 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52135 (issignaling_test_data): New variable.
52136 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52137 (signbit_test_data): New variable.
52138 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52139
52140 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52141 with INVALID_EXCEPTION.
52142 (acosh_test_data): Likewise.
52143 (asin_test_data): Likewise.
52144 (atanh_test_data): Likewise.
52145 (fmod_test_data): Likewise.
52146 (log_test_data): Likewise.
52147 (log10_test_data): Likewise.
52148 (log2_test_data): Likewise.
52149 (pow_test_data): Likewise.
52150 (sqrt_test_data): Likewise.
52151 (y0_test_data): Likewise.
52152 (y1_test_data): Likewise.
52153 (yn_test_data): Likewise.
52154
52155 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52156 function contents.
52157
52158 * math/libm-test.inc (struct test_ff_i_data): New type.
52159 (RUN_TEST_LOOP_ff_i_tg): New macro.
52160 (isgreater_test_data): New variable.
52161 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52162 (isgreaterequal_test_data): New variable.
52163 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52164 (isless_test_data): New variable.
52165 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52166 (islessequal_test_data): New variable.
52167 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52168 (islessgreater_test_data): New variable.
52169 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52170 (isunordered_test_data): New variable.
52171 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52172
52173 2013-05-14 David S. Miller <davem@davemloft.net>
52174
52175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52176
52177 2013-05-14 Joseph Myers <joseph@codesourcery.com>
52178
52179 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52180
52181 * math/libm-test.inc (struct test_fF_f1_data): Change type of
52182 extra_test to int.
52183 (struct test_f_i_data): Change type of max_ulp to int.
52184
52185 * math/libm-test.inc (test_ffI_f1_data): New type.
52186 (RUN_TEST_LOOP_ffI_f1): New macro.
52187 (remquo_test_data): New variable.
52188 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52189
52190 * setjmp/tst-setjmp-fp.c: New file.
52191 * setjmp/Makefile (tests): Add tst-setjmp-fp.
52192 (link-libm): New variable.
52193 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52194
52195 * math/libm-test.inc (struct test_f_i_data): New type.
52196 (RUN_TEST_LOOP_f_i): New macro.
52197 (RUN_TEST_LOOP_f_i_tg): Likewise.
52198 (fpclassify_test_data): New variable.
52199 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52200 (ilogb_test_data): New variable.
52201 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52202
52203 * math/libm-test.inc (scalbln_test): Correct function name in END
52204 call.
52205
52206 * math/libm-test.inc (struct test_f_f1_data): Add comment.
52207 (RUN_TEST_LOOP_fI_f1): New macro.
52208 (frexp_test_data): New variable.
52209 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52210
52211 * math/libm-test.inc (struct test_fF_f1_data): New type.
52212 (RUN_TEST_LOOP_fF_f1): New macro.
52213 (modf_test_data): New variable.
52214 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52215
52216 * math/libm-test.inc (struct test_f_f1_data): New type.
52217 (RUN_TEST_LOOP_f_f1): New macro.
52218 (gamma_test_data): New variable.
52219 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52220 (lgamma_test_data): New variable.
52221 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52222
52223 2013-05-13 Carlos O'Donell <carlos@redhat.com>
52224
52225 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52226 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52227 (main): Comment "tls" pseudo-hwcap.
52228
52229 2013-05-13 Joseph Myers <joseph@codesourcery.com>
52230
52231 * math/libm-test.inc (struct test_fl_f_data): New type.
52232 (RUN_TEST_LOOP_fl_f): New variable.
52233 (scalbln_test_data): New variable.
52234 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52235
52236 * math/libm-test.inc (struct test_fi_f_data): New type.
52237 (RUN_TEST_LOOP_fi_f): New macro.
52238 (ldexp_test_data): New variable.
52239 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52240 (scalbn_test_data): New variable.
52241 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52242
52243 * math/libm-test.inc (struct test_c_f_data): New type.
52244 (RUN_TEST_LOOP_c_f): New macro.
52245 (cabs_test_data): New variable.
52246 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52247 (carg_test_data): New variable.
52248 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52249 (cimag_test_data): New variable.
52250 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52251 (creal_test_data): New variable.
52252 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52253
52254 * math/libm-test.inc (struct test_if_f_data): New type.
52255 (RUN_TEST_LOOP_if_f): New macro.
52256 (jn_test_data): New variable.
52257 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52258 (yn_test_data): New variable.
52259 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52260
52261 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52262
52263 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52264
52265 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52266 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52267
52268 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52269
52270 * benchtests/Makefile (CPPFLAGS-nonlib): Add
52271 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52272 (bench-deps): Add bench-timing.h.
52273 * benchtests-bench-skeleton.c: Include bench-timing.h.
52274 (main): Use TIMING_* macros instead of clock_gettime.
52275 * benchtests/bench-timing.h: New file.
52276
52277 [BZ #14582]
52278 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52279 Renamed from _LIB_VERSION.
52280 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52281
52282 2013-05-12 Joseph Myers <joseph@codesourcery.com>
52283
52284 * math/libm-test.inc (struct test_fff_f_data): New type.
52285 (RUN_TEST_LOOP_fff_f): New macro.
52286 (fma_test_data): New variable.
52287 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52288 (fma_towardzero_test_data): New variable.
52289 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52290 (fma_downward_test_data): New variable.
52291 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52292 (fma_upward_test_data): New variable.
52293 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52294
52295 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52296 (struct test_c_c_data): New type.
52297 (RUN_TEST_LOOP_c_c): New macro.
52298 (cacos_test_data): New variable.
52299 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52300 (cacosh_test_data): New variable.
52301 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52302 (casin_test_data): New variable.
52303 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52304 (casinh_test_data): New variable.
52305 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52306 (catan_test_data): New variable.
52307 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52308 (catanh_test_data): New variable.
52309 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52310 (ccos_test_data): New variable.
52311 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52312 (ccosh_test_data): New variable.
52313 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52314 (cexp_test_data): New variable.
52315 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52316 (clog_test_data): New variable.
52317 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52318 (clog10_test_data): New variable.
52319 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52320 (conj_test_data): New variable.
52321 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52322 (cproj_test_data): New variable.
52323 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52324 (csin_test_data): New variable.
52325 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52326 (csinh_test_data): New variable.
52327 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52328 (csqrt_test_data): New variable.
52329 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52330 (ctan_test_data): New variable.
52331 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52332 (ctan_tonearest_test_data): New variable.
52333 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52334 (ctan_towardzero_test_data): New variable.
52335 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52336 (ctan_downward_test_data): New variable.
52337 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52338 (ctan_upward_test_data): New variable.
52339 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52340 (ctanh_test_data): New variable.
52341 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52342 (ctanh_tonearest_test_data): New variable.
52343 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52344 (ctanh_towardzero_test_data): New variable.
52345 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52346 (ctanh_downward_test_data): New variable.
52347 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52348 (ctanh_upward_test_data): New variable.
52349 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52350 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52351 of BUILD_COMPLEX.
52352
52353 * math/libm-test.inc (struct test_ff_f_data): New type.
52354 (struct test_ff_f_data_nexttoward): Likewise.
52355 (RUN_TEST_LOOP_2_f): New macro.
52356 (RUN_TEST_LOOP_ff_f): Likewise.
52357 (atan2_test_data): New variable.
52358 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52359 (copysign_test_data): New variable.
52360 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52361 (fdim_test_data): New variable.
52362 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52363 (fmax_test_data): New variable.
52364 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52365 (fmin_test_data): New variable.
52366 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52367 (fmod_test_data): New variable.
52368 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52369 (hypot_test_data): New variable.
52370 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52371 (nextafter_test_data): New variable.
52372 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52373 (nexttoward_test_data): New variable.
52374 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52375 (pow_test_data): New variable.
52376 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52377 (pow_tonearest_test_data): New variable.
52378 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52379 (pow_towardzero_test_data): New variable.
52380 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52381 (pow_downward_test_data): New variable.
52382 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52383 (pow_upward_test_data): New variable.
52384 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52385 (remainder_test_data): New variable.
52386 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52387 (scalb_test_data): New variable.
52388 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52389 * sysdeps/i386/fpu/libm-test-ulps: Update.
52390
52391 2013-05-11 Joseph Myers <joseph@codesourcery.com>
52392
52393 * math/libm-test.inc (fma_test): Use max_value instead of local
52394 variable fltmax.
52395 (nextafter_test): Likewise.
52396
52397 * math/libm-test.inc (acos_towardzero_test_data): New variable.
52398 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52399 (acos_downward_test_data): New variable.
52400 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52401 (acos_upward_test_data): New variable.
52402 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52403 (acosh_test_data): New variable.
52404 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52405 (asin_test_data): New variable.
52406 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52407 (asin_tonearest_test_data): New variable.
52408 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52409 (asin_towardzero_test_data): New variable.
52410 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52411 (asin_downward_test_data): New variable.
52412 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52413 (asin_upward_test_data): New variable.
52414 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52415 (asinh_test_data): New variable.
52416 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52417 (atan_test_data): New variable.
52418 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52419 (atanh_test_data): New variable.
52420 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52421 (cbrt_test_data): New variable.
52422 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52423 (ceil_test_data): New variable.
52424 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52425 (cos_test_data): New variable.
52426 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52427 (cos_tonearest_test_data): New variable.
52428 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52429 (cos_towardzero_test_data): New variable.
52430 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52431 (cos_downward_test_data): New variable.
52432 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52433 (cos_upward_test_data): New variable.
52434 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52435 (cosh_test_data): New variable.
52436 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52437 (cosh_tonearest_test_data): New variable.
52438 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52439 (cosh_towardzero_test_data): New variable.
52440 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52441 (cosh_downward_test_data): New variable.
52442 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52443 (cosh_upward_test_data): New variable.
52444 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52445 (erf_test_data): New variable.
52446 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52447 (erfc_test_data): New variable.
52448 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52449 (exp_test_data): New variable.
52450 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52451 (exp_tonearest_test_data): New variable.
52452 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52453 (exp_towardzero_test_data): New variable.
52454 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52455 (exp_downward_test_data): New variable.
52456 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52457 (exp_upward_test_data): New variable.
52458 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52459 (exp10_test_data): New variable.
52460 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52461 (exp2_test_data): New variable.
52462 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52463 (expm1_test_data): New variable.
52464 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52465 (fabs_test_data): New variable.
52466 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52467 (floor_test_data): New variable.
52468 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52469 (j0_test_data): New variable.
52470 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52471 (j1_test_data): New variable.
52472 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52473 (log_test_data): New variable.
52474 (log_test): Run tests with RUN_TEST_LOOP_f_f.
52475 (log10_test_data): New variable.
52476 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52477 (log1p_test_data): New variable.
52478 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52479 (log2_test_data): New variable.
52480 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52481 (logb_test_data): New variable.
52482 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52483 (logb_downward_test_data): New variable.
52484 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52485 (nearbyint_test_data): New variable.
52486 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52487 (rint_test_data): New variable.
52488 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52489 (rint_tonearest_test_data): New variable.
52490 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52491 (rint_towardzero_test_data): New variable.
52492 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52493 (rint_downward_test_data): New variable.
52494 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52495 (rint_upward_test_data): New variable.
52496 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52497 (round_test_data): New variable.
52498 (round_test): Run tests with RUN_TEST_LOOP_f_f.
52499 (sin_test_data): New variable.
52500 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52501 (sin_tonearest_test_data): New variable.
52502 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52503 (sin_towardzero_test_data): New variable.
52504 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52505 (sin_downward_test_data): New variable.
52506 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52507 (sin_upward_test_data): New variable.
52508 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52509 (sinh_test_data): New variable.
52510 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52511 (sinh_tonearest_test_data): New variable.
52512 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52513 (sinh_towardzero_test_data): New variable.
52514 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52515 (sinh_downward_test_data): New variable.
52516 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52517 (sinh_upward_test_data): New variable.
52518 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52519 (sqrt_test_data): New variable.
52520 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52521 (tan_test_data): New variable.
52522 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52523 (tan_tonearest_test_data): New variable.
52524 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52525 (tan_towardzero_test_data): New variable.
52526 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52527 (tan_downward_test_data): New variable.
52528 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52529 (tan_upward_test_data): New variable.
52530 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52531 (tanh_test_data): New variable.
52532 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52533 (tgamma_test_data): New variable.
52534 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52535 (trunc_test_data): New variable.
52536 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52537 (y0_test_data): New variable.
52538 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52539 (y1_test_data): New variable.
52540 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52541 (significand_test_data): New variable.
52542 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52543
52544 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
52545
52546 [BZ #12387]
52547 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52548
52549 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
52550
52551 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52552
52553 2013-05-10 Andreas Jaeger <aj@suse.de>
52554
52555 [BZ #15448]
52556 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52557 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52558
52559 2013-05-10 Joseph Myers <joseph@codesourcery.com>
52560
52561 * math/gen-libm-test.pl (adjust_arg): New function.
52562 (special_functions): Handle generating output in both functions
52563 and arrays.
52564 (parse_args): Likewise.
52565 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
52566 $in_func argument to parse_args.
52567 * math/libm-test.inc (struct test_f_f_data): New type.
52568 (IF_ROUND_INIT_): New macro.
52569 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52570 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52571 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52572 (IF_ROUND_INIT_FE_UPWARD): Likewise.
52573 (ROUND_RESTORE_): Likewise.
52574 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52575 (ROUND_RESTORE_FE_TONEAREST): Likewise.
52576 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52577 (ROUND_RESTORE_FE_UPWARD): Likewise.
52578 (RUN_TEST_LOOP_f_f): New macro.
52579 (acos_test_data): New variable.
52580 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52581 (acos_tonearest_test_data): New variable.
52582 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52583
52584 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52585
52586 * benchtests/bench-skeleton.c (startup): Fix coding style.
52587
52588 2013-05-10 Joseph Myers <joseph@codesourcery.com>
52589
52590 [BZ #6809]
52591 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52592 negative infinity argument.
52593 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52594 negative infinity argument.
52595 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52596 negative infinity argument.
52597 * math/libm-test.inc (tgamma_test): Expect errno to be set for
52598 domain errors.
52599
52600 2013-05-10 Florian Weimer <fweimer@redhat.com>
52601
52602 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52603 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52604 * iconv/iconv_prog.c (main): Likewise.
52605 * locale/programs/charmap-dir.c (charmap_readdir)
52606 (fopen_uncompressed): Likewise.
52607 * locale/programs/locfile.c (siblings_uncached)
52608 (write_locale_data): Use lstat64 instead of lstat.
52609 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52610 stat.
52611
52612 2013-05-10 Andreas Jaeger <aj@suse.de>
52613
52614 [BZ #15395]
52615 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52616 localization.
52617 Include <locale.h>.
52618
52619 2013-05-09 Carlos O'Donell <carlos@redhat.com>
52620
52621 * elf/dl-close.c (_dl_close_worker): Add comments.
52622
52623 2013-05-09 Joseph Myers <joseph@codesourcery.com>
52624
52625 [BZ #15359]
52626 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52627 high part of pi/2.
52628 (__ieee754_rem_pio2l): Update comments.
52629
52630 [BZ #15429]
52631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52632 high part of pi/2.
52633 (__ieee754_rem_pio2l): Update comments.
52634
52635 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52636 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52637
52638 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52639 M_PI_4l.
52640
52641 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52642 (M_PI_34_LOG10El): Likewise.
52643 (M_PI2_LOG10El): Likewise.
52644 (M_PI4_LOG10El): Likewise.
52645 (M_PI_LOG10El): Likewise.
52646
52647 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52648
52649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52650
52651 2013-05-08 Joseph Myers <joseph@codesourcery.com>
52652
52653 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52654 (MINUS_ZERO_INIT): Likewise.
52655 (PLUS_INFTY_INIT): Likewise.
52656 (MINUS_INFTY_INIT): Likewise.
52657 (QNAN_VALUE_INIT): Likewise.
52658 (MAX_VALUE_INIT): Likewise.
52659 (MIN_VALUE_INIT): Likewise.
52660 (MIN_SUBNORM_VALUE_INIT): Likewise.
52661 (plus_zero): Initialize with PLUS_ZERO_INIT.
52662 (minus_zero): Initialize with MINUS_ZERO_INIT.
52663 (plus_infty): Initialize with PLUS_INFTY_INIT.
52664 (minus_infty): Initialize with MINUS_INFTY_INIT.
52665 (qnan_value): Initialize with QNAN_VALUE_INIT.
52666 (max_value): Initialize with MAX_VALUE_INIT.
52667 (min_value): Initialize with MIN_VALUE_INIT.
52668 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52669
52670 * math/libm-test.inc (RUN_TEST_if_f): New macro.
52671 (jn_test): Use TEST_if_f instead of TEST_ff_f.
52672 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52673 (yn_test): Use TEST_if_f instead of TEST_ff_f.
52674
52675 * math/libm-test.inc (RUN_TEST_f_f): New macro.
52676 (RUN_TEST_2_f): Likewise.
52677 (RUN_TEST_ff_f): Likewise.
52678 (RUN_TEST_fi_f): Likewise.
52679 (RUN_TEST_fl_f): Likewise.
52680 (RUN_TEST_fff_f): Likewise.
52681 (RUN_TEST_c_f): Likewise.
52682 (RUN_TEST_f_f1): Likewise.
52683 (RUN_TEST_fF_f1): Likewise.
52684 (RUN_TEST_fI_f1): Likewise.
52685 (RUN_TEST_ffI_f1): Likewise.
52686 (RUN_TEST_c_c): Likewise.
52687 (RUN_TEST_cc_c): Likewise.
52688 (RUN_TEST_f_i): Likewise.
52689 (RUN_TEST_f_i_tg): Likewise.
52690 (RUN_TEST_ff_i_tg): Likewise.
52691 (RUN_TEST_f_b): Likewise.
52692 (RUN_TEST_f_b_tg): Likewise.
52693 (RUN_TEST_f_l): Likewise.
52694 (RUN_TEST_f_L): Likewise.
52695 (RUN_TEST_sincos): Likewise.
52696 * math/gen-libm-test.pl (new_test): Take new argument to indicate
52697 whether to show exceptions. Do not include ");\n" in return
52698 value.
52699 (special_functions): Output call to RUN_TEST_sincos instead of
52700 check_float calls. Update calls to new_test.
52701 (parse_args): Output call to single RUN_TEST_* macro instead of
52702 check_* calls and other assignments. Update calls to new_test.
52703
52704 [BZ #2546]
52705 [BZ #2560]
52706 [BZ #5159]
52707 [BZ #15426]
52708 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52709 input to result for tgamma overflow.
52710 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52711 (gamma_coeff): New variable.
52712 (NCOEFF): New macro.
52713 (gamma_positive): New function.
52714 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52715 underflow here. Use gamma_positive instead of exp (lgamma) for
52716 other arguments.
52717 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52718 (gamma_coeff): New variable.
52719 (NCOEFF): New macro.
52720 (gammaf_positive): New function.
52721 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52722 underflow here. Use gamma_positive instead of exp (lgamma) for
52723 other arguments.
52724 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52725 (gamma_coeff): New variable.
52726 (NCOEFF): New macro.
52727 (gammal_positive): New function.
52728 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52729 underflow here. Use gamma_positive instead of exp (lgamma) for
52730 other arguments.
52731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52732 (gamma_coeff): New variable.
52733 (NCOEFF): New macro.
52734 (gammal_positive): New function.
52735 (__ieee754_gammal_r): Handle positive infinity, overflow and
52736 underflow here. Handle NaN the same as positive infinity. Remove
52737 check x < 0xffffffff for negative integers. Use gamma_positive
52738 instead of exp (lgamma) for other arguments.
52739 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52740 (gamma_coeff): New variable.
52741 (NCOEFF): New macro.
52742 (gammal_positive): New function.
52743 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52744 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52745 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52746 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52747 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52749 * sysdeps/generic/math_private.h (__gamma_productf): New
52750 prototype.
52751 (__gamma_product): Likewise.
52752 (__gamma_productl): Likewise.
52753 * math/Makefile (libm-calls): Add gamma_product.
52754 * math/libm-test.inc (tgamma_test): Add more tests.
52755 * sysdeps/i386/fpu/libm-test-ulps: Update.
52756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52757
52758 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
52759
52760 * benchtests/bench-skeleton.c (main): Preheat CPU.
52761
52762 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
52763
52764 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52765
52766 2013-05-07 Roland McGrath <roland@hack.frob.com>
52767
52768 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52769 and _dl_skip_args_internal.
52770
52771 2013-05-07 Carlos O'Donell <carlos@redhat.com>
52772
52773 * manual/message.texi (Message Translation): Talk about users.
52774 Message to key mapping impacts design.
52775
52776 2013-05-06 Roland McGrath <roland@hack.frob.com>
52777
52778 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52779
52780 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52781
52782 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52783 * sysdeps/wordsize-64/glob64.c: ... here.
52784
52785 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52786 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52787 New macros.
52788
52789 * debug/getlogin_r_chk.c: Moved to ...
52790 * login/getlogin_r_chk.c: ... here.
52791 * debug/Makefile (routines): Move getlogin_r_chk to ...
52792 * login/Makefile (routines): ... here.
52793 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52794 * login/Versions (libc: GLIBC_2.4): ... here.
52795
52796 * io/poll.c (__poll): Renamed from poll.
52797 Add libc_hidden_def.
52798 (poll): Define as weak alias.
52799
52800 * debug/ptsname_r_chk.c: Moved to ...
52801 * login/ptsname_r_chk.c: ... here.
52802 * debug/Makefile (routines): Move ptsname_r_chk to ...
52803 * login/Makefile (routines): ... here.
52804 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52805 * login/Versions (libc: GLIBC_2.4): ... here.
52806
52807 * posix/getlogin.c: Moved to ...
52808 * login/getlogin.c: ... here.
52809 * posix/getlogin_r.c: Moved to ...
52810 * login/getlogin_r.c: ... here.
52811 * posix/getlogin_r.c: Moved to ...
52812 * login/getlogin_r.c: ... here.
52813 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52814 * login/Makefile (routines): ... here.
52815 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52816 * login/Versions (libc: GLIBC_2.0): ... here.
52817
52818 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52819 (setrlimit): Define as weak alias.
52820
52821 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52822 Call __ names for open, ftruncate, and close.
52823 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52824 (truncate): Define as weak alias.
52825
52826 2013-05-06 Joseph Myers <joseph@codesourcery.com>
52827
52828 * math/gen-libm-test.pl (parse_args): Initialize x before each
52829 test of frexp, modf and remquo.
52830
52831 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52832 test signgam value.
52833
52834 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52835
52836 [BZ #15418]
52837 [BZ #15419]
52838 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52839 internal tests.
52840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52841
52842 2013-05-06 Roland McGrath <roland@hack.frob.com>
52843
52844 * elf/dl-writev.h: New file.
52845 * elf/dl-misc.c: Include it.
52846 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52847 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52848
52849 2013-05-04 Joseph Myers <joseph@codesourcery.com>
52850
52851 * math/libm-test.inc (noXFails): Remove variable.
52852 (noXPasses): Likewise.
52853 (BUILD_COMPLEX_INT): Remove macro.
52854 (print_screen): Remove xfail argument.
52855 (print_screen_max_error): Likewise.
52856 (update_stats): Likewise.
52857 (print_max_error): Likewise. Update calls to other affected
52858 functions.
52859 (print_complex_max_error): Likewise.
52860 (test_single_exception): Update calls to print_screen.
52861 (test_single_errno): Likewise.
52862 (check_float_internal): Remove xfail argument. Update calls to
52863 other affected functions.
52864 (check_float): Likewise.
52865 (check_complex): Likewise.
52866 (check_int): Likewise.
52867 (check_long): Likewise.
52868 (check_bool): Likewise.
52869 (check_longlong): Likewise.
52870 (main): Don't print noXFails and noXPasses.
52871 * math/gen-libm-test.pl (top level): Don't mention expected
52872 failure handling in comment.
52873 (new_test): Don't handle expected failures.
52874 (parse_args): Don't mention expected failure handling in comment.
52875 (generate_testfile): Don't handle expected failures.
52876 (parse_ulps): Likewise.
52877 (print_ulps_file): Likewise.
52878 (get_failure): Remove function.
52879 (output_test): Don't handle expected failures.
52880 * make/README.libm-test: Don't mention expected failure handling.
52881
52882 * math/libm-test.inc (plus_zero): Make const. Add initializer.
52883 (minus_zero): Likewise.
52884 (plus_infty): Likewise.
52885 (minus_infty): Likewise.
52886 (qnan_value): Likewise.
52887 (max_value): Likewise.
52888 (min_value): Likewise.
52889 (min_subnorm_value): Likewise.
52890 (initialize): Do not initialize those variables dynamically.
52891
52892 2013-05-03 Roland McGrath <roland@hack.frob.com>
52893
52894 * io/open.c (__open_2): Moved to ...
52895 * io/open_2.c: ... this new file.
52896 * io/open64.c (__open64_2): Moved to ...
52897 * io/open64_2.c: ... this new file.
52898 * io/openat.c (__openat_2): Moved to ...
52899 * io/openat_2.c: ... this new file.
52900 * io/openat64.c (__openat64_2): Moved to ...
52901 * io/openat64_2.c: ... this new file.
52902 * io/Makefile (routines): Add them.
52903 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52904 * sysdeps/unix/sysv/linux/open_2.c: File removed.
52905 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52906 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52907 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52908 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52909 (__openat64): Add hidden_ver.
52910 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52911 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52912
52913 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52914 Separately conditionalize setting of GLRO(dl_sysinfo) so
52915 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52916 as well, but the actual setting is only under [NEED_DL_SYSINFO].
52917
52918 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52919
52920 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52922 definition.
52923 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52924 * sysdeps/unix/sysv/linux/powerpc/init-first.c
52925 (_libc_vdso_platform_setup): Add __vdso_time initialization.
52926 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52927 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52928
52929 2013-05-03 Joseph Myers <joseph@codesourcery.com>
52930
52931 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52932 test signgam value.
52933
52934 * math/libm-test.inc (hypot_test): Do not use
52935 IGNORE_ZERO_INF_SIGN.
52936
52937 2013-05-03 Andreas Jaeger <aj@suse.de>
52938
52939 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52940 Linux 3.9.
52941 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52942 (PF_MAX): Adjust for VSOCK change.
52943
52944 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52945
52946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52947
52948 2013-05-02 Carlos O'Donell <carlos@redhat.com>
52949
52950 [BZ #15264]
52951 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52952 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52953 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52954
52955 2013-05-02 David S. Miller <davem@davemloft.net>
52956
52957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52958
52959 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
52960
52961 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52962
52963 2013-05-01 Roland McGrath <roland@hack.frob.com>
52964
52965 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52966
52967 2013-05-01 Richard Smith <richard@metafoo.co.uk>
52968
52969 [BZ #14952]
52970 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52971 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52972 Use __attribute__ ((__gnu_inline__)).
52973 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52974 Don't use __attribute__ ((__gnu_inline__)).
52975
52976 2013-05-01 Joseph Myers <joseph@codesourcery.com>
52977
52978 [BZ #15423]
52979 * math/s_catan.c (__catan): Handle small real or imaginary part of
52980 input specially to avoid spurious underflow.
52981 * math/s_catanf.c (__catanf): Likewise.
52982 * math/s_catanh.c (__catanh): Likewise.
52983 * math/s_catanhf.c (__catanhf): Likewise.
52984 * math/s_catanhl.c (__catanhl): Likewise.
52985 * math/s_catanl.c (__catanl): Likewise.
52986 * math/libm-test.inc (catan_test): Add more tests.
52987 (catanh_test): Likewise.
52988 * sysdeps/i386/fpu/libm-test-ulps: Update.
52989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52990
52991 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52992
52993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52994
52995 2013-04-30 Joseph Myers <joseph@codesourcery.com>
52996
52997 [BZ #15416]
52998 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52999 accurately for denominator in atan2.
53000 * math/s_catanf.c (__catanf): Likewise.
53001 * math/s_catanh.c (__catanh): Likewise.
53002 * math/s_catanhf.c (__catanhf): Likewise.
53003 * math/s_catanhl.c (__catanhl): Likewise.
53004 * math/s_catanl.c (__catanl): Likewise.
53005 * math/libm-test.inc (catan_test): Add more tests.
53006 (catanh_test): Likewise.
53007 * sysdeps/i386/fpu/libm-test-ulps: Update.
53008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53009
53010 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53011
53012 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53013
53014 * benchtests/Makefile (bench): Remove slow benchmarks.
53015 * benchtests/atan-inputs: Add slow benchmark inputs.
53016 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53017 (BENCH_FUNC): Accept variant offset.
53018 (VARIANT): Define.
53019 * benchtests/bench-skeleton.c (main): Run benchmark for each
53020 variant.
53021 * benchtests/cos-inputs: Add slow benchmark inputs.
53022 * benchtests/exp-inputs: Likewise.
53023 * benchtests/pow-inputs: Likewise.
53024 * benchtests/sin-inputs: Likewise.
53025 * benchtests/slowatan-inputs: Remove.
53026 * benchtests/slowatan.c: Remove.
53027 * benchtests/slowcos-inputs: Remove.
53028 * benchtests/slowcos.c: Remove.
53029 * benchtests/slowexp-inputs: Remove.
53030 * benchtests/slowexp.c: Remove.
53031 * benchtests/slowpow-inputs: Remove.
53032 * benchtests/slowpow.c: Remove.
53033 * benchtests/slowsin-inputs: Remove.
53034 * benchtests/slowsin.c: Remove.
53035 * benchtests/slowtan-inputs: Remove.
53036 * benchtests/slowtan.c: Remove.
53037 * benchtests/tan-inputs: Add slow benchmark inputs.
53038 * scripts/bench.pl: Parse comments and directives.
53039
53040 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
53041 in CPPFLAGS.
53042 ($(objpfx)bench-%.c): Remove *-ITER.
53043 * benchtests/bench-modf.c: Remove definition of ITER.
53044 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53045 (main): Loop for DURATION seconds instead of fixed number of
53046 iterations.
53047 * scripts/bench.pl: Don't expect iterations in parameters.
53048
53049 2013-04-29 Roland McGrath <roland@hack.frob.com>
53050
53051 * io/fchdir.c (__fchdir): Renamed from fchdir.
53052 (fchdir): Define as weak alias.
53053
53054 2013-04-29 Joseph Myers <joseph@codesourcery.com>
53055
53056 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53057 (ERRNO_EDOM): Likewise.
53058 (ERRNO_ERANGE): Likewise.
53059 (noErrnoTests): New variable.
53060 (init_max_error): Set errno to 0.
53061 (test_single_errno): New function.
53062 (test_errno): Likewise.
53063 (check_float_internal): Call test_errno. Set errno to 0.
53064 (check_complex): Refer to errno tests in comment.
53065 (check_int): Call test_errno. Set errno to 0.
53066 (check_long): Likewise.
53067 (check_bool): Likewise.
53068 (check_longlong): Likewise.
53069 (cos_test): Use ERRNO_* flags for errno tests instead of
53070 check_int.
53071 (expm1_test): Likewise.
53072 (fmod_test): Likewise.
53073 (ilogb_test): Likewise.
53074 (lgamma_test): Likewise.
53075 (pow_test): Likewise.
53076 (remainder_test): Likewise.
53077 (sin_test): Likewise.
53078 (tan_test): Likewise.
53079 (yn_test): Likewise.
53080 (initialize): Set errno to 0.
53081 (main): Print number of errno tests.
53082 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53083
53084 2013-04-29 Andreas Jaeger <aj@suse.de>
53085
53086 [BZ #15084]
53087 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53088 and RES_USEVC.
53089
53090 [BZ #15085]
53091 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53092 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53093 unimplemented.
53094
53095 [BZ #15380]
53096 * stdlib/random.c (__initstate): Return NULL if
53097 __initstate fails.
53098
53099 [BZ #15086]
53100 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53101 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53102 RES_SNGLKUPREOP.
53103
53104 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53105
53106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53107
53108 2013-04-29 Joseph Myers <joseph@codesourcery.com>
53109
53110 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53111 of individual tests.
53112 (casin_test): Likewise.
53113 (casinh_test): Likewise.
53114
53115 2013-04-27 Joseph Myers <joseph@codesourcery.com>
53116
53117 [BZ #15409]
53118 * math/s_catan.c (__catan): Handle arguments with large real or
53119 imaginary part separately without squaring.
53120 * math/s_catanf.c (__catanf): Likewise.
53121 * math/s_catanh.c (__catanh): Likewise.
53122 * math/s_catanhf.c (__catanhf): Likewise.
53123 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53124 and redefine.
53125 (__catanhl): Handle arguments with large real or imaginary part
53126 separately without squaring.
53127 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53128 and redefine.
53129 (__catanl): Handle arguments with large real or imaginary part
53130 separately without squaring.
53131 * math/libm-test.inc (catan_test): Add more tests.
53132 (catanh_test): Likewise.
53133 * sysdeps/i386/fpu/libm-test-ulps: Update.
53134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53135
53136 2013-04-27 Andreas Jaeger <aj@suse.de>
53137
53138 [BZ #15007]
53139 * stdlib/stdlib.h: Update guards for qecvt.
53140 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53141 <stdlib.h>.
53142
53143 2013-04-27 Allan McRae <allan@archlinux.org>
53144
53145 * sysdeps/i386/fpu/libm-test-ulps: Update.
53146
53147 2013-04-26 Joseph Myers <joseph@codesourcery.com>
53148
53149 [BZ #15406]
53150 * math/s_catan.c: Include <float.h>.
53151 (__catan): Ensure underflow exception occurs for underflowed
53152 result.
53153 * math/s_catanf.c: Include <float.h>.
53154 (__catanf): Ensure underflow exception occurs for underflowed
53155 result.
53156 * math/s_catanh.c: Include <float.h>.
53157 (__catanh): Ensure underflow exception occurs for underflowed
53158 result.
53159 * math/s_catanhf.c: Include <float.h>.
53160 (__catanhf): Ensure underflow exception occurs for underflowed
53161 result.
53162 * math/s_catanhl.c: Include <float.h>.
53163 (__catanhl): Ensure underflow exception occurs for underflowed
53164 result.
53165 * math/s_catanl.c: Include <float.h>.
53166 (__catanl): Ensure underflow exception occurs for underflowed
53167 result.
53168 * math/libm-test.inc (catan_test): Add more tests.
53169 (catanh_test): Likewise.
53170
53171 [BZ #15405]
53172 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53173 underflowed result.
53174 * math/s_ccoshf.c (__ccoshf): Likewise.
53175 * math/s_ccoshl.c (__ccoshl): Likewise.
53176 * math/s_csin.c (__csin): Likewise.
53177 * math/s_csinf.c (__csinf): Likewise.
53178 * math/s_csinh.c (__csinh): Likewise.
53179 * math/s_csinhf.c (__csinhf): Likewise.
53180 * math/s_csinhl.c (__csinhl): Likewise.
53181 * math/s_csinl.c (__csinl): Likewise.
53182 * math/libm-test.inc (ccos_test): Add more tests.
53183 (ccosh_test): Likewise.
53184 (csin_test): Likewise.
53185 (csinh_test): Likewise.
53186
53187 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53188
53189 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53190 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53191 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53192 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53193 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53194 powerpc/power5+/fpu folders.
53195 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53196
53197
53198 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
53199
53200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53201
53202 2013-04-25 Joseph Myers <joseph@codesourcery.com>
53203
53204 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53205 additions to variable.
53206 [$(config-machine) = x86_64] (modules-names): Likewise.
53207 ($(objpfx)tst-audit3): Remove dependency.
53208 ($(objpfx)tst-audit3.out): Likewise.
53209 ($(objpfx)tst-audit4): Likewise.
53210 ($(objpfx)tst-audit4.out): Likewise.
53211 ($(objpfx)tst-audit5): Likewise.
53212 ($(objpfx)tst-audit5.out): Likewise.
53213 ($(objpfx)tst-audit6): Likewise.
53214 ($(objpfx)tst-audit6.out): Likewise.
53215 ($(objpfx)tst-audit7): Likewise.
53216 ($(objpfx)tst-audit7.out): Likewise.
53217 (tst-audit3-ENV): Remove variable.
53218 (tst-audit4-ENV): Likewise.
53219 (tst-audit5-ENV): Likewise.
53220 (tst-audit6-ENV): Likewise.
53221 (tst-audit7-ENV): Likewise.
53222 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53223 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53224 addition to variable.
53225 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53226 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53227 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53230 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53231 tst-audit3, tst-audit4 and tst-audit5.
53232 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53233 tst-audit6 and tst-audit7.
53234 [$(subdir) = elf] (modules-names): Add audit modules for those
53235 tests.
53236 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53237 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53238 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53239 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53240 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53241 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53242 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53243 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53244 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53245 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53246 [$(subdir) = elf] (tst-audit3-ENV): New variable.
53247 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53248 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53249 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53250 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53251 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53252 Likewise.
53253 [$(subdir) = elf && $(config-cflags-avx) = yes]
53254 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53255 [$(subdir) = elf && $(config-cflags-avx) = yes]
53256 (CFLAGS-tst-auditmod4a.c): Likewise.
53257 [$(subdir) = elf && $(config-cflags-avx) = yes]
53258 (CFLAGS-tst-auditmod4b.c): Likewise.
53259 [$(subdir) = elf && $(config-cflags-avx) = yes]
53260 (CFLAGS-tst-auditmod6b.c): Likewise.
53261 [$(subdir) = elf && $(config-cflags-avx) = yes]
53262 (CFLAGS-tst-auditmod6c.c): Likewise.
53263 [$(subdir) = elf && $(config-cflags-avx) = yes]
53264 (CFLAGS-tst-auditmod7b.c): Likewise.
53265 * elf/tst-audit3.c: Move to ...
53266 * sysdeps/x86_64/tst-audit3.c: ... here.
53267 * elf/tst-audit4.c: Move to ...
53268 * sysdeps/x86_64/tst-audit4.c: ... here.
53269 * elf/tst-audit5.c: Move to ...
53270 * sysdeps/x86_64/tst-audit5.c: ... here.
53271 * elf/tst-audit6.c: Move to ...
53272 * sysdeps/x86_64/tst-audit6.c: ... here.
53273 * elf/tst-audit7.c: Move to ...
53274 * sysdeps/x86_64/tst-audit7.c: ... here.
53275 * elf/tst-auditmod3a.c: Move to ...
53276 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53277 * elf/tst-auditmod3b.c: Move to ...
53278 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53279 * elf/tst-auditmod4a.c: Move to ...
53280 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53281 * elf/tst-auditmod4b.c: Move to ...
53282 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53283 * elf/tst-auditmod5a.c: Move to ...
53284 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53285 * elf/tst-auditmod5b.c: Move to ...
53286 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53287 * elf/tst-auditmod6a.c: Move to ...
53288 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53289 * elf/tst-auditmod6b.c: Move to ...
53290 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53291 * elf/tst-auditmod6c.c: Move to ...
53292 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53293 * elf/tst-auditmod7a.c: Move to ...
53294 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53295 * elf/tst-auditmod7b.c: Move to ...
53296 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53297
53298 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
53299
53300 [BZ #15366]
53301 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53302 define unconditionally.
53303 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53304 define unconditionally.
53305 (INT8_C, INT16_C, etc.): Likewise.
53306
53307 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
53308
53309 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53310 __ehdr_start with hidden visibility.
53311
53312 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53313
53314 2013-04-24 Carlos O'Donell <carlos@redhat.com>
53315
53316 * math/libm-test.inc (cos_test): Use accurate hex constants.
53317 (sincost_test): Likewise.
53318
53319 2013-04-24 Joseph Myers <joseph@codesourcery.com>
53320
53321 * math/libm-test.inc (catan_test): Add more tests.
53322 (catanh_test): Likewise.
53323
53324 * math/s_catanf.c (__catanf): Use suffixed floating-point
53325 constants.
53326 * math/s_catanhf.c (__catanhf): Likewise.
53327 * math/s_catanhl.c (__catanhl): Likewise.
53328 * math/s_catanl.c (__catanl): Likewise.
53329
53330 [BZ #15394]
53331 * math/s_catan.c (__catan): Calculate imaginary part of result
53332 with log1p not log unless computing log of number close to 0.
53333 * math/s_catanf.c (__catanf): Likewise.
53334 * math/s_catanl.c (__catanl): Likewise.
53335 * math/s_catanh.c (__catanh): Calculate real part of result with
53336 log1p not log unless computing log of number close to 0.
53337 * math/s_catanhf.c (__catanhf): Likewise.
53338 * math/s_catanhl.c (__catanhl): Likewise.
53339 * math/libm-test.inc (catan_test): Add more tests.
53340 (catanh_test): Likewise.
53341 * sysdeps/i386/fpu/libm-test-ulps: Update.
53342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53343
53344 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53345
53346 * benchtests/Makefile: Mention files in which fast and slow
53347 paths of math functions are implemented.
53348
53349 2013-04-23 Roland McGrath <roland@hack.frob.com>
53350
53351 * sysdeps/posix/timespec_get.c: New file.
53352
53353 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53354
53355 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53356 POWER.
53357 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53358 for POWER.
53359 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53360 powerpc/power5/fpu folders.
53361 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53362 * benchtests/Makefile: Add modf testcase.
53363 * benchtests/bench-modf.c: New file: Benchmark test for mo
53364
53365 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53366
53367 [BZ #14888]
53368 * time/Makefile (tests): Add tst-strptime-whitespace.
53369 * time/strptime_l.c (get_number): Use ISSPACE.
53370 (__strptime_internal): Likewise.
53371 * time/tst-strptime-whitespace.c: New test case.
53372
53373 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
53374
53375 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53376 member.
53377 (_nss_files_init): Set it here.
53378
53379 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
53380
53381 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53382 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53383 unsigned.
53384
53385 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
53386
53387 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53388
53389 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53390
53391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53392 size just once.
53393
53394 2013-04-21 David S. Miller <davem@davemloft.net>
53395
53396 * po/ru.po: Update Russion translation from translation project.
53397
53398 2013-04-17 Adam Conrad <adconrad@0c3.net>
53399
53400 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53401 and setfsgid.
53402
53403 2013-04-17 Carlos O'Donell <carlos@redhat.com>
53404
53405 * configure.in: Remove i386 configure warning. Remove i386 case.
53406 * configure: Regenerate.
53407 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53408 Add example to error message.
53409 * sysdeps/i386/configure: Regenerate.
53410
53411 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53412
53413 * benchtests/Makefile (bench): Add cos, tan, slowcos and
53414 slowtan.
53415 * benchtests/cos-inputs: New file.
53416 * benchtests/slowcos-inputs: New file.
53417 * benchtests/slowcos.c: New file.
53418 * benchtests/slowtan-inputs: New file.
53419 * benchtests/slowtan.c: New file.
53420 * benchtests/tan-inputs: New file.
53421
53422 2013-04-16 Roland McGrath <roland@hack.frob.com>
53423
53424 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53425 considered kosher.
53426
53427 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
53428
53429 * benchtests/Makefile: Include cppflags-iterator.mk to add
53430 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53431
53432 * Makefile.in (bench-clean): New target.
53433 * benchtests/Makefile (bench-clean): Likewise.
53434
53435 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
53436
53437 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53438
53439 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
53440
53441 * stdio-common/tstdiomisc.c: Fix coding-style violation.
53442
53443 2013-04-15 Andreas Schwab <schwab@suse.de>
53444
53445 * nscd/grpcache.c (cache_addgr): Properly check for short write.
53446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53447 * nscd/pwdcache.c (cache_addpw): Likewise.
53448 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
53449 more than recsize.
53450
53451 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53452
53453 * benchtests/Makefile (bench): Write all output to
53454 bench-out.tmp together.
53455
53456 2013-04-15 Andreas Schwab <schwab@suse.de>
53457
53458 * nscd/nscd.c (main): Don't fork again after closing files.
53459
53460 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53461
53462 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53463
53464 * benchtests/Rules (bench-deps): Collect dependencies into a
53465 single variable. Add Makefile to dependencies.
53466 ($(objpfx)bench-%.c): Depend on bench-deps.
53467
53468 2013-04-12 Roland McGrath <roland@hack.frob.com>
53469 Xavier Roche <roche+kml2@exalead.com>
53470
53471 [BZ #15361]
53472 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53473 just that it's a file descriptor.
53474 * manual/llio.texi (Synchronizing AIO Operations): Update description
53475 for EBADF error from aio_fsync.
53476
53477 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53478
53479 * Rules (bench): Move target definition...
53480 * benchtests/Makefile: ... here.
53481
53482 2013-04-11 Carlos O'Donell <carlos@redhat.com>
53483
53484 * math/libm-test.inc (cos_test): Fix PI/2 test.
53485 (sincos_test): Likewise.
53486 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53487 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53488
53489 2013-04-11 Andreas Schwab <schwab@suse.de>
53490
53491 [BZ #13988]
53492 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53493 accept exponent character only when digits were seen.
53494 * stdio-common/Makefile (tests): Add bug26.
53495 * stdio-common/bug26.c: New file.
53496
53497 [BZ #14293]
53498 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53499 non-freeable.
53500
53501 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53502
53503 * Makeconfig (rtld-prefix): Define built linker prefix.
53504 * Rules (run-bench): Use it.
53505 * math/Makefile (run-regen-ulps): Likewise.
53506
53507 * Rules (bench): Remove eval.
53508
53509 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53510 Roland McGrath <roland@hack.frob.com>
53511 Ondrej Bilka <neleai@seznam.cz>
53512
53513 [BZ #15346]
53514 * time/getdate.c: Include ctype.h and alloca.h.
53515 (__getdate_r): Trim leading and trailing spaces of input.
53516 * time/tst-getdate.c (tests): Add tests with leading and
53517 trailing spaces.
53518
53519 2013-04-08 Roland McGrath <roland@hack.frob.com>
53520
53521 [BZ #14280]
53522 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53523 when computing value.
53524
53525 2013-04-06 Carlos O'Donell <carlos@redhat.com>
53526
53527 * math/README.libm-test (How can I generate "libm-test-ulps"?):
53528 Use testrun.sh to run libm tests.
53529
53530 [BZ #15309]
53531 * elf/dl-open.c (dl_open_worker): memset all of seen array.
53532
53533 2013-04-06 Marko Myllynen <myllynen@redhat.com>
53534
53535 [BZ #15264]
53536 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53537
53538 2013-04-06 Carlos O'Donell <carlos@redhat.com>
53539
53540 * Makefile.in (regen-ulps): New target.
53541 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53542 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53543 [ifneq (no,$(PERL)] (regen-ulps): New target.
53544 [ifeq (no,$(PERL)] (regen-ulps): New target.
53545 * math/libm-test.inc (ulps_file_name): Define.
53546 (output_dir): New variable.
53547 (options): Add "output-dir" option.
53548 (parse_opt): Handle 'o' case.
53549 (main): If output_dir is non-NULL use it as a prefix
53550 otherwise use "".
53551 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53552
53553 2013-04-06 Carlos O'Donell <carlos@redhat.com>
53554
53555 [BZ #10060, #10062]
53556 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53557 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53558 fail configure if __sync_val_compare_and_swap is not inlined.
53559 * sysdeps/i386/configure: Regenerate.
53560 * configure.in: Build for i686 when configured for i386.
53561 * configure: Regenerate.
53562 * README: Remove i386 reference.
53563
53564 2013-04-06 Carlos O'Donell <carlos@redhat.com>
53565
53566 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53568
53569 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
53570
53571 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53572 (lmsnanval): New variables.
53573 (F): Add conversion tests.
53574 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53575 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53576
53577 * stdio-common/tstdiomisc.c (F): Properly collect individual
53578 tests' results.
53579
53580 [BZ #14686, #15336]
53581 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53582 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53583 Instead, use input NaN values or generate a qNaN by arithmetic
53584 operation. Also fix bugs to comply with the standard.
53585 * math/libm-test.inc (remainder_test): Add more tests.
53586
53587 [BZ #15335, #15342]
53588 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53589 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53590 input NaN values or generate a qNaN by arithmetic operation.
53591
53592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53593 unreachable code.
53594
53595 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53596 definitions.
53597
53598 2013-04-03 Joseph Myers <joseph@codesourcery.com>
53599
53600 [BZ #14478]
53601 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53602 underflowed result.
53603 * math/s_cexpf.c (__cexpf): Likewise.
53604 * math/s_cexpl.c (__cexpl): Likewise.
53605 * math/libm-test.inc (cexp_test): Add more tests.
53606
53607 2013-04-03 Andreas Schwab <schwab@suse.de>
53608
53609 [BZ #15330]
53610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53611 order arrays from heap if bigger than alloca cutoff.
53612
53613 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
53614
53615 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53616 (SNAN_TESTS_double): Refer to GCC PR56831.
53617 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53618 GCC PR56828.
53619
53620 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
53621
53622 * Rules (bench): Move bench.out after the run is complete.
53623
53624 * Rules (bench): Echo currently running benchmark.
53625
53626 * benchtests/Makefile (bench): Add atan and slowatan.
53627 * benchtests/atan-inputs: New file.
53628 * benchtests/slowatan-inputs: New file.
53629 * benchtests/slowatan.c: New file.
53630
53631 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53633 its value.
53634
53635 [BZ #15305]
53636 * sysdeps/unix/sysv/linux/kernel-features.h
53637 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53638 __ASSUME_XFS_RESTRICTED_CHOWN.
53639 * sysdeps/unix/sysv/linux/pathconf.c
53640 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53641 Save and restore errno.
53642
53643 2013-04-02 Joseph Myers <joseph@codesourcery.com>
53644
53645 [BZ #15327]
53646 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53647 arguments using __kernel_casinh.
53648 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53649 arguments using __kernel_casinhf.
53650 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53651 arguments using __kernel_casinhl.
53652 * math/libm-test.inc (cacosh_test): Add more tests.
53653 * sysdeps/i386/fpu/libm-test-ulps: Update.
53654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53655
53656 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
53657
53658 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53660
53661 * bench/Makefile (bench): Add sin and slowsin.
53662 * benchtests/sin-inputs: New file.
53663 * benchtests/slowsin-inputs: New file.
53664 * benchtests/slowsin.c: New file.
53665
53666 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53667 (bench): Add slowexp and slowpow.
53668 (exp-ITER): Increase iterations.
53669 (pow-ITER): Likewise.
53670 * benchtests/exp-inputs: Change input.
53671 * benchtests/pow-inputs: Likewise.
53672 * benchtests/slowexp-inputs: New file.
53673 * benchtests/slowexp.c: New file.
53674 * benchtests/slowpow-inputs: New file.
53675 * benchtests/slowpow.c: New file.
53676
53677 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53678
53679 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53680 instructions.
53681 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53682 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53683 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53684 * benchtests/Makefile: Add rint benchtest.
53685 * benchtests/rint-inputs: Input for rint benchtest.
53686
53687 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
53688
53689 * Versions.def (libm): Add GLIBC_2.18.
53690 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53691 hidden libm prototypes.
53692 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53693 * math/Makefile (libm-calls): Add s_issignaling.
53694 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53695 __issignalingf, __issignalingl. Adjust all libm.abilist files.
53696 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53697 declaration.
53698 * math/math.h [__USE_GNU] (issignaling): New macro.
53699 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53700 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53701 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53702 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53703 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53704 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53705 * manual/arith.texi (issignaling): New section.
53706 * manual/libm-err-tab.pl (@all_functions): Update comment.
53707 * math/gen-libm-test.pl (parse_args): Apply special handling for
53708 issignaling.
53709 * math/libm-test.inc (print_float, issignaling_test): New
53710 functions.
53711 (check_float_internal): Add issignaling checks.
53712 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53713 default definition.
53714 * sysdeps/powerpc/math-tests.h: New file.
53715 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53716 tests.
53717 * math/test-snan.c (TEST_FUNC): Likewise.
53718
53719 2013-03-30 David S. Miller <davem@davemloft.net>
53720
53721 * po/de.po: Update from translation team.
53722
53723 2013-03-30 Joseph Myers <joseph@codesourcery.com>
53724
53725 [BZ #10357]
53726 * math/k_casinh.c (__kernel_casinh): Handle arguments with
53727 imaginary part less than 1.0 and real part less than 0.5
53728 specially.
53729 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53730 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53731 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53732 (cacos_test): Add more tests.
53733 (casin_test): Likewise.
53734 (casinh_test): Likewise.
53735 * sysdeps/i386/fpu/libm-test-ulps: Update.
53736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53737
53738 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53739
53740 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53741 ONE with its value.
53742
53743 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53744 (__pow_mp): Replace ONE and MONE with their values.
53745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53747 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53748 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53749 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53751
53752 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53753
53754 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53755 (__pow_mp): Replace ZERO and MZERO with their values.
53756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53758 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53759 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53760 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53761 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53762 (__sqr): Likewise.
53763
53764 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53765
53766 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53767
53768 2013-03-28 Roland McGrath <roland@hack.frob.com>
53769
53770 * include/stdlib.h [!SHARED] (__call_tls_dtors):
53771 Declare with __attribute__ ((weak)).
53772 * stdlib/exit.c (__libc_atexit) [!SHARED]:
53773 Call __call_tls_dtors only if it's not NULL.
53774
53775 2013-03-28 Roland McGrath <roland@hack.frob.com>
53776
53777 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53778 didn't do it already, then set _dl_phdr and _dl_phnum based on the
53779 magic __ehdr_start linker symbol if it's defined.
53780 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53781 them up here if it was already done.
53782
53783 * elf/dl-support.c (_dl_phdr): Make pointer to const.
53784 (_dl_aux_init): Use const in cast when setting it.
53785 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53786 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53787 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53788
53789 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53790 Declare them here.
53791 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53792 * csu/libc-tls.c: Nor here.
53793 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53794
53795 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53796 (__libc_message): Never call vsyslog.
53797
53798 2013-03-28 Alan Modra <amodra@gmail.com>
53799
53800 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53801 Define as empty.
53802 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53803 Likewise.
53804
53805 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53806
53807 [BZ #15214]
53808 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53809 underflow.
53810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53811
53812 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53813
53814 [BZ #15304]
53815 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53816 Don't add gid passed as argument.
53817
53818 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53819
53820 2013-03-27 Joseph Myers <joseph@codesourcery.com>
53821
53822 [BZ #15307]
53823 * math/k_casinh.c (__kernel_casinh): Handle arguments with
53824 imaginary part between 1.0 and 1.5 and real part less than 0.5
53825 specially.
53826 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53827 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53828 * math/libm-test.inc (cacos_test): Add more tests.
53829 (casin_test): Likewise.
53830 (casinh_test): Likewise.
53831 * sysdeps/i386/fpu/libm-test-ulps: Update.
53832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53833
53834 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53835
53836 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53837 constants.
53838 (norm): Likewise.
53839 (denorm): Likewise.
53840 (__dbl_mp): Likewise.
53841 (add_magnitudes): Likewise.
53842 (sub_magnitudes): Likewise.
53843 (__add): Likewise.
53844 (__sub): Likewise.
53845 (__mul): Likewise.
53846 (__sqr): Likewise.
53847 (__inv): Likewise.
53848 (__dvd): Likewise.
53849
53850 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53851 commented code.
53852 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53853 (__dubcos): Likewise.
53854 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53855 (__ieee754_acos): Likewise.
53856 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53857 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53858 (__exp1): Likewise.
53859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53861 (log1): Likewise.
53862 (my_log2): Likewise.
53863 (checkint): Likewise.
53864 * sysdeps/ieee754/dbl-64/e_remainder.c
53865 (__ieee754_remainder): Likewise.
53866 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53868 (bsloww): Likewise.
53869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53870
53871 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53872 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53873 MANTISSA_STORE_T to store computations on mantissa. Use
53874 macros for rounding and division.
53875 (denorm): Likewise.
53876 (__dbl_mp): Likewise.
53877 (add_magnitudes): Likewise.
53878 (sub_magnitudes): Likewise.
53879 (__mul): Likewise.
53880 (__sqr): Likewise.
53881 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
53882 powers of two in terms of TWOPOW macro.
53883 (mp_no): Make type of mantissa as MANTISSA_T.
53884 [!RADIXI]: Define RADIXI.
53885 [!TWO52]: Define TWO52.
53886 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53887
53888 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53889
53890 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53891 llroundl symbol when building for PPC32.
53892
53893 2013-03-24 Mark H Weaver <mhw@netris.org>
53894
53895 * manual/arith.texi (Normalization Functions): Fix prototypes for
53896 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53897
53898 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53899
53900 [BZ #13889]
53901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53902 high value to check if expl overflow.
53903 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53904 to check for underflow and overflow.
53905 * math/libm-test.inc: Add exp test.
53906
53907 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
53908
53909 [BZ #11120]
53910 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53911 with NOT_IN_libc.
53912
53913 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53914
53915 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53916 symbol.
53917
53918 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
53919
53920 * math/gen-libm-test.pl (parse_args, special_functions): Properly
53921 wrap blocks consisting of several statements.
53922
53923 * sysdeps/generic/math-tests.h: New file.
53924 * sysdeps/i386/fpu/math-tests.h: Likewise.
53925 * math/test-snan.c: Include it.
53926 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53927
53928 2013-03-21 Joseph Myers <joseph@codesourcery.com>
53929
53930 [BZ #15285]
53931 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53932 (__ieee754_j0l): Do not improve calculations using cos of twice
53933 input for inputs above LDBL_MAX / 2.0L.
53934 (__ieee754_y0l): Likewise.
53935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53936 (__ieee754_j1l): Do not improve calculations using cos of twice
53937 input for inputs above LDBL_MAX / 2.0L.
53938 (__ieee754_y1l): Likewise.
53939 * math/libm-test.inc (j0_test): Add another test.
53940 (j1_test): Likewise.
53941 (y0_test): Likewise.
53942 (y1_test): Likewise.
53943 * sysdeps/i386/fpu/libm-test-ulps: Update.
53944
53945 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53946
53947 * Rules ($(objpfx)bench-%.c): Include code from a C source
53948 file.
53949
53950 2013-03-21 Joseph Myers <joseph@codesourcery.com>
53951
53952 [BZ #15287]
53953 * math/k_casinh.c (__kernel_casinh): Handle arguments with
53954 imaginary part 1.0 and real part less than 0.5 specially.
53955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53957 * math/libm-test.inc (cacos_test): Add more tests.
53958 (casin_test): Likewise.
53959 (casinh_test): Likewise.
53960 * sysdeps/i386/fpu/libm-test-ulps: Update.
53961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53962
53963 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53964
53965 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53966 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53967
53968 2013-03-20 Joseph Myers <joseph@codesourcery.com>
53969
53970 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53971 * config.make.in (config-cflags-sse4): Remove variable.
53972 (config-cflags-avx): Likewise.
53973 (config-cflags-sse2avx): Likewise.
53974 (config-cflags-novzeroupper): Likewise.
53975 (config-asflags-i686): Likewise.
53976 (have-mfma4): Likewise.
53977 (have-as-vis3): Likewise.
53978 (MIG): Likewise.
53979 * configure.in (MIG): Do not AC_SUBST.
53980 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53981 (libc_cv_cc_sse4): Do not AC_SUBST.
53982 (libc_cv_cc_avx): Likewise.
53983 (libc_cv_cc_sse2avx): Likewise.
53984 (libc_cv_cc_novzeroupper): Likewise.
53985 (libc_cv_cc_fma4): Likewise.
53986 (libc_cv_as_i686): Likewise.
53987 (libc_cv_sparc_as_vis3): Likewise.
53988 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53989 LIBC_CONFIG_VAR.
53990 (config-asflags-i686): Likewise.
53991 (config-cflags-avx): Likewise.
53992 (config-cflags-sse2avx): Likewise.
53993 (have-mfma4): Likewise.
53994 (config-cflags-novzeroupper): Likewise.
53995 * sysdeps/mach/configure.in (MIG): Likewise.
53996 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53997 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53998 LIBC_CONFIG_VAR.
53999 (config-cflags-avx): Likewise.
54000 (config-cflags-sse2avx): Likewise.
54001 (have-mfma4): Likewise.
54002 (config-cflags-novzeroupper): Likewise.
54003 * configure: Regenerated.
54004 * sysdeps/i386/configure: Likewise.
54005 * sysdeps/mach/configure: Likewise.
54006 * sysdeps/sparc/configure: Likewise.
54007 * sysdeps/x86_64/configure: Likewise.
54008
54009 2013-03-20 Roland McGrath <roland@hack.frob.com>
54010
54011 [BZ #14812]
54012 * locale/programs/localedef.c (options): Put N_ translation marker
54013 on argument names, not just descriptions.
54014
54015 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54016
54017 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54018
54019 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
54020
54021 [BZ #14176]
54022 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54023
54024 2013-03-19 Roland McGrath <roland@hack.frob.com>
54025
54026 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54027 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54028 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54029 [!BEFORE_ABORT] (before_abort): New function.
54030 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54031 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54032 (writev_for_fatal): New function.
54033 (WRITEV_FOR_FATAL): New macro; call that.
54034 (backtrace_and_maps): New function.
54035 (BEFORE_ABORT): New macro; call that.
54036 (struct str_list): Type removed.
54037 (__libc_message, __libc_fatal): Functions removed.
54038 Include <sysdeps/posix/libc_fatal.c> instead.
54039
54040 2013-03-19 Joseph Myers <joseph@codesourcery.com>
54041
54042 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54043 constants.
54044 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54045 double constants.
54046
54047 2013-03-19 Andreas Schwab <schwab@suse.de>
54048
54049 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54050 * sysdeps/gnu/configure: Regenerate.
54051
54052 * configure.in: Substitute libc_cv_rtlddir.
54053 * configure: Regenerate.
54054 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54055 * Makeconfig (rtlddir, inst_rtlddir): New variables.
54056 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54057 * elf/Makefile (install-others, CFLAGS-interp.c)
54058 (ldso_install, common-ldd-rewrite): Likewise.
54059 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54060 $(inst_slibdir)/$(rtld-installed-name).
54061 * scripts/rellns-sh: Add -p option.
54062 * Makerules (make-shlib-link): Use rellns-sh to get relative name
54063 for source.
54064
54065 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
54066
54067 * manual/nptl.texi: Renamed to ...
54068 * manual/threads.texi: ... this.
54069 * manual/Makefile (chapters): Update.
54070
54071 2013-03-18 Roland McGrath <roland@hack.frob.com>
54072
54073 [BZ #14812]
54074 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54075 on argument names, not just descriptions.
54076 * malloc/memusagestat.c (options): Likewise.
54077 * nss/getent.c (options): Likewise.
54078
54079 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
54080
54081 [BZ #14812]
54082 * iconv/iconv_prog.c (options): Put N_ translation marker
54083 on argument names, not just descriptions.
54084 * iconv/iconvconfig.c (options): Likewise.
54085
54086 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
54087
54088 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54089 implementation which is faster on all x86_64 architectures.
54090 Tested on AMD, Intel Nehalem, SNB, IVB.
54091 * sysdeps/x86_64/strnlen.S: Likewise.
54092
54093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54094 Remove all multiarch strlen and strnlen versions.
54095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54096 Remove strlen and strnlen related parts.
54097
54098 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54099 Inline strlen part.
54100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54101
54102 * sysdeps/x86_64/multiarch/strlen.S: Remove.
54103 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54104 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54105 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54106 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54107 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54108
54109 2013-03-17 Carlos O'Donell <carlos@redhat.com>
54110
54111 * manual/memory.texi (Malloc Tunable Parameters):
54112 Sort parameters alphabetically. Add comments for missing entries.
54113
54114 2013-03-17 David S. Miller <davem@davemloft.net>
54115
54116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54117
54118 2013-03-16 Joseph Myers <joseph@codesourcery.com>
54119
54120 [BZ #15283]
54121 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54122 for arguments at most half maximum finite value.
54123 * math/libm-test.inc (j0_test): Add more tests.
54124 (j1_test): Likewise.
54125 (y0_test): Likewise.
54126 (y1_test): Likewise.
54127 * sysdeps/i386/fpu/libm-test-ulps: Update.
54128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54129
54130 [BZ #14155]
54131 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54132 1 / x and functions P and Q for arguments above 0x1p256L.
54133 (__ieee754_y0l): Likewise.
54134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54135 (__ieee754_y1l): Likewise.
54136 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54137 (j1_test): Likewise.
54138 (y0_test): Likewise.
54139 (y1_test): Likewise.
54140
54141 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
54142
54143 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54144 variable.
54145
54146 2013-03-15 Roland McGrath <roland@hack.frob.com>
54147
54148 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54149 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54150 zero since it's initialized to EXEC_PAGESIZE.
54151
54152 * sysdeps/unix/sysv/linux/ldsodefs.h
54153 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54154 * sysdeps/generic/ldsodefs.h: ... here.
54155
54156 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
54157
54158 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54159
54160 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54161 math/test-snan.c.
54162 * math/test-snan.c: Renamed from
54163 sysdeps/powerpc/fpu/test-powerpc-snan.c.
54164 * math/Makefile (tests): Add test-snan.
54165 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54166 test-powerpc-snan.
54167
54168 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54169 SUFFIX. Initialize qNaN_var with __builtin_nan family of
54170 functions.
54171 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
54172 __builtin_nan family of functions.
54173 * math/libm-test.inc (initialize): Initialize qnan_value with
54174 __builtin_nan family of functions.
54175 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54176 Remove variables.
54177 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54178 Remove functions.
54179 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
54180 storage class. Initialize qNaN_var and sNaN_var with
54181 __builtin_nan and __builtin_nans families of functions,
54182 respectively.
54183
54184 * math/libm-test.inc (acosh_test): Also test with qNaN input.
54185 (sqrt_test): Remove duplicate test with qNaN input.
54186 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54187 (round_test, signbit_test, significand_test): Note missing +/-Inf
54188 as well as qNaN tests.
54189
54190 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54191 qNaN_var. Fix a few strings, too.
54192 * math/libm-test.inc (nan_value): Rename to qnan_value.
54193 * math/gen-libm-test.pl (%beautify): Adjust to that.
54194 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54195 * math/test-misc.c (main): Likewise.
54196 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54197 to __qnan_bytes, and __qnan_union, respectively.
54198 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54199 Likewise.
54200 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54201 and lqnanval, respectively.
54202 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54203 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54204 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54205 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54206
54207 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54208 * math/test-misc.c (main) [__x86_64__]: Enable test for long
54209 doubles.
54210
54211 * math/test-misc.c (main): Fix copy'n'pastos.
54212 * misc/tst-efgcvt.c (special): Likewise.
54213
54214 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54215 Remove declarations.
54216
54217 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54218
54219 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54220 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54221 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54222 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54223
54224 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54225
54226 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54227 macro to return vdso values correctly in IFUNC implementations.
54228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54229 Optimization by using IFUNC.
54230
54231 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54232 Richard Henderson <rth@redhat.com>
54233 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54234
54235 * Makefile.in (bench): New target.
54236 * NEWS: Mention the benchmark framework.
54237 * Rules (bench): Likewise.
54238 (binaries-bench): Generate binaries for functions to
54239 benchmark.
54240 * benchtests/Makefile: New makefile for benchmark tests.
54241 * benchtests/bench-skeleton.c: New skeleton file for benchmark
54242 programs.
54243 * benchtests/exp-inputs: New input file for EXP function.
54244 * benchtests/pow-inputs: New input file for POW function.
54245 * scripts/bench.pl: New script to generate source files for
54246 benchmark programs.
54247
54248 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54249
54250 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54252 computations on mantissa. Use macros for rounding and
54253 division.
54254 (denorm): Likewise.
54255 (__dbl_mp): Likewise.
54256 (add_magnitudes): Likewise.
54257 (sub_magnitudes): Likewise.
54258 (__mul): Likewise.
54259 (__sqr): Likewise.
54260 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
54261 powers of two in terms of TWOPOW macro.
54262 (mp_no): Make type of mantissa as MANTISSA_T.
54263 [!RADIXI]: Define RADIXI.
54264 [!TWO52]: Define TWO52.
54265 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54266
54267 * manual/nptl.texi (cindex): Modify threads to pthreads.
54268
54269 2013-03-15 Joseph Myers <joseph@codesourcery.com>
54270
54271 * sysdeps/x86_64/preconfigure: Regenerated.
54272
54273 2013-03-14 Joseph Myers <joseph@codesourcery.com>
54274
54275 [BZ #14155]
54276 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54277 0x1p28 and above.
54278 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54279 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54280 0x1p28 and above.
54281 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54282 * math/libm-test.inc (j0_test): Do not allow one spurious
54283 underflow exception.
54284 (y1_test): Likewise.
54285
54286 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54287
54288 * manual/Makefile (chapters): Add nptl.
54289 * manual/debug.texi (Debugging Support): Add link to Threads
54290 chapter.
54291 * manual/nptl.texi: New file.
54292
54293 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54294
54295 2013-03-14 Petr Baudis <pasky@ucw.cz>
54296
54297 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54298 for non-NULL pointer before the memory validity test. Pointed
54299 out by Holger Brunck <holger.brunck@keymile.com>.
54300
54301 2013-03-13 Andreas Schwab <schwab@suse.de>
54302
54303 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54304 instead of .os.
54305
54306 2013-03-13 Joseph Myers <joseph@codesourcery.com>
54307
54308 * timezone/zic.c: Update from tzcode 2013b.
54309
54310 2013-03-12 Carlos O'Donell <carlos@redhat.com>
54311
54312 * manual/install.texi (Configuring and compiling):
54313 Mention i686 and i586.
54314 * INSTALL: Regenerate.
54315
54316 2013-03-12 Roland McGrath <roland@hack.frob.com>
54317
54318 * sysdeps/init_array/elf-init.c: New file.
54319 * csu/elf-init.c
54320 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54321 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54322
54323 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54324 __gmon_start__ as global, but as static with a .preinit_array pointer.
54325 * sysdeps/init_array/gmon-start.c: New file. Use that.
54326 * sysdeps/init_array/crti.S: New file, empty except for comments.
54327 * sysdeps/init_array/crtn.S: Likewise.
54328
54329 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
54330
54331 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54332 definining bcopy.
54333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54334 Remove Prefer_SSE_for_memop.
54335 * sysdeps/x86_64/multiarch/init-arch.h: Remove
54336 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54337 HAS_PREFER_SSE_FOR_MEMOP.
54338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54339 memset-x86-64.
54340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54341 Remove bzero, memset ifunc support.
54342 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54343 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54344 * sysdeps/x86_64/multiarch/memset.S: Likewise.
54345 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54346
54347 2013-03-11 Andreas Schwab <schwab@suse.de>
54348
54349 [BZ #15234]
54350 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54351 by SHLIB_COMPAT.
54352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54353 (GLIBC_2.16): Remove pthread_atfork.
54354
54355 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
54356
54357 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54358 (ptestcases.h): Likewise.
54359
54360 2013-03-08 Roland McGrath <roland@hack.frob.com>
54361
54362 * Makeconfig ($(common-objpfx)config.status): Depend on
54363 sysdeps/*/preconfigure{,.in} too.
54364
54365 2013-03-08 Joseph Myers <joseph@codesourcery.com>
54366
54367 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54368 (__free_hook): Use void * instead of __malloc_ptr_t.
54369 (__malloc_hook): Likewise.
54370 (__realloc_hook): Likewise.
54371 (__memalign_hook): Likewise.
54372 (__after_morecore_hook): Likewise.
54373 * malloc/arena.c (save_malloc_hook): Likewise.
54374 (save_free_hook): Likewise.
54375 * malloc/hooks.c (malloc_hook_ini): Likewise.
54376 (realloc_hook_ini): Likewise.
54377 (memalign_hook_ini): Likewise.
54378 * malloc/malloc.c (malloc_hook_ini): Likewise.
54379 (realloc_hook_ini): Likewise.
54380 (memalign_hook_ini): Likewise.
54381 (__free_hook): Likewise.
54382 (__malloc_hook): Likewise.
54383 (__realloc_hook): Likewise.
54384 (__memalign_hook): Likewise.
54385 (__libc_malloc): Likewise.
54386 (__libc_free): Likewise.
54387 (__libc_realloc): Likewise.
54388 (__libc_memalign): Likewise.
54389 (__libc_valloc): Likewise.
54390 (__libc_pvalloc): Likewise.
54391 (__libc_calloc): Likewise.
54392 (__posix_memalign): Likewise.
54393 * malloc/morecore.c (__sbrk): Likewise.
54394 (__default_morecore): Likewise.
54395
54396 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54397
54398 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54399 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54400 __malloc_ptrdiff_t.
54401
54402 * malloc/malloc.h (__malloc_size_t): Remove macro.
54403 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54404 __malloc_size_t.
54405 (old_memalign_hook): Likewise.
54406 (old_realloc_hook): Likewise.
54407 (struct hdr): Likewise.
54408 (flood): Likewise.
54409 (mallochook): Likewise.
54410 (memalignhook): Likewise.
54411 (reallochook): Likewise.
54412 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54413 (tr_old_realloc_hook): Likewise.
54414 (tr_old_memalign_hook): Likewise.
54415 (tr_mallochook): Likewise.
54416 (tr_reallochook): Likewise.
54417 (tr_memalignhook): Likewise.
54418
54419 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54420
54421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54422 default_ldbl_pack and using as default implementation.
54423 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54424 implementation.
54425 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54426 redundant definition.
54427 (ldbl_insert_mantissa): Likewise.
54428 (ldbl_canonicalize): Likewise.
54429 (ldbl_nearbyint): Likewise.
54430 (ldbl_pack): Rename to ldbl_pack_ppc.
54431 (ldbl_unpack): Rename to ldbl_unpack_ppc.
54432 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54433 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54434
54435 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54436
54437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54438 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54440 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54443 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54444 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54445
54446 2013-03-07 Andreas Jaeger <aj@suse.de>
54447
54448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54449 bits/mman-linux.h.
54450
54451 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
54452
54453 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54454 Include mpa.h and declare __MPEXP.
54455 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54457 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54458 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54460 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54461 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54462
54463 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54464 (__slowpow): Use long double EXPL and LOGL functions to
54465 compute POW.
54466 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54467 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54468 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54469 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54470 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54471 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54472
54473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54474 intermediate variable to calculate exponent.
54475 (__sqr): Likewise.
54476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54477 Likewise.
54478 (__sqr): Likewise.
54479
54480 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54481 [!NO__SQR]: Define __sqr.
54482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54483 and NO__SQR. Remove all code except __mul and __sqr. Include
54484 sysdeps/ieee754/dbl-64/mpa.c.
54485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54486
54487 [BZ #12723]
54488 * posix/Makefile (tests): Add tst-pathconf.
54489 * posix/tst-pathconf.c: New test case.
54490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54491 _PC_PIPE_BUF.
54492 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54493
54494 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
54495
54496 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54497
54498 2013-03-06 Andreas Jaeger <aj@suse.de>
54499
54500 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54501 definition via __MAP_ANONYMOUS.
54502
54503 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54504 it's not part of Linux headers.
54505
54506 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54507 (MAP_HUGE_MASK): Define.
54508
54509 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54510 Define.
54511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54513 Define.
54514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54515 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54516 Define.
54517 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54518 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54519 Define.
54520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54521
54522 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54523 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54524 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54525 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54526 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54527 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54528
54529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54530 Handle f2fs.
54531
54532 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54533 Handle f2fs and efivarfs.
54534
54535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54536 f2fs.
54537
54538 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54539 (EFIVARFS_MAGIC): Add.
54540 (F2FS_LINK_MAX): Add.
54541
54542 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54543
54544 * stdio-common/vfprintf.c: Replace __builtin_expect with
54545 __glibc_unlikely.
54546
54547 2013-03-06 Joseph Myers <joseph@codesourcery.com>
54548
54549 [BZ #13550]
54550 * sysdeps/generic/bp-sym.h: Remove file.
54551 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54552 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54553 <bp-sym.h> and <bp-asm.h>.
54554 (__longjmp): Don't use BP_SYM.
54555 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54556 and <bp-asm.h>.
54557 (memcpy): Don't use BP_SYM.
54558 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54559 <bp-sym.h> and <bp-asm.h>.
54560 (memcpy): Don't use BP_SYM.
54561 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54562 <bp-asm.h>.
54563 (memcpy): Don't use BP_SYM.
54564 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54565 <bp-asm.h>.
54566 (memset): Don't use BP_SYM.
54567 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54568 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54569 (__bzero): Don't use BP_SYM.
54570 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54571 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54572 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54573 <bp-sym.h> and <bp-asm.h>.
54574 (memcmp): Don't use BP_SYM. Remove comment about bounded
54575 pointers.
54576 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54577 <bp-sym.h> and <bp-asm.h>.
54578 (memcpy): Don't use BP_SYM.
54579 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54580 <bp-sym.h> and <bp-asm.h>.
54581 (memset): Don't use BP_SYM.
54582 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54583 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54584 (__bzero): Don't use BP_SYM.
54585 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54586 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54587 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54588 <bp-sym.h> and <bp-asm.h>.
54589 (strncmp): Don't use BP_SYM. Remove comment about bounded
54590 pointers.
54591 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54592 <bp-sym.h> and <bp-asm.h>.
54593 (memcpy): Don't use BP_SYM.
54594 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54595 <bp-sym.h> and <bp-asm.h>.
54596 (memset): Don't use BP_SYM.
54597 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54598 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54599 (__bzero): Don't use BP_SYM.
54600 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54601 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54602 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54603 <bp-sym.h> and <bp-asm.h>.
54604 (__memchr): Don't use BP_SYM.
54605 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54606 <bp-sym.h> and <bp-asm.h>.
54607 (memcmp): Don't use BP_SYM. Remove comment about bounded
54608 pointers.
54609 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54610 <bp-sym.h> and <bp-asm.h>.
54611 (memcpy): Don't use BP_SYM.
54612 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54613 <bp-sym.h> and <bp-asm.h>.
54614 (__mempcpy): Don't use BP_SYM.
54615 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54616 <bp-sym.h> and <bp-asm.h>.
54617 (__memrchr): Don't use BP_SYM.
54618 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54619 <bp-sym.h> and <bp-asm.h>.
54620 (memset): Don't use BP_SYM.
54621 (__bzero): Likewise.
54622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54623 <bp-sym.h> and <bp-asm.h>.
54624 (__rawmemchr): Don't use BP_SYM.
54625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54626 <bp-sym.h> and <bp-asm.h>.
54627 (__STRCMP): Don't use BP_SYM.
54628 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54629 <bp-sym.h> and <bp-asm.h>.
54630 (strchr): Don't use BP_SYM.
54631 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54632 <bp-sym.h> and <bp-asm.h>.
54633 (__strchrnul): Don't use BP_SYM.
54634 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54635 <bp-sym.h> and <bp-asm.h>.
54636 (strlen): Don't use BP_SYM.
54637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54638 <bp-sym.h> and <bp-asm.h>.
54639 (strncmp): Don't use BP_SYM. Remove comment about bounded
54640 pointers.
54641 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54642 <bp-sym.h> and <bp-asm.h>.
54643 (__strnlen): Don't use BP_SYM.
54644 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54645 <bp-sym.h> and <bp-asm.h>.
54646 (__GI__setjmp): Don't use BP_SYM.
54647 (_setjmp): Likewise.
54648 (__sigsetjmp): Likewise.
54649 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54650 (L(start_addresses)): Don't use BP_SYM.
54651 (_start): Likewise.
54652 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54653 <bp-asm.h>.
54654 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54655 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54656 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54657 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54658 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54659 <bp-asm.h>.
54660 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54661 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
54662 about bounded pointers.
54663 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54664 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54665 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54666 <bp-asm.h>.
54667 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
54668 about bounded pointers. Remove GKM FIXME comments.
54669 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54670 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54671 <bp-asm.h>.
54672 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54673 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
54674 Remove GKM FIXME comments.
54675 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54676 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54677 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54678 <bp-asm.h>.
54679 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
54680 about bounded pointers. Remove GKM FIXME comment.
54681 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54682 and <bp-asm.h>.
54683 (strncmp): Don't use BP_SYM. Remove comment about bounded
54684 pointers.
54685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54686 <bp-sym.h> and <bp-asm.h>.
54687 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54689 <bp-sym.h> and <bp-asm.h>.
54690 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
54691 comment.
54692
54693 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54694
54695 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54696 call free(NULL).
54697
54698 2013-03-05 David S. Miller <davem@davemloft.net>
54699
54700 * po/es.po: Update from translation team.
54701
54702 2013-03-05 Andreas Jaeger <aj@suse.de>
54703
54704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54705 <bits/mman-linux.h>.
54706 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54707 is fine.
54708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54709 <bits/mman-linux.h> to end of file.
54710 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54711 is fine.
54712 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54713 <bits/mman-linux.h> to end of file.
54714 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54715 is fine.
54716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54717 <bits/mman-linux.h> to end of file.
54718
54719 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54720 (MCL_CURRENT, MCL_FUTURE): Define here.
54721
54722 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54723
54724 [BZ #15232]
54725 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54726 attribute_hidden.
54727 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54728
54729 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54730
54731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54732 fourth parameter needed for rt_sigprocmask syscall.
54733 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54734 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54736 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54737 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54738 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54739
54740 2013-03-04 Joseph Myers <joseph@codesourcery.com>
54741
54742 [BZ #13550]
54743 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54744 comment about bounded pointers.
54745 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54746 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54747
54748 2013-03-04 Andreas Jaeger <aj@suse.de>
54749
54750 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54751 common definitions.
54752
54753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54754 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54755 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54756 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54759
54760 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54761
54762 [BZ #15055]
54763 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54764 __ieee754_sqrl instead of __sqrl.
54765
54766 2013-03-01 Joseph Myers <joseph@codesourcery.com>
54767
54768 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54769 * sysdeps/powerpc/fpu_control.h: ... here.
54770 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54771 * sysdeps/powerpc/bits/fenvinline.h: ... here.
54772 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54773 * sysdeps/powerpc/bits/mathinline.h: ... here.
54774
54775 2013-03-01 Roland McGrath <roland@hack.frob.com>
54776
54777 * elf/dl-hwcaps.c (_dl_important_hwcaps):
54778 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54779 to just [NEED_DL_SYSINFO_DSO].
54780 * elf/dl-support.c: Likewise.
54781 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54782 * elf/rtld.c (dl_main): Likewise.
54783 * elf/setup-vdso.h (setup_vdso): Likewise.
54784 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54785 * sysdeps/unix/sysv/linux/dl-sysdep.c
54786 (_dl_discover_osversion): Likewise.
54787
54788 2013-03-01 Carlos O'Donell <carlos@redhat.com>
54789
54790 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54792
54793 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
54794
54795 * NEWS: Mention libm performance improvements and non-x86 PI
54796 futex support.
54797
54798 * csu/libc-start.c (__pthread_initialize_minimal): Change
54799 function arguments.
54800 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54801
54802 2013-02-28 Joseph Myers <joseph@codesourcery.com>
54803
54804 [BZ #13550]
54805 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54807 <bp-sym.h> and <bp-asm.h>.
54808 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54809 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54810 and <bp-asm.h>.
54811 (memcpy): Don't use BP_SYM.
54812 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54813 <bp-asm.h>.
54814 (__mpn_add_n): Don't use BP_SYM.
54815 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54816 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54817 and <bp-asm.h>.
54818 (__mpn_addmul_1): Don't use BP_SYM.
54819 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54820 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54821 <bp-sym.h>.
54822 (_setjmp): Don't use BP_SYM.
54823 (__novmx_setjmp): Likewise.
54824 (__GI__setjmp): Likewise.
54825 (__vmx_setjmp): Likewise.
54826 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54827 <bp-sym.h>.
54828 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54829 (__bzero): Don't use BP_SYM.
54830 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54831 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54832 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54833 <bp-sym.h> and <bp-asm.h>.
54834 (memcpy): Don't use BP_SYM.
54835 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54836 <bp-sym.h> and <bp-asm.h>.
54837 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54838 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54839 <bp-sym.h> and <bp-asm.h>.
54840 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54841 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54842 <bp-asm.h>.
54843 (__mpn_lshift): Don't use BP_SYM.
54844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54845 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54846 <bp-asm.h>.
54847 (memset): Don't use BP_SYM.
54848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54850 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54851 <bp-asm.h>.
54852 (__mpn_mul_1): Don't use BP_SYM.
54853 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54854 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54855 <bp-sym.h> and <bp-asm.h>.
54856 (memcmp): Don't use BP_SYM.
54857 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54858 <bp-sym.h> and <bp-asm.h>.
54859 (memcpy): Don't use BP_SYM.
54860 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54861 <bp-sym.h> and <bp-asm.h>.
54862 (memset): Don't use BP_SYM.
54863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54864 <bp-sym.h> and <bp-asm.h>.
54865 (strncmp): Don't use BP_SYM.
54866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54867 <bp-sym.h> and <bp-asm.h>.
54868 (memcpy): Don't use BP_SYM.
54869 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54870 <bp-sym.h> and <bp-asm.h>.
54871 (memset): Don't use BP_SYM.
54872 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54873 <bp-sym.h> and <bp-asm.h>.
54874 (__memchr): Don't use BP_SYM.
54875 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54876 <bp-sym.h> and <bp-asm.h>.
54877 (memcmp): Don't use BP_SYM.
54878 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54879 <bp-sym.h> and <bp-asm.h>.
54880 (memcpy): Don't use BP_SYM.
54881 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54882 <bp-sym.h> and <bp-asm.h>.
54883 (__mempcpy): Don't use BP_SYM.
54884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54885 <bp-sym.h> and <bp-asm.h>.
54886 (__memrchr): Don't use BP_SYM.
54887 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54888 <bp-sym.h> and <bp-asm.h>.
54889 (memset): Don't use BP_SYM.
54890 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54891 <bp-sym.h> and <bp-asm.h>.
54892 (__rawmemchr): Don't use BP_SYM.
54893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54894 <bp-sym.h> and <bp-asm.h>.
54895 (__STRCMP): Don't use BP_SYM.
54896 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54897 <bp-sym.h> and <bp-asm.h>.
54898 (strchr): Don't use BP_SYM.
54899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54900 <bp-sym.h> and <bp-asm.h>.
54901 (__strchrnul): Don't use BP_SYM.
54902 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54903 <bp-sym.h> and <bp-asm.h>.
54904 (strlen): Don't use BP_SYM.
54905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54906 <bp-sym.h> and <bp-asm.h>.
54907 (strncmp): Don't use BP_SYM.
54908 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54909 <bp-sym.h> and <bp-asm.h>.
54910 (__strnlen): Don't use BP_SYM.
54911 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54912 <bp-asm.h>.
54913 (__mpn_rshift): Don't use BP_SYM.
54914 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54915 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54916 <bp-sym.h> and <bp-asm.h>.
54917 (__sigsetjmp): Don't use BP_SYM.
54918 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54919 (L(start_addresses)): Don't use BP_SYM.
54920 (_start): Likewise.
54921 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54922 <bp-asm.h>.
54923 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54924 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54925 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54926 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54927 <bp-asm.h>.
54928 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54929 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54930 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54931 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54932 <bp-asm.h>.
54933 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
54934 comments.
54935 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54936 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54937 <bp-asm.h>.
54938 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
54939 FIXME comments.
54940 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54941 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54942 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54943 <bp-asm.h>.
54944 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
54945 comment.
54946 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54947 and <bp-asm.h>.
54948 (strncmp): Don't use BP_SYM,
54949 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54950 <bp-asm.h>.
54951 (__mpn_sub_n): Don't use BP_SYM.
54952 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54953 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54954 and <bp-asm.h>.
54955 (__mpn_submul_1): Don't use BP_SYM.
54956 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54958 <bp-sym.h> and <bp-asm.h>.
54959 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54961 <bp-sym.h> and <bp-asm.h>.
54962 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
54963 comment.
54964
54965 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54966
54967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54968 Use ZK to minimize writes to Z.
54969 (sub_magnitudes): Simplify code a bit.
54970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54971 Use ZK to minimize writes to Z.
54972 (sub_magnitudes): Simplify code a bit.
54973
54974 2013-02-27 Roland McGrath <roland@hack.frob.com>
54975
54976 * csu/gmon-start.c: Add special exception to license text.
54977
54978 2013-02-27 Richard Henderson <rth@redhat.com>
54979
54980 * scripts/config.guess: Update from config.git.
54981 * scripts/config.sub: Likewise.
54982
54983 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54984
54985 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54986
54987 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54988
54989 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54990
54991 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54992
54993 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54994
54995 2013-02-26 Roland McGrath <roland@hack.frob.com>
54996
54997 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54998 [$(build-shared = yes].
54999
55000 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55001
55002 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55003 (__mul): Reduce iterations for calculating mantissa.
55004
55005 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55006 MPTWO.
55007 (__mpranred): Likewise.
55008
55009 [BZ #15160]
55010 * malloc/memusagestat.c (main): Draw graphs for heap and stack
55011 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55012
55013 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
55014
55015 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55016 Define __attribute__.
55017
55018 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55019
55020 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55021 unused.
55022 * posix/regex_internal.h (__attribute): Remove.
55023 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55024 (re_string_context_at): Likewise.
55025 (bitset_not): Use __attribute__ and mark function as possibly
55026 unused.
55027 (bitset_merge): Likewise.
55028 (bitset_mask): Likewise.
55029 (re_string_char_size_at): Likewise.
55030 (re_string_wchar_at): Likewise.
55031 (re_string_elem_size_at): Likewise.
55032
55033 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
55034
55035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55036 code.
55037 (cc32): Likewise.
55038
55039 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55040 (__acr): Likewise.
55041 (__cpy): Likewise.
55042 (norm): Likewise.
55043 (denorm): Likewise.
55044 (__dbl_mp): Likewise.
55045 (add_magnitudes): Likewise.
55046 (sub_magnitudes): Likewise.
55047 (__mul): Likewise.
55048 (__inv): Likewise.
55049
55050 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55051 style.
55052
55053 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55054 style.
55055
55056 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55057 code.
55058
55059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55060 up changes with default code.
55061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55062 Likewise.
55063
55064 2013-02-24 Allan McRae <allan@archlinux.org>
55065
55066 * manual/socket.texi (The Internet Namespace): Order menu items
55067 to match that in the file.
55068
55069 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55070 node listing of the info page menu.
55071
55072 2013-02-21 Joseph Myers <joseph@codesourcery.com>
55073
55074 [BZ #13550]
55075 * sysdeps/i386/bp-asm.h: Remove file.
55076 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55077 (PARMS): Do not use macros from bp-asm.h.
55078 (S1): Likewise.
55079 (S2): Likewise.
55080 (SIZE): Likewise.
55081 (__mpn_add_n): Do not use BP_SYM
55082 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55083 "bp-asm.h".
55084 (PARMS): Do not use macros from bp-asm.h.
55085 (S1): Likewise.
55086 (SIZE): Likewise.
55087 (__mpn_addmul_1): Do not use BP_SYM
55088 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55089 "bp-asm.h".
55090 (PARMS): Do not use macros from bp-asm.h.
55091 (SIGMSK): Likewise.
55092 (_setjmp): Likewise. Do not use BP_SYM.
55093 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55094 "bp-asm.h".
55095 (PARMS): Do not use macros from bp-asm.h.
55096 (SIGMSK): Likewise.
55097 (setjmp): Likewise. Do not use BP_SYM.
55098 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55099 "bp-asm.h".
55100 (PARMS): Do not use macros from bp-asm.h.
55101 (__frexp): Do not use BP_SYM.
55102 (frexp): Likewise.
55103 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55104 "bp-asm.h".
55105 (PARMS): Do not use macros from bp-asm.h.
55106 (__frexpf): Do not use BP_SYM.
55107 (frexpf): Likewise.
55108 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55109 "bp-asm.h".
55110 (PARMS): Do not use macros from bp-asm.h.
55111 (__frexpl): Do not use BP_SYM.
55112 (frexpl): Likewise.
55113 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55114 "bp-asm.h".
55115 (PARMS): Do not use macros from bp-asm.h.
55116 (__remquo): Do not use BP_SYM.
55117 (remquo): Likewise.
55118 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55119 "bp-asm.h".
55120 (PARMS): Do not use macros from bp-asm.h.
55121 (__remquof): Do not use BP_SYM.
55122 (remquof): Likewise.
55123 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55124 "bp-asm.h".
55125 (PARMS): Do not use macros from bp-asm.h.
55126 (__remquol): Do not use BP_SYM.
55127 (remquol): Likewise.
55128 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55129 "bp-asm.h".
55130 (PARMS): Do not use macros from bp-asm.h.
55131 (DEST): Likewise.
55132 (SRC): Likewise.
55133 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
55134 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55135 "bp-asm.h".
55136 (PARMS): Do not use macros from bp-asm.h.
55137 (strlen): Do not use BP_SYM.
55138 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55139 "bp-asm.h".
55140 (PARMS): Do not use macros from bp-asm.h.
55141 (S1): Likewise.
55142 (S2): Likewise.
55143 (SIZE): Likewise.
55144 (__mpn_add_n): Do not use BP_SYM.
55145 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55146 "bp-asm.h".
55147 (PARMS): Do not use macros from bp-asm.h.
55148 (S1): Likewise.
55149 (SIZE): Likewise.
55150 (__mpn_addmul_1): Do not use BP_SYM.
55151 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55152 weak_alias.
55153 (bzero): Likewise.
55154 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55155 "bp-asm.h".
55156 (PARMS): Do not use macros from bp-asm.h.
55157 (S): Likewise.
55158 (SIZE): Likewise.
55159 (__mpn_lshift): Do not use BP_SYM.
55160 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55161 "bp-asm.h".
55162 (PARMS): Do not use macros from bp-asm.h.
55163 (DEST): Likewise.
55164 (SRC): Likewise.
55165 (LEN): Likewise.
55166 (memcpy): Likewise. Do not use BP_SYM.
55167 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55168 libc_hidden_def and weak_alias.
55169 (mempcpy): Do not use BP_SYM in weak_alias.
55170 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55171 "bp-asm.h".
55172 (PARMS): Do not use macros from bp-asm.h.
55173 (DEST): Likewise.
55174 (LEN): Likewise.
55175 [!BZERO_P] (CHR): Likewise.
55176 (memset): Likewise. Do not use BP_SYM.
55177 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55178 "bp-asm.h".
55179 (PARMS): Do not use macros from bp-asm.h.
55180 (S1): Likewise.
55181 (SIZE): Likewise.
55182 (__mpn_mul_1): Do not use BP_SYM.
55183 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55184 "bp-asm.h".
55185 (PARMS): Do not use macros from bp-asm.h.
55186 (S): Likewise.
55187 (SIZE): Likewise.
55188 (__mpn_rshift): Do not use BP_SYM.
55189 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55190 "bp-asm.h".
55191 (PARMS): Do not use macros from bp-asm.h.
55192 (STR): Likewise.
55193 (CHR): Likewise.
55194 (strchr): Likewise. Do not use BP_SYM.
55195 (index): Do not use BP_SYM in weak_alias.
55196 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55197 "bp-asm.h".
55198 (PARMS): Do not use macros from bp-asm.h.
55199 (DEST): Likewise.
55200 (SRC): Likewise.
55201 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
55202 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55203 "bp-asm.h".
55204 (PARMS): Do not use macros from bp-asm.h.
55205 (strlen): Do not use BP_SYM.
55206 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55207 "bp-asm.h".
55208 (PARMS): Do not use macros from bp-asm.h.
55209 (S1): Likewise.
55210 (S2): Likewise.
55211 (SIZE): Likewise.
55212 (__mpn_sub_n): Do not use BP_SYM.
55213 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55214 "bp-asm.h".
55215 (PARMS): Do not use macros from bp-asm.h.
55216 (S1): Likewise.
55217 (SIZE): Likewise.
55218 (__mpn_submul_1): Do not use BP_SYM.
55219 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55220 "bp-asm.h".
55221 (PARMS): Do not use macros from bp-asm.h.
55222 (S1): Likewise.
55223 (S2): Likewise.
55224 (SIZE): Likewise.
55225 (__mpn_add_n): Do not use BP_SYM.
55226 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55227 weak_alias.
55228 (bzero): Likewise.
55229 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55230 "bp-asm.h".
55231 (PARMS): Do not use macros from bp-asm.h.
55232 (BLK2): Likewise.
55233 (LEN): Likewise.
55234 (memcmp): Do not use BP_SYM.
55235 (bcmp): Do not use BP_SYM in weak_alias.
55236 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55237 "bp-asm.h".
55238 (PARMS): Do not use macros from bp-asm.h.
55239 (DEST): Likewise.
55240 (SRC): Likewise.
55241 (LEN): Likewise.
55242 (memcpy): Likewise. Do not use BP_SYM.
55243 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55244 "bp-asm.h".
55245 (PARMS): Do not use macros from bp-asm.h.
55246 (DEST): Likewise.
55247 (SRC): Likewise.
55248 (LEN): Likewise.
55249 (memmove): Likewise. Do not use BP_SYM.
55250 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55251 "bp-asm.h".
55252 (PARMS): Do not use macros from bp-asm.h.
55253 (DEST): Likewise.
55254 (SRC): Likewise.
55255 (LEN): Likewise.
55256 (__mempcpy): Likewise. Do not use BP_SYM.
55257 (mempcpy): Do not use BP_SYM in weak_alias.
55258 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55259 "bp-asm.h".
55260 (PARMS): Do not use macros from bp-asm.h.
55261 (DEST): Likewise.
55262 (LEN): Likewise.
55263 [!BZERO_P] (CHR): Likewise.
55264 (memset): Likewise. Do not use BP_SYM.
55265 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55266 "bp-asm.h".
55267 (PARMS): Do not use macros from bp-asm.h.
55268 (STR2): Likewise.
55269 (strcmp): Do not use BP_SYM.
55270 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55271 "bp-asm.h".
55272 (PARMS): Do not use macros from bp-asm.h.
55273 (STR): Likewise.
55274 (DELIM): Likewise.
55275 [USE_AS_STRTOK_R] (SAVE): Likewise.
55276 (FUNCTION): Likewise. Do not use BP_SYM.
55277 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55278 aliases.
55279 (strtok_r): Likewise.
55280 (__GI___strtok_r): Likewise.
55281 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55282 (PARMS): Do not use macros from bp-asm.h.
55283 (S): Likewise.
55284 (SIZE): Likewise.
55285 (__mpn_lshift): Do not use BP_SYM.
55286 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55287 (PARMS): Do not use macros from bp-asm.h.
55288 (STR): Likewise.
55289 (CHR): Likewise.
55290 (__memchr): Do not use BP_SYM.
55291 (memchr): Do not use BP_SYM in weak_alias.
55292 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55293 (PARMS): Do not use macros from bp-asm.h.
55294 (BLK2): Likewise.
55295 (LEN): Likewise.
55296 (memcmp): Do not use BP_SYM.
55297 (bcmp): Do not use BP_SYM in weak_alias.
55298 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55299 (PARMS): Do not use macros from bp-asm.h.
55300 (S1): Likewise.
55301 (SIZE): Likewise.
55302 (__mpn_mul_1): Do not use BP_SYM.
55303 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55304 "bp-asm.h".
55305 (PARMS): Do not use macros from bp-asm.h.
55306 (STR): Likewise.
55307 (CHR): Likewise.
55308 (__rawmemchr): Do not use BP_SYM.
55309 (rawmemchr): Do not use BP_SYM in weak_alias.
55310 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55311 (PARMS): Do not use macros from bp-asm.h.
55312 (S): Likewise.
55313 (SIZE): Likewise.
55314 (__mpn_rshift): Do not use BP_SYM.
55315 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55316 (PARMS): Do not use macros from bp-asm.h.
55317 (SIGMSK): Likewise.
55318 (__sigsetjmp): Likewise. Do not use BP_SYM.
55319 * sysdeps/i386/start.S: Do not include "bp-sym.h".
55320 (_start): Do not use BP_SYM.
55321 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55322 (PARMS): Do not use macros from bp-asm.h.
55323 (DEST): Likewise.
55324 (SRC): Likewise.
55325 (__stpcpy): Likewise. Do not use BP_SYM.
55326 (stpcpy): Do not use BP_SYM in weak_alias.
55327 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55328 "bp-asm.h".
55329 (PARMS): Do not use macros from bp-asm.h.
55330 (DEST): Likewise.
55331 (SRC): Likewise.
55332 (LEN): Likewise.
55333 (__stpncpy): Likewise. Do not use BP_SYM.
55334 (stpncpy): Do not use BP_SYM in weak_alias.
55335 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55336 (PARMS): Do not use macros from bp-asm.h.
55337 (STR): Likewise.
55338 (CHR): Likewise.
55339 (strchr): Likewise. Do not use BP_SYM.
55340 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55341 "bp-asm.h".
55342 (PARMS): Do not use macros from bp-asm.h.
55343 (STR): Likewise.
55344 (CHR): Likewise.
55345 (__strchrnul): Likewise. Do not use BP_SYM.
55346 (strchrnul): Do not use BP_SYM in weak_alias.
55347 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55348 "bp-asm.h".
55349 (PARMS): Do not use macros from bp-asm.h.
55350 (STOP): Likewise.
55351 (strcspn): Do not use BP_SYM.
55352 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55353 "bp-asm.h".
55354 (PARMS): Do not use macros from bp-asm.h.
55355 (STR): Likewise.
55356 (STOP): Likewise.
55357 (strpbrk): Likewise. Do not use BP_SYM.
55358 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55359 "bp-asm.h".
55360 (PARMS): Do not use macros from bp-asm.h.
55361 (STR): Likewise.
55362 (CHR): Likewise.
55363 (strrchr): Likewise. Do not use BP_SYM.
55364 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55365 (PARMS): Do not use macros from bp-asm.h.
55366 (SKIP): Likewise.
55367 (strspn): Do not use BP_SYM.
55368 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55369 (PARMS): Do not use macros from bp-asm.h.
55370 (STR): Likewise.
55371 (DELIM): Likewise.
55372 (SAVE): Likewise.
55373 (FUNCTION): Likewise. Do not use BP_SYM.
55374 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55375 aliases.
55376 (strtok_r): Likewise.
55377 (__GI___strtok_r): Likewise.
55378 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55379 (PARMS): Do not use macros from bp-asm.h.
55380 (S1): Likewise.
55381 (S2): Likewise.
55382 (SIZE): Likewise.
55383 (__mpn_sub_n): Do not use BP_SYM.
55384 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55385 "bp-asm.h".
55386 (PARMS): Do not use macros from bp-asm.h.
55387 (S1): Likewise.
55388 (SIZE): Likewise.
55389 (__mpn_submul_1): Do not use BP_SYM.
55390 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55391 <bp-sym.h>.
55392 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55393 and <bp-asm.h>.
55394 (PARMS): Do not use macros from bp-asm.h.
55395 (FLAGS): Likewise.
55396 (PTID): Likewise.
55397 (TLS): Likewise.
55398 (CTID): Likewise.
55399 (__clone): Do not use BP_SYM.
55400 (clone): Do not use BP_SYM in weak_alias.
55401 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55402 and <bp-asm.h>.
55403 (PARMS): Do not use macros from bp-asm.h.
55404 (LEN): Likewise.
55405 (__mmap64): Do not use BP_SYM.
55406 (mmap64): Do not use BP_SYM in weak_alias.
55407 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55408 <bp-sym.h> and <bp-asm.h>.
55409 (PARMS): Do not use macros from bp-asm.h.
55410 (__posix_fadvise64_l64): Do not use BP_SYM.
55411 * sysdeps/unix/sysv/linux/i386/semtimedop.S
55412 (PARMS): Do not use macros from bp-asm.h.
55413 (NSOPS): Likewise.
55414 (semtimedop): Do not use BP_SYM.
55415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55416 and <bp-asm.h>.
55417
55418 2013-02-21 Allan McRae <allan@archlinux.org>
55419
55420 * manual/message.texi (Charset conversion in gettext):
55421 Move @end statement to beginning of line.
55422
55423 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55424
55425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55426 static.
55427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55428 Likewise.
55429
55430 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55431 (denorm): Likewise.
55432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55434
55435 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55436
55437 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55438 tail-call to the resolved function if pltexit isn't needed.
55439
55440 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55441
55442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55443 or Y being zero as being unlikely.
55444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55445 Likewise.
55446
55447 2013-02-20 Carlos O'Donell <carlos@redhat.com>
55448
55449 * manual/nss.texi (System Databases and Name Service Switch):
55450 Remove frobnicate @pxref.
55451
55452 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
55453
55454 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55455 __attribute__ ((unused)) to __attribute__ ((__unused__)).
55456
55457 2013-02-20 Petr Machata <pmachata@redhat.com>
55458
55459 * elf/elf.h (R_ARM_TARGET1): New macro.
55460 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55461 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55462 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55463 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55464 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55465 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55466 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55467 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55468 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55469 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55470 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55471 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55472 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55473 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55474 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55475 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55476 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55477 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55478 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55479 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55480 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55481 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55482 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55483 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55484 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55485 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55486 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55487 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55488 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55489 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55490 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55491 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55492 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55493 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55494 (R_ARM_THM_GOT_BREL12): Likewise.
55495 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55496 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55497 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55498 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55499 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55500 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55501 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55502 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55503 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55504
55505 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
55506
55507 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55508 __attribute_used__ to __attribute__ ((unused)).
55509
55510 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
55511
55512 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55513 powerpc mpa.c.
55514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55515 comment formatting.
55516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55517
55518 2013-02-19 Joseph Myers <joseph@codesourcery.com>
55519
55520 [BZ #13550]
55521 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55522 Remove macro.
55523 (ENTER): Remove both macro definitions.
55524 (LEAVE): Likewise.
55525 (CHECK_BOUNDS_LOW): Likewise.
55526 (CHECK_BOUNDS_HIGH): Likewise.
55527 (CHECK_BOUNDS_BOTH): Likewise.
55528 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55529 (RETURN_BOUNDED_POINTER): Likewise.
55530 (RETURN_NULL_BOUNDED_POINTER): Likewise.
55531 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55532 (POP_ERRNO_LOCATION_RETURN): Likewise.
55533 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55534 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55535 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55536 macros.
55537 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55538 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55539 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55540 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55541 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55542 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55543 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55544 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55545 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55546 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55547 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55548 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55549 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55550 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55551 removed macros.
55552 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55553 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55554 macros.
55555 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55556 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55557 * sysdeps/i386/i586/memset.S (memset): Likewise.
55558 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55559 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55560 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55561 macros.
55562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55563 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55564 Change uses of L(2) to L(out).
55565 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55566 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55567 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55568 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55569 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55570 removed macros.
55571 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55572 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55573 macros.
55574 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55575 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55576 (RETURN): Do not use macro LEAVE.
55577 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55578 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55579 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55580 * sysdeps/i386/i686/memset.S (memset): Likewise.
55581 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55582 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55583 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55584 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55585 Likewise.
55586 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55587 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
55588 L(1_2) and L(1_3) into L(1).
55589 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55590 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55592 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55593 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55594 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55595 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55596 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55597 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55598 macros.
55599 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55600 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55601 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55602 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55603 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55604 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55605 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55606 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55607 * sysdeps/i386/strcspn.S (strcspn): Likewise.
55608 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55609 * sysdeps/i386/strrchr.S (strrchr): Likewise.
55610 * sysdeps/i386/strspn.S (strspn): Likewise.
55611 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55612 conditional code.
55613 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55614 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55615 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55616 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
55617 L(1_3) into L(1_1).
55618 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55619 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55620 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55621 macros.
55622 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55623
55624 2013-02-19 Jakub Jelinek <jakub@redhat.com>
55625
55626 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55627 macro.
55628
55629 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
55630
55631 * math/atest-exp.c (exp_mpn): Remove ROUND.
55632 * math/atest-exp2.c (exp_mpn): Likewise.
55633 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55634
55635 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55636 * stdlib/tst-tls-atexit-lib.c: Likewise.
55637 * stdlib/tst-tls-atexit.c: Likewise.
55638
55639 2013-02-18 Mike Frysinger <vapier@gentoo.org>
55640
55641 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55642 and __attribute_alloc_size__.
55643
55644 2013-02-18 Mike Frysinger <vapier@gentoo.org>
55645
55646 * include/programs/xmalloc.h: Change __attribute_alloc_size to
55647 __attribute_alloc_size__.
55648 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55649 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55650
55651 2013-02-18 Mike Frysinger <vapier@gentoo.org>
55652
55653 * include/programs/xmalloc.h: New file.
55654 * catgets/gencat.c: Include it.
55655 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55656 * elf/pldd.c: Likewise.
55657 * iconv/iconv_charmap.c: Likewise.
55658 * iconv/iconvconfig.c: Likewise.
55659 * iconv/strtab.c: Likewise.
55660 * locale/programs/locale.c: Likewise.
55661 * locale/programs/localedef.h: Likewise.
55662 * locale/programs/simple-hash.c: Likewise.
55663 * nscd/nscd.h: Likewise.
55664 * nss/makedb.c: Likewise.
55665 * sysdeps/generic/ldconfig.h: Likewise.
55666
55667 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
55668
55669 * Versions.def: Add GLIBC_2.18.
55670 * include/link.h (struct link_map): New member l_tls_dtor_count.
55671 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55672 (__call_tls_dtors): Likewise.
55673 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55674 __cxa_thread_atexit_impl.
55675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55676 Likewise.
55677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55678 Likewise.
55679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55680 Likewise.
55681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55682 Likewise.
55683 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55685 Likewise.
55686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55687 Likewise.
55688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55690 Likewise.
55691 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55692 (tests): Add test case tst-tls-atexit.
55693 (modules-names): Add shared library for tst-tls-atexit.
55694 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55695 (GLIBC_PRIVATE): Add __call_tls_dtors.
55696 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55697 for libstdc++.
55698 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55699 * stdlib/tst-tls-atexit.c: New test case.
55700 * stdlib/tst-tls-atexit-lib.c: New test case.
55701
55702 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55703
55704 * elf/Versions (ld): Add _dl_find_dso_for_object.
55705 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55706 * elf/dl-open.c (_dl_find_dso_for_object): New function.
55707 (dl_open_worker): Use _dl_find_dso_for_object.
55708 * elf/dl-sym.c (do_sym): Likewise.
55709 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55710
55711 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55712
55713 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55714 Syntactic changes only.
55715 (_dl_runtime_profile): Do a tail-call to the resolved function.
55716
55717 2013-02-17 Joseph Myers <joseph@codesourcery.com>
55718
55719 [BZ #13550]
55720 * sysdeps/x86_64/bp-asm.h: Remove file.
55721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55722 <bp-sym.h> and <bp-asm.h>.
55723 (__clone): Do not use BP_SYM.
55724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55725 <bp-sym.h> and <bp-asm.h>.
55726 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55727 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55728 "bp-asm.h".
55729 (_setjmp): Do not use BP_SYM.
55730 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55731 "bp-asm.h".
55732 (setjmp): Do not use BP_SYM.
55733 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55734 libc_hidden_def.
55735 (mempcpy): Do not use BP_SYM in weak_alias.
55736 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55737 "bp-asm.h".
55738 (strchr): Do not use BP_SYM.
55739 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55740 "bp-asm.h".
55741 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55742 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55743 (_start): Do not use BP_SYM.
55744 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55745 "bp-asm.h".
55746 (strcat): Do not use BP_SYM.
55747 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55748 "bp-asm.h".
55749 (STRCMP): Do not use BP_SYM.
55750 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55751 "bp-asm.h".
55752 (STRCPY): Do not use BP_SYM.
55753 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55754 "bp-asm.h".
55755 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55756 "bp-asm.h".
55757 (FUNCTION): Do not use BP_SYM.
55758 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55759 weak_alias.
55760 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55761
55762 2013-02-17 Andreas Jaeger <aj@suse.de>
55763
55764 * time/Versions: Sort entries.
55765 * string/Versions: Likewise.
55766 * resolv/Versions: Likewise.
55767 * posix/Versions: Likewise.
55768 * iconv/Versions: Likewise.
55769 * elf/Versions: Likewise.
55770 * wcsmbs/Versions: Likewise.
55771
55772 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
55773
55774 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55775 loop termination condition.
55776
55777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55778 variable to calculate EZ.
55779 (__sqr): Likewise.
55780
55781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55782 the lower precision input.
55783
55784 2013-02-15 Joseph Myers <joseph@codesourcery.com>
55785
55786 [BZ #13550]
55787 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55788 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55789 (run-via-rtld-prefix): Do not handle %-bp tests.
55790 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55791 (all-object-suffixes): Remove .ob.
55792 (bppfx): Remove variable.
55793 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55794 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55795 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55796 [$(build-bounded) = yes] (libtype.ob): Likewise.
55797 * Makerules (elide-routines.ob): Remove variable.
55798 (do-tests-clean): Do not handle *-bp.out.
55799 (common-mostlyclean): Do not handle *-bp and *-bp.out.
55800 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55801 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55802 (tests): Do not include $(tests-bp.out).
55803 (xtests): Do not include $(xtests-bp.out).
55804 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55805 [$(build-bounded) = yes] ($(addprefix
55806 $(objpfx),$(binaries-bounded))): Remove rule.
55807 ($(objpfx)%-bp.out): Remove rule.
55808 * config.make.in (build-bounded): Remove variable.
55809 * crypt/Makefile [$(build-bounded) = yes]
55810 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55811 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55812 append to variable.
55813 [$(build-bounded) = yes] (install-lib): Likewise.
55814 [$(build-bounded) = yes] (generated): Likewise.
55815 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55816 Remove rule.
55817 * intl/Makefile [$(build-bounded) = yes]
55818 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55819 * math/Makefile [$(build-bounded) = yes]
55820 ($(tests:%=$(objpfx)%-bp): Likewise.
55821 * misc/Makefile [$(build-bounded) = yes]
55822 ($(objpfx)tst-tsearch-bp): Likewise.
55823 * nptl/Makeconfig (bounded-thread-library): Remove variable.
55824 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55825 Remove dependency.
55826 * string/Makefile (o-objects.ob): Remove variable.
55827 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55828 (CFLAGS-.ob): Remove variable.
55829 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55830 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55831 both definitions of variable.
55832 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55833 (ASFLAGS-.ob): Remove variable.
55834
55835 2013-02-14 Joseph Myers <joseph@codesourcery.com>
55836
55837 [BZ #13550]
55838 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55839 Remove __BOUNDED_POINTERS__ from condition.
55840 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55841 * string/bits/string2.h [!__NO_STRING_INLINES &&
55842 !__BOUNDED_POINTERS__]: Likewise.
55843 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55844 Likewise.
55845 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55846 Remove conditional code.
55847 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55848 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55849 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55850 condition.
55851
55852 [BZ #13550]
55853 * csu/libc-start.c: Do not include <bp-sym.h>.
55854 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55855 * elf/dl-open.c: Do not include <bp-sym.h>.
55856 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55857 * math/fegetenv.c: Do not include <bp-sym.h>.
55858 (fegetenv): Do not use BP_SYM in versioned symbols.
55859 * nptl/sysdeps/pthread/bits/libc-lockP.h
55860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55861 <bp-sym.h>.
55862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55863 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55865 (__pthread_mutex_destroy): Likewise.
55866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55867 (__pthread_mutex_lock): Likewise.
55868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55869 (__pthread_mutex_trylock): Likewise.
55870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55871 (__pthread_mutex_unlock): Likewise.
55872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55873 (__pthread_mutexattr_init): Likewise.
55874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55875 (__pthread_mutexattr_destroy): Likewise.
55876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55877 (__pthread_mutexattr_settype): Likewise.
55878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55879 (__pthread_rwlock_init): Likewise.
55880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55881 (__pthread_rwlock_destroy): Likewise.
55882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55883 (__pthread_rwlock_rdlock): Likewise.
55884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55885 (__pthread_rwlock_tryrdlock): Likewise.
55886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55887 (__pthread_rwlock_wrlock): Likewise.
55888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55889 (__pthread_rwlock_trywrlock): Likewise.
55890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55891 (__pthread_rwlock_unlock): Likewise.
55892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55893 (__pthread_key_create): Likewise.
55894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55895 (__pthread_setspecific): Likewise.
55896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55897 (__pthread_getspecific): Likewise.
55898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55899 Likewise.
55900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55901 (_pthread_cleanup_push_defer): Likewise.
55902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55903 (_pthread_cleanup_pop_restore): Likewise.
55904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55905 (pthread_setcancelstate): Likewise.
55906 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55907 <bp-sym.h>.
55908 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55909 (memchr): Do not use BP_SYM in weak_alias.
55910 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55911 (fegetenv): Do not use BP_SYM in versioned symbols.
55912 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55913 (fesetenv): Do not use BP_SYM in versioned symbols.
55914 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55915 (feupdateenv): Do not use BP_SYM in versioned symbols.
55916 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55917 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55918 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55919 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55920 (open64): Do not use BP_SYM in weak_alias.
55921 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55922 (fegetenv): Do not use BP_SYM in versioned symbols.
55923 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55924 (fesetenv): Do not use BP_SYM in versioned symbols.
55925 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55926 (feupdateenv): Do not use BP_SYM in versioned symbols.
55927 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55928 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55929 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55930 (feraiseexcept): Do not use BP_SYM in versioned symbols.
55931 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55932 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55933 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55934 <bp-sym.h>.
55935 (__libc_start_main): Do not use BP_SYM.
55936
55937 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
55938
55939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55940 redundant return line.
55941 (norm): Likewise.
55942 (denorm): Likewise.
55943 (dbl_mp): Likewise.
55944 (sub_magnitudes): Likewise.
55945 (__add): Likewise.
55946 (__sub): Likewise.
55947 (__mul): Likewise.
55948 (__inv): Likewise.
55949 (__dvd): Likewise.
55950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55951 (norm): Likewise.
55952 (denorm): Likewise.
55953 (dbl_mp): Likewise.
55954 (sub_magnitudes): Likewise.
55955 (__add): Likewise.
55956 (__sub): Likewise.
55957 (__mul): Likewise.
55958 (__inv): Likewise.
55959 (__dvd): Likewise.
55960
55961 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55962 instead of __mul.
55963 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55964 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55965 (cc32): Likewise.
55966
55967 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55968 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55970 of __mul for squares.
55971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55972 function
55973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55974 Likewise.
55975 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55976 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55977
55978 2013-02-13 Joseph Myers <joseph@codesourcery.com>
55979
55980 [BZ #13550]
55981 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55982 code.
55983 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55984 prototype or function definition. Rename ubp_* variables and
55985 parameters. Remove argv definitions conditional on
55986 [__BOUNDED_POINTERS__].
55987 * debug/backtrace.c (__backtrace): Do not use __unbounded.
55988 * elf/dl-runtime.c (_dl_fixup): Likewise.
55989 * include/set-hooks.h (RUN_HOOK): Likewise.
55990 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55991 definition.
55992 * string/strcpy.c (strcpy): Do not use __unbounded.
55993 * sysdeps/generic/frame.h (struct layout): Likewise.
55994 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55995 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55996 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55997 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55998 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55999 (__backtrace): Likewise.
56000 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56001 use __ptrvalue.
56002 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56003 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56004 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56005 Likewise.
56006 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56007 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56008 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56009 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56010 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56011 Do not use __unbounded.
56012 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56013 Rename __unboundedrlimits parameter to rlimits in prototype.
56014 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56015 Do not use __unbounded.
56016 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56017 not use __ptrvalue.
56018 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56019 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56020 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56021 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56022 __ptrvalue or __unbounded.
56023 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56024 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56025 use __unbounded.
56026 (__new_msgctl): Do not use __ptrvalue.
56027 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56028 __unbounded.
56029 (__libc_msgrcv): Do not use __ptrvalue.
56030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56031 startup_info): Do not use __unbounded.
56032 (__libc_start_main): Likewise. Rename ubp_* variables and
56033 parameters. Remove argv definitions conditional on
56034 [__BOUNDED_POINTERS__].
56035 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56036 __ptrvalue.
56037 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56038 use __unbounded.
56039 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56040 or __ptrvalue.
56041 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56042 use __unbounded.
56043 (__new_shmctl): Do not use __ptrvalue.
56044 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56045 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56046 Likewise.
56047 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56048 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56049 (__libc_sigaction): Likewise.
56050 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56052 Likewise.
56053 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56054
56055 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
56056
56057 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56058
56059 * string/mempcpy.c: Implement by calling memcpy.
56060
56061 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56062
56063 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56064
56065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56066 evaluation.
56067
56068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56069 values in the mantissa.
56070
56071 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56072 minimize writes to Z.
56073 (sub_magnitudes): Simplify code a bit.
56074
56075 2013-02-12 Roland McGrath <roland@hack.frob.com>
56076
56077 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56078 from the message. The linker prefixes all warnings with that already.
56079
56080 2013-02-12 Andreas Schwab <schwab@suse.de>
56081
56082 [BZ #15078]
56083 * posix/regexec.c (extend_buffers): Add parameter min_len.
56084 (check_matching): Pass minimum needed length.
56085 (clean_state_log_if_needed): Likewise.
56086 (get_subexp): Likewise.
56087 * posix/Makefile (tests): Add bug-regex34.
56088 (bug-regex34-ENV): Define.
56089 * posix/bug-regex34.c: New file.
56090
56091 [BZ #11561]
56092 * posix/regcomp.c (parse_bracket_exp): When looking up collating
56093 elements compare against the byte sequence of it, not its name.
56094 * posix/Makefile (tests): Add bug-regex35.
56095 (bug-regex35-ENV): Define.
56096 * posix/bug-regex35.c: New file.
56097
56098 2013-02-11 Tom de Vries <tom@codesourcery.com>
56099
56100 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
56101 comment.
56102 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56103 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56104 (CHECK_EOL): Add undef.
56105
56106 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
56107
56108 * bits/stdlib-bsearch.h: New file.
56109 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56110 * stdlib/stdlib.h: Likewise.
56111
56112 2013-02-11 Roland McGrath <roland@hack.frob.com>
56113
56114 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56115 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56116 declaration.
56117 * manual/search.texi (Array Search Function): Add missing const in
56118 lfind prototype.
56119 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56120 declaration to use rlim_t.
56121 (Basic Scheduling Functions): Remove erroneous const from
56122 sched_getparam prototype. Remove erroneous * from
56123 sched_get_priority_max and sched_get_priority_min prototypes.
56124 (Resource Usage): Fix summary @comment on vtimes to refer to
56125 sys/vtimes.h rather than vtimes.h.
56126 Add missing *s in vtimes prototype.
56127 (Limits on Resources): Fix ulimit prototype to return long int.
56128 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56129 prototypes to use long int rather than double.
56130 (BSD Random): Fix initstate and setstate to use char *, not void *.
56131 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56132 prototype to make second argument 'struct aiocb64 *const[]'.
56133 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56134 (Status of AIO Operations): Remove erroneous const in aio_return and
56135 aio_return64 prototypes.
56136 (Synchronizing I/O): Fix sync prototype to return void.
56137 * manual/startup.texi (Suboptions): Remove an erroneous const in
56138 getsubopt prototype.
56139 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56140 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56141 use size_t rather than int.
56142 (Scanning All Users): Likewise for getpwent_r.
56143 (Setting Groups): Add missing const to setgroups prototype.
56144 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56145 * manual/socket.texi (Host Names): Fix gethostbyaddr and
56146 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56147 'const void *' rather than 'const char *'.
56148 (Host Address Functions): Likewise for inet_ntop.
56149 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56150 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56151 ssize_t for return value.
56152 (Sending Data): Likewise for send, sendto, sendmsg.
56153 (Socket Option Functions): Add a missing const in setsockopt prototype.
56154 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56155 use wchar_t for the argument.
56156 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56157 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56158 take no arguments.
56159 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56160 double/float/long double for second argument.
56161 Fix return types of significand, significandf, significandl.
56162 * manual/filesys.texi (Setting Permissions): Use mode_t for second
56163 argument in fchmod prototype.
56164 (File Owner): Use uid_t and gid_t in fchown prototype.
56165 (File Times): Add const to utimes, futimes, and lutimes prototypes.
56166 (Making Special Files): Use mode_t and dev_t in mknod prototype.
56167 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56168 use 'const struct dirent **' as argument types to CMP function pointer
56169 argument.
56170 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56171 (File Times): Fix summary magic @comment for struct utimbuf and utime
56172 to refer to utime.h, not time.h.
56173 * manual/string.texi (Argz Functions): Add missing const in
56174 argz_extract and argz_next prototypes.
56175 (Finding Tokens in a String): Likewise for basename.
56176 (String/Array Comparison): Fix typo in wcscasecmp prototype.
56177 (Copying and Concatenation): Fix typo in wmemmove prototype.
56178 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56179 (Signal Stack): Remove erroneous const in sigstack prototype.
56180 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56181 prototype.
56182 (Simple Calendar Time): Likewise for stime.
56183 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56184 prototype.
56185 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56186 say sys/sysctl.h instead.
56187 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56188 and vsyslog prototypes.
56189
56190 2013-02-11 Tom de Vries <tom@codesourcery.com>
56191
56192 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56193 Remove.
56194
56195 2013-02-11 Roland McGrath <roland@hack.frob.com>
56196
56197 * misc/sys/mman.h: Fix typo in mremap comment.
56198
56199 2013-02-08 Roland McGrath <roland@hack.frob.com>
56200
56201 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56202 the '\0' terminator.
56203
56204 2013-02-08 Joseph Myers <joseph@codesourcery.com>
56205
56206 [BZ #13550]
56207 * debug/segfault.c: Don't include <bp-checks.h>.
56208 * sysdeps/generic/bp-checks.h: Remove file.
56209 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56210 (__GETDENTS): Don't use CHECK_N.
56211 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56212 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56213 (__getgroups): Don't use CHECK_N.
56214 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56215 (setgroups): Don't use CHECK_N.
56216 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56217 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56218 (__libc_msgrcv): Don't use CHECK_N.
56219 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56220 (__libc_msgsnd): Don't use CHECK_N.
56221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56222 <bp-checks.h>.
56223 (__libc_pread): Don't use CHECK_N.
56224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56225 include <bp-checks.h>.
56226 (__libc_pread64): Don't use CHECK_N.
56227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56228 include <bp-checks.h>.
56229 (__libc_pwrite): Don't use CHECK_N.
56230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56231 include <bp-checks.h>.
56232 (__libc_pwrite64): Don't use CHECK_N.
56233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56234 <bp-checks.h>.
56235 (__libc_pread): Don't use CHECK_N.
56236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56237 include <bp-checks.h>.
56238 (__libc_pread64): Don't use CHECK_N.
56239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56240 include <bp-checks.h>.
56241 (__libc_pwrite): Don't use CHECK_N.
56242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56243 include <bp-checks.h>.
56244 (__libc_pwrite64): Don't use CHECK_N.
56245 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56246 (do_pread): Don't use CHECK_N.
56247 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56248 (do_pread64): Don't use CHECK_N.
56249 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56250 (do_pwrite): Don't use CHECK_N.
56251 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56252 (do_pwrite64): Don't use CHECK_N.
56253 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56254 (__libc_readv): Don't use CHECK_N.
56255 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56256 (semop): Don't use CHECK_N.
56257 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56258 <bp-checks.h>.
56259 (semtimedop): Don't use CHECK_N.
56260 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56261 (__libc_pread): Don't use CHECK_N.
56262 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56263 <bp-checks.h>.
56264 (__libc_pread64): Don't use CHECK_N.
56265 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56266 <bp-checks.h>.
56267 (__libc_pwrite): Don't use CHECK_N.
56268 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56269 <bp-checks.h>.
56270 (__libc_pwrite64): Don't use CHECK_N.
56271 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56272 <bp-checks.h>.
56273 (__libc_msgrcv): Don't use CHECK_N.
56274 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56275 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
56276 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56277 (__libc_writev): Don't use CHECK_N.
56278
56279 2013-02-08 Roland McGrath <roland@hack.frob.com>
56280
56281 * string/strcpy.c: Removed unused variable.
56282
56283 * Makeconfig (+sysdep-includes): Define with := rather than =.
56284 Use an existing include/ subdir of each sysdeps dir before it.
56285
56286 2013-02-08 Carlos O'Donell <carlos@redhat.com>
56287
56288 * nscd/connection.c (register_traced_file): Comment function.
56289 [HAVE_INOTIFY] (union __inev): Define.
56290 [HAVE_INOTIFY] (inotify_check_files): New function.
56291 [HAVE_INOTIFY] (clear_db_cache): Likewise.
56292 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56293 clear_db_cache.
56294 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56295
56296 2013-02-08 Carlos O'Donell <carlos@redhat.com>
56297
56298 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56299 loaded if not already and that a failure is permanent.
56300
56301 2013-02-08 Carlos O'Donell <carlos@redhat.com>
56302
56303 [BZ #15006]
56304 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56305 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56306
56307 2013-02-08 Joseph Myers <joseph@codesourcery.com>
56308
56309 [BZ #13550]
56310 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56311 (CHECK_1_NULL_OK): Likewise.
56312 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56313 (__fxstat): Do not use CHECK_1.
56314 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56315 <bp-checks.h>.
56316 (___fxstat64): Do not use CHECK_1.
56317 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56318 <bp-checks.h>.
56319 (__fxstatat): Do not use CHECK_1.
56320 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56321 <bp-checks.h>.
56322 (__fxstatat64): Do not use CHECK_1.
56323 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56324 <bp-checks.h>.
56325 (__fxstat): Do not use CHECK_1.
56326 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56327 <bp-checks.h>.
56328 (__fxstatat): Do not use CHECK_1.
56329 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56330 <bp-checks.h>.
56331 (__getresgid): Do not use CHECK_1.
56332 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56333 <bp-checks.h>.
56334 (__getresuid): Do not use CHECK_1.
56335 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56336 <bp-checks.h>.
56337 (__lxstat): Do not use CHECK_1.
56338 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56339 <bp-checks.h>.
56340 (__old_msgctl): Do not use CHECK_1.
56341 (__new_msgctl): Likewise.
56342 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56343 <bp-checks.h>.
56344 (__new_setrlimit): Do not use CHECK_1.
56345 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56346 <bp-checks.h>.
56347 (__old_shmctl): Do not use CHECK_1.
56348 (__new_shmctl): Likewise.
56349 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56350 <bp-checks.h>.
56351 (__xstat): Do not use CHECK_1.
56352 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56353 (__lxstat): Do not use CHECK_1.
56354 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56355 <bp-checks.h>.
56356 (___lxstat64): Do not use CHECK_1.
56357 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56358 (__old_msgctl): Do not use CHECK_1.
56359 (__new_msgctl): Likewise.
56360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56361 <bp-checks.h>.
56362 (__gettimeofday): Do not use CHECK_1.
56363 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56364 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56365 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56366 <bp-checks.h>.
56367 (__gettimeofday): Do not use CHECK_1.
56368 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56369 (__old_shmctl): Do not use CHECK_1_NULL_OK.
56370 (__new_shmctl): Do not use CHECK_1.
56371 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56372 <bp-checks.h>.
56373 (do_sigtimedwait): Do not use CHECK_1.
56374 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56375 <bp-checks.h>.
56376 (do_sigwaitinfo): Do not use CHECK_1.
56377 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56378 <bp-checks.h>.
56379 (msgctl): Do not use CHECK_1.
56380 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56381 <bp-checks.h>.
56382 (shmctl): Do not use CHECK_1.
56383 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56384 (ustat): Do not use CHECK_1.
56385 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56386 <bp-checks.h>.
56387 (__fxstat): Do not use CHECK_1.
56388 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56389 <bp-checks.h>.
56390 (__fxstatat): Do not use CHECK_1.
56391 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56392 <bp-checks.h>.
56393 (__lxstat): Do not use CHECK_1.
56394 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56395 <bp-checks.h>.
56396 (__xstat): Do not use CHECK_1.
56397 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56398 (__xstat): Do not use CHECK_1.
56399 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56400 (___xstat64): Do not use CHECK_1.
56401
56402 [BZ #13550]
56403 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56404 definitions.
56405 (CHECK_BOUNDS_HIGH): Likewise.
56406 * string/strcpy.c: Do not include <bp-checks.h>.
56407 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56408
56409 2013-02-07 Roland McGrath <roland@hack.frob.com>
56410
56411 * nscd/nscd-client.h (__nscd_drop_map_ref):
56412 Add __attribute__ ((unused)).
56413 * nis/nss-nisplus.h (niserr2nss): Likewise.
56414
56415 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56416 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56417
56418 * csu/libc-tls.c (init_static_tls, init_slotinfo):
56419 Remove inline keyword.
56420 * include/rounding-mode.h (round_away): Likewise.
56421 * libio/wfileops.c (adjust_wide_data): Likewise.
56422 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56423 (__m128i_strloadu_tolower): Likewise.
56424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56425 (__m128i_strloadu_tolower): Likewise.
56426 * time/mktime.c (ydhms_diff): Likewise.
56427 * locale/elem-hash.h (elem_hash): Likewise.
56428 * locale/setlocale.c (setdata): Likewise.
56429 * posix/regex_internal.h (re_string_char_size_at): Likewise.
56430 (re_string_wchar_at): Likewise.
56431 (bitset_not, bitset_merge, bitset_mask): Likewise.
56432 [!(__GNUC__ > 3)] (inline): Remove macro.
56433 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56434 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56435 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56436 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56437 * string/memcmp.c (memcmp_bytes): Likewise.
56438 * locale/programs/locarchive.c (compute_hashval): Likewise.
56439 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56440 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56441 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56442 * nss/getent.c (print_rpc, print_protocols): Likewise.
56443 (print_passwd, print_group, print_aliases): Likewise.
56444 * nis/nss-nisplus.h (niserr2nss): Likewise.
56445 * nscd/connections.c (restart_p): Likewise.
56446 Change return type to bool.
56447
56448 2013-02-05 Roland McGrath <roland@hack.frob.com>
56449
56450 * Makeconfig (all-Depend-files): Add existing
56451 $(sorted-subdirs:=/Depend) files.
56452 (all-subdirs): Remove nss.
56453 * sysdeps/unix/inet/Subdirs: Add it here instead.
56454 * hesiod/Depend: New file.
56455
56456 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56457 instead of calling alloca.
56458
56459 * io/lseek.c (__lseek): Rename to __libc_lseek.
56460 Define __lseek as an alias.
56461
56462 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56463
56464 2013-02-04 Carlos O'Donell <carlos@redhat.com>
56465
56466 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56467 else clause and remove check for non-standard endianness.
56468
56469 2013-02-04 David S. Miller <davem@davemloft.net>
56470
56471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56472
56473 2013-02-04 Joseph Myers <joseph@codesourcery.com>
56474
56475 [BZ #13550]
56476 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56477 (__ubp_memchr): Remove prototype.
56478 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56479 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56480 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56481 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56482 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56483 Remove alias.
56484 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56485 (__ubp_memchr): Likewise.
56486 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56487 (__ubp_memchr): Likewise.
56488 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56489 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56490 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56491 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56492 CHECK_STRING.
56493 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56494 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56495 (__getcwd): Do not use CHECK_STRING.
56496 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56497 <bp-checks.h>.
56498 (__real_chown): Do not use CHECK_STRING.
56499 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56500 <bp-checks.h>.
56501 (fchownat): Do not use CHECK_STRING.
56502 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56503 CHECK_STRING.
56504 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56505 <bp-checks.h>.
56506 (__lchown): Do not use CHECK_STRING.
56507 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56508 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56509 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56510 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56512 include <bp-checks.h>.
56513 (truncate64): Do not use CHECK_STRING.
56514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56515 <bp-checks.h>.
56516 (__real_chown): Do not use CHECK_STRING.
56517 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56518 <bp-checks.h>.
56519 (__lchown): Do not use CHECK_STRING.
56520 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56521 <bp-checks.h>.
56522 (__chown): Do not use CHECK_STRING.
56523 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56524 <bp-checks.h>.
56525 (truncate64): Do not use CHECK_STRING.
56526 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56527 Likewise.
56528 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56529 (__xmknod): Do not use CHECK_STRING.
56530 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56531 <bp-checks.h>.
56532 (__xmknodat): Do not use CHECK_STRING.
56533 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56534 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56535
56536 2013-02-04 Andreas Schwab <schwab@suse.de>
56537
56538 [BZ #14142]
56539 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56540 * include/netdb.h: Likewise for h_errno.
56541 * elf/tst-stackguard1.c: Include <tls.h>.
56542
56543 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
56544
56545 * elf/link.h (struct link_map): Extend the l_addr comment.
56546 * include/link.h (struct link_map): Likewise.
56547
56548 2013-02-01 Joseph Myers <joseph@codesourcery.com>
56549
56550 [BZ #13550]
56551 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56552 (BOUNDED_1): Remove macro.
56553 * debug/backtrace.c: Don't include <bp-checks.h>.
56554 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56555 (__backtrace): Likewise.
56556 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56557 <bp-checks.h>.
56558 (__backtrace): Don't use BOUNDED_1.
56559 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56560 <bp-checks.h>.
56561 (__backtrace): Don't use BOUNDED_1.
56562 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56563 (__backtrace): Don't use BOUNDED_1.
56564 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56565 (shmat): Don't use BOUNDED_N.
56566
56567 2013-01-31 Joseph Myers <joseph@codesourcery.com>
56568
56569 [BZ #13550]
56570 * sysdeps/generic/bp-start.h: Remove file.
56571 * csu/libc-start.c: Don't include <bp-start.h>.
56572 (LIBC_START_MAIN): Set up __environ directly instead of using
56573 INIT_ARGV_and_ENVIRON.
56574 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56575 <bp-start.h>.
56576
56577 [BZ #13550]
56578 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56579 definitions.
56580 (CHECK_FCNTL): Likewise.
56581 (CHECK_N_PAGES): Likewise.
56582
56583 [BZ #13550]
56584 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56585 definitions.
56586 (CHECK_SIGSET_NULL_OK): Likewise.
56587 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56588 <bp-checks.h>.
56589 (sigpending): Don't use CHECK_SIGSET.
56590 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56591 <bp-checks.h>.
56592 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56593 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56594 <bp-checks.h>.
56595 (do_sigsuspend): Don't use CHECK_SIGSET.
56596 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56597 use CHECK_SIGSET.
56598 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56599 (do_sigwait): Don't use CHECK_SIGSET.
56600 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56601 use CHECK_SIGSET.
56602 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56603 include <bp-checks.h>.
56604 (sigpending): Don't use CHECK_SIGSET.
56605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56606 include <bp-checks.h>.
56607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56608 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56609 <bp-checks.h>.
56610 (sigpending): Don't use CHECK_SIGSET.
56611 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56612 <bp-checks.h>.
56613 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56614
56615 [BZ #13550]
56616 * sysdeps/generic/bp-semctl.h: Remove file.
56617 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56618 <bp-checks.h> and <bp-semctl.h>.
56619 (__old_semctl): Don't use CHECK_SEMCTL.
56620 (__new_semctl): Likewise.
56621 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56622 and <bp-semctl.h>.
56623 (__old_semctl): Don't use CHECK_SEMCTL.
56624 (__new_semctl): Likewise.
56625 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56626 <bp-checks.h> and <bp-semctl.h>.
56627 (__old_semctl): Don't use CHECK_SEMCTL.
56628 (__new_semctl): Likewise.
56629 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56630 <bp-checks.h> and <bp-semctl.h>.
56631 (semctl): Don't use CHECK_SEMCTL.
56632
56633 [BZ #13550]
56634 * Makerules (elide-bp-thunks): Remove variable.
56635 (elide-routines.oS): Don't use $(elide-bp-thunks).
56636 (elide-routines.os): Likewise.
56637 (elide-routines.o): Likewise.
56638 (elide-routines.op): Likewise.
56639 (elide-routines.og): Likewise.
56640 (objects): Don't use $(bp-thunks).
56641 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56642 include.
56643 (common-generated): Do not add s-proto-bp.d.
56644 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56645 (int): Likewise.
56646 (typ): Likewise.
56647 Do not generate makefile rules for bounded-pointer thunks.
56648 * sysdeps/generic/bp-thunks.h: Remove file.
56649 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56650 * sysdeps/unix/s-proto-bp.S: Likewise.
56651
56652 [BZ #15062]
56653 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56654 parts of result separately when argument is not close to line from
56655 -i to i and one part of argument is small.
56656 * math/k_casinhf.c (__kernel_casinhf): Likewise.
56657 * math/k_casinhl.c (__kernel_casinhl): Likewise.
56658 * math/libm-test.inc (cacos_test): Add more tests.
56659 (casin_test): Likewise.
56660 (casinh_test): Likewise.
56661 * sysdeps/i386/fpu/libm-test-ulps: Update.
56662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56663
56664 2013-01-31 David S. Miller <davem@davemloft.net>
56665
56666 * po/de.po: Update from translation team.
56667
56668 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
56669
56670 * time/tzfile.c: Include stdint.h for SIZE_MAX.
56671
56672 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
56673
56674 * configure.in (_AC_PROG_CC_C89): New definition.
56675 * configure: Regenerate.
56676
56677 * configure.in (AC_PROG_CPP): New definition.
56678 * configure: Regenerate.
56679
56680 2013-01-23 Joseph Myers <joseph@codesourcery.com>
56681
56682 * debug/tst-backtrace.h: New file.
56683 * debug/tst-backtrace2.c: Include tst-backtrace.h.
56684 (ret): Remove variable.
56685 (x): Likewise.
56686 (FAIL): Remove macro.
56687 (NO_INLINE): Likewise.
56688 (fn1): Use match function instead of strstr.
56689 * debug/tst-backtrace3.c: Include tst-backtrace.h.
56690 (ret): Remove variable.
56691 (x): Likewise.
56692 (FAIL): Remove macro.
56693 (NO_INLINE): Likewise.
56694 (fn): Use match function instead of strstr.
56695 * debug/tst-backtrace4.c: Include tst-backtrace.h.
56696 (ret): Remove variable.
56697 (x): Likewise.
56698 (FAIL): Remove macro.
56699 (NO_INLINE): Likewise.
56700 (handle_signal): Use match function instead of strstr.
56701 * debug/tst-backtrace5.c: Include tst-backtrace.h.
56702 (ret): Remove variable.
56703 (x): Likewise.
56704 (FAIL): Remove macro.
56705 (NO_INLINE): Likewise.
56706 (handle_signal): Use match function instead of strstr.
56707
56708 2013-01-23 Roland McGrath <roland@hack.frob.com>
56709
56710 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56711
56712 2013-01-23 David S. Miller <davem@davemloft.net>
56713
56714 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56715 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56716 argument of CAS if possible.
56717 * sysdeps/sparc/sparc64/bits/atomic.h
56718 (__arch_compare_and_exchange_val_32_acq): Likewise.
56719 (__arch_compare_and_exchange_val_64_acq): Likewise.
56720
56721 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
56722
56723 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56724 * sysdeps/posix/ulimit.c: ... this.
56725 Include <limits.h>.
56726 * sysdeps/unix/bsd/ulimit.c: Remove file.
56727
56728 2013-01-23 Adam Conrad <adconrad@0c3.net>
56729
56730 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56731 (LDFLAGS-tst-array5): Likewise.
56732
56733 2013-01-23 Joseph Myers <joseph@codesourcery.com>
56734
56735 [BZ #15036]
56736 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56737 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56738 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56739 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56740
56741 2013-01-21 David S. Miller <davem@davemloft.net>
56742
56743 * sysdeps/sparc/backtrace.c: New file.
56744 * sysdeps/sparc/sparc32/backtrace.h: New file.
56745 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56746 * sysdeps/sparc/sparc64/backtrace.h: New file.
56747 * sysdeps/sparc/sparc64/backtrace.c: Delete.
56748 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56749 -funwind-tables.
56750
56751 2013-01-21 Andreas Schwab <schwab@suse.de>
56752
56753 [BZ #15020]
56754 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56755 closed its stdout.
56756
56757 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
56758
56759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56760 "mpa2.h".
56761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56762
56763 2013-01-18 Joseph Myers <joseph@codesourcery.com>
56764 Mark Mitchell <mark@codesourcery.com>
56765 Tom de Vries <tom@codesourcery.com>
56766 Paul Pluzhnikov <ppluzhnikov@google.com>
56767
56768 * debug/tst-backtrace2.c: New file.
56769 * debug/tst-backtrace3.c: Likewise.
56770 * debug/tst-backtrace4.c: Likewise.
56771 * debug/tst-backtrace5.c: Likewise.
56772 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56773 (CFLAGS-tst-backtrace3.c): Likewise.
56774 (CFLAGS-tst-backtrace4.c): Likewise.
56775 (CFLAGS-tst-backtrace5.c): Likewise.
56776 (LDFLAGS-tst-backtrace2): Likewise.
56777 (LDFLAGS-tst-backtrace3): Likewise.
56778 (LDFLAGS-tst-backtrace4): Likewise.
56779 (LDFLAGS-tst-backtrace5): Likewise.
56780 (tests): Add new tests tst-backtrace2, tst-backtrace3,
56781 tst-backtrace4 and tst-backtrace5.
56782
56783 2013-01-18 Anton Blanchard <anton@samba.org>
56784 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56785
56786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56787 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56788 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56789 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56791 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56792 "+r" and remove output regs list as redundant. Add explicit inline
56793 asm to specify register of return val to work around compiler codegen
56794 bug. Remove (int) cast on return value. Add return type parameter to
56795 use in macro so that this macro does not truncate return value for
56796 64-bit values.
56797 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56798 pass to INTERNAL_VSYSCALL_NCS.
56799 (INLINE_VSYSCALL): Add 'long int' as return type to
56800 INTERNAL_VSYSCALL_NCS macro invocation.
56801 (INTERNAL_VSYSCALL): Add 'long int' as return type to
56802 INTERNAL_VSYSCALL_NCS macro invocation.
56803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56804
56805 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
56806
56807 [BZ #14496]
56808 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56809 Fix application of SIMD FP exception mask.
56810
56811 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56812 mp_no from a power of two.
56813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56814 __mpexp_twomm1. Use __pow_mp.
56815
56816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56817 multiplication.
56818
56819 2013-01-17 David S. Miller <davem@davemloft.net>
56820
56821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56822
56823 2013-01-17 Joseph Myers <joseph@codesourcery.com>
56824
56825 [BZ #15023]
56826 * include/complex.h: Condition contents on [!_COMPLEX_H].
56827 (__kernel_casinhf): New prototype.
56828 (__kernel_casinh): Likewise.
56829 (__kernel_casinhl): Likewise.
56830 * math/Makefile (libm_calls): Add k_casinh.
56831 * math/k_casinh.c: New file.
56832 * math/k_casinhf.c: Likewise.
56833 * math/k_casinhl.c: Likewise.
56834 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56835 finite nonzero arguments.
56836 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56837 finite nonzero arguments.
56838 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56839 finite nonzero arguments.
56840 * math/s_casinh.c: Do not include <float.h>.
56841 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56842 * math/s_casinhf.c: Do not include <float.h>.
56843 (__casinhf): Move code for finite nonzero arguments to
56844 k_casinhf.c.
56845 * math/s_casinhl.c: Do not include <float.h>.
56846 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56847 redefine.
56848 (__casinhl): Move code for finite nonzero arguments to
56849 k_casinhl.c.
56850 * math/libm-test.inc (cacos_test): Add more tests.
56851 * sysdeps/i386/fpu/libm-test-ulps: Update.
56852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56853
56854 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
56855
56856 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56857 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56858 [!HAVE_MREMAP]: Remove [defined linux] case.
56859 * malloc/arena.c: Do not include <malloc-sysdep.h>.
56860
56861 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56862
56863 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56864
56865 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
56866
56867 * elf/elf.h (R_386_SIZE32): New relocation.
56868 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56869 R_386_SIZE32.
56870 (elf_machine_rela): Likewise.
56871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56872 R_X86_64_SIZE64 and R_X86_64_SIZE32.
56873
56874 2013-01-17 Joseph Myers <joseph@codesourcery.com>
56875
56876 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56877 (FP_FAST_FMA): Do not define.
56878 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56879 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56880 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56881 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56882 !_SOFT_FLOAT]: Likewise.
56883 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56884 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56885 value.
56886 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56887 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56888 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56890 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56891 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56892 file.
56893
56894 2013-01-16 Andreas Schwab <schwab@suse.de>
56895
56896 [BZ #14327]
56897 * include/stdlib.h (__mktemp): Add declaration.
56898 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56899 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56900
56901 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56902
56903 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56904 definitions.
56905 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56906 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56907 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56908 definitions here.
56909 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56910 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56911 definitions.
56912 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56913 and ONE.
56914 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56915 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56916 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56917 definitions.
56918 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56919 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56920 definitions.
56921 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56922
56923 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56924
56925 2013-01-15 David S. Miller <davem@davemloft.net>
56926
56927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56928 trunc{,f} to libm-sysdep_routes.
56929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56931 file.
56932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56934 file.
56935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56936 file.
56937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56939 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56940 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56941 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56942 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56943 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56944 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56945
56946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56947 nearbyint{,f} to libm-sysdep_routes.
56948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56950 New file.
56951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56952 file.
56953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56954 New file.
56955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56956 file.
56957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56959 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56960 file.
56961 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56963 file.
56964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56965 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56966 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56967
56968 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56969 libc_feholdexcept and libc_fesetenv.
56970
56971 2013-01-15 Mike Frysinger <vapier@gentoo.org>
56972
56973 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56974
56975 2013-01-14 David S. Miller <davem@davemloft.net>
56976
56977 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56978 (SPARC_ASM_VIS2_IFUNC): Likewise.
56979 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56981 use of 'siam' instruction.
56982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56983 Likewise.
56984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56985 Likewise.
56986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56987 Likewise.
56988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56993 file.
56994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56995 file.
56996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56997 file.
56998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56999 file.
57000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57005 new VIS2 routines.
57006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57009 Likewise.
57010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57015 routines to libm-sysdep_routines.
57016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57017
57018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57019 fdim/fdimf to libm-sysdep_routines.
57020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57021 file.
57022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57024 file.
57025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57028 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57029 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57030 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57031 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57032
57033 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
57034
57035 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57036 to optimize copies.
57037
57038 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57041
57042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57043 local variable MPTWO.
57044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57045 Likewise.
57046
57047 2013-01-13 Mike Frysinger <vapier@gentoo.org>
57048
57049 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57050 GLOB_NOESCAPE.
57051
57052 2013-01-13 Mike Frysinger <vapier@gentoo.org>
57053
57054 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57055
57056 2013-01-13 Mike Frysinger <vapier@gentoo.org>
57057
57058 * manual/pattern.texi (glob_t): Document gl_flags.
57059 (glob64_t): Likewise.
57060
57061 2013-01-11 David S. Miller <davem@davemloft.net>
57062
57063 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57064 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57065 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
57066 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57067 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57068 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57069 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57070 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57071 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57072 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57073 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57074 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57075 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57076
57077 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57078 sparc V9 rather than using V8 code.
57079 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57080 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57081
57082 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57083 Move to...
57084 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57085 Here.
57086
57087 2013-01-11 Roland McGrath <roland@hack.frob.com>
57088
57089 [BZ #14941]
57090 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57091 not in the main loop.
57092 * configure: Regenerated.
57093
57094 2013-01-11 Joseph Myers <joseph@codesourcery.com>
57095
57096 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57097 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57098 to just #else.
57099 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
57100 [!__GLIBC_HAVE_LONG_LONG] case.
57101 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57102 condition to just #else.
57103 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57104 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57105 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57106 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57107 unconditional.
57108 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57109 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57110 #elif condition to just #else.
57111 * sysdeps/unix/sysv/linux/sys/sysmacros.h
57112 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57113 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57114 #elif condition to just #else.
57115
57116 2013-01-11 Steve Ellcey <sellcey@mips.com>
57117
57118 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57119 (EF_MIPS_ARCH_64): Fix value.
57120 (EF_MIPS_ARCH_32R2): New.
57121 (EF_MIPS_ARCH_64R2): New.
57122
57123 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
57124
57125 * Makeconfig (+link-pie-before-libc): New.
57126 (+link-pie-after-libc): Likewise.
57127 (+link-pie-tests): Likewise.
57128 (+link-pie): Rewritten.
57129 (link-before-libc): Remove $(config-LDFLAGS).
57130 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57131 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57132 (config-LDFLAGS): Renamed to ...
57133 (rtld-LDFLAGS): This.
57134 (rtld-tests-LDFLAGS): New macro.
57135 (link-libc-rpath-link): Likewise.
57136 (link-libc-tests-rpath-link): Likewise.
57137 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57138 (link-libc): Prepand $(link-libc-rpath-link).
57139 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57140 (test-program-prefix): New macro.
57141 (test-via-rtld-prefix): Likewise.
57142 (test-program-cmd): Likewise.
57143 (host-test-program-cmd): Likewise.
57144 * Makefile ($(common-objpfx)testrun.sh): Replace
57145 $(run-program-prefix) with $(test-program-prefix).
57146 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57147 $(rtld-LDFLAGS).
57148 ($(common-objpfx)shlib.lds): Likewise.
57149 (build-module-helper): Likewise.
57150 ($(common-objpfx)format.lds): Likewise.
57151 * Rules (binaries-pie-tests): New.
57152 (binaries-pie-notests): Likewise.
57153 (binaries-pie): Rewritten.
57154 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57155 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57156 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57157 (make-test-out): Replace $(host-built-program-cmd) with
57158 $(host-test-program-cmd).
57159 * config.make.in (build-hardcoded-path-in-tests): New variable.
57160 * configure.in (--enable-hardcoded-path-in-tests): New configure
57161 option.
57162 (hardcoded_path_in_tests): New AC_SUBST.
57163 * configure: Regenerated.
57164 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57165 $(built-program-cmd) with $(test-program-cmd).
57166 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57167 (test_program_cmd): This.
57168 * elf/Makefile ($(objpfx)order.out): Run test with
57169 $(test-program-prefix).
57170 ($(objpfx)order2.out): Likewise.
57171 ($(objpfx)tst-initorder.out): Likewise.
57172 ($(objpfx)tst-initorder2.out): Likewise.
57173 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57174 $(test-program-cmd).
57175 ($(objpfx)tst-array1-static.out): Likewise.
57176 ($(objpfx)tst-array2.out): Likewise.
57177 ($(objpfx)tst-array3.out): Likewise.
57178 ($(objpfx)tst-array4.out): Likewise.
57179 ($(objpfx)tst-array5.out): Likewise.
57180 ($(objpfx)tst-array5-static.out): Likewise.
57181 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57182 $(test-program-cmd).
57183 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57184 $(run-program-prefix) with $(test-program-prefix).
57185 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57186 (test_program_prefix): This.
57187 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57188 $(run-program-prefix) with $(test-program-prefix).
57189 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57190 (test_program_prefix): This.
57191 * iconvdata/tst-tables.sh: Likewise.
57192 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57193 $(run-program-prefix) with $(test-program-prefix).
57194 ($(objpfx)tst-translit.out): Likewise.
57195 ($(objpfx)tst-gettext2.out): Likewise.
57196 ($(objpfx)tst-gettext4.out): Likewise.
57197 ($(objpfx)tst-gettext6.out): Likewise.
57198 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57199 (test_program_prefix): This.
57200 * intl/tst-gettext2.sh: Likewise.
57201 * intl/tst-gettext4.sh Likewise.
57202 * intl/tst-gettext6.sh: Likewise.
57203 * intl/tst-translit.sh: Likewise.
57204 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57205 with $(test-program-cmd).
57206 * libio/Makefile ($(objpfx)test-freopen.out): Replace
57207 $(run-program-prefix) with $(test-program-prefix).
57208 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57209 (test_program_prefix): This.
57210 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57211 $(run-program-prefix) with $(test-program-prefix).
57212 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57213 (test_program_prefix): This.
57214 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57215 * posix/Makefile ($(objpfx)globtest.out): Replace
57216 $(run-via-rtld-prefix) and $(test-wrapper) with
57217 $(test-program-prefix) and $(test-via-rtld-prefix).
57218 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57219 $(test-program-prefix).
57220 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57221 $(host-test-program-cmd).
57222 (tst-spawn-ARGS): Likewise.
57223 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57224 $(test-program-prefix).
57225 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57226 (test_via_rtld_prefix): This.
57227 (test_wrapper): Renamed to ...
57228 (test_program_prefix): This.
57229 (run_program_prefix): Replaced by test_program_prefix.
57230 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57231 (test_program_prefix): This.
57232 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57233 with $(host-test-program-cmd).
57234 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57235 $(run-program-prefix) with $(test-program-prefix).
57236 ($(objpfx)tst-printf.out): Likewise.
57237 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57238 $(test-program-cmd).
57239 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57240 (test_program_prefix): This.
57241 * stdio-common/tst-unbputc.sh: Likewise.
57242 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57243 $(run-program-prefix) with $(test-program-prefix).
57244 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57245 (test_program_prefix): This.
57246 * string/Makefile ($(objpfx)tst-svc.out): Replace
57247 $(built-program-cmd) with $(test-program-cmd).
57248
57249 2013-01-11 Andreas Jaeger <aj@suse.de>
57250
57251 [BZ #15003]
57252 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57253 value. Sync with Linux 3.7.
57254
57255 2013-01-10 David S. Miller <davem@davemloft.net>
57256
57257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57260
57261 2013-01-10 Roland McGrath <roland@hack.frob.com>
57262
57263 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57264 never set.
57265 * configure: Regenerated.
57266
57267 2013-01-10 David S. Miller <davem@davemloft.net>
57268
57269 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57270 sparc V9 rather than using V8 code.
57271 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57272 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57273
57274 2013-01-10 Roland McGrath <roland@hack.frob.com>
57275
57276 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57277 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57278 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57279 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57280 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57281 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57282 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57283 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57284 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57285 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57286 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57287 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57288 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57289 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57290 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57291 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57292 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57293 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57294 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57295 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57296 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57297 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57298 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57299 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57300 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57301 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57302 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57303
57304 2013-01-10 David S. Miller <davem@davemloft.net>
57305
57306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57307
57308 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
57309
57310 * posix/Makefile (tests-static): New variable.
57311 (tests): Add $(tests-static).
57312 (tst-exec-static-ARGS): New variable.
57313 (tst-spawn-static-ARGS): Likewise.
57314 * posix/tst-exec-static.c: New file.
57315 * posix/tst-spawn-static.c: Likewise.
57316 * posix/tst-exec.c: Support run directly.
57317 * posix/tst-spawn.c: Likewise.
57318
57319 2013-01-10 Joseph Myers <joseph@codesourcery.com>
57320
57321 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57322 long.
57323 * math/bits/mathcalls.h (llrint): Likewise.
57324 (llround): Likewise.
57325 * stdlib/stdlib.h (struct drand48_data): Likewise.
57326 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57327 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57328 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57329 Likewise.
57330 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57331 Likewise.
57332 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57333 (elf_greg_t): Likewise.
57334 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57335 (__jmp_buf): Likewise.
57336 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57337 definitions.
57338 (llrint): Likewise, for all definitions.
57339 (llrintl): Likewise.
57340
57341 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57342 Remove [__GNUC__] condition.
57343 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57344 condition to just [__USE_ISOC99].
57345 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57346
57347 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
57348
57349 [BZ #14200]
57350 * sysdeps/unix/sysv/linux/x86/bits/environments.h
57351 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57352 defined.
57353 (_POSIX_V6_ILP32_OFF32): Likewise.
57354 (_XBS5_ILP32_OFF32): Likewise.
57355 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57356 (__ILP32_OFFBIG_LDFLAGS): Likewise.
57357
57358 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57359
57360 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57361
57362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57363 doubles __mpexp_twomm1. Adjust usage.
57364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57365 Remove.
57366
57367 2013-01-10 Andreas Schwab <schwab@suse.de>
57368
57369 [BZ #14964]
57370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57371 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57372
57373 2013-01-09 David S. Miller <davem@davemloft.net>
57374
57375 [BZ #15003]
57376 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57377 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57378 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57379 (TCP_FASTOPEN): Define.
57380 (tcp_repair_opt): New structure.
57381 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57382 enum values.
57383 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57384 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57385 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57386 (tcp_cookie_transactions): New structure.
57387
57388 2013-01-09 Anton Blanchard <anton@samba.org>
57389
57390 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57391 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57392 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57394
57395 2013-01-09 Joseph Myers <joseph@codesourcery.com>
57396
57397 * include/features.h (__USE_ANSI): Remove.
57398
57399 2013-01-09 Roland McGrath <roland@hack.frob.com>
57400
57401 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57402
57403 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57404
57405 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
57406
57407 * sysdeps/s390/fpu/libm-test-ulps: Update.
57408
57409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57410
57411 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57412 (__acr): Likewise.
57413 (__cpy): Likewise.
57414 (norm): Likewise.
57415 (denorm): Likewise.
57416 (__mp_dbl): Likewise.
57417 (__dbl_mp): Likewise.
57418 (add_magnitudes): Likewise.
57419 (sub_magnitudes): Likewise.
57420 (__add): Likewise.
57421 (__sub): Likewise.
57422 (__mul): Likewise.
57423 (__inv): Likewise.
57424 (__dvd): Likewise.
57425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57426 (__acr): Likewise.
57427 (__cpy): Likewise.
57428 (norm): Likewise.
57429 (denorm): Likewise.
57430 (__mp_dbl): Likewise.
57431 (__dbl_mp): Likewise.
57432 (add_magnitudes): Likewise.
57433 (sub_magnitudes): Likewise.
57434 (__add): Likewise.
57435 (__sub): Likewise.
57436 (__mul): Likewise.
57437 (__inv): Likewise.
57438 (__dvd): Likewise.
57439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57440 (__acr): Likewise.
57441 (__cpy): Likewise.
57442 (norm): Likewise.
57443 (denorm): Likewise.
57444 (__mp_dbl): Likewise.
57445 (__dbl_mp): Likewise.
57446 (add_magnitudes): Likewise.
57447 (sub_magnitudes): Likewise.
57448 (__add): Likewise.
57449 (__sub): Likewise.
57450 (__mul): Likewise.
57451 (__inv): Likewise.
57452 (__dvd): Likewise.
57453
57454 2013-01-08 Joseph Myers <joseph@codesourcery.com>
57455
57456 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57457 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57458 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57459 2 && __USE_EXTERN_INLINES]: Likewise.
57460
57461 2013-01-08 Andreas Jaeger <aj@suse.de>
57462
57463 [BZ# 14985]
57464 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57465 Remove.
57466 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57467 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57468
57469 2013-01-07 Anton Blanchard <anton@samba.org>
57470
57471 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57472 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57473 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57474 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57475 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57477 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57478 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57481 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57482 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57483 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57484 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57487 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57489 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57492 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57494 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57495 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57496 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57498 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57500 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57501 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57504 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57505 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57506 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57508 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57509 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57510 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57514
57515 2013-01-07 Joseph Myers <joseph@codesourcery.com>
57516
57517 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57518 (__MALLOC_PMT): Likewise.
57519 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57520 [__GNUC__], only on [_LIBC].
57521 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57522 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57523 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57524 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57525 forward declaration.
57526 (realloc_hook_ini): Likewise.
57527 (memalign_hook_ini): Likewise.
57528 (__libc_memalign): Do not use __MALLOC_PMT in variable
57529 declaration.
57530 (__libc_valloc): Likewise.
57531 (__libc_pvalloc): Likewise.
57532 (__libc_calloc): Likewise.
57533 (__posix_memalign): Likewise.
57534
57535 [BZ #14996]
57536 * math/s_casinh.c: Include <float.h>.
57537 (__casinh): Do not do computation with squaring and square root
57538 for large arguments.
57539 * math/s_casinhf.c: Include <float.h>.
57540 (__casinhf): Do not do computation with squaring and square root
57541 for large arguments.
57542 * math/s_casinhl.c: Include <float.h>.
57543 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57544 (__casinhl): Do not do computation with squaring and square root
57545 for large arguments.
57546 * math/libm-test.inc (casin_test): Add more tests.
57547 (casinh_test): Likewise.
57548 * sysdeps/i386/fpu/libm-test-ulps: Update.
57549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57550
57551 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
57552
57553 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57554 (__x86_64_raw_data_cache_size): Likewise.
57555 (__x86_64_data_cache_size_half): Likewise.
57556 (__x86_64_raw_data_cache_size_half): Likewise.
57557 (__x86_64_shared_cache_size): Likewise.
57558 (__x86_64_raw_shared_cache_size): Likewise.
57559 (__x86_64_shared_cache_size_half): Likewise.
57560 (__x86_64_raw_shared_cache_size_half): Likewise.
57561 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57562 to ...
57563 (__x86_data_cache_size): This.
57564 (__x86_64_raw_data_cache_size): Renamed to ...
57565 (__x86_raw_data_cache_size): This.
57566 (__x86_64_data_cache_size_half): Renamed to ...
57567 (__x86_data_cache_size_half): This.
57568 (__x86_64_raw_data_cache_size_half): Renamed to ...
57569 (__x86_raw_data_cache_size_half): This.
57570 (__x86_64_shared_cache_size): Renamed to ...
57571 (__x86_shared_cache_size): This.
57572 (__x86_64_raw_shared_cache_size): Renamed to ...
57573 (__x86_raw_shared_cache_size): This.
57574 (__x86_64_shared_cache_size_half): Renamed to ...
57575 (__x86_shared_cache_size_half): This.
57576 (__x86_64_raw_shared_cache_size_half): Renamed to ...
57577 (__x86_raw_shared_cache_size_half): This.
57578 * sysdeps/x86_64/memcpy.S: Updated.
57579 * sysdeps/x86_64/memset.S: Likewise.
57580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57583
57584 2013-01-04 David S. Miller <davem@davemloft.net>
57585
57586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57587
57588 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
57589
57590 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57591 1 to avoid redefinition warning.
57592 (__USE_GNU): Don't define.
57593 (init_signaling_nan): Protoize.
57594
57595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57596
57597 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57598
57599 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57601 (__cpymn): Likewise.
57602 (norm): Remove commented code.
57603 (denorm): Likewise.
57604 (__mp_dbl): Likewise.
57605 (__inv): Likewise.
57606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57607 (__cpymn): Likewise.
57608 (norm): Remove commented code.
57609 (denorm): Likewise.
57610 (__mp_dbl): Likewise.
57611 (__inv): Likewise.
57612
57613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57614 mp_no value for 1.0 and 2.0.
57615 (norm): Use RADIXI instead of radixi.d.
57616 (denorm): Likewise.
57617 (__mul): Use 0.0 instead of zero.d.
57618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57619 mp_no value for 1.0 and 2.0.
57620 (norm): Use RADIXI instead of radixi.d.
57621 (denorm): Likewise.
57622 (__mul): Use 0.0 instead of zero.d.
57623
57624 2013-01-04 Joseph Myers <joseph@codesourcery.com>
57625
57626 [BZ #14994]
57627 * math/s_casinh.c (__casinh): Reduce finite argument to first
57628 quadrant then set signs of results at the end.
57629 * math/s_casinhf.c (__casinhf): Likewise.
57630 * math/s_casinhl.c (__casinhl): Likewise.
57631 * math/libm-test.inc (casin_test): Add more tests.
57632 (casinh_test): Likewise.
57633 * sysdeps/i386/fpu/libm-test-ulps: Update.
57634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57635
57636 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
57637
57638 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57639
57640 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57641
57642 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57643 declarations.
57644 (denorm): Likewise.
57645 (__mp_dbl): Likewise.
57646 (__inv): Likewise.
57647
57648 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57649 and adjust the header comment.
57650
57651 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57652 variable name from declaration.
57653
57654 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
57655
57656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57657 Initialize COMMON_CPUID_INDEX_7 element.
57658 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57659 (CPUID_RTM): Likewise.
57660 (HAS_RTM): Likewise.
57661 (COMMON_CPUID_INDEX_7): New enum.
57662
57663 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
57664
57665 [BZ #14981]
57666 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57667 size is zero, record memory as freed.
57668
57669 2013-01-03 Andreas Jaeger <aj@suse.de>
57670
57671 * po/ia.po: Add new Interlingua translation.
57672
57673 2012-01-03 Allan McRae <allan@archlinux.org>
57674
57675 * locale/programs/localedef.c: Fix description of '--posix' flag.
57676
57677 2013-01-02 Joseph Myers <joseph@codesourcery.com>
57678
57679 * NEWS: Update dates in second copyright notice.
57680 * README: Update copyright dates in example.
57681 * manual/libc.texinfo: Update copyright dates.
57682 * scripts/test-installation.pl: Update copyright date in --version
57683 output.
57684
57685 * hurd/ctty-input.c: Fix copyright notice formatting.
57686 * hurd/ctty-output.c: Likewise.
57687 * hurd/dtable.c: Likewise.
57688 * hurd/hurd-raise.c: Likewise.
57689 * hurd/hurdprio.c: Likewise.
57690 * hurd/msgportdemux.c: Likewise.
57691 * misc/sys/file.h: Likewise.
57692 * misc/sys/ioctl.h: Likewise.
57693 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57694 * sysdeps/mach/hurd/chdir.c: Likewise.
57695 * sysdeps/mach/hurd/fchdir.c: Likewise.
57696 * sysdeps/mach/hurd/rename.c: Likewise.
57697 * sysdeps/mach/hurd/rmdir.c: Likewise.
57698 * sysdeps/mach/hurd/seekdir.c: Likewise.
57699 * sysdeps/mach/hurd/setsid.c: Likewise.
57700 * sysdeps/posix/wait3.c: Likewise.
57701
57702 * All files with FSF copyright notices: Update copyright dates
57703 using scripts/update-copyrights.
57704 * intl/plural.c: Regenerated.
57705 * locale/programs/charmap-kw.h: Likewise.
57706 * locale/programs/locfile-kw.h: Likewise.
57707
57708 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57709
57710 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57711 four values.
57712
57713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57714 calculation loop and add branch prediction.
57715
57716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57717 check access beyond bounds of m1np.
57718
57719 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57720 MPTWO.
57721 (__inv): Remove local variable MPTWO to use the global
57722 constant.
57723 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57725 variable MPTWO.
57726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57727 MP3HALFS static const.
57728
57729 2013-01-01 David S. Miller <davem@davemloft.net>
57730
57731 * po/ca.po: Update from translation team.
57732
57733 2013-01-01 Joseph Myers <joseph@codesourcery.com>
57734
57735 * scripts/update-copyrights: New file.
57736 * Makeconfig: Reformat copyright notice.
57737 * ctype/ctype.h: Likewise.
57738 * debug/swprintf_chk.c: Likewise.
57739 * elf/dl-cache.c: Likewise.
57740 * elf/dl-debug.c: Likewise.
57741 * elf/dl-object.c: Likewise.
57742 * grp/initgroups.c: Likewise.
57743 * hurd/Makefile: Likewise.
57744 * hurd/hurd/signal.h: Likewise.
57745 * hurd/hurdfault.c: Likewise.
57746 * hurd/hurdioctl.c: Likewise.
57747 * hurd/hurdlookup.c: Likewise.
57748 * hurd/intr-msg.c: Likewise.
57749 * iconv/gconv_open.c: Likewise.
57750 * libio/swprintf.c: Likewise.
57751 * locale/lc-ctype.c: Likewise.
57752 * locale/nl_langinfo.c: Likewise.
57753 * mach/Machrules: Likewise.
57754 * mach/Makefile: Likewise.
57755 * malloc/obstack.h: Likewise.
57756 * manual/Makefile: Likewise.
57757 * manual/tsort.awk: Likewise.
57758 * misc/bits/stab.def: Likewise.
57759 * nis/nis_print_group_entry.c: Likewise.
57760 * nis/nis_table.c: Likewise.
57761 * nis/nss_compat/compat-pwd.c: Likewise.
57762 * nis/nss_compat/compat-spwd.c: Likewise.
57763 * po/Makefile: Likewise.
57764 * posix/fnmatch.c: Likewise.
57765 * posix/regex.h: Likewise.
57766 * resolv/Makefile: Likewise.
57767 * resolv/nss_dns/dns-network.c: Likewise.
57768 * resolv/res_hconf.c: Likewise.
57769 * scripts/gen-sorted.awk: Likewise.
57770 * soft-fp/soft-fp.h: Likewise.
57771 * stdio-common/printf.h: Likewise.
57772 * stdlib/monetary.h: Likewise.
57773 * stdlib/random.c: Likewise.
57774 * stdlib/random_r.c: Likewise.
57775 * sysdeps/generic/Makefile: Likewise.
57776 * sysdeps/gnu/Makefile: Likewise.
57777 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57778 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57783 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57784 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57787 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57788 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57789 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57790 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57791 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57792 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57793 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57795 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57797 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57798 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57799 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57800 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57801 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57805 * sysdeps/mach/hurd/errnos.awk: Likewise.
57806 * sysdeps/mach/hurd/fork.c: Likewise.
57807 * sysdeps/mach/hurd/getcwd.c: Likewise.
57808 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57809 * sysdeps/mach/hurd/mmap.c: Likewise.
57810 * sysdeps/mach/hurd/utimes.c: Likewise.
57811 * sysdeps/mach/hurd/xmknod.c: Likewise.
57812 * sysdeps/posix/profil.c: Likewise.
57813 * sysdeps/posix/readdir_r.c: Likewise.
57814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57815 * sysdeps/powerpc/bits/setjmp.h: Likewise.
57816 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57819 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57820 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57821 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57823 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57825 * sysdeps/pthread/lio_listio.c: Likewise.
57826 * sysdeps/sparc/dl-procinfo.h: Likewise.
57827 * sysdeps/unix/i386/sysdep.S: Likewise.
57828 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57829 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57830 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57831 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57833 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57834 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57835 * sysdeps/unix/sysv/linux/speed.c: Likewise.
57836 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57837 * sysdeps/wordsize-32/divdi3.c: Likewise.
57838 * time/sys/time.h: Likewise.
57839 * wcsmbs/Makefile: Likewise.
57840
57841 2013-01-01 David S. Miller <davem@davemloft.net>
57842
57843 * po/fr.po: Update from translation team.
57844
57845 * catgets/gencat.c: Update copyright year.
57846 * csu/version.c: Likewise.
57847 * debug/catchsegv.sh: Likewise.
57848 * debug/pcprofiledump.c: Likewise.
57849 * debug/xtrace.sh: Likewise.
57850 * elf/ldconfig.c: Likewise.
57851 * elf/ldd.bash.in: Likewise.
57852 * elf/pldd.c: Likewise.
57853 * elf/sotruss.ksh: Likewise.
57854 * elf/sprof.c: Likewise.
57855 * iconv/iconv_prog.c: Likewise.
57856 * iconv/iconvconfig.c: Likewise.
57857 * locale/programs/locale.c: Likewise.
57858 * locale/programs/localedef.c: Likewise.
57859 * login/programs/pt_chown.c: Likewise.
57860 * malloc/memusage.sh: Likewise.
57861 * malloc/memusagestat.c: Likewise.
57862 * malloc/mtrace.pl: Likewise.
57863 * nscd/nscd.c: Likewise.
57864 * nss/getent.c: Likewise.
57865 * nss/makedb.c: Likewise.
57866 * posix/getconf.c: Likewise.
57867
57868 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
57869
57870 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57871 numbers.
57872
57873 2012-12-30 Mike Frysinger <vapier@gentoo.org>
57874
57875 * math/bits/mathcalls.h (modf): Use __nonnull.
57876
57877 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57878
57879 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57880 (split): Use macro CN instead of the bare value.
57881 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57882 could be used.
57883 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57884 instead of the bare value.
57885 (power1): Likewise.
57886
57887 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57888
57889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57890 __ATAN_TWOM.
57891 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57892
57893 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57894 their values.
57895 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57896 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57897 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57898 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57899
57900 2012-12-28 Andreas Jaeger <aj@suse.de>
57901
57902 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
57903 values are from Linux 3.7.
57904
57905 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57906 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
57907
57908 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57909
57910 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57911 TRUE case.
57912
57913 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57914 (norm): Likewise.
57915 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57916 variables with preprocessor constants.
57917 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57920
57921 2012-12-27 Bruno Haible <bruno@clisp.org>
57922
57923 [BZ #14317]
57924 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57925 only if needed.
57926
57927 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57928
57929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57930 and use variable directly.
57931 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57932
57933 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57934 MPONE.
57935 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57936 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57937 variable MPONE.
57938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57940 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57941 include directive. Remove local variable MPONE.
57942 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57943 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57944 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57945
57946 2012-12-25 David S. Miller <davem@davemloft.net>
57947
57948 * version.h (RELEASE): Set to "development".
57949 (VERSION): Set to "2.17.90".
57950 * NEWS: Add 2.18 section.
57951
57952 2012-12-21 David S. Miller <davem@davemloft.net>
57953
57954 * po/hr.po: Update from translation team.
57955
57956 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57957
57958 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57959
57960 2012-12-19 Steve Ellcey <sellcey@mips.com>
57961
57962 * NEWS: Mention new memcpy for MIPS.
57963
57964 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57965
57966 * manual/contrib.texi (Contributors): Spelling correction.
57967
57968 2012-12-15 David S. Miller <davem@davemloft.net>
57969
57970 * po/ru.po: Update from translation team.
57971
57972 2012-12-13 David S. Miller <davem@davemloft.net>
57973
57974 * NEWS: Mention IFUNC testsuite enhancements.
57975
57976 * po/pl.po: Update from translation team.
57977 * po/bg.po: Likewise.
57978
57979 * manual/contrib.texi (Contributors): Update entries for Hongjiu
57980 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
57981
57982 2012-12-11 David S. Miller <davem@davemloft.net>
57983
57984 * po/sv.po: Update from translation team.
57985
57986 * po/vi.po: Update from translation team.
57987
57988 * po/cs.po: Update from translation team.
57989
57990 * po/de.po: Update from translation team.
57991 * po/eo.po: Likewise.
57992 * po/nl.po: Likewise.
57993
57994 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57995
57996 [BZ #14246]
57997 * manual/argp.texi (Argp Helper Functions): Move node to follow
57998 Argp Parsing State.
57999
58000 [BZ #14872]
58001 * manual/conf.texi (Limits on File System Capacity): Mention if
58002 terminating null is included in the max size.
58003
58004 2012-12-10 Andreas Jaeger <aj@suse.de>
58005
58006 * po/cs.po: Update from translation team.
58007
58008 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58009
58010 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58011 void pointer and cast to uintptr_t.
58012 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58013 path.
58014 * sysdeps/s390/s390-64/memcpy.S: Likewise.
58015 * sysdeps/s390/s390-64/memset.S: Likewise.
58016
58017 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
58018
58019 [BZ #14833]
58020 * menual/message.texi (Message Translation): Fix typos.
58021 (Helper programs for gettext): Likewise.
58022
58023 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
58024
58025 [BZ #14898]
58026 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58027 Change to -1.
58028
58029 2012-12-07 David S. Miller <davem@davemloft.net>
58030
58031 * po/libc.pot: Update.
58032
58033 2012-12-07 Richard Henderson <rth@redhat.com>
58034
58035 [BZ #10114]
58036 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58037 normal/normal case to before the switch.
58038 (_FP_DIV): Likewise.
58039
58040 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
58041 Mike Frysinger <vapier@gentoo.org>
58042
58043 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58044 check for __NR_fadvise64_64.
58045
58046 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
58047
58048 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58049 0, not just to plain "0" as a statement.
58050 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58051 with cw.
58052
58053 2012-12-06 Joseph Myers <joseph@codesourcery.com>
58054
58055 * NEWS: Use sourceware.org in Bugzilla URL.
58056
58057 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
58058
58059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58060 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58061
58062 * stdio-common/tst-put-error.c (do_test): Add newline to the
58063 padded test to ensure flush.
58064
58065 2012-12-05 Jeff Law <law@redhat.com>
58066
58067 * sunrpc/etc.rpc (fedfs_admin): Add entry.
58068
58069 2012-12-05 Joseph Myers <joseph@codesourcery.com>
58070
58071 * README: Don't refer to ports add-on as distributed separately.
58072 Mention AArch64 in list of systems supported in the ports add-on.
58073
58074 * LICENSES: Add more non-FSF copyright and license notices.
58075
58076 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58077 ((unused)).
58078
58079 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58080
58081 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58082 10000 as width of padded output.
58083
58084 2012-12-04 Joseph Myers <joseph@codesourcery.com>
58085
58086 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58087
58088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58089 variable LX with __attribute__ ((unused)).
58090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58091 Likewise.
58092 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58094 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58095 with __attribute__ ((unused)).
58096
58097 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
58098
58099 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58100
58101 2012-12-04 Joseph Myers <joseph@codesourcery.com>
58102
58103 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58104 (CFLAGS-nldbl-acos.c): New variable.
58105 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58106 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58107 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58108 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58109 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58110 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58111 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58112 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58113 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58114 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58115 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58116 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58117 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58118 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58119 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58120 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58121 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58122 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58123 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58124 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58125 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58126 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58127 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58128 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58129 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58130 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58131 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58132 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58133 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58134 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58135 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58136 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58137 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58138 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58139 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58140 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58141 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58142 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58143 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58144 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58145 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58146 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58147 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58148 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58149 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58150 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58151 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58152 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58153 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58154 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58155 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58156 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58157 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58158 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58159 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58160 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58161 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58162 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58163 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58164 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58165 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58166 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58167 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58168 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58169 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58170 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58171 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58172 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58173 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58174 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58175 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58176 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58177 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58178 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58179 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58180 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58181 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58182 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58183 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58184 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58185 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58186 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58187 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58188 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58189 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58190 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58191 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58192 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58193 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58194 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58195 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58196 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58197 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58198 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58199 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58200 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58201 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58202
58203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58204 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58205
58206 [BZ #14914]
58207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58208 whole low double instead of just low 47 bits when splitting values
58209 into two parts.
58210
58211 2012-12-03 Allan McRae <allan@archlinux.org>
58212
58213 * manual/stdio.texi (Predefined Printf Handlers): Remove
58214 @hsep and @vsep usage.
58215
58216 2012-12-03 Mike Frysinger <vapier@gentoo.org>
58217
58218 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58219 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58220
58221 2012-12-03 Jeff Law <law@redhat.com>
58222
58223 * time/sys/time.h (settimeofday): Do not mark TV argument
58224 as __nonnull.
58225
58226 2012-12-01 Mike Frysinger <vapier@gentoo.org>
58227
58228 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58229 when currently writing and seek to current position when not.
58230 * libio/Makefile (tests): Remove bug-fclose1.
58231 * libio/bug-fclose1.c: Delete.
58232
58233 2012-12-01 Joseph Myers <joseph@codesourcery.com>
58234
58235 * manual/arith.texi (feenableexcept): Fix typo.
58236 (fedisableexcept): Likewise.
58237
58238 2012-11-30 Roland McGrath <roland@hack.frob.com>
58239
58240 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58241 second, differently-typed declaration, rather than a cast.
58242
58243 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
58244
58245 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58246 * include/rpc/svc.h: ... here.
58247
58248 2012-11-30 Aurelien Jarno <aurel32@debian.org>
58249
58250 [BZ #13013]
58251 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58252 depending n and resplen2 to catch cases where answer
58253 equals answerp2.
58254
58255 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
58256
58257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58258 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58259
58260 2012-11-29 Mike Frysinger <vapier@gentoo.org>
58261
58262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58263
58264 2012-11-29 Roland McGrath <roland@hack.frob.com>
58265
58266 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58267
58268 2012-11-28 Jeff Law <law@redhat.com>
58269
58270 [BZ #13761]
58271 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58272 dataset_temporary. Track alloca usage into alloca_used.
58273 If dataset is large allocate and release it via malloc/free.
58274
58275 2012-06-04 Florian Weimer <fweimer@redhat.com>
58276
58277 [BZ #14197]
58278 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58279
58280 2012-11-28 David S. Miller <davem@davemloft.net>
58281
58282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58283
58284 2012-11-28 Joseph Myers <joseph@codesourcery.com>
58285
58286 [BZ #14803]
58287 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58288 of pi/2 rounded to nearest to 64 bits.
58289 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58290 nearest to 64 bits.
58291 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58292 bits.
58293
58294 2012-11-28 Jeff Law <law@redhat.com>
58295 Martin Osvald <mosvald@redhat.com>
58296
58297 [BZ #14889]
58298 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58299 * sunrpc/svc.c: Include time.h.
58300 (__svc_accept_failed): New function.
58301 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58302 any reason other than EINTR, call __svc_accept_failed.
58303 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58304 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58305
58306 2012-11-28 Andreas Schwab <schwab@suse.de>
58307
58308 * scripts/abilist.awk: Also handle indirect functions in .opd
58309 section.
58310
58311 2012-11-28 Joseph Myers <joseph@codesourcery.com>
58312
58313 [BZ #13881]
58314 * sysdeps/x86/fpu/powl_helper.c: New file.
58315 * sysdeps/x86/fpu/Makefile: Likewise.
58316 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58317 (p3): New object.
58318 (__ieee754_powl): Use __powl_helper for finite arguments except
58319 integer exponents below 8.
58320 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58321 (p3): New object.
58322 (__ieee754_powl): Use __powl_helper for finite arguments except
58323 integer exponents below 8.
58324 * math/libm-test.inc (pow_test): Add more tests and enable some
58325 previously disabled tests.
58326 * sysdeps/i386/fpu/libm-test-ulps: Update.
58327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58328
58329 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58330 Carlos O'Donell <carlos_odonell@mentor.com>
58331
58332 * nss/makedb.c (is_prime): Assert that input is odd and greater
58333 than 4. Note that fact in a comment too.
58334 (next_prime): Add 4 to input.
58335
58336 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58337
58338 [BZ #11741]
58339 * libio/Makefile (tests): Add test case tst-fwrite-error.
58340 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58341 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58342 * libio/tst-fwrite-error.c: New test case.
58343
58344 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
58345
58346 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58347 before casting to void *.
58348 * include/libc-internal.h (__pointer_type): New macro.
58349 (__integer_if_pointer_type_sub): Likewise.
58350 (__integer_if_pointer_type): Likewise.
58351 (cast_to_integer): Likewise.
58352 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58353 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58354 before casting to atomic64_t.
58355 (atomic_exchange_acq): Likewise.
58356 (__arch_exchange_and_add_body): Likewise.
58357 (__arch_add_body): Likewise.
58358 (atomic_add_negative): Likewise.
58359 (atomic_add_zero): Likewise.
58360
58361 2012-11-26 Joseph Myers <joseph@codesourcery.com>
58362
58363 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58364 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58365 (add_fdes): Likewise.
58366 (linear_search_fdes): Likewise.
58367 (binary_search_unencoded_fdes): Likewise.
58368
58369 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
58370
58371 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58372
58373 2012-11-24 Adam Conrad <adconrad@0c3.net>
58374
58375 * configure.in: Autodetect C++ header directories.
58376 * configure: Regenerated.
58377
58378 2012-11-23 Mike Frysinger <vapier@gentoo.org>
58379
58380 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58381
58382 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
58383
58384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58385
58386 2012-11-22 Joseph Myers <joseph@codesourcery.com>
58387
58388 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58389 LDBL_MANT_DIG == 106]: Disable some tests.
58390 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58391 Likewise.
58392 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58393 Likewise.
58394
58395 [BZ #14871]
58396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58397 input for small inputs. Return +/- pi/2 for large inputs.
58398 * math/libm-test.inc (atan_test): Add more tests.
58399
58400 * sysdeps/generic/unwind-dw2-fde-glibc.c
58401 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58402 __attribute__ ((unused)).
58403
58404 [BZ #14645]
58405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58406 x * y if x and y are nonzero and z is zero.
58407
58408 [BZ #14811]
58409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58410 nonzero exponents with absolute value below 0x1p-117 to +/-
58411 0x1p-117.
58412
58413 [BZ #14869]
58414 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58415 up arguments below 2**-450, not just those below 2**-500.
58416 * math/libm-test.inc (hypot_test): Add another test.
58417
58418 [BZ #14868]
58419 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58420 Return a+b for ratio over 2**120, not 2**60.
58421 * math/libm-test.inc (hypot_test): Add another test.
58422
58423 * math/libm-test.inc (clog_test): Use
58424 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58425 (clog10_test): Likewise.
58426
58427 [BZ #6778]
58428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58429
58430 2012-11-22 Andreas Schwab <schwab@suse.de>
58431
58432 * sysdeps/i386/fpu/libm-test-ulps: Update.
58433
58434 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
58435
58436 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58437 printf output with newline.
58438
58439 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
58440
58441 [BZ #14865]
58442 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58443 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58444 -z nodlopen, -z initfirst and -z execstack support.
58445 * configure: Regenerated.
58446
58447 * elf/elf.h (DF_1_NODIRECT): New macro.
58448 (DF_1_IGNMULDEF): Likewise.
58449 (DF_1_NOKSYMS): Likewise.
58450 (DF_1_NOHDR): Likewise.
58451 (DF_1_EDITED): Likewise.
58452 (DF_1_NORELOC): Likewise.
58453 (DF_1_SYMINTPOSE): Likewise.
58454 (DF_1_GLOBAUDIT): Likewise.
58455 (DF_1_SINGLETON): Likewise.
58456 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58457 DT_1_SUPPORTED_MASK bits.
58458 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58459
58460 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
58461
58462 * sysdeps/unix/make-syscalls.sh: Document prefixes.
58463
58464 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
58465
58466 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58467 macro.
58468
58469 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58470 (sendmmsg): Move declarations...
58471 * socket/sys/socket.h: ... here.
58472 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58473 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58474 include it from...
58475 * socket/recvmmsg.c: ... this new file.
58476 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58477 (sendmmsg): Rename to __sendmmsg, create weak alias and make
58478 definition of __sendmmsg hidden.
58479 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58480 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58481 Move ENOSYS stub into and include it from...
58482 * socket/sendmmsg.c: ... this new file.
58483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58484 (sysdep_routines): Move recvmmsg and sendmmsg...
58485 * socket/Makefile (routines): ... here.
58486 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58487 (GLIBC_PRIVATE): Add __sendmmsg.
58488 * include/sys/socket.h (__sendmmsg): Add declarations.
58489 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58490 sendmmsg.
58491
58492 2012-11-20 Joseph Myers <joseph@codesourcery.com>
58493
58494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58495 variable I1 with __attribute__ ((unused)).
58496 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58497
58498 2012-11-19 Joseph Myers <joseph@codesourcery.com>
58499
58500 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58501 DUMMY variables with __attribute__ ((unused)).
58502
58503 * bits/byteswap.h: Include <bits/types.h>.
58504 (__bswap_64): Use __uint64_t instead of unsigned long long int.
58505
58506 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
58507
58508 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58509 string_t. Do not manually set errno.
58510 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58511 length with __strnlen. Make sure to both set errno and return it on
58512 failure.
58513
58514 2012-11-19 David S. Miller <davem@davemloft.net>
58515
58516 With help from Joseph Myers.
58517 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58518 very large arguments properly.
58519 * math/libm-test.inc (atan_test): New tests.
58520 (atan2_test): New tests.
58521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58523
58524 2012-11-19 Joseph Myers <joseph@codesourcery.com>
58525
58526 [BZ #14856]
58527 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58528 Define to 3.
58529
58530 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58531 [POSIX] (EADDRNOTAVAIL): Likewise.
58532 [POSIX] (EAFNOSUPPORT): Likewise.
58533 [POSIX] (EALREADY): Likewise.
58534 [POSIX] (ECONNABORTED): Likewise.
58535 [POSIX] (ECONNREFUSED): Likewise.
58536 [POSIX] (ECONNRESET): Likewise.
58537 [POSIX] (EDESTADDRREQ): Likewise.
58538 [POSIX] (EDQUOT): Likewise.
58539 [POSIX] (EHOSTUNREACH): Likewise.
58540 [POSIX] (EIDRM): Likewise.
58541 [POSIX] (EISCONN): Likewise.
58542 [POSIX] (ELOOP): Likewise.
58543 [POSIX] (EMULTIHOP): Likewise.
58544 [POSIX] (ENETDOWN): Likewise.
58545 [POSIX] (ENETUNREACH): Likewise.
58546 [POSIX] (ENOBUFS): Likewise.
58547 [POSIX] (ENODATA): Likewise.
58548 [POSIX] (ENOLINK): Likewise.
58549 [POSIX] (ENOMSG): Likewise.
58550 [POSIX] (ENOPROTOOPT): Likewise.
58551 [POSIX] (ENOSR): Likewise.
58552 [POSIX] (ENOSTR): Likewise.
58553 [POSIX] (ENOTCONN): Likewise.
58554 [POSIX] (ENOTSOCK): Likewise.
58555 [POSIX] (EOPNOTSUPP): Likewise.
58556 [POSIX] (EOVERFLOW): Likewise.
58557 [POSIX] (EPROTO): Likewise.
58558 [POSIX] (EPROTONOSUPPORT): Likewise.
58559 [POSIX] (EPROTOTYPE): Likewise.
58560 [POSIX] (ESTALE): Likewise.
58561 [POSIX] (ETIME): Likewise.
58562 [POSIX] (ETXTBSY): Likewise.
58563 [POSIX] (EWOULDBLOCK): Likewise.
58564 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58565 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58566 [POSIX] (SEEK_CUR): Likewise.
58567 [POSIX] (SEEK_END): Likewise.
58568 [POSIX || UNIX98] (mode_t): Do not require.
58569 [POSIX] (off_t): Likewise.
58570 [POSIX] (pid_t): Likewise.
58571 [POSIX] (sys/stat.h): Do not allow header.
58572 [POSIX] (unistd.h): Likewise.
58573 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58574 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58575 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58576 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58577 require.
58578 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58579 sigevent): Specify elements.
58580 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58581 entry.
58582 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58583 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58584
58585 * conform/data/cpio.h-data [POSIX]: Disable whole file.
58586 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58587 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58588 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58589 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58590 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58591 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58592 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58593 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58594 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58595 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58597 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58598 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58599 Likewise.
58600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58601 Likewise.
58602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58603 Likewise.
58604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58605 Likewise.
58606 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58607 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58608 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58610 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58611 Specify lower bound on value.
58612 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58613 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58614 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58615 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58616 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58617 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58618 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58619 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58620 value.
58621 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58622 as optional.
58623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58624 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58625 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58626 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58627 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58628 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58629 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58630 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58631 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58632 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58633 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58634 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58635 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58636 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58637 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58638 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58639 entry.
58640 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58641 optional.
58642 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58643 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58644 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58645 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58646 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58647 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58648 Likewise.
58649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58650 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58651 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58652 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58653 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
58654 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58655 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58656 as optional.
58657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58658 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58660 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58661 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58662 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58663 specify as optional.
58664 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58665 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58666 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58667 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58668 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58669 [XPG3] (NL_LANGMAX): Likewise.
58670 [POSIX || XPG3] (NL_MSGMAX): Likewise.
58671 [POSIX || XPG3] (NL_NMAX): Likewise.
58672 [POSIX || XPG3] (NL_SETMAX): Likewise.
58673 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58674 [XPG3] (NZERO): Likewise.
58675 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58676 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58677 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58678 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58679 (REG_ERANGE): Expect.
58680 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58681 optional-constant.
58682 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58683 Use (void) in prototype.
58684 [POSIX] (*_t): Allow.
58685 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58686 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58687 (WRDE_BADVAL): Expect.
58688
58689 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58690 expect.
58691 [XPG3 || XPG4] (O_RSYNC): Likewise.
58692 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58693 Likewise.
58694 [XPG3 || XPG4] (pthread_sigmask): Likewise.
58695 [XPG3 || XPG4] (sigqueue): Likewise.
58696 [XPG3 || XPG4] (sigtimedwait): Likewise.
58697 [XPG3 || XPG4] (sigwaitinfo): Likewise.
58698 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58699 [XPG3 || XPG4] (vsnprintf): Likewise.
58700 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58701 Likewise.
58702 [XPG3 || XPG4] (blksize_t): Likewise.
58703 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58704 Likewise.
58705 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58706 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58707 [XPG3 || XPG4] (struct itimerspec): Likewise.
58708 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58709 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58710 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58711 [XPG3 || XPG4] (clockid_t): Likewise.
58712 [XPG3 || XPG4] (timer_t): Likewise.
58713 [XPG3 || XPG4] (clock_getres): Likewise.
58714 [XPG3 || XPG4] (clock_gettime): Likewise.
58715 [XPG3 || XPG4] (clock_settime): Likewise.
58716 [XPG3 || XPG4] (nanosleep): Likewise.
58717 [XPG3 || XPG4] (timer_create): Likewise.
58718 [XPG3 || XPG4] (timer_delete): Likewise.
58719 [XPG3 || XPG4] (timer_gettime): Likewise.
58720 [XPG3 || XPG4] (timer_getoverrun): Likewise.
58721 [XPG3 || XPG4] (timer_settime): Likewise.
58722 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58723 [XPG3 || XPG4] (getlogin_r): Likewise.
58724 [XPG3 || XPG4] (pread): Likewise.
58725 [XPG3 || XPG4] (pthread_atfork): Likewise.
58726 [XPG3 || XPG4] (pwrite): Likewise.
58727
58728 [BZ #14835]
58729 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58730 <bits/siginfo.h>.
58731
58732 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
58733
58734 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58735 finalizing MALLSTREAM.
58736
58737 * sysdeps/mach/hurd/syncfs.c: New file.
58738
58739 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58740
58741 [BZ #14719]
58742 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58743 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58744 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58745 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58746 (_nss_dns_gethostbyname4_r): Likewise.
58747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58748 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58749
58750 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
58751
58752 [BZ #13763]
58753 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58754
58755 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
58756
58757 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58758 * elf/cache.c (print_entry): Print ",AArch64" for
58759 FLAG_AARCH64_LIB64
58760
58761 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58762 * elf/cache.c (print_entry): Print ",hard-float" for
58763 FLAG_ARM_LIBHF.
58764
58765 2012-11-18 David S. Miller <davem@davemloft.net>
58766
58767 With help from Joseph Myers.
58768 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58769 cutoff to 2**-13.
58770 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58771 cutoff to 2**-25.
58772 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58773 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58774 small.
58775 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58776 * math/libm-test.inc (y0_test): New tests.
58777 (y1_test): New tests.
58778 * sysdeps/i386/fpu/libm-test-ulps: Update.
58779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58781
58782 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
58783
58784 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58785 64-bit targets.
58786 * configure: Regenerated.
58787
58788 2012-11-17 David S. Miller <davem@davemloft.net>
58789
58790 [BZ #14811]
58791 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58792 nonzero exponents with absolute value below 0x1p-128 to +/-
58793 0x1p-128.
58794
58795 2012-11-17 Joseph Myers <joseph@codesourcery.com>
58796
58797 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58798
58799 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58800
58801 * posix/getconf-speclist.c: New file.
58802 * posix/posix-envs.def: Likewise.
58803 * posix/confstr.c (START_ENV_GROUP): New macro.
58804 (END_ENV_GROUP): Likewise.
58805 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58806 (KNOWN_PRESENT_ENV_STRING): Likewise.
58807 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58808 (UNKNOWN_ENVIRONMENT): Likewise.
58809 (confstr): Include posix-envs.def instead of handling
58810 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58811 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58812 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58813 (END_ENV_GROUP): Likewise.
58814 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58815 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58816 (UNKNOWN_ENVIRONMENT): Likewise.
58817 (__sysconf): Include posix-envs.def instead of handling associated
58818 cases directly here.
58819 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58820 preprocessing getconf-speclist.c rather than running getconf or
58821 generating empty file.
58822
58823 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
58824
58825 * scripts/check-local-headers.sh: Ignore 'mach' headers.
58826
58827 2012-11-16 Andrej Lajovic <natrij@gmail.com>
58828
58829 [BZ #14672]
58830 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58831
58832 2012-11-16 David S. Miller <davem@davemloft.net>
58833
58834 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58835 smaller than LDBL_EPSILON/2.0L, just return xm1.
58836
58837 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
58838
58839 * elf/tst-array1.c (init): Set constructor priority to 1000.
58840 (fini): Set destructor priority to 1000.
58841 * elf/tst-array2dep.c: Likewise.
58842
58843 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58844
58845 [BZ #11741]
58846 * libio/fileops.c (_IO_new_file_write): Correctly return error.
58847 (_IO_new_file_xsputn): Also return EOF if none of the input
58848 data was written when overflow failed.
58849 * libio/iopadn.c (_IO_padn): Likewise.
58850 * libio/iowpadn.c (_IO_wpadn): Likewise.
58851 * stdio-common/tst-put-error.c: Add copyright notice.
58852 (do_test): Add case for printing padded string.
58853 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58854 _IO_padn returned error.
58855 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58856 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58857 return EOF.
58858
58859 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58860
58861 * libio/libioP.h: Add comment note that the references to C++
58862 bits are now obsolete.
58863
58864 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58865
58866 * math/libm-test.inc (check_complex): Use asprintf.
58867
58868 2012-11-14 Joseph Myers <joseph@codesourcery.com>
58869
58870 * debug/pcprofiledump.c (print_version): Update copyright year.
58871 * malloc/memusagestat.c (print_version): Likewise.
58872
58873 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
58874
58875 [BZ #14831]
58876 * elf/Makefile (tests): Add tst-audit8.
58877 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58878 ($(objpfx)tst-audit8.out): New target.
58879 (tst-audit8-ENV): New variable.
58880 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58881 audit if l_reloc_result is NULL.
58882 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58883 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58884 * elf/tst-audit8.c: New file.
58885
58886 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58887
58888 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58889 * misc/Makefile (CFLAGS-select.c): Define.
58890 * posix/Makefile (CFLAGS-pause.c): Define.
58891
58892 2012-11-13 David S. Miller <davem@davemloft.net>
58893
58894 * crypt/Makefile: Move test targets after toplevel Rules
58895 inclusion. Grab any necessary sysdep routines when linking.
58896 * crypt/md5.c (md5_process_block): Remove define, we will always
58897 name it __md5_process_block.
58898 (md5_finish_ctx): Update md5_process_block call.
58899 (md5_stream): Likewise.
58900 (md5_process_bytes): Likewise.
58901 (md5_process_block): Rename to __md5_process_block and move to ...
58902 * crypt/md5-block.c: ... here.
58903 * crypt/sha256.c (sha256_process_block): Move to ...
58904 * crypt/sha256-block.c: ... here.
58905 * crypt/sha512.c (sha512_process_block): Move to ...
58906 * crypt/sha512-block.c: ... here.
58907 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58908 path.
58909 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58910 * sysdeps/sparc/sparc64/multiarch/Makefile
58911 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58912 crypt subdir.
58913 (localedef-aux): Add md5 crypto assembler when in locale subdir.
58914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58915 multiarch changes.
58916 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58917 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58918 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58919 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58920 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58921 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58922 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58923 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58924 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58925 file.
58926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58927 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58928 file.
58929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58930
58931 2012-11-13 Joseph Myers <joseph@codesourcery.com>
58932
58933 * timezone/tzselect.ksh: Update from tzcode git revision
58934 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58935 * timezone/zdump.c: Likewise.
58936 * timezone/zic.c: Likewise.
58937 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58938 in TZVERSION setting, not $(PKGVERSION).
58939 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
58940 REPORT_BUGS_TO settings.
58941
58942 [BZ #14838]
58943 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58944 macro.
58945
58946 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58947
58948 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58949 detection to immediately after _FP_ROUND().
58950 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58951 bits are 0.
58952
58953 2012-11-11 David S. Miller <davem@davemloft.net>
58954
58955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58956 inttypes.h
58957 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58958 __close rather than their public counterparts.
58959
58960 2012-11-10 Joseph Myers <joseph@codesourcery.com>
58961
58962 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58963 file.
58964 [UNIX98] (sem_timedwait): Do not expect.
58965 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58966 [XPG4 || UNIX98] (sockatmark): Do not expect.
58967 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58968 (clock_getcpuclockid): Do not expect.
58969 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58970 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58971 Do not expect.
58972 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58973 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58974 [UNIX98] (vwscanf): Likewise.
58975 [UNIX98] (vswscanf): Likewise.
58976
58977 2012-11-09 Joseph Myers <joseph@codesourcery.com>
58978
58979 * timezone/version.h: Remove file.
58980 * timezone/README: Do not refer to version.h.
58981 * timezone/Makefile ($(objpfx)zic.o): New dependency on
58982 $(objpfx)version.h.
58983 ($(objpfx)zdump.o): Likewise.
58984 ($(objpfx)version.h): New target.
58985
58986 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58987 2012i.
58988 * timezone/README: Don't mention modification to tzselect.ksh.
58989 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58990 work on unmodified tzselect.ksh. Substitute version numbers in
58991 tzselect.ksh.
58992
58993 * Makefile (format-me): Remove.
58994 (INSTALL): Adjust indentation. Use commands directly instead of
58995 using $(format-me).
58996
58997 * aclocal.m4 (ACX_PKGVERSION): New macro.
58998 (ACX_BUGURL): Likewise.
58999 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59000 (PKGVERSION): New AC_DEFINE_UNQUOTED.
59001 (REPORT_BUGS_TO): Likewise.
59002 * configure: Regenerated.
59003 * config.h.in (PKGVERSION): New macro.
59004 (REPORT_BUGS_TO): Likewise.
59005 * config.make.in (PKGVERSION): New variable.
59006 (PKGVERSION_TEXI): Likewise.
59007 (REPORT_BUGS_TO): Likewise.
59008 (REPORT_BUGS_TEXI): Likewise.
59009 * Makefile (format-me): Use -I$(common-objpfx)manual.
59010 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59011 ($(common-objpfx)manual/%): New target.
59012 (manual/%): Remove target.
59013 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59014 (print_version): Use PKGVERSION.
59015 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59016 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59017 and REPORT_BUGS_TO.
59018 ($(objpfx)xtrace): Likewise.
59019 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59020 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59021 (print_version): Use PKGVERSION.
59022 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59023 (do_version): Use PKGVERSION.
59024 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59025 REPORT_BUGS_TO.
59026 (common-ldd-rewrite): Likewise.
59027 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59028 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59029 (print_version): Use PKGVERSION.
59030 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59031 * elf/pldd.c (argp_program_bug_address): Remove variable.
59032 (more_help): New function.
59033 (argp): Use more_help.
59034 (print_version): Use PKGVERSION.
59035 * elf/sln.c (main): Use PKGVERSION.
59036 (usage): Use REPORT_BUGS_TO.
59037 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59038 (top level): Use PKGVERSION.
59039 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59040 (print_version): Use PKGVERSION.
59041 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59042 (print_version): Use PKGVERSION.
59043 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59044 (print_version): Use PKGVERSION.
59045 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59046 (print_version): Use PKGVERSION.
59047 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59048 (print_version): Use PKGVERSION.
59049 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59050 (print_version): Use PKGVERSION.
59051 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59052 and BUGURL.
59053 ($(objpfx)memusage): Likewise.
59054 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59055 (do_version): Use PKGVERSION.
59056 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59057 (print_version): Use PKGVERSION.
59058 * malloc/mtrace.pl ($PACKAGE): Remove variable.
59059 ($PKGVERSION): New variable.
59060 ($REPORT_BUGS_TO): Likewise.
59061 (usage): Use $REPORT_BUGS_TO.
59062 (top level): Use $PKGVERSION.
59063 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59064 ($(objpfx)pkgvers.texi): New rule.
59065 ($(objpfx)stamp-pkgvers): Likewise.
59066 * manual/install.texi: Include pkgvers.texi.
59067 (--with-pkgversion): Document new configure option.
59068 (--with-bugurl): Likewise.
59069 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59070 than necessarily for this particular distribution. Use
59071 REPORT_BUGS_TO for where to report bugs.
59072 * INSTALL: Regenerated.
59073 * manual/libc.texinfo: Include pkgvers.texi.
59074 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59075 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59076 (print_version): Use PKGVERSION.
59077 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59078 (print_version): Use PKGVERSION.
59079 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59080 (print_version): Use PKGVERSION.
59081 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59082 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59083 macro.
59084 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59085 (print_version): Use PKGVERSION.
59086 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59087 (print_version): Use PKGVERSION.
59088 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59089 and PKGVERSION.
59090
59091 * timezone/checktab.awk: Update from tzcode 2012i.
59092 * timezone/ialloc.c: Likewise.
59093 * timezone/private.h: Likewise.
59094 * timezone/scheck.c: Likewise.
59095 * timezone/tzfile.h: Likewise.
59096 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59097 (TZVERSION): Hardcode tzcode version number.
59098 * timezone/zdump.c: Update from tzcode 2012i.
59099 * timezone/zic.c: Likewise.
59100 * timezone/version.h: New file.
59101 * timezone/README: Describe version.h. Update upstream location.
59102
59103 [BZ #14824]
59104 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59105 (mktemp): Enable declaration.
59106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59110 Likewise.
59111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59112 Likewise.
59113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59114 Likewise.
59115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59116 Likewise.
59117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59118 Likewise.
59119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59120 Likewise.
59121
59122 [BZ #14821]
59123 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59124 offset in buffer as u_int32_t not u_long. Consistently use memcpy
59125 for copies of such integer values.
59126 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59127 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59128
59129 2012-11-09 Andreas Jaeger <aj@suse.de>
59130
59131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59132 definitions and declarations that are provided by
59133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59134
59135 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59136
59137 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59138 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59139 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59140 definition.
59141
59142 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59143
59144 * elf/elf.h: Update comment before AArch64 relocations.
59145
59146 2012-11-07 David S. Miller <davem@davemloft.net>
59147
59148 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59149 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59150 (__start_context): Declare.
59151 (__makecontext_ret): Delete.
59152 (__makecontext): Hook up __start_context instead of
59153 __makecontext_ret.
59154 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59155 (sysdep_routines): Add __start_context when in stdlib.
59156
59157 2012-11-07 Joseph Myers <joseph@codesourcery.com>
59158
59159 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59160 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59161 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
59162 hardcoded "nm".
59163 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
59164 (READELF): New variable. Use it instead of hardcoded "readelf".
59165
59166 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
59167
59168 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59169 * sysdeps/x86/Makefile: Here.
59170 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59171 * sysdeps/x86/tst-xmmymm.sh: This.
59172
59173 2012-11-07 Joseph Myers <joseph@codesourcery.com>
59174
59175 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59176 expectations.
59177 [UNIX98] (pthread_barrier_t): Do not expect.
59178 [UNIX98] (pthread_barrierattr_t): Likewise.
59179 [UNIX98] (pthread_spinlock_t): Likewise.
59180 [UNIX98] (pthread_barrier_destroy): Likewise.
59181 [UNIX98] (pthread_barrier_init): Likewise.
59182 [UNIX98] (pthread_barrier_wait): Likewise.
59183 [UNIX98] (pthread_barrierattr_destroy): Likewise.
59184 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59185 [UNIX98] (pthread_barrierattr_init): Likewise.
59186 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59187 [UNIX98] (pthread_getcpuclockid): Likewise.
59188 [UNIX98] (pthread_mutex_timedlock): Likewise.
59189 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59190 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59191 [UNIX98] (pthread_sigmask): Likewise.
59192 [UNIX98] (pthread_spin_destroy): Likewise.
59193 [UNIX98] (pthread_spin_init): Likewise.
59194 [UNIX98] (pthread_spin_lock): Likewise.
59195 [UNIX98] (pthread_spin_trylock): Likewise.
59196 [UNIX98] (pthread_spin_unlock): Likewise.
59197 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59198 Do not expect.
59199 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59200 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59201 [XPG3 || XPG4] (pthread_cond_t): Likewise.
59202 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59203 [XPG3 || XPG4] (pthread_key_t): Likewise.
59204 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59205 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59206 [XPG3 || XPG4] (pthread_once_t): Likewise.
59207 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59208 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59209 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59210 [XPG3 || XPG4] (pthread_t): Likewise.
59211
59212 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59213 not expect.
59214 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59215
59216 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59217 Change function return type to int.
59218
59219 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59220 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59221 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59222 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59223 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59224 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59225 [!POSIX] (posix_madvise): Likewise.
59226 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59227 && !UNIX98].
59228 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59229 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59230 (mode_t): Likewise.
59231 (posix_mem_offset): Likewise.
59232 (posix_typed_mem_get_info): Likewise.
59233 (posix_typed_mem_open): Likewise.
59234
59235 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59236 Change condition to [XOPEN2K8].
59237
59238 * conform/conformtest.pl: Preprocess allow-header data with -x c
59239 instead of from stdin.
59240 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59241 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59242 [C99-based standards] (cerfc): Likewise.
59243 [C99-based standards] (cexp2): Likewise.
59244 [C99-based standards] (cexpm1): Likewise.
59245 [C99-based standards] (clog10): Likewise.
59246 [C99-based standards] (clog1p): Likewise.
59247 [C99-based standards] (clog2): Likewise.
59248 [C99-based standards] (clgamma): Likewise.
59249 [C99-based standards] (ctgamma): Likewise.
59250 [C99-based standards] (cerff): Likewise.
59251 [C99-based standards] (cerfcf): Likewise.
59252 [C99-based standards] (cexp2f): Likewise.
59253 [C99-based standards] (cexpm1f): Likewise.
59254 [C99-based standards] (clog10f): Likewise.
59255 [C99-based standards] (clog1pf): Likewise.
59256 [C99-based standards] (clog2f): Likewise.
59257 [C99-based standards] (clgammaf): Likewise.
59258 [C99-based standards] (ctgammaf): Likewise.
59259 [C99-based standards] (cerfl): Likewise.
59260 [C99-based standards] (cerfcl): Likewise.
59261 [C99-based standards] (cexp2l): Likewise.
59262 [C99-based standards] (cexpm1l): Likewise.
59263 [C99-based standards] (clog10l): Likewise.
59264 [C99-based standards] (clog1pl): Likewise.
59265 [C99-based standards] (clog2l): Likewise.
59266 [C99-based standards] (clgammal): Likewise.
59267 [C99-based standards] (ctgammal): Likewise.
59268 * conform/data/inttypes.h-data [C99-based standards]: Include
59269 stdint.h-data. Remove all expectations for stdint.h contents.
59270 [C99-based standards] (PRI*): Do not allow.
59271 [C99-based standards] (SCN*): Likewise.
59272 [C99-based standards] (*_t): Likewise.
59273 [C99-based-standards] (PRId8): Expect macro.
59274 [C99-based-standards] (PRIi8): Likewise.
59275 [C99-based-standards] (PRIo8): Likewise.
59276 [C99-based-standards] (PRIu8): Likewise.
59277 [C99-based-standards] (PRIx8): Likewise.
59278 [C99-based-standards] (PRIX8): Likewise.
59279 [C99-based-standards] (SCNd8): Likewise.
59280 [C99-based-standards] (SCNi8): Likewise.
59281 [C99-based-standards] (SCNo8): Likewise.
59282 [C99-based-standards] (SCNu8): Likewise.
59283 [C99-based-standards] (SCNx8): Likewise.
59284 [C99-based-standards] (PRIdLEAST8): Likewise.
59285 [C99-based-standards] (PRIiLEAST8): Likewise.
59286 [C99-based-standards] (PRIoLEAST8): Likewise.
59287 [C99-based-standards] (PRIuLEAST8): Likewise.
59288 [C99-based-standards] (PRIxLEAST8): Likewise.
59289 [C99-based-standards] (PRIXLEAST8): Likewise.
59290 [C99-based-standards] (SCNdLEAST8): Likewise.
59291 [C99-based-standards] (SCNiLEAST8): Likewise.
59292 [C99-based-standards] (SCNoLEAST8): Likewise.
59293 [C99-based-standards] (SCNuLEAST8): Likewise.
59294 [C99-based-standards] (SCNxLEAST8): Likewise.
59295 [C99-based-standards] (PRIdFAST8): Likewise.
59296 [C99-based-standards] (PRIiFAST8): Likewise.
59297 [C99-based-standards] (PRIoFAST8): Likewise.
59298 [C99-based-standards] (PRIuFAST8): Likewise.
59299 [C99-based-standards] (PRIxFAST8): Likewise.
59300 [C99-based-standards] (PRIXFAST8): Likewise.
59301 [C99-based-standards] (SCNdFAST8): Likewise.
59302 [C99-based-standards] (SCNiFAST8): Likewise.
59303 [C99-based-standards] (SCNoFAST8): Likewise.
59304 [C99-based-standards] (SCNuFAST8): Likewise.
59305 [C99-based-standards] (SCNxFAST8): Likewise.
59306 [C99-based-standards] (PRId16): Likewise.
59307 [C99-based-standards] (PRIi16): Likewise.
59308 [C99-based-standards] (PRIo16): Likewise.
59309 [C99-based-standards] (PRIu16): Likewise.
59310 [C99-based-standards] (PRIx16): Likewise.
59311 [C99-based-standards] (PRIX16): Likewise.
59312 [C99-based-standards] (SCNd16): Likewise.
59313 [C99-based-standards] (SCNi16): Likewise.
59314 [C99-based-standards] (SCNo16): Likewise.
59315 [C99-based-standards] (SCNu16): Likewise.
59316 [C99-based-standards] (SCNx16): Likewise.
59317 [C99-based-standards] (PRIdLEAST16): Likewise.
59318 [C99-based-standards] (PRIiLEAST16): Likewise.
59319 [C99-based-standards] (PRIoLEAST16): Likewise.
59320 [C99-based-standards] (PRIuLEAST16): Likewise.
59321 [C99-based-standards] (PRIxLEAST16): Likewise.
59322 [C99-based-standards] (PRIXLEAST16): Likewise.
59323 [C99-based-standards] (SCNdLEAST16): Likewise.
59324 [C99-based-standards] (SCNiLEAST16): Likewise.
59325 [C99-based-standards] (SCNoLEAST16): Likewise.
59326 [C99-based-standards] (SCNuLEAST16): Likewise.
59327 [C99-based-standards] (SCNxLEAST16): Likewise.
59328 [C99-based-standards] (PRIdFAST16): Likewise.
59329 [C99-based-standards] (PRIiFAST16): Likewise.
59330 [C99-based-standards] (PRIoFAST16): Likewise.
59331 [C99-based-standards] (PRIuFAST16): Likewise.
59332 [C99-based-standards] (PRIxFAST16): Likewise.
59333 [C99-based-standards] (PRIXFAST16): Likewise.
59334 [C99-based-standards] (SCNdFAST16): Likewise.
59335 [C99-based-standards] (SCNiFAST16): Likewise.
59336 [C99-based-standards] (SCNoFAST16): Likewise.
59337 [C99-based-standards] (SCNuFAST16): Likewise.
59338 [C99-based-standards] (SCNxFAST16): Likewise.
59339 [C99-based-standards] (PRId32): Likewise.
59340 [C99-based-standards] (PRIi32): Likewise.
59341 [C99-based-standards] (PRIo32): Likewise.
59342 [C99-based-standards] (PRIu32): Likewise.
59343 [C99-based-standards] (PRIx32): Likewise.
59344 [C99-based-standards] (PRIX32): Likewise.
59345 [C99-based-standards] (SCNd32): Likewise.
59346 [C99-based-standards] (SCNi32): Likewise.
59347 [C99-based-standards] (SCNo32): Likewise.
59348 [C99-based-standards] (SCNu32): Likewise.
59349 [C99-based-standards] (SCNx32): Likewise.
59350 [C99-based-standards] (PRIdLEAST32): Likewise.
59351 [C99-based-standards] (PRIiLEAST32): Likewise.
59352 [C99-based-standards] (PRIoLEAST32): Likewise.
59353 [C99-based-standards] (PRIuLEAST32): Likewise.
59354 [C99-based-standards] (PRIxLEAST32): Likewise.
59355 [C99-based-standards] (PRIXLEAST32): Likewise.
59356 [C99-based-standards] (SCNdLEAST32): Likewise.
59357 [C99-based-standards] (SCNiLEAST32): Likewise.
59358 [C99-based-standards] (SCNoLEAST32): Likewise.
59359 [C99-based-standards] (SCNuLEAST32): Likewise.
59360 [C99-based-standards] (SCNxLEAST32): Likewise.
59361 [C99-based-standards] (PRIdFAST32): Likewise.
59362 [C99-based-standards] (PRIiFAST32): Likewise.
59363 [C99-based-standards] (PRIoFAST32): Likewise.
59364 [C99-based-standards] (PRIuFAST32): Likewise.
59365 [C99-based-standards] (PRIxFAST32): Likewise.
59366 [C99-based-standards] (PRIXFAST32): Likewise.
59367 [C99-based-standards] (SCNdFAST32): Likewise.
59368 [C99-based-standards] (SCNiFAST32): Likewise.
59369 [C99-based-standards] (SCNoFAST32): Likewise.
59370 [C99-based-standards] (SCNuFAST32): Likewise.
59371 [C99-based-standards] (SCNxFAST32): Likewise.
59372 [C99-based-standards] (PRId64): Likewise.
59373 [C99-based-standards] (PRIi64): Likewise.
59374 [C99-based-standards] (PRIo64): Likewise.
59375 [C99-based-standards] (PRIu64): Likewise.
59376 [C99-based-standards] (PRIx64): Likewise.
59377 [C99-based-standards] (PRIX64): Likewise.
59378 [C99-based-standards] (SCNd64): Likewise.
59379 [C99-based-standards] (SCNi64): Likewise.
59380 [C99-based-standards] (SCNo64): Likewise.
59381 [C99-based-standards] (SCNu64): Likewise.
59382 [C99-based-standards] (SCNx64): Likewise.
59383 [C99-based-standards] (PRIdLEAST64): Likewise.
59384 [C99-based-standards] (PRIiLEAST64): Likewise.
59385 [C99-based-standards] (PRIoLEAST64): Likewise.
59386 [C99-based-standards] (PRIuLEAST64): Likewise.
59387 [C99-based-standards] (PRIxLEAST64): Likewise.
59388 [C99-based-standards] (PRIXLEAST64): Likewise.
59389 [C99-based-standards] (SCNdLEAST64): Likewise.
59390 [C99-based-standards] (SCNiLEAST64): Likewise.
59391 [C99-based-standards] (SCNoLEAST64): Likewise.
59392 [C99-based-standards] (SCNuLEAST64): Likewise.
59393 [C99-based-standards] (SCNxLEAST64): Likewise.
59394 [C99-based-standards] (PRIdFAST64): Likewise.
59395 [C99-based-standards] (PRIiFAST64): Likewise.
59396 [C99-based-standards] (PRIoFAST64): Likewise.
59397 [C99-based-standards] (PRIuFAST64): Likewise.
59398 [C99-based-standards] (PRIxFAST64): Likewise.
59399 [C99-based-standards] (PRIXFAST64): Likewise.
59400 [C99-based-standards] (SCNdFAST64): Likewise.
59401 [C99-based-standards] (SCNiFAST64): Likewise.
59402 [C99-based-standards] (SCNoFAST64): Likewise.
59403 [C99-based-standards] (SCNuFAST64): Likewise.
59404 [C99-based-standards] (SCNxFAST64): Likewise.
59405 [C99-based-standards] (PRIdMAX): Likewise.
59406 [C99-based-standards] (PRIiMAX): Likewise.
59407 [C99-based-standards] (PRIoMAX): Likewise.
59408 [C99-based-standards] (PRIuMAX): Likewise.
59409 [C99-based-standards] (PRIxMAX): Likewise.
59410 [C99-based-standards] (PRIXMAX): Likewise.
59411 [C99-based-standards] (SCNdMAX): Likewise.
59412 [C99-based-standards] (SCNiMAX): Likewise.
59413 [C99-based-standards] (SCNoMAX): Likewise.
59414 [C99-based-standards] (SCNuMAX): Likewise.
59415 [C99-based-standards] (SCNxMAX): Likewise.
59416 [C99-based-standards] (PRIdPTR): Likewise.
59417 [C99-based-standards] (PRIiPTR): Likewise.
59418 [C99-based-standards] (PRIoPTR): Likewise.
59419 [C99-based-standards] (PRIuPTR): Likewise.
59420 [C99-based-standards] (PRIxPTR): Likewise.
59421 [C99-based-standards] (PRIXPTR): Likewise.
59422 [C99-based-standards] (SCNdPTR): Likewise.
59423 [C99-based-standards] (SCNiPTR): Likewise.
59424 [C99-based-standards] (SCNoPTR): Likewise.
59425 [C99-based-standards] (SCNuPTR): Likewise.
59426 [C99-based-standards] (SCNxPTR): Likewise.
59427 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59428 allow.
59429 * conform/data/stdint.h-data: Update comments to clarify
59430 requirements.
59431 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
59432 type.
59433 [C99-based standards] (INT8_MAX): Likewise.
59434 [C99-based standards] (INT16_MIN): Likewise.
59435 [C99-based standards] (INT16_MAX): Likewise.
59436 [C99-based standards] (INT32_MIN): Likewise.
59437 [C99-based standards] (INT32_MAX): Likewise.
59438 [C99-based standards] (INT64_MIN): Likewise.
59439 [C99-based standards] (INT64_MAX): Likewise.
59440 [C99-based standards] (UINT8_MAX): Likewise.
59441 [C99-based standards] (UINT16_MAX): Likewise.
59442 [C99-based standards] (UINT32_MAX): Likewise.
59443 [C99-based standards] (UINT64_MAX): Likewise.
59444 [C99-based standards] (INT_LEAST8_MIN): Likewise.
59445 [C99-based standards] (INT_LEAST8_MAX): Likewise.
59446 [C99-based standards] (INT_LEAST16_MIN): Likewise.
59447 [C99-based standards] (INT_LEAST16_MAX): Likewise.
59448 [C99-based standards] (INT_LEAST32_MIN): Likewise.
59449 [C99-based standards] (INT_LEAST32_MAX): Likewise.
59450 [C99-based standards] (INT_LEAST64_MIN): Likewise.
59451 [C99-based standards] (INT_LEAST64_MAX): Likewise.
59452 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59453 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59454 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59455 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59456 [C99-based standards] (INT_FAST8_MIN): Likewise.
59457 [C99-based standards] (INT_FAST8_MAX): Likewise.
59458 [C99-based standards] (INT_FAST16_MIN): Likewise.
59459 [C99-based standards] (INT_FAST16_MAX): Likewise.
59460 [C99-based standards] (INT_FAST32_MIN): Likewise.
59461 [C99-based standards] (INT_FAST32_MAX): Likewise.
59462 [C99-based standards] (INT_FAST64_MIN): Likewise.
59463 [C99-based standards] (INT_FAST64_MAX): Likewise.
59464 [C99-based standards] (UINT_FAST8_MAX): Likewise.
59465 [C99-based standards] (UINT_FAST16_MAX): Likewise.
59466 [C99-based standards] (UINT_FAST32_MAX): Likewise.
59467 [C99-based standards] (UINT_FAST64_MAX): Likewise.
59468 [C99-based standards] (INTPTR_MIN): Likewise.
59469 [C99-based standards] (INTPTR_MAX): Likewise.
59470 [C99-based standards] (UINTPTR_MAX): Likewise.
59471 [C99-based standards] (INTMAX_MIN): Likewise.
59472 [C99-based standards] (INTMAX_MAX): Likewise.
59473 [C99-based standards] (UINTMAX_MAX): Likewise.
59474 [C99-based standards] (PTRDIFF_MIN): Likewise.
59475 [C99-based standards] (PTRDIFF_MAX): Likewise.
59476 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59477 [C99-based standards] (SIZE_MAX): Likewise.
59478 [C99-based standards] (WCHAR_MAX): Likewise.
59479 [C99-based standards] (WINT_MAX): Likewise.
59480 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
59481 constraint on value.
59482 [C99-based standards] (WCHAR_MIN): Likewise.
59483 [C99-based standards] (WINT_MIN): Likewise.
59484 [C99-based standards] (*_t): Allow.
59485 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59486 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59487 Include math.h-data and complex.h-data. Remove all expectations
59488 of math.h and complex.h contents.
59489 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59490 at end of line.
59491 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59492 (struct tm): Expect tag.
59493 [C99-based-standards] (wcstof): Expect function.
59494 [C99-based-standards] (wcstold): Likewise.
59495 [C99-based-standards] (wcstoll): Likewise.
59496 [C99-based-standards] (wcstoull): Likewise.
59497 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59498 macro-int-constant. Specify type.
59499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
59500 constraint on value.
59501 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59502 Specify type.
59503 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59504 Specify value.
59505 [ISO C standards]: Do not allow headers.
59506 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59507 wcs[abcdefghijklmnopqrstuvwxyz]*.
59508 [ISO C standards] (*_t): Do not allow.
59509 * conform/data/wctype.h-data [C99-based standards] (iswblank):
59510 Expect function.
59511 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59512 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59513 Specify type.
59514 [ISO C standards]: Do not allow headers.
59515 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59516 is[abcdefghijklmnopqrstuvwxyz]*.
59517 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59518 to[abcdefghijklmnopqrstuvwxyz]*.
59519 [ISO C standards] (*_t): Do not allow.
59520 * conform/data/stdalign.h-data: New file.
59521 * conform/data/stdbool.h-data: Likewise.
59522 * conform/data/stdnoreturn.h-data: Likewise.
59523
59524 2012-11-07 Roland McGrath <roland@hack.frob.com>
59525
59526 [BZ #14815]
59527 * manual/filesys.texi (Directory Entries): Typo fix.
59528 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59529
59530 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59531
59532 * elf/elf.h (EM_AARCH64): New macro.
59533 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59534 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59535 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59536 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59537 (R_AARCH64_TLSDESC): Likewise.
59538 (NT_ARM_TLS): Likewise.
59539 (NT_ARM_HW_BREAK): Likewise.
59540 (NT_ARM_HW_WATCH): Likewise.
59541
59542 2012-11-07 Joseph Myers <joseph@codesourcery.com>
59543
59544 [BZ #14811]
59545 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59546 (__ieee754_powl): Saturate nonzero exponents with absolute value
59547 below 0x1p-79 to +/- 0x1p-79.
59548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59549 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59550 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59551 nonzero exponents with absolute value below 0x1p-32 to +/-
59552 0x1p-32.
59553 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59554 (__ieee754_powl): Saturate nonzero exponents with absolute value
59555 below 0x1p-79 to +/- 0x1p-79.
59556 * math/libm-test.inc (pow_test): Add more tests.
59557
59558 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59559
59560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59561 _dl_s390_cap_flags with kernel. Increase string length.
59562 (_dl_s390_platforms): Add z196 and zEC12.
59563
59564 2012-11-07 Joseph Myers <joseph@codesourcery.com>
59565
59566 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59567 Change XOPEN21K to XOPEN2K.
59568
59569 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
59570
59571 * string/memmove.c: Use memcpy when possible.
59572
59573 2012-11-06 Andreas Jaeger <aj@suse.de>
59574
59575 * po/eo.po: Update from translation team.
59576
59577 2012-11-06 Joseph Myers <joseph@codesourcery.com>
59578
59579 [BZ #14793]
59580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59581 exponent and small x and y exponents, scale x or y up. Increase
59582 by 2 the exponent used in scaling up.
59583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59585 * math/libm-test.inc (fma_test): Add more tests.
59586 (fma_test_towardzero): Likewise.
59587 (fma_test_downward): Likewise.
59588 (fma_test_upward): Likewise.
59589
59590 2012-11-05 Joseph Myers <joseph@codesourcery.com>
59591
59592 [BZ #14805]
59593 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59594 fenv_t *.
59595
59596 [BZ #14801]
59597 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59598 namespace for names of struct fields.
59599 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59600 fenv_t fields.
59601 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59602 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59603
59604 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
59605
59606 [BZ #3665]
59607 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59608
59609 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
59610
59611 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59612 PTR_DEMANGLE.
59613
59614 [BZ #5246]
59615 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59616 PTR_DEMANGLE.
59617
59618 2012-11-04 Joseph Myers <joseph@codesourcery.com>
59619
59620 [BZ #14797]
59621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59622 definitely overflow as x * y not x * y + z.
59623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59624 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59625 * math/libm-test.inc (fma_test): Add more tests.
59626 (fma_test_towardzero): Likewise.
59627 (fma_test_downward): Likewise.
59628 (fma_test_upward): Likewise.
59629
59630 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
59631
59632 [BZ #157]
59633
59634 * include/stub-tag.h: Remove file.
59635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59636 '#include' of it.
59637 * manual/maint.texi (Porting): Don't reference it.
59638 * Makerules ($(objpfx)stubs): Likewise.
59639 * dirent/closedir.c: Don't include <stub-tag.h>.
59640 * dirent/dirfd.c: Likewise.
59641 * dirent/fdopendir.c: Likewise.
59642 * dirent/getdents.c: Likewise.
59643 * dirent/getdents64.c: Likewise.
59644 * dirent/opendir.c: Likewise.
59645 * dirent/readdir.c: Likewise.
59646 * dirent/readdir64.c: Likewise.
59647 * dirent/readdir64_r.c: Likewise.
59648 * dirent/readdir_r.c: Likewise.
59649 * dirent/rewinddir.c: Likewise.
59650 * dirent/seekdir.c: Likewise.
59651 * dirent/telldir.c: Likewise.
59652 * gmon/profil.c: Likewise.
59653 * grp/setgroups.c: Likewise.
59654 * inet/if_index.c: Likewise.
59655 * io/access.c: Likewise.
59656 * io/chdir.c: Likewise.
59657 * io/chmod.c: Likewise.
59658 * io/chown.c: Likewise.
59659 * io/close.c: Likewise.
59660 * io/dup.c: Likewise.
59661 * io/dup2.c: Likewise.
59662 * io/dup3.c: Likewise.
59663 * io/euidaccess.c: Likewise.
59664 * io/faccessat.c: Likewise.
59665 * io/fchdir.c: Likewise.
59666 * io/fchmod.c: Likewise.
59667 * io/fchmodat.c: Likewise.
59668 * io/fchown.c: Likewise.
59669 * io/fchownat.c: Likewise.
59670 * io/fcntl.c: Likewise.
59671 * io/flock.c: Likewise.
59672 * io/fstatfs.c: Likewise.
59673 * io/fstatfs64.c: Likewise.
59674 * io/fstatvfs.c: Likewise.
59675 * io/fstatvfs64.c: Likewise.
59676 * io/futimens.c: Likewise.
59677 * io/fxstat.c: Likewise.
59678 * io/fxstat64.c: Likewise.
59679 * io/fxstatat.c: Likewise.
59680 * io/fxstatat64.c: Likewise.
59681 * io/getcwd.c: Likewise.
59682 * io/isatty.c: Likewise.
59683 * io/lchmod.c: Likewise.
59684 * io/lchown.c: Likewise.
59685 * io/link.c: Likewise.
59686 * io/linkat.c: Likewise.
59687 * io/lseek.c: Likewise.
59688 * io/lseek64.c: Likewise.
59689 * io/lxstat64.c: Likewise.
59690 * io/mkdir.c: Likewise.
59691 * io/mkdirat.c: Likewise.
59692 * io/mkfifo.c: Likewise.
59693 * io/mkfifoat.c: Likewise.
59694 * io/open.c: Likewise.
59695 * io/open64.c: Likewise.
59696 * io/openat.c: Likewise.
59697 * io/openat64.c: Likewise.
59698 * io/pipe.c: Likewise.
59699 * io/pipe2.c: Likewise.
59700 * io/poll.c: Likewise.
59701 * io/posix_fadvise.c: Likewise.
59702 * io/posix_fadvise64.c: Likewise.
59703 * io/posix_fallocate.c: Likewise.
59704 * io/posix_fallocate64.c: Likewise.
59705 * io/read.c: Likewise.
59706 * io/readlink.c: Likewise.
59707 * io/readlinkat.c: Likewise.
59708 * io/rmdir.c: Likewise.
59709 * io/sendfile.c: Likewise.
59710 * io/sendfile64.c: Likewise.
59711 * io/statfs.c: Likewise.
59712 * io/statfs64.c: Likewise.
59713 * io/statvfs.c: Likewise.
59714 * io/statvfs64.c: Likewise.
59715 * io/symlink.c: Likewise.
59716 * io/symlinkat.c: Likewise.
59717 * io/ttyname.c: Likewise.
59718 * io/ttyname_r.c: Likewise.
59719 * io/umask.c: Likewise.
59720 * io/unlink.c: Likewise.
59721 * io/unlinkat.c: Likewise.
59722 * io/utime.c: Likewise.
59723 * io/utimensat.c: Likewise.
59724 * io/write.c: Likewise.
59725 * io/xmknod.c: Likewise.
59726 * io/xmknodat.c: Likewise.
59727 * io/xstat.c: Likewise.
59728 * io/xstat64.c: Likewise.
59729 * login/getpt.c: Likewise.
59730 * login/grantpt.c: Likewise.
59731 * login/unlockpt.c: Likewise.
59732 * math/e_acoshl.c: Likewise.
59733 * math/e_acosl.c: Likewise.
59734 * math/e_asinl.c: Likewise.
59735 * math/e_atan2l.c: Likewise.
59736 * math/e_atanhl.c: Likewise.
59737 * math/e_coshl.c: Likewise.
59738 * math/e_expl.c: Likewise.
59739 * math/e_fmodl.c: Likewise.
59740 * math/e_gammal_r.c: Likewise.
59741 * math/e_hypotl.c: Likewise.
59742 * math/e_j0l.c: Likewise.
59743 * math/e_j1l.c: Likewise.
59744 * math/e_jnl.c: Likewise.
59745 * math/e_lgammal_r.c: Likewise.
59746 * math/e_log10l.c: Likewise.
59747 * math/e_log2l.c: Likewise.
59748 * math/e_logl.c: Likewise.
59749 * math/e_powl.c: Likewise.
59750 * math/e_rem_pio2l.c: Likewise.
59751 * math/e_sinhl.c: Likewise.
59752 * math/e_sqrtl.c: Likewise.
59753 * math/fclrexcpt.c: Likewise.
59754 * math/fedisblxcpt.c: Likewise.
59755 * math/feenablxcpt.c: Likewise.
59756 * math/fegetenv.c: Likewise.
59757 * math/fegetexcept.c: Likewise.
59758 * math/fegetround.c: Likewise.
59759 * math/feholdexcpt.c: Likewise.
59760 * math/fesetenv.c: Likewise.
59761 * math/fesetround.c: Likewise.
59762 * math/feupdateenv.c: Likewise.
59763 * math/fgetexcptflg.c: Likewise.
59764 * math/fraiseexcpt.c: Likewise.
59765 * math/fsetexcptflg.c: Likewise.
59766 * math/ftestexcept.c: Likewise.
59767 * math/k_cosl.c: Likewise.
59768 * math/k_rem_pio2l.c: Likewise.
59769 * math/k_sinl.c: Likewise.
59770 * math/k_tanl.c: Likewise.
59771 * math/s_asinhl.c: Likewise.
59772 * math/s_atanl.c: Likewise.
59773 * math/s_cbrtl.c: Likewise.
59774 * math/s_erfl.c: Likewise.
59775 * math/s_expm1l.c: Likewise.
59776 * math/s_log1pl.c: Likewise.
59777 * math/s_tanhl.c: Likewise.
59778 * misc/acct.c: Likewise.
59779 * misc/brk.c: Likewise.
59780 * misc/chflags.c: Likewise.
59781 * misc/chroot.c: Likewise.
59782 * misc/fchflags.c: Likewise.
59783 * misc/fgetxattr.c: Likewise.
59784 * misc/flistxattr.c: Likewise.
59785 * misc/fremovexattr.c: Likewise.
59786 * misc/fsetxattr.c: Likewise.
59787 * misc/fsync.c: Likewise.
59788 * misc/ftruncate.c: Likewise.
59789 * misc/futimes.c: Likewise.
59790 * misc/futimesat.c: Likewise.
59791 * misc/getdomain.c: Likewise.
59792 * misc/getdtsz.c: Likewise.
59793 * misc/gethostid.c: Likewise.
59794 * misc/gethostname.c: Likewise.
59795 * misc/getloadavg.c: Likewise.
59796 * misc/getpagesize.c: Likewise.
59797 * misc/getsysstats.c: Likewise.
59798 * misc/getxattr.c: Likewise.
59799 * misc/gtty.c: Likewise.
59800 * misc/ioctl.c: Likewise.
59801 * misc/lgetxattr.c: Likewise.
59802 * misc/listxattr.c: Likewise.
59803 * misc/llistxattr.c: Likewise.
59804 * misc/lremovexattr.c: Likewise.
59805 * misc/lsetxattr.c: Likewise.
59806 * misc/lutimes.c: Likewise.
59807 * misc/madvise.c: Likewise.
59808 * misc/mincore.c: Likewise.
59809 * misc/mlock.c: Likewise.
59810 * misc/mlockall.c: Likewise.
59811 * misc/mmap.c: Likewise.
59812 * misc/mprotect.c: Likewise.
59813 * misc/msync.c: Likewise.
59814 * misc/munlock.c: Likewise.
59815 * misc/munlockall.c: Likewise.
59816 * misc/munmap.c: Likewise.
59817 * misc/preadv.c: Likewise.
59818 * misc/preadv64.c: Likewise.
59819 * misc/ptrace.c: Likewise.
59820 * misc/pwritev.c: Likewise.
59821 * misc/pwritev64.c: Likewise.
59822 * misc/readv.c: Likewise.
59823 * misc/reboot.c: Likewise.
59824 * misc/remap_file_pages.c: Likewise.
59825 * misc/removexattr.c: Likewise.
59826 * misc/revoke.c: Likewise.
59827 * misc/select.c: Likewise.
59828 * misc/setdomain.c: Likewise.
59829 * misc/setegid.c: Likewise.
59830 * misc/seteuid.c: Likewise.
59831 * misc/sethostid.c: Likewise.
59832 * misc/sethostname.c: Likewise.
59833 * misc/setregid.c: Likewise.
59834 * misc/setreuid.c: Likewise.
59835 * misc/setxattr.c: Likewise.
59836 * misc/sstk.c: Likewise.
59837 * misc/stty.c: Likewise.
59838 * misc/swapoff.c: Likewise.
59839 * misc/swapon.c: Likewise.
59840 * misc/sync.c: Likewise.
59841 * misc/syncfs.c: Likewise.
59842 * misc/syscall.c: Likewise.
59843 * misc/truncate.c: Likewise.
59844 * misc/ualarm.c: Likewise.
59845 * misc/usleep.c: Likewise.
59846 * misc/ustat.c: Likewise.
59847 * misc/utimes.c: Likewise.
59848 * misc/vhangup.c: Likewise.
59849 * misc/writev.c: Likewise.
59850 * posix/_exit.c: Likewise.
59851 * posix/alarm.c: Likewise.
59852 * posix/execve.c: Likewise.
59853 * posix/fexecve.c: Likewise.
59854 * posix/fork.c: Likewise.
59855 * posix/fpathconf.c: Likewise.
59856 * posix/getaddrinfo.c: Likewise.
59857 * posix/getegid.c: Likewise.
59858 * posix/geteuid.c: Likewise.
59859 * posix/getgid.c: Likewise.
59860 * posix/getgroups.c: Likewise.
59861 * posix/getlogin.c: Likewise.
59862 * posix/getlogin_r.c: Likewise.
59863 * posix/getpgid.c: Likewise.
59864 * posix/getpid.c: Likewise.
59865 * posix/getppid.c: Likewise.
59866 * posix/getresgid.c: Likewise.
59867 * posix/getresuid.c: Likewise.
59868 * posix/getsid.c: Likewise.
59869 * posix/getuid.c: Likewise.
59870 * posix/glob64.c: Likewise.
59871 * posix/nanosleep.c: Likewise.
59872 * posix/pathconf.c: Likewise.
59873 * posix/pause.c: Likewise.
59874 * posix/posix_madvise.c: Likewise.
59875 * posix/pread.c: Likewise.
59876 * posix/pread64.c: Likewise.
59877 * posix/pwrite.c: Likewise.
59878 * posix/pwrite64.c: Likewise.
59879 * posix/sched_getaffinity.c: Likewise.
59880 * posix/sched_getp.c: Likewise.
59881 * posix/sched_gets.c: Likewise.
59882 * posix/sched_primax.c: Likewise.
59883 * posix/sched_primin.c: Likewise.
59884 * posix/sched_rr_gi.c: Likewise.
59885 * posix/sched_setaffinity.c: Likewise.
59886 * posix/sched_setp.c: Likewise.
59887 * posix/sched_sets.c: Likewise.
59888 * posix/sched_yield.c: Likewise.
59889 * posix/setgid.c: Likewise.
59890 * posix/setlogin.c: Likewise.
59891 * posix/setpgid.c: Likewise.
59892 * posix/setresgid.c: Likewise.
59893 * posix/setresuid.c: Likewise.
59894 * posix/setsid.c: Likewise.
59895 * posix/setuid.c: Likewise.
59896 * posix/sleep.c: Likewise.
59897 * posix/spawni.c: Likewise.
59898 * posix/sysconf.c: Likewise.
59899 * posix/times.c: Likewise.
59900 * posix/wait.c: Likewise.
59901 * posix/wait3.c: Likewise.
59902 * posix/wait4.c: Likewise.
59903 * posix/waitpid.c: Likewise.
59904 * resolv/gai_sigqueue.c: Likewise.
59905 * resource/getpriority.c: Likewise.
59906 * resource/getrlimit.c: Likewise.
59907 * resource/getrusage.c: Likewise.
59908 * resource/nice.c: Likewise.
59909 * resource/setpriority.c: Likewise.
59910 * resource/setrlimit.c: Likewise.
59911 * resource/ulimit.c: Likewise.
59912 * rt/aio_cancel.c: Likewise.
59913 * rt/aio_fsync.c: Likewise.
59914 * rt/aio_read.c: Likewise.
59915 * rt/aio_sigqueue.c: Likewise.
59916 * rt/aio_suspend.c: Likewise.
59917 * rt/aio_write.c: Likewise.
59918 * rt/clock_getres.c: Likewise.
59919 * rt/clock_gettime.c: Likewise.
59920 * rt/clock_nanosleep.c: Likewise.
59921 * rt/clock_settime.c: Likewise.
59922 * rt/lio_listio.c: Likewise.
59923 * rt/mq_close.c: Likewise.
59924 * rt/mq_getattr.c: Likewise.
59925 * rt/mq_notify.c: Likewise.
59926 * rt/mq_open.c: Likewise.
59927 * rt/mq_receive.c: Likewise.
59928 * rt/mq_send.c: Likewise.
59929 * rt/mq_setattr.c: Likewise.
59930 * rt/mq_timedreceive.c: Likewise.
59931 * rt/mq_timedsend.c: Likewise.
59932 * rt/mq_unlink.c: Likewise.
59933 * rt/shm_open.c: Likewise.
59934 * rt/shm_unlink.c: Likewise.
59935 * rt/timer_create.c: Likewise.
59936 * rt/timer_delete.c: Likewise.
59937 * rt/timer_getoverr.c: Likewise.
59938 * rt/timer_gettime.c: Likewise.
59939 * rt/timer_settime.c: Likewise.
59940 * setjmp/__longjmp.c: Likewise.
59941 * setjmp/setjmp.c: Likewise.
59942 * signal/kill.c: Likewise.
59943 * signal/killpg.c: Likewise.
59944 * signal/raise.c: Likewise.
59945 * signal/sigaction.c: Likewise.
59946 * signal/sigaltstack.c: Likewise.
59947 * signal/sigblock.c: Likewise.
59948 * signal/sigignore.c: Likewise.
59949 * signal/sigintr.c: Likewise.
59950 * signal/signal.c: Likewise.
59951 * signal/sigpause.c: Likewise.
59952 * signal/sigpending.c: Likewise.
59953 * signal/sigqueue.c: Likewise.
59954 * signal/sigreturn.c: Likewise.
59955 * signal/sigset.c: Likewise.
59956 * signal/sigsetmask.c: Likewise.
59957 * signal/sigstack.c: Likewise.
59958 * signal/sigsuspend.c: Likewise.
59959 * signal/sigtimedwait.c: Likewise.
59960 * signal/sigvec.c: Likewise.
59961 * signal/sigwait.c: Likewise.
59962 * signal/sigwaitinfo.c: Likewise.
59963 * signal/sysv_signal.c: Likewise.
59964 * socket/accept.c: Likewise.
59965 * socket/accept4.c: Likewise.
59966 * socket/bind.c: Likewise.
59967 * socket/connect.c: Likewise.
59968 * socket/getpeername.c: Likewise.
59969 * socket/getsockname.c: Likewise.
59970 * socket/getsockopt.c: Likewise.
59971 * socket/isfdtype.c: Likewise.
59972 * socket/listen.c: Likewise.
59973 * socket/recv.c: Likewise.
59974 * socket/recvfrom.c: Likewise.
59975 * socket/recvmsg.c: Likewise.
59976 * socket/send.c: Likewise.
59977 * socket/sendmsg.c: Likewise.
59978 * socket/sendto.c: Likewise.
59979 * socket/setsockopt.c: Likewise.
59980 * socket/shutdown.c: Likewise.
59981 * socket/sockatmark.c: Likewise.
59982 * socket/socket.c: Likewise.
59983 * socket/socketpair.c: Likewise.
59984 * stdio-common/ctermid.c: Likewise.
59985 * stdio-common/cuserid.c: Likewise.
59986 * stdio-common/remove.c: Likewise.
59987 * stdio-common/rename.c: Likewise.
59988 * stdio-common/renameat.c: Likewise.
59989 * stdio-common/tempname.c: Likewise.
59990 * stdlib/getcontext.c: Likewise.
59991 * stdlib/makecontext.c: Likewise.
59992 * stdlib/setcontext.c: Likewise.
59993 * stdlib/swapcontext.c: Likewise.
59994 * stdlib/system.c: Likewise.
59995 * streams/fattach.c: Likewise.
59996 * streams/fdetach.c: Likewise.
59997 * streams/getmsg.c: Likewise.
59998 * streams/getpmsg.c: Likewise.
59999 * streams/putmsg.c: Likewise.
60000 * streams/putpmsg.c: Likewise.
60001 * sysdeps/unix/bsd/getpt.c: Likewise.
60002 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60003 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60004 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60006 Likewise.
60007 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60008 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60009 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60010 * sysvipc/msgctl.c: Likewise.
60011 * sysvipc/msgget.c: Likewise.
60012 * sysvipc/msgrcv.c: Likewise.
60013 * sysvipc/msgsnd.c: Likewise.
60014 * sysvipc/semctl.c: Likewise.
60015 * sysvipc/semget.c: Likewise.
60016 * sysvipc/semop.c: Likewise.
60017 * sysvipc/semtimedop.c: Likewise.
60018 * sysvipc/shmat.c: Likewise.
60019 * sysvipc/shmctl.c: Likewise.
60020 * sysvipc/shmdt.c: Likewise.
60021 * sysvipc/shmget.c: Likewise.
60022 * termios/tcdrain.c: Likewise.
60023 * termios/tcflow.c: Likewise.
60024 * termios/tcflush.c: Likewise.
60025 * termios/tcgetattr.c: Likewise.
60026 * termios/tcgetpgrp.c: Likewise.
60027 * termios/tcsendbrk.c: Likewise.
60028 * termios/tcsetattr.c: Likewise.
60029 * termios/tcsetpgrp.c: Likewise.
60030 * time/adjtime.c: Likewise.
60031 * time/clock.c: Likewise.
60032 * time/getitimer.c: Likewise.
60033 * time/gettimeofday.c: Likewise.
60034 * time/setitimer.c: Likewise.
60035 * time/settimeofday.c: Likewise.
60036 * time/stime.c: Likewise.
60037 * time/time.c: Likewise.
60038
60039 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
60040
60041 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60042 /usr/old/bin.
60043
60044 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60045 instead of spaces.
60046 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60047
60048 2012-11-03 Joseph Myers <joseph@codesourcery.com>
60049
60050 [BZ #14796]
60051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60052 FE_TONEAREST before applying Dekker multiplication and Knuth
60053 addition. Clear inexact exceptions and check for exact zero
60054 results afterwards.
60055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60056 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60058 * math/libm-test.inc (fma_test): Add more tests.
60059 (fma_test_towardzero): Likewise.
60060 (fma_test_downward): Likewise.
60061 (fma_test_upward): Likewise.
60062 * sysdeps/generic/math_private.h (default_libc_fesetround): New
60063 function.
60064 (libc_fesetround): New macro.
60065 (libc_fesetroundf): Likewise.
60066 (libc_fesetroundl): Likewise.
60067 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60068 function.
60069 (libc_fesetround_387): Likewise.
60070 (libc_fesetroundf): New macro.
60071 (libc_fesetround): Likewise.
60072 (libc_fesetroundl): Likewise.
60073 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60074 function.
60075 (libc_fesetroundf): New macro.
60076 (libc_fesetround): Likewise.
60077 (libc_fesetroundl): Likewise.
60078 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60079 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60080 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60081 libm_hidden_ver.
60082 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60083 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60084 libm_hidden_def.
60085 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60086 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60087 libm_hidden_ver.
60088 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60089 libm_hidden_def.
60090
60091 [BZ #3439]
60092 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60093 integer constant usable in #if and use that to give value to enum
60094 constant.
60095 (FE_DIVBYZERO): Likewise.
60096 (FE_UNDERFLOW): Likewise.
60097 (FE_OVERFLOW): Likewise.
60098 (FE_INVALID): Likewise.
60099 (FE_INVALID_SNAN): Likewise.
60100 (FE_INVALID_ISI): Likewise.
60101 (FE_INVALID_IDI): Likewise.
60102 (FE_INVALID_ZDZ): Likewise.
60103 (FE_INVALID_IMZ): Likewise.
60104 (FE_INVALID_COMPARE): Likewise.
60105 (FE_INVALID_SOFTWARE): Likewise.
60106 (FE_INVALID_SQRT): Likewise.
60107 (FE_INVALID_INTEGER_CONVERSION): Likewise.
60108 (FE_TONEAREST): Likewise.
60109 (FE_TOWARDZERO): Likewise.
60110 (FE_UPWARD): Likewise.
60111 (FE_DOWNWARD): Likewise.
60112 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60113 (FE_DIVBYZERO): Likewise.
60114 (FE_OVERFLOW): Likewise.
60115 (FE_UNDERFLOW): Likewise.
60116 (FE_INEXACT): Likewise.
60117 (FE_TONEAREST): Likewise.
60118 (FE_DOWNWARD): Likewise.
60119 (FE_UPWARD): Likewise.
60120 (FE_TOWARDZERO): Likewise.
60121 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60122 (FE_UNDERFLOW): Likewise.
60123 (FE_OVERFLOW): Likewise.
60124 (FE_DIVBYZERO): Likewise.
60125 (FE_INVALID): Likewise.
60126 (FE_TONEAREST): Likewise.
60127 (FE_TOWARDZERO): Likewise.
60128 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60129 (FE_OVERFLOW): Likewise.
60130 (FE_UNDERFLOW): Likewise.
60131 (FE_DIVBYZERO): Likewise.
60132 (FE_INEXACT): Likewise.
60133 (FE_TONEAREST): Likewise.
60134 (FE_TOWARDZERO): Likewise.
60135 (FE_UPWARD): Likewise.
60136 (FE_DOWNWARD): Likewise.
60137 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60138 (FE_DIVBYZERO): Likewise.
60139 (FE_OVERFLOW): Likewise.
60140 (FE_UNDERFLOW): Likewise.
60141 (FE_INEXACT): Likewise.
60142 (FE_TONEAREST): Likewise.
60143 (FE_DOWNWARD): Likewise.
60144 (FE_UPWARD): Likewise.
60145 (FE_TOWARDZERO): Likewise.
60146
60147 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
60148
60149 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60150
60151 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
60152
60153 * scripts/cross-test-ssh.sh (command): Use newlines to separate
60154 commands. Quote $PWD.
60155 (blacklist_exports): Don't use remove_newlines. Replace "declare
60156 -x" by "export".
60157 (remove_newlines): Remove.
60158
60159 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
60160
60161 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60162 * stdlib/stdlib.h (atof): Moved to ...
60163 * include/bits/stdlib-float.h: Here. New file.
60164 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60165 * stdlib/bits/stdlib-float.h: New file.
60166 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60167 -mno-sse -mno-mmx.
60168 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60169 <xmmintrin.h>.
60170
60171 2012-11-02 Joseph Myers <joseph@codesourcery.com>
60172
60173 * conform/conformtest.pl (@headers): Add fenv.h.
60174 * conform/data/fenv.h-data: New file.
60175 * include/fenv.h [_ISOMAC]: Disable all contents of file except
60176 include of <math/fenv.h>.
60177
60178 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60179 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60180 && !UNIX98]. Enables tests for XOPEN2K8.
60181 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60182 POSIX2008]: Likewise.
60183
60184 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60185 (struct rusage): Do not expect type or its members.
60186
60187 [BZ #3439]
60188 * math/math.h (FP_NAN): Define macro to integer constant usable in
60189 #if and use that to give value to enum constant.
60190 (FP_INFINITE): Likewise.
60191 (FP_ZERO): Likewise.
60192 (FP_SUBNORMAL): Likewise.
60193 (FP_NORMAL): Likewise.
60194
60195 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
60196
60197 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60198 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60199 arguments.
60200
60201 2012-11-02 Roland McGrath <roland@hack.frob.com>
60202
60203 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60204 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60205 autoconf-time if not.
60206 * configure.in: Remove AC_PREREQ.
60207
60208 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60209
60210 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60211 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60212 of the internal implementation.
60213
60214 2012-11-02 Joseph Myers <joseph@codesourcery.com>
60215
60216 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60217 except include of <misc/sys/syslog.h>.
60218
60219 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
60220
60221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60222 function returns with a NULL context exit with zero.
60223
60224 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60225
60226 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60227
60228 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
60229
60230 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60231 (run_program_cmd): This.
60232 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60233 (tst_langinfo): New variable. Use it.
60234
60235 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
60236
60237 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60238 floating point opcodes.
60239
60240 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
60241
60242 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60243 variable.
60244
60245 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60246
60247 * sysdeps/mach/hurd/powerpc: Remove directory.
60248 * sysdeps/mach/powerpc: Likewise.
60249
60250 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
60251
60252 * scripts/check-local-headers.sh: Ignore c++ headers.
60253
60254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
60255
60256 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60257 __libc_cleanup_region_start argument.
60258
60259 2012-11-01 Joseph Myers <joseph@codesourcery.com>
60260
60261 [BZ #14784]
60262 [BZ #14785]
60263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60264 x * y using scaling, not as x * y + z.
60265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60267 * math/libm-test.inc (fma_test): Add more tests.
60268 (fma_test_towardzero): Likewise.
60269 (fma_test_downward): Likewise.
60270 (fma_test_upward): Likewise.
60271
60272 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
60273
60274 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60275
60276 2012-10-31 Joseph Myers <joseph@codesourcery.com>
60277
60278 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60279 New variable.
60280
60281 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
60282
60283 * rt/tst-shm.c (worker): Correct checking for mmap failure.
60284
60285 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
60286
60287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60288 Fix sort order.
60289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60290 Likewise.
60291
60292 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60293
60294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60295 Fix the order of the list for glibc 2.17.
60296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60297 Likewise.
60298
60299 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
60300
60301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60302
60303 2012-10-31 Joseph Myers <joseph@codesourcery.com>
60304
60305 [BZ #14610]
60306 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60307 for low part of x being zero before using __atanl (y).
60308 * math/libm-test.inc (atan2_test): Add another test.
60309
60310 * manual/install.texi (Configuring and compiling): Document
60311 general use of test-wrapper and test-wrapper-env.
60312 * INSTALL: Regenerated.
60313
60314 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60315 (__fma): Do not extract and scale down low bits on after-rounding
60316 systems when result rounded to normal precision would have normal
60317 exponent.
60318 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60319 (__fmal): Do not extract and scale down low bits on after-rounding
60320 systems when result rounded to normal precision would have normal
60321 exponent.
60322 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60323 (__fmal): Do not extract and scale down low bits on after-rounding
60324 systems when result rounded to normal precision would have normal
60325 exponent.
60326 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60327 macro.
60328 (fma_test): Add more tests.
60329 (fma_test_towardzero): Likewise.
60330 (fma_test_downward): Likewise.
60331 (fma_test_upward): Likewise.
60332
60333 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
60334
60335 * sysdeps/i386/tininess.h: Renamed to ...
60336 * sysdeps/x86/tininess.h: This.
60337 * sysdeps/x86_64/tininess.h: Removed.
60338
60339 2012-10-30 Joseph Myers <joseph@codesourcery.com>
60340
60341 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60342 input. Use $(build-program-cmd).
60343 ($(objpfx)tst-array1-static.out): Likewise.
60344 ($(objpfx)tst-array2.out): Likewise.
60345 ($(objpfx)tst-array3.out): Likewise.
60346 ($(objpfx)tst-array4.out): Likewise.
60347 ($(objpfx)tst-array5.out): Likewise.
60348 ($(objpfx)tst-array5-static.out): Likewise.
60349
60350 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
60351
60352 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60353 if defined.
60354
60355 * nss/nsswitch.h (nss_interface_function): Provide new
60356 macro for use with NSS functions.
60357 * grp/initgroups.c: Use new macro.
60358 * nss/getXXbyYY.c: Likewise.
60359 * nss/getXXbyYY_r.c: Likewise.
60360 * nss/getXXent.c: Likewise.
60361 * nss/getXXent_r.c: Likewise.
60362 * sysdeps/posix/getaddrinfo.c: Likewise.
60363
60364 2012-10-30 Andreas Jaeger <aj@suse.de>
60365
60366 * po/ru.po: Update Russion translation from translation project.
60367
60368 2012-10-30 Joseph Myers <joseph@codesourcery.com>
60369
60370 [BZ #14152]
60371 [BZ #14783]
60372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60373 result and shift together with sticky bit instead of replicating
60374 round-to-nearest rounding.
60375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60377 * math/libm-test.inc (fma_test): Add more tests. Do not permit
60378 missing underflow exceptions.
60379 (fma_test_towardzero): Add more tests.
60380 (fma_test_downward): Likewise.
60381 (fma_test_upward): Likewise.
60382
60383 [BZ #14047]
60384 * sysdeps/generic/tininess.h: New file.
60385 * sysdeps/i386/tininess.h: Likewise.
60386 * sysdeps/sh/tininess.h: Likewise.
60387 * sysdeps/x86_64/tininess.h: Likewise.
60388 * stdlib/tst-strtod-underflow.c: Likewise.
60389 * stdlib/tst-tininess.c: Likewise.
60390 * stdlib/strtod_l.c: Include <tininess.h>.
60391 (round_and_return): Do not set errno for exact underflow cases.
60392 Force an underflow exception when setting errno for underflow.
60393 Determine underflow based on rounding to normal precision if
60394 TININESS_AFTER_ROUNDING.
60395 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60396 ERANGE for exact underflow cases.
60397 * stdlib/Makefile (tests): Add tst-tininess and
60398 tst-strtod-underflow.
60399 ($(objpfx)tst-tininess): Use $(link-libm).
60400 ($(objpfx)tst-strtod-underflow): Likewise.
60401
60402 2012-10-30 Andreas Jaeger <aj@suse.de>
60403
60404 [BZ#14767]
60405 * elf/Makefile (tests): Remove conditional for have-initfini-array
60406 since this is now always required and the variable does not exist
60407 anymore.
60408 (tests-static): Likewise.
60409 (modules-names): Likewise.
60410
60411 * po/eo.po: Add Esperanto translation from translation project.
60412
60413 * elf/tst-array1.c (fini_array): Make writeable so that it can be
60414 merged with constructor/destructor.
60415 (init_array): Likewise.
60416 * elf/tst-array2dep.c (fini_array): Likewise.
60417 (init_array): Likewise.
60418
60419 2012-10-29 Mike Frysinger <vapier@gentoo.org>
60420
60421 * manual/message.texi: Delete @cartouche tags.
60422
60423 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
60424
60425 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60426 EOPNOTSUPP.
60427 * sysdeps/mach/hurd/fsync.c: Likewise.
60428
60429 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60430 [_POSIX_REALTIME_SIGNALS]: Change condition to
60431 [_POSIX_REALTIME_SIGNALS > 0].
60432
60433 2012-10-27 Andreas Jaeger <aj@suse.de>
60434
60435 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60436 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60438 [__WORDSIZE != 64]: Likewise.
60439
60440 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
60441
60442 * iconvdata/tst-table.sh: Remove ${SHELL}.
60443 * iconvdata/tst-tables.sh: Likewise.
60444
60445 2012-10-25 David S. Miller <davem@davemloft.net>
60446
60447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60448 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60449 of strtoull.
60450
60451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60452 ifunc-impl-list.c
60453 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60454 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60455 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60456 file.
60457
60458 2012-10-25 Roland McGrath <roland@hack.frob.com>
60459
60460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60461 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60462 __getdirentries.
60463
60464 2012-10-25 Joseph Myers <joseph@codesourcery.com>
60465 Jim Blandy <jimb@codesourcery.com>
60466
60467 * scripts/cross-test-ssh.sh: New file.
60468 * manual/install.texi (Configuring and compiling): Document use of
60469 cross-test-ssh.sh.
60470 * INSTALL: Regenerated.
60471
60472 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
60473
60474 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60475 EOPNOTSUPP.
60476
60477 2012-10-25 Joseph Myers <joseph@codesourcery.com>
60478
60479 * Makeconfig (run-program-prefix): Fix comment.
60480
60481 2012-10-24 Joseph Myers <joseph@codesourcery.com>
60482 Jim Blandy <jimb@codesourcery.com>
60483
60484 * Makeconfig (test-wrapper): New variable,
60485 (test-wrapper-env): Likewise.
60486 [$(cross-compiling) = yes && $(test-wrapper) != ""]
60487 (run-built-tests): Define to yes.
60488 (run-program-prefix): Use $(test-wrapper).
60489 (built-program-cmd): Likewise.
60490 * Rules (make-test-out): Use $(test-wrapper-env) and
60491 $(host-built-program-cmd).
60492 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60493 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60494 tst-pathopt.sh.
60495 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60496 $(test-wrapper-env) to tst-rtld-load-self.sh.
60497 ($(objpfx)order2.out): Use $(test-wrapper).
60498 ($(objpfx)tst-initorder.out): Likewise.
60499 ($(objpfx)tst-initorder2.out): Likewise.
60500 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60501 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60502 (test_wrapper_env): New variable. Use it to run ld.so.
60503 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60504 Use it to run ld.so.
60505 (test_wrapper_env): Likewise.
60506 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60507 $(test-wrapper) to run-iconv-test.sh.
60508 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60509 (ICONV): Use $test_wrapper.
60510 * posix/Makefile ($(objpfx)globtest.out): Pass
60511 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60512 globtest.sh, not $(run-program-prefix).
60513 * posix/globtest.sh (run_via_rtld_prefix): New variable.
60514 (test_wrapper): Likewise.
60515 (test_wrapper_env): Likewise. Use it to run globtest with HOME
60516 set together with run_via_rtld_prefix.
60517 (run_program_prefix): Define in terms of test_wrapper and
60518 run_via_rtld_prefix.
60519
60520 2012-10-24 Roland McGrath <roland@hack.frob.com>
60521
60522 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60523 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60524 Targets removed.
60525
60526 [BZ #14743]
60527 * include/time.h: Remove librt_hidden_proto (clock_gettime).
60528 Declare __clock_getres, __clock_gettime, __clock_settime,
60529 __clock_nanosleep, and __clock_getcpuclockid.
60530 * rt/clock_gettime.c: Define __clock_gettime as an alias.
60531 Remove librt_hidden_def (clock_gettime).
60532 * sysdeps/unix/clock_gettime.c: Likewise.
60533 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60535 * rt/clock_getres.c: Define __clock_getres as an alias.
60536 * sysdeps/posix/clock_getres.c: Likewise.
60537 * rt/clock_settime.c: Define __clock_settime as an alias.
60538 * sysdeps/unix/clock_settime.c: Likewise.
60539 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60540 * sysdeps/unix/clock_nanosleep.c: Likewise.
60541 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60542 * rt/clock-compat.c: New file.
60543 * rt/Makefile (librt-routines): Add clock-compat and move
60544 $(clock-routines) to ...
60545 (routines): ... here, new variable.
60546 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60547 Don't add get_clockfreq here.
60548 * rt/Versions (libc: GLIBC_2.17): New version set.
60549 Add clock_* symbols here.
60550 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
60551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60552 (GLIBC_2.17): Add clock_* symbols.
60553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60555 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60557 Likewise.
60558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60559 Likewise.
60560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60564 * NEWS: Mention the move.
60565
60566 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60567 Use __open, __read, __close rather than their public counterparts.
60568 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60569 (__get_clockfreq_via_cpuinfo): Likewise.
60570 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60571 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60572
60573 * config.h.in (HAVE_IFUNC): New #undef.
60574 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60575 was successful.
60576 * configure: Regenerated.
60577
60578 2012-10-24 Mike Frysinger <vapier@gentoo.org>
60579
60580 * configure.in: Move READELF check to start of file.
60581 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60582 libc_cv_asm_gnu_indirect_function in the process.
60583 * configure: Regenerated.
60584
60585 2012-10-24 Mike Frysinger <vapier@gentoo.org>
60586
60587 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60588 send the output to /dev/null.
60589 (libc_cv_cc_with_libunwind): Likewise.
60590 (libc_cv_as_noexecstack): Likewise.
60591 * configure: Regenerate.
60592
60593 2012-10-24 Joseph Myers <joseph@codesourcery.com>
60594
60595 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60596
60597 * posix/globtest.sh (TMPDIR): Do not set.
60598 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60599 (testout): Likewise.
60600
60601 2012-10-24 Andreas Jaeger <aj@suse.de>
60602
60603 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60604 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60605 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60606 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60607 posix_fadvise64, posix_fallocate64.
60608
60609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60610 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60611 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60612 Likewise.
60613 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60614 Likewise.
60615 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60616
60617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60618 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60619 <bits/fcntl-linux.h>.
60620 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60621
60622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60623 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60624 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60625 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60626 [__WORDSIZE != 64]: Likewise.
60627
60628 2012-10-23 Joseph Myers <joseph@codesourcery.com>
60629
60630 * Makeconfig (run-built-tests): New variable.
60631 * Rules [$(cross-compiling) = yes]: Change condition to
60632 [$(run-built-tests) = no].
60633 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60634 to [$(run-built-tests) = yes].
60635 * elf/Makefile [$(cross-compiling) = no]: Likewise.
60636 * grp/Makefile [$(cross-compiling) = no]: Likewise.
60637 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60638 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60639 * intl/Makefile [$(cross-compiling) = no]: Likewise.
60640 * io/Makefile [$(cross-compiling) = no]: Likewise.
60641 * libio/Makefile [$(cross-compiling) = no]: Likewise.
60642 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60643 * misc/Makefile [$(cross-compiling) = no]: Likewise.
60644 * posix/Makefile [$(cross-compiling) = no]: Likewise.
60645 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60646 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60647 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60648 * string/Makefile [$(cross-compiling) = no]: Likewise.
60649
60650 * posix/Makefile ($(objpfx)globtest.out): Pass
60651 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60652 $(rtld-installed-name).
60653 * posix/globtest.sh (elf_objpfx): Remove variable.
60654 (rtld_installed_name): Likewise.
60655 (library_path): Likewise.
60656 (run_program_prefix): New variable. Use for running globtest
60657 binary.
60658
60659 2012-10-23 Jim Blandy <jimb@codesourcery.com>
60660 Joseph Myers <joseph@codesourcery.com>
60661
60662 * Makeconfig (host-built-program-cmd): New variable.
60663 * elf/Makefile (tst-stackguard1-ARGS): Use
60664 $(host-built-program-cmd).
60665 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60666 (tst-spawn-ARGS): Likewise.
60667 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60668
60669 2012-10-23 Joseph Myers <joseph@codesourcery.com>
60670 Jim Blandy <jimb@codesourcery.com>
60671
60672 * Makeconfig (run-via-rtld-prefix): New variable.
60673 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60674 (built-program-cmd): Likewise.
60675
60676 2012-10-22 Andreas Jaeger <aj@suse.de>
60677
60678 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60679 __O_RSYNC if it exists, otherwise to O_SYNC.
60680
60681 2012-10-22 Jim Blandy <jimb@codesourcery.com>
60682 Joseph Myers <joseph@codesourcery.com>
60683
60684 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60685 /dev/null.
60686 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60687 from /dev/null
60688 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60689 /dev/null.
60690
60691 2012-10-22 Andreas Jaeger <aj@suse.de>
60692
60693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60694 Define always.
60695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60696
60697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60698 bits/fcntl-linux.h.
60699
60700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60701 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60702
60703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60704 to __O_LARGEFILE.
60705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60706 to __O_LARGEFILE.
60707
60708 2012-10-21 Jim Blandy <jimb@codesourcery.com>
60709 Joseph Myers <joseph@codesourcery.com>
60710
60711 * config.make.in (NM): New variable.
60712
60713 2012-10-21 Andreas Jaeger <aj@suse.de>
60714
60715 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60716 definitions and declarations that are provided by
60717 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60718
60719 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
60720
60721 [BZ #14683]
60722 * elf/Makefile (tests-static): Add tst-leaks1-static.
60723 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60724 ($(objpfx)tst-leaks1-static): New rule.
60725 ($(objpfx)tst-leaks1-static-mem): Likewise.
60726 (tst-leaks1-static-ENV): New macro.
60727 * elf/dl-open.c (dl_open_worker): Check the main application
60728 only if SHARED is defined.
60729 * elf/tst-leaks1-static.c: New file.
60730
60731 2012-10-20 Andreas Jaeger <aj@suse.de>
60732
60733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60734 generic values for Linux.
60735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60736 and declarations that are provided by <bits/fcntl-linux.h> and
60737 include <bits/fcntl-linux.h>.
60738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60740
60741 2012-10-20 Roland McGrath <roland@hack.frob.com>
60742
60743 * io/fcntl.h: Move include of <bits/types.h> to the top and
60744 include it unconditionally.
60745
60746 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
60747
60748 * wcsmbs/Makefile (tests-ifunc): New variable.
60749 (tests): Add $(tests-ifunc).
60750 * wcsmbs/test-wcschr-ifunc.c: New file.
60751 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60752 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60753 * wcsmbs/test-wcslen-ifunc.c: Likewise.
60754 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60755 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60756
60757 * string/Makefile (tests-ifunc): New variable.
60758 (tests): Add $(tests-ifunc).
60759 * string/test-memccpy.c (TEST_NAME): New macro.
60760 * string/test-memchr.c (TEST_NAME): Likewise.
60761 * string/test-memcmp.c (TEST_NAME): Likewise.
60762 * string/test-memcpy.c (TEST_NAME): Likewise.
60763 * string/test-memmem.c (TEST_NAME): Likewise.
60764 * string/test-memmove.c (TEST_NAME): Likewise.
60765 * string/test-memset.c (TEST_NAME): Likewise.
60766 * string/test-rawmemchr.c (TEST_NAME): Likewise.
60767 * string/test-stpcpy.c (TEST_NAME): Likewise.
60768 * string/test-stpncpy.c (TEST_NAME): Likewise.
60769 * string/test-strcasecmp.c (TEST_NAME): Likewise.
60770 * string/test-strcasestr.c (TEST_NAME): Likewise.
60771 * string/test-strcat.c (TEST_NAME): Likewise.
60772 * string/test-strchr.c (TEST_NAME): Likewise.
60773 * string/test-strcmp.c(TEST_NAME): Likewise.
60774 * string/test-strcpy.c (TEST_NAME): Likewise.
60775 * string/test-strcspn.c (TEST_NAME): Likewise.
60776 * string/test-strlen.c (TEST_NAME): Likewise.
60777 * string/test-strncasecmp.c (TEST_NAME): Likewise.
60778 * string/test-strncmp.c (TEST_NAME): Likewise.
60779 * string/test-strncpy.c (TEST_NAME): Likewise.
60780 * string/test-strnlen.c (TEST_NAME): Likewise.
60781 * string/test-strpbrk.c (TEST_NAME): Likewise.
60782 * string/test-strrchr.c (TEST_NAME): Likewise.
60783 * string/test-strspn.c (TEST_NAME): Likewise.
60784 * string/test-strstr.c (TEST_NAME): Likewise.
60785 * string/test-bcopy-ifunc.c: New file.
60786 * string/test-bzero-ifunc.c: Likewise.
60787 * string/test-memccpy-ifunc.c: Likewise.
60788 * string/test-memchr-ifunc.c: Likewise.
60789 * string/test-memcmp-ifunc.c: Likewise.
60790 * string/test-memcpy-ifunc.c: Likewise.
60791 * string/test-memmem-ifunc.c: Likewise.
60792 * string/test-memmove-ifunc.c: Likewise.
60793 * string/test-mempcpy-ifunc.c: Likewise.
60794 * string/test-memset-ifunc.c: Likewise.
60795 * string/test-rawmemchr-ifunc.c: Likewise.
60796 * string/test-stpcpy-ifunc.c: Likewise.
60797 * string/test-stpncpy-ifunc.c: Likewise.
60798 * string/test-strcasecmp-ifunc.c: Likewise.
60799 * string/test-strcasestr-ifunc.c: Likewise.
60800 * string/test-strcat-ifunc.c: Likewise.
60801 * string/test-strchr-ifunc.c: Likewise.
60802 * string/test-strchrnul-ifunc.c: Likewise.
60803 * string/test-strcmp-ifunc.c: Likewise.
60804 * string/test-strcpy-ifunc.c: Likewise.
60805 * string/test-strcspn-ifunc.c: Likewise.
60806 * string/test-strlen-ifunc.c: Likewise.
60807 * string/test-strncasecmp-ifunc.c: Likewise.
60808 * string/test-strncat-ifunc.c: Likewise.
60809 * string/test-strncmp-ifunc.c: Likewise.
60810 * string/test-strncpy-ifunc.c: Likewise.
60811 * string/test-strnlen-ifunc.c: Likewise.
60812 * string/test-strpbrk-ifunc.c: Likewise.
60813 * string/test-strrchr-ifunc.c: Likewise.
60814 * string/test-strspn-ifunc.c: Likewise.
60815 * string/test-strstr-ifunc.c: Likewise.
60816
60817 * debug/Makefile (tests-ifunc): New variable.
60818 (tests): Add $(tests-ifunc).
60819 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60820 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60821 * debug/test-stpcpy_chk-ifunc.c: New file.
60822 * debug/test-strcpy_chk-ifunc.c: Likewise.
60823
60824 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60825
60826 [BZ #13601]
60827 * elf/dl-load.c (open_verify): Retry read if the entire ELF
60828 header is not read in.
60829
60830 2012-10-19 Joseph Myers <joseph@codesourcery.com>
60831
60832 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
60833 script to $(SHELL) as $<. Pass $(common-objpfx) to script
60834 directly. Pass built executable to script as
60835 $(built-program-cmd).
60836 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
60837 $testprogram without using LD_LIBRARY_PATH and $ldso.
60838
60839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60840 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60841 $(rtld-installed-name).
60842 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60843 (rtld_installed_name): Likewise.
60844 (library_path): Likewise.
60845 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
60846 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60847 $(run-program-prefix) to tst-tables.sh.
60848 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
60849 it to run tst-table-from and tst-table-to.
60850 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60851 Pass it to tst-table.sh.
60852 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60853 $(run-program-prefix) to tst-gettext.sh.
60854 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60855 tst-translit.sh.
60856 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60857 tst-gettext2.sh.
60858 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
60859 to run tst-gettext.
60860 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
60861 to run tst-gettext2.
60862 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
60863 to run tst-translit.
60864 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60865 $(run-program-prefix) to tst-mtrace.sh.
60866 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
60867 to run tst-mtrace.
60868 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60869 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60870 $(rtld-installed-name).
60871 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60872 (rtld_installed_name): Likewise.
60873 (run_program_prefix): New variable. Use it to run wordexp-test.
60874
60875 * Makeconfig (ARCH): Remove all definitions.
60876 (machine): Likewise.
60877 [ARCH]: Remove conditional code.
60878 [!objdir]: Give error.
60879 [!objdir] (objpfx): Remove.
60880 [!objdir] (common-objpfx): Likewise.
60881 [!objdir] (common-objdir): Likewise.
60882 * configure.in (config_makefile): Remove. Hardcode Makefile in
60883 AC_CONFIG_FILES call.
60884 * configure: Regenerated.
60885
60886 [BZ #13888]
60887 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60888 or TMPDIR.
60889 (testout): Likewise.
60890
60891 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60892 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60893 $(rtld-installed-name).
60894 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60895 (rtld_installed_name): Likwise.
60896 (runit): Remove function.
60897 (run_getconf): New variable, Use it for running getconf binary.
60898
60899 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
60900
60901 [BZ #14716]
60902 * string/test-memmem.c (check_result): New function.
60903 (do_one_test): Use it.
60904 (check1): New function.
60905 (test_main): Use it.
60906
60907 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
60908
60909 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60910
60911 2012-10-18 Joseph Myers <joseph@codesourcery.com>
60912
60913 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60914 (_G_LSEEK64): Likewise.
60915 (_G_MMAP64): Likewise.
60916 (_G_FSTAT64): Likewise.
60917 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60918 (_G_LSEEK64): Likewise.
60919 (_G_MMAP64): Likewise.
60920 (_G_FSTAT64): Likewise.
60921 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60922 unconditional. Call __mmap64 directly.
60923 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60924 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
60925 __lseek64 directly.
60926 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60927 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
60928 __mmap64 directly.
60929 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60930 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
60931 __lseek64 directly.
60932 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60933 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
60934 __lseek64 directly.
60935 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60936 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
60937 __lseek64 directly.
60938 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60939 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
60940 __fxstat64 directly.
60941 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60942 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60943 unconditional.
60944 (freopen64) [!_G_OPEN64]: Remove conditional code.
60945 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60946 unconditional.
60947 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60948 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60949 unconditional.
60950 (ftello64) [!_G_LSEEK64]: Remove conditional code.
60951 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60952 unconditional.
60953 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60954 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60955 unconditional.
60956 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60957 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60958 unconditional.
60959 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60960 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60961 unconditional.
60962 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60963 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60964 unconditional.
60965 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60966
60967 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60968
60969 [BZ #12140]
60970 * manual/memory.texi (Malloc Tunable Parameters): Add note
60971 about free list pointers overwriting some perturb bytes.
60972 Wording suggested by Roland McGrath.
60973
60974 2012-10-17 Joseph Myers <joseph@codesourcery.com>
60975
60976 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60977 (lgamma_test): Likewise.
60978 (tgamma_test): Likewise.
60979
60980 2012-10-16 Florian Weimer <fweimer@redhat.com>
60981
60982 [BZ #14700]
60983 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60984 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60985
60986 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
60987
60988 * NEWS: Mention BZ #14716.
60989 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60990 when removing AVAILABLE1_USES_J macro.
60991
60992 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
60993
60994 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60995 (__bswap_64): __uint64_t for unsigned 64-bit int.
60996
60997 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
60998
60999 * include/string.h (memmem): Declare libc hidden alias.
61000 * string/memmem.c (memmem): Define libc hidden alias.
61001 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61002 __read, __close instead of open, read, close.
61003
61004 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
61005
61006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61007 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61008 global and hidden.
61009 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61010 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61011 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61012 Likewise.
61013 (__rawmemchr_sse2): Likewise.
61014 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61015 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61016 (__strchr_sse2): Likewise.
61017 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61018 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61019 (__strcasecmp_sse2): Likewise.
61020 (__strncasecmp_sse2): Likewise.
61021 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61022 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61023 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61024 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61025 (__strrchr_sse2): Likewise.
61026 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61027 ifunc-impl-list.c.
61028 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61029 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61030 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61031 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61032 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61033 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61034 * sysdeps/x86_64/multiarch/memset.S: Likewise.
61035 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61036 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61037 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61038 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61039 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61040 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61041 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61042 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61043 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61044 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61045 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61046 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61047 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61048 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61049 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61050 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61051 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61052 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61053 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61054 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61056 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61057 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61058
61059 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61060 global and hidden.
61061 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61062 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61063 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61064 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61065 Likewise.
61066 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61067 Likewise.
61068 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61069 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61070 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61071 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61072 ifunc-impl-list.c.
61073 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61074 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61075 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61076 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61077 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61078 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61079 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61080 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61081 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61082 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61083 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61084 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61085 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61086 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61087 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61088 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61089 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61090 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61091 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61092 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61093 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61096 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61097 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61098 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61099 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61100 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61101 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61102 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61103 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61104 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61105 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61106 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61107 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61108 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61109 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61110 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61111 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61112 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61113 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61114
61115 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61116 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61117 * include/ifunc-impl-list.h: New file.
61118 * misc/ifunc-impl-list.c: Likewise.
61119 * misc/Makefile (routines): Add ifunc-impl-list.
61120 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61121 * string/test-string.h: Include <ifunc-impl-list.h>.
61122 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61123 TEST_NAME]: New variables.
61124 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61125 are defined.
61126 (test_init): Call __libc_ifunc_impl_list to initialize
61127 func_list if TEST_IFUNC and TEST_NAME are defined.
61128
61129 * string/Makefile (strop-tests): Add bcopy and bzero.
61130 * string/test-bcopy.c: New file.
61131 * string/test-bzero.c: Likewise.
61132 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61133 defined.
61134 * string/test-memset.c: Support bzero test if TEST_BZERO is
61135 defined.
61136 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61137 __libc_memmove.
61138 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61139 __libc_memset.
61140 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61141 of memset.
61142
61143 2012-10-10 Joseph Myers <joseph@codesourcery.com>
61144
61145 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61146 * configure: Regenerated.
61147
61148 * Makeconfig (+link-static-before-libc): Don't include
61149 $(link-static-libc).
61150
61151 * libio/libio.h (_IO_pos_t): Remove.
61152
61153 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
61154
61155 * NEWS: Add note about FIPS mode. Wording suggested by Roland
61156 McGrath.
61157
61158 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
61159
61160 * crypt/crypt-entry.c: Include fips-private.h.
61161 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61162 * crypt/md5c-test.c (main): Tolerate disabled MD5.
61163 * sysdeps/unix/sysv/linux/fips-private.h: New file.
61164 * sysdeps/generic/fips-private.h: New file, dummy fallback.
61165
61166 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
61167
61168 * crypt/crypt-private.h: Include stdbool.h.
61169 (_ufc_setup_salt_r): Return bool.
61170 * crypt/crypt-entry.c: Include errno.h.
61171 (__crypt_r): Return NULL with EINVAL for bad salt.
61172 * crypt/crypt_util.c (bad_for_salt): New.
61173 (_ufc_setup_salt_r): Check that salt is long enough and within
61174 the specified alphabet.
61175 * crypt/badsalttest.c: New file.
61176 * crypt/Makefile (tests): Add it.
61177 ($(objpfx)badsalttest): New.
61178
61179 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
61180
61181 * NEWS: Add entry for BZ #14602.
61182
61183 2012-10-09 Joseph Myers <joseph@codesourcery.com>
61184
61185 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61186 type-generic.
61187 * math/libm-test.inc: Update comment listing what functions and
61188 macros are tested.
61189 (isgreater_test): New function.
61190 (isgreaterequal_test): Likewise.
61191 (isless_test): Likewise.
61192 (islessequal_test): Likewise.
61193 (islessgreater_test): Likewise.
61194 (isunordered_test): Likewise.
61195 (main): Call the new functions.
61196
61197 2012-10-09 Roland McGrath <roland@hack.frob.com>
61198
61199 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61200 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61201 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61202 * sysdeps/i386/configure: Regenerated.
61203 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61204 * sysdeps/mach/configure: Regenerated.
61205 * sysdeps/mach/hurd/configure: Regenerated.
61206 * sysdeps/powerpc/configure: Regenerated.
61207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
61208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
61209 * sysdeps/s390/s390-32/configure: Regenerated.
61210 * sysdeps/s390/s390-64/configure: Regenerated.
61211 * sysdeps/sh/configure: Regenerated.
61212 * sysdeps/sparc/configure: Regenerated.
61213 * sysdeps/unix/sysv/linux/configure: Regenerated.
61214 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61215 * sysdeps/x86_64/configure: Regenerated.
61216
61217 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61218 defined. Don't check if MAP is NULL.
61219
61220 2012-10-09 Joseph Myers <joseph@codesourcery.com>
61221
61222 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61223 (_G_stat64): Likewise.
61224 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61225 (_G_stat64): Likewise.
61226 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61227 instead of struct _G_stat64.
61228 * libio/fileops.c (mmap_remap_check): Likewise.
61229 (decide_maybe_mmap): Likewise.
61230 (_IO_new_file_seekoff): Likewise.
61231 (_IO_file_stat): Likewise.
61232 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61233 _G_off64_t.
61234 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61235 instead of struct _G_stat64.
61236 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61237
61238 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
61239
61240 [BZ #14602]
61241 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61242 Replace with ...
61243 (CHECK_EOL): New macro.
61244 (two_way_short_needle): Check beginning of haystack for EOL. Use
61245 CHECK_EOL.
61246 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61247 Replace with CHECK_EOL.
61248 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61249 Replace with CHECK_EOL.
61250
61251 2012-10-08 Joseph Myers <joseph@codesourcery.com>
61252
61253 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61254 type-generic.
61255 * math/libm-test.inc: Update comment listing what functions and
61256 macros are tested.
61257 (finite_test): New function.
61258 (isinf_test): Likewise.
61259 (isnan_test): Likewise.
61260 (fpclassify_test): Test subnormal input.
61261 (isfinite_test): Likewise.
61262 (isnormal_test): Likewise.
61263 (main): Call the new functions.
61264
61265 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
61266
61267 [BZ #14660]
61268 * Makerules (%.dynsym): Force C locale when running
61269 $(OBJDUMP) --dynamic-syms.
61270
61271 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
61272
61273 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61274 <stdint.h>.
61275
61276 2012-10-06 David S. Miller <davem@davemloft.net>
61277
61278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61279 upper 32-bits of the length value in %o2 since we use branch-on-register
61280 tests which consider the entire 64-bit register.
61281
61282 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
61283
61284 * string/test-strstr.c (check2): Add a test for page boundary.
61285
61286 2012-10-05 David S. Miller <davem@davemloft.net>
61287
61288 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61289 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61290 file.
61291 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61292 sysdep_routines.
61293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61294 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61295 and bzero when HWCAP_SPARC_CRYPTO is present.
61296
61297 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
61298
61299 [BZ #14602]
61300 * string/test-strstr.c (check2): New function.
61301 (test_main): Call check2.
61302
61303 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61304 and bug-strchr1.
61305 * string/bug-strcasestr1.c (do_test): Moved to ...
61306 * string/test-strcasestr.c (check1): Here. New function.
61307 (do_one_test): Break out result checking code into ...
61308 (check_result): This. New function.
61309 (do_one_test): Call check_result.
61310 (test_main): Call check1.
61311 * string/bug-strchr1.c (do_test): Moved to ...
61312 * string/test-strchr.c (check1): Here. New function.
61313 (do_one_test): Break out result checking code into ...
61314 (check_result): This. New function.
61315 (do_one_test): Call check_result.
61316 (test_main): Call check1.
61317 * string/bug-strstr1.c (main): Moved to ...
61318 * string/test-strstr.c (check1): Here. New function.
61319 (do_one_test): Break out result checking code into ...
61320 (check_result): This. New function.
61321 (do_one_test): Call check_result.
61322 (test_main): Call check1.
61323 * string/bug-strcasestr1.c: Removed.
61324 * string/bug-strchr1.c: Likewise.
61325 * string/bug-strstr1.c: Likewise.
61326
61327 * elf/Makefile (dl-routines): Add hwcaps.
61328 * elf/dl-support.c (_dl_important_hwcaps): Removed.
61329 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61330 (_dl_important_hwcaps): Moved to ...
61331 * elf/dl-hwcaps.c: Here. New file.
61332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61333
61334 [BZ #14557]
61335 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61336 if IS_IN_rtld isn't defined.
61337
61338 * elf/dl-support.c (_dl_sysinfo_map): New.
61339 Include "get-dynamic-info.h" and "setup-vdso.h".
61340 (_dl_non_dynamic_init): Call setup_vdso.
61341 * elf/dynamic-link.h: Don't include <assert.h>.
61342 (elf_get_dynamic_info): Moved to ...
61343 * elf/get-dynamic-info.h: Here. New file.
61344 * elf/dynamic-link.h: Include "get-dynamic-info.h".
61345 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61346 * elf/setup-vdso.h: Here. New file.
61347 * elf/rtld.c: Include "setup-vdso.h".
61348 (dl_main): Call setup_vdso.
61349
61350 2012-10-05 Joseph Myers <joseph@codesourcery.com>
61351
61352 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61353 creal in comment listing functions tested. List finite, isinf,
61354 isnan, isless, islessequal, isgreater, isgreaterequal,
61355 islessgreater, isunordered, lgamma_r and pow10 as functions and
61356 macros not tested. Mention which functions not tested are aliases
61357 for other functions. Fix typo. Note that signs of NaNs are not
61358 tested.
61359
61360 * scripts/config.guess: Update from config.git.
61361 * scripts/config.sub: Likewise.
61362
61363 2012-10-04 Roland McGrath <roland@hack.frob.com>
61364
61365 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61366 * misc/madvise.c (madvise): Renamed to __madvise.
61367 Make madvise a weak alias.
61368 * include/sys/mman.h: Declare __madvise.
61369 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61370 * sysdeps/unix/syscalls.list
61371 (madvise): Make __madvise the strong name, and madvise a weak alias.
61372 * sysdeps/unix/sysv/linux/syscalls.list
61373 (madvise, mmap): Remove redundant entries.
61374 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61375 * malloc/malloc.c (mtrim): Likewise.
61376 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61377
61378 2012-10-03 Roland McGrath <roland@hack.frob.com>
61379
61380 * sysdeps/mach/hurd/dl-cache.c: File removed.
61381 * config.h.in (USE_LDCONFIG): New #undef.
61382 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61383 * configure: Regenerated.
61384 * elf/Makefile (dl-routines): Add dl-cache only under
61385 [$(use-ldconfig) = yes].
61386 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61387 cache on [USE_LDCONFIG].
61388 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61389 [USE_LDCONFIG].
61390 * elf/rtld.c (dl_main): Likewise.
61391
61392 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
61393
61394 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61395 _SC_LEVEL4_CACHE_LINESIZE.
61396
61397 2012-10-03 Roland McGrath <roland@hack.frob.com>
61398
61399 * sysdeps/unix/bsd/confstr.h: File removed.
61400
61401 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
61402
61403 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61404 sys/sdt-config.h.
61405
61406 2012-10-02 Roland McGrath <roland@hack.frob.com>
61407
61408 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61409 Make 'mapoff' field ElfW(Off) rather than off_t.
61410
61411 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
61412
61413 * nscd/Makefile: Remove nscd-cflags and all its users.
61414 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61415 (CFLAGS-nonlib): Add compiler flags for nscd modules.
61416
61417 [BZ #10631]
61418 * malloc.c (malloc_printerr): Clarify error message.
61419
61420 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
61421
61422 [BZ #14648]
61423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61424 Set bit_FMA_Usable if FMA is supported.
61425 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61426 macro.
61427 (bit_FMA4_Usable): Updated.
61428 (index_FMA_Usable): New macro.
61429 (CPUID_FMA): Likewise.
61430 (HAS_FMA): Defined with bit_FMA_Usable.
61431
61432 2012-10-01 Roland McGrath <roland@hack.frob.com>
61433
61434 * bits/types.h (__swblk_t): Type removed.
61435 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61436 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61438 (__SWBLK_T_TYPE): Likewise.
61439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61440 (__SWBLK_T_TYPE): Likewise.
61441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61442 (__SWBLK_T_TYPE): Likewise.
61443 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61444 (__SWBLK_T_TYPE): Likewise.
61445
61446 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
61447 Honza Horak <hhorak@redhat.com>
61448
61449 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61450 (xdr_mapname): Use YPMAXMAP as maxsize.
61451 (xdr_peername): Use YPMAXPEER as maxsize.
61452 (xdr_keydat): Use YPAXRECORD as maxsize.
61453 (xdr_valdat): Use YPMAXRECORD as maxsize.
61454
61455 2012-10-01 Roland McGrath <roland@hack.frob.com>
61456
61457 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61458
61459 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61460 * csu/init-first.c: ... here.
61461 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61462 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61463 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61464 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61465 * sysdeps/i386/init-first.c: File removed.
61466 * sysdeps/sh/init-first.c: File removed.
61467
61468 2012-10-01 Joseph Myers <joseph@codesourcery.com>
61469
61470 [BZ #14645]
61471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61472 if x * y might underflow to zero and z is zero.
61473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61475 * math/libm-test.inc (min_subnorm_value): New variable.
61476 (fma_test): Add more tests.
61477 (fma_test_towardzero): Likewise.
61478 (fma_test_downward): Likewise.
61479 (fma_test_upward): Likewise.
61480 (initialize): Set min_subnorm_value.
61481
61482 2012-09-29 Joseph Myers <joseph@codesourcery.com>
61483
61484 [BZ #14638]
61485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61486 0 + 0.
61487 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61488 mode for addition resulting in exact zero.
61489 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61491 exact 0 + 0.
61492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61494 * math/libm-test.inc (fma_test): Add more tests.
61495 (fma_test_towardzero): New function.
61496 (fma_test_downward): Likewise.
61497 (fma_test_upward): Likewise.
61498 (main): Call the new functions.
61499
61500 2012-09-28 David S. Miller <davem@davemloft.net>
61501
61502 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61503
61504 2012-09-28 Roland McGrath <roland@hack.frob.com>
61505
61506 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61507 instead of SIGALRM.
61508
61509 * sysdeps/gnu/_G_config.h: Moved to ...
61510 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61511 * sysdeps/mach/hurd/_G_config.h: Moved to ...
61512 * sysdeps/generic/_G_config.h: ... here.
61513
61514 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
61515
61516 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61517
61518 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61519 Conditionalize target on [libnss_test1.so-version].
61520
61521 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61522
61523 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61524 (elfobjdir): Move out of conditionals.
61525
61526 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61527 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61528 (__nss_lookup_function): Conditionalize label remove_from_tree on
61529 [!DO_STATIC_NSS || SHARED], matching its only use.
61530
61531 2012-09-28 David S. Miller <davem@davemloft.net>
61532
61533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61534 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61535 file.
61536 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61537 sysdep_routines.
61538 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61540 when HWCAP_SPARC_CRYPTO is present.
61541
61542 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
61543
61544 * io/tst-mknodat.c: Create a FIFO instead of a socket.
61545
61546 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
61547
61548 [BZ #6530]
61549 * stdio-common/vfprintf.c (process_string_arg): Revert
61550 2000-07-22 change.
61551
61552 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
61553
61554 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61555 for testcase.
61556 * stdio-common/tst-sprintf.c: Include <locale.h>
61557 (main): Test sprintf's handling of incomplete multibyte
61558 characters.
61559
61560 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
61561
61562 * elf/dl-runtime.c (VERSYMIDX): Removed.
61563 * elf/dl-version.c (VERSYMIDX): Likewise.
61564 * elf/do-rel.h (VERSYMIDX): Likewise.
61565 (VALIDX): Likewise.
61566 * elf/dynamic-link.h (VERSYMIDX): Likewise.
61567 * elf/rtld.c (VALIDX): Likewise.
61568 (ADDRIDX): Likewise.
61569 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61570 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61571 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61572 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61573 (VALIDX): Likewise.
61574 (ADDRIDX): Likewise.
61575
61576 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
61577
61578 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61579
61580 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
61581
61582 [BZ #11438]
61583 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61584 to global scope.
61585 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61586 addresses are in the same scope as 192.0.2/24.
61587 * posix/gai.conf: Document new scope table defaults.
61588
61589 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61590
61591 [BZ #5298]
61592 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61593 for ftell. Compute offsets from write pointers instead.
61594 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61595
61596 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61597
61598 [BZ #14543]
61599 * libio/Makefile (tests): New test case tst-fseek.
61600 * libio/tst-fseek.c: New test case to verify that fseek/ftell
61601 combination works in wide mode.
61602 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61603 state when the external buffer state changes.
61604
61605 2012-09-27 David S. Miller <davem@davemloft.net>
61606
61607 [BZ #14376]
61608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61609 pass reloc->r_addend in as the 'high' argument to
61610 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61611
61612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61613
61614 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
61615
61616 * rt/tst-aio2.c: Include <pthread.h>.
61617 * rt/tst-aio3.c: Likewise.
61618
61619 2012-09-27 Steve Ellcey <sellcey@mips.com>
61620
61621 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61622
61623 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
61624
61625 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61626 contents on [SHARED].
61627
61628 2012-09-26 Marek Polacek <polacek@redhat.com>
61629
61630 [BZ #14530]
61631 [BZ #13741]
61632 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61633 for C++ and GCC <4.3 as well as for non GCC compilers.
61634
61635 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
61636
61637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61638
61639 2012-09-25 Roland McGrath <roland@hack.frob.com>
61640
61641 * Makefile.in (all, install): Declare with .PHONY.
61642 Reported by Michael Hope <michael.hope@linaro.org>.
61643
61644 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61645
61646 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61647 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61648 system header.
61649 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61650 Likewise.
61651 (sydep_routines): Add the new and the internal functions.
61652 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61653 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61655 (GLIBC_2.17): Add the new function.
61656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61657 (GLIBC_2.17): Likewise.
61658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61659 (GLIBC_2.17): Likewise.
61660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61661 (GLIBC_2.17): Likewise.
61662 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61663
61664 2012-09-25 Alan Modra <amodra@gmail.com>
61665
61666 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61667 Add release barrier before setting once_control to say
61668 initialisation is done. Add hints on lwarx. Use macro in
61669 place of isync.
61670 (clear_once_control): Add release barrier.
61671
61672 2012-09-25 Joseph Myers <joseph@codesourcery.com>
61673
61674 [BZ #13629]
61675 * math/s_clog.c (__clog): Handle more values close to |z| = 1
61676 specially.
61677 * math/s_clog10.c (__clog10): Likewise.
61678 * math/s_clog10f.c (__clog10f): Likewise.
61679 * math/s_clog10l.c (__clog10l): Likewise.
61680 * math/s_clogf.c (__clogf): Likewise.
61681 * math/s_clogl.c (__clogl): Likewise.
61682 * math/Makefile (libm-calls): Add x2y2m1.
61683 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61684 (__x2y2m1): Likewise.
61685 (__x2y2m1l): Likewise.
61686 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61687 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61688 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61689 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61690 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61691 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61692 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61693 * sysdeps/i386/fpu/libm-test-ulps: Update.
61694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61695
61696 [BZ #14621]
61697 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61698 int as type of variable DEPTH.
61699 (glob): Use size_t instead of int as type of variables NEWCOUNT
61700 and OLD_PATHC.
61701
61702 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61703
61704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61705 Add s_sincosf-sse2.
61706 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61707 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61708 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61709 macros for using routine as __sincosf_ia32.
61710 Use macro for function declaration and weak_alias.
61711 * sysdeps/i386/fpu/libm-test-ulps: Update.
61712
61713 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61715
61716 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61717 subnormal argument.
61718 * math/s_cexpf.c (__cexpf): Likewise.
61719 * math/s_csinf.c (__csinf): Likewise.
61720 * math/s_csinhf.c (__csinhf): Likewise.
61721 * math/s_ctanf.c (__ctanf): Likewise.
61722 * math/s_ctanhf.c (__ctanhf): Likewise.
61723 * math/s_ccosh.c (__ccoshf): Likewise.
61724 * math/s_cexp.c (__cexpl): Likewise.
61725 * math/s_csin.c (__csin): Likewise.
61726 * math/s_csinh.c (__csinh): Likewise.
61727 * math/s_ctan.c (__ctan): Likewise.
61728 * math/s_ctanh.c (ctanh): Likewise.
61729 * math/s_ccoshl.c (__ccoshl): Likewise.
61730 * math/s_cexpl.c (__cexpl): Likewise.
61731 * math/s_csinl.c (__csinl): Likewise.
61732 * math/s_csinhl.c (__csinhl): Likewise.
61733 * math/s_ctanl.c (__ctanl): Likewise.
61734 * math/s_ctanhl.c (__ctanhl): Likewise.
61735
61736 2012-09-25 Joseph Myers <joseph@codesourcery.com>
61737
61738 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61739 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61740 (_IO_off_t): Define to __off_t, not _G_off_t.
61741 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61742 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61743 (_IO_wint_t): Define to wint_t, not _G_wint_t.
61744 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61745 type of __dummy and __dummy2 fields.
61746 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61747 (_G_ssize_t): Likewise.
61748 (_G_off_t): Likewise.
61749 (_G_pid_t): Likewise.
61750 (_G_uid_t): Likewise.
61751 (_G_wchar_t): Likewise.
61752 (_G_wint_t): Likewise.
61753 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61754 (_G_ssize_t): Likewise.
61755 (_G_off_t): Likewise.
61756 (_G_pid_t): Likewise.
61757 (_G_uid_t): Likewise.
61758 (_G_wchar_t): Likewise.
61759 (_G_wint_t): Likewise.
61760 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61761 (_G_ssize_t): Likewise.
61762 (_G_off_t): Likewise.
61763 (_G_pid_t): Likewise.
61764 (_G_uid_t): Likewise.
61765 (_G_wchar_t): Likewise.
61766 (_G_wint_t): Likewise.
61767
61768 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61769
61770 * malloc/arena.c: Include malloc-sysdep.h.
61771 (shrink_heap): Use check_may_shrink_heap to decide if madvise
61772 is sufficient to shrink the heap or an unmap is needed.
61773 * sysdeps/generic/malloc-sysdep.h: New file. Define
61774 new function check_may_shrink_heap.
61775 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
61776 new function check_may_shrink_heap.
61777
61778 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61779
61780 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61781 comments.
61782
61783 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
61784
61785 * catgets/test-gencat.sh: Add "set -e".
61786 * elf/tst-pathopt.sh: Likewise.
61787 * grp/tst_fgetgrent.sh: Likewise.
61788 * iconvdata/run-iconv-test.sh: Likewise.
61789 * intl/tst-gettext.sh: Likewise.
61790 * intl/tst-gettext2.sh: Likewise.
61791 * intl/tst-gettext4.sh: Likewise.
61792 * intl/tst-gettext6.sh: Likewise.
61793 * intl/tst-translit.sh: Likewise.
61794 * io/ftwtest-sh: Likewise.
61795 * libio/test-freopen.sh: Likewise.
61796 * malloc/tst-mtrace.sh: Likewise.
61797 * posix/globtest.sh: Likewise.
61798 * posix/tst-getconf.sh: Likewise.
61799 * posix/wordexp-tst.sh: Likewise.
61800 * stdio-common/tst-printf.sh: Likewise.
61801 * stdio-common/tst-unbputc.sh: Likewise.
61802 * stdlib/tst-fmtmsg.sh: Likewise.
61803 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61804 * catgets/Makefile: Do not specify -e option when running
61805 testsuite shell scripts.
61806 * elf/Makefile: Likewise.
61807 * grp/Makefile: Likewise.
61808 * iconvdata/Makefile: Likewise.
61809 * intl/Makefile: Likewise.
61810 * io/Makefile: Likewise.
61811 * libio/Makefile: Likewise.
61812 * malloc/Makefile: Likewise.
61813 * posix/Makefile: Likewise.
61814 * stdio-common/Makefile: Likewise.
61815 * stdlib/Makefile: Likewise.
61816 * sysdeps/x86_64/Makefile: Likewise.
61817
61818 * io/ftwtest-sh: Add copyright header.
61819 * posix/globtest.sh: Likewise.
61820 * posix/tst-getconf.sh: Likewise.
61821 * posix/wordexp-tst.sh: Likewise.
61822 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61823
61824 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
61825
61826 [BZ #13679]
61827 * Makeconfig (+link): Defined as $(+link-static) if
61828 $(build-shared) isn't yes.
61829 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61830 isn't yes.
61831 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61832
61833 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61834
61835 [BZ #14562]
61836 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61837 new chunk size with MALLOC_ALIGN_MASK.
61838
61839 2012-09-24 Joseph Myers <joseph@codesourcery.com>
61840
61841 [BZ #5044]
61842 * stdio-common/printf_fphex.c: Include <stdbool.h> and
61843 <rounding-mode.h>.
61844 (__printf_fphex): Determine rounding using get_rounding_mode and
61845 round_away.
61846 * stdio-common/tst-printf-round.c (struct hex_test): New
61847 structure.
61848 (hex_tests): New variable.
61849 (test_hex_in_one_mode): New function.
61850 (do_test): Also run tests for hex float output.
61851
61852 2012-09-21 Joseph Myers <joseph@codesourcery.com>
61853
61854 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61856 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61857 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61858 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61859 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61860 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61861 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61862
61863 2012-09-20 Joseph Myers <joseph@codesourcery.com>
61864
61865 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61866 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61867 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61868 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61869
61870 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
61871
61872 [BZ #14579]
61873 * elf/rtld.c (dl_main): Limit the check for self loading to normal
61874 mode only.
61875 * elf/tst-rtld-load-self.sh: New test.
61876 * elf/Makefile: Run it.
61877
61878 2012-09-18 Joseph Myers <joseph@codesourcery.com>
61879
61880 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61881 (tst-writev-ENV): Remove.
61882 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61883
61884 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
61885
61886 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61887
61888 2012-09-17 Joseph Myers <joseph@codesourcery.com>
61889
61890 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61891 unconditional.
61892 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61893 Likewise.
61894 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61895 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61896 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61897 Likewise.
61898
61899 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
61900
61901 [BZ #14587]
61902 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61903 * config.make.in (have-cpp-asm-debuginfo): Removed.
61904 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61905 * configure: Regenerated.
61906
61907 2012-09-14 Joseph Myers <joseph@codesourcery.com>
61908
61909 [BZ #5044]
61910 * stdio-common/printf_fp.c: Include <stdbool.h> and
61911 <rounding-mode.h>.
61912 (___printf_fp): Determine rounding using get_rounding_mode and
61913 round_away.
61914 * stdio-common/tst-printf-round.c: New file.
61915 * stdio-common/Makefile (tests): Add tst-printf-round.
61916 (link-libm): New variable.
61917 ($(objpfx)tst-printf-round): Depend in $(link-libm).
61918
61919 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
61920
61921 [BZ #14576]
61922 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61923 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61924 Likewise.
61925 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61926 Likewise.
61927
61928 2012-09-13 Joseph Myers <joseph@codesourcery.com>
61929
61930 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61931 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61932 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61933 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61934
61935 2012-09-12 Joseph Myers <joseph@codesourcery.com>
61936
61937 [BZ #14518]
61938 * include/rounding-mode.h: New file.
61939 * sysdeps/generic/get-rounding-mode.h: Likewise.
61940 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61941 * stdlib/strtod_l.c: Include <rounding-mode.h>.
61942 (MAX_VALUE): New macro.
61943 (MIN_VALUE): Likewise.
61944 (overflow_value): New function.
61945 (underflow_value): Likewise.
61946 (round_and_return): Use overflow_value and underflow_value to
61947 determine return values in overflow and underflow cases. Use
61948 round_away to determine rounding depending on rounding mode.
61949 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61950 determine return values in overflow and underflow cases.
61951 * stdlib/tst-strtod-round.c: Include <fenv.h>.
61952 (struct test_results): New structure.
61953 (struct test): Use struct test_results to store expected results
61954 for all rounding modes.
61955 (TEST): Include expected results for all rounding modes.
61956 (test_in_one_mode): New function.
61957 (do_test): Use test_in_one_mode to compute and check results.
61958 Check results for all rounding modes.
61959 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61960 $(link-libm).
61961
61962 2012-12-09 Allan McRae <allan@archlinux.org>
61963
61964 * sysdeps/i386/fpu/libm-test-ulps: Update
61965
61966 2012-09-11 Joseph Myers <joseph@codesourcery.com>
61967
61968 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61969 (_G_int32_t): Likewise.
61970 (_G_uint16_t): Likewise.
61971 (_G_uint32_t): Likewise.
61972 (_G_HAVE_BOOL): Likewise.
61973 (_G_HAVE_ATEXIT): Likewise.
61974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61975 (_G_HAVE_IO_FILE_OPEN): Likewise.
61976 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61977 (_G_int32_t): Likewise.
61978 (_G_uint16_t): Likewise.
61979 (_G_uint32_t): Likewise.
61980 (_G_HAVE_BOOL): Likewise.
61981 (_G_HAVE_ATEXIT): Likewise.
61982 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61983 (_G_HAVE_IO_FILE_OPEN): Likewise.
61984 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61985 (_G_int32_t): Likewise.
61986 (_G_uint16_t): Likewise.
61987 (_G_uint32_t): Likewise.
61988 (_G_HAVE_BOOL): Likewise.
61989 (_G_HAVE_ATEXIT): Likewise.
61990 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61991 (_G_HAVE_IO_FILE_OPEN): Likewise.
61992
61993 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
61994
61995 * csu/libc-tls.c: Update copyright years.
61996
61997 2012-09-10 Joseph Myers <joseph@codesourcery.com>
61998
61999 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62000 [!_G_USING_THUNKS]: Remove conditional code.
62001 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62002 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62003
62004 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62005 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62006 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62007 (_G_VTABLE_LABEL_PREFIX): Likewise.
62008 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62009 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62011 (_G_VTABLE_LABEL_PREFIX): Likewise.
62012 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62013 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62014 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62015 (_G_VTABLE_LABEL_PREFIX): Likewise.
62016 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62017
62018 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
62019
62020 * libio/Makefile: Include ../Makeconfig before tests.
62021 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62022 only if $(build-shared) is yes.
62023
62024 * iconv/gconv_db.c: Update copyright years.
62025
62026 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62027
62028 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62029 unwind info if defined PIC. Fix special cases description.
62030 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62031
62032 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62033 DP_HI_MASK entry.
62034 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62035
62036 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
62037
62038 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62039
62040 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62041 is NULL.
62042
62043 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62044 (LDLIBS-tst-chk4): This.
62045 (LDFLAGS-tst-chk5): Renamed to ...
62046 (LDLIBS-tst-chk5): This.
62047 (LDFLAGS-tst-chk6): Renamed to ...
62048 (LDLIBS-tst-chk6): This.
62049 (LDFLAGS-tst-lfschk4): Renamed to ...
62050 (LDLIBS-tst-lfschk4): This.
62051 (LDFLAGS-tst-lfschk5): Renamed to ...
62052 (LDLIBS-tst-lfschk5): This.
62053 (LDFLAGS-tst-lfschk6): Renamed to ...
62054 (LDLIBS-tst-lfschk6): This.
62055
62056 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62057 on $(common-objpfx)soversions.mk.
62058
62059 2012-09-07 Joseph Myers <joseph@codesourcery.com>
62060
62061 [BZ #10014]
62062 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62063 example host name.
62064
62065 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
62066
62067 * malloc/arena.c (arena_get_retry): New function that gets
62068 another arena for the caller to try its request on.
62069 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62070 current arena cannot fulfill the request.
62071 (__libc_memalign): Likewise.
62072 (__libc_memalign): Likewise.
62073 (__libc_pvalloc): Likewise.
62074 (__libc_calloc): Likewise.
62075
62076 2012-09-05 John Tobey <john.tobey@gmail.com>
62077
62078 [BZ #13542]
62079 * manual/arith.texi (Operations on Complex): Fix description
62080 of carg branch cut.
62081
62082 2012-09-06 Joseph Myers <joseph@codesourcery.com>
62083
62084 [BZ #10014]
62085 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62086 host name.
62087
62088 [BZ #10038]
62089 * manual/memory.texi (Memory): Make order of menu items match
62090 order of sections.
62091
62092 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
62093
62094 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62095 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
62096 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62097
62098 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
62099
62100 * csu/libc-tls.c (static_dtv): Renamed to ...
62101 (_dl_static_dtv): This. Make it global.
62102 (_dl_initial_dtv): Removed.
62103 (__libc_setup_tls): Updated.
62104 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62105 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62106 DL_INITIAL_DTV.
62107
62108 2012-09-06 Petr Machata <pmachata@redhat.com>
62109
62110 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62111 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62112 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62113 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62114
62115 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
62116
62117 [BZ #14545]
62118 * csu/libc-tls.c (_dl_initial_dtv): New variable.
62119 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62120 freeing dtv[-1].
62121
62122 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
62123
62124 [BZ #14544]
62125 * Makeconfig (link-static-before-libc): Replace $(+prector)
62126 with $(+prectorT).
62127 (link-static-after-libc): Replace $(+postctor) with
62128 $(+postctorT).
62129 (link-bounded): Replace $(+prector)/$(+postctor) with
62130 $(+prectorT)/$(+postctorT).
62131 (+prectorT): New macro.
62132 (+postctorT): Likewise.
62133
62134 2012-09-06 Joseph Myers <joseph@codesourcery.com>
62135
62136 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62137 (round_str): Handle values above the maximum for IBM long double
62138 as inexact.
62139 * stdlib/tst-strtod-round.c (tests): Regenerated.
62140
62141 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62142
62143 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62144 assembler flag.
62145 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62146 zarch_nohighgprs around the zarch optimized routines.
62147 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62148 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62150 for zarch.
62151
62152 2012-09-05 David S. Miller <davem@davemloft.net>
62153
62154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62155
62156 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62157 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62158 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62159 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62160 entries.
62161
62162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
62163
62164 * malloc/arena.c: Fold copyright years.
62165 * malloc/mcheck.c, malloc/memusage.c: Likewise.
62166
62167 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
62168
62169 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62170
62171 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
62172
62173 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
62174
62175 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
62176
62177 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62178 change internal state upon failure.
62179
62180 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
62181
62182 * malloc/mcheck.c (mcheck_check_all): Fix typo.
62183 * malloc/memusage.c (mmap): Likewise.
62184 (mmap64, mremap): Likewise. Adjust name in comment.
62185
62186 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
62187
62188 * libio/fileops.c: Fix typos in comments.
62189 * libio/oldfileops.c: Likewise.
62190 * libio/wfileops.c: Likewise.
62191
62192 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
62193
62194 [BZ #1349]
62195 * malloc/Makefile (tests): Add tst-malloc-usable test case.
62196 (tst-malloc-usable-ENV): Set environment for test case.
62197 * malloc/hooks.c (malloc_check_get_size): New function to get
62198 requested size.
62199 * malloc/malloc.c (musable): Use malloc_check_get_size.
62200 * malloc/tst-malloc-usable.c: New test case.
62201
62202 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
62203
62204 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62205
62206 2012-09-05 Allan McRae <allan@archlinux.org>
62207
62208 [BZ #13966]
62209 * configure.in (CXX_SYSINCLUDES): Use compiler output to
62210 determine header location.
62211 * configure: Regenerated.
62212
62213 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
62214
62215 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62216 float format.
62217 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62218 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62219 format.
62220 (test): Regenerate.
62221
62222 2012-09-04 David S. Miller <davem@davemloft.net>
62223
62224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62227
62228 2012-09-04 Florian Weimer <fweimer@redhat.com>
62229
62230 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62231 failures.
62232
62233 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62234
62235 2012-09-04 Joseph Myers <joseph@codesourcery.com>
62236
62237 [BZ #9914]
62238 * libio/iogetdelim.c: Include <limits.h>.
62239 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62240 + len + 1 would overflow.
62241
62242 2012-09-03 Andreas Jaeger <aj@suse.de>
62243
62244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62245 * sysdeps/i386/fpu/libm-test-ulps: Update.
62246
62247 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62248
62249 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62250 Add s_sinf-sse2, s_conf-sse2.
62251
62252 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62254 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62255 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62256
62257 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62258 for using routine as __sinf_ia32.
62259 Use macro for function declaration and weak_alias.
62260 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62261 for using routine as __cosf_ia32.
62262 Use macro for function declaration and weak_alias.
62263
62264 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62265 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62266
62267 * sysdeps/x86_64/fpu/s_sinf.S: New file.
62268 * sysdeps/x86_64/fpu/s_cosf.S: New file.
62269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62270
62271 * math/libm-test.inc (cos_test): Add more test cases.
62272 (sin_test): Likewise.
62273 (sincos_test): Likewise.
62274
62275 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62276
62277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62278 (IFUNC_RESOLVE): Make pointers to the specialized implementations
62279 hidden.
62280 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62281
62282 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
62283
62284 [BZ #14538]
62285 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62286 first element of the GOT.
62287 (elf_machine_load_address): Return the difference between
62288 the runtime address of _DYNAMIC and elf_machine_dynamic ().
62289
62290 2012-09-01 Allan McRae <allan@archlinux.org>
62291
62292 [BZ #13412]
62293 * configure.in (AWK): Require gawk version 3.0 or later.
62294 * configure: Regenerated.
62295
62296 2012-09-01 Joseph Myers <joseph@codesourcery.com>
62297
62298 * sysdeps/unix/sysv/linux/kernel-features.h
62299 (__ASSUME_POSIX_CPU_TIMERS): Remove.
62300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62301 [__NR_clock_getres]: Make code unconditional.
62302 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62303 (clock_getcpuclockid): Remove code left unreachable by removal of
62304 conditionals.
62305 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62306 code unconditional.
62307 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62308 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62309 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62310 Make code unconditional.
62311 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62312 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62313 * sysdeps/unix/sysv/linux/clock_settime.c
62314 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62315 conditional code.
62316 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62317 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62318
62319 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
62320
62321 [BZ #14476]
62322 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62323 scripts/test-installation.pl.
62324
62325 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62326 and $ld_so_version if it is set.
62327
62328 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62329
62330 [BZ #14516]
62331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62332 failure if reading from procfs failed.
62333 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62334
62335 2012-08-27 Joseph Myers <joseph@codesourcery.com>
62336
62337 * sysdeps/unix/sysv/linux/kernel-features.h
62338 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62339 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62340 Remove conditional code.
62341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62342 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62343 Remove conditional code.
62344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62345 * sysdeps/unix/sysv/linux/i386/fxstat.c
62346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62348 * sysdeps/unix/sysv/linux/i386/fxstatat.c
62349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62351 * sysdeps/unix/sysv/linux/i386/lxstat.c
62352 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62354 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62355 Remove conditional code.
62356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62357 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62358 Remove conditional code.
62359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62360 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62361 <kernel-features.h>.
62362 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62363 Remove.
62364 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62365 Remove conditional code.
62366 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62367 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62368 Remove conditional.
62369
62370 2012-08-27 Mike Frysinger <vapier@gentoo.org>
62371
62372 [BZ #5400]
62373 * NEWS: Add fixed bug number.
62374
62375 2012-08-27 Joseph Myers <joseph@codesourcery.com>
62376
62377 [BZ #14519]
62378 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62379 underflowing exponent in case of negative sign.
62380 * stdlib/tst-strtod-round-data: Add more tests.
62381 * stdlib/tst-strtod-round.c (tests): Regenerated.
62382
62383 [BZ #3479]
62384 * stdlib/strtod_l.c (NDIG): Remove.
62385 (HEXNDIG): Likewise.
62386 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62387 smallest representable value.
62388 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62389 lie within an exact representation of 1/2 ulp of the result.
62390 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62391 unconditionally.
62392 (TENS_P9_IDX): Define unconditionally.
62393 (TENS_P9_SIZE): Likewise.
62394 (TENS_P10_IDX): Likewise.
62395 (TENS_P10_SIZE): Likewise.
62396 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62397 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62398 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62399 entries for 10^2^13 and 10^2^14.
62400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62401 (TENS_P13_IDX): Define.
62402 (TENS_P13_SIZE): Likewise.
62403 (TENS_P14_IDX): Likewise.
62404 (TENS_P14_SIZE): Likewise.
62405 (_fpioconst_pow10): Change array size to
62406 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
62407 unconditional.
62408 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62409 1024]: Add entries for 10^2^13 and 10^2^14.
62410 [LAST_POW10 > _LAST_POW10]: Remove #error.
62411 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62412 (_fpioconst_pow10): Change array size to
62413 FPIOCONST_POW10_ARRAY_SIZE.
62414 * stdlib/gen-fpioconst.c: New file.
62415 * stdlib/gen-tst-strtod-round.c: Likewise.
62416 * stdlib/tst-strtod-round-data: Likewise.
62417 * stdlib/tst-strtod-round.c: Likewise.
62418 * stdlib/Makefile (tests): Add tst-strtod-round.
62419
62420 [BZ #14459]
62421 * stdlib/strtod_l.c: Include <stdint.h>.
62422 (NDEBUG): Do not define.
62423 (round_and_return): Change EXPONENT parameter to type intmax_t.
62424 Rearrange calculations to avoid internal overflow possibilities.
62425 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62426 Rearrange calculations to avoid internal overflow possibilities.
62427 Assert that number fits inside MPNSIZE limbs.
62428 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62429 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
62430 calculations and add assertions to avoid internal overflow
62431 possibilities. Add casts to avoid signed/unsigned operations.
62432 * stdlib/tst-strtod-overflow.c: New file.
62433 * stdlib/Makefile (tests): Add tst-strtod-overflow.
62434
62435 2012-08-25 Marek Polacek <polacek@redhat.com>
62436
62437 * time/time.h: Fix some typos in comments.
62438
62439 2012-08-23 Roland McGrath <roland@hack.frob.com>
62440
62441 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62442 * posix/tst-rfc3484-2.c: Likewise.
62443 * posix/tst-rfc3484-3.c: Likewise.
62444
62445 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
62446
62447 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62448 (EF_ARM_ABI_FLOAT_HARD): Likewise.
62449
62450 2012-08-23 Joseph Myers <joseph@codesourcery.com>
62451
62452 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62453 #include of fxstatat64.c.
62454
62455 2012-08-22 Roland McGrath <roland@hack.frob.com>
62456
62457 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62458 * shadow/getspent_r.c: Likewise.
62459 * shadow/getspnam.c: Likewise.
62460 * shadow/getspnam_r.c: Likewise.
62461 * gshadow/getsgent.c: Likewise.
62462 * gshadow/getsgent_r.c: Likewise.
62463 * gshadow/getsgnam.c: Likewise.
62464 * gshadow/getsgnam_r.c: Likewise.
62465 * inet/getnetbyad.c: Likewise.
62466 * inet/getnetbyad_r.c: Likewise.
62467 * inet/getnetbynm.c: Likewise.
62468 * inet/getnetbynm_r.c: Likewise.
62469 * inet/getnetent.c: Likewise.
62470 * inet/getnetent_r.c: Likewise.
62471 * inet/getproto.c: Likewise.
62472 * inet/getproto_r.c: Likewise.
62473 * inet/getprtent.c: Likewise.
62474 * inet/getprtent_r.c: Likewise.
62475 * inet/getprtname.c: Likewise.
62476 * inet/getprtname_r.c: Likewise.
62477 * inet/getrpcbyname.c: Likewise.
62478 * inet/getrpcbyname_r.c: Likewise.
62479 * inet/getrpcbynumber.c: Likewise.
62480 * inet/getrpcbynumber_r.c: Likewise.
62481 * inet/getrpcent.c: Likewise.
62482 * inet/getrpcent_r.c: Likewise.
62483 * inet/getaliasent.c: Likewise.
62484 * inet/getaliasent_r.c: Likewise.
62485 * inet/getaliasname.c: Likewise.
62486 * inet/getaliasname_r.c: Likewise.
62487 * nscd/getgrgid_r.c: Likewise.
62488 * nscd/getgrnam_r.c: Likewise.
62489 * nscd/gethstbyad_r.c: Likewise.
62490 * nscd/gethstbynm3_r.c: Likewise.
62491 * nscd/getpwnam_r.c: Likewise.
62492 * nscd/getpwuid_r.c: Likewise.
62493 * nscd/getsrvbynm_r.c: Likewise.
62494 * nscd/getsrvbypt_r.c: Likewise.
62495 * nscd/gai.c: Likewise.
62496
62497 * configure.in (build_nscd): New substituted variable, set
62498 by --disable-build-nscd and defaults to $use_nscd.
62499 * configure: Regenerated.
62500 * config.make.in (build-nscd): New substituted variable.
62501 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62502 Change conditional to require [$(build-nscd) = yes] as well.
62503 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62504
62505 [BZ# 13696]
62506 * configure.in (use_nscd): New substituted variable, set by
62507 --disable-nscd. If enabled, define USE_NSCD.
62508 * configure: Regenerated.
62509 * config.h.in: Add USE_NSCD.
62510 * config.make.in (use-nscd): New substituted variable.
62511 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62512 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62513 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62514 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62515 (CFLAGS-getgrnam_r.c): Likewise.
62516 (CFLAGS-initgroups.c): Likewise.
62517 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62518 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62519 Variables removed.
62520 * inet/getnetgrent_r.c
62521 (nscd_setnetgrent): New function, broken out of ...
62522 (setnetgrent): ... here. Call it.
62523 (innetgr): Conditionalize nscd bits on [USE_NSCD].
62524 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62525 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62526 * nscd/Makefile (routines, aux): Move definitions after include of
62527 Makeconfig. Conditionalize on [$(use-nscd) != no].
62528 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62529 Conditionalize on [USE_NSCD].
62530 (is_nscd, nscd_init_cb): Likewise.
62531 (nss_load_library): Conditionalize init callback on [USE_NSCD].
62532 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62533 * nss/nss_db/db-init.c: Likewise.
62534 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62535 [USE_NSCD].
62536 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62537 (make_request): Use it.
62538 (cache_valid_p): New function.
62539 (__check_pf): Use it.
62540 * NEWS: Add item for --disable-nscd.
62541
62542 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
62543
62544 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62545 to support sed >= 4.2.1-20-ga9bf076.
62546 * configure: Regenerated.
62547
62548 2012-08-22 Roland McGrath <roland@hack.frob.com>
62549
62550 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62551 Conditionalize whole body on [IREL].
62552
62553 2012-08-22 Jeff Law <law@redhat.com>
62554
62555 [BZ #14505]
62556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62557 if the family is PF_UNSPEC.
62558
62559 2012-08-22 Mike Frysinger <vapier@gentoo.org>
62560
62561 * Makerules (lib-version): Rename from V.
62562 (install-lib-nosubdir): Change V to lib-version.
62563
62564 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
62565
62566 [BZ #14252]
62567 * powerpc32/power6/wcschr.c: New file.
62568 * powerpc32/power6/wcscpy.c: New file.
62569 * powerpc32/power6/wcsrchr.c: New file.
62570 * powerpc64/power6/wcschr.c: New file.
62571 * powerpc64/power6/wcscpy.c: New file.
62572 * powerpc64/power6/wcsrchr.c: New file.
62573
62574 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
62575
62576 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62577 (two_way_short_needle): Use it.
62578 * string/strstr.c (AVAILABLE1_USES_J): Define.
62579 * string/strcasestr.c: Likewise.
62580
62581 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62582 array references.
62583 * string/strcasestr.c (TOLOWER): Make side-effect safe.
62584
62585 [BZ #11607]
62586 * NEWS: Add an entry.
62587 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62588 define their defaults.
62589 (two_way_short_needle): Detect end-of-string on-the-fly.
62590 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62591 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62592 * string/bug-strcasestr1.c: New test.
62593 * string/Makefile: Run it.
62594
62595 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
62596
62597 [BZ #11607]
62598 * string/str-two-way.h (two_way_short_needle): Optimize matching of
62599 the first character.
62600
62601 2012-08-21 Roland McGrath <roland@hack.frob.com>
62602
62603 * csu/elf-init.c (__libc_csu_irel): Function removed.
62604 * csu/libc-start.c (apply_irel): New function.
62605 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62606
62607 2012-08-21 Joseph Myers <joseph@codesourcery.com>
62608
62609 * sysdeps/unix/sysv/linux/kernel-features.h
62610 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62611 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62612 <kernel-features.h>.
62613 [__NR_fadvise64_64]: Make code unconditional.
62614 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62615 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62616 !__NR_fadvise64_64)]: Likewise.
62617 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62618 !__NR_fadvise64_64))]: Likewise.
62619 [__NR_fadvise64]: Make code unconditional.
62620 [!__NR_fadvise64]: Remove conditional code.
62621 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62622 <kernel-features.h>.
62623 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62624 unconditional.
62625 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62626 conditional code.
62627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62628 not include <kernel-features.h>.
62629 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62630 unconditional.
62631 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62632 conditional code.
62633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62634 include <kernel-features.h>.
62635 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62636 unconditional.
62637 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62638 conditional code.
62639
62640 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
62641
62642 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62643 slight instruction rearrangements per scrollpipe analysis.
62644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62645
62646 2012-08-20 Roland McGrath <roland@hack.frob.com>
62647
62648 * manual/syslog.texi (syslog; vsyslog, closelog):
62649 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62650 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62651
62652 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62653 DSOCAPS to match condition on defining it.
62654
62655 2012-08-20 Joseph Myers <joseph@codesourcery.com>
62656
62657 * sysdeps/unix/sysv/linux/kernel-features.h
62658 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62666 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62667 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62668
62669 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62670 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62671
62672 * sysdeps/unix/sysv/linux/kernel-features.h
62673 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62674 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62675 unconditional.
62676 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62677 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62680 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62681 Make code unconditional.
62682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62683 (__mmap64) [!__NR_mmap2]: Likewise.
62684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62685 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62686 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62687 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62688 [__NR_mmap2]: Make code unconditional.
62689 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62690 (__mmap64) [!__NR_mmap2]: Likewise.
62691
62692 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62693
62694 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62695
62696 2012-08-18 Andreas Jaeger <aj@suse.de>
62697
62698 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62699
62700 2012-08-18 Mike Frysinger <vapier@gentoo.org>
62701
62702 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62703 * include/unistd.h (__have_sock_cloexec): Likewise.
62704 (__have_pipe2): Likewise.
62705 (__have_dup3): Likewise.
62706
62707 2012-08-18 Mike Frysinger <vapier@gentoo.org>
62708
62709 [BZ #9685]
62710 * include/unistd.h (__have_pipe2): Change define into an extern int.
62711 (__have_dup3): Likewise.
62712 * socket/have_sock_cloexec.c: Include fcntl.h.
62713 (__have_pipe2): New variable.
62714 (__have_dup3): Likewise.
62715
62716 2012-08-17 Mike Frysinger <vapier@gentoo.org>
62717
62718 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62719
62720 2012-08-17 Marek Polacek <polacek@redhat.com>
62721
62722 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62723 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62724
62725 2012-08-17 Roland McGrath <roland@hack.frob.com>
62726
62727 * configure.in: Add AC_SUBST for sysheaders.
62728 * configure: Regenerated.
62729 * config.make.in (sysheaders): New substituted variable.
62730
62731 * sysdeps/unix/mkfifo.c: Moved ...
62732 * sysdeps/posix/mkfifo.c: ... here.
62733 * sysdeps/unix/mkfifoat.c: Moved ...
62734 * sysdeps/posix/mkfifoat.c: ... here.
62735
62736 * sysdeps/unix/utime.c: Moved ...
62737 * sysdeps/posix/utime.c: ... here.
62738
62739 * sysdeps/unix/time.c: Moved ...
62740 * sysdeps/posix/time.c: ... here.
62741 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62742 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62743
62744 * sysdeps/unix/nice.c: Moved ...
62745 * sysdeps/posix/nice.c: ... here.
62746
62747 * sysdeps/unix/alarm.c: Moved ...
62748 * sysdeps/posix/alarm.c: ... here.
62749
62750 * intl/Makefile ($(codeset_mo)): Depend on the input file.
62751
62752 2012-08-17 Jeff Law <law@redhat.com>
62753
62754 * intl/Makefile (codeset_mo): New variable.
62755 ($(codeset_mo)): New target.
62756 (tst-codeset.out): Depend on that. Remove explicit rule.
62757 (tst-gettext3.out, tst-gettext5.out): Likewise.
62758 (LOCPATH-ENV, tst-codeset-ENV): New variables.
62759 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62760 * intl/tst-codeset.sh: Remove.
62761 * intl/tst-gettext3.sh: Likewise.
62762 * intl/tst-gettext5.sh: Likewise.
62763
62764 2012-08-17 Roland McGrath <roland@hack.frob.com>
62765
62766 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
62767 * sysdeps/unix/syscalls.list: ... here.
62768
62769 * sysdeps/posix/getaddrinfo.c
62770 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62771 (gaiconf_init, gaiconf_reload): Use them.
62772 [!_STATBUF_ST_NSEC]
62773 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62774 Define using time_t rather than struct timespec.
62775
62776 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62777 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62778 Macros removed.
62779 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62780 [!NO_THREADS].
62781 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62782 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62783 Likewise.
62784
62785 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62786 __libc_cleanup_push argument.
62787
62788 * bits/param.h: New file.
62789 * misc/sys/param.h: New file.
62790 * include/sys/param.h: New file.
62791 * misc/Makefile (headers): Add bits/param.h.
62792 * sysdeps/generic/sys/param.h: File removed.
62793 * sysdeps/unix/sysv/linux/bits/param.h: New file.
62794 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62795 * sysdeps/mach/hurd/bits/param.h: New file.
62796 * sysdeps/mach/hurd/sys/param.h: File removed.
62797
62798 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62799 last change.
62800
62801 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62802 [_IO_MTSAFE_IO].
62803 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62804 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62805 New macros.
62806
62807 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62808 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62809 rather than -D_IO_MTSAFE_IO conditionally.
62810 * stdio-common/Makefile (CPPFLAGS): Likewise.
62811 * wcsmbs/Makefile (CPPFLAGS): Likewise.
62812 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62813 Use $(libio-mtsafe).
62814 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62815 of -D_IO_MTSAFE_IO.
62816 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62817 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62818 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62819 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62820 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62821 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62822 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62823 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62824 (CFLAGS-fread_u_chk.c): Likewise.
62825 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62826 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62827 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62828 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62829 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62830 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62831 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62832 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62833 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62834
62835 * libio/Makefile: Test [$(libc-reentrant) = yes]
62836 instead of [$(filter %REENTRANT, $(defines)) nonempty].
62837
62838 * Makeconfig
62839 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62840 * sysdeps/pthread/configure: File removed.
62841 * sysdeps/pthread/Makeconfig: New file.
62842 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62843 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62844
62845 2012-08-16 Gary Benson <gbenson@redhat.com>
62846
62847 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62848 unmapping the first object in a namespace.
62849
62850 2012-08-16 Roland McGrath <roland@hack.frob.com>
62851
62852 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62853 (__internal_setnetgrent): ... this. Add internal_function to
62854 definition. Add libc_hidden_def.
62855 (setnetgrent): Update caller.
62856 (internal_endnetgrent): Renamed to ...
62857 (__internal_endnetgrent): ... this. Add internal_function to
62858 definition. Add libc_hidden_def.
62859 (endnetgrent): Update caller.
62860 (internal_getnetgrent_r): Renamed to ...
62861 (__internal_getnetgrent_r): ... this. Add internal_function to
62862 definition. Add libc_hidden_def.
62863 (__getnetgrent_r): Update caller.
62864 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
62865
62866 2012-08-16 Joseph Myers <joseph@codesourcery.com>
62867
62868 * stdlib/longlong.h: Update from GCC.
62869
62870 2012-08-16 Roland McGrath <roland@hack.frob.com>
62871
62872 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62873 on _QL, which is set by umul_ppmm but never used.
62874 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62875 variables, which are set by GMP macros but never used.
62876 * stdio-common/_itowa.c (_itowa): Likewise.
62877 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62878 * stdlib/mod_1.c (mpn_mod_1): Likewise.
62879
62880 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
62881
62882 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62883 struct La_sh_regs is not constant.
62884 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62885 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62886 and struct La_sparc64_regs are not constant.
62887
62888 2012-08-16 Joseph Myers <joseph@codesourcery.com>
62889
62890 * sysdeps/unix/sysv/linux/kernel-features.h
62891 (__ASSUME_POSIX_TIMERS): Remove.
62892 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62894 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62895 Make code unconditional.
62896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62897 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62898 Make code unconditional.
62899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62900 * sysdeps/unix/sysv/linux/clock_nanosleep.c
62901 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62903 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62904 Make code unconditional.
62905 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62906 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62907 (__libc_missing_posix_timers): Remove.
62908
62909 2012-08-15 Roland McGrath <roland@hack.frob.com>
62910
62911 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62912 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62913
62914 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62915
62916 * elf/dl-sym.c: Include <stdlib.h>.
62917
62918 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62919 constants, which avoids warnings in 32-bit builds.
62920
62921 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62922 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62923
62924 * misc/lseek.c: File moved to ...
62925 * io/lseek.c: ... here.
62926
62927 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62928
62929 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62930 shifting LEN more than 31 bits at once.
62931
62932 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62933
62934 [BZ #14195]
62935 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62936 segmentation fault for a case of two empty input strings.
62937 * string/test-strncasecmp.c (check1): Renamed to...
62938 (bz12205): ...this.
62939 (bz14195): Add new testcase for two empty input strings and N > 0.
62940 (test_main): Call new testcase, adapt for renamed function.
62941
62942 2012-08-15 Andreas Jaeger <aj@suse.de>
62943
62944 [BZ #14090]
62945 * crypt/md5test2.c: New test, based on test supplied by Serge
62946 Belyshev <belyshev@depni.sinp.msu.ru>.
62947 * crypt/Makefile (xtests): Add md5test-giant..
62948 * crypt/Makefile ($(objpfx)md5test-giant): Add.
62949
62950 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
62951
62952 [BZ #14090]
62953 * crypt/md5.c (md5_process_block): Don't assume the buffer
62954 length is less than 2**32.
62955 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62956 length is less than 2**64.
62957
62958 2012-08-15 Roland McGrath <roland@hack.frob.com>
62959
62960 * string/str-two-way.h: Include <sys/param.h>.
62961 (MAX): Macro removed.
62962
62963 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62964 Move #define and #undef of memmove to just before and after
62965 including <string.h>.
62966
62967 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62968 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62969 and after including <string.h>. Move declarations of
62970 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62971 to before #include "string/memmove.c".
62972
62973 * include/dirent.h: Declare __getdirentries.
62974
62975 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62976 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62977
62978 2012-08-14 Mike Frysinger <vapier@gentoo.org>
62979
62980 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62981 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62982 * sysdeps/i386/configure: Regenerated.
62983 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62984 STABS_CURRENT_FILE, and STABS_FUN.
62985 (END): Remove call to STABS_FUN_END.
62986 (STABS_CURRENT_FILE1): Delete.
62987 (STABS_CURRENT_FILE): Likewise.
62988 (STABS_FUN): Likewise.
62989 (STABS_FUN_END): Likewise.
62990 (STABS_FUN2): Likewise.
62991 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62992 * sysdeps/x86_64/configure: Regenerated.
62993
62994 2012-08-14 Roland McGrath <roland@hack.frob.com>
62995
62996 * elf/dl-open.c: Include <atomic.h>.
62997 * elf/dl-lookup.c: Likewise.
62998
62999 2012-08-14 Joseph Myers <joseph@codesourcery.com>
63000
63001 * sysdeps/unix/sysv/linux/kernel-features.h
63002 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63003 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63004 unconditionally.
63005 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63006 unconditionally.
63007 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63008 condition on __ASSUME_CLONE_THREAD_FLAGS.
63009
63010 2012-08-14 Andreas Jaeger <aj@suse.de>
63011
63012 * sysdeps/i386/fpu/libm-test-ulps: Update.
63013
63014 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
63015
63016 * include/atomic.h (atomic_exchange_and_add): Split into ...
63017 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63018 New atomic macros.
63019
63020 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
63021
63022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63023
63024 2012-08-13 Jeff Law <law@redhat.com>
63025
63026 * manual/stdio.texi (snprintf): Clarify handling of the trailing
63027 null byte in the output string.
63028
63029 2012-08-10 Joseph Myers <joseph@codesourcery.com>
63030
63031 * sysdeps/unix/sysv/linux/kernel-features.h
63032 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63033 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63034 (__ASSUME_ARG_MAX_STACK_BASED): Define.
63035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63036 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63037 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
63038 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63039
63040 2012-08-09 Jeff Law <law@redhat.com>
63041
63042 [BZ #13939]
63043 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63044 When avoid_arena is set, don't retry in the that arena. Pick the
63045 next one, whatever it might be.
63046 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63047 (arena_lock): Pass in new parameter to arena_get2.
63048 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63049 arena_get2.
63050 (__libc_malloc): Unify retrying after main arena failure with
63051 __libc_memalign version.
63052 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63053
63054 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
63055
63056 [BZ #14166]
63057 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63058 to __redirect_strstr.
63059 (__strstr_sse42): Use typeof __redirect_strstr.
63060 (__strstr_ia32): Likewise.
63061 (__libc_strstr): New prototype.
63062 (strstr): Renamed to ...
63063 (__libc_strstr): This.
63064 (strstr): New strong alias of __libc_strstr.
63065 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63066 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63067 __redirect_time.
63068 Include <time.h>.
63069 (__libc_time): New prototype.
63070 (time_ifunc): Replace time with __libc_time.
63071 (time): New strong alias and hidden definition of __libc_time.
63072 (__GI_time): Remove strong alias.
63073 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63074 Include <stddef.h>.
63075 (memmove): Redefined to __redirect_memmove.
63076 (__memmove_sse2): Use typeof __redirect_memmove.
63077 (__memmove_ssse3): Likewise.
63078 (__memmove_ssse3_back): Likewise.
63079 (__libc_memmove): New prototype.
63080 (memmove): Renamed to ...
63081 (__libc_memmove): This.
63082 (memmove): New strong alias of __libc_memmove.
63083
63084 2012-08-08 Mark Salter <msalter@redhat.com>
63085
63086 * elf/elf.h
63087 (R_MN10300_TLS_GD): Define.
63088 (R_MN10300_TLS_LD): Likewise.
63089 (R_MN10300_TLS_LDO): Likewise.
63090 (R_MN10300_TLS_GOTIE): Likewise.
63091 (R_MN10300_TLS_IE): Likewise.
63092 (R_MN10300_TLS_LE): Likewise.
63093 (R_MN10300_TLS_DTPMOD): Likewise.
63094 (R_MN10300_TLS_DTPOFF): Likewise.
63095 (R_MN10300_TLS_TPOFF): Likewise.
63096 (R_MN10300_SYM_DIFF): Likewise.
63097 (R_MN10300_ALIGN): Likewise.
63098 (R_MN10300_NUM): Update.
63099
63100 2012-08-08 Joseph Myers <joseph@codesourcery.com>
63101
63102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63103 Remove.
63104
63105 2012-08-08 Roland McGrath <roland@hack.frob.com>
63106
63107 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63108
63109 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63110 sysdeps/unix -> sysdeps/posix move.
63111 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63112
63113 2012-08-07 Allan McRae <allan@archlinux.org>
63114
63115 [BZ #14303]
63116 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63117 (SUNOS_CPP): Likewise.
63118 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63119 not found.
63120 (open_input): Call CPP using execvp.
63121
63122 2012-08-07 Joseph Myers <joseph@codesourcery.com>
63123
63124 * sysdeps/unix/sysv/linux/kernel-features.h
63125 (__ASSUME_PROT_GROWSUPDOWN): Remove.
63126 (__ASSUME_NO_CLONE_DETACHED): Likewise.
63127 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63128 (__ASSUME_WAITID_SYSCALL): Likewise.
63129 * sysdeps/unix/sysv/linux/dl-execstack.c
63130 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63131 code unconditional.
63132 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63133 conditional code.
63134 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63135 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63136 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63137 code.
63138 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63139 unconditional.
63140 [__ASSUME_WAITID_SYSCALL]: Likewise.
63141 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63142
63143 2012-08-07 Roland McGrath <roland@hack.frob.com>
63144
63145 * sysdeps/unix/closedir.c: Renamed to ...
63146 * sysdeps/posix/closedir.c: ... here.
63147 * sysdeps/unix/dirfd.c: Renamed to ...
63148 * sysdeps/posix/dirfd.c: ... here.
63149 * sysdeps/unix/dirstream.h: Renamed to ...
63150 * sysdeps/posix/dirstream.h: ... here.
63151 * sysdeps/unix/fdopendir.c: Renamed to ...
63152 * sysdeps/posix/fdopendir.c: ... here.
63153 * sysdeps/unix/opendir.c: Renamed to ...
63154 * sysdeps/posix/opendir.c: ... here.
63155 * sysdeps/unix/readdir.c: Renamed to ...
63156 * sysdeps/posix/readdir.c: ... here.
63157 * sysdeps/unix/readdir_r.c: Renamed to ...
63158 * sysdeps/posix/readdir_r.c: ... here.
63159 * sysdeps/unix/rewinddir.c: Renamed to ...
63160 * sysdeps/posix/rewinddir.c: ... here.
63161 * sysdeps/unix/seekdir.c: Renamed to ...
63162 * sysdeps/posix/seekdir.c: ... here.
63163 * sysdeps/unix/telldir.c: Renamed to ...
63164 * sysdeps/posix/telldir.c: ... here.
63165 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63166 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63167 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63168 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63169
63170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63171 * bits/fcntl.h: ... here.
63172
63173 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63174 not 0.
63175 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63176 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63177 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63178 (struct flock): Move l_start, l_len to the beginning.
63179 Use __pid_t for l_pid.
63180 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63181 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63182 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63183 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63184 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63185 [__USE_LARGEFILE64] (struct flock64): New type.
63186 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63187
63188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63189 * bits/dirent.h: ... here.
63190
63191 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63192 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63193
63194 2012-08-07 Joseph Myers <joseph@codesourcery.com>
63195
63196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63197 Change from 2.6.0 to 2.6.16.
63198 * sysdeps/unix/sysv/linux/configure: Regenerated.
63199 * sysdeps/unix/sysv/linux/kernel-features.h
63200 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63201 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63202 version.
63203 (__ASSUME_UTIMES): Likewise.
63204 (__ASSUME_CLONE_STOPPED): Remove.
63205 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63206 architectures, not kernel version.
63207 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63208 (__ASSUME_NO_CLONE_DETACHED): Likewise.
63209 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63210 (__ASSUME_WAITID_SYSCALL): Likewise.
63211 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63212 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63213 * README: State 2.6.16 as minimum Linux kernel version. Do not
63214 refer to older versions.
63215
63216 2012-08-06 Roland McGrath <roland@hack.frob.com>
63217
63218 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63219 Define alphasort64 as an alias.
63220 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63221 Define versionsort64 as an alias.
63222 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63223 Define scandir64 as an alias.
63224 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63225 Define scandirat64 as an alias.
63226 * dirent/alphasort64.c (alphasort64):
63227 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63228 * dirent/versionsort64.c: Likewise.
63229 * dirent/scandir64.c: Likewise.
63230 * dirent/scandirat64.c: Likewise.
63231 * sysdeps/wordsize-64/alphasort.c: File removed.
63232 * sysdeps/wordsize-64/alphasort64.c: File removed.
63233 * sysdeps/wordsize-64/scandir.c: File removed.
63234 * sysdeps/wordsize-64/scandir64.c: File removed.
63235 * sysdeps/wordsize-64/scandirat.c: File removed.
63236 * sysdeps/wordsize-64/scandirat64.c: File removed.
63237 * sysdeps/wordsize-64/versionsort.c: File removed.
63238 * sysdeps/wordsize-64/versionsort64.c: File removed.
63239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63240 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63242 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63244 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63245 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63247
63248 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63250 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63252 [defined __arch64__ || defined __sparcv9]
63253 (__INO_T_MATCHES_INO64_T): New macro.
63254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63255 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63256 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63257 * sysdeps/unix/sysv/linux/bits/dirent.h
63258 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63259 (_DIRENT_MATCHES_DIRENT64): New macro.
63260
63261 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63262 Define lockf64 as an alias.
63263 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63264 Define fseeko64 as an alias.
63265 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63266 Define ftello64 as an alias.
63267 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63268 Define _IO_fgetpos64 and fgetpos64 as aliases.
63269 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63270 Define _IO_fsetpos64 and fsetpos64 as aliases.
63271 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63272 Conditionalize body on this.
63273 * libio/fseeko64.c: Likewise.
63274 * libio/ftello64.c: Likewise.
63275 * libio/iofgetpos64.c: Likewise.
63276 * libio/iofsetpos64.c: Likewise.
63277 * sysdeps/wordsize-64/lockf.c: File removed.
63278 * sysdeps/wordsize-64/lockf64.c: File removed.
63279 * sysdeps/wordsize-64/fseeko.c: File removed.
63280 * sysdeps/wordsize-64/fseeko64.c: File removed.
63281 * sysdeps/wordsize-64/ftello.c: File removed.
63282 * sysdeps/wordsize-64/ftello64.c: File removed.
63283 * sysdeps/wordsize-64/iofgetpos.c: File removed.
63284 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63285 * sysdeps/wordsize-64/iofsetpos.c: File removed.
63286 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63287 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63293 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63294 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63296 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63297
63298 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63300 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63302 [defined __arch64__ || defined __sparcv9]
63303 (__OFF_T_MATCHES_OFF64_T): New macro.
63304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63305 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63307 (__OFF_T_MATCHES_OFF64_T): New macro.
63308
63309 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
63310
63311 * stdlib/secure-getenv.c (__secure_getenv): Replace
63312 GLIBC_2_16 with GLIBC_2_17.
63313
63314 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
63315
63316 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63317 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63318
63319 2012-08-03 David S. Miller <davem@davemloft.net>
63320
63321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63322
63323 2012-08-03 Joseph Myers <joseph@codesourcery.com>
63324
63325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63326 Remove.
63327 (__ASSUME_CORRECT_SI_PID): Likewise.
63328 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63329 (__ASSUME_TMPFS_NAME): Likewise.
63330 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63331 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63332 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63333 (HAVE_AUX_SECURE): Make definition unconditional.
63334 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63335 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63336
63337 2012-08-03 Roland McGrath <roland@hack.frob.com>
63338
63339 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63340 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63341 * sysdeps/mach/hurd/eloop-threshold.h: New file.
63342 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63343 __eloop_threshold instead of SYMLOOP_MAX.
63344
63345 * sysdeps/generic/eloop-threshold.h: New file.
63346 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63347 of MAXSYMLINKS.
63348 * elf/chroot_canon.c (chroot_canon): Likewise.
63349
63350 2012-08-03 Joseph Myers <joseph@codesourcery.com>
63351
63352 [BZ #13717]
63353 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63354 Change to 2.6.0 everywhere.
63355 * sysdeps/unix/sysv/linux/configure: Regenerated.
63356 * sysdeps/unix/sysv/linux/kernel-features.h
63357 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63358 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63359 kernel versions.
63360 (__ASSUME_POSIX_TIMERS): Define unconditionally.
63361 (__ASSUME_FUTEX_REQUEUE): Remove.
63362 (__ASSUME_STATFS64): Define unconditionally.
63363 (__ASSUME_AT_SECURE): Likewise.
63364 (__ASSUME_CORRECT_SI_PID): Likewise.
63365 (__ASSUME_TGKILL): Define without depending on kernel version for
63366 i386.
63367 (__ASSUME_UTIMES): Likewise.
63368 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63369 kernel version.
63370 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63371 (__ASSUME_TMPFS_NAME): Likewise.
63372 * README: Update reference to Linux kernel versions.
63373
63374 2012-08-02 Marek Polacek <polacek@redhat.com>
63375
63376 [BZ# 14150]
63377 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
63378 libc_cv_asm_type_prefix with %.
63379 * configure: Regenerated.
63380 * include/libc-symbols.h: Remove comment about
63381 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63382 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63383 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63384 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63385 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63386 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63387 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63388 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63389 * elf/tst-unique2mod1.c: Likewise.
63390 * elf/tst-unique1mod2.c: Likewise.
63391 * elf/tst-unique1mod1.c: Likewise.
63392 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63393 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63394 Replace ASM_TYPE_DIRECTIVE with .type.
63395 * sysdeps/s390/s390-64/sysdep.h: Likewise.
63396 * sysdeps/i386/sysdep.h: Likewise.
63397 * sysdeps/x86_64/sysdep.h: Likewise.
63398 * sysdeps/sh/sysdep.h: Likewise.
63399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63400 Do not define ASM_TYPE_DIRECTIVE.
63401 * sysdeps/powerpc/sysdep.h: Likewise.
63402 * sysdeps/powerpc/powerpc32/sysdep.h:
63403 Replace ASM_TYPE_DIRECTIVE with .type.
63404 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63405 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63406 * sysdeps/i386/fpu/e_powf.S: Likewise.
63407 * sysdeps/i386/fpu/e_expl.S: Likewise.
63408 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63409 * sysdeps/i386/fpu/e_acosh.S: Likewise.
63410 * sysdeps/i386/fpu/e_pow.S: Likewise.
63411 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63412 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63413 * sysdeps/i386/fpu/s_expm1.S: Likewise.
63414 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63415 * sysdeps/i386/fpu/e_log2.S: Likewise.
63416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
63417 * sysdeps/i386/fpu/e_scalb.S: Likewise.
63418 * sysdeps/i386/fpu/e_powl.S: Likewise.
63419 * sysdeps/i386/fpu/e_log10f.S: Likewise.
63420 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63421 * sysdeps/i386/fpu/e_logl.S: Likewise.
63422 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63423 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63424 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63425 * sysdeps/i386/fpu/e_log2f.S: Likewise.
63426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63427 * sysdeps/i386/fpu/e_log.S: Likewise.
63428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63429 * sysdeps/i386/fpu/e_logf.S: Likewise.
63430 * sysdeps/i386/fpu/e_log10l.S: Likewise.
63431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
63432 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63433 * sysdeps/i386/fpu/e_log10.S: Likewise.
63434 * sysdeps/i386/fpu/s_frexp.S: Likewise.
63435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63436 * sysdeps/i386/fpu/s_asinh.S: Likewise.
63437 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63438 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63439 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63440 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63441 * sysdeps/i386/i686/strtok.S: Likewise.
63442 * sysdeps/i386/i386-mcount.S: Likewise.
63443 * sysdeps/i386/strtok.S: Likewise.
63444 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63445 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63448 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63449 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63450 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63451 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63452 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63453 * sysdeps/x86_64/_mcount.S: Likewise.
63454 * sysdeps/x86_64/strtok.S: Likewise.
63455 * sysdeps/sh/_mcount.S: Likewise.
63456
63457 2012-08-01 Roland McGrath <roland@hack.frob.com>
63458
63459 * libio/iofopen.c: Include <fcntl.h>.
63460 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63461 (_IO_fopen64, fopen64): Define as aliases.
63462 * libio/iofopen64.c: Include <fcntl.h>.
63463 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63464 Conditionalize body on this.
63465 * sysdeps/wordsize-64/iofopen.c: File removed.
63466 * sysdeps/wordsize-64/iofopen64.c: File removed.
63467
63468 2012-08-01 Marek Polacek <polacek@redhat.com>
63469
63470 * libc/Makeconfig: Use elf in place of binfmt-subdir.
63471 Use dlfcn directly instead of a variable.
63472 (binfmt-subdir): Do not define.
63473 (dlfcn): Likewise.
63474
63475 2012-08-01 Joseph Myers <joseph@codesourcery.com>
63476
63477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63478 Remove all definitions.
63479 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63480 <kernel-features.h>.
63481 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63482 (miss_F_GETOWN_EX): Remove all definitions.
63483 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63484 macro definition.
63485 [!__ASSUME_FCNTL64]: Remove conditional code.
63486 [__ASSUME_FCNTL64]: Make code unconditional.
63487 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63488 <kernel-features.h>.
63489 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63490 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63491 (lockf64) [__NR_fcntl64]: Make code unconditional.
63492 (lockf64) [__ASSUME_FCNTL64]: Likewise.
63493
63494 * sysdeps/unix/sysv/linux/kernel-features.h
63495 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63496 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63497 Make code unconditional.
63498 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63499 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63501 [__NR_vfork]: Make code unconditional.
63502 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63503 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63505 [__NR_vfork]: Make code unconditional.
63506 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63507 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63508
63509 2012-08-01 Roland McGrath <roland@hack.frob.com>
63510
63511 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63512 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63513
63514 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63515 Define mkstemp64 as an alias.
63516 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63517 Define mkstemps64 as an alias.
63518 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63519 Define mkostemp64 as an alias.
63520 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63521 Define mkostemps64 as an alias.
63522 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63523 Conditionalize body on this.
63524 * misc/mkostemp64.c: Likewise.
63525 * misc/mkostemps64.c: Likewise.
63526 * misc/mkstemps64.c: Likewise.
63527 * sysdeps/wordsize-64/mkstemp64.c: File removed.
63528 * sysdeps/wordsize-64/mkostemp64.c: File removed.
63529 * sysdeps/wordsize-64/mkostemp.c: File removed.
63530 * sysdeps/wordsize-64/mkstemp.c: File removed.
63531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63532 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63533 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63534 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63535
63536 [BZ #14138]
63537 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63538 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63539 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63540 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63541
63542 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63543 compat_symbol macros from <shlib-compat.h> rather than the underlying
63544 default_symbol_version and symbol_version macros, so that DEFAULT
63545 lines in shlib-versions are respected.
63546 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63547
63548 2012-08-01 Florian Weimer <fweimer@redhat.com>
63549
63550 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63551 Declare with warn_unused_result.
63552 (setgid, setregid, setegid, setresgid): Likewise.
63553 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63554 Likewise.
63555 * WUR-REPORT: Remove set*id functions.
63556
63557 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
63558
63559 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63560
63561 2012-07-31 Roland McGrath <roland@hack.frob.com>
63562
63563 [BZ #10191]
63564 * include/sys/socket.h (__libc_accept, __libc_accept4):
63565 Add attribute_hidden.
63566 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63567
63568 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63569 use of PTR_MANGLE.
63570 * inet/getnetgrent_r.c (setup): Likewise.
63571
63572 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63573
63574 2012-07-31 David S. Miller <davem@davemloft.net>
63575
63576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63577
63578 2012-07-31 Joseph Myers <joseph@codesourcery.com>
63579
63580 [BZ #13629]
63581 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63582 value between 1.0 and 2.0 and smaller part has absolute value less
63583 than 1.0.
63584 * math/s_clog10.c (__clog10): Likewise.
63585 * math/s_clog10f.c (__clog10f): Likewise.
63586 * math/s_clog10l.c (__clog10l): Likewise.
63587 * math/s_clogf.c (__clogf): Likewise.
63588 * math/s_clogl.c (__clogl): Likewise.
63589 * math/libm-test.inc (clog_test): Add more tests.
63590 (clog10_test): Likewise.
63591 * sysdeps/i386/fpu/libm-test-ulps: Update.
63592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63593
63594 2012-07-31 Florian Weimer <fweimer@redhat.com>
63595
63596 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63597 Exit with zero in case no suitable GID is found, and write a
63598 message to standard error.
63599
63600 2012-07-30 Roland McGrath <roland@hack.frob.com>
63601
63602 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63603 rather than to 1.
63604 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63605 (MAXPATHLEN): Removed.
63606 (NOGROUP, NODEV): New macros.
63607 (setbit, clrbit, isset, isclr): New macros.
63608 (howmany, roundup, powerof2): New macros.
63609 (DEV_BSIZE): New macro.
63610
63611 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63612 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63613
63614 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63615 definition on [!__NO_LONG_DOUBLE_MATH].
63616
63617 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63618 PTR_MANGLE and PTR_DEMANGLE.
63619
63620 * socket/accept4.c (accept4): Rename to __libc_accept4.
63621 Define accept4 as a weak alias.
63622
63623 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63624 on [_DIRENT_HAVE_D_TYPE].
63625 * io/ftw.c (ftw_dir): Likewise.
63626
63627 * io/xmknod.c (__xmknod): Don't check PATH for being null.
63628
63629 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63630
63631 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63632 Use the BSD numbers rather than the arbitrary ones we had.
63633 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63634 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63635 (SIGXCPU, SIGXFSZ): New macros.
63636 (_NSIG): Now 32.
63637
63638 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63639 initializer on [_LIBC_REENTRANT].
63640
63641 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63642 definitions inside [_POSIX_MAPPED_FILES].
63643
63644 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63645
63646 * dirent/opendir.c: Include <fcntl.h>.
63647
63648 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63649 (__libc_getspecific): Likewise.
63650 (__libc_key_create): Likewise.
63651
63652 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63653 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63654 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63655 (tmpfile64): Define as alias.
63656 * sysdeps/wordsize-64/tmpfile.c: File removed.
63657 * sysdeps/wordsize-64/tmpfile64.c: File removed.
63658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63659 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63660
63661 * stdio-common/vfscanf.c: Include <stdbool.h>.
63662 * nss/makedb.c: Likewise.
63663 * stdio-common/_i18n_number.h: Likewise.
63664 * argp/argp-help.c: Likewise.
63665 * posix/wordexp.c: Likewise.
63666 * sysdeps/posix/spawni.c: Likewise.
63667 * nss/nss_files/files-initgroups.c: Likewise.
63668 * stdio-common/reg-modifier.c: Include <stdlib.h>.
63669 * nss/nss_files/files-initgroups.c: Likewise.
63670 * nss/nss_db/db-netgrp.c: Likewise.
63671 * nss/nss_db/db-initgroups.c: Likewise.
63672 * io/fchmodat.c: Include <sys/stat.h>.
63673
63674 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63675 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63676
63677 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63678 [HAVE_MMAP].
63679
63680 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63681 Add multiple inclusion protection.
63682
63683 2012-07-27 David S. Miller <davem@davemloft.net>
63684
63685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63686
63687 2012-07-27 Gary Benson <gbenson@redhat.com>
63688
63689 [BZ #14298]
63690 * elf/rtld.c: Include <stap-probe.h>.
63691 (dl_main): Added static probes "init_start" and "init_complete".
63692 * elf/dl-load.c: Include <stap-probe.h>.
63693 (lose): Take new parameter "nsid".
63694 Added static probe "map_failed".
63695 (_dl_map_object_from_fd): Pass namespace id to lose.
63696 Added static probe "map_start".
63697 (open_verify): Pass namespace id to lose.
63698 * elf/dl-open.c: Include <stap-probe.h>.
63699 (dl_open_worker) Added static probes "map_complete", "reloc_start"
63700 and "reloc_complete".
63701 * elf/dl-close.c: Include <stap-probe.h>.
63702 (_dl_close_worker): Added static probes "unmap_start" and
63703 "unmap_complete".
63704 * elf/rtld-debugger-interface.txt: New file documenting the above.
63705
63706 2012-07-26 Roland McGrath <roland@hack.frob.com>
63707
63708 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63709 rather than a string variable.
63710 * sunrpc/rpc_main.c (h_output): Likewise.
63711 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63712
63713 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
63714
63715 * inet/check_native.c: New file.
63716
63717 2012-07-26 Joseph Myers <joseph@codesourcery.com>
63718
63719 [BZ #13629]
63720 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63721 if larger part has absolute value 1.0.
63722 * math/s_clog10.c (__clog10): Likewise.
63723 * math/s_clog10f.c (__clog10f): Likewise.
63724 * math/s_clog10l.c (__clog10l): Likewise.
63725 * math/s_clogf.c (__clogf): Likewise.
63726 * math/s_clogl.c (__clogl): Likewise.
63727 * math/libm-test.inc (clog_test): Add more tests.
63728 (clog10_test): Likewise.
63729 * sysdeps/i386/fpu/libm-test-ulps: Update.
63730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63731
63732 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63733 (pltexit): Likewise.
63734 (La_regs): Likewise.
63735 (La_retval): Likewise.
63736 (int_retval): Likewise.
63737 Update #error for removed macros to refer only to definitions in
63738 tst-audit.h.
63739 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63740 macro.
63741 (pltexit): Likewise.
63742 (La_regs): Likewise.
63743 (La_retval): Likewise.
63744 (int_retval): Likewise.
63745 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63746 macro.
63747 (pltexit): Likewise.
63748 (La_regs): Likewise.
63749 (La_retval): Likewise.
63750 (int_retval): Likewise.
63751 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63752 macro.
63753 (pltexit): Likewise.
63754 (La_regs): Likewise.
63755 (La_retval): Likewise.
63756 (int_retval): Likewise.
63757 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63758 macro.
63759 (pltexit): Likewise.
63760 (La_regs): Likewise.
63761 (La_retval): Likewise.
63762 (int_retval): Likewise.
63763 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63764 macro.
63765 (pltexit): Likewise.
63766 (La_regs): Likewise.
63767 (La_retval): Likewise.
63768 (int_retval): Likewise.
63769 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63770 macro.
63771 (pltexit): Likewise.
63772 (La_regs): Likewise.
63773 (La_retval): Likewise.
63774 (int_retval): Likewise.
63775 * sysdeps/generic/tst-audit.h: Update comment to refer only to
63776 macro definitions in tst-audit.h.
63777 * sysdeps/i386/tst-audit.h: New file.
63778 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63779 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63780 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63781 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63782 * sysdeps/sh/tst-audit.h: Likewise.
63783 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63784 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63785 * sysdeps/x86_64/tst-audit.h: Likewise.
63786
63787 2012-07-26 Andreas Jaeger <aj@suse.de>
63788
63789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63790 ptrace.
63791
63792 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63793 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63794 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63795 PTRACE_O_MASK.
63796 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63797 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63798 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63799
63800 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63801 value.
63802
63803 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63804 _sigsys.
63805 (si_call_addr, si_syscall, si_arch): Define new macro.
63806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63807 _sigsys.
63808 (si_call_addr, si_syscall, si_arch): Define new marcro.
63809 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63810 _sigsys.
63811 (si_call_addr, si_syscall, si_arch): Define new macro.
63812 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63813 _sigsys.
63814 (si_call_addr, si_syscall, si_arch): Define new macro.
63815
63816 2012-07-25 Joseph Myers <joseph@codesourcery.com>
63817
63818 [BZ #13717]
63819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63820 Change to 2.4.21 where previously 2.4.1.
63821 * sysdeps/unix/sysv/linux/configure: Regenerated.
63822 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63823 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63824 Linux kernel version.
63825 (__ASSUME_STD_AUXV): Remove.
63826 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63827 kernel version.
63828 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63829 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63830 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63831 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63832 (__ASSUME_NETLINK_SUPPORT): Likewise.
63833 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63834 (__no_netlink_support): Remove conditional definition.
63835 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63836 Remove.
63837 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63838 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63839 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63840 (if_nameindex_ioctl): Remove.
63841 (if_nameindex_netlink): Do not handle __no_netlink_support.
63842 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63843 code.
63844 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63845 Remove conditional code.
63846 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63847 code.
63848 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63849 unconditional.
63850 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63851 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63852 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63853 Remove.
63854 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63855 [!__ASSUME_STD_AUXV]: Remove conditional code.
63856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63857 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63858 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63860 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63861 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63862 code.
63863 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63865 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63866 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63867 conditional code.
63868 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63870 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63871 code.
63872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63873 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63874 conditional code.
63875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63876 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63877 code unconditional.
63878 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63879 conditional code.
63880 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63881 unconditional.
63882 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63883 conditional code.
63884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63885 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63886 unconditional.
63887 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63888 conditional code.
63889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63890 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63891 code unconditional.
63892 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63893 conditional code.
63894 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63895 unconditional.
63896 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63897 conditional code.
63898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63899 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63900 code unconditional.
63901 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63902 conditional code.
63903 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63904 unconditional.
63905 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63906 conditional code.
63907
63908 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
63909
63910 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63911 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63912 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63913 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63914 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63915 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63916 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63917 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63918 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63919 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63920 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63921 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63922 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63923 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63924 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63925 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63926 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63928 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63930 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63931 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63932 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63933
63934 2012-07-25 Florian Weimer <fweimer@redhat.com>
63935
63936 * Versions.def: Add GLIBC_2.17.
63937 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63938 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63939 Introduce __libc_secure_getenv.
63940 * stdlib/Versions (2.17): Add secure_getenv
63941 (GLIBC_PRIVATE): Add __libc_secure_getenv.
63942 * stdlib/secure-getenv.c: Rename __secure_getenv to
63943 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
63944 symbol __secure_getenv for GLIBC_2.0.
63945 * stdlib/tst-secure-getenv.c: New.
63946 * stdlib/Makefile (tests): Add testcase.
63947 * manual/startup.texi (Environment Access): Document
63948 secure_getenv.
63949 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63950 __libc_secure_getenv.
63951 * inet/ruserpass.c (ruserpass): Likewise.
63952 * malloc/mtrace.c (mtrace): Likewise.
63953 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63954 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63955 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63956 * sysdeps/posix/tempname.c: Likewise. Evaluate
63957 HAVE_SECURE_GETENV.
63958 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63959 __secure_getenv to __libc_secure_getenv.
63960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63962 Likewise.
63963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63964 Likewise.
63965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63972
63973 2012-07-25 Joseph Myers <joseph@codesourcery.com>
63974
63975 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63976 (struct La_i86_retval): Likewise.
63977 (struct La_x86_64_regs): Likewise.
63978 (struct La_x86_64_retval): Likewise.
63979 (struct La_x32_regs): Likewise.
63980 (struct La_x32_retval): Likewise.
63981 (struct La_ppc32_regs): Likewise.
63982 (struct La_ppc32_retval): Likewise.
63983 (struct La_ppc64_regs): Likewise.
63984 (struct La_ppc64_retval): Likewise.
63985 (struct La_sh_regs): Likewise.
63986 (struct La_sh_retval): Likewise.
63987 (struct La_s390_32_regs): Likewise.
63988 (struct La_s390_32_retval): Likewise.
63989 (struct La_s390_64_regs): Likewise.
63990 (struct La_s390_64_retval): Likewise.
63991 (struct La_sparc32_regs): Likewise.
63992 (struct La_sparc32_retval): Likewise.
63993 (struct La_sparc64_regs): Likewise.
63994 (struct La_sparc64_retval): Likewise.
63995 (struct audit_ifaces): Remove architecture-specific pltenter and
63996 pltexit members.
63997 * sysdeps/i386/ldsodefs.h: New file.
63998 * sysdeps/powerpc/ldsodefs.h: Likewise.
63999 * sysdeps/s390/ldsodefs.h: Likewise.
64000 * sysdeps/sh/ldsodefs.h: Likewise.
64001 * sysdeps/sparc/ldsodefs.h: Likewise.
64002 * sysdeps/x86_64/ldsodefs.h: Likewise.
64003
64004 2012-07-25 Marek Polacek <polacek@redhat.com>
64005
64006 [BZ #6808]
64007 * math/libm-test.inc (yn_test): Add another test.
64008 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64009 to ERANGE when the result is +-Inf.
64010 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64011 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64012 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64013 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64014
64015 2012-07-24 Joseph Myers <joseph@codesourcery.com>
64016
64017 * conform/data/time.h-data (NULL): Use macro-constant. Require
64018 equal to 0.
64019 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
64020 clock_t.
64021 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
64022
64023 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
64024
64025 * configure.in <sysdeps resolving>: Correct printing
64026 Implies_before.
64027 * configure: Regenerate.
64028
64029 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
64030
64031 * math/w_ilogb.c: Include <limits.h>.
64032 * math/w_ilogbl.c: Likewise.
64033
64034 2012-07-20 Joseph Myers <joseph@codesourcery.com>
64035
64036 * manual/lang.texi (__va_copy): Document primarily as ISO C99
64037 va_copy. Document allowing for unavailable va_copy only as
64038 pre-C99 compatibility.
64039 * manual/string.texi (Copying and Concatenation): Use va_copy
64040 instead of __va_copy in concat example.
64041
64042 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
64043
64044 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64045 (__sendto): Use create_address_port. Initialize APORT and deallocate
64046 it if not null.
64047
64048 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64049 with O_NOLINK passed to __file_name_lookup.
64050
64051 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64052 with O_NOLINK passed to __file_name_lookup.
64053
64054 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64055 negative N or less than NGIDS.
64056
64057 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64058 type to string_t. Set ERANGE as errno and return it if NAME is not big
64059 enough. Use memcpy instead of strncpy.
64060
64061 2012-07-20 Joseph Myers <joseph@codesourcery.com>
64062
64063 * elf/Makefile (check-data): Remove.
64064 (localplt.data): New vpath directive.
64065 ($(objpfx)check-localplt.out): Use localplt.data from vpath
64066 instead of $(check-data).
64067 * scripts/data/localplt-generic.data: Move to ...
64068 * sysdeps/generic/localplt.data: ... here.
64069 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64070 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64071 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64073 ... here.
64074 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64076 ... here.
64077 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64079 ... here.
64080 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64082 ... here.
64083 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64085 ... here.
64086 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64088 ... here.
64089
64090 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64091
64092 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64093 PPC32 and PPC64 files.
64094 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64095 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64096
64097 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64098
64099 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64100 __makecontext_ret to ...
64101 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64102 ... here and call exit if uc_link is NULL. New file.
64103 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64104 __makecontext_ret.S.
64105 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64106 __makecontext_ret to ...
64107 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64108 ... here and call exit if uc_link is NULL. New file.
64109 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64110 __makecontext_ret.S.
64111
64112 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64113
64114 * elf/elf.h (R_390_IRELATIVE): New definition.
64115 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64116 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
64117 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64119 (elf_machine_lazy_rel): Likewise.
64120 * sysdeps/s390/dl-irel.h: New file.
64121 * sysdeps/s390/s390-64/memcpy.S: New asm code.
64122 * sysdeps/s390/s390-64/memset.S: New asm code.
64123 * sysdeps/s390/s390-64/memcmp.S: New asm code.
64124 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64125 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64126 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64127 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64128 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64129 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64130 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64131 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64132 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64133 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64134 * sysdeps/s390/s390-32/memcpy.S: New asm code.
64135 * sysdeps/s390/s390-32/memset.S: New asm code.
64136 * sysdeps/s390/s390-32/memcmp.S: New asm code.
64137
64138 2012-07-17 Marek Polacek <polacek@redhat.com>
64139
64140 [BZ #14349]
64141 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64142 * sysdeps/s390/s390-64/configure.in: Likewise.
64143 * sysdeps/sparc/configure.in: Likewise.
64144 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64145 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64146 * sysdeps/i386/configure.in: Likewise.
64147 * sysdeps/x86_64/configure.in: Likewise.
64148 * sysdeps/sh/configure.in: Likewise.
64149 * sysdeps/s390/s390-32/configure: Regenerated.
64150 * sysdeps/s390/s390-64/configure: Likewise.
64151 * sysdeps/x86_64/configure: Likewise.
64152 * sysdeps/sh/configure: Likewise.
64153 * sysdeps/powerpc/powerpc64/configure: Likewise.
64154 * sysdeps/powerpc/powerpc32/configure: Likewise.
64155 * sysdeps/sparc/configure: Likwise.
64156 * sysdeps/i386/configure: Likewise.
64157
64158 * elf/dl-open.c: Comment fixes.
64159
64160 2012-07-17 Joseph Myers <joseph@codesourcery.com>
64161
64162 * Makefile [CXX] (check-data): Remove.
64163 [CXX] (c++-types.data): New vpath directive.
64164 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64165 vpath. Do not allow for C++ type data being missing.
64166 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64167 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64168 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64169 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64170 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64171 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64172 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64174 ... here.
64175 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64177 ... here.
64178 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64180 ... here.
64181 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64183 ... here.
64184 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64186 ... here.
64187 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64189 ... here.
64190 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64192 ... here.
64193 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64195
64196 * elf/tls-macros.h (TLS_LE): Move architecture-specific
64197 definitions to architecture-specific files.
64198 (TLS_IE): Likewise.
64199 (TLS_LD): Likewise.
64200 (TLS_GD): Likewise.
64201 * sysdeps/i386/tls-macros.h: New file.
64202 * sysdeps/powerpc/tls-macros.h: Likewise.
64203 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64204 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64205 * sysdeps/sh/tls-macros.h: Likewise.
64206 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64207 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64208 * sysdeps/x86_64/tls-macros.h: Likewise.
64209
64210 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
64211
64212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64213 zero value for regular exit case.
64214
64215 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64216 (__start_context): Preserve zero value for regular exit case.
64217
64218 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
64219 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64220
64221 * manual/setjmp.texi (setcontext): Clarify normal process
64222 termination when uc_link is the null pointer.
64223 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64224 exit call.
64225
64226 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
64227
64228 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64229 preprocessor. Test for each exception mask separately.
64230
64231 2012-07-16 Andreas Jaeger <aj@suse.de>
64232
64233 * po/ru.po: Update from translation team.
64234
64235 2012-07-15 Joseph Myers <joseph@codesourcery.com>
64236
64237 * conform/data/string.h-data (NULL): Use macro-constant. Require
64238 equal to 0.
64239 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64240 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64241 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64242 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64244
64245 2012-07-13 Andreas Jaeger <aj@suse.de>
64246
64247 * po/fr.po: Update from translation team.
64248
64249 2012-07-12 Marek Polacek <polacek@redhat.com>
64250
64251 [BZ #14173]
64252 * math/libm-test.inc (yn_test): Add test for BZ #14173.
64253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64254 loop condition.
64255
64256 2012-07-12 Joseph Myers <joseph@codesourcery.com>
64257
64258 [BZ #13717]
64259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64260 Change to 2.4.1 where previously 2.4.0.
64261 * sysdeps/unix/sysv/linux/configure: Regenerated.
64262 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64263 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64264 version.
64265 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64266 (__ASSUME_AT_CLKTCK): Remove.
64267 (__ASSUME_AT_PAGESIZE): Likewise.
64268 (__ASSUME_AT_XID): Likewise.
64269 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64270 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64271 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64272 unconditionally.
64273 (HAVE_AUX_PAGESIZE): Likewise.
64274 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64275 [__ASSUME_AT_CLKTCK]: Make code unconditional.
64276 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64277
64278 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
64279
64280 [BZ #14307]
64281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64282 the temporary buffer used to invoke __gethostbyname2_r,
64283 __gethostbyaddr_r and gethostbyname4_r to make room for struct
64284 host_data / struct gaih_addrtuple.
64285 * resolv/nss_dns/dns-host.c (global scope): Move definition of
64286 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64287 header file nss/nsswitch.h.
64288 * nss/nsswitch.h (global scope): Add definition of implementation
64289 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64290 resolv/nss_dns/dns-host.c).
64291
64292 2012-07-11 Andreas Jaeger <aj@suse.de>
64293
64294 * po/fr.po: Update from translation team.
64295
64296 * po/sv.po: Update from translation team
64297 * po/fr.po: Another update from translation team.
64298
64299 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64300
64301 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64302 for subnormals or multiply small sinh result by itself.
64303 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64305
64306 2012-07-11 David S. Miller <davem@davemloft.net>
64307
64308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64309
64310 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
64311
64312 [BZ #14347]
64313 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64314 (INTERNAL_MARK): Shift it here.
64315
64316 2012-07-10 Marek Polacek <polacek@redhat.com>
64317
64318 [BZ #14151]
64319 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
64320 libc_cv_asm_global_directive with .globl.
64321 * configure: Regenerated.
64322 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64323 with .globl.
64324 * sysdeps/i386/configure: Regenerated.
64325 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64326 with .globl.
64327 * sysdeps/x86_64/configure: Regenerated.
64328 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64329 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64330 * elf/tst-unique2mod2.c: Likewise.
64331 * elf/tst-unique2mod1.c: Likewise.
64332 * elf/tst-unique1mod2.c: Likewise.
64333 * elf/tst-unique1mod1.c: Likewise.
64334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
64335 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64336 * sysdeps/s390/s390-64/sysdep.h: Likewise.
64337 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64338 * sysdeps/mach/sysdep.h: Likewise.
64339 * sysdeps/i386/sysdep.h: Likewise.
64340 * sysdeps/i386/i386-mcount.S: Likewise.
64341 * sysdeps/x86_64/_mcount.S: Likewise.
64342 * sysdeps/x86_64/sysdep.h: Likewise.
64343 * sysdeps/sh/_mcount.S: Likewise.
64344 * sysdeps/sh/sysdep.h: Likewise.
64345 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64346 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64347 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64348 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64349 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64350 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64351 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64352 * locale/localeinfo.h: Likewise.
64353 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64354 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64355
64356 2012-07-09 Roland McGrath <roland@hack.frob.com>
64357
64358 [BZ #14336]
64359 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64360 system".
64361 * manual/message.texi (The Uniforum approach): Likewise.
64362 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64363 (glibc iconv Implementation): Likewise.
64364
64365 2012-07-09 Joseph Myers <joseph@codesourcery.com>
64366
64367 [BZ #14337]
64368 * math/s_clog.c (__clog): Avoid scaling a value down where that
64369 could result in underflow.
64370 * math/s_clog10.c (__clog10): Likewise.
64371 * math/s_clog10f.c (__clog10f): Likewise.
64372 * math/s_clog10l.c (__clog10l): Likewise.
64373 * math/s_clogf.c (__clogf): Likewise.
64374 * math/s_clogl.c (__clogl): Likewise.
64375 * math/libm-test.inc (clog_test): Add more tests.
64376 (clog10_test): Likewise.
64377 * sysdeps/i386/fpu/libm-test-ulps: Update.
64378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64379
64380 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
64381
64382 [BZ #14283]
64383 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64384 by 7 not 8 to examine high bit of fractional part.
64385
64386 [BZ #14042]
64387 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64388 for call to __mcount_internal.
64389 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64390 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64391 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64392
64393 2012-07-06 Joseph Myers <joseph@codesourcery.com>
64394
64395 [BZ #14154]
64396 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64397 approximation for values within 0x1p-13f of an odd multiple of
64398 pi/4.
64399 * math/libm-test.inc (tan_test): Do not allow spurious underflow
64400 exception. Add more tests.
64401 * sysdeps/i386/fpu/libm-test-ulps: Update.
64402
64403 [BZ #6778]
64404 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64405 inputs and return -1 for them. Do not check for +Inf in case not
64406 reachable for +Inf.
64407 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64408 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64409 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64410 and return -1 for them. Do not check for +Inf in case not
64411 reachable for +Inf.
64412 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64413 define.
64414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64415 and return -1 for them. Do not check for +Inf in case not
64416 reachable for +Inf.
64417 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
64418 spurious underflow.
64419 * sysdeps/i386/fpu/libm-test-ulps: Update.
64420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64421
64422 2012-07-06 Mike Frysinger <vapier@gentoo.org>
64423
64424 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64425
64426 2012-07-05 Joseph Myers <joseph@codesourcery.com>
64427
64428 [BZ #14157]
64429 [BZ #14331]
64430 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64431 could result in spurious underflow. Scale down values above
64432 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64433 * math/s_csqrtf.c (__csqrtf): Likewise.
64434 * math/s_csqrtl.c (__csqrtl): Likewise.
64435 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
64436 spurious underflow.
64437 * sysdeps/i386/fpu/libm-test-ulps: Update.
64438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64439
64440 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
64441
64442 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64443 xopen-msg.sed.
64444 * catgets/xopen-msg.awk: New file.
64445 * catgets/xopen-msg.sed: Removed.
64446
64447 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64448 po2text.sed.
64449 * intl/po2test.awk: New file.
64450 * intl/po2test.sed: Removed.
64451
64452 2012-07-04 Joseph Myers <joseph@codesourcery.com>
64453
64454 [BZ #14328]
64455 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64456 or multiply small sinh result by itself.
64457 * math/s_ctanf.c (__ctanf): Likewise.
64458 * math/s_ctanh.c (__ctanh): Likewise.
64459 * math/s_ctanhf.c (__ctanhf): Likewise.
64460 * math/s_ctanhl.c (__ctanhl): Likewise.
64461 * math/s_ctanl.c (__ctanl): Likewise.
64462 * math/libm-test.inc (ctan_test_tonearest): New function.
64463 (ctan_test_towardzero): Likewise.
64464 (ctan_test_downward): Likewise.
64465 (ctan_test_upward): Likewise.
64466 (ctanh_test_tonearest): Likewise.
64467 (ctanh_test_towardzero): Likewise.
64468 (ctanh_test_downward): Likewise.
64469 (ctanh_test_upward): Likewise.
64470 (main): Call these new functions.
64471 * sysdeps/i386/fpu/libm-test-ulps: Update.
64472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64473
64474 2012-07-03 Mike Frysinger <vapier@gentoo.org>
64475
64476 * .gitignore: Delete /ports entry.
64477
64478 2012-07-03 Andreas Jaeger <aj@suse.de>
64479
64480 * po/bg.po: Update from translation team.
64481 * po/cs.po: Likewise.
64482 * po/de.po: Likewise.
64483 * po/hr.po: Likewise.
64484 * po/nl.pl: Likewise.
64485 * po/pl.po: Likewise.
64486 * po/vi.po: Likewise.
64487
64488 2012-07-03 Joseph Myers <joseph@codesourcery.com>
64489
64490 * Makeconfig [!+link] (+link-before-libc): New variable.
64491 [!+link] (+link-after-libc): Likewise.
64492 [!+link] (+link-tests): Likewise.
64493 [!+link] (+link): Define in terms of $(+link-before-libc) and
64494 $(+link-after-libc).
64495 [!+link-static] (+link-static-before-libc): New variable.
64496 [!+link-static] (+link-static-after-libc): Likewise.
64497 [!+link-static] (+link-static-tests): Likewise.
64498 [!+link-static] (+link-static): Define in terms of
64499 $(+link-static-before-libc) and $(+link-static-after-libc).
64500 [build-shared] (link-libc-before-gnulib): New variable.
64501 [build-shared] (link-libc-tests): Likewise.
64502 [build-shared] (link-libc): Define in terms of
64503 $(link-libc-before-gnulib).
64504 [!build-shared] (link-libc-tests): New variable.
64505 (link-libc-static-tests): New variable.
64506 [!gnulib] (gnulib-arch): New variable.
64507 [!gnulib] (gnulib-tests): Likewise.
64508 [!gnulib] (static-gnulib-arch): Likewise.
64509 [!gnulib] (static-gnulib-tests): Likewise.
64510 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
64511 Define with "=" instead of ":=".
64512 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
64513 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
64514 * Rules (binaries-all-notests): New variable.
64515 (binaries-all-tests): Likewise.
64516 (binaries-static-notests): Likewise.
64517 (binaries-static-tests): Likewise.
64518 (binaries-all): Define using $(binaries-all-notests) and
64519 $(binaries-all-tests).
64520 (binaries-static): Define using $(binaries-static-notests) and
64521 $(binaries-static-tests).
64522 (binaries-shared-tests): New variable.
64523 (binaries-shared-notests): Likewise.
64524 (binaries-shared): Remove variable.
64525 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64526 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64527 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64528 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64529 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64530 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64531 * elf/Makefile (sln-modules): New variable.
64532 (extra-objs): Add $(sln-modules:=.o).
64533 (ldconfig-modules): Add static-stubs.
64534 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64535 * elf/static-stubs.c: New file.
64536
64537 [BZ #14283]
64538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64539 by 7 not 8 to examine high bit of fractional part. Use volatile
64540 variables when splitting into final array of floats if
64541 __FLT_EVAL_METHOD__ != 0.
64542 * math/libm-test.inc (cos_test): Add another test.
64543 (sin_test): Likewise.
64544 * sysdeps/i386/fpu/libm-test-ulps: Update.
64545
64546 [BZ #14273]
64547 * math/libm-test.inc (cosh_test): Add more tests.
64548
64549 * version.h (RELEASE): Set to "development".
64550 (VERSION): Set to "2.16.90".
64551
64552 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
64553
64554 * NEWS: Update copyright. Remove last-updated date.
64555 Mention math library bug fixes and timezone data changes.
64556 * README: Mention GNU/Hurd, x32, and HPPA support status.
64557
64558 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
64559
64560 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64561
64562 2012-06-27 Andreas Jaeger <aj@suse.de>
64563
64564 * manual/contrib.texi (Contributors): Add Samuel Thibault.
64565
64566 2012-06-25 Andreas Jaeger <aj@suse.de>
64567
64568 * sysdeps/s390/fpu/libm-test-ulps: Update.
64569
64570 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
64571 Thomas Schwinge <thomas@codesourcery.com>
64572
64573 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64574 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64575 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64576 fanotify_mark.
64577
64578 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
64579
64580 * sysdeps/mach/start.c: Remove file.
64581 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64582 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64583 * sysdeps/sh/init-first.c: Likewise.
64584
64585 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64586 registers for frame unwinding purposes, add CFI directives.
64587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64589 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64590 Likewise.
64591
64592 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64593 __fortify_fail returning.
64594 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64595
64596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64597 sysdeps/sh/____longjmp_chk.S.
64598 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64599 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64600 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64601 (gen-as-const-headers): Append sigaltstack-offsets.sym.
64602
64603 * sysdeps/sh/abort-instr.h: New file.
64604 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64605 process in case exit returns.
64606
64607 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64608 initialize the GOT register before use.
64609
64610 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64611 calculation of ARGC > 4.
64612
64613 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64614 meaningful names to some local labels.
64615
64616 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64617 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64618
64619 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64620 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64621 (__arch_compare_and_exchange_val_16_acq): Likewise.
64622 (__arch_compare_and_exchange_val_32_acq): Likewise.
64623 (atomic_exchange_and_add): Fix gUSA sequence.
64624 (atomic_add): Likewise.
64625 (atomic_add_negative): Likewise.
64626 (atomic_add_zero): Likewise.
64627 (atomic_bit_test_set): Likewise.
64628
64629 2012-06-22 Andreas Schwab <schwab@redhat.com>
64630
64631 [BZ #13579]
64632 * include/link.h (struct link_map): Add l_free_initfini.
64633 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64634 l_initfini.
64635 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64636 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64637 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64638 set.
64639
64640 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
64641
64642 * configure.in: Use AC_LANG_SOURCE.
64643 * configure: Regenerate.
64644
64645 2012-06-22 Roland McGrath <roland@hack.frob.com>
64646
64647 * configure.in (libc_cv_localstatedir): New substituted variable.
64648 * configure: Regenerated.
64649 * config.make.in (localstatedir): New variable, substituted from
64650 libc_cv_localstatedir.
64651 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64652 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64653 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64654 * sysdeps/gnu/configure: Regenerated.
64655
64656 2012-06-21 Jeff Law <law@redhat.com>
64657
64658 [BZ #14277]
64659 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64660 free. Simplify list management for _LIBC case.
64661
64662 2012-06-21 Joseph Myers <joseph@codesourcery.com>
64663
64664 [BZ #14273]
64665 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64666 Clear sign bit of 64-bit integer value before comparing against
64667 overflow value.
64668
64669 * sysdeps/mach/configure: Regenerated.
64670
64671 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
64672
64673 [BZ #14278]
64674 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64675
64676 2012-06-21 Jeff Law <law@redhat.com>
64677
64678 [BZ #13882]
64679 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
64680 uint16_t for elements in the "seen" array to avoid char overflows.
64681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
64682 * elf/dl-open.c (dl_open_worker): Likewise.
64683
64684 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
64685
64686 * scripts/list-sources.sh: Scan PORTS for translations.
64687 * po/libc.pot: Regenerated.
64688
64689 2012-06-21 Andreas Jaeger <aj@suse.de>
64690
64691 [BZ #12194]
64692 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64693 warning.
64694 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64695 * bits/byteswap-16.h (__bswap_16): Likewise.
64696 * bits/byteswap.h (__bswap_constant_16): Likewise.
64697
64698 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
64699
64700 [BZ #14117]
64701 * sysdeps/i386/fpu_control.h: Removed.
64702 * sysdeps/x86_64/fpu_control.h: Moved to ...
64703 * sysdeps/x86/fpu_control.h: Here.
64704
64705 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64706 (_FPU_SETCW): Likewise.
64707
64708 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
64709
64710 [BZ #14117]
64711 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64712 * sysdeps/x86/fpu/bits/mathinline.h: This.
64713 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64714
64715 [BZ #14050]
64716 [BZ #14117]
64717 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64718 functions if __x86_64__ is defined.
64719
64720 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
64721
64722 * string/endian.h: Add !__ASSEMBLER__ condition for including
64723 conversion interfaces.
64724
64725 2012-06-15 Joseph Myers <joseph@codesourcery.com>
64726
64727 [BZ #14241]
64728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64729 of ABS(x) in calculating zero to negative powers other than odd
64730 integers.
64731 * math/libm-test.inc (pow_test): Add more tests.
64732
64733 2012-06-15 Andreas Jaeger <aj@suse.de>
64734
64735 * manual/contrib.texi (Contributors): Update entry of Liubov
64736 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64737 Machado Filho.
64738
64739 2012-06-15 Cyril Hrubis <metan@ucw.cz>
64740
64741 * string/string.h: Add __wur to GNU version of strerror_r.
64742
64743 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
64744
64745 [BZ #14229]
64746 * string/Makefile (tests): Add tst-strtok_r.
64747 * string/tst-strtok_r.c: New file.
64748 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64749 RAX_LP/RDX_LP on SAVE_PTR.
64750
64751 2012-06-14 Roland McGrath <roland@hack.frob.com>
64752
64753 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64754
64755 2012-06-14 Joseph Myers <joseph@codesourcery.com>
64756
64757 * libm_test.inc (csqrt_test): Allow more spurious underflow
64758 exceptions.
64759 (j0_test): Likewise.
64760 (j1_test): Likewise.
64761 (y0_test): Likewise.
64762 (y1_test): Likewise.
64763
64764 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
64765
64766 * po/Makefile (libc.pot): Use UTF-8 charset.
64767
64768 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
64769
64770 [BZ #14210]
64771 Suppress sign-conversion warning from FD_SET.
64772 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64773 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64774 not unsigned long int.
64775 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64776
64777 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
64778
64779 [BZ #14050]
64780 [BZ #14117]
64781 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64782 __extern_always_inline instead of __extern_inline.
64783 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64784 (__signbit): Likewise.
64785 (__signbitl): Support C++ namespace.
64786 (lrintf): New inline function.
64787 (lrint): Likewise.
64788 (llrintf): Likewise.
64789 (llrint): Likewise.
64790 (fmaxf): Likewise.
64791 (fmax): Likewise.
64792 (fminf): Likewise.
64793 (fmin): Likewise.
64794 (rint): Likewise.
64795 (rintf): Likewise.
64796 (ceil): Likewise.
64797 (ceilf): Likewise.
64798 (floor): Likewise.
64799 (floorf): Likewise.
64800 (nearbyint): Likewise.
64801 (nearbyintf): Likewise.
64802
64803 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
64804
64805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64806 non-default versions.
64807
64808 2012-06-11 Roland McGrath <roland@hack.frob.com>
64809
64810 [BZ #14218]
64811 * manual/argp.texi (Argp): Reword argp_parse description slightly.
64812
64813 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
64814
64815 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64816 (FE_UPWARD, FE_DOWNWARD): Don't define.
64817 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64819
64820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64821 reading it.
64822 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64823 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64824
64825 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64826
64827 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64829 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64830 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64831
64832 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
64833
64834 [BZ #14117]
64835 * sysdeps/i386/fpu/bits/fenv.h: Removed.
64836 * sysdeps/i386/fpu/Implies: New file.
64837 * sysdeps/x86_64/fpu/Implies: Likewise.
64838 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64839 * sysdeps/x86/fpu/bits/fenv.h: This.
64840
64841 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64842 __SSE_MATH__.
64843
64844 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
64845
64846 [BZ #14134]
64847 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64848 character 0xffff that matches the last element of the
64849 conversion table.
64850
64851 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64852
64853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64854 fmodl commit.
64855
64856 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64857
64858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64859 values higher than 25.6283.
64860
64861 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64862
64863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64864 subnormal exponent extraction and add some __builtin_expect.
64865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64866 Fix for subnormal mantissa calculation.
64867
64868 2012-06-04 Mike Frysinger <vapier@gentoo.org>
64869
64870 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64871 cpu2 is -1 and errno is not ENOSYS.
64872
64873 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
64874
64875 [BZ #14117]
64876 * sysdeps/i386/i486/bits/string.h: Renamed to ...
64877 * sysdeps/x86/bits/string.h: This.
64878 * sysdeps/x86_64/bits/string.h: Removed.
64879
64880 * sysdeps/i386/i486/bits/string.h: Define inline functions only
64881 if not compiling for x86-64, but compiling for >= i486.
64882
64883 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64884 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64885
64886 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64887 New macro from Linux kernel 3.4.0.
64888 (FP_XSTATE_MAGIC2): Likewise.
64889 (FP_XSTATE_MAGIC2_SIZE): Likewise.
64890 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64891 (struct _fpx_sw_bytes): New struct.
64892 (struct _xsave_hdr): Likewise.
64893 (struct _ymmh_state): Likewise.
64894 (struct _xstate): Likewise.
64895
64896 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64897 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64898 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64899 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64900 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64901 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64902
64903 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64904 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64905 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64906 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64907 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64908 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64909
64910 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64911
64912 [BZ #13743]
64913 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64914 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64915 (sysdep_headers): Include sys/platform/ppc.h.
64916 * sysdeps/powerpc/test-gettimebase.c: Test for
64917 __ppc_get_timebase() to catch future ISA opcode/insn changes.
64918 * manual/Makefile (appendices): Include platform.texi.
64919 * manual/contrib.texi (Contributors): Update @node pointers.
64920 * manual/maint.texi (Maintenance): Likewise.
64921 (Platform): New node.
64922 * manual/platform.texi: New file. Document the new features.
64923
64924 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64925 Jakub Jelinek <jakub@redhat.com>
64926
64927 [BZ #14188]
64928 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64929 where __builtin_expect is unavailable.
64930
64931 2012-06-03 David S. Miller <davem@davemloft.net>
64932
64933 * stdlib/longlong.h: Updated from GCC.
64934
64935 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
64936
64937 [BZ #14042]
64938 * sysdeps/powerpc/powerpc32/mcount.c: New file.
64939 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64940 __mcount_internal.
64941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64942 (GLIBC_2.16): Likewise.
64943
64944 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
64945
64946 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64947
64948 2012-06-01 Joseph Myers <joseph@codesourcery.com>
64949
64950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64951 (default-abi): New variable.
64952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64953 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64954 variable.
64955 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64956 Likewise.
64957 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64958 Likewise.
64959 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64960 Likewise.
64961
64962 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64963 definition. Document in comment.
64964
64965 2012-06-01 David S. Miller <davem@davemloft.net>
64966
64967 * stdlib/longlong.h: Updated from GCC.
64968
64969 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
64970
64971 [BZ #14117]
64972 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64973 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64974 sys/debugreg.h sys/io.h here.
64975 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64976 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64977 sys/io.h.
64978 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64979 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64980 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64981 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64982 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64983 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64984
64985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64986 Define only if __x86_64__ is defined.
64987
64988 2012-06-01 Joseph Myers <joseph@codesourcery.com>
64989
64990 [BZ #14048]
64991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64992 Use int64_t for variable i.
64993 * math/libm-test.inc (fmod_test): Add more tests.
64994
64995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64996 z computation is not scheduled after fetestexcept.
64997 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64998 Use math_force_eval instead of asm to ensure calculation scheduled
64999 before exception test.
65000 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65001 Ensure a1 + u.d computation is not scheduled after fetestexcept.
65002
65003 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
65004
65005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65006 computation is not scheduled after fetestexcept.
65007
65008 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
65009
65010 [BZ #14117]
65011 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65013
65014 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65015
65016 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65017 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65018
65019 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
65020
65021 [BZ #14117]
65022 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65023 <bits/wordsize.h>.
65024 (__WCHAR_MIN): Support __WORDSIZE == 64.
65025 (__WCHAR_MAX): Likewise.
65026
65027 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65028 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65029
65030 [BZ #14183]
65031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65032 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65033
65034 [BZ #14117]
65035 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65036 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65037
65038 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65039 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65040
65041 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65042 Defined to 1 if __x86_64__ isn't defined.
65043 (_STAT_VER_LINUX_OLD): New.
65044 (st_atime): Remove duplicate.
65045 (st_mtime): Likewise.
65046 (st_ctime): Likewise.
65047
65048 2012-05-31 David S. Miller <davem@davemloft.net>
65049
65050 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65051 entries.
65052
65053 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
65054
65055 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65056 gen-libm-test.pl.
65057
65058 [BZ #14132]
65059 * elf/dl-reloc.c: Include <_itoa.h>.
65060 (_dl_reloc_bad_type): Remove use of INTUSE.
65061 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65062 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65063 * stdio-common/psiginfo.c (psiginfo): Likewise.
65064 * stdio-common/psignal.c (psignal): Likewise.
65065 * string/strsignal.c (strsignal): Likewise.
65066 * include/signal.h (_sys_siglist): Declare hidden proto.
65067 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
65068 INTVARDEF with libc_hidden_data_def.
65069 * stdio-common/itoa-udigits.c: Likewise.
65070 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65071 (_itoa_lower_digits_internal): Remove declaration.
65072 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65073 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65074 (_sys_sigabbrev_internal): Remove aliases.
65075 (_sys_siglist): Define hidden alias.
65076
65077 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
65078
65079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65080 bits/sysctl.h.
65081
65082 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
65083
65084 [BZ #14117]
65085 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65086 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65087
65088 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65089 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65090 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65091 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65092 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65093 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65094
65095 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65096 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65097 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65098
65099 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65100 with __addr.
65101 (insw): Likewise.
65102 (insl): Likewise.
65103 (outsb): Likewise.
65104 (outsw): Likewise.
65105 (outsl): Likewise.
65106
65107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65109 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65110
65111 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65112 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65113 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65114 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65115 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65117
65118 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65119 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65120
65121 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65122 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65123
65124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65126 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65127
65128 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65129 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65130 to ...
65131 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65132
65133 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65134 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65135 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65136
65137 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65138 for x86-64.
65139 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65140
65141 2012-05-31 Joseph Myers <joseph@codesourcery.com>
65142
65143 * math/math.h (M_El): Use two more decimal places.
65144 (M_LOG2El): Likewise.
65145 (M_LOG10El): Likewise.
65146 (M_LN2l): Likewise.
65147 (M_LN10l): Likewise.
65148 (M_PIl): Likewise.
65149 (M_PI_2l): Likewise.
65150 (M_PI_4l): Likewise.
65151 (M_1_PIl): Likewise.
65152 (M_2_PIl): Likewise.
65153 (M_2_SQRTPIl): Likewise.
65154 (M_SQRT2l): Likewise.
65155 (M_SQRT1_2l): Likewise.
65156
65157 2012-05-31 David S. Miller <davem@davemloft.net>
65158
65159 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65160 values between float registers.
65161 * sysdeps/sparc/sparc64/memset.S: Likewise.
65162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65163
65164 2012-05-31 Mike Frysinger <vapier@gentoo.org>
65165
65166 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65167 -D_FORTIFY_SOURCE=1.
65168 (CPPFLAGS-tst-longjmp_chk.c): Define.
65169 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65170 (CPPFLAGS-tst-longjmp_chk2.c): Define.
65171 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65172 CFLAGS-tst-wchar-h.c.
65173
65174 2012-05-31 Marek Polacek <polacek@redhat.com>
65175
65176 [BZ #14132]
65177 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65178 __endmntent_internal): Remove declaration.
65179 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65180 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65181 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65182
65183 2012-05-30 David S. Miller <davem@davemloft.net>
65184
65185 * sysdeps/sparc/sparc32/soft-fp/q_util.c
65186 (___Q_simulate_exceptions): Use real FP ops rather than writing
65187 into the %fsr.
65188 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65189 Likewise.
65190
65191 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
65192
65193 [BZ #14117]
65194 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65195 * sysdeps/x86/bits/xtitypes.h: This.
65196
65197 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65198 * sysdeps/x86/bits/wordsize.h: This.
65199
65200 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65201 * sysdeps/x86/bits/huge_vall.h: This.
65202
65203 * sysdeps/i386/bits/select.h: Removed.
65204 * sysdeps/x86_64/bits/select.h: Renamed to ...
65205 * sysdeps/x86/bits/select.h: This.
65206
65207 * sysdeps/i386/bits/setjmp.h: Removed.
65208 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65209 * sysdeps/x86/bits/setjmp.h: This.
65210
65211 * sysdeps/i386/bits/mathdef.h: Removed.
65212 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65213 * sysdeps/x86/bits/mathdef.h: This.
65214
65215 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
65216
65217 [BZ #14132]
65218 * include/sys/socket.h (__connect_internal)
65219 (__libc_sa_len_internal): Remove declaration.
65220 (__connect, __libc_sa_len): Declare hidden_proto.
65221 (SA_LEN): Remove use of INTUSE.
65222 * socket/connect.c: Add libc_hidden_def.
65223 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65224 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65225 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65226 alias.
65227 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65228 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65229 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65230 of adding _internal alias.
65231
65232 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
65233
65234 [BZ #14117]
65235 * sysdeps/i386/bits/link.h: Removed.
65236 * sysdeps/i386/bits/linkmap.h: Likewise.
65237 * sysdeps/x86_64/bits/link.h: Renamed to ...
65238 * sysdeps/x86/bits/link.h: This.
65239 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65240 * sysdeps/x86/bits/linkmap.h: This.
65241
65242 * sysdeps/i386/bits/endian.h: Removed.
65243 * sysdeps/x86_64/bits/endian.h: Renamed to ...
65244 * sysdeps/x86/bits/endian.h: This.
65245
65246 * sysdeps/i386/bits/byteswap.h: Removed.
65247 * sysdeps/i386/bits/byteswap-16.h: Likewise.
65248 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65249 * sysdeps/x86/bits/byteswap.h: This.
65250 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65251 * sysdeps/x86/bits/byteswap-16.h: This.
65252 * sysdeps/i386/Implies: Add x86.
65253 * sysdeps/x86_64/Implies: Likewise.
65254
65255 2012-05-30 David S. Miller <davem@davemloft.net>
65256
65257 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65258 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65259 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65260 (FP_TRAPPING_EXCEPTIONS): Define.
65261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65262 (FP_TRAPPING_EXCEPTIONS): Define.
65263 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65264 subnormals only when inexact has been signalled or underflow
65265 exceptions are enabled.
65266 (_FP_PACK_CANONICAL): Likewise.
65267
65268 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
65269
65270 [BZ #14183]
65271 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65272 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65273
65274 2012-05-30 Richard Henderson <rth@twiddle.net>
65275
65276 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65277 with #ifndef NOT_IN_libc.
65278
65279 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
65280 marked to avoid plt entry.
65281
65282 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
65283
65284 [BZ #14112]
65285 * Makeconfig (default-abi): New macro.
65286 (abi-includes): Likewise.
65287 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
65288 $(abi-$(default-abi)-lib-soname) for soname if defined.
65289 ($(common-objpfx)gnu/lib-names.stmp): Generate from
65290 abi-variants.
65291 * Makefile (installed-stubs): Likewise.
65292 * include/stubs-biarch.h: Removed.
65293 * scripts/lib-names.awk: Only handle one library at a time.
65294 * scripts/soversions.awk: Remove WORDSIZE support.
65295 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65296 entries.
65297 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65298 Removed.
65299 (syscall-list-default-condition): Likewise.
65300 (syscall-list-default-condition): Likewise.
65301 (syscall-list-includes): Likewise.
65302 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65303 syscall-list-* with abi-*. Handle undefined abi-variants.
65304 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65305 * sysdeps/unix/sysv/linux/i386/Implies: New file.
65306 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65307 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65308 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65309 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65310 Removed.
65311 (syscall-list-32-options): Likewise.
65312 (syscall-list-32-condition): Likewise.
65313 (syscall-list-64-options): Likewise.
65314 (syscall-list-64-condition): Likewise.
65315 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65316 macro.
65317 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65318 Renamed to ...
65319 (abi-*): This.
65320 (abi-64-ld-soname): New macro.
65321 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65322 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65323 Renamed to ...
65324 (abi-*): This.
65325 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65326 * sysdeps/x86_64/x32/shlib-versions: Likewise.
65327
65328 2012-05-30 Joseph Myers <joseph@codesourcery.com>
65329
65330 * sysdeps/unix/sysv/linux/kernel-features.h
65331 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65332 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65333 include <kernel-features.h>.
65334 [!__NR_ftruncate64]: Remove conditional code.
65335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65336 [__NR_ftruncate64]: Make code unconditional.
65337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65338 * sysdeps/unix/sysv/linux/truncate64.c: Do not
65339 include <kernel-features.h>.
65340 [!__NR_ftruncate64]: Remove conditional code.
65341 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65342 [__NR_ftruncate64]: Make code unconditional.
65343 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65345 include <kernel-features.h>.
65346 [!__NR_ftruncate64]: Remove conditional code.
65347 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65348 [__NR_ftruncate64]: Make code unconditional.
65349 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65351 include <kernel-features.h>.
65352 [!__NR_ftruncate64]: Remove conditional code.
65353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65354 [__NR_ftruncate64]: Make code unconditional.
65355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65356
65357 * configure.in (libc_cv_fpie): Weaken to a compile test using
65358 LIBC_TRY_CC_OPTION.
65359 * configure: Regenerated.
65360
65361 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65362
65363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65367 Refreshed.
65368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65374 Refreshed.
65375
65376 2012-05-27 David S. Miller <davem@davemloft.net>
65377
65378 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65379 (___Q_zero): New.
65380 (__Q_simulate_exceptions): Return void. Change to simulate
65381 exceptions by writing into the %fsr.
65382 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65383 (__Qp_handle_exceptions): Likewise.
65384 (numbers): Delete.
65385 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65386 __Qp_handle_exceptions.
65387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65388 __Qp_handle_exceptions.
65389 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65390 as unused and give dummy FP_RND_NEAREST initializer.
65391 (FP_INHIBIT_RESULTS): Define.
65392 (___Q_simulate_exceptions): Update declaration.
65393 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65394 formatting.
65395 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65396 as unused and give dummy FP_RND_NEAREST initializer.
65397 (__Qp_handle_exceptions): Update declaration.
65398 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65399 formatting.
65400
65401 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
65402
65403 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65404 the temporary FPU control word.
65405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65406 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65407 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65408 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65409 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65410 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65411 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65412 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65413 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65414 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65415 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65416
65417 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
65418
65419 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65420 fields.
65421
65422 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
65423
65424 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65425 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65426 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65427 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65428 Likewise.
65429 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65430 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65431 Likewise.
65432
65433 2012-05-27 Ulrich Drepper <drepper@gmail.com>
65434
65435 * po/h.po: Update from translation team.
65436
65437 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
65438
65439 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65440
65441 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65442 handling of denormals.
65443 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65444 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65446 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65450 Likewise.
65451
65452 2012-05-26 Marek Polacek <polacek@redhat.com>
65453
65454 [BZ #14152]
65455 * math/libm-test.inc (fma_test): Don't always expect underflow
65456 exception.
65457
65458 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
65459
65460 [BZ #12416]
65461 * elf/tst-execstack.c: Include stackinfo.h.
65462 (do_test): Adjust test case to ensure that pthread_getattr_np
65463 behaviour remains the same after marking stack executable.
65464
65465 2012-05-25 Joseph Myers <joseph@codesourcery.com>
65466
65467 * sysdeps/unix/sysv/linux/kernel-features.h
65468 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65469 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65470 kernel-features.h.
65471 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65472 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65473 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65474 kernel-features.h.
65475 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65476 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65477
65478 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
65479
65480 * configure.in: Define the default includes to being none.
65481 * configure: Regenerated.
65482
65483 2012-05-25 Roland McGrath <roland@hack.frob.com>
65484
65485 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65486 * sysdeps/x86_64/setjmp.S: Likewise.
65487 * sysdeps/i386/bsd-setjmp.S: Likewise.
65488 * sysdeps/i386/bsd-_setjmp.S: Likewise.
65489 * sysdeps/i386/setjmp.S: Likewise.
65490 * sysdeps/i386/__longjmp.S: Likewise.
65491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65492 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65493
65494 * include/stap-probe.h: New file.
65495 * configure.in: Handle --enable-systemtap.
65496 * configure: Regenerated.
65497 * config.h.in (USE_STAP_PROBE): New #undef.
65498 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65499 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65500 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65501
65502 2012-05-25 Joseph Myers <joseph@codesourcery.com>
65503
65504 [BZ #13717]
65505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65506 to 2.4.0 where earlier.
65507 * sysdeps/unix/sysv/linux/configure: Regenerated.
65508 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65509 <kernel-features.h>.
65510 [__ASSUME_32BITUIDS]: Make code unconditional.
65511 [!__ASSUME_32BITUIDS]: Remove conditional code.
65512 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65513 <kernel-features.h>.
65514 [__ASSUME_32BITUIDS]: Make code unconditional.
65515 [!__ASSUME_32BITUIDS]: Remove conditional code.
65516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65517 [__ASSUME_32BITUIDS]: Make code unconditional.
65518 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65519 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65520 <kernel-features.h>.
65521 [__ASSUME_32BITUIDS]: Make code unconditional.
65522 [!__ASSUME_32BITUIDS]: Remove conditional code.
65523 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65524 <kernel-features.h>.
65525 [__ASSUME_32BITUIDS]: Make code unconditional.
65526 [!__ASSUME_32BITUIDS]: Remove conditional code.
65527 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65528 <kernel-features.h>.
65529 [__ASSUME_32BITUIDS]: Make code unconditional.
65530 [!__ASSUME_32BITUIDS]: Remove conditional code.
65531 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65532 <kernel-features.h>.
65533 [__ASSUME_32BITUIDS]: Make code unconditional.
65534 [!__ASSUME_32BITUIDS]: Remove conditional code.
65535 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65536 <kernel-features.h>.
65537 [__ASSUME_32BITUIDS]: Make code unconditional.
65538 [!__ASSUME_32BITUIDS]: Remove conditional code.
65539 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65540 <kernel-features.h>.
65541 [__ASSUME_32BITUIDS]: Make code unconditional.
65542 [!__ASSUME_32BITUIDS]: Remove conditional code.
65543 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65544 <kernel-features.h>.
65545 [__ASSUME_32BITUIDS]: Make code unconditional.
65546 [!__ASSUME_32BITUIDS]: Remove conditional code.
65547 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65548 <kernel-features.h>.
65549 [__ASSUME_32BITUIDS]: Make code unconditional.
65550 [!__ASSUME_32BITUIDS]: Remove conditional code.
65551 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65552 <kernel-features.h>.
65553 [__ASSUME_32BITUIDS]: Make code unconditional.
65554 [!__ASSUME_32BITUIDS]: Remove conditional code.
65555 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65556 <kernel-features.h>.
65557 [__ASSUME_32BITUIDS]: Make code unconditional.
65558 [!__ASSUME_32BITUIDS]: Remove conditional code.
65559 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65560 <kernel-features.h>.
65561 [__NR_setresgid] (__setresgid): Do not declare.
65562 [__ASSUME_32BITUIDS]: Make code unconditional.
65563 [!__ASSUME_32BITUIDS]: Remove conditional code.
65564 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65565 <kernel-features.h>.
65566 [__NR_setresuid] (__setresuid): Do not declare.
65567 [__ASSUME_32BITUIDS]: Make code unconditional.
65568 [!__ASSUME_32BITUIDS]: Remove conditional code.
65569 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65570 <kernel-features.h>.
65571 [__ASSUME_32BITUIDS]: Make code unconditional.
65572 [!__ASSUME_32BITUIDS]: Remove conditional code.
65573 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65574 <kernel-features.h>.
65575 [__ASSUME_32BITUIDS]: Make code unconditional.
65576 [!__ASSUME_32BITUIDS]: Remove conditional code.
65577 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65578 <kernel-features.h>.
65579 [__ASSUME_32BITUIDS]: Make code unconditional.
65580 [!__ASSUME_32BITUIDS]: Remove conditional code.
65581 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65582 <kernel-features.h>.
65583 [__ASSUME_32BITUIDS]: Make code unconditional.
65584 [!__ASSUME_32BITUIDS]: Remove conditional code.
65585 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65586 <kernel-features.h>.
65587 [__ASSUME_32BITUIDS]: Make code unconditional.
65588 [!__ASSUME_32BITUIDS]: Remove conditional code.
65589 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65590 <kernel-features.h>.
65591 [__ASSUME_32BITUIDS]: Make code unconditional.
65592 [!__ASSUME_32BITUIDS]: Remove conditional code.
65593 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65594 <kernel-features.h>.
65595 [__ASSUME_32BITUIDS]: Make code unconditional.
65596 [!__ASSUME_32BITUIDS]: Remove conditional code.
65597 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65598 <kernel-features.h>.
65599 [__ASSUME_32BITUIDS]: Make code unconditional.
65600 [!__ASSUME_32BITUIDS]: Remove conditional code.
65601 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65602 <kernel-features.h>.
65603 [__ASSUME_32BITUIDS]: Make code unconditional.
65604 [!__ASSUME_32BITUIDS]: Remove conditional code.
65605 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65606 <kernel-features.h>.
65607 [__ASSUME_32BITUIDS]: Make code unconditional.
65608 [!__ASSUME_32BITUIDS]: Remove conditional code.
65609 * sysdeps/unix/sysv/linux/kernel-features.h
65610 (__ASSUME_SETRESUID_SYSCALL): Remove.
65611 (__ASSUME_SETRESGID_SYSCALL): Likewise.
65612 (__ASSUME_32BITUIDS): Likewise.
65613 (__ASSUME_LDT_WORKS): Likewise.
65614 (__ASSUME_O_DIRECTORY): Likewise.
65615 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65616 architecture but not kernel version.
65617 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65618 (__ASSUME_MMAP2_SYSCALL): Likewise.
65619 (__ASSUME_STAT64_SYSCALL): Likewise.
65620 (__ASSUME_IPC64): Likewise.
65621 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65622 <kernel-features.h>.
65623 [__ASSUME_32BITUIDS]: Make code unconditional.
65624 [!__ASSUME_32BITUIDS]: Remove conditional code.
65625 * sysdeps/unix/sysv/linux/opendir.c: Do not include
65626 <kernel-features.h>.
65627 [__ASSUME_O_DIRECTORY]: Make code unconditional.
65628 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65629 132096]: Remove conditional code.
65630 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65631 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65632 <kernel-features.h>.
65633 [__ASSUME_32BITUIDS]: Make code unconditional.
65634 [!__ASSUME_32BITUIDS]: Remove conditional code.
65635 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65636 <kernel-features.h>.
65637 [__ASSUME_32BITUIDS]: Make code unconditional.
65638 [!__ASSUME_32BITUIDS]: Remove conditional code.
65639 * sysdeps/unix/sysv/linux/setegid.c: Do not include
65640 <kernel-features.h>.
65641 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65642 unconditional.
65643 (__setresgid): Do not declare.
65644 [__ASSUME_32BITUIDS]: Make code unconditional.
65645 [!__ASSUME_32BITUIDS]: Remove conditional code.
65646 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65647 <kernel-features.h>.
65648 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65649 unconditional.
65650 (__setresuid): Do not declare.
65651 [__ASSUME_32BITUIDS]: Make code unconditional.
65652 [!__ASSUME_32BITUIDS]: Remove conditional code.
65653 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65654 <kernel-features.h>.
65655 [__ASSUME_32BITUIDS]: Make code unconditional.
65656 [!__ASSUME_32BITUIDS]: Remove conditional code.
65657 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65658 <kernel-features.h>.
65659 [__ASSUME_32BITUIDS]: Make code unconditional.
65660 [!__ASSUME_32BITUIDS]: Remove conditional code.
65661
65662 2012-05-25 Richard Henderson <rth@twiddle.net>
65663
65664 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65665 dl_hwcap to ifunc resolver.
65666 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65667 elf_ifunc_invoke.
65668 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65669 dl_hwcap to ifunc resolver.
65670 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65671
65672 2012-05-24 Joseph Myers <joseph@codesourcery.com>
65673
65674 [BZ #14153]
65675 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65676 for |x| <= 2**-26, not 2**-57.
65677 * math/libm-test.inc (acos_test): Do not allow spurious underflow
65678 exception.
65679
65680 2012-05-24 Jeff Law <law@redhat.com>
65681
65682 * stdio-common/Makefile (tests): Add bug25.
65683 * stdio-common/bug25.c: New test.
65684
65685 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
65686
65687 [BZ #13576]
65688 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65689 multiple of MALLOC_ALIGNMENT in size.
65690 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65691
65692 2012-05-24 Joseph Myers <joseph@codesourcery.com>
65693
65694 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65695 Require >= 256.
65696 (FILENAME_MAX): Use macro-int-constant.
65697 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
65698 (_IOFBF): Use macro-int-constant.
65699 (_IOLBF): Likewise.
65700 (_IONBF): Likewise.
65701 (SEEK_CUR): Likewise.
65702 (SEEK_END): Likewise.
65703 (SEEK_SET): Likewise.
65704 (TMP_MAX): Likewise.
65705 (EOF): Use macro-int-constant. Require < 0.
65706 (NULL): Use macro-constant. Require == 0.
65707 (stdin): Require type to be FILE *.
65708 (stdout): Likewise.
65709 (stderr): Likewise.
65710 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65711 macro-int-constant.
65712 (EXIT_SUCCESS): Likewise.
65713 (NULL): Use macro-constant. Require == 0.
65714 (RAND_MAX): Use macro-int-constant.
65715 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65716 [C99-based standards] (strtof): Require function.
65717 [C99-based standards] (strtold): Likewise.
65718 [C99-based standards] (strtoll): Likewise.
65719 [C99-based standards] (strtoull): Likewise.
65720 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65721 [ISO || ISO99 || ISO11] (limits.h): Likewise.
65722 [ISO || ISO99 || ISO11] (math.h): Likewise.
65723 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65725 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65726
65727 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
65728
65729 [BZ #14132]
65730 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65731 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65732 * intl/dgettext.c (DCGETTEXT): Likewise.
65733 * intl/gettext.c (DCGETTEXT): Likewise.
65734 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65735 * posix/regex_internal.h (gettext): Likewise.
65736 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65737 Remove declaration.
65738 * include/argz.h (__argz_count_internal)
65739 (__argz_stringify_internal): Remove declaration.
65740 (__argz_count, __argz_stringify): Declare hidden proto.
65741 * intl/dcgettext.c: Remove use of INTDEF.
65742 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65743 * string/argz-stringify.c: Likewise.
65744 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65745 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65746 Declare hidden proto.
65747 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65748 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65749 Declare hidden proto.
65750 * include/stdio.h (__asprintf_internal): Don't declare.
65751 (__asprintf): Don't define as macro. Declare hidden proto.
65752 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65753 (__fsetlocking): Declare hidden proto.
65754 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65755 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65756 hidden proto.
65757 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65758 (_IO_setlinebuf): Remove use of INTUSE.
65759 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65760 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65761 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65762 Remove declaration.
65763 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65764 (_IO_do_flush): Remove use of INTUSE.
65765 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65766 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65767 (_IO_adjust_column, _IO_least_wmarker)
65768 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65769 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65770 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65771 (_IO_default_doallocate, _IO_wdefault_doallocate)
65772 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65773 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65774 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65775 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65776 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65777 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65778 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65779 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65780 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65781 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65782 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65783 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65784 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65785 proto.
65786 (_IO_flush_all_internal, _IO_adjust_column_internal)
65787 (_IO_default_uflow_internal, _IO_default_finish_internal)
65788 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65789 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65790 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65791 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65792 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65793 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65794 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65795 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65796 (_IO_file_close_internal, _IO_file_close_it_internal)
65797 (_IO_file_underflow_internal, _IO_file_overflow_internal)
65798 (_IO_file_init_internal, _IO_file_attach_internal)
65799 (_IO_file_fopen_internal, _IO_file_read_internal)
65800 (_IO_file_sync_internal, _IO_file_seek_internal)
65801 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65802 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65803 (_IO_str_underflow_internal, _IO_str_overflow_internal)
65804 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65805 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65806 (_IO_list_all_internal, _IO_link_in_internal)
65807 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65808 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65809 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65810 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65811 (_IO_do_write_internal, _IO_padn_internal)
65812 (_IO_getline_info_internal, _IO_getline_internal)
65813 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65814 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65815 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65816 (_IO_vfscanf_internal, _IO_vfprintf_internal)
65817 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65818 (_IO_init_internal, _IO_un_link_internal): Don't declare.
65819 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65820 with libc_hidden_ver, remove use of INTUSE.
65821 * libio/genops.c: Likewise.
65822 * libio/freopen.c: Likewise.
65823 * libio/freopen64.c: Likewise.
65824 * libio/iofclose.c: Likewise.
65825 * libio/iofdopen.c: Likewise.
65826 * libio/iofflush.c: Likewise.
65827 * libio/iofflush_u.c: Likewise.
65828 * libio/iofgets.c: Likewise.
65829 * libio/iofgets_u.c: Likewise.
65830 * libio/iofopen.c: Likewise.
65831 * libio/iofopncook.c: Likewise.
65832 * libio/iofread.c: Likewise.
65833 * libio/iofread_u.c: Likewise.
65834 * libio/ioftell.c: Likewise.
65835 * libio/iofwrite.c: Likewise.
65836 * libio/iogetline.c: Likewise.
65837 * libio/iogets.c: Likewise.
65838 * libio/iogetwline.c: Likewise.
65839 * libio/iopadn.c: Likewise.
65840 * libio/iopopen.c: Likewise.
65841 * libio/ioseekoff.c: Likewise.
65842 * libio/ioseekpos.c: Likewise.
65843 * libio/iosetbuffer.c: Likewise.
65844 * libio/iosetvbuf.c: Likewise.
65845 * libio/ioungetc.c: Likewise.
65846 * libio/ioungetwc.c: Likewise.
65847 * libio/iovdprintf.c: Likewise.
65848 * libio/iovsprintf.c: Likewise.
65849 * libio/iovsscanf.c: Likewise.
65850 * libio/memstream.c: Likewise.
65851 * libio/obprintf.c: Likewise.
65852 * libio/oldfileops.c: Likewise.
65853 * libio/oldiofclose.c: Likewise.
65854 * libio/oldiofdopen.c: Likewise.
65855 * libio/oldiofopen.c: Likewise.
65856 * libio/oldiopopen.c: Likewise.
65857 * libio/oldstdfiles.c: Likewise.
65858 * libio/putc.c: Likewise.
65859 * libio/setbuf.c: Likewise.
65860 * libio/setlinebuf.c: Likewise.
65861 * libio/stdfiles.c: Likewise.
65862 * libio/strops.c: Likewise.
65863 * libio/vasprintf.c: Likewise.
65864 * libio/vscanf.c: Likewise.
65865 * libio/vsnprintf.c: Likewise.
65866 * libio/vswprintf.c: Likewise.
65867 * libio/wfiledoalloc.c: Likewise.
65868 * libio/wfileops.c: Likewise.
65869 * libio/wgenops.c: Likewise.
65870 * libio/wmemstream.c: Likewise.
65871 * libio/wstrops.c: Likewise.
65872 * libio/__fpurge.c: Likewise.
65873 * libio/__fsetlocking.c: Likewise.
65874 * assert/assert.c: Likewise.
65875 * debug/fgets_chk.c: Likewise.
65876 * debug/fgets_u_chk.c: Likewise.
65877 * debug/fread_chk.c: Likewise.
65878 * debug/fread_u_chk.c: Likewise.
65879 * debug/gets_chk.c: Likewise.
65880 * debug/obprintf_chk.c: Likewise.
65881 * debug/vasprintf_chk.c: Likewise.
65882 * debug/vdprintf_chk.c: Likewise.
65883 * debug/vsnprintf_chk.c: Likewise.
65884 * debug/vsprintf_chk.c: Likewise.
65885 * malloc/mtrace.c: Likewise.
65886 * misc/error.c: Likewise.
65887 * misc/syslog.c: Likewise.
65888 * stdio-common/asprintf.c: Likewise.
65889 * stdio-common/fxprintf.c: Likewise.
65890 * stdio-common/getw.c: Likewise.
65891 * stdio-common/isoc99_fscanf.c: Likewise.
65892 * stdio-common/isoc99_scanf.c: Likewise.
65893 * stdio-common/isoc99_vfscanf.c: Likewise.
65894 * stdio-common/isoc99_vscanf.c: Likewise.
65895 * stdio-common/isoc99_vsscanf.c: Likewise.
65896 * stdio-common/printf-prs.c: Likewise.
65897 * stdio-common/printf_fp.c: Likewise.
65898 * stdio-common/printf_fphex.c: Likewise.
65899 * stdio-common/printf_size.c: Likewise.
65900 * stdio-common/putw.c: Likewise.
65901 * stdio-common/scanf.c: Likewise.
65902 * stdio-common/sprintf.c: Likewise.
65903 * stdio-common/tmpfile.c: Likewise.
65904 * stdio-common/vfprintf.c: Likewise.
65905 * stdio-common/vfscanf.c: Likewise.
65906 * stdlib/strfmon_l.c: Likewise.
65907 * sunrpc/openchild.c: Likewise.
65908 * sunrpc/xdr_stdio.c: Likewise.
65909 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65910 * sysdeps/mach/hurd/tmpfile.c: Likewise.
65911
65912 2012-05-24 Roland McGrath <roland@hack.frob.com>
65913
65914 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65915
65916 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65917 in the third column, to generate for the shared library an IFUNC
65918 that uses _dl_vdso_vsym.
65919 * Makerules (COMPILE.c, compile-stdin.c): New variables.
65920 * Makeconfig (object-suffixes-noshared): New variable.
65921
65922 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65923 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65924 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65925 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65926
65927 [BZ #14132]
65928 * include/sys/time.h (__gettimeofday): Remove macro.
65929 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65930 * time/gettimeofday.c (__gettimeofday): Remove #undef.
65931 Remove INTDEF.
65932 (__gettimeofday): Add libc_hidden_def.
65933 (gettimeofday): Add libc_hidden_weak.
65934 * sysdeps/mach/gettimeofday.c: Likewise.
65935 * sysdeps/posix/gettimeofday.c: Likewise.
65936 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65937 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65939 (__gettimeofday_internal): Remove strong_alias.
65940 (__gettimeofday): Add libc_hidden_def.
65941 (gettimeofday): Add libc_hidden_weak.
65942 * sysdeps/unix/syscalls.list (gettimeofday):
65943 Remove __gettimeofday_internal alias.
65944
65945 2012-05-24 Daniel Jacobowitz <drow@false.org>
65946 H.J. Lu <hongjiu.lu@intel.com>
65947
65948 [BZ #12495]
65949 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65950 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65951 (largebin_index_32_big): New.
65952 (largebin_index): Use it for 16-byte alignment.
65953 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
65954 correction with front_misalign.
65955
65956 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
65957
65958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65960 Likewise.
65961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65962 Likewise.
65963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65964 Likewise.
65965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65966 Likewise.
65967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65968 Likewise.
65969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65970 Likewise.
65971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65972 Likewise.
65973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65974 Likewise.
65975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65976 Likewise.
65977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65978 Likewise.
65979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65980 Likewise.
65981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65982 Likewise.
65983
65984 * scripts/data/c++-types-x32-linux-gnu.data: New file.
65985 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65986
65987 2012-05-24 Joseph Myers <joseph@codesourcery.com>
65988
65989 [BZ #10846]
65990 [BZ #14036]
65991 * math/libm-test.inc (exp_test): Add test from bug 14036.
65992 (pow_test): Add test from bug 10846.
65993
65994 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65995 and other flags.
65996 (special_function): Do not include flags in test name.
65997 (parse_args): Likewise.
65998 * sysdeps/i386/fpu/libm-test-ulps: Update.
65999 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66000 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66001 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66003
66004 * math/gen-libm-test.pl (%beautify): Add entries for underflow
66005 exceptions.
66006 * math/libm-test.inc ("Philosophy"): Update comment about
66007 exception testing.
66008 (UNDERFLOW_EXCEPTION): New macro.
66009 (UNDERFLOW_EXCEPTION_OK): Likewise.
66010 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66011 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66012 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66013 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66014 (INVALID_EXCEPTION_OK): Update value.
66015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66016 (OVERFLOW_EXCEPTION_OK): Likewise.
66017 (IGNORE_ZERO_INF_SIGN): Likewise.
66018 (test_exceptions): Handle underflow exceptions.
66019 (acos_test): Update for underflow exception expectations.
66020 (cexp_test): Likewise.
66021 (clog_test): Likewise.
66022 (clog10_test): Likewise.
66023 (csqrt_test): Likewise.
66024 (ctan_test): Likewise.
66025 (ctanh_test): Likewise.
66026 (exp_test): Likewise.
66027 (exp10_test): Likewise.
66028 (exp2_test): Likewise.
66029 (expm1_test): Likewise.
66030 (fma_test): Likewise.
66031 (j0_test): Likewise.
66032 (jn_test): Likewise.
66033 (nexttoward_test): Likewise.
66034 (pow_test): Likewise.
66035 (scalbn_test): Likewise.
66036 (scalbln_test): Likewise.
66037 (tan_test): Likewise.
66038 (y1_test): Likewise.
66039 * sysdeps/i386/fpu/libm-test-ulps: Update.
66040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66041
66042 2012-05-23 David S. Miller <davem@davemloft.net>
66043
66044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66045 (__libc_sigaction): Remove unused local variables.
66046
66047 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
66048
66049 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66050
66051 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
66052
66053 mktime: avoid signed integer overflow
66054 * time/mktime.c (__mktime_internal): Do not mishandle the case
66055 where diff == INT_MIN.
66056
66057 mktime: simplify computation of average
66058 * time/mktime.c (ranged_convert): Use new time_t_avg function
66059 instead of rolling our own (probably-slower) code.
66060
66061 mktime: do not assume signed right shift propagates sign bit
66062 * time/mktime.c (isdst_differ): New static function.
66063 (__mktime_internal): No need to normalize tm_isdst now.
66064 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66065 tm_isdst values.
66066
66067 mktime: merge another wrapv change from gnulib
66068 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66069 from some compilers.
66070
66071 mktime: remove incorrect attempt at unusual arithmetics
66072 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66073 The code didn't really work on such machines anyway.
66074 (TYPE_MINIMUM): Assume two's complement.
66075 (twos_complement_arithmetic): Verify that long_int and time_t
66076 are two's complement (or unsigned, in the latter case).
66077
66078 mktime: check signed shifts on long_int and time_t, too
66079 * time/mktime.c (SHR): Check that shifts work as desired
66080 on the types long_int and time_t too, as SHR is used on
66081 such types.
66082
66083 mktime: do not assume 'long' is wide enough
66084 * time/mktime.c (verify): Move decl up.
66085 (long_int): New type.
66086 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66087 to remove assumption in the code that 'long' is wide enough to
66088 store year values. This assumption is not true on x32 and on
66089 some non-glibc platforms.
66090
66091 mktime: merge wrapv change from gnulib
66092 * time/mktime.c (WRAPV): New macro.
66093 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66094 (guess_time_tm, __mktime_internal): Do not assume that signed
66095 integer overflow wraps around; modern compilers generate code
66096 where this assumption is no longer valid.
66097
66098 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
66099
66100 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66101 Replace "jmp L(pseudo_end)" with "ret".
66102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66103 Likewise.
66104
66105 2012-05-23 Andreas Jaeger <aj@suse.de>
66106
66107 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66108 * sysdeps/unix/sysv/linux/poll.c: Remove file.
66109
66110 2012-05-23 Andreas Jaeger <aj@suse.de>
66111 Maximilian Attems <max@stro.at>
66112
66113 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66114 New macros.
66115
66116 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
66117
66118 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66119 code so that pseudo_end is just ret and the stack pointer is
66120 correct also for static library in error case.
66121
66122 2012-05-23 Joseph Myers <joseph@codesourcery.com>
66123
66124 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66125 move to syscalls.list.
66126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66130
66131 * manual/install.texi (Running make install): Do not mention Linux
66132 kernel version for which pt_chown is not needed.
66133 (Linux): Do not mention problems with nscd with 2.0 kernels.
66134 * INSTALL: Regenerated.
66135
66136 2012-05-23 Andreas Jaeger <aj@suse.de>
66137
66138 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66139 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66140 macro.
66141 * sysdeps/unix/sysv/linux/s390/bits/mman.h
66142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66143 * sysdeps/unix/sysv/linux/sh/bits/mman.h
66144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66145 * sysdeps/unix/sysv/linux/i386/bits/mman.h
66146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66147 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66151 * sysdeps/unix/sysv/linux/bits/in.h
66152 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66153
66154 2012-05-22 Roland McGrath <roland@hack.frob.com>
66155
66156 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66157 (PREPARE_VERSION): Just use assert instead, it will be elided
66158 under [NDEBUG] anyway.
66159
66160 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
66161
66162 * sysdeps/unix/sysv/linux/Makefile: Include
66163 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66164 (sysdep_routines): Remove sysctl.
66165 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66166 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66167 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66168 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66169 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66170
66171 2012-05-22 Andreas Jaeger <aj@suse.de>
66172
66173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66174 that pseudo_end is just ret and the stack pointer is correct also
66175 for static library in error case.
66176
66177 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
66178
66179 [BZ #14122]
66180 * nss/nsswitch.c (defconfig_entries): New variable.
66181 (__nss_database_lookup): Don't leak defconfig entries.
66182 (nss_parse_service_list): Don't leak on error paths.
66183 (free_database_entries): New function.
66184 (free_defconfig): New function.
66185 (free_mem): Move common code to free_database_entries.
66186
66187 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
66188
66189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66190 Add arch_prctl.
66191 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66192
66193 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66194 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66196 New macro.
66197 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66198 (INTERNAL_SYSCALL_TYPES): Likewise.
66199 (LOAD_ARGS_TYPES_[1-6]): Likewise.
66200 (LOAD_REGS_TYPES_[1-6]): Likewise.
66201 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66202 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66203
66204 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66205
66206 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66207 copysignl for GLIBC_2_0.
66208 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66209 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66211 logbl for GLIBC_2_0.
66212 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66213 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66214
66215 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
66216
66217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66218 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
66219
66220 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66221 Use "neg %eax".
66222
66223 * time/mktime.c: Update copyright years.
66224
66225 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
66226
66227 mktime: merge comment-quoting-style change from gnulib
66228 * time/mktime.c: Quote 'like this' in comments.
66229 The GNU coding standards suggest that we no longer quote `like this',
66230 as "`" and "'" are typically rendered asymmetrically nowadays.
66231 The typical gnulib style is to quote 'like this' when quoting
66232 code, and "like this" when quoting English.
66233
66234 * time/mktime.c (compile-command): Add "-I.".
66235
66236 mktime: merge mktime-internal.h change from gnulib
66237 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66238
66239 mktime: merge time_r change from gnulib
66240 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66241
66242 mktime: merge DEBUG change from gnulib
66243 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66244 case system <time.h> has a #define.
66245
66246 mktime: merge <sys/types.h> change from gnulib
66247 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66248 since <time.t> is now guaranteed to define time_t.
66249
66250 mktime: merge HAVE_CONFIG_H change from gnulib
66251 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66252
66253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
66254
66255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66256 Use "neg %eax".
66257
66258 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66259 __rlim_t cast.
66260 (struct rusage): Use anonymous union to pad each field to
66261 __syscall_slong_t.
66262
66263 2012-05-21 David S. Miller <davem@davemloft.net>
66264
66265 * Makefules (o-iterator): Remove .s cases.
66266 (compile-command.s): Delete.
66267 (COMPILE.s): Delete.
66268 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66269
66270 2012-05-21 Joseph Myers <joseph@codesourcery.com>
66271
66272 * configure.in (libc_cv_predef_stack_protector): Only consider
66273 "foobar" and "__stack_chk_fail" lines in libc_undefs.
66274 * configure: Regenerated.
66275
66276 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
66277
66278 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66279 New macro. Use R*LP on int and pointer.
66280 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66281 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66282 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66283 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66284
66285 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66286 [__WORDSIZE_TIME64_COMPAT32] instead of
66287 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66288 (struct utmp): Likewise.
66289 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66290 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66291 Renamed to ...
66292 (__WORDSIZE_TIME64_COMPAT32): This.
66293 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66294 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66295 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66296 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66297 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66298 (__WORDSIZE_TIME64_COMPAT32): New macro.
66299
66300 2012-05-21 Andreas Jaeger <aj@suse.de>
66301
66302 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66303 only if [SHARED]. Add prototype for __wcschr_ia32.
66304
66305 2012-05-21 Roland McGrath <roland@hack.frob.com>
66306
66307 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66308 of %rbp unmolested in the jmp_buf while mangling the low bits.
66309 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66310 unmolested high bits of %rbp while demangling the low bits.
66311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66312
66313 2012-05-21 Andreas Jaeger <aj@suse.de>
66314
66315 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66316 * sunrpc/svc_simple.c: Use it for registerrpc.
66317 * sunrpc/xcrypt.c: Use it for passwd2des.
66318
66319 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66320
66321 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
66322
66323 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66324 Don't define if [__SYSCALL_WORDSIZE != 32].
66325 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66326 New macro.
66327
66328 2012-05-21 Bruno Haible <bruno@clisp.org>
66329 Andreas Jaeger <aj@suse.de>
66330
66331 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66332 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66333 inptr and inend for must_buffer_ch.
66334 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66335 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66336 * stdio-common/Makefile (tests): Remove bug15.
66337 (bug15-ENV): Remove macro.
66338 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66339 anymore.
66340
66341 2012-05-19 Andreas Jaeger <aj@suse.de>
66342 Roland McGrath <roland@hack.frob.com>
66343
66344 * manual/contrib.texi: Completely rewritten. It contains now an
66345 alphabetical list of contributors and their contributions.
66346
66347 2012-05-21 Richard Henderson <rth@twiddle.net>
66348
66349 * misc/getauxval.c (__getauxval): Use unsigned long int.
66350 * misc/sys/auxv.h: Include <sys/cdefs.h>.
66351 (getauxval): Use unsigned long int.
66352
66353 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
66354
66355 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66356
66357 2012-05-21 Roland McGrath <roland@hack.frob.com>
66358
66359 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66360 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66361 __alignof__ (long double).
66362
66363 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66364
66365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66366
66367 2012-05-20 Richard Henderson <rth@twiddle.net>
66368
66369 * misc/getauxval.c: New file.
66370 * misc/sys/auxv.h: New file.
66371 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66372 (routines): Add getauxval.
66373 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66374 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66375 * elf/dl-sysdep.c (_dl_auxv): Remove.
66376 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66377 * elf/dl-support.c (_dl_auxv): New variable.
66378 (_dl_aux_init): Initialize it.
66379 * manual/startup.texi (Auxiliary Vector): New node.
66380 * sysdeps/generic/bits/hwcap.h: New file.
66381 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66382 * sysdeps/powerpc/sysdep.h: ... here. Include it.
66383 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66384 * sysdeps/sparc/sysdep.h: ... here. Include it.
66385 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66388 Update.
66389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66397
66398 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66399
66400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66401
66402 2012-05-19 David S. Miller <davem@davemloft.net>
66403
66404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66405
66406 2012-05-19 Joseph Myers <joseph@codesourcery.com>
66407
66408 [BZ #14123]
66409 * math/s_ccosh.c: Include <float.h>
66410 (__ccosh): Avoid internal overflow calculating sinh and cosh
66411 values before multiplying by sin and cos values.
66412 * math/s_ccoshf.c: Likewise.
66413 * math/s_ccoshl.c: Likewise.
66414 * math/s_csin.c: Likewise.
66415 * math/s_csinf.c: Likewise.
66416 * math/s_csinl.c: Likewise.
66417 * math/s_csinh.c: Likewise.
66418 * math/s_csinhf.c: Likewise.
66419 * math/s_csinhl.c: Likewise.
66420 * math/libm-test.inc (ccos_test): Add more tests.
66421 (ccosh_test): Likewise.
66422 (csin_test): Likewise.
66423 (csinh_test): Likewise.
66424 * sysdeps/i386/fpu/libm-test-ulps: Update.
66425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66426
66427 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
66428
66429 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66430 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66431
66432 * sysdeps/x86_64/x32/_itoa.h: Add comment.
66433
66434 2012-05-19 Joseph Myers <joseph@codesourcery.com>
66435
66436 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66437 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66438 * sysdeps/powerpc/soft-fp/Versions: Likewise.
66439 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66440 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66441 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66442 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66443 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66444 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66445 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66446 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66447 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66448 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66449 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66450 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66451 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66452 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66453 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66454 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66455 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66456 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66457 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66458 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66459 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66460 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66461 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66462 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66463 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66464 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66465 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66466 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66467
66468 2012-05-18 Andreas Jaeger <aj@suse.de>
66469
66470 * csu/.gitignore: Delete.
66471
66472 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
66473
66474 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66475 (timex): Use __syscall_slong_t.
66476
66477 2012-05-18 Andreas Jaeger <aj@suse.de>
66478 Carlos O'Donell <carlos_odonell@mentor.com>
66479
66480 * manual/install.texi (Configuring and compiling): Update
66481 description about files modified in the source directory.
66482 * INSTALL: Regenerated.
66483
66484 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
66485
66486 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66487 value. Use "or" to set return value to -1.
66488 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66489 negate return value.
66490
66491 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66492
66493 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66494 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66495 failure if the compiler has Graphite support disabled.
66496 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66497 Likewise.
66498 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66499 (CFLAGS-memmove.c): Likewise.
66500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66501 Likewise.
66502
66503 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
66504
66505 * sysdeps/x86_64/x32/_itoa.h: New file.
66506
66507 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66508 getdents system call only if kernel and user dirents have the
66509 same d_ino and d_off.
66510
66511 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66512 LLONG_MAX != LONG_MAX.
66513 (_itoa_word): Use _ITOA_WORD_TYPE on value.
66514 (_fitoa_word): Likewise.
66515
66516 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66517 years.
66518 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66520 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66521
66522 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66523 include <bits/wordsize.h>. Check __x86_64__ instead of
66524 __WORDSIZE.
66525 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66526 if __x86_64__ is defined. Use anonymous union on fpstate.
66527
66528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66529 anonymous union.
66530
66531 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
66532
66533 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66534 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66535 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66536 Refer to _rtld_local_ro instead of _rtld_global_ro.
66537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66538 Likewise.
66539 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66540 Likewise.
66541 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66542 Likewise.
66543 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66544 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66545 of _rtld_global, and rtld_progname instead of _dl_argv[0].
66546
66547 [BZ #10882]
66548 * sysdeps/powerpc/powerpc32/dl-machine.c
66549 (__elf_machine_runtime_setup) [PROF]: Don't reference
66550 _dl_prof_resolve.
66551
66552 2012-05-18 Andreas Jaeger <aj@suse.de>
66553
66554 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66555 function only available for GCCs before 3.4 since GCC 3.4
66556 introduced a builtin.
66557 (lrint): Likewise.
66558 (llrintf): Likewise.
66559 (llrint): Likewise.
66560 (fmaxf): Likewise.
66561 (fmax): Likewise.
66562 (fminf): Likewise.
66563 (fmin): Likewise.
66564 (rint): Likewise.
66565 (rintf): Likewise.
66566 (nearbyint): Likewise.
66567 (nearbyintf): Likewise.
66568 (ceil): Likewise.
66569 (ceilf): Likewise.
66570 (floor): Likewise.
66571 (floorf): Likewise.
66572
66573 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
66574
66575 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66576 on both fields and cast pointer to __syscall_ulong_t.
66577
66578 * bits/types.h (__fsword_t): New type.
66579 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66580 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66582 (__FSWORD_T_TYPE): Likewise.
66583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66584 (__FSWORD_T_TYPE): Likewise.
66585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66586 (__FSWORD_T_TYPE): Likewise.
66587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66588 (__FSWORD_T_TYPE): Likewise.
66589 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66590 __SWORD_TYPE with __fsword_t.
66591 (statfs64): Likewise.
66592
66593 2012-05-17 David S. Miller <davem@davemloft.net>
66594
66595 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66596
66597 2012-05-17 Andreas Jaeger <aj@suse.de>
66598
66599 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66600 warning.
66601
66602 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
66603
66604 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66605
66606 2012-05-17 Andreas Jaeger <aj@suse.de>
66607
66608 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66609 when it is used.
66610
66611 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
66612
66613 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66614
66615 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
66616
66617 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66618 * sysdeps/x86_64/tst-mallocalign1.c: New file.
66619
66620 2012-05-17 Andreas Jaeger <aj@suse.de>
66621 Carlos O'Donell <carlos_odonell@mentor.com>
66622
66623 [BZ #14059]
66624 * sysdeps/x86_64/multiarch/init-arch.h
66625 (bit_YMM_Usable): Rename to...
66626 (bit_AVX_Usable): ... this.
66627 (bit_FMA4_Usable): New macro.
66628 (bit_XMM_state): New macro.
66629 (bit_YMM_state): New macro.
66630 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66631 [__ASSEMBLER__] (index_AVX_Usable): ... this.
66632 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66633 (CPUID_OSXSAVE): New macro.
66634 (CPUID_AVX): New macro.
66635 (CPUID_FMA4): New macro.
66636 (index_YMM_Usable): Rename to...
66637 (index_AVX_Usable): ... this.
66638 (HAS_AVX): Use HAS_ARCH_FEATURE.
66639 (HAS_FMA4): Likewise.
66640 (HAS_YMM_USABLE): Remove.
66641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66642 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66643 are present.
66644 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66645 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66646 * sysdeps/x86_64/multiarch/Makefile: Likewise.
66647 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66648 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66649
66650 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
66651
66652 * math/libm-test.c: Support platforms without multiple rounding modes.
66653 * math/bug-nextafter.c: Support platforms without FP exceptions.
66654 * math/bug-nexttoward.c: Likewise.
66655 * math/test-fenv.c: Likewise.
66656 * math/test-misc.c: Likewise.
66657 * stdlib/bug-getcontext.c: Likewise.
66658
66659 2012-05-17 Andreas Jaeger <aj@suse.de>
66660
66661 * manual/examples/search.c (critter_cmp): Change signature to
66662 avoid warnings.
66663 * manual/string.texi (Collation Functions): Likewise.
66664
66665 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66666
66667 * bits/types.h: Fold copyright years.
66668 * bits/typesizes.h: Likewise.
66669 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66671 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66673 * time/time.h: Likewise.
66674
66675 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
66676
66677 [BZ #208]
66678 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66679 in instead of returning them. Return void.
66680 (__libc_mallinfo): Accumulate over all arenas.
66681 (__malloc_stats): Adjust for change in int_mallinfo interface.
66682
66683 2012-05-16 Roland McGrath <roland@hack.frob.com>
66684
66685 [BZ #10375]
66686 * configure.in (NM): Add AC_CHECK_TOOL for it.
66687 (libc_extra_cflags): New substituted variable.
66688 Check for -fstack-protector being used implicitly.
66689 * configure: Regenerated.
66690 * config.make.in (config-extra-cflags): New variable,
66691 gets @libc_extra_cflags@.
66692 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66693
66694 [BZ #10375]
66695 * configure.in: Check for _FORTIFY_SOURCE being predefined.
66696 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66697 * configure: Regenerated.
66698 * config.make.in (CPPUNDEFS): New substituted variable.
66699 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66700 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66701 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66702
66703 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66704
66705 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66706 (mq_attr): Use __syscall_slong_t.
66707
66708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66709
66710 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66711 Check __x86_64__ instead of __WORDSIZE.
66712 (_STAT_VER_LINUX): Likewise.
66713 (stat): Check __x86_64__ instead of __WORDSIZE. Use
66714 __syscall_ulong_t and __syscall_slong_t.
66715 (stat64): Likewise.
66716
66717 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66718
66719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66720
66721 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66722
66723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66724
66725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66726
66727 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66728 __syscall_ulong_t.
66729
66730 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66731 include <bits/wordsize.h>. Check __x86_64__ instead of
66732 __WORDSIZE.
66733 (greg_t): Use "__extension__ long long int" if __x86_64__ is
66734 defined.
66735 (mcontext_t): Replace "unsigned long" with "unsigned long long".
66736
66737 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66738 include <bits/wordsize.h>. Check __x86_64__ instead of
66739 __WORDSIZE.
66740 (user_regs_struct): Use "__extension__ unsigned long long"
66741 instead of "unsigned long" if __x86_64__ is defined.
66742 (user): Likewise. Pad after pointer field if __ILP32__ is
66743 defined.
66744
66745 2012-05-16 Joseph Myers <joseph@codesourcery.com>
66746
66747 * configure.in (makeinfo): Require version 4.5 or later. Allow
66748 versions 5 to 9.
66749 * configure: Regenerated.
66750 * manual/install.texi (texinfo): Increase version requirement to
66751 4.5 or later.
66752 * INSTALL: Regenerated.
66753
66754 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66755
66756 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
66757
66758 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66759
66760 * sysdeps/x86_64/x32/ffs.c: New file.
66761
66762 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66763 __syscall_ulong_t.
66764 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66765 defined. Use __syscall_ulong_t.
66766 (shminfo): Use __syscall_ulong_t.
66767 (shm_info): Likewise.
66768
66769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66770 __syscall_ulong_t.
66771
66772 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66773 <bits/wordsize.h>.
66774 (msgqnum_t): Use __syscall_ulong_t.
66775 (msglen_t): Likewise.
66776 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
66777 __syscall_ulong_t.
66778
66779 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
66781
66782 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66783
66784 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66785 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66786
66787 * sysvipc/sys/msg.h (msgbuf): Replace long int with
66788 __syscall_slong_t.
66789
66790 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66791 include <bits/wordsize.h>. Check __x86_64__ instead of
66792 __WORDSIZE.
66793
66794 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66795 "unsigned long long int" if __x86_64__ is defined.
66796 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66797
66798 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
66800 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66801
66802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66803 <stdint.h>.
66804 (GET_PC): Cast to uintptr_t first.
66805 (GET_FRAME): Likewise.
66806 (GET_STACK): Likewise.
66807
66808 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66810 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66811 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66812 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66813 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66814 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66815 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66816 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66817 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66818 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66821 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66823 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66825 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66827 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66829 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66830 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66831 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66832 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66833 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66835 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66837
66838 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
66839
66840 * Makerules (+depfiles): Also collect depfiles from .oS in
66841 $(extra-objs).
66842 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66843 .oS, $(libnldbl-routines)).
66844
66845 * Makerules (native-compile-mkdep-flags): Define.
66846 * sunrpc/Makefile (extra-objs): Add $(addprefix
66847 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66848 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66849 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
66850 calling $(make-target-directory).
66851
66852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66853
66854 * bits/types.h (__snseconds_t): Removed.
66855 * time/time.h (struct timespec): Replace __snseconds_t with
66856 __syscall_slong_t.
66857 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66858 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66859 Likewise.
66860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66861 (__SNSECONDS_T_TYPE): Likewise.
66862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66863 (__SNSECONDS_T_TYPE): Likewise.
66864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66865 (__SNSECONDS_T_TYPE): Likewise.
66866
66867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66868
66869 * sysdeps/mach/hurd/bits/typesizes.h
66870 (__SYSCALL_SLONG_TYPE): New macro.
66871 (__SYSCALL_ULONG_TYPE): Likewise.
66872
66873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66874
66875 * bits/types.h (__syscall_slong_t): New type.
66876 (__syscall_ulong_t): Likewise.
66877
66878 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66879 (__SYSCALL_ULONG_TYPE): Likewise.
66880 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66881 (__SYSCALL_SLONG_TYPE): Likewise.
66882 (__SYSCALL_ULONG_TYPE): Likewise.
66883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66884 (__SYSCALL_SLONG_TYPE): Likewise.
66885 (__SYSCALL_ULONG_TYPE): Likewise.
66886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66887 (__SYSCALL_SLONG_TYPE): Likewise.
66888 (__SYSCALL_ULONG_TYPE): Likewise.
66889
66890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66891
66892 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66893 Add sigaltstack-offsets.sym.
66894 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66895 <sigaltstack-offsets.h>.
66896 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
66897 longjmp_msg pointer.
66898 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
66899 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66900 signal stack.
66901 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66902
66903 2012-05-15 Joseph Myers <joseph@codesourcery.com>
66904
66905 * elf/stackguard-macros.h: Remove file.
66906 * sysdeps/generic/stackguard-macros.h: New file.
66907 * sysdeps/i386/stackguard-macros.h: Likewise.
66908 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66909 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66910 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66911 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66912 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66913 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66914 * sysdeps/x86_64/stackguard-macros.h: Likewise.
66915 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66916 <elf/stackguard-macros.h>.
66917
66918 [BZ #14109]
66919 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66920 __aligned__ in attribute.
66921 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66922 (gregset_t): Likewise.
66923
66924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66925
66926 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66927 * sysdeps/x86_64/64/Implies-after: Here. New file.
66928 * sysdeps/x86_64/x32/Implies-after: New file.
66929
66930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66931
66932 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66933 and access return value for _dl_profile_fixup. Use R10_LP to
66934 load frame size.
66935
66936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66937
66938 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66939
66940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66941
66942 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66943 * sysdeps/x86_64/x32/sysdep.h: New file.
66944
66945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66946
66947 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66948 * sysdeps/x86_64/setjmp.S: Likewise.
66949
66950 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66951
66952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66954 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66955 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66956 remove unused global constant.
66957
66958 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
66959
66960 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66961 include of <not-cancel.h>.
66962
66963 2012-05-15 Roland McGrath <roland@hack.frob.com>
66964
66965 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66966
66967 2012-05-15 Jeff Law <law@redhat.com>
66968 Andreas Jaeger <aj@suse.de>
66969
66970 [BZ #13594]
66971 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66972 out from...
66973 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66974 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66975 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66976 code changing __hst_map_handle.map.
66977
66978 2012-05-15 Roland McGrath <roland@hack.frob.com>
66979
66980 * configure.in (sysnames): Look for Implies-before and Implies-after
66981 files.
66982 * configure: Regenerated.
66983
66984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66985
66986 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66987 8-byte data alignment with LP_SIZE alignment.
66988
66989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66990
66991 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66992 into R10_LP.
66993
66994 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66995
66996 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66997
66998 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66999
67000 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67001 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67003 Likewise.
67004 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67005
67006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67007
67008 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67009 (stackinfo_sub_sp): Likewise.
67010
67011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67012
67013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67014 RAX_LP.
67015
67016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67017
67018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67019 into R*_LP.
67020
67021 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67022
67023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67024 sizes into R*_LP.
67025
67026 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67027
67028 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67029
67030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67031
67032 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67033 into R11_LP and load __x86_64_shared_cache_size_half into
67034 R8_LP.
67035
67036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
67037
67038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67039 R8_LP.
67040
67041 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67042
67043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67044 logb for POWER7.
67045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67046 logbf for POWER7.
67047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67048 logbl for POWER7.
67049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67050 powerpc32/power7/fpu/s_logb.c via #include.
67051 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67052 powerpc32/power7/fpu/s_logbf.c via #include.
67053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67054 powerpc32/power7/fpu/s_logbl.c via #include.
67055
67056 2012-05-15 Joseph Myers <joseph@codesourcery.com>
67057
67058 * README.libm: Remove file.
67059
67060 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67061
67062 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67063 count for x32. Use R*_LP and omit operand-size suffix.
67064
67065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67066
67067 * shlib-versions: Move x86_64-.*-linux.* entries to ...
67068 * sysdeps/x86_64/64/shlib-versions: Here. New file.
67069 * sysdeps/x86_64/x32/shlib-versions: New file.
67070
67071 2012-05-14 Roland McGrath <roland@hack.frob.com>
67072
67073 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67074 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67075 Use _dl_fatal_printf instead.
67076
67077 2012-05-14 Joseph Myers <joseph@codesourcery.com>
67078
67079 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67080 set if not set by the user. Do not allow for being unset.
67081 * sysdeps/unix/sysv/linux/configure: Regenerated.
67082
67083 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67084
67085 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67086 the `q' suffix from lea and replace .quad with ASM_ADDR.
67087
67088 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67089
67090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67091 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
67092 instead of $17.
67093 (PTR_DEMANGLE): Likewise.
67094
67095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67096
67097 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67098 (LP_OP): Likewise.
67099 (ASM_ADDR): Likewise.
67100 (RAX_LP): Likewise.
67101 (RBP_LP): Likewise.
67102 (RBX_LP): Likewise.
67103 (RCX_LP): Likewise.
67104 (RDI_LP): Likewise.
67105 (RSI_LP): Likewise.
67106 (RSP_LP): Likewise.
67107 (R8_LP): Likewise.
67108 (R9_LP): Likewise.
67109 (R10_LP): Likewise.
67110 (R10_LP): Likewise.
67111 (R11_LP): Likewise.
67112 (R12_LP): Likewise.
67113 (R13_LP): Likewise.
67114 (R14_LP): Likewise.
67115 (R15_LP): Likewise.
67116
67117 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67118
67119 * sysdeps/x86_64/x32/dl-machine.h: New file.
67120
67121 2012-05-14 Andreas Jaeger <aj@suse.de>
67122
67123 * manual/Makefile (subdir): Remove export of subdir.
67124 (all): Remove target.
67125 (.PHONY): Remove all from list.
67126 (mkinstalldirs): Remove.
67127 (.PHONY): Remove installdirs from list.
67128 ($(inst_infodir)/libc.info): Use make-target-directory.
67129 (installdirs): Remove.
67130 (subdir_%): Remove.
67131 (glibc-targets): Remove.
67132 (lib): Remove.
67133 (stubs): Remove.
67134 ($(objpfx)stubs ../po/manual.pot): Remove.
67135 ($(objpfx)stamp%): Remove.
67136 (make-target-directory): Remove.
67137 (subdir_install): Remove.
67138 (routines): Remove.
67139 (aux): Remove.
67140 (sources): Remove.
67141 (objects): Remove.
67142 (headers): Remove.
67143
67144 [BZ #13750]
67145 * manual/.gitignore: Remove, it's not needed anymore.
67146 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67147 all files in it.
67148 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67149 directory.
67150 (texis): Renamed to $(objpfx)texis.
67151 (texis-path): New, contains path to generated files.
67152 (chapters.%): Use texis-path for complete path, add extra argument
67153 libc-texinfo.sh.
67154 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67155 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67156 (summary,texi, stamp-summary): Use complete path of
67157 files. Generate files in build dir.
67158 (dir-add.texi): Build in build dir.
67159 (libm-err.texi,stamp-libm-err): Likewise.
67160 (version.texi, stamp-version): Likewise.
67161 (.%c.texi): Likewise.
67162 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67163 (mostlyclean): Remove target.
67164 (realclean): Remove target.
67165 (generated): Add new variable with contents from mostlyclean and
67166 realclean, remove entries duplicated in common-mostlyclean, add
67167 stamp-libm-err and stamp-version.
67168 (generated-dirs): Add libc directory.
67169 ($(inst_infodir)/libc.info): Install files from build dir.
67170
67171 * manual/install.texi (Configuring and compiling): Adjust since
67172 the info files are not part of the tar ball anymore.
67173
67174 2012-05-14 Andreas Jaeger <aj@suse.de>
67175
67176 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67177 variable.
67178
67179 2012-05-14 Joseph Myers <joseph@codesourcery.com>
67180
67181 [BZ #13717]
67182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67183 to 2.2.0 where earlier.
67184 * sysdeps/unix/sysv/linux/configure: Regenerated.
67185 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67186 Remove conditional code.
67187 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67188 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67189 Remove conditional code.
67190 [!__NR_lchown]: Likewise.
67191 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67192 [__NR_lchown]: Likewise.
67193 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67194 comment referencing __ASSUME_LCHOWN_SYSCALL.
67195 * sysdeps/unix/sysv/linux/i386/sigaction.c
67196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67198 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67199 Remove conditional code.
67200 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67201 (__protocol_available): Remove #if 0 code.
67202 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67203 conditional code.
67204 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67205 * sysdeps/unix/sysv/linux/kernel-features.h
67206 (__ASSUME_GETCWD_SYSCALL): Don't define.
67207 (__ASSUME_REALTIME_SIGNALS): Likewise.
67208 (__ASSUME_PREAD_SYSCALL): Likewise.
67209 (__ASSUME_PWRITE_SYSCALL): Likewise.
67210 (__ASSUME_POLL_SYSCALL): Likewise.
67211 (__ASSUME_LCHOWN_SYSCALL): Likewise.
67212 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67213 non-SPARC.
67214 (__ASSUME_SIOCGIFNAME): Don't define.
67215 (__ASSUME_MSG_NOSIGNAL): Likewise.
67216 (__ASSUME_SENDFILE): Define unconditionally.
67217 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67218 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67219 conditional code.
67220 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67221 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67222 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67223 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67224 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67225 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67226 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67251 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67252 Remove conditional code.
67253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67254 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67255 Remove conditional code.
67256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67257 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67258 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67259 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67260 Remove conditional code.
67261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67262 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67263 Remove conditional code.
67264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67265 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67266 Remove conditional code.
67267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67268 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67269 Remove conditional code.
67270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67271 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67272 Remove conditional code.
67273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67274 * sysdeps/unix/sysv/linux/sh/pwrite64.c
67275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67277 * sysdeps/unix/sysv/linux/sigaction.c
67278 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67279 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67280 * sysdeps/unix/sysv/linux/sigpending.c
67281 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67282 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67283 * sysdeps/unix/sysv/linux/sigprocmask.c
67284 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67285 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67286 * sysdeps/unix/sysv/linux/sigsuspend.c
67287 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67288 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67289 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67290 (__libc_missing_rt_sigs): Remove.
67291 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67292 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67293 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67294 Remove conditional code.
67295 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67296 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67297 return 1.
67298 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67299 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67300 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67301 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67302
67303 2012-05-14 Andreas Jaeger <aj@suse.de>
67304
67305 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67306 it's not used in glibc.
67307 (__coshm1): Likewise.
67308 (__acosh1p): Likewise.
67309 (__sgn): Likewise.
67310
67311 * manual/string.texi (Copying and Concatenation): Add missing
67312 variable in concat example.
67313 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67314
67315 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67316
67317 [BZ #14103]
67318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67319 __builtin_clzl with __builtin_clzll.
67320
67321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
67322
67323 [BZ #14104]
67324 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67325 libc_freeres_ptr.
67326
67327 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67328
67329 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67330 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67331 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67332 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67333
67334 2012-05-14 Mike Frysinger <vapier@gentoo.org>
67335
67336 * NEWS: Update ia64 info.
67337
67338 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
67339
67340 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67341 used as bcopy.
67342
67343 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
67344
67345 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67346 * sysdeps/unix/syscalls.list (dup3): Likewise.
67347 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67348 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67349
67350 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
67351
67352 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67353 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67354
67355 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
67356
67357 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67358 thread pointer.
67359 (TLS_IE): Use mov/add instead of movq/addq to load thread
67360 pointer.
67361 (TLS_GD_PREFIX): New.
67362 (TLS_GD): Use it.
67363
67364 2012-05-11 David S. Miller <davem@davemloft.net>
67365
67366 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67367 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67368 (_FPU_SETCW): Likewise.
67369
67370 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
67371
67372 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67373 is 32-byte aligned.
67374
67375 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
67376
67377 [BZ #11837]
67378 * iconvdata/gb18030.c: Update tables.
67379 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
67380 characters specially.
67381 (BODY for TO_LOOP): Add encoding of missing ranges.
67382
67383 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
67384
67385 [BZ #13673]
67386 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67387 * sysdeps/mach/hurd/dup3.c: Likewise.
67388 * sysdeps/mach/hurd/readlinkat.c: Likewise.
67389 * sysdeps/powerpc/memmove.c:: Likewise.
67390
67391 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
67392
67393 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67394 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67395
67396 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
67397
67398 * elf/elf.h (R_X86_64_RELATIVE64): New.
67399 (R_X86_64_NUM): Updated.
67400 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67401 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
67402 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67403 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67404 tst-quad1pie tst-quad2pie
67405 (modules-names): Add tst-quadmod1 tst-quadmod2.
67406 ($(objpfx)tst-quad1): New dependency.
67407 ($(objpfx)tst-quad2): Likewise.
67408 ($(objpfx)tst-quad1pie): Likewise.
67409 ($(objpfx)tst-quad2pie): Likewise.
67410 * sysdeps/x86_64/tst-quad1.c: New file.
67411 * sysdeps/x86_64/tst-quad1pie.c: New file.
67412 * sysdeps/x86_64/tst-quad2.c: Likewise.
67413 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67414 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67415 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67416 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67417 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67418
67419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67420
67421 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67422 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67423 * streams/stropts.h (t_scalar_t): Define type.
67424
67425 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67426 (_PATH_PRESERVE): Set to "/var/lib".
67427 (_PATH_RWHODIR): Set to "/var/spool/rwho".
67428
67429 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67430 instead of int.
67431
67432 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67433 if __dir_mkfile succeeded.
67434
67435 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67436 checking for _hurd_dtablesize. Unlock it right after having
67437 finished _hurd_dtable allocation.
67438
67439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67440
67441 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67442 * sysdeps/mach/hurd/configure: Regenerated.
67443 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67444 special-casing to...
67445 * sysdeps/gnu/configure.in: ... this new file.
67446 * sysdeps/unix/sysv/linux/configure: Regenerated.
67447 * sysdeps/gnu/configure: New generated file.
67448
67449 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67450 for Linux: use nsec instead of usec, as well as:
67451 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67452 members of type struct timespec.
67453 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67454 New macros.
67455 (struct stat64): Likewise.
67456 (_STATBUF_ST_NSEC): New macro.
67457 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67458
67459 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67460 __strtoul_internal rather than strtoul.
67461
67462 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
67463
67464 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67465 and reject them.
67466
67467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67468
67469 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67470 which preserves existing values.
67471 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67472
67473 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
67474
67475 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67476 TIMEOUT values. Return EINVAL for NFDS values either negative or
67477 greater than FD_SETSIZE.
67478
67479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67480
67481 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67482 allocated, call __vm_protect to finish enabling the existing space, and
67483 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67484 allocate the remainder.
67485
67486 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
67487
67488 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67489 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
67490
67491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67492
67493 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67494 sysdeps/mach/hurd/readlink.c.
67495
67496 * posix/tst-sysconf.c (posix_options): Only use
67497 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67498 _POSIX_SYNCHRONIZED_IO when they are defined
67499 * sysdeps/mach/hurd/bits/posix_opt.h:
67500 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67501 (_XOPEN_REALTIME): Undefine macro.
67502 (_XOPEN_REALTIME_THREADS): Undefine macro.
67503 (_XOPEN_SHM): Undefine macro.
67504 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67505 macro to -1.
67506 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67507 macro to -1.
67508 (_POSIX_ASYNC_IO): Undefine macro.
67509 (_POSIX_PRIORITIZED_IO): Undefine macro.
67510 (_POSIX_SPIN_LOCKS): Define macro to -1.
67511
67512 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67513 SA_NODEFER, SA_RESETHAND.
67514 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67515 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67516 F_DUPFD_CLOEXEC.
67517
67518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67519
67520 * elf/Makefile (pldd-modules): Define unconditionally.
67521
67522 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67523
67524 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67525
67526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67527
67528 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67529 Return ENOENT when name is empty.
67530 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67531
67532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67533
67534 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67535
67536 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67537
67538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67539
67540 Fix mlock in all cases except non-readable pages.
67541 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67542 instead of VM_PROT_ALL as parameter to __vm_wire function.
67543
67544 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67545 (__mkdir): When path is `/', just fail with EEXIST.
67546 * sysdeps/mach/hurd/mkdirat.c: Likewise.
67547
67548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67549
67550 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67551 <sys/uio.h> (for writev).
67552 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67553 and <sys/param.h> (for MIN).
67554
67555 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
67556
67557 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67558 REQUESTED_TIME. Properly set the remaining time and return EINTR
67559 if interrupted.
67560
67561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67562
67563 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67564 Depend on against $(link-rpcuserlibs).
67565
67566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67567
67568 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67569 (__libc_stack_end): Do not use attribute_relro.
67570 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67571 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67572 to libthread-provided value.
67573 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67574 attribute_relro.
67575
67576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67577
67578 [BZ #3748]
67579 * bits/libc-lock.h (__libc_once_get): New macro.
67580 * sysdeps/mach/bits/libc-lock.h: Likewise.
67581 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67583 instead of using implementation details.
67584
67585 * libio/fileops.c: Unconditionally include <kernel-features.h>.
67586 * libio/freopen.c: Likewise.
67587 * libio/freopen64.c: Likewise.
67588 * misc/syslog.c: Likewise.
67589 * nscd/connections.c: Likewise.
67590 * nscd/netgroupcache.c: Likewise.
67591 * sysdeps/posix/getcwd.c: Likewise.
67592
67593 2012-05-10 Roland McGrath <roland@hack.frob.com>
67594
67595 * math/w_ilogbf.c: Add #include <limits.h>.
67596
67597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67598
67599 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67600 path instead of returning without unlocking.
67601
67602 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67603 immediate-write ioctls.
67604 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67605
67606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67607
67608 * sysdeps/mach/hurd/i386/init-first.c (init): Use
67609 __builtin_frame_address instead of making assumptions about the
67610 location of the return address relative to DATA. Force early load of
67611 the return address.
67612 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67613 __builtin_frame_address.
67614
67615 dup3 for GNU Hurd.
67616 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67617 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
67618 implement dup3 and do some further code clean-ups.
67619 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67620 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67621
67622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67623
67624 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67625
67626 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67627 HURD_CRITICAL_END around holding _hurd_dtable_lock.
67628 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67629 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67630 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67631 d->port.lock.
67632
67633 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67634 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
67635 when handler == SIG_ERR, not when handler != SIG_ERR.
67636
67637 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67638
67639 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67640 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67641 definitions.
67642
67643 accept4 for GNU Hurd.
67644 * include/sys/socket.h (__libc_accept4): New prototype.
67645 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
67646 to implement __libc_accept4.
67647 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67648 __libc_accept4.
67649 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67650
67651 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67652 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67653 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67654 signal-defines.sym.
67655
67656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67657
67658 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67659
67660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
67661
67662 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67663 assertion on O_CLOEXEC flag.
67664 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67665 * hurd/intern-fd.c: Likewise.
67666 * hurd/port2fd.c: Likewise.
67667
67668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
67669
67670 [BZ #3906]
67671 * bits/in.h (IPV6_PKTINFO): Define new macro.
67672 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67673
67674 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67675
67676 [BZ #13954]
67677 [BZ #13955]
67678 [BZ #13956]
67679 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67681 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67682 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67684 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67685 * math/libm-test.inc (logb_test) : Additional logb tests.
67686
67687 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
67688 Andreas Jaeger <aj@suse.de>
67689
67690 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67691 * configure: Regenerated.
67692 * config.h.in (LINK_OBSOLETE_RPC): New macro.
67693 * config.make.in (link-obsolete-rpc): New substituted variable.
67694 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67695 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67696 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67697 (shared-only-routines): Don't set it under [link-obsolete-rpc],
67698 so that libc.a contains the symbols.
67699 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67700 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67701 * sunrpc/auth_none.c: Likewise.
67702 * sunrpc/auth_unix.c: Likewise.
67703 * sunrpc/authdes_prot.c: Likewise.
67704 * sunrpc/authuxprot.c: Likewise.
67705 * sunrpc/clnt_gen.c: Likewise.
67706 * sunrpc/clnt_perr.c: Likewise.
67707 * sunrpc/clnt_raw.c: Likewise.
67708 * sunrpc/clnt_simp.c: Likewise.
67709 * sunrpc/clnt_tcp.c: Likewise.
67710 * sunrpc/clnt_udp.c: Likewise.
67711 * sunrpc/clnt_unix.c: Likewise.
67712 * sunrpc/des_crypt.c: Likewise.
67713 * sunrpc/des_soft.c: Likewise.
67714 * sunrpc/get_myaddr.c: Likewise.
67715 * sunrpc/key_call.c: Likewise.
67716 * sunrpc/key_prot.c: Likewise.
67717 * sunrpc/netname.c: Likewise.
67718 * sunrpc/pm_getmaps.c: Likewise.
67719 * sunrpc/pm_getport.c: Likewise.
67720 * sunrpc/pmap_clnt.c: Likewise.
67721 * sunrpc/pmap_prot.c: Likewise.
67722 * sunrpc/pmap_prot2.c: Likewise.
67723 * sunrpc/pmap_rmt.c: Likewise.
67724 * sunrpc/publickey.c: Likewise.
67725 * sunrpc/rpc_cmsg.c: Likewise.
67726 * sunrpc/rpc_common.c: Likewise.
67727 * sunrpc/rpc_dtable.c: Likewise.
67728 * sunrpc/rpc_prot.c: Likewise.
67729 * sunrpc/rpc_thread.c: Likewise.
67730 * sunrpc/rtime.c: Likewise.
67731 * sunrpc/svc.c: Likewise.
67732 * sunrpc/svc_auth.c: Likewise.
67733 * sunrpc/svc_raw.c: Likewise.
67734 * sunrpc/svc_run.c: Likewise.
67735 * sunrpc/svc_tcp.c: Likewise.
67736 * sunrpc/svc_udp.c: Likewise.
67737 * sunrpc/svc_unix.c: Likewise.
67738 * sunrpc/svcauth_des.c: Likewise.
67739 * sunrpc/xcrypt.c: Likewise.
67740 * sunrpc/xdr.c: Likewise.
67741 * sunrpc/xdr_array.c: Likewise.
67742 * sunrpc/xdr_float.c: Likewise.
67743 * sunrpc/xdr_intXX_t.c: Likewise.
67744 * sunrpc/xdr_mem.c: Likewise.
67745 * sunrpc/xdr_rec.c: Likewise.
67746 * sunrpc/xdr_ref.c: Likewise.
67747 * sunrpc/xdr_sizeof.c: Likewise.
67748 * sunrpc/xdr_stdio.c: Likewise.
67749
67750 2012-05-10 Roland McGrath <roland@hack.frob.com>
67751
67752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67753 change. Update copyright years.
67754
67755 2012-05-10 Joseph Myers <joseph@codesourcery.com>
67756
67757 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67758
67759 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
67760 Joseph Myers <joseph@codesourcery.com>
67761 Paul Pluzhnikov <ppluzhnikov@google.com>
67762
67763 [BZ #14012]
67764 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67765 requiring rpcgen.
67766 [cross-compiling] (extra-libs): Likewise.
67767 [cross-compiling] (extra-libs-others): Likewise.
67768 [cross-compiling] (librpcsvc-routines): Likewise.
67769 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67770 [cross-compiling] (omit-deps): Likewise.
67771 (sunrpc-CPPFLAGS): New variable.
67772 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67773 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67774 (cross-rpcgen-objs): New variable.
67775 (extra-objs): Append $(cross-rpcgen-objs).
67776 ($(cross-rpcgen-objs)): New rule.
67777 ($(objpfx)cross-rpcgen): Likewise.
67778 (rpcgen-cmd): Define to use $(built-program-file). Expand
67779 comment.
67780 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67781 ($(objpfx)x%.stmp): Likewise.
67782 * sunrpc/proto.h [IS_IN_build] (_): Define.
67783 [IS_IN_build] (_libc_intl_domainname): Likewise.
67784
67785 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
67786
67787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67788 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67789 and R_X86_64_TPOFF64.
67790
67791 2012-05-10 Joseph Myers <joseph@codesourcery.com>
67792
67793 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67794 sysdeps/unix/sysv/syscalls.list.
67795 (stime): Likewise.
67796 (utime): Likewise.
67797 * sysdeps/unix/sysv/syscalls.list: Remove file.
67798
67799 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
67800
67801 [BZ #3440]
67802 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67803 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67804 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67805 (__LC_IDENTIFICATION): Make these macros useful in #if
67806 expressions, as required by C99.
67807
67808 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
67809
67810 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67811 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
67812 after this.
67813
67814 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
67815
67816 * stdlib/longlong.h: Updated from GCC.
67817
67818 2012-05-09 Andreas Jaeger <aj@suse.de>
67819
67820 * nscd/nscd.c (run_modes): Make named enum, reorder so that
67821 default is first entry.
67822 (run_mode): Set type.
67823 (main): Remove informal message about syslog.
67824 (options): Fix typo.
67825
67826 [BZ #14053]
67827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67828 to asm.
67829 (lrint): Likewise.
67830 (llrintf): Likewise.
67831 (llrint): Likewise.
67832 (rint): Likewise.
67833 (rintf): Likewise.
67834 (nearbyint): Likewise.
67835 (nearbyintf): Likewise.
67836
67837 2012-05-09 Andreas Jaeger <aj@suse.de>
67838 Pedro Alves <palves@redhat.com>
67839
67840 * nscd/nscd.c (run_mode): Use enum.
67841 (main): Cleanup coding style issue.
67842
67843 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
67844 Andreas Jaeger <aj@suse.de>
67845
67846 * nscd/nscd.c (go_background): Replaced with...
67847 (run_mode): ... this.
67848 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67849 (options): Add -F --foreground.
67850 (main): Implement it.
67851 (parse_opt): Parse it.
67852
67853 2012-05-09 Andreas Jaeger <aj@suse.de>
67854
67855 [BZ #14083]
67856 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67857 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67858 -Wconversion warning.
67859 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67860 Likewise.
67861
67862 2012-05-09 Joseph Myers <joseph@codesourcery.com>
67863
67864 * conform/data/locale.h-data (NULL): Use macro-constant. Require
67865 == 0.
67866 (LC_ALL): Use macro-int-constant.
67867 (LC_COLLATE): Likewise.
67868 (LC_CTYPE): Likewise.
67869 (LC_MESSAGES): Likewise.
67870 (LC_MONETARY): Likewise.
67871 (LC_NUMERIC): Likewise.
67872 (LC_TIME): Likewise.
67873 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67874 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67876 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67877 Specify type.
67878 [C99-based standards] (float_t): Expect type.
67879 [C99-based standards] (double_t): Expect type.
67880 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
67881 type.
67882 [C99-based standards] (HUGE_VALL): Likewise.
67883 [C99-based standards] (INFINITY): Likewise.
67884 [C99-based standards] (NAN): Likewise.
67885 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67886 [C99-based standards] (FP_NAN): Likewise.
67887 [C99-based standards] (FP_NORMAL): Likewise.
67888 [C99-based standards] (FP_SUBNORMAL): Likewise.
67889 [C99-based standards] (FP_ZERO): Likewise.
67890 [C99-based standards] (FP_FAST_FMA): Use
67891 optional-macro-int-constant. Specify type. Require == 1.
67892 [C99-based standards] (FP_FAST_FMAF): Likewise.
67893 [C99-based standards] (FP_FAST_FMAL): Likewise.
67894 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67895 [C99-based standards] (FP_ILOGBNAN): Likewise.
67896 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67897 Specify type.
67898 [C99-based standards] (MATH_ERREXCEPT): Likewise.
67899 [C99-based standards] (math_errhandling): Specify type.
67900 [ISO99 || ISO11] (signgam): Do not allow.
67901 [non-C99-based standards] (copysignf): Do not allow.
67902 [non-C99-based standards] (exp2f): Likewise.
67903 [non-C99-based standards] (log2f): Likewise.
67904 [non-C99-based standards] (modff): Allow.
67905 [non-C99-based standards] (erff): Do not allow.
67906 [non-C99-based standards] (erfcf): Likewise.
67907 [non-C99-based standards] (gammaf): Likewise.
67908 [non-C99-based standards] (hypotf): Likewise.
67909 [non-C99-based standards] (j0f): Likewise.
67910 [non-C99-based standards] (j1f): Likewise.
67911 [non-C99-based standards] (jnf): Likewise.
67912 [non-C99-based standards] (lgammaf): Likewise.
67913 [non-C99-based standards] (tgammaf): Likewise.
67914 [non-C99-based standards] (y0f): Likewise.
67915 [non-C99-based standards] (y1f): Likewise.
67916 [non-C99-based standards] (ynf): Likewise.
67917 [non-C99-based standards] (isnanf): Likewise.
67918 [non-C99-based standards] (acoshf): Likewise.
67919 [non-C99-based standards] (asinhf): Likewise.
67920 [non-C99-based standards] (atanhf): Likewise.
67921 [non-C99-based standards] (cbrtf): Likewise.
67922 [non-C99-based standards] (expm1f): Likewise.
67923 [non-C99-based standards] (ilogbf): Likewise.
67924 [non-C99-based standards] (log1pf): Likewise.
67925 [non-C99-based standards] (logbf): Likewise.
67926 [non-C99-based standards] (nextafterf): Likewise.
67927 [non-C99-based standards] (remainderf): Likewise.
67928 [non-C99-based standards] (rintf): Likewise.
67929 [non-C99-based standards] (scalbf): Likewise.
67930 [non-C99-based standards] (copysignl): Likewise.
67931 [non-C99-based standards] (exp2l): Likewise.
67932 [non-C99-based standards] (log2l): Likewise.
67933 [non-C99-based standards] (modfl): Allow.
67934 [non-C99-based standards] (erfl): Do not allow.
67935 [non-C99-based standards] (erfcl): Likewise.
67936 [non-C99-based standards] (gammal): Likewise.
67937 [non-C99-based standards] (hypotl): Likewise.
67938 [non-C99-based standards] (j0l): Likewise.
67939 [non-C99-based standards] (j1l): Likewise.
67940 [non-C99-based standards] (jnl): Likewise.
67941 [non-C99-based standards] (lgammal): Likewise.
67942 [non-C99-based standards] (tgammal): Likewise.
67943 [non-C99-based standards] (y0l): Likewise.
67944 [non-C99-based standards] (y1l): Likewise.
67945 [non-C99-based standards] (ynl): Likewise.
67946 [non-C99-based standards] (isnanl): Likewise.
67947 [non-C99-based standards] (acoshl): Likewise.
67948 [non-C99-based standards] (asinhl): Likewise.
67949 [non-C99-based standards] (atanhl): Likewise.
67950 [non-C99-based standards] (cbrtl): Likewise.
67951 [non-C99-based standards] (expm1l): Likewise.
67952 [non-C99-based standards] (ilogbl): Likewise.
67953 [non-C99-based standards] (log1pl): Likewise.
67954 [non-C99-based standards] (logbl): Likewise.
67955 [non-C99-based standards] (nextafterl): Likewise.
67956 [non-C99-based standards] (remainderl): Likewise.
67957 [non-C99-based standards] (rintl): Likewise.
67958 [non-C99-based standards] (scalbl): Likewise.
67959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67960 [non-C99-based standards] (FP_*): Do not allow.
67961 [C99-based standards] (FP_*): Change to
67962 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67963 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67964 allow.
67965 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67966 (SIG_ERR): Likewise.
67967 [X/Open-based standards] (SIG_HOLD): Likewise.
67968 (SIG_IGN): Likewise.
67969 (SIGABRT): Use macro-int-constant. Specify type. Require
67970 positive value.
67971 (SIGFPE): Likewise.
67972 (SIGILL): Likewise.
67973 (SIGINT): Likewise.
67974 (SIGSEGV): Likewise.
67975 (SIGTER): Likewise.
67976 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67977 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67978 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67979 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67980 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67981 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67982 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67983 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67984 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67985 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67986 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67987 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67988 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67989 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67990 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67991 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67992 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67993 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67994 [X/Open-based standards] (SIGTRAP): Likewise.
67995 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67996 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67997 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67998 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67999 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68000 allow.
68001
68002 2012-05-08 Ian Wienand <ianw@vmware.com>
68003
68004 [BZ #14080]
68005 * time/tzset.c (__tzset_parse_tz): Update default rules for
68006 daylight time changes in the Energy Policy Act of 2005.
68007
68008 2012-05-09 Andreas Jaeger <aj@suse.de>
68009
68010 [BZ #13983]
68011 * elf/ldconfig.c (parse_conf): Change string to make clear that
68012 ldconfig only issued a warning if ld.so.conf does not exist.
68013
68014 2012-05-08 David S. Miller <davem@davemloft.net>
68015
68016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68017 movxtod instead of popping the value on the stack.
68018
68019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68020
68021 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
68022
68023 * config.h.in: Add HAVE_ARM_PCS_VFP.
68024
68025 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
68026
68027 [BZ #13979]
68028 * include/features.h: Warn if user requests __FORTIFY_SOURCE
68029 checking but the checks are disabled for any reason.
68030
68031 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
68032
68033 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68034 and ELF64_R_TYPE with ELFW(R_TYPE).
68035
68036 2012-05-08 Joseph Myers <joseph@codesourcery.com>
68037
68038 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68039 (ulimit): Likewise.
68040
68041 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68042 (settimeofday): Likewise.
68043
68044 2012-05-08 Mike Frysinger <vapier@gentoo.org>
68045
68046 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
68047 a struct th_u2 inside the union, and move tu_block/tu_code into
68048 a new th_u3 union of tu_block/tu_code inside of that. Move
68049 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
68050 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
68051 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68052 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68053 (th_stuff): Change to th_u1.tu_stuff.
68054 (th_data): Define.
68055 (th_msg): Change to th_u1.th_u2.tu_data.
68056
68057 2012-05-07 David S. Miller <davem@davemloft.net>
68058
68059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68060
68061 [BZ #14074]
68062 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68063 (SETUP_PIC_REG): Use it.
68064 (SETUP_PIC_REG_LEAF): Use it.
68065
68066 2012-05-07 Joseph Myers <joseph@codesourcery.com>
68067
68068 [BZ #13885]
68069 [BZ #13923]
68070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68071 USE_AS_EXPM1L.
68072 (EXPL_FINITE): Likewise.
68073 (FLDLOG): Likewise.
68074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68075 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68076 e_expl.S.
68077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68078 USE_AS_EXPM1L.
68079 (EXPL_FINITE): Likewise.
68080 (FLDLOG): Likewise.
68081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68082 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68083 e_expl.S.
68084 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
68085 test of -max_value argument for long double.
68086 * sysdeps/i386/fpu/libm-test-ulps: Update.
68087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68088
68089 2012-05-06 David S. Miller <davem@davemloft.net>
68090
68091 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68092 quad soft-float symbols whose references which are compiler
68093 generated.
68094 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68095
68096 2012-05-06 Joseph Myers <joseph@codesourcery.com>
68097
68098 [BZ #13884]
68099 [BZ #13914]
68100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68101 USE_AS_EXP10L.
68102 (EXPL_FINITE): Likewise.
68103 (FLDLOG): Likewise.
68104 (c0): Likewise.
68105 (c1): Likewise.
68106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
68107 Adjust comments for base varying.
68108 (__expl_finite): Change alias to EXPL_FINITE.
68109 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68110 e_expl.S.
68111 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68112 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68113 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68114 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68116 USE_AS_EXP10L.
68117 (EXPL_FINITE): Likewise.
68118 (FLDLOG): Likewise.
68119 (c0): Likewise.
68120 (c1): Likewise.
68121 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
68122 Adjust comments for base varying.
68123 (__expl_finite): Change alias to EXPL_FINITE.
68124 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
68125 tests for bugs.
68126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68127
68128 [BZ #14064]
68129 * math/libm-test.inc (check_float_internal): Correct ulp
68130 calculation for subnormal expected results.
68131
68132 2012-05-06 Andreas Jaeger <aj@suse.de>
68133
68134 * Makeconfig (+math-flags): New, set to -frounding-math.
68135 (+cflags): Add +math-flags so that all of glibc gets compiled with
68136 it.
68137
68138 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68139
68140 2012-05-05 Joseph Myers <joseph@codesourcery.com>
68141
68142 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68143 Disable one test.
68144
68145 [BZ #13787]
68146 [BZ #13922]
68147 [BZ #14036]
68148 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68149 (__ieee754_expl): Allow for and saturate large arguments.
68150 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68151 (u_threshold): Likewise.
68152 (__exp): Call __ieee754_exp before checking for overflow and
68153 underflow.
68154 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68155 (u_threshold): Likewise.
68156 (__expf): Call __ieee754_expf before checking for overflow and
68157 underflow.
68158 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68159 (u_threshold): Likewise.
68160 (__expl): Call __ieee754_expl before checking for overflow and
68161 underflow.
68162 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68163 (__ieee754_expl): Allow for and saturate large arguments.
68164 * math/libm-test.inc (exp_test): Add another test. Do not allow
68165 missing overflow exception on overflow.
68166 (expm1_test): Do not allow missing overflow exception on overflow.
68167
68168 * sysdeps/i386/fpu/e_expl.c: Move to ...
68169 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
68170 rather than using inline asm.
68171 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68172 * sysdeps/x86_64/fpu/e_expl.S: Copy from
68173 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68174
68175 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68176 (nice): Likewise.
68177 (poll): Likewise.
68178 (signal): Likewise.
68179 (time): Likewise.
68180 (times): Likewise.
68181
68182 2012-05-04 Joseph Myers <joseph@codesourcery.com>
68183
68184 * sysdeps/unix/syscalls.list (adjtime): Add entry from
68185 sysdeps/unix/common/syscalls.list.
68186 (fchmod): Likewise.
68187 (fchown): Likewise.
68188 (ftruncate): Likewise.
68189 (getrusage): Likewise.
68190 (gettimeofday): Likewise.
68191 (setpgid): Likewise.
68192 (setregid): Likewise.
68193 (setreuid): Likewise.
68194 (sigaction): Likewise.
68195 (truncate): Likewise.
68196 (vhangup): Likewise.
68197 * sysdeps/unix/common/syscalls.list: Remove file.
68198 * sysdeps/unix/bsd/Implies: Don't include unix/common.
68199 * sysdeps/unix/sysv/linux/Implies: Likewise.
68200
68201 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
68202
68203 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68205 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68206 Moved to ...
68207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68208 Here.
68209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68210 to ...
68211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68213 to ...
68214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68215 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68216 to ...
68217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68218 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68219 to ...
68220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68221 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68222 to ...
68223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68224 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68225 to ...
68226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68227 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68228 to ...
68229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68230 Here.
68231 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68232 to ...
68233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68234 Here.
68235 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68236 to ...
68237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68238 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68239 Moved to ...
68240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68241 Here.
68242 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68243 to ...
68244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68245
68246 2012-05-04 Joseph Myers <joseph@codesourcery.com>
68247
68248 * sysdeps/unix/common/bits/dirent.h: Remove file.
68249 * sysdeps/unix/common/bits/fcntl.h: Likewise.
68250
68251 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68252 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68253 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68254 * sysdeps/unix/bsd/isatty.c: Likewise.
68255 * sysdeps/unix/bsd/tcdrain.c: Likewise.
68256 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68257 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68258
68259 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68260
68261 [BZ #13563]
68262 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68263 long double comparison inaccuracies.
68264 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68266
68267 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
68268
68269 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68271
68272 2012-05-04 Joseph Myers <joseph@codesourcery.com>
68273
68274 [BZ #14049]
68275 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68276 nonzero digits before rounding a hex value.
68277 * stdlib/tst-strtod.c (tests): Add another test.
68278
68279 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68280
68281 * sysdeps/s390/fpu/libm-test-ulps: Update.
68282
68283 2012-05-03 Andreas Jaeger <aj@suse.de>
68284
68285 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68286 does not get optimized out.
68287 (malloc_opt_barrier): New.
68288
68289 2012-05-03 Andreas Jaeger <aj@suse.de>
68290 Roland McGrath <roland@hack.frob.com>
68291
68292 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68293 intermediate file deletion.
68294 (generated): Add .symlist files.
68295
68296 2012-05-03 Joseph Myers <joseph@codesourcery.com>
68297
68298 [BZ #13775]
68299 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68300 Redirect under this condition.
68301 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68302 [__USE_GNU] (__dprintf_chk): Not under this condition.
68303 [__USE_GNU] (__vdprintf_chk): Likewise.
68304 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68305 under this condition.
68306 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68307 [__USE_XOPEN2K8] (dprintf): Define under this condition.
68308 [__USE_XOPEN2K8] (vdprintf): Likewise.
68309 [__USE_GNU] (__dprintf_chk): Not under this condition.
68310 [__USE_GNU] (__vdprintf_chk): Likewise.
68311 [__USE_GNU] (dprintf): Likewise.
68312 [__USE_GNU] (vdprintf): Likewise.
68313
68314 2012-05-03 Roland McGrath <roland@hack.frob.com>
68315
68316 * elf/Makefile (common-generated): Set this instead of generated for
68317 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
68318 $(all-built-dso)-derived lists.
68319
68320 2012-05-03 Andreas Jaeger <aj@suse.de>
68321
68322 * sysdeps/i386/fpu/libm-test-ulps: Update.
68323
68324 * FAQ: Removed.
68325 * FAQ.in: Likewise.
68326 * scripts/gen-FAQ.pl: Likewise.
68327 * manual/install.texi (Installation): Point to online location of
68328 FAQ.
68329 * Makefile (files-for-dist): Remove FAQ.
68330 (FAQ): Remove.
68331
68332 2012-05-02 Allan McRae <allan@archlinux.org>
68333
68334 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68335 (LDFLAGS-reldepmod5.so): Likewise.
68336 (LDFLAGS-reldep6mod1.so): Likewise.
68337 (LDFLAGS-reldep6mod4.so): Likewise.
68338 (LDFLAGS-reldep8mod3.so): Likewise.
68339 (LDFLAGS-unload4mod1.so): Likewise.
68340 (LDFLAGS-unload4mod2.so): Likewise.
68341 (LDFLAGS-tst-initorder): Likewise.
68342 (LDFLAGS-tst-initordera2.so): Likewise.
68343 (LDFLAGS-tst-initordera3.so): Likewise.
68344 (LDFLAGS-tst-initordera4.so): Likewise.
68345 (LDFLAGS-tst-initorderb2.so): Likewise.
68346 (LDFLAGS-noload): Likewise.
68347 (LDFLAGS-next): Likewise.
68348 (LDFLAGS-order2mod1.so): Likewise.
68349 (LDFLAGS-order2mod2.so): Likewise.
68350 (LDFLAGS-tst-initorder2): Likewise.
68351 (LDFLAGS-tst-initorder2a.so): Likewise.
68352 (LDFLAGS-tst-initorder2b.so): Likewise.
68353 (LDFLAGS-tst-initorder2c.so): Likewise.
68354 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68355
68356 2012-05-02 David S. Miller <davem@davemloft.net>
68357
68358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68359
68360 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
68361
68362 [BZ #14055]
68363 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68364
68365 2012-05-02 Andreas Jaeger <aj@suse.de>
68366
68367 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68368 since we manipulate rounding mode.
68369 (CPPFLAGS-test-idouble.c): Likewise.
68370 (CPPFLAGS-test-ifloat.c): Likewise.
68371 (CFLAGS-test-ldouble.c): Likewise.
68372 (CFLAGS-test-double.c): Likewise.
68373 (CFLAGS-test-float.c): Likewise.
68374 (CFLAGS-test-misc.c): Likewise.
68375 (CFLAGS-test-test-fenv.c): Likewise.
68376
68377 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68378
68379 [BZ #2550]
68380 [BZ #2570]
68381 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68382 comparisons to determine direction to adjust input.
68383
68384 2012-05-01 Roland McGrath <roland@hack.frob.com>
68385
68386 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68387 output to the target.
68388
68389 * scripts/localplt.awk: New file.
68390 * elf/Makefile ($(objpfx)check-localplt): Target removed.
68391 (check-localplt-CFLAGS): Variable removed.
68392 ($(all-built-dso:=.jmprel)): New static pattern rule.
68393 (generated): Add those targets.
68394 (localplt-built-dso): New variable.
68395 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68396
68397 * elf/check-localplt.c: File removed.
68398
68399 * scripts/check-execstack.awk: New file.
68400 * elf/Makefile ($(objpfx)check-execstack): Target removed.
68401 (check-execstack-CFLAGS): Variable removed.
68402 ($(objpfx)check-execstack.h): Target removed.
68403 ($(objpfx)execstack-default): New target.
68404 (generated): Add that instead of check-execstack.h.
68405 ($(all-built-dso:=.phdr)): New static pattern rule.
68406 (generated): Add those targets.
68407 * elf/check-execstack.c: File removed.
68408
68409 * scripts/check-textrel.awk: New file.
68410 * elf/Makefile ($(objpfx)check-textrel): Target removed.
68411 (check-textrel-CFLAGS): Variable removed.
68412 (all-built-dso): Use := to define.o
68413 ($(all-built-dso:=.dyn)): New static pattern rule.
68414 (generated): Add those targets.
68415 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68416 * config.make.in (READELF): New substituted variable.
68417 * elf/check-textrel.c: File removed.
68418
68419 2012-05-01 Joseph Myers <joseph@codesourcery.com>
68420
68421 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68422 allow.
68423 * conform/data/ctype.h-data [C99-based standards] (isblank):
68424 Expect function.
68425 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68426 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68427 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68428 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68429 Specify type. Require positive value.
68430 (EILSEQ): Likewise.
68431 (ERANGE): Likewise.
68432 [ISO || POSIX] (EILSEQ): Do not expect.
68433 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68434 Specify type. Require positive value.
68435 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68436 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68437 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68438 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68439 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68440 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68441 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68442 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68443 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68444 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68445 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68446 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68447 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68448 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68449 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68450 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68451 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68452 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68453 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68454 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68455 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68456 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68457 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68458 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68459 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68460 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68461 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68462 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68463 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68464 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68465 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68466 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68467 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68468 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68469 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68470 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68471 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68472 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68473 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68474 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68475 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68476 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68477 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68478 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68479 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68480 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68481 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68482 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68483 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68484 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68485 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68486 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68487 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68488 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68489 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68490 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68491 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68492 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68493 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68494 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68495 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68496 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68497 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68498 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68499 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68500 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68501 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68502 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68503 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68504 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68505 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68506 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68507 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68508 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68509 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68510 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68511 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68512 Require >= 2.
68513 (FLT_ROUNDS): Expect as macro, not constant.
68514 (FLT_MANT_DIG): Use macro-int-constant.
68515 (DBL_MANT_DIG): Likewise.
68516 (LDBL_MANT_DIG): Likewise.
68517 (FLT_DIG): Likewise.
68518 (DBL_DIG): Likewise.
68519 (LDBL_DIG): Likewise.
68520 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
68521 (DBL_MIN_EXP): Likewise.
68522 (LDBL_MIN_EXP): Likewise.
68523 (FLT_MAX_EXP): Use macro-int-constant.
68524 (DBL_MAX_EXP): Likewise.
68525 (LDBL_MAX_EXP): Likewise.
68526 (FLT_MAX_10_EXP): Likewise.
68527 (DBL_MAX_10_EXP): Likewise.
68528 (LDBL_MAX_10_EXP): Likewise.
68529 (FLT_MAX): Use macro-constant.
68530 (DBL_MAX): Likewise.
68531 (LDBL_MAX): Likewise.
68532 (FLT_EPSILON): Use macro-constant. Give upper bound.
68533 (DBL_EPSILON): Likewise.
68534 (LDBL_EPSILON): Likewise.
68535 (FLT_MIN): Likewise.
68536 (DBL_MIN): Likewise.
68537 (LDBL_MIN): Likewise.
68538 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68539 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68540 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68541 [ISO11] (FLT_HAS_SUBNORM): Likewise.
68542 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68543 [ISO11] (DBL_DECIMAL_DIG): Likewise.
68544 [ISO11] (FLT_DECIMAL_DIG): Likewise.
68545 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68546 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68547 [ISO11] (FLT_TRUE_MIN): Likewise.
68548 [ISO11] (LDBL_TRUE_MIN): Likewise.
68549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68550 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68551 (SCHAR_MIN): Use macro-int-constant. Specify type.
68552 (SCHAR_MAX): Likewise.
68553 (UCHAR_MAX): Likewise.
68554 (CHAR_MIN): Likewise.
68555 (CHAR_MAX): Likewise.
68556 (MB_LEN_MAX): Use macro-int-constant.
68557 (SHRT_MIN): Use macro-int-constant. Specify type.
68558 (SHRT_MAX): Likewise.
68559 (USHRT_MAX): Likewise.
68560 (INT_MAX): Likewise.
68561 (INT_MIN): Use macro-int-constant. Specify type. Make upper
68562 bound negative.
68563 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
68564 bound with "U".
68565 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
68566 bound with "L".
68567 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
68568 bound negative. Suffix upper bound with "L".
68569 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
68570 bound with "UL".
68571 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68572 Specify type.
68573 [C99-based standards] (LLONG_MAX): Likewise.
68574 [C99-based standards] (ULLONG_MAX): Likewise.
68575 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
68576 == 0.
68577 [ISO11] (max_align_t): Require type.
68578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68579
68580 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68581 from $CFLAGS, without defining away __attribute__ calls.
68582 (checknamespace): Use $CFLAGS_namespace.
68583
68584 * conform/conformtest.pl (@keywords): Only include C99 keywords
68585 for standards based on C99 or C11.
68586
68587 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68588 Disable tests.
68589 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68590 UNIX98]: Likewise.
68591
68592 * conform/conformtest.pl: Handle "macro-int-constant" and test for
68593 usability of symbols in #if.
68594
68595 * conform/conformtest.pl: If macro or constant types start
68596 "promoted:", expect the symbol to be of the following type
68597 promoted by the integer promotions.
68598
68599 * conform/conformtest.pl: Parse all "constant" and "macro" lines
68600 in one place. Also handle "macro-constant".
68601
68602 * conform/conformtest.pl: Only accept expected macro values with
68603 "==". Parse all "macro" lines in one place.
68604 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68605
68606 * conform/conformtest.pl: Handle braced types on "constant" lines
68607 instead of handling "typed-constant".
68608 * conform/data/signal.h-data: Use "constant" instead of
68609 "typed-constant".
68610
68611 * conform/conformtest.pl: Handle "optional-" at start of lines in
68612 one place rather than duplicating several cases. Handle each
68613 format of "macro" line with initial "optional-".
68614
68615 * conform/conformtest.pl: Only accept expected constant or
68616 optional-constant values with "==". Parse all "constant" lines in
68617 one place. Parse all "optional-constant" lines in one place.
68618 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68619 * conform/data/fmtmsg.h-data: Likewise.
68620 * conform/data/netinet/in.h-data: Likewise.
68621 * conform/data/tar.h-data: Likewise.
68622 * conform/data/limits.h-data: Use "==" form on "constant" and
68623 "optional-constant" lines.
68624
68625 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68626 Use -std=c99 for XOPEN2K.
68627 (@knownproblems): Remove.
68628 (newtoken): Don't check %isknown.
68629
68630 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68631 Do not expect macro.
68632 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68633 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68634 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68635 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68636 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68637 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68638 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68639 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68640 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68641 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68642 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68643 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68644 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68645 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68646 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68647 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68648 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68649 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68650 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68651 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68652 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68653 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68654 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68656 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68657 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68658 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68659 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68660 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68661 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68662 [XPG3] (acosh): Likewise.
68663 [XPG3] (asinh): Likewise.
68664 [XPG3] (atanh): Likewise.
68665 [XPG3] (cbrt): Likewise.
68666 [XPG3] (expm1): Likewise.
68667 [XPG3] (ilogb): Likewise.
68668 [XPG3] (log1p): Likewise.
68669 [XPG3] (logb): Likewise.
68670 [XPG3] (nextafter): Likewise.
68671 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68672 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68673 [XPG3] (remainder): Likewise.
68674 [XPG3] (rint): Likewise.
68675 [XPG3 || XPG4 || UNIX98] (round): Likewise.
68676 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68677 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68678 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68679 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68680 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68681 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68682 [UNIX98 || XOPEN2K] (scalb): Expect.
68683 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68684 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68685 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68686 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68687 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68688 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68689 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68690 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68691 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68692 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68693 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68694 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68695 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68696 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68697 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68698 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68699 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68700 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68701 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68702 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68703 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68704 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68705 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68706 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68707 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68708 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68709 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68710 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68711 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68712 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68713 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68714 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68715 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68716 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68717 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68718 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68719 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68720 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68721 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68722 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68723 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68724 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68725 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68726 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68727 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68728 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68729 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68730 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68731 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68732 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68733 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68734 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68735 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68736 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68737 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68738 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68739 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68740 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68741 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68742 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68743 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68744 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68745 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68746 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68747 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68748 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68749 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68750 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68751 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68752 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68753 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68754 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68755 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68756 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68757 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68758 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68759 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68760 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68761 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68762 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68763 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68764 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68765 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68766 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68767 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68768 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68769 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68770 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68771 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68772 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68773 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68774 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68775 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68776 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68777 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68778 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68779 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68780 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68781 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68782 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68783 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68784 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68785 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68786 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68787 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68788 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68789 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68790 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68791 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68792 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68793 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68794 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68795 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68796 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68797 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68798 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68799 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68800 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68801 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68802 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68803 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68804 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68805 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68806 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68807 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68808 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68809 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68810 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68811 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68812 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68813 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68814 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68815 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68816 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68817 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68818 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68819 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68820
68821 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68822 _XOPEN_SOURCE_EXTENDED for XPG4.
68823
68824 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68825
68826 * Makeconfig (localtime): Remove variable.
68827 (inst_localtime-file): Likewise.
68828
68829 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
68830
68831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68832 Update.
68833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68834 Update.
68835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68836 Update.
68837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68838 Update.
68839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68840 Update.
68841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68842 Update.
68843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68844 Update.
68845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68846 Update.
68847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68848 Update.
68849
68850 2012-05-01 Joseph Myers <joseph@codesourcery.com>
68851
68852 [BZ #2550]
68853 [BZ #2570]
68854 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68855 comparisons to determine direction to adjust input.
68856 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68857 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68858 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68859 Likewise.
68860 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68861 Likewise.
68862 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68863 Likewise.
68864 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68865 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68866 Likewise.
68867 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68868 Likewise.
68869 * math/libm-test.inc (nexttoward_test): Add more tests.
68870
68871 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
68872
68873 [BZ #14040]
68874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68875 in version GLIBC_2.1, not GLIBC_2.0.
68876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68877 Likewise.
68878
68879 2012-04-30 Joseph Myers <joseph@codesourcery.com>
68880
68881 [BZ #13942]
68882 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68883 (1 - x) * (1 + x).
68884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68885 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68886 * math/libm-test.inc (acos_test): Add more tests.
68887 (asin_test): Likewise.
68888 * sysdeps/i386/fpu/libm-test-ulps: Update.
68889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68890
68891 [BZ #14034]
68892 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68893 of square root.
68894 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68895 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68896 * math/libm-test.inc (acos_test_tonearest): New function.
68897 (acos_test_towardzero): Likewise.
68898 (acos_test_downward): Likewise.
68899 (acos_test_upward): Likewise.
68900 (asin_test_tonearest): Likewise.
68901 (asin_test_towardzero): Likewise.
68902 (asin_test_downward): Likewise.
68903 (asin_test_upward): Likewise.
68904 (main): Call the new functions.
68905 * sysdeps/i386/fpu/libm-test-ulps: Update.
68906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68907
68908 [BZ #13884]
68909 [BZ #13924]
68910 * math/e_exp10.c: Include <float.h>.
68911 (__ieee754_exp10): Handle underflow here rather than multiplying
68912 large negative argument by M_LN10.
68913 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68914 of __ieee754_expf.
68915 * math/e_exp10l.c: Include <float.h>.
68916 (__ieee754_exp10l): Handle underflow here rather than multiplying
68917 large negative argument by M_LN10l.
68918 * math/libm-test.inc (exp10_test): Add another test. Do not allow
68919 spurious overflow exception on underflow.
68920
68921 2012-04-29 Marek Polacek <polacek@redhat.com>
68922
68923 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68924 (__fortify_function): New macro.
68925 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68926 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68927 __extern_always_inline.
68928 * libio/bits/stdio2.h: Likewise.
68929 * libio/bits/stdio.h: Likewise.
68930 * string/string.h: Likewise.
68931 * string/bits/string3.h: Likewise.
68932 * include/stdio.h: Likewise.
68933 * stdlib/bits/stdlib.h: Likewise.
68934 * stdlib/stdlib.h: Likewise.
68935 * rt/bits/mqueue2.h: Likewise.
68936 * rt/mqueue.h: Likewise.
68937 * posix/bits/unistd.h: Likewise.
68938 * posix/unistd.h: Likewise.
68939 * io/bits/poll2.h: Likewise.
68940 * io/bits/fcntl2.h: Likewise.
68941 * io/fcntl.h: Likewise.
68942 * io/sys/poll.h: Likewise.
68943 * misc/bits/syslog.h: Likewise.
68944 * misc/bits/syslog-ldbl.h: Likewise.
68945 * misc/sys/syslog.h: Likewise.
68946 * socket/bits/socket2.h: Likewise.
68947 * socket/sys/socket.h: Likewise.
68948 * debug/tst-chk1.c: Likewise.
68949 * wcsmbs/bits/wchar2.h: Likewise.
68950 * wcsmbs/bits/wchar-ldbl.h: Likewise.
68951 * wcsmbs/wchar.h: Likewise.
68952
68953 2012-04-29 Andreas Jaeger <aj@suse.de>
68954
68955 * Makerules (tests): Remove enable-check-abi protection.
68956 (check-abi-warn): Remove.
68957 (check-abi-%): Remove check-abi-warn usage.
68958
68959 * configure.in: Remove check-abi configure option.
68960 * configure: Regenerated.
68961 * config.make.in (enable-check-abi): Remove.
68962
68963 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
68964
68965 [BZ #14033]
68966 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68967 double functions to double *_finite functions.
68968
68969 [BZ #13941]
68970 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68971 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68972 LDBL_MIN_EXP.
68973 * stdio-common/Makefile (tests): Add tst-sprintf3.
68974 * stdio-common/tst-sprintf3.c: New file.
68975
68976 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68977 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68978
68979 2012-04-28 Joseph Myers <joseph@codesourcery.com>
68980
68981 * conform/conformtest.pl: Remove duplicate typed-constant
68982 handling.
68983
68984 2012-04-28 David S. Miller <davem@davemloft.net>
68985
68986 * Makerules (%.abilist): Add vpath on sysdep_dirs.
68987 (check-abi-%): Remove AWK script prerequisite and explicit
68988 abilist directory.
68989 (check-abi): Rewrite to just diff the symlist with the abilist.
68990 (config-tls, config-abi-config): Delete, no longer used.
68991 (update-abi-%): Remove AWK script and explicit abilist directory.
68992 (update-abi): Rewrite to simply compare and conditionally copy the
68993 symlist and the sysdep abilist file. Remove update-abi-config
68994 checks.
68995 * abilist/ld.abilist: Remove.
68996 * abilist/libBrokenLocale.abilist: Remove.
68997 * abilist/libanl.abilist: Remove.
68998 * abilist/libcrypt.abilist: Remove.
68999 * abilist/libdl.abilist: Remove.
69000 * abilist/librt.abilist: Remove.
69001 * abilist/libthread_db.abilist: Remove.
69002 * abilist/libutil.abilist: Remove.
69003 * scripts/extract-abilist.awk: Remove.
69004 * scripts/merge-abilist.awk: Remove.
69005 * sysdeps/generic/libcidn.abilist: New file.
69006 * sysdeps/generic/libnss_compat.abilist: New file.
69007 * sysdeps/generic/libnss_db.abilist: New file.
69008 * sysdeps/generic/libnss_dns.abilist: New file.
69009 * sysdeps/generic/libnss_files.abilist: New file.
69010 * sysdeps/generic/libnss_hesiod.abilist: New file.
69011 * sysdeps/generic/libnss_nis.abilist: New file.
69012 * sysdeps/generic/libnss_nisplus.abilist: New file.
69013 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69014 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69015 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69016 file.
69017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69018 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69019 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69020 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69021 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69022 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69023 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69024 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69025 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69026 file.
69027 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69028 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69029 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69030 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69031 file.
69032 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69033 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69034 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69035 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69036 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69037 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69038 file.
69039 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69040 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69041 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69042 file.
69043 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69045 New file.
69046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69047 New file.
69048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69049 New file.
69050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69051 New file.
69052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69053 New file.
69054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69055 New file.
69056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69057 New file.
69058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69059 New file.
69060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69061 New file.
69062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69063 New file.
69064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69065 New file.
69066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69067 New file.
69068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69069 New file.
69070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69071 file.
69072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69073 New file.
69074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69075 New file.
69076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69077 file.
69078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69079 New file.
69080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69081 New file.
69082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69083 file.
69084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69085 New file.
69086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69087 New file.
69088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69089 New file.
69090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69091 New file.
69092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69093 New file.
69094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69095 New file.
69096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69098 file.
69099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69100 New file.
69101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69102 file.
69103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69104 file.
69105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69106 file.
69107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69108 file.
69109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69110 file.
69111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69112 New file.
69113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69114 file.
69115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69116 file.
69117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69118 New file.
69119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69120 file.
69121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69123 file.
69124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69125 New file.
69126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69127 file.
69128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69129 file.
69130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69131 file.
69132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69133 file.
69134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69135 file.
69136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69137 New file.
69138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69139 file.
69140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69141 file.
69142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69143 New file.
69144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69145 file.
69146 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69147 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69148 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69149 file.
69150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69151 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69152 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69153 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69154 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69155 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69156 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69157 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69158 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69159 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69162 file.
69163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69164 New file.
69165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69166 file.
69167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69168 file.
69169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69170 file.
69171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69172 file.
69173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69174 file.
69175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69176 New file.
69177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69178 New file.
69179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69180 file.
69181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69182 New file.
69183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69184 file.
69185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69187 file.
69188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69189 New file.
69190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69191 file.
69192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69193 file.
69194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69195 file.
69196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69197 file.
69198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69199 file.
69200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69201 New file.
69202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69203 New file.
69204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69205 file.
69206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69207 New file.
69208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69209 file.
69210
69211 2012-04-28 Joseph Myers <joseph@codesourcery.com>
69212
69213 * conform/conformtest.pl: Fix typo in handling typed-constant from
69214 allow-header.
69215
69216 2012-04-27 Joseph Myers <joseph@codesourcery.com>
69217
69218 * README: Cut down references to pre-2.6 Linux kernels and
69219 Linuxthreads. Update lists of configurations in libc and ports
69220 and sort alphabetically. Say "or newer" with Linux kernel version
69221 requirements.
69222
69223 * config.h.in [IS_IN_build]: Allow compiling without optimization.
69224
69225 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
69226
69227 [BZ #887]
69228 * math/libm-test.inc (logb_test_downward): New test to expose
69229 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69230 rounding mode.
69231
69232 2012-04-27 Joseph Myers <joseph@codesourcery.com>
69233
69234 [BZ #14027]
69235 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69236 to be done.
69237 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69238 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69239
69240 2012-04-26 Joseph Myers <joseph@codesourcery.com>
69241
69242 * sysdeps/unix/i386/brk.S: Remove file.
69243 * sysdeps/unix/i386/dl-brk.S: Likewise.
69244 * sysdeps/unix/i386/pipe.S: Likewise.
69245 * sysdeps/unix/i386/sigreturn.S: Likewise.
69246 * sysdeps/unix/i386/syscall.S: Likewise.
69247 * sysdeps/unix/i386/vfork.S: Likewise.
69248 * sysdeps/unix/i386/wait.S: Likewise.
69249
69250 * sysdeps/unix/common/tcsendbrk.c: Move to ...
69251 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69252
69253 * configure.in (arm*-none*): Do not allow without
69254 --enable-hacker-mode.
69255 (netbsd*): Remove case setting base_os.
69256 (386bsd*): Likewise.
69257 (freebsd*): Likewise.
69258 (bsdi*): Likewise.
69259 (osf*): Likewise.
69260 (sunos*): Likewise.
69261 (ultrix*): Likewise.
69262 (newsos*): Likewise.
69263 (dynix*): Likewise.
69264 (*bsd*): Likewise.
69265 (sysv*): Likewise.
69266 (isc*): Likewise.
69267 (esix*): Likewise.
69268 (sco*): Likewise.
69269 (minix*): Likewise.
69270 (irix4*): Likewise.
69271 (irix6*): Likewise.
69272 (solaris[2-9]*): Likewise.
69273 (none): Likewise.
69274 * configure: Regenerated.
69275
69276 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69277
69278 [BZ #11521]
69279 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69280 overflow or cancellation in calculating denominator.
69281 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69283 down expression to avoid unexpected rounding in newer GCCs.
69284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69285
69286 2012-04-26 David S. Miller <davem@davemloft.net>
69287
69288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69289 long-double compat symbols.
69290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69303
69304 2012-04-25 David S. Miller <davem@davemloft.net>
69305
69306 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69307 HWCAP_* values only after the memory barriers have been defined.
69308 (atomic_full_barrier): Define.
69309 (atomic_read_barrier): Define.
69310 (atomic_write_barrier): Define.
69311
69312 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69313
69314 * shlib-versions: Add libgcc_s version information.
69315 * sysdeps/generic/libgcc_s.h: Remove.
69316 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69317 libgcc_s.h.
69318 * sysdeps/gnu/unwind-resume.c: Likewise.
69319 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69320
69321 2012-04-25 David S. Miller <davem@davemloft.net>
69322
69323 * sysdeps/unix/sparc/brk.S: Delete.
69324 * sysdeps/unix/sparc/dl-brk.S: Delete.
69325 * sysdeps/unix/sparc/pipe.S: Delete.
69326 * sysdeps/unix/sparc/sysdep.S: Delete.
69327 * sysdeps/unix/sparc/sysdep.h: Delete.
69328 * sysdeps/unix/sparc/vfork.S: Delete.
69329 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69330 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69331 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69332 (ret_ERRVAL, r0, r1, MOVE): Define.
69333 (JUMPTARGET): Remove.
69334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69335 sysdeps/unix/sparc/sysdep.h
69336 (ENTRY, END): Remove.
69337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69338
69339 2012-04-25 Joseph Myers <joseph@codesourcery.com>
69340
69341 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69342 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69343 -DIS_IN_build.
69344
69345 * timezone/README: Update upstream location and email address for
69346 tzcode and tzdata.
69347 * timezone/zdump.c: Update from tzcode 2012b.
69348 * timezone/zic.c: Likewise.
69349
69350 * configure.in (libc_cv_as_needed): Remove test.
69351 * configure: Regenerated.
69352 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69353 conditional definition.
69354 [$(have-as-needed) != yes] (no-as-needed): Likewise.
69355 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69356 * config.make.in (have-as-needed): Remove variable.
69357
69358 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69359 Paul Pluzhnikov <ppluzhnikov@google.com>
69360
69361 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69362 strings correctly.
69363
69364 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
69365
69366 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69367 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69368 * sysdeps/sh/strlen.S: Likewise.
69369
69370 2012-04-24 Joseph Myers <joseph@codesourcery.com>
69371
69372 * sysdeps/unix/fork.S: Remove file.
69373 * sysdeps/unix/i386/fork.S: Likewise.
69374 * sysdeps/unix/sparc/fork.S: Likewise.
69375
69376 * sysdeps/unix/system.c: Remove file.
69377 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69378
69379 * sysdeps/unix/getegid.S: Remove file.
69380 * sysdeps/unix/geteuid.S: Likewise.
69381
69382 2012-04-24 Roland McGrath <roland@hack.frob.com>
69383
69384 * scripts/check-localplt.awk: New file.
69385 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69386 of diff.
69387 * scripts/data/localplt-generic.data: Add a comment.
69388
69389 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69390 NODE when __dir_mkfile failed.
69391 * sysdeps/mach/hurd/symlinkat.c: Likewise.
69392 Reported by Ludovic Courtès <ludo@gnu.org>.
69393
69394 2012-04-24 Andreas Jaeger <aj@suse.de>
69395
69396 * Makerules (common-clean): Also remove gen-as-const-headers
69397 files.
69398
69399 2012-04-24 Joseph Myers <joseph@codesourcery.com>
69400
69401 * Makerules (native-compile): Do not change working directory for
69402 build. Use $(OUTPUT_OPTION) in command.
69403 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69404
69405 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69406
69407 [BZ #13886]
69408 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69409 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69410 * math/libm-test.inc (floor_test): Add more tests.
69411 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69412
69413 2012-04-24 Joseph Myers <joseph@codesourcery.com>
69414
69415 * sysdeps/unix/getdents.c: Remove file.
69416 * sysdeps/unix/sysv/getdents.c: Likewise.
69417 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69418
69419 * sysdeps/unix/syscalls.list (madvise): Add syscall from
69420 sysdeps/unix/mman/syscalls.list.
69421 (mmap): Likewise.
69422 (mprotect): Likewise.
69423 (msync): Likewise.
69424 (munmap): Likewise.
69425 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69426 * sysdeps/unix/mman/syscalls.list: Remove.
69427 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69428
69429 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69430 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69431 * configure: Regenerated.
69432 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69433 $(libgcc_s_suffix).
69434 * config.make.in (libgcc_s_suffix): Remove variable.
69435
69436 2012-04-23 Joseph Myers <joseph@codesourcery.com>
69437
69438 * sysdeps/unix/sysv/gethostname.c: Move to ...
69439 * sysdeps/posix/gethostname.c: ... here.
69440
69441 * sysdeps/unix/execve.S: Remove file.
69442
69443 * sysdeps/unix/_exit.S: Remove file.
69444
69445 2012-04-23 Andreas Jaeger <aj@suse.de>
69446
69447 [BZ #13739]
69448 * manual/Makefile: Remove make dist support, there's no
69449 need for a stand-alone documentation tar ball.
69450 (TEXI2DVI): Define always, it's not in Makeconfig.
69451 (dist): Removed.
69452 (tar-it): Removed.
69453 (edition): Removed.
69454 (glibc-doc-$(edition).tar): Removed
69455 (%.Z): Removed.
69456 (%.gz): Removed.
69457 (%.uu): Removed.
69458 (ETAGS): Remove, it's in Makeconfig.
69459 (move-if-change): Remove, it's in Makeconfig.
69460
69461 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
69462
69463 [BZ #13970]
69464 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69465 (strtod, strtof, strtold, strtol, strtoul, strtoq)
69466 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69467 (strtod_l, strtof_l, strtold_l): Remove __wur.
69468 It is not necessarily an error to ignore strtol's return value.
69469 One can reliably look at the stored endptr to decide whether
69470 the number had valid syntax.
69471
69472 2012-04-21 Andreas Jaeger <aj@suse.de>
69473
69474 [BZ #13739]
69475 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69476
69477 2012-04-21 Joseph Myers <joseph@codesourcery.com>
69478
69479 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69480 * sysdeps/unix/sysv/Versions: Remove file.
69481
69482 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
69483
69484 [BZ #13927]
69485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69486
69487 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
69488
69489 [BZ #7064]
69490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69491 version from __vm86.
69492
69493 2012-04-20 Joseph Myers <joseph@codesourcery.com>
69494
69495 * sysdeps/unix/common/lxstat.c: Remove file.
69496 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69497
69498 * sysdeps/unix/sysv/Makefile: Remove file.
69499
69500 * sysdeps/unix/sysv/direct.h: Remove file.
69501
69502 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69503 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69504 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69505 * sysdeps/unix/sysv/bits/signum.h: Likewise.
69506 * sysdeps/unix/sysv/bits/stat.h: Likewise.
69507 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69508 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69509
69510 * sysdeps/unix/sysv/setrlimit.c: Remove file.
69511
69512 * sysdeps/unix/xmknod.c: Remove file.
69513 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69514
69515 * sysdeps/unix/sysv/settimeofday.c: Remove file.
69516
69517 * sysdeps/unix/sysv/i386/time.S: Remove file.
69518
69519 * sysdeps/unix/fxstat.c: Remove file.
69520 * sysdeps/unix/xstat.c: Likewise.
69521 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69522
69523 * sysdeps/unix/sysv/sigaction.c: Remove file.
69524
69525 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69526 (sysdep_headers): Remove variable.
69527 [termio.h not in sysdep_headers] (generated): Likewise.
69528 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69529 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69530 * sysdeps/unix/sysv/tcdrain.c: Likewise.
69531 * sysdeps/unix/sysv/tcflow.c: Likewise.
69532 * sysdeps/unix/sysv/tcflush.c: Likewise.
69533 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69534 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69535 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69536 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69537 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69538
69539 * sysdeps/unix/siglist.c: Remove file.
69540
69541 * sysdeps/unix/getppid.S: Remove file.
69542
69543 * sysdeps/unix/mkdir.c: Remove file.
69544 * sysdeps/unix/rmdir.c: Likewise.
69545
69546 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
69547
69548 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69549 ERR_MAX value.
69550 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69551 errlist-compat value.
69552
69553 2012-04-18 David S. Miller <davem@davemloft.net>
69554
69555 * sysdeps/generic/memcopy.h (reg_char): Delete.
69556 * debug/strcat_chk.c: Use char, not reg_char.
69557 * debug/strcpy_chk.c: Likewise.
69558 * debug/strncat_chk.c: Likewise.
69559 * debug/strncpy_chk.c: Likewise.
69560 * string/memchr.c: Likewise.
69561 * string/memrchr.c: Likewise.
69562 * string/rawmemchr.c: Likewise.
69563 * string/strcat.c: Likewise.
69564 * string/strchr.c: Likewise.
69565 * string/strchrnul.c: Likewise.
69566 * string/strcmp.c: Likewise.
69567 * string/strcpy.c: Likewise.
69568 * string/strncat.c: Likewise.
69569 * string/strncmp.c: Likewise.
69570 * string/strncpy.c: Likewise.
69571
69572 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
69573
69574 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69575 __builtin_memcopy is called when src and dest ranges are known to not
69576 overlap.
69577
69578 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
69579
69580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69581 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69582 fwd_align_merge macro call.
69583 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69584 bwd_align_merge macro call.
69585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69586
69587 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
69588
69589 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69590 bwd_align_merge macros.
69591 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69592 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69593 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69594
69595 2012-04-18 David S. Miller <davem@davemloft.net>
69596
69597 * sysdeps/sparc/sparc64/memcopy.h: Delete.
69598
69599 2012-04-18 Andreas Jaeger <aj@suse.de>
69600
69601 [BZ# 6794]
69602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69603 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69605
69606 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69607 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69609
69610 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69611 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69612 Adjust for changed ldbl-128 files.
69613
69614 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69615 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69617
69618 2012-04-17 David S. Miller <davem@davemloft.net>
69619
69620 * sysdeps/sparc/sparc32/memcopy.h: Delete.
69621
69622 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
69623
69624 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69625 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69626 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69627 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69628 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69629 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69630
69631 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69632
69633 [BZ #6794]
69634 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69635 * math/libm-test.inc: Add ilogb errno and exception tests.
69636 * math/w_ilogb.c: New file: ilogb wrapper.
69637 * math/w_ilogbf.c: New file: ilogbf wrapper.
69638 * math/w_ilogbl.c: New file: ilogbl wrapper.
69639 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69640 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69641 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69642 exception being thrown with 0.0 as argument.
69643 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69644 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69645 exception being thrown with 0.0 as argument.
69646 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69647 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69648 exception being thrown with 0.0 as argument.
69649 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69650 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69651 exception being thrown with 0.0 as argument.
69652 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69653 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69654 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69655 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69656 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69657 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69658 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69659 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69660 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69661
69662 2012-04-17 Petr Baudis <pasky@ucw.cz>
69663
69664 * include/sys/uio.h: Change __vector to __iovec to avoid clash
69665 with altivec.
69666
69667 2012-04-16 Marek Polacek <polacek@redhat.com>
69668
69669 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69670
69671 2012-04-16 Marek Polacek <polacek@redhat.com>
69672
69673 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69674 operands of fdivp instruction.
69675
69676 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
69677
69678 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69679 * elf/tst-auditmod3b.c: Likewise.
69680 * elf/tst-auditmod4b.c: Likewise.
69681 * elf/tst-auditmod5b.c: Likewise.
69682 * elf/tst-auditmod6b.c: Likewise.
69683 * elf/tst-auditmod6c.c: Likewise.
69684 * elf/tst-auditmod7b.c: Likewise.
69685 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69686 * sysdeps/x86_64/preconfigure.in: Likewise.
69687 * sysdeps/x86_64/preconfigure: Regenerated.
69688
69689 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
69690
69691 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69692 __ILP32__.
69693
69694 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
69695
69696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69697 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69698
69699 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
69700
69701 [BZ #13973]
69702 * locale/iso-639.def: Fix gl language name. Spotted by
69703 Yaron Shahrabani.
69704
69705 2012-04-12 Roland McGrath <roland@hack.frob.com>
69706
69707 [BZ #2074]
69708 * libio/libio.h (__io_write_fn): Update comment.
69709
69710 2012-04-12 Petr Baudis <pasky@ucw.cz>
69711
69712 [BZ #2074]
69713 * stdio.texi (Hook Functions): The user provided writer function
69714 is not allowed to return -1.
69715
69716 2012-04-11 David S. Miller <davem@davemloft.net>
69717
69718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69719
69720 2012-04-11 Mike Frysinger <vapier@gentoo.org>
69721
69722 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69723 Add a leading slash to rtkaio.
69724
69725 2012-04-11 Jim Meyering <meyering@redhat.com>
69726
69727 [BZ #11959]
69728 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69729 It is not necessarily an error to ignore fwrite's return
69730 value. One can reliably use ferror to test for errors after
69731 the fact.
69732
69733 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
69734
69735 * bits/types.h (__snseconds_t): New type.
69736 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69737
69738 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69740 (__SNSECONDS_T_TYPE): Likewise.
69741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69742 (__SNSECONDS_T_TYPE): Likewise.
69743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69744 (__SNSECONDS_T_TYPE): Likewise.
69745
69746 2012-04-10 Andreas Jaeger <aj@suse.de>
69747
69748 [BZ #2636]
69749 * manual/time.texi (Processor Time): Return type of times is
69750 elapsed real time since an arbitrary point in the past.
69751 (CPU Time): Move CLK_TCK from here...
69752 (Processor Time): ...to here. Correct description.
69753 * manual/conf.texi (Constants for Sysconf): Correct description of
69754 _SC_CLK_TCK.
69755
69756 2012-04-10 David S. Miller <davem@davemloft.net>
69757
69758 [BZ #13967]
69759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69760 where the is a gap between DT_REL(A) and DT_JMPREL.
69761
69762 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
69763
69764 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69765 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69766 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69767
69768 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
69769
69770 * elf/dl-support.c (_dl_inhibit_cache): New variable.
69771 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69772 (dl_main): Handle --inhibit-cache.
69773 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69774 _dl_inhibit_cache.
69775 * elf/dl-load.c (_dl_map_object): Use it.
69776 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69777
69778 2012-04-09 Joseph Myers <joseph@codesourcery.com>
69779
69780 [BZ #13872]
69781 * sysdeps/i386/fpu/e_powl.S (p78): New object.
69782 (__ieee754_powl): Saturate large exponents rather than testing for
69783 overflow of y*log2(x).
69784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69785 * math/libm-test.inc (pow_test): Do not permit spurious overflow
69786 exceptions.
69787
69788 [BZ #11521]
69789 * math/s_ctan.c: Include <float.h>.
69790 (__ctan): Avoid internal overflow or cancellation in calculating
69791 denominator.
69792 * math/s_ctanf.c: Likewise.
69793 * math/s_ctanl.c: Likewise.
69794 * math/s_ctanh.c: Likewise.
69795 * math/s_ctanhf.c: Likewise.
69796 * math/s_ctanhl.c: Likewise.
69797 * math/libm-test.inc (ctan_test): Add more tests.
69798 (ctanh_test): Likewise.
69799 * sysdeps/i386/fpu/libm-test-ulps: Update.
69800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69801
69802 2012-04-09 Andreas Jaeger <aj@suse.de>
69803
69804 [BZ #6894]
69805 * manual/filesys.texi (Directory Entries): Mention that d_namlen
69806 is an optional BSD extension.
69807
69808 [BZ #10254]
69809 * manual/stdio.texi (Opening Streams): Document additional fopen
69810 parameters.
69811
69812 2012-04-09 Roland McGrath <roland@hack.frob.com>
69813
69814 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69815 %eax without telling the compiler.
69816
69817 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
69818
69819 [BZ # 13963]
69820 * manual/install.texi: Use sourceware.org.
69821
69822 2012-04-09 Joseph Myers <joseph@codesourcery.com>
69823
69824 [BZ #13873]
69825 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69826 (__ieee754_pow): Generate overflow and underflow using huge*huge
69827 and tiny*tiny rather than just returning constant infinity or zero
69828 for large exponents.
69829 * math/libm-test.inc (pow_test): Require overflow exceptions for
69830 applicable cases of large exponents.
69831
69832 [BZ #706]
69833 * sysdeps/i386/fpu/e_pow.S (p10): New object.
69834 (__ieee754_pow): Use iterative multiplication algorithm only for
69835 integer exponents with absolute value below 1024. Check for odd
69836 integer exponents when using algorithm for real exponents.
69837 * math/libm-test.inc (pow_test): Add more tests.
69838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69839
69840 2012-04-08 Joseph Myers <joseph@codesourcery.com>
69841
69842 [BZ #13705]
69843 * math/libm-test.inc (exp_test): Do not allow overflow exception
69844 on underflow test.
69845
69846 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
69847
69848 [BZ #13705]
69849 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69850 instead of __kernel_standard_f.
69851
69852 2012-04-08 Mike Frysinger <vapier@gentoo.org>
69853
69854 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69855 * sysdeps/x86_64/memset_chk.S: Likewise.
69856
69857 2012-04-08 Andreas Jaeger <aj@suse.de>
69858
69859 [BZ #10153]
69860 * manual/startup.texi (Environment Access): Describe return value
69861 for putenv and setenv.
69862
69863 [BZ #6895]
69864 * manual/filesys.texi (Directory Entries): Add description for
69865 DT_LNK.
69866
69867 [BZ #6890]
69868 * manual/filesys.texi (Directory Entries): Clarify that it's file
69869 system not operating system in the description of DT_UNKNOWN.
69870
69871 [BZ #6578]
69872 * manual/syslog.texi (closelog): Fix reference, it's openlog.
69873
69874 2012-04-08 Stephen Compall <s11@member.fsf.org>
69875
69876 [BZ #6649]
69877 * manual/llio.texi (Opening and Closing Files): Add cross
69878 reference to explain mode argument.
69879
69880 2012-04-07 Mike Frysinger <vapier@gentoo.org>
69881
69882 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69883 * sysdeps/x86_64/memset_chk.S: Likewise.
69884
69885 2012-04-07 David S. Miller <davem@davemloft.net>
69886
69887 * elf/elf.h (R_SPARC_WDISP10): Define.
69888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69889 R_SPARC_SIZE32.
69890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69891 R_SPARC_SIZE64 and R_SPARC_H34.
69892
69893 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
69894
69895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69896 conditions and remove no longer applicable assertion.
69897
69898 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
69899
69900 * bits/byteswap.h: Include <features.h>.
69901 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69902 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69903
69904 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
69905
69906 * bits/byteswap.h (__bswap_16): Removed.
69907 Include <bits/byteswap-16.h> to get __bswap_16.
69908 * sysdeps/i386/bits/byteswap.h: Likewise.
69909 * sysdeps/s390/bits/byteswap.h: Likewise.
69910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
69911 * bits/byteswap-16.h: New file.
69912 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69913 * sysdeps/s390/bits/byteswap-16.h: Likewise.
69914 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69915 * string/Makefile (headers): Add bits/byteswap-16.h.
69916
69917 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69918
69919 [BZ #13895]
69920 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69921 extra indirection.
69922 * nss/Makefile (tests-static, tests): Add tst-nss-static.
69923 * nss/tst-nss-static.c: New.
69924
69925 2012-04-06 Robert Millan <rmh@gnu.org>
69926
69927 [BZ #6486]
69928 * manual/llio.texi (File Position Primitive): lseek
69929 refers to WHENCE when it really means OFFSET.
69930
69931 2012-04-06 Andreas Jaeger <aj@suse.de>
69932
69933 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69934 strncmp declarations.
69935
69936 * abilist/libc.abilist: Add __poll and __ppoll.
69937
69938 2012-04-05 David S. Miller <davem@davemloft.net>
69939
69940 * scripts/check-local-headers.sh: Accept a host triplet in the
69941 path matched by the exclude regexp.
69942
69943 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69944 definition.
69945 * sysdeps/powerpc/powerpc32/dl-machine.h
69946 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69947 * sysdeps/s390/s390-32/dl-machine.h
69948 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69949 * sysdeps/sparc/sparc32/dl-machine.h
69950 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69951 * sysdeps/sparc/sparc64/dl-machine.h
69952 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69953
69954 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69955 lazy binding.
69956 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69957 undefined symbol errors.
69958
69959 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69960 DT_NEEDED entries.
69961
69962 2012-04-05 Michael Matz <matz@suse.de>
69963
69964 [BZ #13592]
69965 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69966
69967 2012-04-05 Andreas Jaeger <aj@suse.de>
69968
69969 [BZ #13908]
69970 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69971 comment.
69972
69973 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69974
69975 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69976 which ROUND is no valid rounding mode.
69977
69978 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69979
69980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69981 read again.
69982 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69983
69984 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69985
69986 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69987 an exception using FPU order intentionally.
69988
69989 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69990
69991 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69992 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69993 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69994 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69995
69996 2012-04-05 Simon Josefsson <simon@josefsson.org>
69997
69998 [BZ #12340]
69999 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70000 EINVAL when BUFLEN is too smal.
70001
70002 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
70003
70004 [BZ #13553]
70005 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70006 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70007
70008 2012-04-03 Andreas Jaeger <aj@suse.de>
70009
70010 [BZ #13938]
70011 * manual/setjmp.texi (System V contexts): Fix sentence.
70012
70013 [BZ #13926]
70014 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70015 New macro for this case.
70016 [!__GNUC__] (__bswap_64): New inline function for this case.
70017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
70018 * bits/byteswap.h: Likewise.
70019 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70020 ull, guard with __GLIBC_HAVE_LONG_LONG.
70021
70022 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70023 __GLIBC_HAVE_LONG_LONG.
70024
70025 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70026 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70027
70028 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70029
70030 [BZ #13691]
70031 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70032 inptr and inend, rather than using last_ch.
70033
70034 2012-04-02 David S. Miller <davem@davemloft.net>
70035
70036 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70037 * stdio-common/printf-parse.h (read_int): Change return type to
70038 'int', return -1 on INT_MAX overflow.
70039 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70040 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
70041 overflows INT_MAX. Check for overflow of in-format-string precision
70042 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
70043 SIZE_MAX not INT_MAX for integer overflow test.
70044 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70045 skip the construct in the format string but do not record anything.
70046 * stdio-common/bug22.c: Adjust to test both width/prevision
70047 INT_MAX overflow as well as total length INT_MAX overflow. Check
70048 explicitly for proper errno values.
70049
70050 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
70051
70052 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70053 CHAR_MAX.
70054 * string/test-strcmp.c [! WIDE]: Likewise.
70055 * time/tst-mktime2.c: Likewise for INT_MAX.
70056 * string/test-string.h: #include <sys/param.h> for MIN.
70057
70058 * csu/init-first.c (__libc_init_first): Call __ctype_init.
70059 * sysdeps/i386/init-first.c (init): Likewise.
70060 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70061 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70062 * sysdeps/sh/init-first.c (init): Likewise.
70063
70064 2012-04-01 Ulrich Drepper <drepper@gmail.com>
70065
70066 * po/ru.po: Update from translation team.
70067 * po/vi.po: Likewise.
70068
70069 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
70070
70071 * resolv/nss_dns/dns-host.c: Merge copyright years.
70072
70073 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
70074
70075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70076 Optimize memcpy with prefetch if
70077 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
70078 src, dst pointers have unequal 16 byte alignments.
70079
70080 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
70081
70082 [BZ #13928]
70083 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70084 from a CNAME entry and return the minimum ttl for the query.
70085 (gaih_getanswer_slice): Likewise.
70086
70087 2012-03-30 Jeff Law <law@redhat.com>
70088
70089 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70090 due to long keys.
70091 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70092 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70093
70094 * resolv/nss_dns/dns-host.c: Update copyright year.
70095
70096 2012-03-30 Ulrich Drepper <drepper@gmail.com>
70097
70098 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70099 requests to save a system call. Fix check that all bytes are sent.
70100
70101 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70102 comments for sendmmsg.
70103
70104 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70105
70106 [BZ #13691]
70107 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70108 with only 1 character between 0x0041 and 0x01b0.
70109 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70110 * wcsmbs/tst-mbsnrtowcs.c: New file.
70111
70112 2012-03-29 David S. Miller <davem@davemloft.net>
70113
70114 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70115 small copies by hand.
70116
70117 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70118
70119 [BZ #13761]
70120 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70121 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70122 group memberships.
70123
70124 2012-03-28 David S. Miller <davem@davemloft.net>
70125
70126 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70127 that branches into memcpy.
70128 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70129 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70131 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70133 bits.
70134 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70135 implementation too.
70136 * sysdeps/sparc/mempcpy.S: New file.
70137
70138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70139 the IFUNC routine in the libc case.
70140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70141
70142 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70143 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70144 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70145 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70146 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70147 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70148 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70149 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70150
70151 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70152 loop to 256 bytes instead of 64 bytes and fix test signedness.
70153
70154 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70155 * sysdeps/sparc/sparc32/Makefile: rather than here...
70156 * sysdeps/sparc/sparc64/Makefile: and here.
70157
70158 2012-03-28 Ulrich Drepper <drepper@gmail.com>
70159
70160 * malloc/mallocbug.c: Avoid warnings about unused variables.
70161
70162 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
70163
70164 [BZ #13760]
70165 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70166 in the right place. Discard and retry query if response is
70167 larger than input buffer size.
70168
70169 2012-03-28 Joseph Myers <joseph@codesourcery.com>
70170
70171 [BZ #369]
70172 [BZ #2678]
70173 [BZ #3866]
70174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70175 x for large integer exponent.
70176 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70177 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
70178 sign of result as needed afterwards.
70179 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70180 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70181 result for underflowing pow the same as for overflow.
70182 (__kernel_standard_l): Handle powl overflow and underflow here
70183 rather than calling __kernel_standard.
70184 * math/libm-test.inc (pow_test): Add more tests.
70185
70186 [BZ #3868]
70187 [BZ #13879]
70188 [BZ #13910]
70189 [BZ #13911]
70190 [BZ #13912]
70191 [BZ #13913]
70192 [BZ #13915]
70193 [BZ #13916]
70194 [BZ #13917]
70195 [BZ #13918]
70196 [BZ #13919]
70197 [BZ #13920]
70198 [BZ #13921]
70199 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70200 * sysdeps/ieee754/k_standard.c: Include <float.h>.
70201 (__kernel_standard_l): New function.
70202 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70203 __kernel_standard.
70204 * math/w_acosl.c (__acosl): Likewise.
70205 * math/w_asinl.c (__asinl): Likewise.
70206 * math/w_atan2l.c (__atan2l): Likewise.
70207 * math/w_atanhl.c (__atanhl): Likewise.
70208 * math/w_coshl.c (__coshl): Likewise.
70209 * math/w_exp10l.c (__exp10l): Likewise.
70210 * math/w_exp2l.c (__exp2l): Likewise.
70211 * math/w_fmodl.c (__fmodl): Likewise.
70212 * math/w_hypotl.c (__hypotl): Likewise.
70213 * math/w_j0l.c (__j0l, __y0l): Likewise.
70214 * math/w_j1l.c (__j1l, __y1l): Likewise.
70215 * math/w_jnl.c (__jnl, __ynl): Likewise.
70216 * math/w_lgammal.c (__lgammal): Likewise.
70217 * math/w_log10l.c (__log10l): Likewise.
70218 * math/w_log2l.c (__log2l): Likewise.
70219 * math/w_logl.c (__logl): Likewise.
70220 * math/w_powl.c (__powl): Likewise.
70221 * math/w_remainderl.c (__remainderl): Likewise.
70222 * math/w_scalbl.c (sysv_scalbl): Likewise.
70223 * math/w_sinhl.c (__sinhl): Likewise.
70224 * math/w_sqrtl.c (__sqrtl): Likewise.
70225 * math/w_tgammal.c (__tgammal): Likewise.
70226 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70227 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70228 * math/libm-test.inc (acos_test): Add more tests.
70229 (acosh_test): Likewise.
70230 (asin_test): Likewise.
70231 (atanh_test): Likewise.
70232 (exp_test): Likewise.
70233 (exp10_test): Likewise.
70234 (exp2_test): Likewise.
70235 (expm1_test): Likewise.
70236 (lgamma_test): Likewise.
70237 (log_test): Likewise.
70238 (log10_test): Likewise.
70239 (log1p_test): Likewise.
70240 (log2_test): Likewise.
70241 (pow_test): Do not allow some spurious overflow exceptions.
70242 (sqrt_test): Add more tests.
70243 (tgamma_test): Likewise.
70244 (y0_test): Likewise.
70245 (y1_test): Likewise.
70246 (yn_test): Likewise.
70247
70248 2012-03-27 Anton Blanchard <anton@samba.org>
70249
70250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70251 MAP_HUGETLB.
70252 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70253 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70254 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70255
70256 2012-03-27 David S. Miller <davem@davemloft.net>
70257
70258 * conform/Makefile: Run run-conformtest.sh using $(BASH).
70259
70260 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70261 have-as-vis3 check.
70262
70263 2012-03-27 Andreas Jaeger <aj@suse.de>
70264
70265 * sysdeps/x86_64/elf/configure.in: Moved to ...
70266 * sysdeps/x86_64/configure.in: ... here.
70267 * sysdeps/x86_64/elf/start.S: Moved to ...
70268 * sysdeps/x86_64/start.S: ... here.
70269 * sysdeps/x86_64/elf/configure: Delete.
70270
70271 * sysdeps/x86_64/configure.in: Merge contents from
70272 sysdeps/i386/configure.in (without i686 check).
70273
70274 * sysdeps/i386/elf/Versions: Merge into ...
70275 * sysdeps/i386/Versions: ... this.
70276 * sysdeps/i386/elf/Versions: Delete file.
70277 * sysdeps/i386/elf/start.S: Moved to ...
70278 * sysdeps/i386/start.S: ...here.
70279 * sysdeps/i386/elf/configure.in: Merge into...
70280 * sysdeps/i386/configure.in: ...here.
70281 * sysdeps/i386/elf/configure.in: Delete file.
70282 * sysdeps/i386/elf/configure: Delete file.
70283
70284 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70285 * debug/backtracesyms.c: ... here.
70286 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70287 * debug/backtracesymsfd.c: ... here.
70288 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70289 * sysdeps/generic/ifunc-sel.h: ... here.
70290
70291 * sysdeps/unix/i386/start.c: Delete file.
70292 * sysdeps/unix/sparc/start.c: Delete file.
70293 * sysdeps/unix/start.c: Delete file.
70294
70295 * sysdeps/sh/elf/configure.in: Moved to ...
70296 * sysdeps/sh/configure.in: ... here.
70297 * sysdeps/sh/elf/start.S: Moved to ...
70298 * sysdeps/sh/start.S: ... here.
70299 * sysdeps/sh/elf/configure: Delete file.
70300
70301 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70302 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70303 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70304 * sysdeps/powerpc/powerpc64/entry.h: ... here.
70305 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70306 * sysdeps/powerpc/powerpc64/start.S: here.
70307 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70308 * sysdeps/powerpc/powerpc64/Makefile: ... this.
70309 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70310 * sysdeps/powerpc/powerpc64/configure.in: ... this.
70311 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70312
70313 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70314 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70315 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70316 * sysdeps/powerpc/powerpc32/start.S: ... here.
70317 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70318 * sysdeps/powerpc/powerpc32/configure.in: ... this.
70319 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70320
70321 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70322 * sysdeps/powerpc/ifunc-sel.h: ... here.
70323 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70324 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70325
70326 * sysdeps/sparc/elf/configure.in: Moved to ...
70327 * sysdeps/sparc/configure.in: ... here.
70328 * sysdeps/sparc/elf/configure: Delete file.
70329 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70330 * sysdeps/sparc/sparc32/start.S: ... here.
70331 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70332 * sysdeps/sparc/sparc64/start.S: ... here.
70333 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70334 * sysdeps/sparc/sparc32/Makefile: ... this.
70335 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70336 * sysdeps/sparc/sparc64/Makefile: ... this.
70337
70338 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70339 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70340 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70341 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70342 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70343 * sysdeps/s390/s390-32/setjmp.S: ... here.
70344 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70345 * sysdeps/s390/s390-32/configure.in: ... here.
70346 * sysdeps/s390/s390-32/elf/configure: Delete file.
70347 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70348 * sysdeps/s390/s390-32/start.S: ... here.
70349
70350 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70351 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70352 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70353 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70354 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70355 * sysdeps/s390/s390-64/setjmp.S: ... here.
70356 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70357 * sysdeps/s390/s390-64/configure.in: ... here
70358 * sysdeps/s390/s390-64/elf/configure: Delete file.
70359 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70360 * sysdeps/s390/s390-64/start.S: ... here.
70361 * sysdeps/s390/s390-64/elf/configure: Delete.
70362
70363 * configure.in: Remove support for elf directories in sysdeps.
70364
70365 * configure: Regenerated.
70366 * sysdeps/i386/configure: Regenerated.
70367 * sysdeps/powerpc/powerpc32/configure: Regenerated.
70368 * sysdeps/powerpc/powerpc64/configure: Regenerated.
70369 * sysdeps/s390/s390-32/configure: Regenerated.
70370 * sysdeps/s390/s390-64/configure: Regenerated.
70371 * sysdeps/sh/configure: Regenerated.
70372 * sysdeps/sparc/configure: Regenerated.
70373 * sysdeps/x86_64/configure: Regenerated.
70374
70375 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
70376
70377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70378
70379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70380 denormal result into account.
70381
70382 2012-03-25 Roland McGrath <roland@hack.frob.com>
70383
70384 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70385 Reported by Allan McRae <allan@archlinux.org>.
70386
70387 2012-03-23 Jeff Law <law@redhat.com>
70388
70389 * nss/getnssent.c (__nss_getent): Fix typo.
70390
70391 2012-03-23 David S. Miller <davem@davemloft.net>
70392
70393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70394
70395 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
70396
70397 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70398 to pad to uint64_t for each field.
70399 (dl_tls_index): Replace unsigned long with uint64_t.
70400
70401 2012-03-23 Daniel Jacobowitz <dmj@google.com>
70402 Paul Pluzhnikov <ppluzhnikov@google.com>
70403
70404 [BZ #6528]
70405 * grp/Makefile (otherlibs): Don't set it.
70406 * inet/Makefile (otherlibs): Likewise.
70407 * login/Makefile (otherlibs): Likewise.
70408 * nscd/Makefile (otherlibs): Likewise.
70409 * posix/Makefile (otherlibs): Likewise.
70410 * pwd/Makefile (otherlibs): Likewise.
70411 * rt/Makefile (otherlibs): Likewise.
70412 * sunrpc/Makefile (otherlibs): Likewise.
70413 * nss/Makefile (otherlibs): Likewise.
70414 Add libnss_files to routines and static-only-routines.
70415 ($(objpfx)getent): Remove rule.
70416 * resolv/Makefile: Add libnss_dns and libresolv to routines and
70417 static-only-routines.
70418
70419 2012-03-22 Joseph Myers <joseph@codesourcery.com>
70420
70421 [BZ #13892]
70422 * math/s_cexp.c: Include <float.h>.
70423 (__cexp): Handle exp result overflowing not necessarily
70424 overflowing both real and imaginary parts of result.
70425 * math/s_cexpf.c: Likewise.
70426 * math/s_cexpl.c: Likewise.
70427 * math/libm-test.inc (cexp_test): Add more tests.
70428 * sysdeps/i386/fpu/libm-test-ulps: Update.
70429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70430
70431 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
70432
70433 * include/link.h (ELFW): New macro.
70434 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70435 Replace ELF64_R_TYPE with ELFW(R_TYPE).
70436
70437 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
70438
70439 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70440 with uint64_t.
70441
70442 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
70443
70444 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70445 declaration.
70446 (struct La_x32_retval): Likewise.
70447
70448 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
70449
70450 * sysdeps/x86_64/preconfigure.in: New file.
70451 * sysdeps/x86_64/preconfigure: New generated file.
70452
70453 2012-03-22 Joseph Myers <joseph@codesourcery.com>
70454
70455 [BZ #13824]
70456 * math/e_exp2l.c: Include <float.h>.
70457 (__ieee754_exp2l): Handle overflow and underflow cases
70458 separately. Only pass fractional part of argument to
70459 __ieee754_expl.
70460 * math/libm-test.inc (exp2_test): Add more tests.
70461
70462 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70463 negating x to take absolute value.
70464 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70465 Likewise.
70466 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70467 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70468 Likewise.
70469 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70470 computing low part if x was negated.
70471 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70472
70473 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
70474
70475 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70476 la_x32_gnu_pltexit.
70477 (pltexit): Cast int_retval to ptrdiff_t.
70478 * elf/tst-auditmod3b.c: Likewise.
70479 * elf/tst-auditmod4b.c: Likewise.
70480 * elf/tst-auditmod5b.c: Likewise.
70481 * elf/tst-auditmod6b.c: Likewise.
70482 * elf/tst-auditmod6c.c: Likewise.
70483 * elf/tst-auditmod7b.c: Likewise.
70484
70485 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70486 and x32_gnu_pltexit.
70487
70488 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70489 __ELF_NATIVE_CLASS.
70490 (La_x32_regs): New macro.
70491 (La_x32_retval): Likewise.
70492 (la_x32_gnu_pltenter): New function prototype.
70493 (la_x32_gnu_pltexit): Likewise.
70494
70495 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
70496
70497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70498 exponent.
70499
70500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70501
70502 * configure.in (libc_cv_cc_nofma): Check for option to disable
70503 generation of FMA instructions.
70504 * configure: Regenerate.
70505 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70506 * sysdeps/ieee754/dbl-64/Makefile: New file.
70507 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70508 Remove brandred-fma4.
70509 (CFLAGS-brandred-fma4.c): Remove.
70510 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70511 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70512 define.
70513 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70514 define.
70515
70516 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
70517
70518 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70519 LLONG_MAX != LONG_MAX.
70520 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70521 (_fitoa_word): Likewise.
70522 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70523 LLONG_MAX != LONG_MAX.
70524 * stdio-common/_itowa.h: Include <_itoa.h>.
70525 (_itowa_word): Use _ITOA_WORD_TYPE on value.
70526 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
70527 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
70528 only if not defined.
70529 (_ITOA_WORD_TYPE): Likewise.
70530 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70531 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70532
70533 2012-03-21 David S. Miller <davem@davemloft.net>
70534
70535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70536
70537 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
70538
70539 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70540 of x86_64 when setting libc_cv_slibdir, libdir and
70541 libc_cv_localedir.
70542 * sysdeps/unix/sysv/linux/configure: Regenerated.
70543
70544 2012-03-21 Joseph Myers <joseph@codesourcery.com>
70545
70546 * manual/lang.texi (Old Varargs): Remove section.
70547 (How Variadic): Update menu.
70548 (va_start): Do not mention varargs.h.
70549
70550 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
70551 Joseph Myers <joseph@codesourcery.com>
70552
70553 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70554 link test.
70555 * configure: Regenerated.
70556
70557 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
70558
70559 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70560 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70561 conformtest.pl
70562
70563 2012-03-21 Joseph Myers <joseph@codesourcery.com>
70564
70565 * NOTES: Remove.
70566 * Makefile (files-for-dist): Remove NOTES.
70567 (NOTES): Remove rule.
70568 * README: Don't refer to NOTES.
70569 * manual/creature.texi: Don't include macros.texi.
70570 * manual/intro.texi (creature.texi): Remove comment referring to
70571 NOTES.
70572
70573 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70574 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70575 * configure: Regenerated.
70576 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70577 LIBC_TRY_CC_OPTION.
70578 (libc_cv_as_i686): Likewise.
70579 (libc_cv_cc_avx): Likewise.
70580 (libc_cv_cc_sse2avx): Likewise.
70581 (libc_cv_cc_fma4): Likewise.
70582 (libc_cv_cc_novzeroupper): Likewise.
70583 * sysdeps/i386/configure: Regenerated.
70584
70585 [BZ #13883]
70586 * sysdeps/i386/fpu/s_cexp.S: Remove.
70587 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70588 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70589 * math/libm-test.inc (cexp_test): Add more tests.
70590 * sysdeps/i386/fpu/libm-test-ulps: Update.
70591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70592
70593 2012-03-21 Allan McRae <allan@archlinux.org>
70594
70595 * timezone/Makefile: Do not install iso3166.tab and zone.tab
70596
70597 2012-03-21 Joseph Myers <joseph@codesourcery.com>
70598
70599 [BZ #13871]
70600 * math/w_exp2.c: Do not include <float.h>.
70601 (o_threshold, u_threshold): Remove.
70602 (__exp2): Calculate result before checking finiteness and calling
70603 __kernel_standard.
70604 * math/w_exp2f.c: Likewise.
70605 * math/w_exp2l.c: Likewise.
70606 * math/libm-test.inc (exp2_test): Require overflow exception for
70607 1e6 input.
70608
70609 [BZ #3866]
70610 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70611 range of signed 64-bit integers before using fistpll. Remove
70612 checks for whether integers fit in mantissa bits.
70613 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70614 the range of signed 32-bit integers before using fistpl. Remove
70615 checks for whether integers fit in mantissa bits.
70616 * sysdeps/i386/fpu/e_powl.S (p64): New object.
70617 (__ieee754_powl): Test for y outside the range of signed 64-bit
70618 integers before using fistpll. Reduce 64-bit values to 63-bit
70619 ones as needed.
70620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70621 divide-by-zero is raised for zero to large negative powers.
70622 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70623 (__ieee754_powl): Test for y outside the range of signed 64-bit
70624 integers before using fistpll. Reduce 64-bit values to 63-bit
70625 ones as needed.
70626 * math/libm-test.inc (pow_test): Add more tests.
70627
70628 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
70629
70630 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70631 <stdio-common/_itoa.h>.
70632 * debug/segfault.c: Likewise.
70633 * elf/dl-cache.c: Likewise.
70634 * elf/dl-minimal.c: Likewise.
70635 * elf/dl-misc.c: Likewise.
70636 * elf/dl-sysdep.c: Likewise.
70637 * elf/dl-version.c: Likewise.
70638 * elf/rtld.c: Likewise.
70639 * hurd/hurdsock.c: Likewise.
70640 * hurd/lookup-retry.c: Likewise.
70641 * malloc/malloc.c: Likewise.
70642 * malloc/mtrace.c: Likewise.
70643 * nscd/nscd_getgr_r.c: Likewise.
70644 * nscd/nscd_getpw_r.c: Likewise.
70645 * nscd/nscd_getserv_r.c: Likewise.
70646 * posix/getopt_init.c: Likewise.
70647 * posix/wordexp.c: Likewise.
70648 * stdio-common/_itoa.c: Likewise.
70649 * stdio-common/printf_fphex.c: Likewise.
70650 * stdio-common/vfprintf.c: Likewise.
70651 * string/_strerror.c: Likewise.
70652 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70653 * sysdeps/i386/i686/hp-timing.h: Likewise.
70654 * sysdeps/mach/_strerror.c: Likewise.
70655 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70656 * sysdeps/mach/hurd/sethostid.c: Likewise.
70657 * sysdeps/mach/hurd/xmknodat.c: Likewise.
70658 * sysdeps/mach/xpg-strerror.c: Likewise.
70659 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70660 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70661 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70662 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70663 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70664 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70666 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70667 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70668 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70669 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70670 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70671 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70672 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70673 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70674 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70675 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70676 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70677 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70678 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70679 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70680
70681 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70682
70683 * stdio-common/_itoa.h: Moved to ...
70684 * sysdeps/generic/_itoa.h: Here.
70685
70686 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70687
70688 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70689 instead of "_itoa.h" and "_itowa.h".
70690 * stdio-common/vfprintf.: Likewise.
70691
70692 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
70693
70694 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70695 <bits/wordsize.h>.
70696 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70697 (__signbit): Likwise.
70698 (llrintf): Likwise.
70699 (llrint): Likwise.
70700
70701 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
70702
70703 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70704 __WORDSIZE != 64.
70705
70706 2012-03-20 Joseph Myers <joseph@codesourcery.com>
70707
70708 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70709 OVERFLOW_EXCEPTION_OK.
70710 * math/libm-test.inc ("Philosophy"): Update comment about
70711 exception testing.
70712 (OVERFLOW_EXCEPTION): Define.
70713 (OVERFLOW_EXCEPTION_OK): Likewise.
70714 (INVALID_EXCEPTION_OK): Renumber.
70715 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70716 (IGNORE_ZERO_INF_SIGN): Likewise.
70717 (test_exceptions): Handle FE_OVERFLOW.
70718 (exp10_test): Expect overflow exceptions.
70719 (exp2_test): Likewise.
70720 (expm1_test): Likewise.
70721 (nextafter_test): Likewise.
70722 (pow_test): Likewise.
70723 (scalbn_test): Likewise.
70724 (scalbln_test): Likewise.
70725
70726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
70727
70728 * sysdeps/x86_64/bits/atomic.h
70729 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70730 64bit integer.
70731 (atomic_exchange_acq): Likewise.
70732 (__arch_exchange_and_add_body): Likewise.
70733 (__arch_add_body): Likewise.
70734 (atomic_add_negative): Likewise.
70735 (atomic_add_zero): Likewise.
70736
70737 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
70738
70739 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70740 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70741
70742 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
70743
70744 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70745 Check __x86_64__ instead of __WORDSIZE.
70746
70747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
70748
70749 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70750
70751 2012-03-19 David S. Miller <davem@davemloft.net>
70752
70753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70754
70755 * sysdeps/sparc/fpu/fenv_private.h: New file.
70756 * sysdeps/sparc/fpu/math_private.h: Use it.
70757 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70758 Remove.
70759 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70760 (libc_feholdexcept_setroundl): Remove.
70761 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70762 Remove.
70763 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70764 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70765
70766 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
70767
70768 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70769 int64_t instead of long int.
70770 (INSERT_WORDS64): Likwise.
70771
70772 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
70773
70774 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70775 _Unwind_GetCFA return to _Unwind_Ptr first.
70776
70777 2012-03-19 Joseph Myers <joseph@codesourcery.com>
70778
70779 [BZ #13629]
70780 * math/s_clog.c: Include <float.h>.
70781 (__clog): Scale large or subnormal inputs.
70782 * math/s_clogf.c: Likewise.
70783 * math/s_clogl.c: Likewise.
70784 * math/s_clog10.c: Include <float.h>.
70785 (M_LOG10_2): Define.
70786 (__clog10): Scale large or subnormal inputs.
70787 * math/s_clog10f.c: Likewise.
70788 * math/s_clog10l.c: Likewise.
70789 * math/libm-test.inc (clog_test): Add more tests.
70790 (clog10_test): Likewise.
70791 * sysdeps/i386/fpu/libm-test-ulps: Update.
70792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70793
70794 [BZ #11451]
70795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70796 x and y.
70797 * math/libm-test.inc (atan2_test): Add another test.
70798
70799 * Makerules (common-objdir-compile): Remove.
70800 * sysdeps/unix/Makefile (config-generated): Do not add
70801 $(unix-generated) to variable.
70802 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70803 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70804 Remove rule.
70805 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70806 Likewise.
70807 [generic bits/local_lim.h] (before-compile): Do not append to
70808 variable.
70809 [generic bits/local_lim.h] (common-generated): Likewise.
70810 [generic sys/param.h] (before-compile): Do not append to variable.
70811 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70812 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70813 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70814 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70815 include.
70816 [generic sys/param.h] (sys/param.h-includes): Remove variable.
70817 [generic sys/param.h] (sys/param.h-includes): Remove rule.
70818 [generic sys/param.h] ($(addprefix
70819 $(common-objpfx),$(sys/param.h-includes))): Likewise.
70820 [generic sys/param.h] (common-generated): Do not append to
70821 variable.
70822 [generic sys/param.h] (sysdep_headers): Likewise.
70823 [generic bits/errno.h] (before-compile): Do not append to
70824 variable.
70825 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70826 rule.
70827 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70828 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70829 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70830 [generic bits/errno.h] (common-generated): Do not append to
70831 variable.
70832 [generic bits/ioctls.h] (before-compile): Do not append to
70833 variable.
70834 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70835 rule.
70836 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70837 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70838 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70839 rule.
70840 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70841 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70842 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70843 [generic bits/ioctls.h] (common-generated): Do not append to
70844 variable.
70845 [generic sys/syscall.h] (syscall.h): Remove variable.
70846 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70847 rule.
70848 [generic sys/syscall.h] (before-compile): Do not append to
70849 variable.
70850 [generic sys/syscall.h] (common-generated): Likewise.
70851 * sysdeps/unix/errnos-tmpl.c: Remove file.
70852 * sysdeps/unix/errnos.awk: Likewise.
70853 * sysdeps/unix/ioctls-tmpl.c: Likewise.
70854 * sysdeps/unix/ioctls.awk: Likewise.
70855 * sysdeps/unix/mk-local_lim.c: Likewise.
70856 * sysdeps/unix/snarf-ioctls: Likewise.
70857
70858 2012-03-19 Richard Henderson <rth@twiddle.net>
70859
70860 * sysdeps/i386/fpu/fenv_private.h: New file.
70861 * sysdeps/i386/fpu/math_private.h: Use it.
70862 (math_opt_barrier, math_force_eval): Remove.
70863 (libc_feholdexcept_setround_53bit): Remove.
70864 (libc_feupdateenv_53bit): Remove.
70865 * sysdeps/x86_64/fpu/math_private.h: Likewise.
70866 (math_opt_barrier, math_force_eval): Remove.
70867 (libc_feholdexcept): Remove.
70868 (libc_feholdexcept_setround): Remove.
70869 (libc_fetestexcept, libc_fesetenv): Remove.
70870 (libc_feupdateenv_test): Remove.
70871 (libc_feupdateenv, libc_feholdsetround): Remove.
70872 (libc_feresetround): Remove.
70873
70874 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70875 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70876
70877 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70878 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70879 (libc_feupdateenv_testl): New.
70880 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70881 (libc_feupdateenv_testf): New.
70882 (libc_feupdateenv): Use libc_feupdateenv_test.
70883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70884 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70885
70886 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70887 (libc_feholdsetroundf, libc_feholdsetroundl): New.
70888 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70889 (libc_feresetround_noex): New.
70890 (libc_feresetround_noexf): New.
70891 (libc_feresetround_noexl): New.
70892 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70893 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70894 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70895 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70896 SET_RESTORE_ROUND.
70897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70898 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70899 (__cos): Likewise.
70900 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70901 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70902 SET_RESTORE_ROUND_NOEX.
70903 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70904 SET_RESTORE_ROUND_NOEXF.
70905 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70906 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70907 (libc_feholdsetroundf): New.
70908 (libc_feresetround, libc_feresetroundf): New.
70909
70910 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70911 (libc_feholdexcept_setround_53bit): Convert from macro to function.
70912 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
70913
70914 * sysdeps/generic/math_private.h: Include <fenv.h>.
70915 (default_libc_feholdexcept): New.
70916 (default_libc_feholdexcept_setround): New.
70917 (default_libc_fesetenv, default_libc_feupdateenv): New.
70918 (libc_feholdexcept): Only define if undefined.
70919 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70920 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70921 (libc_feholdexcept_setroundl): Likewise.
70922 (libc_feholdexcept_setround_53bit): Likewise.
70923 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70924 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70925 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70926 (libc_feupdateenv_53bit): Likewise.
70927 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70928 (libc_feholdexcept): Convert from macro to inline function.
70929 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70930 (libc_fesetenv, libc_feupdateenv): Likewise.
70931
70932 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70933 not previously defined.
70934 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70935 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70936 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70937 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70938 * sysdeps/ieee754/flt-32/math_private.h: New file.
70939 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70940 math_private.h below SET_FLOAT_WORD.
70941 (__isnan, __isinf_ns, __finite): Remove.
70942 (__isnanf, __isinf_nsf, __finitef): Remove.
70943
70944 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
70945
70946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70947
70948 2012-03-17 David S. Miller <davem@davemloft.net>
70949
70950 [BZ #6471]
70951 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70952 for 2.16.
70953
70954 2012-03-16 David S. Miller <davem@davemloft.net>
70955
70956 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70957 warnings.
70958
70959 [BZ #6471]
70960 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70961 properly.
70962 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70963 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70964 sysdep_routines when subdir is sysvipc.
70965 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70966 __getshmlba helper.
70967
70968 * sysdeps/sparc/fpu/libm-test/ulps: Update.
70969
70970 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70971
70972 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70973 [__LP64__].
70974
70975 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70976
70977 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70978 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70979 (__lround): Renamed to ...
70980 (__llround): This. Replace long int with long long int.
70981 Define lround functions as aliases of llround functions.
70982 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70983
70984 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70985
70986 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70987 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
70988 adresses to uintptr_t. Replace "long int" and "unsigned long
70989 int" with "greg_t" on va_arg.
70990
70991 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70992
70993 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70994 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70995
70996 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70997 Move e_machine check before EI_CLASS check. Handle x32
70998 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70999 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71000 SKIP_EM_IA_64 and include
71001 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71002
71003 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71004 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71005 (add_system_dir): New macro.
71006
71007 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71008 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71009
71010 2012-03-16 Joseph Myers <joseph@codesourcery.com>
71011
71012 [BZ #2551]
71013 [BZ #2552]
71014 [BZ #2553]
71015 [BZ #2554]
71016 [BZ #2562]
71017 [BZ #2563]
71018 [BZ #2565]
71019 [BZ #2566]
71020 [BZ #2576]
71021 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71022 (y0): Likewise.
71023 * math/w_j0f.c (j0f): Likewise.
71024 (y0f): Likewise.
71025 * math/w_j0l.c (__j0l): Likewise.
71026 (__y0l): Likewise.
71027 * math/w_j1.c (j1): Likewise.
71028 (y1): Likewise.
71029 * math/w_j1f.c (j1f): Likewise.
71030 (y1f): Likewise.
71031 * math/w_j1l.c (__j1l): Likewise.
71032 (__y1l): Likewise.
71033 * math/w_jn.c (jn): Likewise.
71034 (yn): Likewise.
71035 * math/w_jnf.c (jnf): Likewise.
71036 (ynf): Likewise.
71037 * math/w_jnl.c (__jnl): Likewise.
71038 (__ynl): Likewise.
71039 * math/libm-test.inc (j0_test): Add more tests.
71040 (j1_test): Likewise.
71041 (jn_test): Likewise. Add trailing semicolon to existing test.
71042 (y0_test): Likewise.
71043 (y1_test): Likewise.
71044 * sysdeps/i386/fpu/libm-test-ulps: Update.
71045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71046
71047 [BZ #13851]
71048 [BZ #13854]
71049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71050 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71051 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71052 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71053 (__tanl): Set errno for infinite argument.
71054 * sysdeps/i386/fpu/mptan.c: Remove.
71055 * sysdeps/i386/fpu/s_tan.S: Likewise.
71056 * sysdeps/i386/fpu/s_tanl.S: Likewise.
71057 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71058 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71059 * math/libm-test.inc (tan_test): Add more tests and enable more
71060 tests for double and long double.
71061 * sysdeps/i386/fpu/libm-test-ulps: Update.
71062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71063
71064 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
71065
71066 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71067 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71068
71069 2012-03-16 Roland McGrath <roland@hack.frob.com>
71070
71071 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71072 * configure.in: Use it for both main tree and add-ons.
71073 * configure: Regenerated.
71074
71075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
71076
71077 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71078
71079 2012-03-16 Joseph Myers <joseph@codesourcery.com>
71080
71081 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71082 in comment.
71083
71084 [BZ #13851]
71085 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71086 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71087 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71088 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71089 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71090 infinite argument.
71091 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71093 != 0 for prec == 2.
71094 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71095 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71096 * sysdeps/i386/fpu/s_cosl.S: Likewise.
71097 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71098 * sysdeps/i386/fpu/s_sinl.S: Likewise.
71099 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71100 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71101 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71102 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71103 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71104 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71105 * math/libm-test.inc (cos_test): Add more tests and enable more
71106 tests for long double.
71107 (sin_test): Likewise.
71108 (sincos_test): Likewise.
71109 * sysdeps/i386/fpu/libm-test-ulps: Update.
71110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71111
71112 2012-03-16 David S. Miller <davem@davemloft.net>
71113
71114 * sysdeps/sparc/fpu/math_private.h: New file.
71115
71116 2012-03-15 David S. Miller <davem@davemloft.net>
71117
71118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71119 file.
71120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71122 file.
71123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71129 sysdep routines.
71130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71131
71132 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71133 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71134
71135 * sysdeps/sparc/sparc-ifunc.h: New file.
71136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71137 sparc-ifunc.h
71138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71140 Likewise.
71141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71142 Likewise.
71143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71147 Likewise.
71148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71153 Likewise.
71154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71155 Likewise.
71156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71174 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71180
71181 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
71182
71183 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71184 scaling.
71185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71186
71187 2012-03-15 Andreas Jaeger <aj@suse.de>
71188
71189 [BZ #13852]
71190 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71191 ieee754/flt-32 implementation for sin, cos and sincos.
71192 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71193 * sysdeps/i386/fpu/s_cosf.S: Likewise.
71194 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71195 * sysdeps/i386/fpu/s_sinf.S: Likewise.
71196 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71197 ieee754/flt-32 implementation for tan.
71198
71199 * math/libm-test.inc (cos_test): Enable some large input tests for
71200 float as well
71201 (sin_test): Likewise.
71202 (sincos_test): Likewise.
71203 (tan_test): Add tests for large input.
71204
71205 * sysdeps/i386/fpu/libm-test-ulps: Update.
71206
71207 2012-03-15 Andreas Jaeger <aj@suse.de>
71208
71209 [BZ #13658]
71210 * math/libm-test.inc (cos_test): Add more test cases.
71211 (sin_test): Likewise.
71212 (sincos_test): Likewise.
71213
71214 2012-03-15 Andreas Jaeger <aj@suse.de>
71215
71216 [BZ #13837]
71217 * math/libm-test.inc (cos_test): Add a test case for large input
71218 value.
71219 (sin_test): Likewise.
71220 (sincos_test): Likewise.
71221
71222 2012-03-15 Andreas Jaeger <aj@suse.de>
71223 Joseph Myers <joseph@codesourcery.com>
71224
71225 [BZ #13658]
71226 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71227 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71228 * sysdeps/i386/fpu/branred.c: Likewise.
71229 * sysdeps/i386/fpu/dosincos.c: Likewise.
71230 * sysdeps/i386/fpu/mpa.c: Likewise.
71231 * sysdeps/i386/fpu/s_cos.S: Likewise.
71232 * sysdeps/i386/fpu/s_sin.S: Likewise.
71233 * sysdeps/i386/fpu/s_sincos.S: Likewise.
71234 * sysdeps/i386/fpu/sincos32.c: Likewise.
71235
71236 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71237 Define.
71238 (libc_feupdateenv_53bit): Define.
71239 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71240 Define.
71241 (libc_feupdateenv_53bit): Define.
71242
71243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71244 53 bit (without extend i386 double precision).
71245
71246 * math/libm-test.inc (sincos_test): Add tests for large input.
71247 (sin): Likewise.
71248 (cos): Likewise.
71249
71250 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71251
71252 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
71253
71254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71255
71256 2012-03-15 David S. Miller <davem@davemloft.net>
71257
71258 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71259 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71260 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71261 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71274 file.
71275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71277 file.
71278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71280 file.
71281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71283 file.
71284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71286 fmin/fmax sysdep routines.
71287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71288
71289 2012-03-14 David S. Miller <davem@davemloft.net>
71290
71291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71311 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71320 routines.
71321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71322 file.
71323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71325 file.
71326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71328 file.
71329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71331 file.
71332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71334 file.
71335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71337 file.
71338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71339 file.
71340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71341 file.
71342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71343 file.
71344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71345 New file.
71346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71347 file.
71348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71349 file.
71350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71352 file.
71353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71355 file.
71356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71358 file.
71359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71361 VIS3 routines.
71362
71363 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71364 New file.
71365
71366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71367
71368 * sysdeps/sparc/configure.in: New file.
71369 * sysdeps/sparc/configure: Generate.
71370 * configure.in (libc_cv_sparc_as_vis3): Substitute.
71371 * configure: Regenerate.
71372 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71373 * config.make.in (have-as-vis3): New.
71374 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71375 available use -Av9d instead of -Av9a.
71376 * sysdeps/sparc/sparc64/Makefile: Likewise.
71377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71379 New file.
71380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71381 file.
71382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71383 New file.
71384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71385 file.
71386 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71391
71392 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71393 fzeros/fnegs to load 0x80000000 into a float register instead of
71394 using the stack.
71395 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71396
71397 2012-03-14 Joseph Myers <joseph@codesourcery.com>
71398
71399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71400 bits/syscall.h.
71401 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71402 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71403 ($(inst_includedir)/bits/syscall.h): Remove rule.
71404 ($(objpfx)bits/syscall.d): Include instead of
71405 $(objpfx)syscall-list.d.
71406 (generated): Change syscall-list.h and syscall-list.d to
71407 bits/syscall.h and bits/syscall.d.
71408
71409 2012-03-14 Roland McGrath <roland@hack.frob.com>
71410
71411 [BZ #13846]
71412 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71413
71414 2012-03-14 Joseph Myers <joseph@codesourcery.com>
71415
71416 [BZ #13841]
71417 * math/s_csqrt.c: Include <float.h>.
71418 (__csqrt): Scale large or subnormal inputs.
71419 * math/s_csqrtf.c: Likewise.
71420 * math/s_csqrtl.c: Likewise.
71421 * math/libm-test.inc (csqrt_test): Add more tests.
71422 * sysdeps/i386/fpu/libm-test-ulps: Update.
71423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71424
71425 [BZ #13840]
71426 * math/libm-test.inc (hypot_test): Add more tests.
71427
71428 2012-03-13 David S. Miller <davem@davemloft.net>
71429
71430 [BZ #13840]
71431 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71432 double-precision for the calculation instead of scaling.
71433
71434 2012-03-13 Joseph Myers <joseph@codesourcery.com>
71435
71436 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71437 manipulate bits before adding and subtracting TWO52[sx].
71438 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71439 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71440 Likewise.
71441 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71442
71443 2012-03-13 David S. Miller <davem@davemloft.net>
71444
71445 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71446 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71448 rtld-global-offsets.h
71449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71450
71451 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71452 large parameters.
71453
71454 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71455
71456 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71457 'err' in the ifdef scope in which it is actually used.
71458
71459 * nss/nss_db/db-init.c: Include string.h
71460
71461 2012-03-12 David S. Miller <davem@davemloft.net>
71462
71463 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71464 masking out of the most significant byte of random value used.
71465 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71466 Fix coding style in previous change.
71467
71468 * sysdeps/unix/sysv/linux/kernel-features.h
71469 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71470 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71471 expression.
71472 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71473 later.
71474
71475 2012-03-11 David S. Miller <davem@davemloft.net>
71476
71477 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71478 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71479 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71480 for 'resultvar' otherwise things get truncated on 64-bit.
71481
71482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71483 Fix masking out of the most significant byte of random value used.
71484
71485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71486
71487 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
71488
71489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71490
71491 2012-03-09 David S. Miller <davem@davemloft.net>
71492
71493 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71494 variables with appropriate CPP guards.
71495 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71496 from the frame pointer, not the stack pointer. Correct layout
71497 comments. Fix test on resulting framesize and the management of
71498 the outregs buffer for pltexit. Preserve floating point return
71499 values across _dl_call_pltexit call.
71500 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71501 framesize and the management of the outregs buffer for pltexit.
71502 Preserve floating point return values across _dl_call_pltexit
71503 call.
71504 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71505 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71506 (la_sparc64_gnu_pltexit): New functions.
71507 (print_exit): Fix format string for return register value.
71508
71509 2012-03-10 Joseph Myers <joseph@codesourcery.com>
71510
71511 * sunrpc/Makefile (others): Add rpcgen.
71512 ($(objpfx)rpcgen): Remove special build rule and dependency on
71513 libc.
71514 * sunrpc/rpcgen.c: New file.
71515
71516 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
71517
71518 [BZ #13673]
71519 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71520 * stdio-common/bug-vfprintf-nargs.c: Likewise.
71521 * sysdeps/i386/crti.S: Likewise.
71522 * sysdeps/i386/crtn.S: Likewise.
71523 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71524 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71525 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71526 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71527 * sysdeps/sh/crti.S: Likewise.
71528 * sysdeps/sh/crtn.S: Likewise.
71529 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71530
71531 [BZ #13673]
71532 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71533 with URL.
71534 * locale/programs/locfile-kw.gperf: Likewise.
71535 * locale/programs/charmap-kw.h: Regenerated.
71536 * locale/programs/locfile-kw.h: Likewise.
71537
71538 [BZ #13673]
71539 * intl/plural.y: Replace FSF snail mail address with URL.
71540 * intl/plural.c: Regenerated.
71541
71542 2012-03-09 Richard Henderson <rth@twiddle.net>
71543
71544 * include/math_private.h: Remove file.
71545 * math/math_private.h: Move file ...
71546 * sysdeps/generic/math_private.h: ... here.
71547
71548 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71549 * sysdeps/powerpc/fpu/math_private.h: Likewise.
71550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
71551
71552 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71553 and <math_private.h>.
71554 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71555 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71556 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71557 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71558 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71559 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71560 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71565 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71566 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71568 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71579 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71580 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71584 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71586 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71588 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71589 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71590 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71594 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71595 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71597 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71598 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71599 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71600 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71601 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71603 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71604 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71605 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71606 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71607 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71608 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71609 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71611 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71612 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71613 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71614 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71615 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71618 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71619 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71620 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71621 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71622 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71624 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71625 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71626 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71627 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71628 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71633 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71634 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71635 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71636 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71637 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71638 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71641 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71642 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71643 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71644 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71645 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71646 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71647 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71648 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71649 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71653 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71654 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71655 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71656 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71657 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71658 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71659 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71660 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71661 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71662 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71664 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71665 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71666 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71668 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71669 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71670 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71671 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71672 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71673 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71674 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71675 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71676 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71677 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71678 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71679 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71680 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71681 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71682 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71683 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71684 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71685 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71687 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71688 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71689 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71690 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71692 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71693 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71694 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71695 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71696 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71697 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71698 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71699 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71700 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71701 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71702 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71703 * sysdeps/ieee754/k_standard.c: Likewise.
71704 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71705 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71707 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71709 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71710 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71711 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71712 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71713 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71714 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71716 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71717 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71718 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71719 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71720 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71721 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71722 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71723 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71724 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71725 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71727 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71728 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71729 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71730 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71731 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71732 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71734 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71735 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71736 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71737 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71738 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71741 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71742 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71743 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71744 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71745 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71746 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71747 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71748 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71749 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71750 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71752 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71753 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71756 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71757 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71758 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71759 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71760 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71761 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71762 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71763 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71765 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71766 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71767 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71770 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71772 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71773 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71774 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71776 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71777 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71786 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71787 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71788 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71789 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71790 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71791 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71792 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71794 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71796 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71797 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71801 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71802 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71803 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71806 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71808 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71811 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71812 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71813 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71816 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71818 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71819 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71820 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71821 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71823 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71824 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71825 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71826 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71827 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71828 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71829 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71830 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71831 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71832 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71833 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71834 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71835 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71836 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71837 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71838 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71840 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71841 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71842 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71843 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71844 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71845 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71846 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71847 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71848 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71849 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71850 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71851 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71852 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71853 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71854 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71855 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71856 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71857 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71858 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71859 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71860 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71861 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71863 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71864 * sysdeps/ieee754/s_lib_version.c: Likewise.
71865 * sysdeps/ieee754/s_matherr.c: Likewise.
71866 * sysdeps/ieee754/s_signgam.c: Likewise.
71867 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71868 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71869 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71870 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71871 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71872 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71873 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71874 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71875 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71876 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71877 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71878 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71879 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71881 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71883 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71884 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71888
71889 2012-03-09 Joseph Myers <joseph@codesourcery.com>
71890
71891 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71892 * sunrpc/rpc_main.c: Likewise.
71893 * sunrpc/rpc_svcout.c: Likewise.
71894
71895 2012-03-09 David S. Miller <davem@davemloft.net>
71896
71897 * include/math_private.h: New file.
71898
71899 2012-03-09 Joseph Myers <joseph@codesourcery.com>
71900
71901 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71902 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71903 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71904 from <bits/socket_type.h>.
71905 (enum __socket_type): Don't define here.
71906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71907 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71908 bits/socket_type.h.
71909
71910 [BZ #13566]
71911 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71912 checking __USE_GNU.
71913
71914 * Makerules ($(inst_includedir)/%.h): New rule.
71915 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71916 (install-others): Remove variable setting.
71917 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71918
71919 2012-03-08 Richard Henderson <rth@twiddle.net>
71920
71921 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71922 from macro to inline function; merge with the
71923 !__LIBC_INTERNAL_MATH_INLINES version.
71924 (__ieee754_sqrtf): Likewise.
71925
71926 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71927 to inline function.
71928 (__rintf, __floor, __floorf): Likewise.
71929
71930 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71931 macro to inline function.
71932 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71933
71934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71935 not <math/math_private.h>.
71936
71937 2012-03-08 David S. Miller <davem@davemloft.net>
71938
71939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71940 copyright year.
71941 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71942
71943 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
71944
71945 * resolv/gai_misc.c (handle_requests): Fix struct timespec
71946 normalization.
71947 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71948 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71949
71950 2012-03-08 Ulrich Drepper <drepper@gmail.com>
71951
71952 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
71953 be defined individually, they must be defined as a block. Define
71954 S for printing a string instead of hidint the different by using a
71955 macro for adding the 'l'.
71956 * stdio-common/tst-fphex-wide.c: Adjust.
71957
71958 2012-03-07 Marek Polacek <polacek@redhat.com>
71959
71960 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71961
71962 2012-03-08 Marek Polacek <polacek@redhat.com>
71963
71964 [BZ #13806]
71965 * stdio-common/Makefile (tests): Add tst-fphex-wide.
71966 * stdio-common/tst-fphex.c: Define a few macros to make the
71967 test reusable. Use them.
71968 * stdio-common/tst-fphex-wide.c: New file.
71969
71970 2012-03-08 Joseph Myers <joseph@codesourcery.com>
71971
71972 [BZ #6911]
71973 * manual/macros.texi (gnusystems): New macro.
71974 (nongnusystems): Likewise.
71975 (gnulinuxhurdsystems): Likewise.
71976 (gnuhurdsystems): Likewise..
71977 (gnulinuxsystems): Likewise.
71978 * manual/charset.texi: Use new macros or @theglibc{} to refer to
71979 variants of the GNU system, not "GNU system".
71980 * manual/conf.texi: Likewise.
71981 * manual/errno.texi: Likewise. Update example of errno macro
71982 expansion.
71983 * manual/filesys.texi: Likewise.
71984 (getumask): Document as specific to GNU/Hurd.
71985 * manual/install.texi: Likewise. Reword some references to
71986 GNU/Linux.
71987 * manual/intro.texi: Likewise.
71988 * manual/io.texi: Likewise.
71989 (File Name Portability): Detail which constraints are inapplicable
71990 to all GNU systems and which are only inapplicable to GNU/Hurd.
71991 * manual/job.texi: Likewise.
71992 * manual/llio.texi: Likewise.
71993 (O_NOCTTY): Document as present on GNU/Linux.
71994 * manual/maint.texi: Likewise.
71995 * manual/memory.texi: Likewise.
71996 * manual/pattern.texi: Likewise.
71997 * manual/pipe.texi: Likewise.
71998 * manual/process.texi: Likewise.
71999 * manual/resource.texi: Likewise.
72000 (RUSAGE_CHILDREN): Remove statement about specifying a particular
72001 child on GNU/Hurd.
72002 * manual/setjmp.texi: Likewise.
72003 * manual/signal.texi: Likewise.
72004 * manual/startup.texi: Likewise.
72005 * manual/stdio.texi: Likewise.
72006 * manual/terminal.texi: Likewise.
72007 (ONLCR): Document as POSIX.
72008 (OXTABS): Document availability on GNU/Linux as XTABS.
72009 (ONOEOT): Document availability separately from other bits.
72010 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72011 * manual/time.texi: Likewise.
72012 * manual/users.texi: Likewise.
72013 * INSTALL: Regenerated.
72014 * sysdeps/gnu/errlist.c: Regenerated.
72015
72016 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72017 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72018 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
72019 puts.
72020 * configure: Regenerated.
72021
72022 2012-03-07 Joseph Myers <joseph@codesourcery.com>
72023
72024 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72025 default includes instead of AC_HEADER_CHECK.
72026 * sysdeps/i386/configure: Regenerated.
72027
72028 [BZ #10716]
72029 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72030 * math/s_cacoshf.c (__cacoshf): Likewise.
72031 * math/s_cacoshl.c (__cacoshl): Likewise.
72032 * math/s_casinh.c (__casinh): Set signs of result from argument.
72033 * math/s_casinhf.c (__casinhf): Likewise.
72034 * math/s_casinhl.c (__casinhl): Likewise.
72035 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72036 (casinh_test): Add more tests.
72037 * sysdeps/i386/fpu/libm-test-ulps: Update.
72038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72039
72040 2012-03-07 Ulrich Drepper <drepper@gmail.com>
72041
72042 * po/zh_TW.po: Update from translation team.
72043
72044 * login/Makefile (distribute): Remove variable.
72045 * catgets/Makefile: Likewise.
72046 * mach/Makefile: Likewise.
72047 * malloc/Makefile: Likewise.
72048 * misc/Makefile: Likewise.
72049 * iconv/Makefile: Likewise.
72050 * nscd/Makefile: Likewise.
72051 * hurd/Makefile: Likewise.
72052 * manual/Makefile: Likewise.
72053 * locale/Makefile: Likewise.
72054 * intl/Makefile: Likewise.
72055 * conform/Makefile: Likewise.
72056 * nss/Makefile: Likewise.
72057 * time/Makefile: Likewise.
72058 * soft-fp/Makefile: Likewise.
72059 * dirent/Makefile: Likewise.
72060 * gmon/Makefile: Likewise.
72061 * po/Makefile: Likewise.
72062 * rt/Makefile: Likewise.
72063 * socket/Makefile: Likewise.
72064 * math/Makefile: Likewise.
72065 * signal/Makefile: Likewise.
72066 * debug/Makefile: Likewise.
72067 * elf/Makefile: Likewise.
72068 * timezone/Makefile: Likewise.
72069 * stdlib/Makefile: Likewise.
72070 * iconvdata/Makefile: Likewise.
72071 * sunrpc/Makefile: Likewise.
72072 * io/Makefile: Likewise.
72073 * argp/Makefile: Likewise.
72074 * inet/Makefile: Likewise.
72075 * hesiod/Makefile: Likewise.
72076 * grp/Makefile: Likewise.
72077 * csu/Makefile: Likewise.
72078 * wctype/Makefile: Likewise.
72079 * crypt/Makefile: Likewise.
72080 * libio/Makefile: Likewise.
72081 * string/Makefile: Likewise.
72082 * nis/Makefile: Likewise.
72083 * resolv/Makefile: Likewise.
72084 * stdio-common/Makefile: Likewise.
72085 * wcsmbs/Makefile: Likewise.
72086 * dlfcn/Makefile: Likewise.
72087 * posix/Makefile: Likewise.
72088
72089 [BZ #6959]
72090 * timezone/Makefile: Don't install timezone files, just the programs
72091 and scripts.
72092
72093 2012-03-06 Ulrich Drepper <drepper@gmail.com>
72094
72095 * nss/databases.def: Add missing gshadow entry.
72096
72097 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
72098
72099 2012-03-06 Marek Polacek <polacek@redhat.com>
72100
72101 [BZ #13726]
72102 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72103 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72104 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72105 * stdio-common/tst-long-dbl-fphex.c: New file.
72106
72107 2012-03-06 David S. Miller <davem@davemloft.net>
72108
72109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72110 (set_obp_int): New function.
72111 (get_obp_int): New function.
72112 (__get_clockfreq_via_dev_openprom): Likewise.
72113 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72114 Avoid unused variable warnings on 'val' and use builtin_expect.
72115 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72116 __builtin_expect.
72117 (INLINE_CLONE_SYSCALL): Likewise.
72118
72119 2012-03-05 David S. Miller <davem@davemloft.net>
72120
72121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72122
72123 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
72124
72125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72126
72127 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72128 only for |x| >= 40.
72129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72130
72131 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
72132
72133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72134 Replace gettimeofday with __vdso_gettimeofday.
72135
72136 * sysdeps/unix/sysv/linux/x86_64/init-first.c
72137 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72138 __vdso_clock_gettime and __vdso_getcpu.
72139
72140 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72141 time with __vdso_time.
72142
72143 2012-03-05 Joseph Myers <joseph@codesourcery.com>
72144
72145 * manual/lang.texi (size_t): Note types to which size_t may be
72146 equivalent with the GNU C Library, but do not describe when
72147 differences between them are significant.
72148
72149 2012-03-05 Andreas Jaeger <aj@suse.de>
72150
72151 * sysdeps/i386/fpu/libm-test-ulps: Update.
72152
72153 2012-03-05 Joseph Myers <joseph@codesourcery.com>
72154
72155 [BZ #3976]
72156 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72157 (__ieee754_pow): Save and restore rounding mode and use
72158 round-to-nearest for main computations.
72159 * math/libm-test.inc (pow_test_tonearest): New function.
72160 (pow_test_towardzero): Likewise.
72161 (pow_test_downward): Likewise.
72162 (pow_test_upward): Likewise.
72163 (main): Call the new functions.
72164 * sysdeps/i386/fpu/libm-test-ulps: Update.
72165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72166
72167 [BZ #3976]
72168 * math/libm-test.inc (cosh_test_tonearest): New function.
72169 (cosh_test_towardzero): Likewise.
72170 (cosh_test_downward): Likewise.
72171 (cosh_test_upward): Likewise.
72172 (sinh_test_tonearest): Likewise.
72173 (sinh_test_towardzero): Likewise.
72174 (sinh_test_downward): Likewise.
72175 (sinh_test_upward): Likewise.
72176 (main): Call the new functions.
72177 * sysdeps/i386/fpu/libm-test-ulps: Update.
72178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72179
72180 2012-03-05 Tom de Vries <tom@codesourcery.com>
72181
72182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72183 default stack guard is set in last bytes.
72184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72185
72186 2012-03-05 Kees Cook <keescook@chromium.org>
72187
72188 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72189
72190 [BZ #13656]
72191 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72192 possibly allocate from heap instead of stack.
72193 * stdio-common/bug-vfprintf-nargs.c: New file.
72194 * stdio-common/Makefile (tests): Add nargs overflow test.
72195
72196 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
72197
72198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72199
72200 2012-03-03 Marek Polacek <polacek@redhat.com>
72201
72202 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72203 * math/math_private.h: Likewise.
72204 * stdlib/tst-strtod.c: Likewise.
72205 * sysdeps/i386/i486/bits/atomic.h: Likewise.
72206 * sysdeps/x86_64/bits/atomic.h: Likewise.
72207
72208 2012-03-02 David S. Miller <davem@davemloft.net>
72209
72210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72214 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72215 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72216 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72217 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72218
72219 2012-03-02 Roland McGrath <roland@hack.frob.com>
72220
72221 [BZ #13792]
72222 * manual/examples/README: New file, says the example source files
72223 can be used under GPL>=2.
72224 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72225 line containing just "*/".
72226 * manual/examples/add.c: Add copyright header (GPL>=2).
72227 * manual/examples/argp-ex1.c: Likewise.
72228 * manual/examples/argp-ex2.c: Likewise.
72229 * manual/examples/argp-ex3.c: Likewise.
72230 * manual/examples/argp-ex4.c: Likewise.
72231 * manual/examples/atexit.c: Likewise.
72232 * manual/examples/db.c: Likewise.
72233 * manual/examples/dir.c: Likewise.
72234 * manual/examples/dir2.c: Likewise.
72235 * manual/examples/execinfo.c: Likewise.
72236 * manual/examples/filecli.c: Likewise.
72237 * manual/examples/filesrv.c: Likewise.
72238 * manual/examples/fmtmsgexpl.c: Likewise.
72239 * manual/examples/genpass.c: Likewise.
72240 * manual/examples/inetcli.c: Likewise.
72241 * manual/examples/inetsrv.c: Likewise.
72242 * manual/examples/isockad.c: Likewise.
72243 * manual/examples/longopt.c: Likewise.
72244 * manual/examples/memopen.c: Likewise.
72245 * manual/examples/memstrm.c: Likewise.
72246 * manual/examples/mkfsock.c: Likewise.
72247 * manual/examples/mkisock.c: Likewise.
72248 * manual/examples/mygetpass.c: Likewise.
72249 * manual/examples/pipe.c: Likewise.
72250 * manual/examples/popen.c: Likewise.
72251 * manual/examples/rprintf.c: Likewise.
72252 * manual/examples/search.c: Likewise.
72253 * manual/examples/select.c: Likewise.
72254 * manual/examples/setjmp.c: Likewise.
72255 * manual/examples/sigh1.c: Likewise.
72256 * manual/examples/sigusr.c: Likewise.
72257 * manual/examples/stpcpy.c: Likewise.
72258 * manual/examples/strdupa.c: Likewise.
72259 * manual/examples/strftim.c: Likewise.
72260 * manual/examples/strncat.c: Likewise.
72261 * manual/examples/subopt.c: Likewise.
72262 * manual/examples/swapcontext.c: Likewise.
72263 * manual/examples/termios.c: Likewise.
72264 * manual/examples/testopt.c: Likewise.
72265 * manual/examples/testpass.c: Likewise.
72266 * manual/examples/timeval_subtract.c: Likewise.
72267
72268 [BZ #13792]
72269 * manual/time.texi (Elapsed Time): Move timeval_subtract example
72270 function to ...
72271 * manual/timeval_subtract.c.texi: ... here, new file.
72272
72273 2012-03-02 David S. Miller <davem@davemloft.net>
72274
72275 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72276
72277 2012-03-02 Joseph Myers <joseph@codesourcery.com>
72278
72279 [BZ #3976]
72280 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72281 (__sin): Save and restore rounding mode and use round-to-nearest
72282 for all computations.
72283 (__cos): Save and restore rounding mode and use round-to-nearest
72284 for all computations.
72285 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72286 <fenv.h>.
72287 (tan): Save and restore rounding mode and use round-to-nearest for
72288 all computations.
72289 * math/libm-test.inc (cos_test_tonearest): New function.
72290 (cos_test_towardzero): Likewise.
72291 (cos_test_downward): Likewise.
72292 (cos_test_upward): Likewise.
72293 (sin_test_tonearest): Likewise.
72294 (sin_test_towardzero): Likewise.
72295 (sin_test_downward): Likewise.
72296 (sin_test_upward): Likewise.
72297 (tan_test_tonearest): Likewise.
72298 (tan_test_towardzero): Likewise.
72299 (tan_test_downward): Likewise.
72300 (tan_test_upward): Likewise.
72301 (main): Call the new functions.
72302 * sysdeps/i386/fpu/libm-test-ulps: Update.
72303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72304
72305 [BZ #10135]
72306 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72307 small n, then large n, before computing and testing k+n.
72308 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72309 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72310 Likewise.
72311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72312 Likewise.
72313 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72314 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72319 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72320 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72321 * math/libm-test.inc (scalbn_test): Add more tests.
72322 (scalbln_test): Likewise.
72323
72324 * manual/filesys.texi (mode_t): Describe constraints on size and
72325 signedness, not exact equivalence to a particular type.
72326 (ino_t): Likewise.
72327 (ino64_t): Likewise.
72328 (dev_t): Likewise.
72329 (nlink_t): Likewise.
72330 (blkcnt_t): Likewise.
72331 (blkcnt64_t): Likewise.
72332 * manual/llio.texi (off_t): Likewise.
72333
72334 [BZ #3976]
72335 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72336 (__ieee754_exp): Save and restore rounding mode and use
72337 round-to-nearest for all computations.
72338 * math/libm-test.inc (exp_test_tonearest): New function.
72339 (exp_test_towardzero): Likewise.
72340 (exp_test_downward): Likewise.
72341 (exp_test_upward): Likewise.
72342 (main): Call the new functions.
72343 * sysdeps/i386/fpu/libm-test-ulps: Update.
72344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72345
72346 2012-03-01 Chris Demetriou <cgd@google.com>
72347
72348 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72349 have predictable order.
72350
72351 2012-03-01 David S. Miller <davem@davemloft.net>
72352
72353 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72354
72355 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72356 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72357 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72358 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72359
72360 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72361 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72362 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72364 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72365 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72366 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72367 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72368 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72369
72370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72371
72372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72373 * sysdeps/sparc/fpu/libm-test-ulps: to here.
72374 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72375
72376 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72377 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72378 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72384 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72385 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72386 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72389 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72390 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72392 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72393 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72394 * sysdeps/sparc/elf/configure: Regenerated.
72395
72396 2012-03-01 Joseph Myers <joseph@codesourcery.com>
72397
72398 * configure.in (AS, LD): Require binutils 2.20 or later.
72399 * configure: Regenerated.
72400 * manual/install.texi (Tools for Compilation): Give binutils 2.20
72401 as required minimum version.
72402 * INSTALL: Regenerated.
72403
72404 [BZ #2541]
72405 [BZ #4108]
72406 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72407 before squaring exponent.
72408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72409 bottom long double and 27 bits of top long double before squaring
72410 exponent.
72411 * math/libm-test.inc (erfc_test): Add more tests.
72412 * sysdeps/i386/fpu/libm-test-ulps: Update.
72413 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72415
72416 2012-03-01 Kai Tietz <ktietz@redhat.com>
72417
72418 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72419 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72420 containing bit-fields.
72421 * soft-fp/extended.h (_FP_UNION_E): Likewise.
72422 * soft-fp/single.h (_FP_UNION_S): Likewise.
72423 * soft-fp/double.h (_FP_UNION_D): Likewise.
72424
72425 2012-02-29 Joseph Myers <joseph@codesourcery.com>
72426
72427 [BZ #13786]
72428 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72429 not include ../strcmp.S.
72430 [USE_AS_STRNCASECMP_L]: Likewise.
72431 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72432 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72433 * sysdeps/i386/i686/multiarch/strncase_l-c.c
72434 (__strncasecmp_l_ia32): Define as alias to
72435 __strncasecmp_l_nonascii.
72436
72437 [BZ #5794]
72438 * math/libm-test.inc (expm1_test): Add test for bug 5794.
72439 * sysdeps/i386/fpu/libm-test-ulps: Update.
72440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72441
72442 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72444
72445 2012-02-29 Jeff Law <law@redhat.com>
72446
72447 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72448 out of bounds read.
72449
72450 2012-02-29 Marek Polacek <polacek@redhat.com>
72451
72452 [BZ #13706]
72453 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72454 * elf/Makefile: Add rules to run tst-unused-dep.out.
72455
72456 2012-02-28 David S. Miller <davem@davemloft.net>
72457
72458 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72459 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72461 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72462 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72463 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72464
72465 2012-02-29 Joseph Myers <joseph@codesourcery.com>
72466
72467 * math/libm-test.inc (llround_test): Move one test from
72468 lround_test. Use TEST_f_L in moved test.
72469 (lround_test): Move misplaced test to llround_test. Add testcase
72470 from bug 2561.
72471
72472 2012-02-28 Ulrich Drepper <drepper@gmail.com>
72473
72474 * sysdeps/x86_64/fpu/e_expf.S: New file.
72475 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72476
72477 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
72478
72479 [BZ #13637]
72480 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72481 of remain_len that may cause incomplete multi-byte character and
72482 false match.
72483 * posix/bug-regex33.c: New file.
72484 * posix/Makefile (tests): Add bug-regex33.
72485
72486 2012-02-28 Joseph Myers <joseph@codesourcery.com>
72487
72488 * manual/macros.texi: New file.
72489 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72490 * manual/libc.texinfo: Include macros.texi.
72491 * manual/creatute.texi: Likewise.
72492 * manual/install.texi: Likewise.
72493 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72494 @glibcadj{} in references to the GNU C Library.
72495 * manual/charset.texi: Likewise.
72496 * manual/conf.texi: Likewise.
72497 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
72498 when not using those macros.
72499 * manual/creature.texi: Likewise.
72500 * manual/crypt.texi: Likewise.
72501 * manual/errno.texi: Likewise.
72502 * manual/filesys.texi: Likewise.
72503 * manual/header.texi: Likewise.
72504 * manual/install.texi: Likewise.
72505 * manual/intro.texi: Likewise.
72506 * manual/io.texi: Likewise.
72507 * manual/job.texi: Likewise.
72508 * manual/lang.texi: Likewise.
72509 * manual/libc.texiinfo: Likewise.
72510 * manual/llio.texi: Likewise.
72511 * manual/locale.texi: Likewise.
72512 * manual/maint.texi: Likewise.
72513 * manual/math.texi: Likewise.
72514 * manual/memory.texi: Likewise.
72515 * manual/message.texi: Likewise.
72516 * manual/nss.texi: Likewise.
72517 * manual/pattern.texi: Likewise.
72518 * manual/process.texi: Likewise.
72519 * manual/resource.texi: Likewise.
72520 * manual/search.texi: Likewise.
72521 * manual/setjmp.texi: Likewise.
72522 * manual/signal.texi: Likewise.
72523 * manual/socket.texi: Likewise.
72524 * manual/startup.texi: Likewise.
72525 * manual/stdio.texi: Likewise.
72526 * manual/string.texi: Likewise.
72527 * manual/sysinfo.texi: Likewise.
72528 * manual/syslog.texi: Likewise.
72529 * manual/terminal.texi: Likewise.
72530 * manual/time.texi: Likewise.
72531 * manual/users.texi: Likewise.
72532 * INSTALL: Regenerated.
72533 * NOTES: Regenerated.
72534 * sysdeps/gnu/errlist.c: Regenerated.
72535
72536 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
72537
72538 * include/dirent.h: Include <dirstream.h> before
72539 <dirent/dirent.h>.
72540
72541 2012-02-28 David S. Miller <davem@davemloft.net>
72542
72543 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72544 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72545 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72547
72548 2012-02-27 David S. Miller <davem@davemloft.net>
72549
72550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72552 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72553 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72554
72555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72556 frame pointer instead of stack pointer relative arg slot.
72557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72558 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72559 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72560
72561 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
72562
72563 [BZ #3992]
72564 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72565
72566 2012-02-27 David S. Miller <davem@davemloft.net>
72567
72568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72572 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72573 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72574 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72575 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72576
72577 2012-02-27 Joseph Myers <joseph@codesourcery.com>
72578
72579 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72580 later. Allow versions 5-9.
72581 * configure: Regenerated.
72582 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72583 required minimum version and 4.6 as recommended version. Do not
72584 mention bugs in GCC 2.7 and 2.8.
72585 * INSTALL: Regenerated.
72586
72587 2012-02-27 David S. Miller <davem@davemloft.net>
72588
72589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72593 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72594 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72595 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72596 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72597
72598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72599 manipulate bits before adding and subtracting TWO112[sx].
72600 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72601
72602 2012-02-27 Roland McGrath <roland@hack.frob.com>
72603
72604 [BZ #13775]
72605 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72606 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72607 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72608 being in POSIX, because they are in 1003.1-2008.
72609
72610 * rt/tst-aio.c: Include <fcntl.h>.
72611 * rt/tst-aio7.c: Likewise.
72612 * rt/tst-aio64.c: Likewise.
72613
72614 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72615
72616 2012-02-27 Joseph Myers <joseph@codesourcery.com>
72617
72618 * manual/install.texi (--with-headers): Describe headers as
72619 interface headers, not private headers.
72620 (Specific advice for GNU/Linux systems): Describe use of headers
72621 from "make headers_install", not private headers from older
72622 kernels.
72623 * INSTALL: Regenerated.
72624 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72625 Change to 2.6.19.
72626 * sysdeps/unix/sysv/linux/configure: Regenerated.
72627
72628 * manual/llio.texi (fclean): Remove documentation.
72629
72630 * manual/Makefile (libc-texi-generated): New variable. Include
72631 version.texi.
72632 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72633 $(libc-texi-generated), not duplicated list of files.
72634 (version.texi, stamp-version): New rules.
72635 (realclean): Remove $(libc-texi-generated), not individual files
72636 from that list. Do not remove dir-add.texinfo.
72637 * manual/libc.texinfo: Comment out uses of edition numbers and
72638 references to printed manual. Remove last-updated dates.
72639 (EDITION): Comment out.
72640 (ISBN): Likewise.
72641 (VERSION, UPDATED): Remove.
72642 (version.texi): Include.
72643
72644 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
72645
72646 * sysdeps/posix/spawni.c: Include <signal.h>.
72647 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72648 * sysdeps/pthread/aio_fsync.c: Likewise.
72649
72650 2012-02-26 Ulrich Drepper <drepper@gmail.com>
72651
72652 * conform/Makefile (tests): Run only when not cross-compiling and
72653 when fast-check is not defined.
72654
72655 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72656 * conform/data/limits.h-data: Fixes for POSIX2008.
72657 * conform/run-conformtest.sh: Run all tests.
72658 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72659 headers.
72660 * include/bits/dlfcn.h: Likewise.
72661 * include/langinfo.h: Likewise.
72662 * include/monetary.h: Likewise.
72663 * include/sys/poll.h: Likewise.
72664
72665 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72666 for __USE_GNU.
72667 * posix/spawn.h: Define __need_sigset_t.
72668 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72669 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72670 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
72671 to get sigevent_t only.
72672 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72673 only for __USE_GNU.
72674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72675 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72676 process_vm_writev only for __USE_GNU.
72677 * termios/termios.h: Declare tcgetsid also for POSIX2008.
72678
72679 * conform/Makefile: For now ignore errors from run-conformtest.
72680 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
72681 POSIX to avoid namespace pollution. Don't prepend headers.
72682 * conform/data/aio.h-data: Fixes for POSIX testing.
72683 * conform/data/fcntl.h-data: Likewise.
72684 * conform/data/glob.h-data: Likewise.
72685 * conform/data/grp.h-data: Likewise.
72686 * conform/data/pthread.h-data: Likewise.
72687 * conform/data/pwd.h-data: Likewise.
72688 * conform/data/signal.h-data: Likewise.
72689 * conform/data/spawn.h-data: Likewise.
72690 * conform/data/stdio.h-data: Likewise.
72691 * conform/data/stdlib.h-data: Likewise.
72692 * conform/data/stropts.h-data: Likewise.
72693 * conform/data/sys/mman.h-data: Likewise.
72694 * conform/data/sys/stat.h-data: Likewise.
72695 * conform/data/sys/types.h-data: Likewise.
72696 * conform/data/sys/wait.h-data: Likewise.
72697 * conform/data/time.h-data: Likewise.
72698 * conform/data/unistd.h-data: Likewise.
72699 * conform/data/utime.h-data: Likewise.
72700
72701 * io/sys/stat.h: fchmod was always in POSIX.
72702 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72703 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72704 * rt/aio.h: Define __need_timespec before including <time.h>.
72705 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72706 struct. Add forward declaration of pthread_attr_t and use it in
72707 sigevent.
72708 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72709 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72710 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72711 always remove CLK_TCK definition.
72712
72713 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
72714
72715 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72716
72717 2012-02-25 Ulrich Drepper <drepper@gmail.com>
72718
72719 * conform/run-conformtest.sh: New file.
72720 * conform/Makefile: Run run-conformtest for tests.
72721 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
72722 support.
72723
72724 * conform/data/uchar.h-data: New file.
72725 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72726 * conform/data/arpa/inet.h-data: Likewise.
72727 * conform/data/assert.h-data: Likewise.
72728 * conform/data/complex.h-data: Likewise.
72729 * conform/data/cpio.h-data: Likewise.
72730 * conform/data/ctype.h-data: Likewise.
72731 * conform/data/dirent.h-data: Likewise.
72732 * conform/data/dlfcn.h-data: Likewise.
72733 * conform/data/errno.h-data: Likewise.
72734 * conform/data/fcntl.h-data: Likewise.
72735 * conform/data/float.h-data: Likewise.
72736 * conform/data/fmtmsg.h-data: Likewise.
72737 * conform/data/fnmatch.h-data: Likewise.
72738 * conform/data/ftw.h-data: Likewise.
72739 * conform/data/glob.h-data: Likewise.
72740 * conform/data/grp.h-data: Likewise.
72741 * conform/data/iconv.h-data: Likewise.
72742 * conform/data/inttypes.h-data: Likewise.
72743 * conform/data/langinfo.h-data: Likewise.
72744 * conform/data/libgen.h-data: Likewise.
72745 * conform/data/limits.h-data: Likewise.
72746 * conform/data/locale.h-data: Likewise.
72747 * conform/data/math.h-data: Likewise.
72748 * conform/data/monetary.h-data: Likewise.
72749 * conform/data/mqueue.h-data: Likewise.
72750 * conform/data/ndbm.h-data: Likewise.
72751 * conform/data/net/if.h-data: Likewise.
72752 * conform/data/netdb.h-data: Likewise.
72753 * conform/data/netinet/in.h-data: Likewise.
72754 * conform/data/nl_types.h-data: Likewise.
72755 * conform/data/poll.h-data: Likewise.
72756 * conform/data/pthread.h-data: Likewise.
72757 * conform/data/pwd.h-data: Likewise.
72758 * conform/data/regex.h-data: Likewise.
72759 * conform/data/sched.h-data: Likewise.
72760 * conform/data/search.h-data: Likewise.
72761 * conform/data/semaphore.h-data: Likewise.
72762 * conform/data/setjmp.h-data: Likewise.
72763 * conform/data/signal.h-data: Likewise.
72764 * conform/data/spawn.h-data: Likewise.
72765 * conform/data/stdarg.h-data: Likewise.
72766 * conform/data/stdio.h-data: Likewise.
72767 * conform/data/stdlib.h-data: Likewise.
72768 * conform/data/string.h-data: Likewise.
72769 * conform/data/strings.h-data: Likewise.
72770 * conform/data/stropts.h-data: Likewise.
72771 * conform/data/sys/ipc.h-data: Likewise.
72772 * conform/data/sys/mman.h-data: Likewise.
72773 * conform/data/sys/msg.h-data: Likewise.
72774 * conform/data/sys/resource.h-data: Likewise.
72775 * conform/data/sys/select.h-data: Likewise.
72776 * conform/data/sys/sem.h-data: Likewise.
72777 * conform/data/sys/shm.h-data: Likewise.
72778 * conform/data/sys/socket.h-data: Likewise.
72779 * conform/data/sys/stat.h-data: Likewise.
72780 * conform/data/sys/statvfs.h-data: Likewise.
72781 * conform/data/sys/time.h-data: Likewise.
72782 * conform/data/sys/timeb.h-data: Likewise.
72783 * conform/data/sys/times.h-data: Likewise.
72784 * conform/data/sys/types.h-data: Likewise.
72785 * conform/data/sys/uio.h-data: Likewise.
72786 * conform/data/sys/un.h-data: Likewise.
72787 * conform/data/sys/utsname.h-data: Likewise.
72788 * conform/data/sys/wait.h-data: Likewise.
72789 * conform/data/syslog.h-data: Likewise.
72790 * conform/data/tar.h-data: Likewise.
72791 * conform/data/termios.h-data: Likewise.
72792 * conform/data/utime.h-data: Likewise.
72793 * conform/data/utmpx.h-data: Likewise.
72794 * conform/data/varargs.h-data: Likewise.
72795 * conform/data/wchar.h-data: Likewise.
72796 * conform/data/wctype.h-data: Likewise.
72797 * conform/data/wordexp.h-data: Likewise.
72798
72799 * include/stropts.h: New file.
72800 * include/uchar.h: New file.
72801 * include/aio.h: Changes to allow conformtest.pl to use the headers.
72802 * include/assert.h: Likewise.
72803 * include/ctype.h: Likewise.
72804 * include/dirent.h: Likewise.
72805 * include/dlfcn.h: Likewise.
72806 * include/fcntl.h: Likewise.
72807 * include/fnmatch.h: Likewise.
72808 * include/glob.h: Likewise.
72809 * include/grp.h: Likewise.
72810 * include/libio.h: Likewise.
72811 * include/locale.h: Likewise.
72812 * include/math.h: Likewise.
72813 * include/net/if.h: Likewise.
72814 * include/netdb.h: Likewise.
72815 * include/netinet/in.h: Likewise.
72816 * include/pthread.h: Likewise.
72817 * include/pwd.h: Likewise.
72818 * include/regex.h: Likewise.
72819 * include/sched.h: Likewise.
72820 * include/search.h: Likewise.
72821 * include/setjmp.h: Likewise.
72822 * include/signal.h: Likewise.
72823 * include/stdio.h: Likewise.
72824 * include/stdlib.h: Likewise.
72825 * include/string.h: Likewise.
72826 * include/sys/cdefs.h: Likewise.
72827 * include/sys/mman.h: Likewise.
72828 * include/sys/msg.h: Likewise.
72829 * include/sys/resource.h: Likewise.
72830 * include/sys/select.h: Likewise.
72831 * include/sys/socket.h: Likewise.
72832 * include/sys/stat.h: Likewise.
72833 * include/sys/statvfs.h: Likewise.
72834 * include/sys/time.h: Likewise.
72835 * include/sys/times.h: Likewise.
72836 * include/sys/uio.h: Likewise.
72837 * include/sys/utsname.h: Likewise.
72838 * include/sys/wait.h: Likewise.
72839 * include/termios.h: Likewise.
72840 * include/time.h: Likewise.
72841 * include/ulimit.h: Likewise.
72842 * include/unistd.h: Likewise.
72843 * include/utime.h: Likewise.
72844 * include/wchar.h: Likewise.
72845 * include/wctype.h: Likewise.
72846 * include/wordexp.h: Likewise.
72847
72848 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72849
72850 * time/time.h: TIME_UTC must be a macro.
72851 Make timespec_get available for ISO C11 only as well.
72852
72853 2012-02-24 Ulrich Drepper <drepper@gmail.com>
72854
72855 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72856 Reported by Peng Haitao <penght@cn.fujitsu.com>.
72857
72858 2012-02-24 Joseph Myers <joseph@codesourcery.com>
72859
72860 * configure.in: Use -o not -a in test for unsupported multi-arch.
72861
72862 2012-02-24 Joseph Myers <joseph@codesourcery.com>
72863
72864 * manual/texinfo.tex: Update to version 2012-01-19.16.
72865
72866 2012-02-24 Joseph Myers <joseph@codesourcery.com>
72867
72868 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72869
72870 2012-02-24 Roland McGrath <roland@hack.frob.com>
72871
72872 [BZ #13738]
72873 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72874 * manual/fdl-1.3.texi: New file.
72875 * manual/fdl-1.1.texi: File removed.
72876
72877 [BZ #13738]
72878 * manual/libc.texinfo (FDL_VERSION): New @set.
72879 Use it for mention of FDL in cover text.
72880 (Documentation License): Use it in @include file name.
72881
72882 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72883 Roland McGrath <roland@hack.frob.com>
72884
72885 [BZ #5461]
72886 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72887 (not LONG_LONG_MAX and LONG_LONG_MIN.
72888 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72889 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
72890 name.
72891 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72892
72893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72894
72895 [BZ #2547]
72896 [BZ #11365]
72897 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72898 manipulate bits before adding and subtracting TWO23[sx].
72899 * math/libm-test.inc (nearbyint_test): Add more tests.
72900
72901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72902
72903 [BZ #2548]
72904 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72905 bits before adding and subtracting TWO23[sx].
72906 * math/libm-test.inc (rint_test): Add more tests.
72907 (rint_test_tonearest): Likewise.
72908 (rint_test_towardzero): Likewise.
72909 (rint_test_downward): Likewise.
72910 (rint_test_upward: Likewise.
72911
72912 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72913
72914 [BZ #10110]
72915 * include/stdc-predef.h: New file. Extracted from features.h.
72916 * include/features.h: Include stdc-predef.h.
72917 * Makefile (headers): Add stdc-predef.h.
72918 * CONFORMANCE (Compiler limitations): Update.
72919
72920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72921
72922 * manual/libc.texinfo (VERSION, UPDATED): Revert.
72923
72924 2012-02-21 David S. Miller <davem@davemloft.net>
72925
72926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72928
72929 2012-02-20 David S. Miller <davem@davemloft.net>
72930
72931 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72932 using a normal save/restore sequence, rather than allocating a
72933 dummy stack frame just to store a frame pointer and restore.
72934 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72935
72936 2012-02-21 Joseph Myers <joseph@codesourcery.com>
72937
72938 * manual/install.texi: Fix stray word in line-wrapped comment.
72939
72940 2012-02-20 David S. Miller <davem@davemloft.net>
72941
72942 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72943 both binutils and gcc support GOTDATA.
72944
72945 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72946 "rd %pc" in the PIC register setup sequences.
72947
72948 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72949 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72950 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72951 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72952 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72953 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72956 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72957 (SYSCALL_ERROR_HANDLER): Likewise.
72958 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72959 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72961 (SYSCALL_ERROR_HANDLER): Likewise.
72962
72963 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72964 (HAVE_GCC_GOTDATA): New.
72965 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72966 relocation support in both binutils and gcc.
72967 * sysdeps/sparc/elf/configure: Regenerate.
72968
72969 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72970 * sysdeps/sparc/sparc32/elf/configure: Delete.
72971 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72972 * sysdeps/sparc/sparc64/elf/configure: Delete.
72973 * sysdeps/sparc/elf/configure.in: New file.
72974 * sysdeps/sparc/elf/configure: Generate.
72975
72976 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72977 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72978 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72979 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72980 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72981
72982 2012-02-21 Joseph Myers <joseph@codesourcery.com>
72983
72984 * manual/install.texi: Do not mention specific glibc version
72985 numbers.
72986 * manual/libc.texinfo (VERSION, UPDATED): Update.
72987 (@copying): Use @copyright{} and range of years.
72988
72989 2012-02-21 Joseph Myers <joseph@codesourcery.com>
72990
72991 [BZ #13695]
72992 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72993 [crti.S not in sysdirs] (generated): Do not append.
72994 [crti.S not in sysdirs] (omit-deps): Likewise.
72995 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72996 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72997 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72998 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72999 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73000 Likewise.
73001 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73002 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73003 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73004 * csu/defs.awk: Remove file.
73005 * sysdeps/generic/initfini.c: Likewise.
73006 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73007 variable.
73008 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73009 Likewise.
73010
73011 2012-02-20 Joseph Myers <joseph@codesourcery.com>
73012
73013 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73014 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73015 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73016 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73017 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73018 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73019 <bits/epoll.h>.
73020 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73021 (__EPOLL_PACKED): Define to empty if not defined by
73022 <bits/epoll.h>.
73023 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73025 bits/epoll.h.
73026
73027 2012-02-20 Joseph Myers <joseph@codesourcery.com>
73028
73029 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73030 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73031 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73032 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73033 <bits/timerfd.h>.
73034 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73036 bits/timerfd.h.
73037
73038 2012-02-20 Joseph Myers <joseph@codesourcery.com>
73039
73040 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73041 in C locale.
73042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73043 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73046
73047 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
73048
73049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73051
73052 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
73053
73054 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73055 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73056 defined.
73057 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73058 Likewise.
73059 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73060 entry for 2.16.
73061
73062 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
73063
73064 * math/w_acos.c: Use non-signaling floating-point comparisons.
73065 * math/w_acosf.c: Likewise.
73066 * math/w_acosh.c: Likewise.
73067 * math/w_acoshf.c: Likewise.
73068 * math/w_acoshl.c: Likewise.
73069 * math/w_acosl.c: Likewise.
73070 * math/w_asin.c: Likewise.
73071 * math/w_asinf.c: Likewise.
73072 * math/w_asinl.c: Likewise.
73073 * math/w_atanh.c: Likewise.
73074 * math/w_atanhf.c: Likewise.
73075 * math/w_atanhl.c: Likewise.
73076 * math/w_exp2.c: Likewise.
73077 * math/w_exp2f.c: Likewise.
73078 * math/w_exp2l.c: Likewise.
73079 * math/w_j0.c: Likewise.
73080 * math/w_j0f.c: Likewise.
73081 * math/w_j0l.c: Likewise.
73082 * math/w_j1.c: Likewise.
73083 * math/w_j1f.c: Likewise.
73084 * math/w_j1l.c: Likewise.
73085 * math/w_jn.c: Likewise.
73086 * math/w_jnf.c: Likewise.
73087 * math/w_log.c: Likewise.
73088 * math/w_log10.c: Likewise.
73089 * math/w_log10f.c: Likewise.
73090 * math/w_log10l.c: Likewise.
73091 * math/w_log2.c: Likewise.
73092 * math/w_log2f.c: Likewise.
73093 * math/w_log2l.c: Likewise.
73094 * math/w_logf.c: Likewise.
73095 * math/w_logl.c: Likewise.
73096 * math/w_sqrt.c: Likewise.
73097 * math/w_sqrtf.c: Likewise.
73098 * math/w_sqrtl.c: Likewise.
73099 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73100 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73101 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73102 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73103 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73104
73105 2012-02-19 Joseph Myers <joseph@codesourcery.com>
73106
73107 [BZ #9739]
73108 * manual/string.texi (strnlen): Use correct parameter name in
73109 equivalent expression.
73110
73111 2012-02-19 Joseph Myers <joseph@codesourcery.com>
73112
73113 [BZ #11174]
73114 * manual/users.texi (seteuid): Consistently use neweuid for
73115 argument name.
73116
73117 2012-02-19 Joseph Myers <joseph@codesourcery.com>
73118
73119 [BZ #13704]
73120 * manual/nss.texi (Services in the NSS configuration): Correct
73121 list of services in example configuration file.
73122
73123 2012-02-19 Nick Bowler <nbowler@draconx.ca>
73124
73125 [BZ #11322]
73126 * manual/arith.texi: Remove statements about negative zero
73127 behaving identically to zero.
73128
73129 2012-02-18 Joseph Myers <joseph@codesourcery.com>
73130
73131 [BZ #5993]
73132 * manual/install.texi: Do not document upgrading from libc5.
73133
73134 2012-02-18 Joseph Myers <joseph@codesourcery.com>
73135
73136 [BZ #4596]
73137 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73138
73139 2012-02-18 David S. Miller <davem@davemloft.net>
73140
73141 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73142 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73143 %o7 across the call.
73144 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73145 instead.
73146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73147 SETUP_PIC_REG_LEAF.
73148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73149 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73150 * sysdeps/sparc/crtn.S: Likewise.
73151
73152 2012-02-17 Ulrich Drepper <drepper@gmail.com>
73153
73154 * aout/Makefile: Remove.
73155
73156 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
73157
73158 [BZ #13058]
73159 * manual/examples/argp-ex1.c (main): Format definition in GNU
73160 style.
73161 * manual/examples/argp-ex2.c (main): Likewise.
73162 * manual/examples/argp-ex3.c (main): Likewise.
73163 * manual/examples/argp-ex4.c (main): Likewise.
73164 * manual/examples/longopt.c (main): Use new-style prototype
73165 definition.
73166 * manual/examples/strncat.c (main): Specify return type and use
73167 (void) for arguments.
73168 * manual/examples/subopt.c (main): Use char **argv argument.
73169
73170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
73171
73172 [BZ #5077]
73173 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73174 rounding modes.
73175
73176 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
73177
73178 [BZ #6907]
73179 * manual/string.texi (strchr): Change when strchrnul is
73180 recommended.
73181
73182 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
73183
73184 [BZ #174]
73185 * manual/locale.texi (setlocale): Document LOCPATH.
73186
73187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
73188
73189 [BZ #10210]
73190 * manual/process.texi (execle): Move @dots{} before last argument.
73191
73192 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
73193
73194 [BZ #12047]
73195 * manual/charset.texi (Generic Charset Conversion): Fix typo
73196 (LC_TYPE -> LC_CTYPE).
73197
73198 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
73199
73200 [BZ #5805]
73201 * manual/arith.texi (scalbn): Use @var{} on parameter names.
73202 (scalbnf): Likewise.
73203 (scalbnl): Likewise.
73204 (scalbln): Likewise.
73205 (scalblnf): Likewise.
73206 (scalblnl): Likewise.
73207 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73208 (vwarnx): Likewise.
73209 (verr): Likewise.
73210 (verrx): Likewise.
73211 * manual/filesys.texi (telldir): Use braces around return type.
73212 * manual/llio.texi (mmap): Add space after comma.
73213 (mmap64): Likewise.
73214 * manual/math.texi (jn): Use @var{} on parameter names.
73215 (jnf): Likewise.
73216 (jnl): Likewise.
73217 (yn): Likewise.
73218 (ynf): Likewise.
73219 (ynl): Likewise.
73220 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73221 line.
73222 * manual/resource.texi (ulimit): Use @dots{} instead of literal
73223 "...".
73224 (sched_get_priority_min): Remove semicolon on @deftypefun line.
73225 (sched_get_priority_max): Likewise.
73226 * manual/signal.texi (sigvec): Add space after comma.
73227 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73228 names.
73229 (if_indextoname): Likewise.
73230 (if_freenameindex): Likewise.
73231 (sendto): Use ',' instead of '.' in prototype.
73232 * manual/startup.texi (syscall): Use @dots{} instead of literal
73233 "...".
73234 * manual/stdio.texi (__fpending): Separate initial words of
73235 paragraph from @deftypefun line.
73236 * manual/syslog.texi (syslog): Use @dots{} instead of literal
73237 "...".
73238 (vsyslog): Use @var{} on parameter names.
73239 * manual/terminal.texi (stty): Use @var{} on parameter names.
73240 * manual/users.texi (getutmp): Use @var{} on parameter names.
73241 (getutmpx): Likewise.
73242
73243 2012-02-17 Joseph Myers <joseph@codesourcery.com>
73244
73245 [BZ #6884]
73246 * manual/stdio.texi (fopen): Fix typos in description of
73247 ",ccs=STRING".
73248
73249 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
73250
73251 [BZ #4026]
73252 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73253 get clock_id definition.
73254
73255 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
73256
73257 [BZ #4822]
73258 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73259 (madvise): Cast every argument to void on its own.
73260
73261 2012-02-17 Joseph Myers <joseph@codesourcery.com>
73262
73263 [BZ #9902]
73264 * manual/startup.texi (Exit Status): Fix typo.
73265
73266 2012-02-17 Joseph Myers <joseph@codesourcery.com>
73267
73268 [BZ #10140]
73269 * manual/examples/argp-ex1.c: Include <stdlib.h>.
73270 * manual/examples/argp-ex2.c: Likewise.
73271 * manual/examples/argp-ex3.c: Likewise.
73272
73273 2012-02-16 Richard Henderson <rth@redhat.com>
73274
73275 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73276 * sysdeps/s390/s390-32/initfini.c: Remove.
73277 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73278 * sysdeps/s390/s390-64/initfini.c: Remove.
73279
73280 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
73281
73282 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73283 compiler output for sysdeps/generic/initfini.c.
73284 * sysdeps/sh/elf/initfini.c: Remove file.
73285
73286 2012-02-16 David S. Miller <davem@davemloft.net>
73287
73288 [BZ #11494]
73289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73290
73291 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73292 * sysdeps/sparc/crti.S: New file.
73293 * sysdeps/sparc/crtn.S: New file.
73294 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73295 * sysdeps/sparc/sparc64/Makefile: Likewise.
73296
73297 2012-02-15 Mike Frysinger <vapier@gentoo.org>
73298
73299 [BZ #3335]
73300 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73301
73302 2012-02-15 Roland McGrath <roland@hack.frob.com>
73303
73304 [BZ #4822]
73305 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73306
73307 * mach/devstream.c (cookie_io_functions_t): Macro removed.
73308 (write, read, close): Likewise.
73309 Patch by Aurelien Jarno <aurelien@aurel32.net>.
73310
73311 2012-02-15 Joseph Myers <joseph@codesourcery.com>
73312
73313 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73314 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73315 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73316 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73317 <bits/signalfd.h>.
73318 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73320 bits/signalfd.h.
73321
73322 2012-02-14 Marek Polacek <polacek@redhat.com>
73323
73324 * sysdeps/x86_64/crti.S: New file.
73325 * sysdeps/x86_64/crtn.S: New file.
73326 * sysdeps/x86_64/elf/initfini.c: Remove file.
73327
73328 2012-02-13 Joseph Myers <joseph@codesourcery.com>
73329
73330 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73331 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73332 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73333 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73334 <bits/inotify.h>.
73335 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73337 bits/inotify.h.
73338
73339 2012-02-13 Joseph Myers <joseph@codesourcery.com>
73340
73341 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73342 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73343 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73344 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73345 <bits/eventfd.h>.
73346 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73348 bits/eventfd.h.
73349
73350 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
73351
73352 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73353 __feraiseexcept instead of feraiseexcept.
73354
73355 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73356 nanosleep invocations.
73357 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73358 strings, and add error checking for a nanosleep invocations.
73359
73360 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
73361
73362 Replace FSF snail mail address with URLs, as per GNU coding standards.
73363 Most of the snail mail addresses were wrong anyway, and omitting
73364 them makes the source code easier to maintain. Almost all of the
73365 changes are to license notices and to locale LC_IDENTIFICATION
73366 addresses, except for this one:
73367 * manual/libc.texinfo: In "Published by", give the FSF's URL,
73368 not its snail mail address.
73369
73370 2012-02-09 Richard Henderson <rth@twiddle.net>
73371
73372 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73373 of kernel-features.h.
73374
73375 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73376
73377 2012-02-08 Marek Polacek <polacek@redhat.com>
73378
73379 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73380 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73381 * sysdeps/gnu/_G_config.h: Likewise.
73382 * sysdeps/generic/_G_config.h: Likewise.
73383
73384 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
73385
73386 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73387 tests.
73388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73389
73390 * sysdeps/powerpc/powerpc32/crti.S: New file.
73391 * sysdeps/powerpc/powerpc32/crtn.S: New file.
73392 * sysdeps/powerpc/powerpc64/crti.S: New file.
73393 * sysdeps/powerpc/powerpc64/crtn.S: New file.
73394
73395 * Makeconfig (have-initfini): Don't set.
73396 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73397 * configure.in (nopic_initfini): Don't substitute.
73398 * config.h.in (HAVE_INITFINI): Don't #undef.
73399 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73400 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73401
73402 2012-02-08 Joseph Myers <joseph@codesourcery.com>
73403
73404 Support crti.S and crtn.S provided directly by architectures.
73405 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73406 [crti.S in sysdirs] (omit-deps): Likewise.
73407 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73408 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73409 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73410 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73411 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73412 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73413 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73414 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73415 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73416 compiler output for sysdeps/generic/initfini.c.
73417 * sysdeps/i386/elf/Makefile: Remove file.
73418 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73419
73420 2012-02-07 Marek Polacek <polacek@redhat.com>
73421
73422 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73423 * sysdeps/gnu/_G_config.h: Likewise.
73424 * sysdeps/mach/hurd/_G_config.h: Likewise.
73425
73426 2012-02-07 Marek Polacek <polacek@redhat.com>
73427
73428 * math/Makefile (tests): Add tst-CMPLX2.
73429 * math/tst-CMPLX2.c: New file.
73430
73431 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
73432
73433 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73434
73435 * math/libm-test.inc (jn_test): Add missing L suffix.
73436
73437 2012-02-06 Marek Polacek <polacek@redhat.com>
73438
73439 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73440 * sysdeps/i386/fpu/e_powf.S: Likewise.
73441 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73442 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73443 * sysdeps/i386/fpu/e_acosh.S: Likewise.
73444 * sysdeps/i386/fpu/e_pow.S: Likewise.
73445 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73446 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73447 * sysdeps/i386/fpu/s_expm1.S: Likewise.
73448 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73449 * sysdeps/i386/fpu/e_log2.S: Likewise.
73450 * sysdeps/i386/fpu/e_log2l.S: Likewise.
73451 * sysdeps/i386/fpu/e_scalb.S: Likewise.
73452 * sysdeps/i386/fpu/e_powl.S: Likewise.
73453 * sysdeps/i386/fpu/s_log1p.S: Likewise.
73454 * sysdeps/i386/fpu/e_log10f.S: Likewise.
73455 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73456 * sysdeps/i386/fpu/e_logl.S: Likewise.
73457 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73458 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73459 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73460 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73461 * sysdeps/i386/fpu/e_log2f.S: Likewise.
73462 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73463 * sysdeps/i386/fpu/e_log.S: Likewise.
73464 * sysdeps/i386/fpu/s_cexp.S: Likewise.
73465 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73466 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73467 * sysdeps/i386/fpu/e_logf.S: Likewise.
73468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
73469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
73470 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73471 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73472 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73473 * sysdeps/i386/fpu/e_log10.S: Likewise.
73474 * sysdeps/i386/fpu/s_frexp.S: Likewise.
73475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73476 * sysdeps/i386/fpu/s_asinh.S: Likewise.
73477 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73479 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73480 * sysdeps/i386/asm-syntax.h: Likewise.
73481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73482 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73483 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73484 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73485 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73486 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73487 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73488 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73490 * sysdeps/powerpc/sysdep.h: Likewise.
73491 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73492 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73493
73494 2012-02-06 Joseph Myers <joseph@codesourcery.com>
73495
73496 [BZ #411]
73497 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73498
73499 2012-02-06 Joseph Myers <joseph@codesourcery.com>
73500
73501 * sysdeps/i386/sysdep.h: Include <features.h>.
73502 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73503 version.
73504
73505 2012-02-05 Joseph Myers <joseph@codesourcery.com>
73506
73507 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73508 Define.
73509 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73510 LOAD_PIC_REG_STR.
73511
73512 2012-02-03 Joseph Myers <joseph@codesourcery.com>
73513
73514 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73515 (SETUP_PIC_REG): Use GET_PC_THUNK.
73516 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73517 macro.
73518
73519 2012-02-03 Joseph Myers <joseph@codesourcery.com>
73520
73521 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73522 for non-PIC compilation.
73523 (SETUP_PIC_REG): Add .p2align directive.
73524 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73525 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73526 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73527 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73528 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73529 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73532 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73533 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73534 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73535 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73536 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73538 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73539 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73540 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73545 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73547 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73551 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73552 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73553 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73554 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73555 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73557 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73558 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73560 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73561 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73562 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73563 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73565
73566 2012-02-03 Joseph Myers <joseph@codesourcery.com>
73567
73568 * math/tst-CMPLX.c: Include <stdio.h>.
73569
73570 2012-01-31 Joseph Myers <joseph@codesourcery.com>
73571
73572 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73573 float.
73574 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73575 * sysdeps/sparc/bits/mathdef.h: Likewise.
73576
73577 2012-01-31 Marek Polacek <polacek@redhat.com>
73578
73579 * libio/libio.h: Don't define _PARAMS.
73580 * locale/programs/config.h: Don't define PARAMS.
73581 * stdlib/strtol_l.c: Likewise.
73582 (__strtol_l): Remove PARAMS from the prototype.
73583
73584 2012-01-31 Ulrich Drepper <drepper@gmail.com>
73585
73586 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
73587 names. Just use the correct names. Remove unnecessary wrapper
73588 functions.
73589 * malloc/arena.c: Likewise.
73590 * malloc/hooks.c: Likewise.
73591
73592 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73593 ARENA_TEST says not to. Simplify test for creation of a new arena.
73594 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73595
73596 2012-01-30 Ulrich Drepper <drepper@gmail.com>
73597
73598 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73599 into tail calls.
73600 (update_get_addr): New function.
73601 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73602 GET_ADDR_MODULE parameter.
73603
73604 2012-01-30 Joseph Myers <joseph@codesourcery.com>
73605
73606 * crypt/cert.c: Remove __STDC__ conditionals.
73607 * crypt/crypt-entry.c: Likewise.
73608 * crypt/crypt_util.c: Likewise.
73609 * libio/filedoalloc.c: Likewise.
73610 * libio/fileops.c: Likewise.
73611 * libio/genops.c: Likewise.
73612 * libio/iofclose.c: Likewise.
73613 * libio/iofdopen.c: Likewise.
73614 * libio/iofopen.c: Likewise.
73615 * libio/iofopen64.c: Likewise.
73616 * libio/iogetdelim.c: Likewise.
73617 * libio/iopopen.c: Likewise.
73618 * libio/obprintf.c: Likewise.
73619 * libio/oldfileops.c: Likewise.
73620 * libio/oldiofclose.c: Likewise.
73621 * libio/oldiofdopen.c: Likewise.
73622 * libio/oldiofopen.c: Likewise.
73623 * libio/oldiopopen.c: Likewise.
73624 * libio/wfiledoalloc.c: Likewise.
73625 * libio/wgenops.c: Likewise.
73626 * locale/programs/xmalloc.c: Likewise.
73627 * misc/syslog.c: Likewise.
73628 * stdio-common/xbug.c: Likewise.
73629 * string/memchr.c: Likewise.
73630 * string/memcmp.c: Likewise.
73631 * string/memrchr.c: Likewise.
73632 * string/rawmemchr.c: Likewise.
73633 * sysdeps/posix/getcwd.c: Likewise.
73634 * time/strftime_l.c: Likewise.
73635
73636 2012-01-30 Joseph Myers <joseph@codesourcery.com>
73637
73638 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73639 * config.make.in (config-cflags-sse2avx): Define.
73640 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73641 Fix typo.
73642
73643 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
73644
73645 * scripts/config.guess: Update from upstream config git repository.
73646 * scripts/config.sub: Likewise.
73647
73648 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
73649
73650 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73651 (EM_NUM): Update.
73652 (R_TILEPRO_*, R_TILEGX_*): New macros.
73653
73654 * scripts/firstversions.awk: Fix bug in version range handling.
73655
73656 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73657
73658 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73659
73660 * include/sys/epoll.h: New file.
73661 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73662 libc_hidden_def.
73663
73664 2012-01-28 Ulrich Drepper <drepper@gmail.com>
73665
73666 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73667 Avoid unnecessary __WORDSIZE == 64 test.
73668 (fmaxf): Use VEX format if possible.
73669 (fmax): Likewise.
73670 (fminf): Likewise.
73671 (fmin): Likewise.
73672
73673 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73674 * math/math_private.h: Remove libc_fegetround* and
73675 libc_fesetround*.
73676 * sysdeps/i386/configure.in: Check for -msse2avx.
73677 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73678 also if SSE2AVX is defined.
73679 Remove libc_fegetround* and libc_fesetround*.
73680 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73681 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
73682 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73683 of HAS_YMM_USABLE.
73684 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73685 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73686 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73687 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73688 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73689
73690 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73691
73692 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73693
73694 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73695 size is not set.
73696 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73697
73698 2012-01-27 Ulrich Drepper <drepper@gmail.com>
73699
73700 [BZ #13618]
73701 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73702 relocation.
73703 * Makeconfig (libm): Define.
73704 * elf/Makefile: Add rules to build and run tst-relsort1.
73705 * elf/tst-relsort1.c: New file.
73706 * elf/tst-relsort1mod1.c: New file.
73707 * elf/tst-relsort1mod2.c: New file.
73708
73709 2012-01-27 Joseph Myers <joseph@codesourcery.com>
73710
73711 * math/s_ldexp.c: Remove __STDC__ conditionals.
73712 * math/s_ldexpf.c: Likewise.
73713 * math/s_ldexpl.c: Likewise.
73714 * math/s_nextafter.c: Likewise.
73715 * math/s_nexttowardf.c: Likewise.
73716 * math/s_significand.c: Likewise.
73717 * math/s_significandf.c: Likewise.
73718 * math/s_significandl.c: Likewise.
73719 * math/w_jnl.c: Likewise.
73720 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73721 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73722 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73723 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73724 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73726 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73727 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73728 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73729 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73730 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73732 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73733 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73734 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73735 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73736 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73737 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73738 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73739 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73740 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73741 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73742 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73744 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73745 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73746 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73748 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73749 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73750 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73751 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73752 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73753 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73754 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73755 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73756 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73757 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73758 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73759 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73760 * sysdeps/ieee754/k_standard.c: Likewise.
73761 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73762 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73763 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73764 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73765 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73766 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73767 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73768 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73769 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73770 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73771 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73772 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73773 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73774 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73775 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73777 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73778 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73779 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73781 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73782 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73783 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73784 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73786 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73788 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73789 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73790 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73791 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73792 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73793 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73794 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73796 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73797 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73798 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73799 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73800 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73801 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73803 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73804 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73806 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73807 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73810 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73811 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73814 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73815 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73816 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73817 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73818 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73819 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73821 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73822 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73823 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73824 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73825 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73826 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73827 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73828 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73830 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73831 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73832 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73833 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73836 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73837 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73838 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73839 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73840 * sysdeps/ieee754/s_matherr.c: Likewise.
73841 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73842 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73845
73846 2012-01-26 Joseph Myers <joseph@codesourcery.com>
73847
73848 * crypt/md5.h: Remove __STDC__ conditionals.
73849 * libio/libioP.h: Likewise.
73850 * locale/programs/config.h: Likewise.
73851 * sysdeps/generic/sysdep.h: Likewise.
73852 * sysdeps/i386/asm-syntax.h: Likewise.
73853 * sysdeps/s390/asm-syntax.h: Likewise.
73854 * sysdeps/unix/sysdep.h: Likewise.
73855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73857
73858 2012-01-26 Joseph Myers <joseph@codesourcery.com>
73859
73860 * libio/libio.h: Remove __STDC__ conditionals.
73861 * malloc/obstack.h: Likewise.
73862 * math/complex.h: Likewise.
73863 * math/math.h: Likewise.
73864 * sysdeps/generic/_G_config.h: Likewise.
73865 * sysdeps/gnu/_G_config.h: Likewise.
73866 * sysdeps/mach/hurd/_G_config.h: Likewise.
73867 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73868 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73869 * sysdeps/sparc/bits/mathdef.h: Likewise.
73870
73871 2012-01-26 Ulrich Drepper <drepper@gmail.com>
73872
73873 [BZ #13583]
73874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73875 Clean up HAS_* macros.
73876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73877 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73878 possible.
73879 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73880 HAS_AVX.
73881 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73882 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73883 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73885 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73886
73887 2012-01-25 Joseph Myers <joseph@codesourcery.com>
73888
73889 * elf/tst-unique3.cc (gets): Remove declaration.
73890 * elf/tst-unique3lib.cc (gets): Likewise.
73891 * elf/tst-unique3lib2.cc (gets): Likewise.
73892 * elf/tst-unique4.cc (gets): Likewise.
73893
73894 2012-01-24 Ulrich Drepper <drepper@gmail.com>
73895
73896 * include/stdio.h: Add C++ protection. Add gets declarations and
73897 definitions.
73898 * debug/tst-chk1.c: Don't declare gets here.
73899 * stdio-common/tst-gets.c: Likewise.
73900
73901 2012-01-24 Joseph Myers <joseph@codesourcery.com>
73902
73903 * posix/glob: Remove directory.
73904
73905 2012-01-24 Joseph Myers <joseph@codesourcery.com>
73906
73907 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73908
73909 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
73910
73911 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73912 of the non-standard EPFNOSUPPORT.
73913
73914 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
73915
73916 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73917 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73918 ANYWHERE set to 1 only on KERN_NO_SPACE error.
73919
73920 2012-01-21 Ulrich Drepper <drepper@gmail.com>
73921
73922 * wcsmbs/uchar.h: Test __STDC_VERSION__.
73923
73924 2012-01-20 Ulrich Drepper <drepper@gmail.com>
73925
73926 * nscd/aicache.c (addhstaiX): Do not cache negative results of
73927 transient errors.
73928 * nscd/grpcache.c (cache_addgr): Likewise.
73929 * nscd/hstcache.c (cache_addhst): Likewise.
73930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
73931 * nscd/pwdcache.c (cache_addpw): Likewise.
73932 * nscd/servicescache.c (cache_addserv): Likewise.
73933
73934 2012-01-16 Ulrich Drepper <drepper@gmail.com>
73935
73936 * malloc/malloc.c: Various cleanups.
73937 * malloc/hooks.c: Likewise.
73938
73939 * stdlib/Makefile (tests): Add bug-fmtmsg1.
73940 * stdlib/bug-fmtmsg1.c: New file.
73941
73942 * stdlib/fmtmsg.c (init): Add missing unlock.
73943 Patch by Peng Haitao <penght@cn.fujitsu.com>.
73944
73945 2012-01-12 Marek Polacek <polacek@redhat.com>
73946
73947 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73948 and _GNU_SOURCE.
73949
73950 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
73951
73952 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73953 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73954 macro to ensure uniqueness of label name.
73955 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73956 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73957
73958 2012-01-11 Ulrich Drepper <drepper@gmail.com>
73959
73960 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73961
73962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73964 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73966
73967 2012-01-10 Ulrich Drepper <drepper@gmail.com>
73968
73969 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73970
73971 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73972 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73973 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73974
73975 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73976
73977 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73978 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73979 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73981
73982 * math/bits/math-finite.h: Add ldexp support.
73983
73984 2012-01-10 Marek Polacek <polacek@redhat.com>
73985
73986 * locale/programs/localedef.h (show_archive_content): Add noreturn
73987 attribute.
73988
73989 2012-01-09 Ulrich Drepper <drepper@gmail.com>
73990
73991 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73992
73993 2012-01-08 Ulrich Drepper <drepper@gmail.com>
73994
73995 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73996
73997 * io/Makefile (headers): Add bits/poll2.h.
73998
73999 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
74000
74001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74002 typo #include statement.
74003
74004 2012-01-08 Ulrich Drepper <drepper@gmail.com>
74005
74006 * include/sys/cdefs.h: Define __attribute_alloc_size.
74007 * catgets/gencat.c: Add alloc_size attribute and apply consistently
74008 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74009 * elf/pldd.c: Likewise.
74010 * iconv/iconv_charmap.c: Likewise.
74011 * iconv/iconvconfig.c: Likewise.
74012 * iconv/strtab.c: Likewise.
74013 * locale/programs/locale.c: Likewise.
74014 * locale/programs/localedef.h: Likewise.
74015 * locale/programs/simple-hash.c: Likewise.
74016 * nscd/nscd.h: Likewise.
74017 * nss/makedb.c: Likewise.
74018 * sysdeps/generic/ldconfig.h: Likewise.
74019 * locale/programs/localedef.c: Remove xmalloc prototype.
74020 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74021
74022 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
74023
74024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74025 appropriate.
74026
74027 2012-01-08 Ulrich Drepper <drepper@gmail.com>
74028
74029 * math/Makefile (tests): Add tst-CMPLX.
74030 * math/tst-CMPLX.c: New file.
74031
74032 * math/complex.h (CMPLXL): Fix typo.
74033
74034 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74035 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74036 GLIBC_2.16.
74037 * debug/tst-chk1.c: Add poll and ppoll tests.
74038 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74039 * include/sys/poll.h: Add hidden proto for ppoll.
74040 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74041 * sysdeps/mach/hurd/ppoll.c: Likewise.
74042 * io/ppoll.c: Likewise.
74043 * debug/poll_chk.c: New file.
74044 * debug/ppoll_chk.c: New file.
74045 * include/bits/poll2.h: New file.
74046 * io/bits/poll2.h: New file.
74047
74048 [BZ #1350]
74049 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74050
74051 * configure.in: static is always set to yes. Remove.
74052 * config.make.in: Don't set build-static.
74053 * Makeconfig: Remove use of build-static.
74054 * dlfcn/Makefile: Likewise.
74055 * elf/Makefile: Likewise.
74056 * math/Makefile: Likewise.
74057 * misc/Makefile: Likewise.
74058 * nptl/Makefile: Likewise.
74059 * sysdeps/mach/hurd/Makefile: Likewise.
74060
74061 * configure.in: PWD_P is not used anymore.
74062 * config.make.in: Remove PWD_P entry.
74063
74064 * configure.in: Remove last remnants of RANLIB.
74065 No need to check for signed size_t anymore.
74066 Don't set libc_commonpagesize and libc_relro_required here for Alpha
74067 and IA-64.
74068 Remove __builtin_expect test because we require at least gcc 3.4.
74069 * aclocal.m4: Likewise.
74070
74071 * wcsmbs/mbrtoc16.c: Implement using towc function.
74072 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74073 * wcsmbs/wcsmbsload.c: Likewise.
74074 * iconv/gconv_simple.c: Likewise.
74075 * iconv/gconv_int.h: Likewise.
74076 * iconv/gconv_builtin.h: Likewise.
74077 * iconv/iconv_prog.c: Remove CHAR16 handling.
74078
74079 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74080
74081 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74082
74083 * configure.in: Remove --with-elf and --enable-bounded options.
74084 Dont set base_machine for ia64. More non-ELF conditions removed.
74085 Remove testing and setting of leading underscore information.
74086 * config.make.in (build-bounded): Set to no.
74087 * config.h.in: Remove NO_UNDERSCORES entry.
74088 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
74089 them.
74090 * csu/start.c: Remove !NO_UNDERSCORE code.
74091 * locale/localeinfo.h: Likewise.
74092 * sysdeps/generic/machine-gmon.h: Likewise.
74093 * sysdeps/generic/sysdep.h: Likewise.
74094 * sysdeps/i386/sysdep.h: Likewise.
74095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74096 * sysdeps/mach/sysdep.h: Likewise.
74097 * sysdeps/s390/s390-32/sysdep.h: Likewise.
74098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
74099 * sysdeps/sh/sysdep.h: Likewise.
74100 * sysdeps/sparc/sparc32/alloca.S: Likewise.
74101 * sysdeps/unix/i386/sysdep.S: Likewise.
74102 * sysdeps/unix/sparc/start.c: Likewise.
74103 * sysdeps/unix/sparc/sysdep.S: Likewise.
74104 * sysdeps/unix/sparc/sysdep.h: Likewise.
74105 * sysdeps/unix/start.c: Likewise.
74106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
74107 * sysdeps/x86_64/sysdep.h: Likewise.
74108
74109 2012-01-07 Ulrich Drepper <drepper@gmail.com>
74110
74111 [BZ #13553]
74112 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74113 for non-gcc.
74114 * argp/argp-fmtstream.h: Use const instead __const.
74115 * argp/argp.h: Likewise.
74116 * assert/assert.h: Likewise.
74117 * bits/fenv.h: Likewise.
74118 * bits/sched.h: Likewise.
74119 * bits/sigset.h: Likewise.
74120 * bits/sigthread.h: Likewise.
74121 * catgets/nl_types.h: Likewise.
74122 * conform/data/pthread.h-data: Likewise.
74123 * crypt/crypt-private.h: Likewise.
74124 * crypt/crypt.h: Likewise.
74125 * crypt/crypt_util.c: Likewise.
74126 * ctype/ctype.h: Likewise.
74127 * debug/execinfo.h: Likewise.
74128 * debug/mbsnrtowcs_chk.c: Likewise.
74129 * debug/mbsrtowcs_chk.c: Likewise.
74130 * debug/wcsnrtombs_chk.c: Likewise.
74131 * debug/wcsrtombs_chk.c: Likewise.
74132 * debug/wcstombs_chk.c: Likewise.
74133 * dirent/dirent.h: Likewise.
74134 * dlfcn/dlfcn.h: Likewise.
74135 * elf/neededtest4.c: Likewise.
74136 * grp/grp.h: Likewise.
74137 * gshadow/gshadow.h: Likewise.
74138 * iconv/gconv.h: Likewise.
74139 * iconv/gconv_int.h: Likewise.
74140 * iconv/gconv_simple.c: Likewise.
74141 * iconv/iconv.h: Likewise.
74142 * iconv/loop.c: Likewise.
74143 * iconv/skeleton.c: Likewise.
74144 * include/aio.h: Likewise.
74145 * include/aliases.h: Likewise.
74146 * include/argz.h: Likewise.
74147 * include/arpa/inet.h: Likewise.
74148 * include/assert.h: Likewise.
74149 * include/dirent.h: Likewise.
74150 * include/dlfcn.h: Likewise.
74151 * include/execinfo.h: Likewise.
74152 * include/fcntl.h: Likewise.
74153 * include/fenv.h: Likewise.
74154 * include/glob.h: Likewise.
74155 * include/grp.h: Likewise.
74156 * include/libintl.h: Likewise.
74157 * include/mntent.h: Likewise.
74158 * include/netdb.h: Likewise.
74159 * include/pwd.h: Likewise.
74160 * include/rpc/netdb.h: Likewise.
74161 * include/sched.h: Likewise.
74162 * include/search.h: Likewise.
74163 * include/shadow.h: Likewise.
74164 * include/signal.h: Likewise.
74165 * include/stdio.h: Likewise.
74166 * include/stdlib.h: Likewise.
74167 * include/string.h: Likewise.
74168 * include/sys/socket.h: Likewise.
74169 * include/sys/stat.h: Likewise.
74170 * include/sys/statfs.h: Likewise.
74171 * include/sys/statvfs.h: Likewise.
74172 * include/sys/syslog.h: Likewise.
74173 * include/sys/time.h: Likewise.
74174 * include/sys/uio.h: Likewise.
74175 * include/time.h: Likewise.
74176 * include/unistd.h: Likewise.
74177 * include/utmp.h: Likewise.
74178 * include/wchar.h: Likewise.
74179 * include/wctype.h: Likewise.
74180 * inet/aliases.h: Likewise.
74181 * inet/arpa/inet.h: Likewise.
74182 * inet/netinet/ether.h: Likewise.
74183 * inet/netinet/in.h: Likewise.
74184 * intl/libintl.h: Likewise.
74185 * io/bits/fcntl2.h: Likewise.
74186 * io/fcntl.h: Likewise.
74187 * io/ftw.h: Likewise.
74188 * io/sys/poll.h: Likewise.
74189 * io/sys/stat.h: Likewise.
74190 * io/sys/statfs.h: Likewise.
74191 * io/sys/statvfs.h: Likewise.
74192 * io/utime.h: Likewise.
74193 * libio/bits/stdio.h: Likewise.
74194 * libio/bits/stdio2.h: Likewise.
74195 * libio/libio.h: Likewise.
74196 * libio/libioP.h: Likewise.
74197 * libio/stdio.h: Likewise.
74198 * locale/lc-ctype.c: Likewise.
74199 * locale/locale.h: Likewise.
74200 * login/utmp.h: Likewise.
74201 * malloc/arena.c: Likewise.
74202 * malloc/malloc.c: Likewise.
74203 * malloc/malloc.h: Likewise.
74204 * malloc/mcheck.c: Likewise.
74205 * malloc/mtrace.c: Likewise.
74206 * math/bits/mathcalls.h: Likewise.
74207 * math/fenv.h: Likewise.
74208 * math/math_private.h: Likewise.
74209 * misc/bits/error.h: Likewise.
74210 * misc/bits/syslog.h: Likewise.
74211 * misc/err.h: Likewise.
74212 * misc/error.h: Likewise.
74213 * misc/fstab.h: Likewise.
74214 * misc/mntent.h: Likewise.
74215 * misc/regexp.h: Likewise.
74216 * misc/search.h: Likewise.
74217 * misc/sgtty.h: Likewise.
74218 * misc/sys/mman.h: Likewise.
74219 * misc/sys/syslog.h: Likewise.
74220 * misc/sys/uio.h: Likewise.
74221 * misc/sys/xattr.h: Likewise.
74222 * misc/ttyent.h: Likewise.
74223 * nis/rpcsvc/ypclnt.h: Likewise.
74224 * nss/nss.h: Likewise.
74225 * posix/bits/unistd.h: Likewise.
74226 * posix/fnmatch.h: Likewise.
74227 * posix/glob.h: Likewise.
74228 * posix/sched.h: Likewise.
74229 * posix/spawn.h: Likewise.
74230 * posix/sys/wait.h: Likewise.
74231 * posix/unistd.h: Likewise.
74232 * posix/wordexp.h: Likewise.
74233 * pwd/pwd.h: Likewise.
74234 * resolv/netdb.h: Likewise.
74235 * resource/sys/resource.h: Likewise.
74236 * rt/aio.h: Likewise.
74237 * rt/bits/mqueue2.h: Likewise.
74238 * rt/mqueue.h: Likewise.
74239 * shadow/shadow.h: Likewise.
74240 * signal/signal.h: Likewise.
74241 * socket/send.c: Likewise.
74242 * socket/sendto.c: Likewise.
74243 * socket/sys/socket.h: Likewise.
74244 * stdio-common/printf.h: Likewise.
74245 * stdlib/bits/stdlib.h: Likewise.
74246 * stdlib/fmtmsg.h: Likewise.
74247 * stdlib/monetary.h: Likewise.
74248 * stdlib/stdlib.h: Likewise.
74249 * stdlib/ucontext.h: Likewise.
74250 * streams/stropts.h: Likewise.
74251 * string/argz.h: Likewise.
74252 * string/bits/string2.h: Likewise.
74253 * string/string.h: Likewise.
74254 * string/strings.h: Likewise.
74255 * sunrpc/rpc/auth.h: Likewise.
74256 * sunrpc/rpc/auth_des.h: Likewise.
74257 * sunrpc/rpc/clnt.h: Likewise.
74258 * sunrpc/rpc/netdb.h: Likewise.
74259 * sunrpc/rpc/pmap_clnt.h: Likewise.
74260 * sunrpc/rpc/xdr.h: Likewise.
74261 * sysdeps/generic/inttypes.h: Likewise.
74262 * sysdeps/generic/net/if.h: Likewise.
74263 * sysdeps/generic/sys/swap.h: Likewise.
74264 * sysdeps/gnu/net/if.h: Likewise.
74265 * sysdeps/gnu/utmpx.h: Likewise.
74266 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74267 * sysdeps/i386/i486/bits/string.h: Likewise.
74268 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74269 * sysdeps/s390/bits/string.h: Likewise.
74270 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74271 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74272 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74273 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74274 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74275 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74276 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74277 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74278 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74279 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74280 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74281 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74282 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74283 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74284 * sysdeps/unix/sysv/linux/readv.c: Likewise.
74285 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74286 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74288 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74289 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74291 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74292 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74293 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74294 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74295 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74296 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74298 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74299 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74300 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74301 * sysvipc/sys/ipc.h: Likewise.
74302 * sysvipc/sys/msg.h: Likewise.
74303 * sysvipc/sys/sem.h: Likewise.
74304 * sysvipc/sys/shm.h: Likewise.
74305 * termios/termios.h: Likewise.
74306 * time/sys/time.h: Likewise.
74307 * time/time.h: Likewise.
74308 * wcsmbs/bits/wchar2.h: Likewise.
74309 * wcsmbs/uchar.h: Likewise.
74310 * wcsmbs/wchar.h: Likewise.
74311 * wctype/wctype.h: Likewise.
74312
74313 [BZ #13551]
74314 * Makeconfig: Remove all but ELF support including AIX support.
74315 * Makerules: Likewise.
74316 * config.h.in: Likewise.
74317 * config.make.in: Likewise.
74318 * configure: Likewise.
74319 * configure.in: Likewise.
74320 * csu/Makefile: Likewise.
74321 * csu/version.c: Likewise.
74322 * debug/Makefile: Likewise.
74323 * dlfcn/Makefile: Likewise.
74324 * elf/Makefile: Likewise.
74325 * extra-lib.mk: Likewise.
74326 * iconv/Makefile: Likewise.
74327 * include/libc-symbols.h: Likewise.
74328 * include/shlib-compat.h: Likewise.
74329 * resolv/Makefile: Likewise.
74330 * resolv/res_libc.c: Likewise.
74331 * rt/Makefile: Likewise.
74332 * sysdeps/i386/asm-syntax.h: Likewise.
74333 * sysdeps/i386/sysdep.h: Likewise.
74334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74335 * sysdeps/mach/sysdep.h: Likewise.
74336 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74337 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74338 * sysdeps/s390/asm-syntax.h: Likewise.
74339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
74340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
74341 * sysdeps/sh/sysdep.h: Likewise.
74342 * sysdeps/unix/sparc/sysdep.h: Likewise.
74343 * sysdeps/wordsize-32/divdi3.c: Likewise.
74344 * sysdeps/x86_64/sysdep.h: Likewise.
74345
74346 * argp/Versions: Remove _argp_unlock_xxx.
74347
74348 [BZ #13559]
74349 * abilist/ld.abilist: Update. Adjust for removal of tls option.
74350 * abilist/libBrokenLocale.abilist: Likewise.
74351 * abilist/libanl.abilist: Likewise.
74352 * abilist/libc.abilist: Likewise.
74353 * abilist/libcrypt.abilist: Likewise.
74354 * abilist/libdl.abilist: Likewise.
74355 * abilist/libm.abilist: Likewise.
74356 * abilist/libnsl.abilist: Likewise.
74357 * abilist/libpthread.abilist: Likewise.
74358 * abilist/libresolv.abilist: Likewise.
74359 * abilist/librt.abilist: Likewise.
74360 * abilist/libthread_db.abilist: Likewise.
74361 * abilist/libutil.abilist: Likewise.
74362 * abilist/libnss_db.abilist: New file.
74363
74364 * scripts/abilist.awk: Add support for indirect functions.
74365
74366 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74367
74368 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74369
74370 * shlib-versions: Remove entries for ports architectures.
74371
74372 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
74373 files in ports.
74374 * elf/stackguard-macros.h: Remove support for IA-64.
74375 * elf/tst-auditmod1.c: Likewise.
74376 * sysdeps/generic/ldsodefs.h: Likewise.
74377
74378 * sysdeps/unix/sysv/linux/configure.in: Ports should define
74379 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74380 configure files.
74381
74382 [BZ #13552]
74383 * configure.in: Remove --enable-omitfp support.
74384 * FAQ.in: Adjust.
74385 * config.make.in: Likewise.
74386 * Makeconfig: Likewise.
74387 * manual/install.texi: Likewise.
74388
74389 In case anyone cares, the IA-64 architecture could move to ports.
74390 * sysdeps/ia64/*: Removed.
74391 * sysdeps/unix/sysv/linux/ia64/*: Removed.
74392 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74393
74394 [BZ #13555]
74395 * configure.in: Remove entries for unsupported architectures.
74396
74397 [BZ #13533]
74398 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74399 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
74400 routines.
74401 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74402 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74403 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
74404 fall back to using wcrtomb.
74405 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74406 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
74407 renaming.
74408 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74409 * wcsmbs/tst-c16c32-1.c: New file.
74410
74411 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74412 local variable.
74413
74414 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74415
74416 * elf/tst-unique3.cc: Add explicit declaration of gets.
74417 * elf/tst-unique3lib.cc: Likewise.
74418 * elf/tst-unique3lib2.cc: Likewise.
74419 * elf/tst-unique4.cc: Likewise.
74420
74421 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74422
74423 2012-01-06 Joseph Myers <joseph@codesourcery.com>
74424
74425 [BZ #13566]
74426 * assert/assert.h (static_assert): Don't define for C++.
74427 * libio/stdio.h (gets): Do declare for C++ <= C++11.
74428 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74429
74430 2012-01-03 Ulrich Drepper <drepper@gmail.com>
74431
74432 * iconv/loop.c (single loop): Fix assertion in storing of
74433 remaining bytes.
74434
74435 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74436
74437 2012-01-01 Ulrich Drepper <drepper@gmail.com>
74438
74439 * posix/getconf.c: Update copyright year.
74440 * nss/getent.c: Likewise.
74441 * nss/makedb.c: Likewise.
74442 * iconv/iconvconfig.c: Likewise.
74443 * iconv/iconv_prog.c: Likewise.
74444 * elf/ldconfig.c: Likewise.
74445 * elf/pldd.c: Likewise.
74446 * elf/sotruss.ksh: Likewise.
74447 * catgets/gencat.c: Likewise.
74448 * csu/version.c: Likewise.
74449 * elf/ldd.bash.in: Likewise.
74450 * elf/sprof.c (print_version): Likewise.
74451 * locale/programs/locale.c: Likewise.
74452 * locale/programs/localedef.c: Likewise.
74453 * login/programs/pt_chown.c: Likewise.
74454 * nscd/nscd.c (print_version): Likewise.
74455 * debug/xtrace.sh: Likewise.
74456 * malloc/memusage.sh: Likewise.
74457 * malloc/mtrace.pl: Likewise.
74458 * debug/catchsegv.sh: Likewise.
74459
74460 2011-12-30 Jakub Jelinek <jakub@redhat.com>
74461
74462 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74463 pure attribute.
74464
74465 2011-12-24 Ulrich Drepper <drepper@gmail.com>
74466
74467 [BZ #13533]
74468 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74469 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74470 transformations.
74471 * iconv/gconv_int.h: Likewise.
74472 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74473 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74474 from libc for GLIBC_2.16.
74475 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74476 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74477 * wcsmbs/uchar.h: Really define mbstate_t.
74478 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74479 * wcsmbs/c16rtomb.c: New file.
74480 * wcsmbs/mbrtoc16.c: New file.
74481 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74482 for C/POSIX locale.
74483 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74484 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74485
74486 * wcsmbs/wchar.h: Add missing __restrict.
74487
74488 2011-12-23 Ulrich Drepper <drepper@gmail.com>
74489
74490 [BZ #13532]
74491 * time/Makefile (routines): Add timespec_get.
74492 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74493 * time/time.h: Define TIME_UTC and declare timespec_get. Define
74494 timespec for ISO C11.
74495 * time/timespec_get.c: New file.
74496 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74497 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74498
74499 [BZ #13531]
74500 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74501 * stdlib/stdlib.h: Declare aligned_alloc.
74502 * Versions.def: Add GLIBC_2.16 for libc.
74503 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74504
74505 [BZ 13527]
74506 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74507 ISO C11.
74508
74509 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74510 code.
74511
74512 [BZ #13528]
74513 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74514
74515 [BZ #13529]
74516 * assert/assert.h (static_assert): Define.
74517
74518 * version.h: Update for 2.16 development version.
74519
74520 [BZ #13526]
74521 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74522 _ISOC11_SOURCE.
74523
74524 * version.h (RELEASE): Bump for 2.15 release.
74525 * include/features.h (__GLIBC_MINOR__): Bump to 15.
74526
74527 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74528 Patch by Marek Polacek <mpolacek@redhat.com>.
74529
74530 * bits/byteswap.h: Protect long long constants with __extension__.
74531 * sysdeps/i386/bits/byteswap.h: Likewise.
74532 * sysdeps/ia64/bits/byteswap.h: Likewise.
74533 * sysdeps/s390/bits/byteswap.h: Likewise.
74534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74535
74536 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74537
74538 [BZ #13540]
74539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74540 destination buffer.
74541 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74542
74543 2011-12-23 Marek Polacek <polacek@redhat.com>
74544
74545 * elf/dl-addr.c (determine_info): Add inline keyword.
74546 * elf/tst-auditmod4b.c (check_avx): Likewise.
74547 * elf/tst-auditmod6b.c (check_avx): Likewise.
74548 * elf/tst-auditmod6c.c (check_avx): Likewise.
74549 * elf/tst-auditmod7b.c (check_avx): Likewise.
74550
74551 2011-12-23 Ulrich Drepper <drepper@gmail.com>
74552
74553 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74554 !__SSE_MATH__.
74555
74556 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74557
74558 [BZ #13540]
74559 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74560 processing for last bytes.
74561
74562 2011-08-06 Bruno Haible <bruno@clisp.org>
74563
74564 [BZ #13061]
74565 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74566 U+0385, not to U+1FEE.
74567
74568 [BZ #13062]
74569 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74570 entry for U+00A5 U+0301.
74571
74572 2011-12-22 Ulrich Drepper <drepper@gmail.com>
74573
74574 [BZ #13166]
74575 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74576 buffer for the output is too small.
74577
74578 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74579 optimization.
74580
74581 [BZ #13185]
74582 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74583 SSE flags if possible.
74584
74585 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74586
74587 [BZ #13540]
74588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74589 processing for last bytes.
74590
74591 2011-12-22 Joseph Myers <joseph@codesourcery.com>
74592
74593 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74594 (syscall-list-default-options, syscall-list-default-condition)
74595 (syscall-list-includes): Define.
74596 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74597 list of ABIs and options and #if conditions for each ABI. Do not
74598 handle common syscalls between ABIs specially.
74599 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74600 Remove.
74601 (syscall-list-variants, syscall-list-32bit-options)
74602 (syscall-list-32bit-condition, syscall-list-64bit-options)
74603 (syscall-list-64bit-condition): Define.
74604 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74605 (syscall-list-variants, syscall-list-32bit-options)
74606 (syscall-list-32bit-condition, syscall-list-64bit-options)
74607 (syscall-list-64bit-condition): Define.
74608 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74609 Remove.
74610 (syscall-list-variants, syscall-list-32bit-options)
74611 (syscall-list-32bit-condition, syscall-list-64bit-options)
74612 (syscall-list-64bit-condition): Define.
74613 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74614 Remove.
74615 (syscall-list-variants, syscall-list-32bit-options)
74616 (syscall-list-32bit-condition, syscall-list-64bit-options)
74617 (syscall-list-64bit-condition): Define.
74618
74619 2011-12-22 Ulrich Drepper <drepper@gmail.com>
74620
74621 * locale/iso-639.def: Add brx entry.
74622
74623 [BZ #13328]
74624 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74625 Proposed by Mariusz_Cukr <marcukr@op.pl>.
74626
74627 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74628 __feraiseexcept_renamed.
74629
74630 2011-12-21 Ulrich Drepper <drepper@gmail.com>
74631
74632 [BZ #13538]
74633 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74634 EPOLLET with unsigned values.
74635 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74637
74638 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74639 to large cancellation.
74640 * math/s_cacoshf.c: Likewise.
74641 * math/s_cacoshl.c: Likewise.
74642
74643 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
74644
74645 [BZ #13305]
74646 [BZ #12786]
74647 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74648 * math/s_cacoshf.c: Likewise.
74649 * math/s_cacoshl.c: Likewise.
74650
74651 2011-12-21 Ulrich Drepper <drepper@gmail.com>
74652
74653 [BZ #13439]
74654 * iconv/gconv.h: Define __GCONV_SWAP.
74655 * iconvdata/unicode.c: The swap bit must be stored in __flags.
74656 * iconvdata/utf-16.c: Likewise.
74657 * iconvdata/utf-32.c: Likewise.
74658
74659 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
74660
74661 [BZ #13524]
74662 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74663 numerator after shifting it by one limb.
74664
74665 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
74666
74667 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74668 under [__USE_EXTERN_INLINES].
74669
74670 2011-12-17 Ulrich Drepper <drepper@gmail.com>
74671
74672 [BZ #13446]
74673 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74674
74675 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74676
74677 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74678 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74679 optimized code.
74680 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74681 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74682 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74683 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74684 for strncasecmp/strncasecmp_l compilation.
74685 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74686 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74687
74688 2011-12-08 Marek Polacek <mpolacek@redhat.com>
74689
74690 [BZ #13484]
74691 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74692 of __asm__.
74693
74694 2011-12-17 Ulrich Drepper <drepper@gmail.com>
74695
74696 [BZ #13506]
74697 * time/tzfile.c (__tzfile_read): Check values from file header.
74698
74699 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
74700
74701 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74702 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74703 * powerpc/powerpc32/dl-start.S: Likewise.
74704 * powerpc/powerpc32/elf/start.S: Likewise.
74705 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74706 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74707 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74708 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74709 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74710 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74711 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74712 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74713 * powerpc/powerpc32/fpu/s_round.S: Likewise.
74714 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74715 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74716 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74717 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74718 * powerpc/powerpc32/memset.S: Likewise.
74719 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74720 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74721 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74722 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74723 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74724 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74725 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74726 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74727 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74728 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74729 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74730 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74731 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74732
74733 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74734
74735 * math/libm-test.inc: Added more nearbyint tests.
74736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74737 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74739 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74740
74741 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
74742
74743 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74744 FD_CLOEXEC.
74745
74746 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74747
74748 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74749 Add wcscpy-ssse3 wcscpy-c.
74750 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74751 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74752 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74753 * sysdeps/x86_64/wcschr.S: New file.
74754 * sysdeps/x86_64/wcsrchr.S: New file.
74755 * string/test-strcmp.c: Remove checking of wcscmp function for
74756 wrong alignments.
74757 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74758 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74759 wcsrchr-sse2 wcsrchr-c.
74760 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74761 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74762 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74763 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74764 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74765 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74766 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74767 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74768 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74769 * wcsmbc/wcschr.c (WCSCHR): New macro.
74770
74771 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74772
74773 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74774 * wcsmbs/test-wcsrchr.c: New file.
74775 * string/test-strrchr.c: Add wcsrchr support.
74776 (WIDE): New macro.
74777 * wcsmbs/test-wcscpy.c: New file.
74778 * string/test-strcpy.c: Add wcscpy support.
74779 (WIDE): New macro.
74780
74781 2011-12-10 Ulrich Drepper <drepper@gmail.com>
74782
74783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74784 the inner loop.
74785
74786 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
74787
74788 [BZ #13472]
74789 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74790
74791 2011-12-04 Ulrich Drepper <drepper@gmail.com>
74792
74793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74794 Minor optimizations.
74795
74796 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74797 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74798 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74799
74800 2011-12-03 Ulrich Drepper <drepper@gmail.com>
74801
74802 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74803 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74804 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74805 for gcc to avoid warnings.
74806 * inet/Makefile (tests): Add tst-checks.
74807 * inet/tst-checks.c: New file.
74808
74809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74810 warning.
74811
74812 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74813 __wmemcmp_sse2.
74814
74815 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74816 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74817
74818 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74819
74820 2011-12-02 Ulrich Drepper <drepper@gmail.com>
74821
74822 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74823 problem.
74824
74825 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74826
74827 2011-11-29 Joseph Myers <joseph@codesourcery.com>
74828
74829 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74830 conditional on GCC version.
74831 (__arch_compare_and_exchange_val_8_acq)
74832 (__arch_compare_and_exchange_val_16_acq)
74833 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74834 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74835 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74836
74837 2011-12-02 Joseph Myers <joseph@codesourcery.com>
74838
74839 * sysdeps/sh/backtrace.c: New file.
74840
74841 2011-12-02 Andreas Schwab <schwab@redhat.com>
74842
74843 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
74844 parenthesis.
74845
74846 2011-12-01 Andreas Schwab <schwab@redhat.com>
74847
74848 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74849 falling back to utime.
74850
74851 2011-11-30 Andreas Schwab <schwab@redhat.com>
74852
74853 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74854 expectations for float.
74855
74856 2011-11-29 Andreas Schwab <schwab@redhat.com>
74857
74858 * locale/weight.h (findidx): Add parameter len.
74859 * locale/weightwc.h (findidx): Likewise.
74860 * posix/fnmatch_loop.c (FCT): Adjust caller.
74861 * posix/regcomp.c (build_equiv_class): Likewise.
74862 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74863 * posix/regexec.c (check_node_accept_bytes): Likewise.
74864 * string/strcoll_l.c (STRCOLL): Likewise.
74865 * string/strxfrm_l.c (STRXFRM): Likewise.
74866
74867 2011-11-17 Ulrich Drepper <drepper@gmail.com>
74868
74869 * Makefile.in: Remove CVSOPT handling.
74870 * configure.in: Remove use of AC_REVISION.
74871 * iconvdata/Makefile (distribute): No need to filter out CVS.
74872 * scripts/list-sources.sh: Remove CVS, subversion and monotone
74873 handling.
74874
74875 2011-11-16 Andreas Schwab <schwab@redhat.com>
74876
74877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74878 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74879 [USE_AS_STRNCASECMP_L]: Likewise.
74880 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74881 NO_TLS_DIRECT_SEG_REFS.
74882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74883 Fix argument offsets for non-PIC.
74884 [USE_AS_STRNCASECMP_L]: Likewise.
74885 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74886 NO_TLS_DIRECT_SEG_REFS.
74887
74888 2011-11-15 Ulrich Drepper <drepper@gmail.com>
74889
74890 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74891 O_CLOEXEC.
74892 * locale/loadlocale.c (_nl_load_locale): Likewise.
74893
74894 2011-11-15 Andreas Schwab <schwab@redhat.com>
74895
74896 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74897 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74898 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74899 (SYSCALL_GETTIME): Set errno on error.
74900
74901 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74902 count references to noai6ai_cached.
74903
74904 2011-11-15 Ulrich Drepper <drepper@gmail.com>
74905
74906 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74907
74908 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74909 FD_CLOEXEC for /proc/self/maps.
74910
74911 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74912 FD_CLOEXEC for /proc/meminfo.
74913
74914 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74915 gai.conf.
74916
74917 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
74918 FD_CLOEXEC for given file.
74919
74920 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74921
74922 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74923 FD_CLOEXEC for /etc/hosts.
74924 (_gethtent): Likewise.
74925
74926 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74927
74928 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74929 cancellation and set FD_CLOEXEC for /etc/netgroup.
74930
74931 * nss/nss_files/files-key.c (search): Don't allow cancellation when
74932 reading /etc/publickey.
74933
74934 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74935 allow cancellation when reading /etc/group.
74936
74937 * nss/nss_files/files-alias.c (internal_setent): Don't allow
74938 cancellation.
74939 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
74940
74941 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74942 when using data file.
74943
74944 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74945
74946 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74947 (write_nis_obj): Use "c" and "e" in fopen.
74948
74949 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74950
74951 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74952
74953 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74954
74955 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74956
74957 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74958 locale.alias.
74959
74960 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74961
74962 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74963
74964 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74965
74966 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74967 file parsing and set FD_CLOEXEC.
74968
74969 2011-11-14 Ulrich Drepper <drepper@gmail.com>
74970
74971 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74972
74973 2011-11-14 Andreas Schwab <schwab@redhat.com>
74974
74975 * malloc/arena.c (arena_get2): Don't call reused_arena when
74976 _int_new_arena failed.
74977
74978 2011-11-14 Ulrich Drepper <drepper@gmail.com>
74979
74980 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74981 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74982 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74983 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74985 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74986 to compile strcasecmp and strncasecmp.
74987 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74988 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74989
74990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74991
74992 2011-11-13 Ulrich Drepper <drepper@gmail.com>
74993
74994 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74995 locale-defines.sym to gen-as-const-headers.
74996 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74997 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74999 to compile strcasecmp and strncasecmp.
75000 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75001 strcasecmp_l and strncasecmp_l.
75002 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75003 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75004 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75005 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75006 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75007 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75008 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75009 * sysdeps/i386/i686/multiarch/strncase.S: New file.
75010 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75011 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75012 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75013
75014 2011-11-12 Ulrich Drepper <drepper@gmail.com>
75015
75016 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75017 result of SYSDEP_GETTIME_CPU to retval.
75018 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75019 parameter list to macro. Remove trailing semicolon. Adjust users.
75020
75021 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75022 variable.
75023
75024 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75025 mantissa words.
75026 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75027
75028 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75029 from unused variable.
75030
75031 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75032 DWARF definitions.
75033 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75034 for assembling.
75035
75036 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75037 over namespaces.
75038
75039 * sunrpc/rpc_prot.c (rejected): Fix case value.
75040
75041 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75042 unsigned long long int to avoid warnings in shift.
75043
75044 * posix/regex_internal.c (re_string_reconstruct): Actually use result
75045 of use of trans.
75046 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75047 variable tmp.
75048
75049 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75050 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75051 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75052
75053 * nis/nis_table.c (nis_list): Use variable of correct type for
75054 result of __follow_path call.
75055
75056 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75057
75058 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75059 of math functions ceil, trunc, floor, round, and sqrt, when
75060 avaliable on the platform.
75061 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75062 name clash.
75063 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75064 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75065 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75066
75067 2011-10-30 Marek Polacek <mpolacek@redhat.com>
75068
75069 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75070 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75071
75072 2011-11-11 Roland McGrath <roland@hack.frob.com>
75073
75074 * include/unistd.h: Fix __readlink return type.
75075 Reported by Chris Metcalf <cmetcalf@tilera.com>.
75076
75077 2011-11-11 Ulrich Drepper <drepper@gmail.com>
75078
75079 * stdlib/ucontext.h: Undo last change for makecontext.
75080
75081 2011-11-11 Andreas Schwab <schwab@redhat.com>
75082
75083 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75084
75085 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75086 * setjmp/setjmp.h: Mark functions as non-leaf.
75087 * setjmp/bits/setjmp2.h: Likewise.
75088 * stdlib/ucontext.h: Likewise.
75089
75090 2011-11-10 Andreas Schwab <schwab@redhat.com>
75091
75092 * malloc/arena.c (_int_new_arena): Don't increment narenas.
75093 (reused_arena): Don't check arena limit.
75094 (arena_get2): Atomically check arena limit.
75095
75096 2011-11-08 Ulrich Drepper <drepper@gmail.com>
75097
75098 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75099 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75100
75101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75102 instructions.
75103
75104 2011-11-07 Andreas Schwab <schwab@redhat.com>
75105
75106 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75107 handler when locking.
75108
75109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75110 Fix size of allocated buffer.
75111
75112 2011-11-04 Andreas Schwab <schwab@redhat.com>
75113
75114 [BZ #10103]
75115 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75116 declarations for long double functions.
75117 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75118
75119 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75120
75121 2011-11-03 Andreas Schwab <schwab@redhat.com>
75122
75123 * nscd/nscd.c (main): Don't start AVC thread until credentials are
75124 installed.
75125
75126 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75127 is disabled.
75128
75129 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
75130
75131 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75132
75133 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
75134
75135 * include/alloca.h (stackinfo_alloca_round): Define.
75136 (extend_alloca): Use it.
75137 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75138 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75139 here.
75140
75141 * scripts/check-local-headers.sh: Ignore libaudit.h.
75142
75143 * nscd/Makefile (extra-objs): Make recursively expanded.
75144
75145 2011-11-01 Ulrich Drepper <drepper@gmail.com>
75146
75147 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75149
75150 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75151 * posix/tst-rfc3484-2.c: Likewise.
75152 * posix/tst-rfc3484-3.c: Likewise.
75153
75154 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75155 process_vm_writev.
75156 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75157 process_vm_writev.
75158 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75159 process_vm_writev from libc using GLIBC_2.15 version.
75160
75161 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75162
75163 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
75164
75165 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75166 stack usage.
75167
75168 2011-10-31 Ulrich Drepper <drepper@gmail.com>
75169
75170 [BZ #13367]
75171 * nss/getent.c (initgroups_keys): Show error message in case no group
75172 names are given.
75173
75174 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75175 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75176 __bump_nl_timestamp.
75177 * nscd/connections (nscd_init): When host database is served open
75178 netlink socket and request notification about configuration changes.
75179 (main_loop_poll): Track netlink file descriptor and bump timestamp
75180 in case data becomes available.
75181 (main_loop_epoll): Likewise.
75182 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75183 (database_pers_head): Add extra_data fileds.
75184 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75185 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75186 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75187 Adjust caller.
75188 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75189 in6ai data, call __free_in6ai.
75190 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75191 Add -DHAVE_NETLINK.
75192 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
75193 interface information. Reuse previous data if netlink timestamp
75194 is not changed.
75195 (__bump_nl_timestamp): New function.
75196 (__free_in6ai): New function.
75197
75198 2011-10-30 Ulrich Drepper <drepper@gmail.com>
75199
75200 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75201 close_not_cancel_no_status here.
75202 (__check_pf): Reorganize code a bit to not call close twice if OOM.
75203
75204 2011-10-29 Ulrich Drepper <drepper@gmail.com>
75205
75206 [BZ #13276]
75207 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75208 return value.
75209
75210 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75211 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75212 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75213
75214 2011-07-03 Andreas Jaeger <aj@suse.de>
75215
75216 [BZ #10709]
75217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75218 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75219 * math/libm-test.inc (sin_test): Add test case.
75220
75221 2011-10-29 Ulrich Drepper <drepper@gmail.com>
75222
75223 [BZ #13337]
75224 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75225 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75226
75227 * elf/chroot_canon.c (chroot_canon): Cleanups.
75228
75229 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75230
75231 [BZ #13335]
75232 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75233 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75234
75235 * string/test-strchr.c: Make usable for strchrnul testing.
75236 * string/test-strchrnul.c: New file.
75237 * string/Makefile (strop-tests): Add strchrnul.
75238
75239 * po/it.po: Update from translation team.
75240 * po/es.po: Likewise.
75241
75242 2011-10-28 Ulrich Drepper <drepper@gmail.com>
75243
75244 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75245 the three constants needed as parameters. Drop the others.
75246 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75247 __m128i_strloadu_tolower.
75248 Create and initialize variable zero and use it in all the places
75249 where _mm_setzero_si128 was used.
75250
75251 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75252 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75253 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75255 anymore.
75256 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75257 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75258 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75259 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75260 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75261 __mpranred, __mptan.
75262 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75263 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75264 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75265 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75266 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75267 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75268 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75269 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75270 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75271
75272 2011-10-28 Andreas Schwab <schwab@redhat.com>
75273
75274 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75275 redefine if SHARED.
75276 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75277
75278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75279 wide char related routines to wcsmbs subdir.
75280
75281 2011-10-27 Andreas Schwab <schwab@redhat.com>
75282
75283 [BZ #13344]
75284 * misc/sys/cdefs.h (__THROWNL): Define.
75285 * posix/unistd.h: Use __THREADNL instead of __THREAD
75286 for memory synchronization functions.
75287
75288 2011-10-26 Roland McGrath <roland@hack.frob.com>
75289
75290 [BZ #13349]
75291 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75292 doesn't exist.
75293 * manual/stdio.texi (Obstack Streams): Node removed.
75294
75295 2011-10-26 Andreas Schwab <schwab@redhat.com>
75296
75297 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75298 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75299 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75300
75301 * math/math_private.h (math_force_eval): Allow non-addressable
75302 arguments.
75303 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75304
75305 2011-10-25 Ulrich Drepper <drepper@gmail.com>
75306
75307 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75308 file is not needed.
75309
75310 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75312 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75313 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75314 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75315 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75316 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75317 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75318 Add AVX variants.
75319 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75320 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75321 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75322 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75323 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75324 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75325 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75326 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75327 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75328 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75329 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75330 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75333 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75334 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75335 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75336 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75337 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75338
75339 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75340 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
75341
75342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75343 place. Use VEX encoding when compiling for AVX.
75344
75345 2011-10-25 Andreas Schwab <schwab@redhat.com>
75346
75347 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75348 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75349
75350 * string/test-strchr.c (do_test): Don't generate NUL bytes.
75351
75352 2011-10-25 Ulrich Drepper <drepper@gmail.com>
75353
75354 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75355 useless if() expression.
75356 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75357 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75359 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75362 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75363 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75364 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75366 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75367 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75369 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75370 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75371 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75373 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75374 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75375
75376 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75377
75378 2011-10-25 Andreas Schwab <schwab@redhat.com>
75379
75380 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75381 condition.
75382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
75383
75384 2011-10-25 Ulrich Drepper <drepper@gmail.com>
75385
75386 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75387 .text section. Avoid duplicate constants.
75388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75397 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75398 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75399 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75400 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75401 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75402 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75404 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75411 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75412 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75413 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75414 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75415 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75416 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75417 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75419 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75420 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75421 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75422 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75423 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75424 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75425 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75426 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75427 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75428 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75429 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75430 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75432 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75433
75434 2011-10-24 Ulrich Drepper <drepper@gmail.com>
75435
75436 * sysdeps/x86_64/dla.h: Move to ...
75437 * sysdeps/x86_64/fpu/dla.h: ...here.
75438 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75439 situations. Use __builtin_fma only for gcc 4.6 and up.
75440
75441 * config.make.in: Add have-mfma4 entry.
75442 * configure.in: Substitute libc_cv_cc_fma4.
75443 * math/Makefile (dbl-only-routines): Add sincostab.
75444 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75445 Use __sincostab not sincos.
75446 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75447 name is a macro.
75448 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
75452 using __copysign.
75453 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
75454 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
75455 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75456 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75457 and __inv.
75458 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75459 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75460 __copysign.
75461 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
75462 define aliases when function name is a macro.
75463 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75464 sysdeps/ieee754/dbl-64/sincos.tbl.
75465 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75466 fma4-enabled routines.
75467 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75468 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75469 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75470 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75471 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75472 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75473 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75474 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75475 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75476 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75477 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75478 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75479 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75480 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75481 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75482 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75483 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75484 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75485 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75486 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75487 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75488 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75490 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75491 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75494 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75495 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75496 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75497
75498 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75499 rename.
75500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75507 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75508
75509 2011-10-24 Andreas Schwab <schwab@redhat.com>
75510
75511 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75512
75513 2011-10-23 Ulrich Drepper <drepper@gmail.com>
75514
75515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75516
75517 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75518 prediction.
75519 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75520
75521 * string/strnlen.c: Don't define STRNLEN, reverse logic.
75522 Remove unused variable magic_bits.
75523 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75524
75525 * string/strnlen.c: Define and use STRNLEN macro.
75526 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75527 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75529 * wcsmbs/wcslen.c: Define and use WCSLEN.
75530 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75531 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75532 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75533 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75534 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75535 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75536 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75537
75538 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75539
75540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75541 strnlen-sse2-no-bsf.
75542 Rename strlen-no-bsf to strlen-sse2-no-bsf.
75543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75544 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75545 Add strnlen support.
75546 (USE_AS_STRNLEN): New macro.
75547 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75548 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75549 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75550 * sysdeps/x86_64/wcslen.S: New file.
75551
75552 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
75553
75554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75555 XMM-moves are used for copying on small sizes.
75556
75557 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75558
75559 * wcsmbs/Makefile (strop-tests): Add wcschr.
75560 * wcsmbs/test-wcschr.c: New file.
75561 * string/test-strchr.c: Update.
75562 Add wcschr support.
75563 (WIDE): New macro.
75564
75565 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75566
75567 * wcsmbs/Makefile (strop-tests): Add wcslen.
75568 * wcsmbs/test-wcslen.c: New file.
75569 * string/test-strlen.c: Update.
75570 Add wcslen support.
75571 (WIDE): New macro.
75572
75573 2011-10-23 Ulrich Drepper <drepper@gmail.com>
75574
75575 * po/it.po: Update from translation team.
75576
75577 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75578
75579 * sysdeps/x86_64/wcscmp.S: Update.
75580 Fix wrong comparison semantics.
75581 wcscmp shall use signed comparison not unsigned.
75582 Don't use substraction to avoid overflow bug.
75583 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75584 * wcsmbc/wcscmp.c: Likewise.
75585 * string/test-strcmp.c: Likewise.
75586 Add new tests to check cases with negative values.
75587
75588 2011-10-23 Ulrich Drepper <drepper@gmail.com>
75589
75590 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75591 * sysdeps/x86_64/dla.h: ...here. New file.
75592 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75599 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75601
75602 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
75603
75604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75605 __ynl_finite aliases.
75606
75607 2011-10-22 Ulrich Drepper <drepper@gmail.com>
75608
75609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75610
75611 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75612 define DLA_FMA.
75613 [DLA_FMA] (EMULV): Use DLA_FMA.
75614 [DLA_FMA] (MUL12): Use EMULV.
75615 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75616 that are not needed.
75617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75624
75625 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
75626
75627 * math/s_nan.c: Undef __nan.
75628 * math/s_nanf.c: Undef __nanf.
75629 * math/s_nanl.c: Undef __nanl.
75630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75631 "math_private.h".
75632
75633 2011-10-22 Ulrich Drepper <drepper@gmail.com>
75634
75635 * math/s_catan.c: Add branch predictions.
75636 * math/s_catanf.c: Likewise.
75637 * math/s_catanh.c: Likewise.
75638 * math/s_catanhf.c: Likewise.
75639 * math/s_catanhl.c: Likewise.
75640 * math/s_catanl.c: Likewise.
75641 * math/s_cexp.c: Likewise.
75642 * math/s_cexpf.c: Likewise.
75643 * math/s_cexpl.c: Likewise.
75644 * math/s_clog.c: Likewise.
75645 * math/s_clog10.c: Likewise.
75646 * math/s_clog10f.c: Likewise.
75647 * math/s_clog10l.c: Likewise.
75648 * math/s_clogf.c: Likewise.
75649 * math/s_clogl.c: Likewise.
75650 * math/s_csqrt.c: Likewise.
75651 * math/s_csqrtf.c: Likewise.
75652 * math/s_csqrtl.c: Likewise.
75653 * math/s_ctanf.c: Likewise.
75654 * math/s_ctanh.c: Likewise.
75655 * math/s_ctanhf.c: Likewise.
75656 * math/s_ctanhl.c: Likewise.
75657 * math/s_ctanl.c: Likewise.
75658
75659 * math/math_private.h: Define __nan, __nanf, __nanl.
75660 * math/s_cacosh.c: Include <math_private.h>.
75661 * math/s_cacoshl.c: Likewise.
75662 * math/s_casinh.c: Likewise.
75663 * math/s_casinhf.c: Likewise.
75664 * math/s_casinhl.c: Likewise.
75665 * math/s_ccos.c: Rely entire on ccosh.
75666 * math/s_ccosf.c: Rely entire on ccoshf.
75667 * math/s_ccosl.c: Rely entirely on ccoshl.
75668 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
75669 Remove tests for FE_INVALID.
75670 * math/s_ccoshf.c: Likewise.
75671 * math/s_ccoshl.c: Likewise.
75672 * math/s_csin.c: Likewise.
75673 * math/s_csinf.c: Likewise.
75674 * math/s_csinh.c Likewise.
75675 * math/s_csinhf.c: Likewise.
75676 * math/s_csinhl.c: Likewise.
75677 * math/s_csinl.c: Likewise.
75678 * math/s_ctan.c: Likewise.
75679 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75680 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75682
75683 2011-10-21 Ulrich Drepper <drepper@gmail.com>
75684
75685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75686 compilation problems.
75687
75688 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75689 __builtin_expect.
75690
75691 2011-10-20 Ulrich Drepper <drepper@gmail.com>
75692
75693 * sysdeps/i386/configure.in: Test for -mfma4 option.
75694 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75695 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75696 COMMON_CPUID_INDEX_80000001.
75697 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75698 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75699 use it if FMA3 is not supported.
75700 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75701
75702 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75703 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75704
75705 2011-10-20 Andreas Schwab <schwab@redhat.com>
75706
75707 [BZ #12892]
75708 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75709 it would create a cycle with a link time dependency.
75710
75711 2011-10-19 Ulrich Drepper <drepper@gmail.com>
75712
75713 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75714 instruction.
75715 * string/Makefile (strop-tests): Add rawmemchr.
75716 * string/test-rawmemchr.c: New file.
75717
75718 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
75720 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
75721 when compiling str{,n}casecmp and when AVX is available. Hook up
75722 new optimized code in initializers.
75723
75724 2011-10-19 Andreas Schwab <schwab@redhat.com>
75725
75726 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75727 __feraiseexcept instead of feraiseexcept.
75728
75729 2011-10-18 Ulrich Drepper <drepper@gmail.com>
75730
75731 * math/math_private.h: Define defaults for libc_fetestexcept and
75732 libc_feupdateenv.
75733 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75734 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75735 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75736 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75737 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75738 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75739 libc_fetestexcept and libc_feupdateenv.
75740
75741 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75742 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75743 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75744 * sysdeps/x86_64/fpu/math_private.h: Define special version of
75745 libc_feholdexcept_setround.
75746
75747 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75748 Add s_nearbyint-c and s_nearbyintf-c.
75749 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75750 nearbyintf inlines.
75751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75752 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75754 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75755
75756 * math/math_private.h: Define defaults for libc_fegetround,
75757 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75758 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75759 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75760 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75761 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75762 standard functions.
75763 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75764 Remove comments and hacks for old compiler versions.
75765 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75766 libc_fegetround, libc_fesetround, libc_feholdexcept, and
75767 libc_feholdexceptl.
75768
75769 2011-10-18 Andreas Schwab <schwab@redhat.com>
75770
75771 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75772 (__feraiseexcept_renamed): Add __NTH.
75773 (feraiseexcept): Add __NTH. Rename local variables to fix
75774 namespace violations.
75775
75776 2011-10-17 Ulrich Drepper <drepper@gmail.com>
75777
75778 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75779
75780 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75781
75782 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75783 recently added interfaces.
75784 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75785
75786 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75787 about macro parameter expansion.
75788
75789 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75790 __NO_MATH_INLINES is defined. Cleanups.
75791
75792 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75793 and __floorf is target has SSE4.1.
75794 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75795 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75796 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75797 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75798
75799 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75800 name.
75801 (floorf): Likewise.
75802
75803 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75804
75805 2011-10-17 Andreas Schwab <schwab@redhat.com>
75806
75807 * misc/sys/cdefs.h: Fix last change.
75808
75809 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75810 database lookup.
75811
75812 2011-10-16 Ulrich Drepper <drepper@gmail.com>
75813
75814 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75815
75816 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75818 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75819 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75821 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75822 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75824 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75825 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75826 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75827 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75828 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75829 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75830 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75831 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75832 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75833 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75834 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75835 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75836 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75837 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75838
75839 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75840 ceil, ceilf, floor, floorf.
75841
75842 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75843 Perform IRELATIVE relocations last.
75844
75845 * elf/do-rel.h: Add another parameter nrelative, replacing the
75846 local variable with the same name. Change name of the function
75847 to end in Rel or Rela (uppercase).
75848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75849 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
75850 elf_dynamic_do_##reloc function.
75851
75852 2011-10-15 Ulrich Drepper <drepper@gmail.com>
75853
75854 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75855 is sufficient, at least on modern CPUs.
75856
75857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75858
75859 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75860 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75861
75862 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75863 __expl_finite.
75864 * math/bits/math-finite.h: Add entries for exp.
75865 * math/e_expl.c: Add __*_finite alias.
75866 * sysdeps/i386/fpu/e_exp.S: Likewise.
75867 * sysdeps/i386/fpu/e_expf.S: Likewise.
75868 * sysdeps/i386/fpu/e_expl.c: Likewise.
75869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75870 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75871 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75873 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75874 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75875 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75876
75877 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75878 is sufficient, at least on modern CPUs.
75879
75880 * ctype/ctype-info.c (__ctype_init): Define.
75881 * include/ctype.h (__ctype_init): Declare.
75882 (__ctype_b_loc): The variable is always initialized.
75883 (__ctype_toupper_loc): Likewise.
75884 (__ctype_tolower_loc): Likewise.
75885 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75886 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75887
75888 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
75889
75890 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75891
75892 * configure.in: Also look in $cxxmachine/include for C++ system
75893 headers.
75894
75895 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75896
75897 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75898 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75899 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75900 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
75901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75902 (USE_AS_WMEMCMP): New macro.
75903 Fixing indents.
75904 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75905 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75906 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75907 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75909 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75910 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75911 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75912 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75913 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75915 (USE_AS_WMEMCMP): New macro.
75916 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75917 * sysdeps/string/test-memcmp.c: Update.
75918 Fix simple_wmemcmp.
75919 Add new tests.
75920 * wcsmbs/wmemcmp.c: Update.
75921 (WMEMCMP): New macro.
75922 Fix overflow bug.
75923
75924 2011-10-12 Andreas Jaeger <aj@suse.de>
75925
75926 [BZ #13268]
75927 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75928
75929 2011-10-15 Ulrich Drepper <drepper@gmail.com>
75930
75931 * libio/iofwide.c (do_length): Avoid warning.
75932
75933 * ctype/ctype.h (__isctype_f): Add missing __THROW.
75934
75935 2011-10-14 Ulrich Drepper <drepper@gmail.com>
75936
75937 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75938
75939 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75940 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75941 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75942 * sysdeps/i386/i686/fpu/e_log.S: New file.
75943 * sysdeps/i386/i686/fpu/e_logf.S: New file.
75944 * sysdeps/i386/i686/fpu/e_logl.S: New file.
75945
75946 * ctype/ctype.h: Add support for inlined isXXX functions when
75947 compiling C++ code.
75948
75949 2011-10-14 Andreas Schwab <schwab@redhat.com>
75950
75951 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75952
75953 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75954
75955 2011-10-13 Roland McGrath <roland@hack.frob.com>
75956
75957 [BZ #13291]
75958 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75959
75960 2011-10-13 Andreas Schwab <schwab@redhat.com>
75961
75962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75963 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75964 feraiseexcept.
75965
75966 * sysdeps/x86_64/memrchr.S: Check for zero size.
75967
75968 * string/stratcliff.c: Add memrchr tests.
75969
75970 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75971
75972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75973 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75974 rawmemchr-sse2 rawmemchr-sse2-bsf.
75975 * sysdeps/i386/i686/multiarch/memchr.S: New file.
75976 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75977 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75978 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75979 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75980 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75981 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75982 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75983 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75984 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75985 * string/memrchr.c (MEMRCHR): New macro.
75986
75987 2011-10-12 Ulrich Drepper <drepper@gmail.com>
75988
75989 Add integration with gcc's -ffinite-math-only and optimize wrapper
75990 functions in libm.
75991 * Versions.def: Define GLIBC_2.15 version for libm.
75992 * math/Makefile (headers): Add bits/math-finite.h.
75993 * math/bits/math-finite.h: New file.
75994 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75995 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75996 * math/e_acoshl.c: Add __*_finite alias.
75997 * math/e_acosl.c: Likewise.
75998 * math/e_asinl.c: Likewise.
75999 * math/e_atan2l.c: Likewise.
76000 * math/e_atanhl.c: Likewise.
76001 * math/e_coshl.c: Likewise.
76002 * math/e_exp10.c: Likewise.
76003 * math/e_exp10f.c: Likewise.
76004 * math/e_exp10l.c: Likewise.
76005 * math/e_exp2l.c: Likewise.
76006 * math/e_fmodl.c: Likewise.
76007 * math/e_gammal_r.c: Likewise.
76008 * math/e_hypotl.c: Likewise.
76009 * math/e_j0l.c: Likewise.
76010 * math/e_j1l.c: Likewise.
76011 * math/e_jnl.c: Likewise.
76012 * math/e_lgammal_r.c: Likewise.
76013 * math/e_log10l.c: Likewise.
76014 * math/e_log2l.c: Likewise.
76015 * math/e_logl.c: Likewise.
76016 * math/e_powl.c: Likewise.
76017 * math/e_sinhl.c: Likewise.
76018 * math/e_sqrtl.c: Likewise.
76019 * math/e_scalb.c: Completely rewritten and optimized.
76020 * math/e_scalbf.c: Likewise.
76021 * math/e_scalbl.c: Likewise.
76022 * math/w_acos.c: Likewise.
76023 * math/w_acosf.c: Likewise.
76024 * math/w_acosl.c: Likewise.
76025 * math/w_acosh.c: Likewise.
76026 * math/w_acoshf.c: Likewise.
76027 * math/w_acoshl.c: Likewise.
76028 * math/w_asin.c: Likewise.
76029 * math/w_asinf.c: Likewise.
76030 * math/w_asinl.c: Likewise.
76031 * math/w_atan2.c: Likewise.
76032 * math/w_atan2f.c: Likewise.
76033 * math/w_atan2l.c: Likewise.
76034 * math/w_atanh.c: Likewise.
76035 * math/w_atanhf.c: Likewise.
76036 * math/w_atanhl.c: Likewise.
76037 * math/w_exp10.c: Likewise.
76038 * math/w_exp10f.c: Likewise.
76039 * math/w_exp10l.c: Likewise.
76040 * math/w_fmod.c: Likewise.
76041 * math/w_fmodf.c: Likewise.
76042 * math/w_fmodl.c: Likewise.
76043 * math/w_j0.c: Likewise.
76044 * math/w_j0f.c: Likewise.
76045 * math/w_j0l.c: Likewise.
76046 * math/w_j1.c: Likewise.
76047 * math/w_j1f.c: Likewise.
76048 * math/w_j1l.c: Likewise.
76049 * math/w_jn.c: Likewise.
76050 * math/w_jnf.c: Likewise.
76051 * math/w_log.c: Likewise.
76052 * math/w_logf.c: Likewise.
76053 * math/w_logl.c: Likewise.
76054 * math/w_log10.c: Likewise.
76055 * math/w_log10f.c: Likewise.
76056 * math/w_log10l.c: Likewise.
76057 * math/w_log2.c: Likewise.
76058 * math/w_log2f.c: Likewise.
76059 * math/w_log2l.c: Likewise.
76060 * math/w_pow.c: Likewise.
76061 * math/w_powf.c: Likewise.
76062 * math/w_powl.c: Likewise.
76063 * math/w_remainder.c: Likewise.
76064 * math/w_remainderf.c: Likewise.
76065 * math/w_remainderl.c: Likewise.
76066 * math/w_scalb.c: Likewise.
76067 * math/w_scalbf.c: Likewise.
76068 * math/w_scalbl.c: Likewise.
76069 * math/w_sqrt.c: Likewise.
76070 * math/w_sqrtf.c: Likewise.
76071 * math/w_sqrtl.c: Likewise.
76072 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76073 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
76074 used.
76075 * math/math_private.h: Declare __kernel_standard_f.
76076 * math/w_cosh.c: Remove cruft and optimize a bit.
76077 * math/w_coshf.c: Likewise.
76078 * math/w_coshl.c: Likewise.
76079 * math/w_exp2.c: Likewise.
76080 * math/w_exp2f.c: Likewise.
76081 * math/w_exp2l.c: Likewise.
76082 * math/w_hypot.c: Likewise.
76083 * math/w_hypotf.c: Likewise.
76084 * math/w_hypotl.c: Likewise.
76085 * math/w_lgamma.c: Likewise.
76086 * math/w_lgamma_r.c: Likewise.
76087 * math/w_lgammaf.c: Likewise.
76088 * math/w_lgammaf_r.c: Likewise.
76089 * math/w_lgammal.c: Likewise.
76090 * math/w_lgammal_r.c: Likewise.
76091 * math/w_sinh.c: Likewise.
76092 * math/w_sinhf.c: Likewise.
76093 * math/w_sinhl.c: Likewise.
76094 * math/w_tgamma.c: Likewise.
76095 * math/w_tgammaf.c: Likewise.
76096 * math/w_tgammal.c: Likewise.
76097 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76098 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76099 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76100 Minor optimizations. Pretty printing. Remove cruft.
76101 * sysdeps/i386/fpu/e_acosf.S: Likewise.
76102 * sysdeps/i386/fpu/e_acosh.S: Likewise.
76103 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76105 * sysdeps/i386/fpu/e_acosl.c: Likewise.
76106 * sysdeps/i386/fpu/e_asin.S: Likewise.
76107 * sysdeps/i386/fpu/e_asinf.S: Likewise.
76108 * sysdeps/i386/fpu/e_atan2.S: Likewise.
76109 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76110 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
76112 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76113 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76114 * sysdeps/i386/fpu/e_exp10.S: Likewise.
76115 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76116 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76117 * sysdeps/i386/fpu/e_exp2.S: Likewise.
76118 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76119 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76120 * sysdeps/i386/fpu/e_fmod.S: Likewise.
76121 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76122 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76123 * sysdeps/i386/fpu/e_hypot.S: Likewise.
76124 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76125 * sysdeps/i386/fpu/e_log.S: Likewise.
76126 * sysdeps/i386/fpu/e_log10.S: Likewise.
76127 * sysdeps/i386/fpu/e_log10f.S: Likewise.
76128 * sysdeps/i386/fpu/e_log10l.S: Likewise.
76129 * sysdeps/i386/fpu/e_log2.S: Likewise.
76130 * sysdeps/i386/fpu/e_log2f.S: Likewise.
76131 * sysdeps/i386/fpu/e_log2l.S: Likewise.
76132 * sysdeps/i386/fpu/e_logf.S: Likewise.
76133 * sysdeps/i386/fpu/e_logl.S: Likewise.
76134 * sysdeps/i386/fpu/e_pow.S: Likewise.
76135 * sysdeps/i386/fpu/e_powf.S: Likewise.
76136 * sysdeps/i386/fpu/e_powl.S: Likewise.
76137 * sysdeps/i386/fpu/e_remainder.S: Likewise.
76138 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76139 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76140 * sysdeps/i386/fpu/e_scalb.S: Likewise.
76141 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76142 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76143 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76144 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76145 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76146 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76149 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76150 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76151 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76152 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76153 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76155 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76156 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76157 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76160 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76162 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76163 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76164 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76165 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76166 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76167 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76168 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76170 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76171 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76172 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76173 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76174 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76175 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76176 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76180 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76181 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76182 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76183 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76184 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76185 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76186 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76187 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76188 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76189 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76191 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76192 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76193 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76194 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76196 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76201 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76202 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76203 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76204 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76205 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76206 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76207 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76211 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76214 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76216 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76217 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76219 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76220 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76221 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76222 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76225 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76226 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76227 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76229 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76230 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76231 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76233 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76234 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76235 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76237 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76238 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76239 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76240 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76241 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76242 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76243 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76244 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76245 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76246 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76247 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76248 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76249 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76251 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76252 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76253 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76254 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76255 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76256 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
76257 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76258 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76259 (__isnanf): Likewise.
76260 (__isinf_ns): Likewise.
76261 (__isinf_nsf): Likewise.
76262 (__finite): Likewise.
76263 (__finitef): Likewise.
76264 (__ieee754_sqrt): Define as macro.
76265 (__ieee754_sqrtf): Define as macro.
76266 (__ieee754_sqrtl): Define as macro.
76267 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76268 inlined copy.
76269 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76270 __FINITE_MATH_ONLY__ consistent.
76271 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76272
76273 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
76274
76275 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76276 of rawmemchr.
76277
76278 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76279
76280 2011-10-09 Ulrich Drepper <drepper@gmail.com>
76281
76282 * po/ja.po: Update from translation team.
76283
76284 2011-10-08 Roland McGrath <roland@hack.frob.com>
76285
76286 * locale/programs/locarchive.c (prepare_address_space): New function.
76287 (create_archive, enlarge_archive, open_archive): Use it.
76288
76289 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76290 inside [SHARED], where it is used.
76291
76292 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76293
76294 * nss/getent.c (netgroup_keys): Remove unused variable.
76295 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76296
76297 2011-10-08 Ulrich Drepper <drepper@gmail.com>
76298
76299 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76300 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76301 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76302 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76303 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76304 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76305 * math/Makefile (libm-calls): Add s_isinf_ns.
76306 * math/divtc3.c: Use __isinf_nsl instead of isinf.
76307 * math/multc3.c: Likewise.
76308 * math/s_casin.c: Likewise.
76309 * math/s_casinf.c: Likewise.
76310 * math/s_casinl.c: Likewise.
76311 * math/s_ccos.c: Likewise.
76312 * math/s_ccosf.c: Likewise.
76313 * math/s_ccosl.c: Likewise.
76314 * math/s_ctan.c: Likewise.
76315 * math/s_ctanf.c: Likewise.
76316 * math/s_ctanh.c: Likewise.
76317 * math/s_ctanhf.c: Likewise.
76318 * math/s_ctanhl.c: Likewise.
76319 * math/s_ctanl.c: Likewise.
76320 * math/w_fmod.c: Likewise.
76321 * math/w_fmodf.c: Likewise.
76322 * math/w_fmodl.c: Likewise.
76323 * math/w_remainder.c: Likewise.
76324 * math/w_remainderf.c: Likewise.
76325 * math/w_remainderl.c: Likewise.
76326 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76327 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76328 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76330 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76331 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76332 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76333 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76334
76335 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76336 of the number.
76337 * stdio-common/printf_fphex.c: Likewise.
76338 * stdio-common/printf_size.c: Likewise.
76339
76340 * math/e_exp10.c: Include math_private.h using <...> not "...".
76341 * math/e_exp10f.c: Likewise.
76342 * math/e_exp10l.c: Likewise.
76343 * math/e_exp2l.c: Likewise.
76344 * math/e_j0l.c: Likewise.
76345 * math/e_j1l.c: Likewise.
76346 * math/e_jnl.c: Likewise.
76347 * math/e_lgammal_r.c: Likewise.
76348 * math/e_rem_pio2l.c: Likewise.
76349 * math/e_scalb.c: Likewise.
76350 * math/e_scalbf.c: Likewise.
76351 * math/e_scalbl.c: Likewise.
76352 * math/k_cosl.c: Likewise.
76353 * math/k_sinl.c: Likewise.
76354 * math/k_tanl.c: Likewise.
76355 * math/s_cacoshf.c: Likewise.
76356 * math/s_catan.c: Likewise.
76357 * math/s_catanf.c: Likewise.
76358 * math/s_catanh.c: Likewise.
76359 * math/s_catanhf.c: Likewise.
76360 * math/s_catanhl.c: Likewise.
76361 * math/s_catanl.c: Likewise.
76362 * math/s_ccosh.c: Likewise.
76363 * math/s_ccoshf.c: Likewise.
76364 * math/s_ccoshl.c: Likewise.
76365 * math/s_cexp.c: Likewise.
76366 * math/s_cexpf.c: Likewise.
76367 * math/s_cexpl.c: Likewise.
76368 * math/s_clog.c: Likewise.
76369 * math/s_clog10.c: Likewise.
76370 * math/s_clog10f.c: Likewise.
76371 * math/s_clog10l.c: Likewise.
76372 * math/s_clogf.c: Likewise.
76373 * math/s_clogl.c: Likewise.
76374 * math/s_csin.c: Likewise.
76375 * math/s_csinf.c: Likewise.
76376 * math/s_csinh.c: Likewise.
76377 * math/s_csinhf.c: Likewise.
76378 * math/s_csinhl.c: Likewise.
76379 * math/s_csinl.c: Likewise.
76380 * math/s_csqrt.c: Likewise.
76381 * math/s_csqrtf.c: Likewise.
76382 * math/s_csqrtl.c: Likewise.
76383 * math/s_ctan.c: Likewise.
76384 * math/s_ctanf.c: Likewise.
76385 * math/s_ctanh.c: Likewise.
76386 * math/s_ctanhf.c: Likewise.
76387 * math/s_ctanhl.c: Likewise.
76388 * math/s_ctanl.c: Likewise.
76389 * math/s_ldexp.c: Likewise.
76390 * math/s_ldexpf.c: Likewise.
76391 * math/s_ldexpl.c: Likewise.
76392 * math/s_significand.c: Likewise.
76393 * math/s_significandf.c: Likewise.
76394 * math/s_significandl.c: Likewise.
76395 * math/w_acos.c: Likewise.
76396 * math/w_acosf.c: Likewise.
76397 * math/w_acosh.c: Likewise.
76398 * math/w_acoshf.c: Likewise.
76399 * math/w_acoshl.c: Likewise.
76400 * math/w_acosl.c: Likewise.
76401 * math/w_asin.c: Likewise.
76402 * math/w_asinf.c: Likewise.
76403 * math/w_asinl.c: Likewise.
76404 * math/w_atan2.c: Likewise.
76405 * math/w_atan2f.c: Likewise.
76406 * math/w_atan2l.c: Likewise.
76407 * math/w_atanh.c: Likewise.
76408 * math/w_atanhf.c: Likewise.
76409 * math/w_atanhl.c: Likewise.
76410 * math/w_cosh.c: Likewise.
76411 * math/w_coshf.c: Likewise.
76412 * math/w_coshl.c: Likewise.
76413 * math/w_dremf.c: Likewise.
76414 * math/w_exp10.c: Likewise.
76415 * math/w_exp10f.c: Likewise.
76416 * math/w_exp10l.c: Likewise.
76417 * math/w_exp2.c: Likewise.
76418 * math/w_exp2f.c: Likewise.
76419 * math/w_fmod.c: Likewise.
76420 * math/w_fmodf.c: Likewise.
76421 * math/w_fmodl.c: Likewise.
76422 * math/w_hypot.c: Likewise.
76423 * math/w_hypotf.c: Likewise.
76424 * math/w_hypotl.c: Likewise.
76425 * math/w_j0.c: Likewise.
76426 * math/w_j0f.c: Likewise.
76427 * math/w_j0l.c: Likewise.
76428 * math/w_j1.c: Likewise.
76429 * math/w_j1f.c: Likewise.
76430 * math/w_j1l.c: Likewise.
76431 * math/w_jn.c: Likewise.
76432 * math/w_jnf.c: Likewise.
76433 * math/w_jnl.c: Likewise.
76434 * math/w_lgamma.c: Likewise.
76435 * math/w_lgamma_r.c: Likewise.
76436 * math/w_lgammaf.c: Likewise.
76437 * math/w_lgammaf_r.c: Likewise.
76438 * math/w_lgammal.c: Likewise.
76439 * math/w_lgammal_r.c: Likewise.
76440 * math/w_log.c: Likewise.
76441 * math/w_log10.c: Likewise.
76442 * math/w_log10f.c: Likewise.
76443 * math/w_log10l.c: Likewise.
76444 * math/w_log2.c: Likewise.
76445 * math/w_log2f.c: Likewise.
76446 * math/w_log2l.c: Likewise.
76447 * math/w_logf.c: Likewise.
76448 * math/w_logl.c: Likewise.
76449 * math/w_pow.c: Likewise.
76450 * math/w_powf.c: Likewise.
76451 * math/w_powl.c: Likewise.
76452 * math/w_remainder.c: Likewise.
76453 * math/w_remainderf.c: Likewise.
76454 * math/w_remainderl.c: Likewise.
76455 * math/w_scalb.c: Likewise.
76456 * math/w_scalbf.c: Likewise.
76457 * math/w_scalbl.c: Likewise.
76458 * math/w_sinh.c: Likewise.
76459 * math/w_sinhf.c: Likewise.
76460 * math/w_sinhl.c: Likewise.
76461 * math/w_sqrt.c: Likewise.
76462 * math/w_sqrtf.c: Likewise.
76463 * math/w_sqrtl.c: Likewise.
76464 * math/w_tgamma.c: Likewise.
76465 * math/w_tgammaf.c: Likewise.
76466 * math/w_tgammal.c: Likewise.
76467
76468 * po/ja.po: Update from translation team.
76469
76470 2011-09-29 Andreas Jaeger <aj@suse.de>
76471
76472 [BZ #13179]
76473 * sunrpc/netname.c (netname2host): Fix logic.
76474
76475 [BZ #6779]
76476 [BZ #6783]
76477 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76478 correctly.
76479 * math/w_remainder.c (__remainder): Likewise.
76480 * math/w_remainderf.c (__remainderf): Likewise.
76481 * math/libm-test.inc (remainder_test): Add test cases.
76482
76483 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76484
76485 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
76486 sdiv_qrnnd.
76487
76488 2011-10-07 Ulrich Drepper <drepper@gmail.com>
76489
76490 * string/test-memcmp.c: Avoid unncessary #defines.
76491 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76492
76493 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76494
76495 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76496 Use new sse2 version for core i3 - i7 as it's faster
76497 than sse42 version.
76498 (bit_Prefer_PMINUB_for_stringop): New.
76499 * sysdeps/x86_64/rawmemchr.S: Update.
76500 Replace with faster SSE2 version.
76501 * sysdeps/x86_64/memrchr.S: New file.
76502 * sysdeps/x86_64/memchr.S: Update.
76503 Replace with faster SSE2 version.
76504
76505 2011-09-12 Marek Polacek <mpolacek@redhat.com>
76506
76507 * elf/dl-load.c (lose): Add cast to avoid warning.
76508
76509 2011-10-07 Ulrich Drepper <drepper@gmail.com>
76510
76511 * po/ca.po: Update from translation team.
76512
76513 * inet/getnetgrent_r.c: Hook up nscd.
76514 * nscd/Makefile (routines): Add nscd_netgroup.
76515 (nscd-modules): Add netgroupcache.
76516 (CFLAGS-netgroupcache.c): Define.
76517 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76518 (cache_search): Add const to second parameter.
76519 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76520 INNETGR.
76521 (dbs): Add netgrdb entry.
76522 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76523 (verify_persistent_db): Handle netgrdb.
76524 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76525 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76526 GETFDNETGR.
76527 (netgroup_response_header): Define.
76528 (innetgroup_response_header): Define.
76529 (datahead): Add netgroup_response_header and innetgroup_response_header
76530 elements.
76531 * nscd/nscd.conf: Add entries for netgroup cache.
76532 * nscd/nscd.h (dbtype): Add netgrdb.
76533 (_PATH_NSCD_NETGROUP_DB): Define.
76534 (netgroup_iov_disabled): Declare.
76535 (xmalloc, xcalloc, xrealloc): Move declarations here.
76536 (cache_search): Adjust prototype.
76537 Add netgroup-related prototypes.
76538 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76539 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76540 (__nscd_innetgr): Declare.
76541 * nscd/selinux.c (perms): Use access_vector_t as element type and
76542 add netgroup-related initializers.
76543 * nscd/netgroupcache.c: New file.
76544 * nscd/nscd_netgroup.c: New file.
76545 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76546 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76547 For four parameters use innetgr.
76548 * nss/nss_files/files-init.c: Add definition and callback for netgr.
76549 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76550 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76551 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76552
76553 * nscd/connections.c (register_traced_file): Don't register file
76554 for disabled databases.
76555
76556 2011-10-06 Ulrich Drepper <drepper@gmail.com>
76557
76558 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76559
76560 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76561 from tree and freeing node.
76562
76563 2011-09-25 Jiri Olsa <jolsa@redhat.com>
76564
76565 * nss/nsswitch.c (__nss_database_lookup): Handle
76566 nss_parse_service_list out of memory case.
76567
76568 2011-09-15 Jiri Olsa <jolsa@redhat.com>
76569
76570 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76571 out of memory case.
76572
76573 2011-10-04 Andreas Schwab <schwab@redhat.com>
76574
76575 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76576 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76577 pass it down.
76578 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76579 elf_machine_rela, elf_machine_lazy_rel.
76580 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76581 (ELF_DYNAMIC_DO_REL): Likewise.
76582 (ELF_DYNAMIC_DO_RELA): Likewise.
76583 (ELF_DYNAMIC_RELOCATE): Likewise.
76584 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76585 to ELF_DYNAMIC_DO_REL.
76586 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76587 (dl_main): In trace mode always set __RTLD_NOIFUNC.
76588 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76589 elf_machine_rela.
76590 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76591 skip_ifunc, don't call ifunc function if non-zero.
76592 (elf_machine_rela): Likewise.
76593 (elf_machine_lazy_rel): Likewise.
76594 (elf_machine_lazy_rela): Likewise.
76595 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76596 (elf_machine_lazy_rel): Likewise.
76597 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76598 Likewise.
76599 (elf_machine_lazy_rel): Likewise.
76600 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76601 Likewise.
76602 (elf_machine_lazy_rel): Likewise.
76603 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76604 (elf_machine_lazy_rel): Likewise.
76605 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76606 (elf_machine_lazy_rel): Likewise.
76607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76608 (elf_machine_lazy_rel): Likewise.
76609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76610 (elf_machine_lazy_rel): Likewise.
76611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76612 (elf_machine_lazy_rel): Likewise.
76613 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76614 (elf_machine_lazy_rel): Likewise.
76615
76616 2011-09-28 Ulrich Drepper <drepper@gmail.com>
76617
76618 * nss/nss_files/files-init.c (_nss_files_init): Use static
76619 initialization for all the *_traced_file variables.
76620
76621 2011-09-28 Andreas Schwab <schwab@redhat.com>
76622
76623 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76624
76625 2011-09-27 Roland McGrath <roland@hack.frob.com>
76626
76627 [BZ #13226]
76628 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76629
76630 2011-09-27 Andreas Schwab <schwab@redhat.com>
76631
76632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76633 Reread the line before reparsing it.
76634
76635 2011-09-26 Andreas Schwab <schwab@redhat.com>
76636
76637 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76638
76639 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
76640 Maxim Kuvyrkov <maxim@codesourcery.com>
76641 Joseph Myers <joseph@codesourcery.com>
76642
76643 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76644 if needed for __stack_chk_guard.
76645
76646 2011-09-19 Roland McGrath <roland@hack.frob.com>
76647
76648 * sysdeps/posix/spawni.c (script_execute): Always define it.
76649 It will be optimized away if unused.
76650 (maybe_script_execute): New function.
76651 (__spawni): Call it.
76652
76653 * Makerules: Don't include tls.make.
76654 (config-tls): Always set to thread.
76655 * tls.make.c: File removed.
76656
76657 2011-09-19 Mike Frysinger <vapier@gentoo.org>
76658
76659 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76660 * config.make.in (CPPFLAGS-config): New substituted variable.
76661
76662 2011-09-15 Ulrich Drepper <drepper@gmail.com>
76663
76664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76665
76666 [BZ #13192]
76667 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76668 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76669
76670 2011-09-15 Roland McGrath <roland@hack.frob.com>
76671
76672 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76673 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76675 (CALL_FAIL): Likewise.
76676 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76677 (CALL_FAIL): Macro removed.
76678 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76679
76680 2011-09-15 Ulrich Drepper <drepper@gmail.com>
76681
76682 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76683 for __FINITE_MATH_ONLY__ == 1.
76684
76685 2011-09-15 Andreas Schwab <schwab@redhat.com>
76686
76687 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76688 __ieee754_sqrt instead of sqrt.
76689 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76690 __ieee754_sqrtf instead of sqrtf.
76691 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76692 __floorf instead of floorf.
76693 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76694 __floorf, __truncf instead of floorf, truncf.
76695
76696 2011-09-14 Ulrich Drepper <drepper@gmail.com>
76697
76698 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76699
76700 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76701 __extern_always_inline.
76702 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76703 32-bit.
76704
76705 2011-09-14 Andreas Schwab <schwab@redhat.com>
76706
76707 * elf/rtld.c (dl_main): Also relocate in dependency order when
76708 doing symbol dependency testing.
76709
76710 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
76711
76712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76713 Always define `refsym'.
76714
76715 2011-09-13 Andreas Schwab <schwab@redhat.com>
76716
76717 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76718 (__FD_ELT): Renamed from __FDELT.
76719 * misc/bits/select2.h (__FD_ELT): Likewise.
76720 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76721 __FD_MASK instead of __FDELT, __FDMASK.
76722 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76723 Likewise.
76724 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76725 Likewise.
76726
76727 * elf/Makefile (gen-ldd): Fix pattern.
76728
76729 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76730 (init_tls): Likewise.
76731
76732 2011-09-12 Ulrich Drepper <drepper@gmail.com>
76733
76734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76735
76736 2011-09-12 Andreas Schwab <schwab@redhat.com>
76737
76738 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76739 `struct cmsghdr *' instead of `void *'.
76740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76741 Likewise.
76742
76743 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
76744
76745 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76746 if non-absolute.
76747 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76748 ldd_rewrite_script.
76749
76750 2011-09-11 Ulrich Drepper <drepper@gmail.com>
76751
76752 * configure.in: Remove --with-tls option.
76753 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76754 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76755 out in case it is missing.
76756 * sysdeps/ia64/elf/configure.in: Likewise.
76757 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76758 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76759 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76760 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76761 * sysdeps/sh/elf/configure.in: Likewise.
76762 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76763 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76764 * sysdeps/x86_64/elf/configure.in: Likewise.
76765 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76766 * sysdeps/mach/hurd/tls.h: Likewise.
76767
76768 [BZ #13067]
76769 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76770
76771 [BZ #13090]
76772 * configure.in: Fix use of AC_INIT.
76773
76774 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76775
76776 2011-09-10 Ulrich Drepper <drepper@gmail.com>
76777
76778 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76779 __set_errno.
76780 * malloc/hooks.c: Likewise.
76781
76782 [BZ #11929]
76783 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
76784 variables statically.
76785 (narenas): Initialize.
76786 (list_lock): Initialize.
76787 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
76788 initializtion of main_arena and list_lock. Small cleanups.
76789 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76790 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
76791 Add initializers to main_arena and mp_.
76792 (malloc_state): Remove pagesize member. Change all users to use
76793 GLRO(dl_pagesize).
76794
76795 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76796 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
76797 is always initialized.
76798
76799 * malloc/malloc.c: Removed unused configurations and dead code.
76800 * malloc/arena.c: Likewise.
76801 * malloc/hooks.c: Likewise.
76802 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76803
76804 * include/tls.h: Removed. USE___THREAD must always be defined.
76805 * bits/libc-tsd.h: Don't handle !USE___THREAD.
76806 * elf/dl-libc.c: Likewise.
76807 * elf/dl-tsd.c: Likewise.
76808 * include/errno.h: Likewise.
76809 * include/netdb.h: Likewise.
76810 * include/resolv.h: Likewise.
76811 * inet/herrno-loc.c: Likewise.
76812 * inet/herrno.c: Likewise.
76813 * malloc/arena.c: Likewise.
76814 * malloc/hooks.c: Likewise.
76815 * malloc/malloc.c: Likewise.
76816 * resolv/res-state.c: Likewise.
76817 * resolv/res_libc.c: Likewise.
76818 * sysdeps/i386/dl-machine.h: Likewise.
76819 * sysdeps/ia64/dl-machine.h: Likewise.
76820 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76821 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76822 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76823 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76824 * sysdeps/sh/dl-machine.h: Likewise.
76825 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76826 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76827 * sysdeps/unix/i386/sysdep.S: Likewise.
76828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76829 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76834 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76838 * sysdeps/unix/x86_64/sysdep.S: Likewise.
76839 * sysdeps/x86_64/dl-machine.h: Likewise.
76840 * tls.make.c: Likewise.
76841
76842 * configure.in: Remove --with-__thread option. Make tests for
76843 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76844 tls_model attribute fail if no support is available. Remove
76845 USE_IN_LIBIO.
76846 * Makeconfig: Adjust for dropped configure option. All features are
76847 now mandatory.
76848 * Makerules: Likewise.
76849 * Versions.def: Likewise.
76850 * argp/argp-fmtstream.c: Likewise.
76851 * argp/argp-fmtstream.h: Likewise.
76852 * argp/argp-help.c: Likewise.
76853 * assert/assert.c: Likewise.
76854 * config.h.in: Likewise.
76855 * config.make.in: Likewise.
76856 * configure: Likewise.
76857 * configure.in: Likewise.
76858 * csu/Versions: Likewise.
76859 * csu/init.c: Likewise.
76860 * elf/tst-audit2.c: Likewise.
76861 * elf/tst-tls10.c: Likewise.
76862 * elf/tst-tls10.h: Likewise.
76863 * elf/tst-tls11.c: Likewise.
76864 * elf/tst-tls12.c: Likewise.
76865 * elf/tst-tls14.c: Likewise.
76866 * elf/tst-tlsmod11.c: Likewise.
76867 * elf/tst-tlsmod12.c: Likewise.
76868 * elf/tst-tlsmod13.c: Likewise.
76869 * elf/tst-tlsmod13a.c: Likewise.
76870 * elf/tst-tlsmod14a.c: Likewise.
76871 * elf/tst-tlsmod15b.c: Likewise.
76872 * elf/tst-tlsmod16a.c: Likewise.
76873 * elf/tst-tlsmod16b.c: Likewise.
76874 * elf/tst-tlsmod7.c: Likewise.
76875 * elf/tst-tlsmod8.c: Likewise.
76876 * elf/tst-tlsmod9.c: Likewise.
76877 * gmon/gmon.c: Likewise.
76878 * grp/fgetgrent_r.c: Likewise.
76879 * grp/putgrent.c: Likewise.
76880 * hurd/fopenport.c: Likewise.
76881 * include/libc-symbols.h: Likewise.
76882 * include/tls.h: Likewise.
76883 * intl/gettextP.h: Likewise.
76884 * intl/loadinfo.h: Likewise.
76885 * locale/global-locale.c: Likewise.
76886 * locale/localeinfo.h: Likewise.
76887 * mach/devstream.c: Likewise.
76888 * malloc/arena.c: Likewise.
76889 * malloc/set-freeres.c: Likewise.
76890 * misc/err.c: Likewise.
76891 * misc/getttyent.c: Likewise.
76892 * misc/mntent_r.c: Likewise.
76893 * posix/getopt.c: Likewise.
76894 * posix/wordexp.c: Likewise.
76895 * pwd/fgetpwent_r.c: Likewise.
76896 * resolv/Versions: Likewise.
76897 * resolv/res_hconf.c: Likewise.
76898 * shadow/fgetspent_r.c: Likewise.
76899 * shadow/putspent.c: Likewise.
76900 * stdio-common/printf_fphex.c: Likewise.
76901 * stdio-common/tmpfile.c: Likewise.
76902 * stdlib/abort.c: Likewise.
76903 * stdlib/fmtmsg.c: Likewise.
76904 * sunrpc/auth_unix.c: Likewise.
76905 * sunrpc/clnt_perr.c: Likewise.
76906 * sunrpc/clnt_tcp.c: Likewise.
76907 * sunrpc/clnt_udp.c: Likewise.
76908 * sunrpc/clnt_unix.c: Likewise.
76909 * sunrpc/openchild.c: Likewise.
76910 * sunrpc/svc_simple.c: Likewise.
76911 * sunrpc/svc_tcp.c: Likewise.
76912 * sunrpc/svc_udp.c: Likewise.
76913 * sunrpc/svc_unix.c: Likewise.
76914 * sunrpc/xdr.c: Likewise.
76915 * sunrpc/xdr_array.c: Likewise.
76916 * sunrpc/xdr_rec.c: Likewise.
76917 * sunrpc/xdr_ref.c: Likewise.
76918 * sunrpc/xdr_stdio.c: Likewise.
76919
76920 2011-09-09 Ulrich Drepper <drepper@gmail.com>
76921
76922 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76923
76924 2011-07-03 Andreas Jaeger <aj@suse.de>
76925
76926 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76927 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76928 regenerate with gen-libm-tests.pl.
76929
76930 2010-05-12 Petr Baudis <pasky@suse.cz>
76931
76932 [BZ #11589]
76933 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76934 around j0() zero points by switching to j1().
76935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76938 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76939
76940 2011-09-09 Ulrich Drepper <drepper@gmail.com>
76941
76942 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76943 instead of 0.
76944 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76945 instead of 0.
76946 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76947 Patch in part by Pavel Roskin <proski@gnu.org>.
76948
76949 [BZ #13138]
76950 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76951 realloc.
76952 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
76953 Free memory block if necessary.
76954
76955 [BZ #12847]
76956 * libio/genops.c (INTDEF): For string streams the _lock pointer can
76957 be NULL. Don't lock in this case.
76958
76959 2011-09-09 Roland McGrath <roland@hack.frob.com>
76960
76961 * elf/elf.h (ELFOSABI_GNU): New macro.
76962 (ELFOSABI_LINUX): Define to that.
76963
76964 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
76965
76966 * string/strncat.c (strncat): Undef the symbol in case it has been
76967 defined in bits/string.h.
76968
76969 2011-09-09 Ulrich Drepper <drepper@gmail.com>
76970
76971 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76972
76973 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76974 link map.
76975
76976 2011-08-17 Andreas Jaeger <aj@suse.de>
76977
76978 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76979
76980 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
76981 Ian Lance Taylor <iant@google.com>
76982
76983 * math/libm-test.inc (lround_test): New testcase.
76984 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76985
76986 2011-09-08 Ulrich Drepper <drepper@gmail.com>
76987
76988 * Makefile: Remove support for automatic cvs check-ins.
76989 * Makerules: Likewise.
76990 * config.make.in: Likewise.
76991 * configure.in: Likewise.
76992 * intl/Makefile: Likewise.
76993 * locale/Makefile: Likewise.
76994 * po/Makefile: Likewise.
76995 * posix/Makefile: Likewise.
76996 * sysdeps/gnu/Makefile: Likewise.
76997 * sysdeps/mach/hurd/Makefile: Likewise.
76998 * sysdeps/sparc/sparc32/Makefile: Likewise.
76999
77000 [BZ #13118]
77001 * posix/Makefile (bug-regex32-ENV): Define.
77002 Patch by John Stanley <jpsinthemix@verizon.net>.
77003
77004 * misc/Makefile (headers): Add bits/select2.h.
77005 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77006 * misc/bits/select2.h: New file.
77007 * include/bits/select2.h: New file.
77008 * debug/Makefile (routines): Add fdelt_chk.
77009 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77010 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77011 FD_ISSET.
77012 * debug/fdelt_chk.c: New file.
77013
77014 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
77015 * wcsmbs/test-wmemcmp.c: Likewise.
77016 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77017 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77018
77019 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77020
77021 * string/Makefile (strop-tests): Add memcmp.
77022 * string/test-wmemcmp.c: New file.
77023 * string/test-memcmp.c: Add wmemcmp support.
77024
77025 2011-09-08 Roland McGrath <roland@hack.frob.com>
77026
77027 [BZ #13153]
77028 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77029 2011-07-19 change.
77030
77031 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77032 garbage value in a __mach_port_mod_refs call in the cases of the
77033 task-self and thread-self ports.
77034
77035 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77036
77037 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77038
77039 2011-09-08 Andreas Schwab <schwab@redhat.com>
77040
77041 * elf/dl-load.c (lose): Check for non-null L.
77042
77043 2011-09-07 Ulrich Drepper <drepper@gmail.com>
77044
77045 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77046
77047 * elf/dl-libc.c (dlerror_run): Pass back error code from
77048 dl_catch_error.
77049
77050 [BZ #13123]
77051 * elf/dl-load.c (lose): Free l_origin if it is valid.
77052
77053 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77054 names.
77055 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77058 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77059 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77060 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77061
77062 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77063
77064 * sysdeps/powerpc/fpu/e_hypot.c: New file.
77065 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77066 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77067 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77068 * sysdeps/powerpc/fpu/k_cosf.c: New file.
77069 * sysdeps/powerpc/fpu/k_sinf.c: New file.
77070 * sysdeps/powerpc/fpu/s_cosf.c: New file.
77071 * sysdeps/powerpc/fpu/s_sinf.c: New file.
77072 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77073 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77074
77075 2011-08-15 Alan Modra <amodra@gmail.com>
77076
77077 [BZ #13092]
77078 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77079 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77080 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
77081 ppc_mcount to static-only-routines.
77082 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77083 __mcount_internal.
77084 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77085 __mcount_internal with usual JUMPTARGET. Remove useless nop.
77086
77087 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
77088
77089 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77090 for finite and infinity parameters.
77091
77092 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77093
77094 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77095 and add nop instructions for throughput optimization.
77096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77097
77098 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
77099
77100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77101 aligned copy for power7 with vector-scalar instructions.
77102 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77103
77104 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
77105
77106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77107 AVX check.
77108
77109 2011-09-07 Andreas Schwab <schwab@redhat.com>
77110
77111 [BZ #13144]
77112 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77113 last change.
77114
77115 2011-09-07 Ulrich Drepper <drepper@gmail.com>
77116
77117 * sysdeps/unix/sysv/linux/x86_64/init-first.c
77118 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77119 syscall wrapper around clock_gettime in __vdso_clock_gettime.
77120 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77121 clock_gettime.
77122
77123 2011-09-06 Ulrich Drepper <drepper@gmail.com>
77124
77125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77126 Forgot to demangle the pointer.
77127
77128 * sysdeps/i386/sysdep.h: Define atom_text_section.
77129 * sysdeps/x86_64/sysdep.h: Likewise.
77130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77131 section with atom_text_section.
77132 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77133 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77134 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77136 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77137
77138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77139 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77140 already be defined. Change to take two parameters and don't assign
77141 result to variable. Adjust all users.
77142 Define INTERNAL_GETTIME if not already defined.
77143 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77144 call.
77145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77146 HAVE_CLOCK_GETTIME_VSYSCALL.
77147 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77148
77149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77150 gettimeofday vsyscall, just use time.
77151
77152 2011-09-06 Andreas Schwab <schwab@redhat.com>
77153
77154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77155 <errno.h>.
77156
77157 2011-09-06 Ulrich Drepper <drepper@gmail.com>
77158
77159 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77160 syscall on x86-64.
77161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77162 syscall.
77163 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77165 syscall if possible.
77166
77167 2011-09-05 Ulrich Drepper <drepper@gmail.com>
77168
77169 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77170 e_ident. Don't pass to find_mapsXX.
77171 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77172
77173 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
77174
77175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77176 strchr-sse2-no-bsf strrchr-sse2-no-bsf
77177 * sysdeps/x86_64/multiarch/strchr.S: Update.
77178 Check bit_slow_BSF bit.
77179 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77180 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77181 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77182
77183 2011-09-05 Ulrich Drepper <drepper@gmail.com>
77184
77185 [BZ #13134]
77186 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77187 before glibc 2.15.
77188 (tryshell): Define.
77189 (__spawni): Change last parameter to be flag. Test
77190 SPAWN_XFLAGS_USE_PATH flag to use path or not.
77191 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77192 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77193 * posix/spawni.c: Likewise.
77194 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77195 * posix/spawnp.c: Likewise. Change normal version to use
77196 SPAWN_XFLAGS_USE_PATH.
77197 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77198 SPAWN_XFLAGS_TRY_SHELL.
77199
77200 [BZ #13150]
77201 * posix/glob.h: Remove gcc 1.x support.
77202
77203 [BZ #13068]
77204 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77205
77206 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
77207
77208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77209 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77210 strrchr-sse2-bsf
77211 * sysdeps/i386/i686/multiarch/strchr.S: New file.
77212 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77213 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77214 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77216 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77217
77218 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77219
77220 * sysdeps/x86_64/wcscmp.S: New file.
77221
77222 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77223 wcscmp-c wcscmp-sse2
77224 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77225 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77226 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77227 * wcsmbs/wcscmp.c: Allow renaming.
77228
77229 2011-09-05 David S. Miller <davem@davemloft.net>
77230
77231 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77232 stack slot, rather than the struct return pointer slot.
77233 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77234 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77236 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77237
77238 2011-09-05 Ulrich Drepper <drepper@gmail.com>
77239
77240 * po/ja.po: Update from translation team.
77241
77242 [BZ #13144]
77243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77244 kernel in 64-bit binaries.
77245
77246 2011-09-01 David S. Miller <davem@davemloft.net>
77247
77248 * elf/elf.h (HWCAP_SPARC_*): Move to..
77249 * sysdeps/sparc/sysdep.h: this new file and add new values.
77250 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77251 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77252 _DL_HWCAP_COUNT to 24.
77253 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77254 entries.
77255 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77256 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77257 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77259 instead of magic constants.
77260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77261
77262 2011-08-31 David S. Miller <davem@davemloft.net>
77263
77264 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77266 Reimplement to do errno handling inline.
77267 (SYSCALL_ERROR_HANDLER): New macro.
77268 (__SYSCALL_STRING): Do not do errno handling in asm.
77269 (__CLONE_SYSCALL_STRING): Delete.
77270 (__INTERNAL_SYSCALL_STRING): Delete.
77271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77272 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77273 (PSEUDO): Reimplement to do errno handling inline.
77274 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77275 (SYSCALL_ERROR_HANDLER): New macro.
77276 (__SYSCALL_STRING): Do not do errno handling in asm.
77277 (__CLONE_SYSCALL_STRING): Delete.
77278 (__INTERNAL_SYSCALL_STRING): Delete.
77279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77280 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77281 i386.
77282 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77283 (inline_syscall*): Add 'err' argument.
77284 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77285 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77286 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77287 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77288
77289 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77290 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77291
77292 2011-08-30 Andreas Schwab <schwab@redhat.com>
77293
77294 * elf/rtld.c (dl_main): Relocate objects in dependency order.
77295
77296 2011-08-29 Jiri Olsa <jolsa@redhat.com>
77297
77298 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77299 directive.
77300
77301 2011-08-24 David S. Miller <davem@davemloft.net>
77302
77303 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77304
77305 2011-08-24 Andreas Schwab <schwab@redhat.com>
77306
77307 * elf/Makefile: Add rules to build and run unload8 test.
77308 * elf/unload8.c: New file.
77309 * elf/unload8mod1.c: New file.
77310 * elf/unload8mod1x.c: New file.
77311 * elf/unload8mod2.c: New file.
77312 * elf/unload8mod3.c: New file.
77313
77314 * elf/dl-close.c (_dl_close_worker): Reset private search list if
77315 it wasn't used.
77316
77317 2011-08-23 David S. Miller <davem@davemloft.net>
77318
77319 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77320 subtract stack bias.
77321 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77322 %sp not %fp in calculations.
77323 (_JMPBUF_UNWINDS_ADJ): Likewise.
77324
77325 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77326 (aio_suspend): Call it to force an exception region around the
77327 AIO_MISC_WAIT() invocation.
77328
77329 2011-08-23 Andreas Schwab <schwab@redhat.com>
77330
77331 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77332 backslash.
77333
77334 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
77335
77336 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77337 protection macro.
77338 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77339 and <dl-machine.h>.
77340 (Elf64_FuncDesc): Remove.
77341
77342 2011-08-22 David S. Miller <davem@davemloft.net>
77343
77344 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77345 sigaltstack check, add missing cfi directives.
77346 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77347 missing cfi directives, and sigaltstack handling.
77348
77349 2011-08-16 Andreas Schwab <schwab@redhat.com>
77350
77351 [BZ #11724]
77352 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77353 object is seen twice.
77354 * elf/dl-fini.c (_dl_sort_fini): Likewise.
77355
77356 * elf/Makefile (distribute): Add tst-initorder2.c.
77357 (tests): Add tst-initorder2.
77358 (modules-names): Add tst-initorder2a tst-initorder2b
77359 tst-initorder2c tst-initorder2d. Add rules to build them.
77360 ($(objpfx)tst-initorder2.out): New rule.
77361 * elf/tst-initorder2.c: New file.
77362 * elf/tst-initorder2.exp: New file.
77363
77364 2011-08-22 Andreas Schwab <schwab@redhat.com>
77365
77366 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77367
77368 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77369 dependencies back to end of function.
77370
77371 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77372 $(elfobjdir)/ld.so.
77373
77374 2011-08-21 Ulrich Drepper <drepper@gmail.com>
77375
77376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77377 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77378 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77379 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77380 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77381 of __vdso_gettimeofday.
77382 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77383 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
77384 attribute_hidden.
77385 (_libc_vdso_platform_setup): Remove initialization of
77386 __vdso_gettimeofday and __vdso_time.
77387
77388 2011-08-20 Ulrich Drepper <drepper@gmail.com>
77389
77390 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77391 and fgetc_unlocked.
77392 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77393 getc_unlocked.
77394
77395 * elf/dl-open.c (add_to_global): Report additions to the global scope
77396 for LD_DEBUG=scopes.
77397 (dl_open_worker): Also print scope of newly loaded dependencies.
77398 (_dl_show_scope): Indicate if there is no scope.
77399
77400 [BZ #13114]
77401 * stdio-common/Makefile (tests): Add bug24.
77402 * stdio-common/bug24.c: New file.
77403
77404 2011-08-19 Andreas Jaeger <aj@suse.de>
77405
77406 [BZ #13114]
77407 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77408 non-existant file when using close-on-exec mode.
77409
77410 2011-08-20 Ulrich Drepper <drepper@gmail.com>
77411
77412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77413 the very first instruction.
77414
77415 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77416 the CFI state in the end.
77417 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77418 inclusion of dl-trampoline.h.
77419 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77420
77421 2011-08-19 Andreas Schwab <schwab@redhat.com>
77422
77423 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77424 expectations for long double.
77425
77426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77427 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77428
77429 2011-08-14 David S. Miller <davem@davemloft.net>
77430
77431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77432 artificual limit depends upon the system page size.
77433
77434 2011-08-17 Ulrich Drepper <drepper@gmail.com>
77435
77436 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77437 * resolv/Makefile: Define CFLAGS-libresolv.
77438
77439 2011-08-17 Andreas Schwab <schwab@redhat.com>
77440
77441 * nss/makedb.c (compute_tables): Make variables used in nested
77442 function static.
77443
77444 2011-08-17 Ulrich Drepper <drepper@gmail.com>
77445
77446 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77447 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77448 if buffer was too small.
77449
77450 * elf/pldd.c (main): Attach to all threads in the process.
77451 Rewrite /proc handling to use *at functions.
77452
77453 2011-08-16 Ulrich Drepper <drepper@gmail.com>
77454
77455 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77456 specifies first scope to show.
77457 (dl_open_worker): Update callers. Move printing scope of new
77458 object to before the relocation.
77459 * elf/rtld.c (dl_main): Update _dl_show_scope call.
77460 * sysdeps/generic/ldsodefs.h: Update declaration.
77461
77462 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77463 string for the scope number.
77464
77465 2011-08-14 Ulrich Drepper <drepper@gmail.com>
77466
77467 * nscd/servicescache.c (cache_addserv): Make sure written is always
77468 initialized.
77469
77470 2011-08-14 Roland McGrath <roland@hack.frob.com>
77471
77472 * sysdeps/i386/i486/bits/atomic.h
77473 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77474 statement expression, so as to suppress "set but not used" warning.
77475 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77476
77477 * string/strncat.c (STRNCAT): Use prototype definition.
77478
77479 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77480 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77481 -Iprograms here.
77482 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77483 (localedef-modules): Add localedef.
77484 (locale-modules): Add locale.
77485
77486 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77487 * elf/rtld.c (dl_main): Invert order of assignment in last change,
77488 to avoid a warning.
77489
77490 2011-08-14 David S. Miller <davem@davemloft.net>
77491
77492 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77493 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77494
77495 2011-08-13 Ulrich Drepper <drepper@gmail.com>
77496
77497 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77498 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77499 * elf/rtld.c (dl_main): Set l_name of vDSO.
77500 Call _dl_show_scope when DL_DEBUG_SCOPES.
77501 (process_dl_debug): Recognize scopes flag and also set it for all.
77502 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77503 Declare _dl_show_scope.
77504
77505 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77506 (do_dlopen): Pass caller_dlopen to dl_open.
77507 (__libc_dlopen_mode): Initialize caller_dlopen.
77508
77509 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77510 of libc. Make tolower call locale-independent. Optimize a bit by
77511 using isdigit instead of isalnum.
77512 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77513
77514 2011-08-12 Ulrich Drepper <drepper@gmail.com>
77515
77516 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77517 was a dependency or dynamically loaded.
77518
77519 2011-08-11 Ulrich Drepper <drepper@gmail.com>
77520
77521 * intl/l10nflist.c: Allow architecture-specific pop function.
77522 * sysdeps/x86_64/l10nflist.c: New file.
77523
77524 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77525 classification.
77526
77527 2011-08-10 Andreas Schwab <schwab@redhat.com>
77528
77529 * include/dirent.h: Add libc_hidden_proto for scandirat and
77530 scandirat64. Don't declare __scandirat64.
77531 * dirent/scandirat.c: Add libc_hidden_def.
77532 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77533 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77534
77535 2011-08-10 David S. Miller <davem@davemloft.net>
77536
77537 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77538 enum.
77539 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77542
77543 2011-08-09 Ulrich Drepper <drepper@gmail.com>
77544
77545 * Versions.def [libc]: Add GLIBC_2.15.
77546 * dirent/Makefile (routines): Add scandirat and scandirat64.
77547 * dirent/Versions [libc]: Export scandirat and scandirat64 for
77548 GLIBC_2.15.
77549 * dirent/dirent.h: Declare scandirat and scandirat64.
77550 * dirent/scandirat.c: New file.
77551 * dirent/scandirat64.c: New file.
77552 * sysdeps/wordsize-64/scandirat.c: New file.
77553 * sysdeps/wordsize-64/scandirat64.c: New file.
77554 * dirent/opendir.c: Define opendirat.
77555 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
77556 using scandirat.
77557 * dirent/scandir64.c: Adjust for scandir.c change.
77558 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
77559 __scandirat64, and __scandir_cancel_handler.
77560 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
77561 additional parameter and use openat instead of open (outside of ld.so).
77562 Add new __opendir as wrapper around __opendirat.
77563 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77564 here without requiring old scandirat implementation.
77565
77566 2011-08-08 Ulrich Drepper <drepper@gmail.com>
77567
77568 * dirent/scandir.c (cancel_handler): Renamed to
77569 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
77570 defined. Adjust users.
77571 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77572 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77573
77574 2011-08-04 Ulrich Drepper <drepper@gmail.com>
77575
77576 * string/test-string.h (IMPL): Use __STRING to expand name and then
77577 stringify it.
77578
77579 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
77580 of cleanups.
77581
77582 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77583
77584 * string/Makefile: Update.
77585 (strop-tests): Append strncat.
77586 * string/test-wcscmp.c: New file.
77587 New comprehensive test for wcscmp.
77588 * string/test-strcmp.c: Update.
77589 (WIDE): New define.
77590
77591 2011-07-22 Andreas Schwab <schwab@redhat.com>
77592
77593 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77594 line.
77595
77596 2011-07-26 Andreas Schwab <schwab@redhat.com>
77597
77598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77599 encoding to ACE if AI_IDN.
77600
77601 2011-08-01 Jakub Jelinek <jakub@redhat.com>
77602
77603 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77604 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77605
77606 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
77607
77608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77609 Fix overflow bug in strncat.
77610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77611
77612 * string/test-strncat.c: Update.
77613 Add new tests for checking overflow bugs.
77614
77615 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
77616
77617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77618 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77619 * sysdeps/i386/i686/multiarch/strcat.S: New file.
77620 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77621 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77622 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77623 * sysdeps/i386/i686/multiarch/strncat.S: New file.
77624 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77625 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77626
77627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77628 (USE_AS_STRCAT): Define.
77629 Add strcat and strncat support.
77630 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77631
77632 2011-07-25 Andreas Schwab <schwab@redhat.com>
77633
77634 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77635 __n bigger than INT_MAX+1.
77636 (__strncmp_g): Likewise.
77637
77638 2011-07-23 Ulrich Drepper <drepper@gmail.com>
77639
77640 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77641 * libio/stido.h: Likewise.
77642
77643 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77644 (AF_NFC): Define.
77645 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77646 (AF_NFC): Define.
77647
77648 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77649 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77652 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77653
77654 [BZ #13021]
77655 * scripts/test-installation.pl: Don't expect libnss_test1 to be
77656 installed.
77657
77658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77659 typo.
77660 (_dl_x86_64_save_sse): Likewise.
77661
77662 2011-07-22 Ulrich Drepper <drepper@gmail.com>
77663
77664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77665 OSXSAVE.
77666 (_dl_x86_64_save_sse): Likewise.
77667
77668 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77669
77670 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77671
77672 2011-07-21 Andreas Schwab <schwab@redhat.com>
77673
77674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77675 change.
77676 (_dl_x86_64_save_sse): Use correct AVX check.
77677
77678 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77679
77680 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77681 bug in strncpy/strncat.
77682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77683
77684 2011-07-21 Ulrich Drepper <drepper@gmail.com>
77685
77686 * string/tester.c (test_strcat): Add tests for different alignments
77687 of source and destination.
77688 (test_strncat): Likewise.
77689
77690 2011-07-20 Ulrich Drepper <drepper@gmail.com>
77691
77692 [BZ #12852]
77693 * posix/glob.c (glob): Check passed in values before using them in
77694 expressions to avoid some overflows.
77695 (glob_in_dir): Likewise.
77696
77697 [BZ #13007]
77698 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77699 check for AVX enablement so that we don't crash with old kernels and
77700 new hardware.
77701 * elf/tst-audit4.c: Add same checks here.
77702 * elf/tst-audit6.c: Likewise.
77703
77704 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77705
77706 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
77707
77708 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77709
77710 2011-07-20 Ulrich Drepper <drepper@gmail.com>
77711
77712 * po/cs.po: Update from translation team.
77713 * po/bg.po: Likewise.
77714
77715 2011-07-12 Marek Polacek <mpolacek@redhat.com>
77716
77717 * misc/sys/cdefs.h: Add support for const attribute.
77718 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77719 to gnu_dev_{major,minor,makedev} functions.
77720
77721 2011-07-20 Marek Polacek <mpolacek@redhat.com>
77722
77723 * intl/dcigettext.c (get_output_charset): Add missing bracket.
77724
77725 2011-07-20 Andreas Schwab <schwab@redhat.com>
77726
77727 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77728 strlen results.
77729
77730 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77731
77732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77733 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77734 register in order to avoid conflicts with the soft frame pointer
77735 being held in r11 when necessary.
77736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77737 (INTERNAL_VSYSCALL_NCS): Likewise.
77738
77739 2011-07-14 Marek Polacek <mpolacek@redhat.com>
77740
77741 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77742 * elf/dl-fini.c (_dl_fini): Adjust caller.
77743 * elf/dl-close.c (_dl_close_worker): Likewise.
77744 * sysdeps/generic/ldsodefs.h: Adjust declaration.
77745
77746 2011-07-15 Marek Polacek <mpolacek@redhat.com>
77747
77748 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77749 "aux_cache->nlibs < 0".
77750
77751 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77752 in the reload-count case.
77753
77754 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
77755
77756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77757 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77758 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77759 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77760 * sysdeps/x86_64/multiarch/strcat.S: New file.
77761 * sysdeps/x86_64/multiarch/strncat.S: New file.
77762 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77763 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77764 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77765 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77767 (USE_AS_STRCAT): Define.
77768 Add strcat and strncat support.
77769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77771 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77772 * string/strncat.c: Update.
77773 (USE_AS_STRNCAT): Define.
77774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77775 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77776 and i7.
77777 * sysdeps/x86_64/multiarch/init-arch.h
77778 (bit_Prefer_PMINUB_for_stringop): New.
77779 (index_Prefer_PMINUB_for_stringop): Likewise.
77780 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77781 bit_Prefer_PMINUB_for_stringop.
77782
77783 2011-07-19 Ulrich Drepper <drepper@gmail.com>
77784
77785 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77786 buffer64.
77787 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77788 of casting of buffer.
77789 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77790 buffer32 and buffer64.
77791 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77792 writes instead of casting of buffer.
77793 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77794 buffer32.
77795 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77796 casting of buffer.
77797
77798 2011-07-19 Andreas Schwab <schwab@redhat.com>
77799
77800 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77801
77802 2011-07-19 Ulrich Drepper <drepper@gmail.com>
77803
77804 * nscd/nscd.c (termination_handler): Don't do anything for a database
77805 if it has not yet been initialized.
77806
77807 2011-07-18 Ulrich Drepper <drepper@gmail.com>
77808
77809 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77810
77811 2011-07-15 Marek Polacek <mpolacek@redhat.com>
77812
77813 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77814
77815 2011-07-18 Ulrich Drepper <drepper@gmail.com>
77816
77817 * po/nl.po: Update from translation team.
77818 * po/sv.po: Likewise.
77819
77820 2011-07-16 Roland McGrath <roland@hack.frob.com>
77821
77822 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77823 now disallowed by GCC.
77824
77825 * configure.in (use-default-link): Default to yes if a test -shared
77826 link meets our qualifications.
77827 * configure: Regenerated.
77828
77829 * config.make.in (output-format): New variable.
77830 * configure.in: Check for ld --print-output-format support.
77831 * configure: Regenerated.
77832 * Makerules ($(common-objpfx)format.lds)
77833 [$(output-format) != unknown]: Just use $(output-format),
77834 instead of the linker-script munging.
77835
77836 2011-07-14 Roland McGrath <roland@hack.frob.com>
77837
77838 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77839 of $(common-objpfx)shlib.lds.
77840 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77841
77842 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77843 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77844
77845 * configure.in (-z relro check): Adjust test code to add a large
77846 writable data section after it.
77847 * configure: Regenerated.
77848
77849 2011-07-11 Roland McGrath <roland@hack.frob.com>
77850
77851 * configure.in (-z relro check): Fix test code to make the variable
77852 truly const.
77853 * configure: Regenerated.
77854
77855 2011-07-11 Ulrich Drepper <drepper@gmail.com>
77856
77857 * nscd/nscd.h (struct traced_file): Define.
77858 (struct database_dyn): Remove inotify_descr, reset_res, and filename
77859 elements. Add traced_files.
77860 (inotify_fd): Declare.
77861 (register_traced_file): Declare.
77862 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77863 (inotify_fd): Export.
77864 (resolv_conf_descr): Remove.
77865 (nscd_init): Move inotify descriptor creation to main.
77866 Don't register files for notification here.
77867 (register_traced_file): New function.
77868 (invalidate_cache): Don't use reset_res to determine whether to call
77869 res_init, go through the list of registered files.
77870 (main_loop_poll): The inotify descriptors are now stored in the
77871 structures for the traced files.
77872 (main_loop_epoll): Likewise.
77873 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
77874 to __nss_disable_nscd.
77875 * nscd/cache.c (prune_cache): There is no single inotify descriptor
77876 for a database anymore. Check the records for all the registered
77877 files instead.
77878 * nss/Makefile (libnss_files-routines): Add files-init.
77879 (libnss_db-routines): Add db-init.
77880 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77881 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77882 * nss/nss_db/db-init.c: New file.
77883 * nss/nss_files/files-init.c: New file.
77884 * nss/nsswitch.c (nss_load_library): New function. Broken out of
77885 __nss_lookup_function.
77886 (__nss_lookup_function): Call nss_load_library.
77887 (nss_load_all_libraries): New function.
77888 (__nss_disable_nscd): Take parameter with callback function for files
77889 to register. Set is_nscd. Load all the DSOs for the NSS modules
77890 used for the cached services.
77891 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77892 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77893 options for features to all the files in nscd.
77894
77895 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77896
77897 2011-07-10 Roland McGrath <roland@hack.frob.com>
77898
77899 * csu/elf-init.c (__libc_csu_init): Comment typo.
77900
77901 2011-07-09 Ulrich Drepper <drepper@gmail.com>
77902
77903 * po/pl.po: Update from translation team.
77904 * po/ja.po: Likewise.
77905 * po/ru.po: Likewise.
77906 * po/ko.po: Likewise.
77907 * po/fr.po: Likewise.
77908
77909 2011-07-09 Roland McGrath <roland@hack.frob.com>
77910
77911 * configure.in (.ctors/.dtors header and trailer check):
77912 Use an empirical test on a built program.
77913 * configure: Regenerated.
77914
77915 * configure.in (-z relro check): Use an empirical test on a built DSO.
77916 Detect, but do not require, on ia64.
77917 * configure: Regenerated.
77918
77919 * configure.in (READELF): Find it with AC_CHECK_TOOL.
77920 Update tests that use readelf to use $READELF instead.
77921 * configure: Regenerated.
77922
77923 2011-07-08 Ulrich Drepper <drepper@gmail.com>
77924
77925 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77926 if the result is not used.
77927
77928 2011-07-05 Andreas Jaeger <aj@suse.de>
77929
77930 [BZ#9696]
77931 * stdlib/tst-strtod.c: Add testcase.
77932
77933 2011-07-07 Ulrich Drepper <drepper@gmail.com>
77934
77935 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77936 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77937 The latter has a higher limit. Take additional parameter to pass to
77938 the new function.
77939 (__pathconf): Pass file to __statfs_link_max.
77940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77941 __statfs_link_max.
77942 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77943 __statfs_link_max.
77944
77945 [BZ #12868]
77946 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77948 Handle Lustre.
77949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77950 (__statfs_filesize_max): Likewise.
77951 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77952
77953 2011-07-05 Andreas Jaeger <aj@suse.de>
77954
77955 * resolv/res_comp.c (dn_skipname): Remove unused variable.
77956
77957 2011-07-06 Marek Polacek <mpolacek@redhat.com>
77958
77959 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77960 `status' variable.
77961 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77962 Likewise.
77963
77964 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
77965
77966 * Makefile (strop-tests): Add strncat.
77967 * string/test-strncat.c: New file.
77968
77969 2011-06-30 Marek Polacek <mpolacek@redhat.com>
77970
77971 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77972
77973 2011-06-21 Andreas Jaeger <aj@suse.de>
77974
77975 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77976 Copy rule from iconvdata/Makefile.
77977
77978 2011-07-06 Ulrich Drepper <drepper@gmail.com>
77979
77980 [BZ #12922]
77981 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77982 but no long options are defined, just return 'W'.
77983
77984 2011-06-22 Marek Polacek <mpolacek@redhat.com>
77985
77986 [BZ #9696]
77987 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77988
77989 2011-07-06 Ulrich Drepper <drepper@gmail.com>
77990
77991 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77992 netgroups to read.
77993 (innetgr): Likewise.
77994
77995 2011-07-05 Roland McGrath <roland@hack.frob.com>
77996
77997 * config.make.in (install_root): Default to $(DESTDIR).
77998
77999 2011-07-05 Ulrich Drepper <drepper@gmail.com>
78000
78001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78002
78003 2011-07-02 Roland McGrath <roland@hack.frob.com>
78004
78005 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78006
78007 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78008 containing directory rather than embedding absolute directory names.
78009
78010 * scripts/check-local-headers.sh: Rewritten using awk.
78011 Match by word, not by line. Print error messages for matches.
78012 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78013
78014 * Makerules [shlib-lds-flags empty]:
78015 ($(common-objpfx)libc_pic.opts): New target.
78016 ($(common-objpfx)libc_pic.os.clean): New target.
78017 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78018
78019 * config.make.in (OBJCOPY): New variable.
78020 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78021 * configure: Regenerated.
78022
78023 * config.make.in (use-default-link): New variable.
78024 * configure.in (use_default_link): Grok --with-default-link to set it.
78025 * configure: Regenerated.
78026 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78027 (shlib-lds, shlib-lds-flags): Define to empty.
78028
78029 * Makerules (shlib-lds): New variable.
78030 (shlib-lds-flags): New variable.
78031 (build-shlib, build-moduile, build-module-asneeded): Use it.
78032 ($(common-objpfx)libc.so): Use $(shlib-lds).
78033 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78034 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78035
78036 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78037 DT_FLAGS/DT_FLAGS_1 with zero flags.
78038
78039 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78040 linker script munging.
78041
78042 2011-07-02 Ulrich Drepper <drepper@gmail.com>
78043
78044 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78045 as 128-bit value.
78046 * crypt/sha512.c (sha512_process_block): Perform total addition using
78047 128-bit if possible.
78048 (__sha512_finish_ctx): Likewise.
78049 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78050 as 64-bit value.
78051 * crypt/sha256.c (SWAP64): Define.
78052 (sha256_process_block): Perform total addition using 64-bit if
78053 possible.
78054 (__sha256_finish_ctx): Likewise.
78055
78056 2011-07-01 Ulrich Drepper <drepper@gmail.com>
78057
78058 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
78059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78060 * nscd/hstcache.c (cache_addhst): Likewise.
78061 * nscd/grpcache.c (cache_addgr): Likewise.
78062 * nscd/aicache.c (addhstaiX): Likewise.
78063 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78064
78065 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
78066
78067 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78069 * nscd/hstcache.c (cache_addhst): Likewise.
78070 * nscd/grpcache.c (cache_addgr): Likewise.
78071 * nscd/aicache.c (addhstaiX): Likewise.
78072
78073 2011-07-01 Andreas Schwab <schwab@redhat.com>
78074
78075 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78076 domain only when needed.
78077
78078 2011-06-30 Andreas Schwab <schwab@redhat.com>
78079
78080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78081 is always restored.
78082
78083 2011-06-29 Ulrich Drepper <drepper@gmail.com>
78084
78085 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78086 are re-adding the entry.
78087 * nscd/servicescache.c (cache_addserv): Likewise.
78088
78089 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
78090
78091 * sysdeps/generic/dl-irel.h: fix protection against multiple
78092 inclusions.
78093 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78094
78095 2011-06-28 Ulrich Drepper <drepper@gmail.com>
78096
78097 [BZ #12935]
78098 * malloc/memusage.sh: Fix quoting in message.
78099 * debug/xtrace.sh: Likewise.
78100
78101 * configure.in: Remove support for --experimental-malloc option, make
78102 it the default.
78103 * config.make.in: Likewise.
78104 * malloc/Makefile: Likewise.
78105
78106 2011-06-27 Andreas Schwab <schwab@redhat.com>
78107
78108 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78109 two-byte characters.
78110
78111 2011-06-27 Roland McGrath <roland@hack.frob.com>
78112
78113 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78114 AC_CACHE_CHECK invocation.
78115 * configure: Regenerated.
78116
78117 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78118
78119 2011-06-27 Ulrich Drepper <drepper@gmail.com>
78120
78121 [BZ #12350]
78122 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
78123 bit from old_res_options.
78124
78125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78126
78127 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78128 value type for setfct.
78129
78130 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
78131
78132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78133 __gettimeofday instead of gettimeofday.
78134
78135 2011-06-26 Ulrich Drepper <drepper@gmail.com>
78136
78137 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78138
78139 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
78140
78141 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78142
78143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78144 info.
78145
78146 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
78147
78148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78149 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78150 strcpy-sse2-unaligned strncpy-sse2-unaligned
78151 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78152 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78153 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78154 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78155 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78157 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78158 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78159 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78160 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78161 (STRCPY): Support SSE2 and SSSE3 versions.
78162
78163 2011-06-24 Ulrich Drepper <drepper@gmail.com>
78164
78165 [BZ #12874]
78166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78167 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78168 kernels which artificially limit size of requests.
78169
78170 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
78171
78172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78173 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78174 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78175 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78176 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78177 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78178 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78179 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78180 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78182 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78183 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78184 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78185 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78186 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78188 Enable unaligned load optimization for Intel Core i3, i5 and i7
78189 processors.
78190 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78191 Define.
78192 (index_Fast_Unaligned_Load): Define.
78193 (HAS_FAST_UNALIGNED_LOAD): Define.
78194
78195 2011-06-23 Marek Polacek <mpolacek@redhat.com>
78196
78197 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78198
78199 2011-06-22 Ulrich Drepper <drepper@gmail.com>
78200
78201 [BZ #12907]
78202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78203 until it is clear that the information is realy needed.
78204 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78205
78206 2011-06-22 Andreas Schwab <schwab@redhat.com>
78207
78208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78209
78210 2011-06-22 Ulrich Drepper <drepper@gmail.com>
78211
78212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78213 /sys/devices/system/cpu/online if it is usable.
78214
78215 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78216 reading the information from the /proc filesystem to once a second.
78217
78218 2011-06-21 Andreas Jaeger <aj@suse.de>
78219
78220 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78221 NULL after inclusion of kernel headers.
78222
78223 2011-06-21 Ulrich Drepper <drepper@gmail.com>
78224
78225 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78226 calls to internal_setent.
78227
78228 [BZ #12885]
78229 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78230 addresses using gethostbyname4_r ignore IPv4 addresses.
78231
78232 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78233 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
78234
78235 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78236
78237 2011-06-20 David S. Miller <davem@davemloft.net>
78238
78239 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78240 inclusions.
78241 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78242
78243 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78244 (elf_irel): Use it.
78245 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78246 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78247 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78248 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78249 * sysdeps/x86_64/dl-irel.h: Likewise.
78250
78251 * elf/dl-runtime.c: Use elf_ifunc_invoke.
78252 * elf/dl-sym.c: Likewise.
78253
78254 2011-06-15 Ulrich Drepper <drepper@gmail.com>
78255
78256 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
78257 need to dereference resplen2.
78258
78259 2011-06-14 Andreas Schwab <schwab@redhat.com>
78260
78261 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78262
78263 2011-06-15 Ulrich Drepper <drepper@gmail.com>
78264
78265 * Makeconfig: Define vardbdir and inst_vardbdir.
78266 * nss/Makefile: Add rules to install db-Makefile.
78267
78268 * nss/nss_db/db-XXX.c: Cleanup.
78269
78270 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78271 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78272 GLIBC_PRIVATE.
78273 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78274 * nss/makedb.c: Implement -g option to specify that value strings
78275 are generated and should not be added to table iterated over for
78276 get*ent calls.
78277 * nss/nss_db/db-initgroups.c: New file.
78278
78279 * nss/getent.c: Add support for initgroups lookups through getgrouplist
78280 interface.
78281
78282 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78283 (internal_getgrouplist): Adjust to name change.
78284 Update use_initgroups_entry if this is not the first call.
78285 * nss/databases.def: Add initgroups entry.
78286
78287 * nss/makedb.c (compute_tables): Check result of multiple hash table
78288 sizes to minimize maximum chain length.
78289
78290 2011-06-14 Ulrich Drepper <drepper@gmail.com>
78291
78292 * Versions.def: Add entry for libnss_db.
78293 * shlib-versions: Likewise.
78294 * nss/Makefile: Add rules to build libnss_db.
78295 * nss/Versions: Add libnss_db information. Organize libnss_files
78296 entries better.
78297 * nss/db-Makefile: Add gshadow support. Change rules for the new
78298 makedb progra. Some minor improvements to generate smaller files.
78299 * nss/nss_db/nss_db.h: Move NSS database header data structures to
78300 here from...
78301 * nss/makedb.c: ...here.
78302 Improve database format to be smaller and require less memory at
78303 runtime.
78304 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
78305 db anymore.
78306 * nss/nss_db/db-netgrp.c: Likewise.
78307 * nss/nss_db/db-open.c: Likewise.
78308 * nss/nss_files/flies-XXX.x: Adjust comments.
78309 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78310 * nss/nss_files/files-grp.c: Likewise.
78311 * nss/nss_files/files-hosts.c: Likewise.
78312 * nss/nss_files/files-network.c: Likewise.
78313 * nss/nss_files/files-proto.c: Likewise.
78314 * nss/nss_files/files-pwd.c: Likewise.
78315 * nss/nss_files/files-rpc.c: Likewise.
78316 * nss/nss_files/files-service.c: Likewise.
78317 * nss/nss_files/files-sgrp.c: Likewise.
78318 * nss/nss_files/files-spwd.c: Likewise.
78319 * nss/nss_db/db-alias.c: Removed.
78320 * nss/nss_db/dummy-db.h: Removed.
78321
78322 2011-06-02 Ulrich Drepper <drepper@gmail.com>
78323
78324 * nss/makedb.c: Rewritten to not use database library.
78325 * nss/Makefile: Update to build new makedb program.
78326
78327 2011-06-14 Andreas Jaeger <aj@suse.de>
78328
78329 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78330 memset declaration.
78331
78332 2011-06-10 Andreas Schwab <schwab@redhat.com>
78333
78334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78335 tmpbuf.
78336
78337 2011-06-10 Roland McGrath <roland@hack.frob.com>
78338
78339 * Makerules (shlib.lds): Fail if the linker script comes out empty.
78340 * elf/Makefile ($(objpfx)ld.so): Likewise.
78341
78342 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78343 Don't list ld.so twice in dependencies.
78344
78345 * posix/bug-regex31.c: Include <stdlib.h>.
78346
78347 * nscd/hstcache.c (cache_addhst): Remove unused variable.
78348
78349 * nis/nss_compat/compat-spwd.c
78350 (getspent_next_nss_netgr): Remove unused variable.
78351 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78352
78353 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78354 nonmembers" output to use the right array.
78355
78356 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78357
78358 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78359
78360 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78361 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78362 * catgets/gencat.c (read_input_file): Likewise.
78363 * locale/programs/locarchive.c (enlarge_archive): Likewise.
78364
78365 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78366 variable definition inside #if's controlling its use.
78367
78368 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78369
78370 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78371
78372 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78373
78374 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78375 unreachable code.
78376
78377 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78378
78379 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78380 * configure: Regenerated.
78381
78382 * Makerules: Revert last change.
78383 * elf/Makefile: Likewise.
78384
78385 2011-06-09 Roland McGrath <roland@hack.frob.com>
78386
78387 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78388 * elf/Makefile ($(objpfx)librtld.os): Likewise.
78389 (reloc-link): Likewise.
78390
78391 2011-06-09 Ulrich Drepper <drepper@gmail.com>
78392
78393 * elf/Makefile: Add rules to build pldd.
78394 * elf/pldd.c: New file.
78395 * elf/pldd-xx.c: New file.
78396
78397 2011-06-07 Ulrich Drepper <drepper@gmail.com>
78398
78399 * version.h: Update for 2.15 development version.
78400
78401 2011-06-07 David S. Miller <davem@davemloft.net>
78402
78403 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78404 ifuncs.
78405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78406 elf_machine_lazy_rel): Likewise.
78407 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78409 elf_machine_lazy_rel): Likewise.
78410 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78411 dl_hwcap via passed in argument.
78412 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78413 Likewise.
78414
78415 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78416
78417 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
78418
78419 2011-06-06 Roland McGrath <roland@hack.frob.com>
78420
78421 [BZ #12849]
78422 * manual/fdl-1.1.texi: New file, verbatim from:
78423 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78424 * manual/lgpl-2.1.texi: New file, verbatim from:
78425 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78426 * manual/Makefile (licenses): New variable, list those new file names.
78427 (texis): Use it.
78428 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78429
78430 * manual/fdl.texi: File removed.
78431 * manual/lesser.texi: File removed.
78432 * manual/libc.texinfo (Copying, Documentation License):
78433 Use new @include file names, put @appendix directive before @include.
78434
78435 2011-06-04 Jakub Jelinek <jakub@redhat.com>
78436
78437 [BZ #12841]
78438 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78439 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78440 (mq_open): Add __NTH.
78441
78442 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
78443
78444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78445 Assume Intel Core i3/i5/i7 processor if AVX is available.
78446
78447 2011-05-31 Ulrich Drepper <drepper@gmail.com>
78448
78449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78450 typo.
78451
78452 2011-05-31 Andreas Schwab <schwab@redhat.com>
78453
78454 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78455 memory. Use alloca_account. Fix memory leak when retrying.
78456
78457 2011-05-31 Ulrich Drepper <drepper@gmail.com>
78458
78459 * version.h (RELEASE): Bump for 2.14 release.
78460 * include/features.h (__GLIBC_MINOR__): Bump to 14.
78461
78462 * config.make.in (RANLIB): Remove entry.
78463
78464 2011-05-30 Ulrich Drepper <drepper@gmail.com>
78465
78466 * po/Makefile (po-sed-cmd): Add ksh to extensions.
78467 (libc.pot): Work around missing support for .ksh extension in xgettext.
78468
78469 [BZ #12684]
78470 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78471 if both request failed.
78472 (send_dg): In case of server errors clear resplen or *resplen2.
78473
78474 [BZ #12454]
78475 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78476 when there are multiple maps.
78477 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78478 (_dl_fini): Remove test here.
78479
78480 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78481
78482 2011-05-29 Ulrich Drepper <drepper@gmail.com>
78483
78484 [BZ #12350]
78485 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78486 bit from old_res_options.
78487 (gaih_inet): Likewise.
78488
78489 [BZ #11099]
78490 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78491 as signed.
78492
78493 * resolv/res_init.c (res_setoptions): Make the code more compact.
78494
78495 [BZ #11558]
78496 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78497 set RES_USEVC.
78498
78499 [BZ #11634]
78500 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78501
78502 * malloc/malloc.h: Mark malloc hook variables as deprecated.
78503
78504 [BZ #11781]
78505 * malloc/malloc.h: Declare malloc hook variables as volatile.
78506
78507 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78508 in last patch.
78509
78510 [BZ #11799]
78511 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78512 raise in the comment.
78513 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78514 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78515 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78516
78517 2011-05-28 Ulrich Drepper <drepper@gmail.com>
78518
78519 [BZ #12811]
78520 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78521 grow the buffers more if it already has to be sufficient.
78522 (build_wcs_upper_buffer): Likewise.
78523 * posix/regexec.c (check_matching): Likewise.
78524 (clean_state_log_if_needed): Likewise.
78525 (extend_buffers): Don't enlarge buffers beyond size of the input
78526 buffer.
78527 Patches mostly by Emil Wojak <emil@wojak.eu>.
78528 * posix/bug-regex32.c: New file.
78529 * posix/Makefile (tests): Add bug-regex32.
78530
78531 * locale/findlocale.c (_nl_find_locale): Return right away if
78532 _nl_explode_name failed.
78533 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78534
78535 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78536
78537 * debug/xtrace.sh: Unify messages.
78538 * malloc/memusage.sh: Likewise.
78539
78540 [BZ #12813]
78541 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78542 time symbol from vDSO. Substitute with vsyscall if not available.
78543 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78544 __vdso_time.
78545
78546 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78547 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78548 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78549 Add sendmmsg and internal_sendmmsg.
78550 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78551 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78552 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78553
78554 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78555 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78556 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78557
78558 2011-05-27 Ulrich Drepper <drepper@gmail.com>
78559
78560 [BZ #12813]
78561 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78562 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
78563 available.
78564 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78565 __vdso_getcpu.
78566
78567 [BZ #12814]
78568 * iconvdata/Makefile (tests): Add bug-iconv9.
78569 * iconvdata/bug-iconv9.c: New file.
78570
78571 2011-05-27 Andreas Schwab <schwab@redhat.com>
78572
78573 [BZ #12814]
78574 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78575
78576 2011-05-25 Jakub Jelinek <jakub@redhat.com>
78577
78578 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78579 (struct user_regs_struct): Change intcs field back to cs.
78580
78581 2011-05-25 Ulrich Drepper <drepper@gmail.com>
78582
78583 * po/ja.po: Update from translation team.
78584
78585 2011-05-23 Ulrich Drepper <drepper@gmail.com>
78586
78587 [BZ #12795]
78588 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78589 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78590
78591 2011-05-20 Andreas Schwab <schwab@redhat.com>
78592
78593 * stdlib/longlong.h: Update from GCC.
78594
78595 2011-05-23 Andreas Schwab <schwab@redhat.com>
78596
78597 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78598 parameter name.
78599 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78600 Add parameter name.
78601 (__sysconf): Pass it down.
78602
78603 2011-05-22 Ulrich Drepper <drepper@gmail.com>
78604
78605 [BZ #12671]
78606 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78607 some situations.
78608 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78609 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78610 add in in __libc_use_alloca calls. Adjust callers.
78611 (glob): Use malloc in some situations.
78612
78613 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78614 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78615 pltexit.
78616
78617 2011-05-21 Ulrich Drepper <drepper@gmail.com>
78618
78619 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78620 and CLOCK_BOOTTIME_ALARM.
78621
78622 [BZ #12782]
78623 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78624 is returned.
78625
78626 * string/_strerror.c (__strerror_r): Print negative errors as signed
78627 numbers.
78628
78629 [BZ #12777]
78630 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78631 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78632 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78633
78634 * configure.in: Fix typo in redirection and correct removal of test
78635 files in two cases.
78636
78637 [BZ #12788]
78638 * locale/setlocale.c (new_composite_name): Fix test to check for
78639 identical name of all categories.
78640
78641 [BZ #12792]
78642 * libio/filedoalloc.c (local_isatty): New function.
78643 (_IO_file_doallocate): Use local_isatty.
78644 * stdio-common/perror.c (perror): In case a new stream is used
78645 forward the stream error.
78646 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78647 error flag.
78648
78649 2011-05-20 Ulrich Drepper <drepper@gmail.com>
78650
78651 [BZ #11884]
78652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78653 alloca.
78654 * include/alloca.h (extend_alloca_account): Define.
78655
78656 [BZ #11857]
78657 * posix/regex.h: Fix comments with documentation of user-accessible
78658 fields after compilation and describe correct free'ing of pattern
78659 after re_compile_pattern.
78660 Patch by Reuben Thomas <rrt@sc3d.org>.
78661
78662 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
78663
78664 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78665 and -mno-altivec to prevent the compiler from using Altivec and/or
78666 VSX instructions when the corresponding registers are not available.
78667
78668 2011-05-19 Andreas Schwab <schwab@redhat.com>
78669
78670 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78671
78672 2011-05-19 Ulrich Drepper <drepper@gmail.com>
78673
78674 * libio/freopen.c (freopen): Use __dup2, not dup2.
78675 * libio/freopen64.c (freopen64): Likewise.
78676
78677 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
78678
78679 [BZ #12775]
78680 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78681 * math/Makefile (tests): Add test-powl.
78682 (CFLAGS-test-powl.c): Define.
78683 * math/test-powl.c: New file.
78684
78685 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
78686
78687 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78688
78689 2011-05-17 Ulrich Drepper <drepper@gmail.com>
78690
78691 [BZ #11837]
78692 * iconvdata/gb18030.c: Update to GB18020-2005.
78693
78694 2011-05-16 Ulrich Drepper <drepper@gmail.com>
78695
78696 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78697 RE_SYNTAX_POSIX_AWK): Update to match recent development.
78698 Patch by Aharon Robbins <arnold@skeeve.com>.
78699
78700 [BZ #11892]
78701 * stdlib/putenv.c (putenv): Don't always create copy of the variable
78702 on the stack.
78703
78704 [BZ #11895]
78705 * misc/pselect.c (__pselect): Handle timeout value errors hidden
78706 through underflows.
78707
78708 [BZ #12766]
78709 * misc/error.c (error_at_line): Ensure file_name and old_file_name
78710 point to strings before performing equality test for error_one_per_line
78711 mode.
78712
78713 [BZ #11697]
78714 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78715
78716 [BZ #11820]
78717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78718 (struct user_fpregs_struct): Avoid __uint*_t types.
78719
78720 [BZ #6420]
78721 * malloc/mtrace.c (tr_where): Add additional parameter to point to
78722 symbol info. Use it instead of calling _dl_addr locally.
78723 (lock_and_info): New function.
78724 (tr_freehook): Call lock_and_info and pass symbol info as additional
78725 parameter to tr_where.
78726 (tr_mallochook): Likewise.
78727 (tr_reallochook): Likewise.
78728 (tr_memalignhook): Likewise.
78729
78730 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
78731 used and couldn't be at all thread-safe.
78732
78733 2011-05-15 Ulrich Drepper <drepper@gmail.com>
78734
78735 * libio/freopen.c (freopen): Don't close old file descriptor
78736 before the new one is opened. Instead dup the new file descriptor
78737 to the old one after the new stream is created.
78738 * libio/freopen64.c (freopen64): Likewise.
78739 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78740 * libio/fileops.c (_IO_new_file_close_it): Handle new
78741 _IO_FLAGS2_NOCLOSE flag.
78742 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78743 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78744 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78745 _IO_FLAGS2_NOCLOSE flag.
78746 * include/unistd.h: Add hidden_proto for dup3.
78747 Define __have_dup3.
78748 * io/dup3.c: Define hidden symbol.
78749 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78750
78751 [BZ #7101]
78752 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78753 when an incomplete long option is used.
78754 * posix/tst-getopt_long1.c: New file.
78755 * posix/Makefile (tests): Add tst-getopt_long1.
78756
78757 [BZ #10138]
78758 * scripts/config.guess: Update from autoconf-2.68.
78759 * scripts/config.sub: Likewise.
78760
78761 [BZ #10157]
78762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78763 tests into ...
78764 (has_cpuclock): ...this. New function.
78765 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78766 macro here based on has_cpuclock code.
78767
78768 [BZ #10149]
78769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78770 First byte (not low byte) is now always NUL.
78771 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78772
78773 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78774 Use non-cancelable interfaces.
78775
78776 [BZ #9809]
78777 * locale/iso-639.def: Add entry for Sorani.
78778
78779 [BZ #11901]
78780 * include/stdlib.h: Move include protection to the right place.
78781 Define abort_msg_s. Declare __abort_msg with it.
78782 * stdlib/abort.c (__abort_msg): Adjust type.
78783 * assert/assert.c (__assert_fail_base): New function. Majority
78784 of code from __assert_fail. Allocate memory for __abort_msg with
78785 mmap.
78786 (__assert_fail): Now call __assert_fail_base.
78787 * assert/assert-perr.c: Remove bulk of implementation. Use
78788 __assert_fail_base.
78789 * include/assert.hL Declare __assert_fail_base.
78790 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78791 mmap.
78792 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78793
78794 2011-05-14 Ulrich Drepper <drepper@gmail.com>
78795
78796 [BZ #11952]
78797 [BZ #12453]
78798 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78799 until all modules are registered in the DTV.
78800 * elf/Makefile: Add rules to build and run tst-tls19.
78801 * elf/tst-tls19.c: New file.
78802 * elf/tst-tls19mod1.c: New file.
78803 * elf/tst-tls19mod2.c: New file.
78804 * elf/tst-tls19mod3.c: New file.
78805 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78806
78807 [BZ #12083]
78808 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78809 correctly.
78810
78811 [BZ #12601]
78812 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78813 two-byte sequence errors.
78814 * iconvdata/Makefile (tests): Add bug-iconv8.
78815 * iconvdata/bug-iconv8.c: New file.
78816
78817 [BZ #12626]
78818 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78819 buf2 definition.
78820
78821 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78822
78823 [BZ #12432]
78824 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78825 (dummy_getcfa): New function.
78826 (init): Get _Unwind_GetCFA address, use dummy if not found.
78827 (backtrace_helper): In recursion check, also check whether CFA changes.
78828 (__backtrace): Completely initialize arg.
78829
78830 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78831 storing incomplete byte sequence in state object. Avoid testing for
78832 guaranteed too small input if we know there is enough data available.
78833
78834 2011-05-11 Andreas Schwab <schwab@redhat.com>
78835
78836 * Makeconfig (+link-pie): Indent.
78837 * Rules (binaries-pie): Define if $(have-fpie) and
78838 $(build-shared).
78839 (binaries-shared): Also filter out $(binaries-pie).
78840 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78841 * nscd/Makefile (others-pie): Add nscd.
78842 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78843 ($(objpfx)nscd): Remove command override.
78844 * login/Makefile (others-pie): Add pt_chown.
78845 ($(objpfx)pt_chown): Remove command override.
78846 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78847 remove command overrides.
78848
78849 2011-05-13 Ulrich Drepper <drepper@gmail.com>
78850
78851 * libio/tst_putwc.c: Fix error messages.
78852
78853 [BZ #12724]
78854 * libio/fileops.c (_IO_new_file_close_it): Always flush when
78855 currently writing and seek to current position when not.
78856 * libio/Makefile (tests): Add bug-fclose1.
78857 * libio/bug-fclose1.c: New file.
78858
78859 2011-05-12 Ulrich Drepper <drepper@gmail.com>
78860
78861 [BZ #12511]
78862 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78863 don't set DF_1_NODELETE here.
78864 (do_lookup_x): When entering new entry test for copy relocation
78865 and if necessary set DF_1_NODELETE flag.
78866 * elf/tst-unique4.cc: New file.
78867 * elf/tst-unique4.h: New file.
78868 * elf/tst-unique4lib.cc: New file.
78869 * elf/Makefile: Add rules to build and run tst-unique4.
78870 Patch by Piotr Bury <pbury@goahead.com>.
78871
78872 2011-05-11 Ulrich Drepper <drepper@gmail.com>
78873
78874 [BZ #12052]
78875 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78876
78877 [BZ #12625]
78878 * misc/mntent_r.c (addmntent): Flush the stream after the output
78879
78880 [BZ #12393]
78881 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78882 (is_trusted_path_normalize): Skip initial colon. Append slash
78883 to empty buffer. Duplicate is_trusted_path code but allow
78884 constructed patch to be prefix.
78885 (is_dst): Allow $ORIGIN followed by /.
78886 (_dl_dst_substitute): Correct clearing of check_for_trusted.
78887 Correct testing of result of is_trusted_path_normalize
78888 (decompose_rpath): Fix warning.
78889
78890 2011-05-10 Ulrich Drepper <drepper@gmail.com>
78891
78892 [BZ #11257]
78893 * grp/initgroups.c (internal_getgrouplist): When we found the service
78894 list through the initgroups entry in nsswitch.conf do not always
78895 continue on a successful lookup. Don't always use the
78896 __nss_group_database value if it is set.
78897 * nss/nsswitch.conf (initgroups): Change action for successful db
78898 lookup to continue for compatibility.
78899
78900 2011-05-09 Ulrich Drepper <drepper@gmail.com>
78901
78902 [BZ #11532]
78903 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78904 and CP774 modules.
78905 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78906 and CP774 modules.
78907 * iconvdata/tst-tables.sh: Likewise.
78908 * iconvdata/cp770.c: New file.
78909 * iconvdata/cp771.c: New file.
78910 * iconvdata/cp772.c: New file.
78911 * iconvdata/cp773.c: New file.
78912 * iconvdata/cp774.c: New file.
78913 * iconvdata/testdata/CP770: New file.
78914 * iconvdata/testdata/CP770..UTF8: New file.
78915 * iconvdata/testdata/CP771: New file.
78916 * iconvdata/testdata/CP771..UTF8: New file.
78917 * iconvdata/testdata/CP772: New file.
78918 * iconvdata/testdata/CP772..UTF8: New file.
78919 * iconvdata/testdata/CP773: New file.
78920 * iconvdata/testdata/CP773..UTF8: New file.
78921 * iconvdata/testdata/CP774: New file.
78922 * iconvdata/testdata/CP774..UTF8: New file.
78923
78924 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78925 END CHARMAP line.
78926 * iconvdata/gen-8bit-gap.sh: Likewise.
78927 * iconvdata/gen-8bit.sh: Likewise.
78928
78929 * locale/iso-639.def: Add ary entry.
78930
78931 [BZ #11258]
78932 * locale/C-translit.h.in: Add U20A1 transliteration.
78933
78934 [BZ #12178]
78935 * locale/iso-639.def: Add wae entry.
78936 Patch by Kevin Bortis <bortis@translate-wae.ch>.
78937
78938 [BZ #12545]
78939 * locale/programs/localedef.c (construct_output_path): Use ssize_t
78940 for n.
78941
78942 [BZ #12711]
78943 * locale/C-translit.h.in: Add entry for U20B9.
78944 Patch by pravin.d.s@gmail.com.
78945
78946 2011-05-08 Ulrich Drepper <drepper@gmail.com>
78947
78948 [BZ #12713]
78949 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78950 ENAMETOOLONG use generic getcwd.
78951 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
78952 in rtld. Use *stat64.
78953 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78954 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78955 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78956 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78957 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78958 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78959 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78960 __fstatat64 macros.
78961 * include/dirent.h: Add libc_hidden_proto for rewinddir.
78962 * dirent/rewinddir.c: Add libc_hidden_def.
78963 * sysdeps/mach/hurd/rewinddir.c: Likewise.
78964 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
78965
78966 * include/dirent.h (__alloc_dir): Add flags parameter.
78967 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78968 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78969 __alloc_dir.
78970 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
78971 from fdopendir if O_CLOEXEC is already set.
78972
78973 2011-03-15 Alan Modra <amodra@gmail.com>
78974
78975 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78976 l_tls_firstbyte_offset non-zero. Save padding offset in
78977 l_tls_firstbyte_offset for later use.
78978 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78979 freeing static tls block.
78980
78981 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
78982
78983 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78984 where #ifdef was intended. The intent is to prevent ARG_MAX from
78985 being defined by the kernel headers.
78986
78987 2011-05-07 Ulrich Drepper <drepper@gmail.com>
78988
78989 [BZ #12734]
78990 * resolv/resolv.h: Define RES_NOTLDQUERY.
78991 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78992 no-tld-query and set RES_NOTLDQUERY.
78993 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78994 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78995 modern BIND to search name as TLD unless forbidden.
78996
78997 2011-05-07 Petr Baudis <pasky@suse.cz>
78998 Ulrich Drepper <drepper@gmail.com>
78999
79000 [BZ #12393]
79001 * elf/dl-load.c (fillin_rpath): Move trusted path check...
79002 (is_trusted_path): ...to here.
79003 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79004 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79005 using is_trusted_path_normalize() in setuid scripts.
79006
79007 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
79008
79009 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79010 __BEGIN/__END_DECLS.
79011
79012 2011-05-06 Ulrich Drepper <drepper@gmail.com>
79013
79014 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79015 NSS_STATUS_NOTFOUND if no record was found.
79016
79017 2011-05-05 Andreas Schwab <schwab@redhat.com>
79018
79019 * sunrpc/Makefile (headers): Add rpc/netdb.h.
79020 (headers-not-in-tirpc): Remove rpc/netdb.h
79021 * resolv/netdb.h: Revert last change.
79022
79023 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
79024
79025 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79026 circular dependency between libgcc.a and libc.a.
79027
79028 2011-05-05 Andreas Schwab <schwab@redhat.com>
79029
79030 * resolv/netdb.h: Don't include <rpc/netdb.h>.
79031 * nis/Makefile: Don't install rpcsvc/*.
79032 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79033 instead of <rpc/types.h>.
79034 (MAXHOSTNAMELEN): Define.
79035
79036 2011-05-03 Andreas Schwab <schwab@redhat.com>
79037
79038 * elf/ldconfig.c (add_dir): Don't crash on empty path.
79039
79040 2011-04-28 Maciej Babinski <mbabinski@google.com>
79041
79042 [BZ #12714]
79043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79044 gethostbyname4_r when IPv6 results are possible.
79045
79046 2011-05-02 Ulrich Drepper <drepper@gmail.com>
79047
79048 [BZ #12723]
79049 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79050 _PC_PIPE_BUF handling.
79051
79052 2011-04-30 Bruno Haible <bruno@clisp.org>
79053
79054 [BZ #12717]
79055 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79056 * resolv/netdb.h (getnameinfo): Change type of flags parameter
79057 to 'int'.
79058 * inet/getnameinfo.c (getnameinfo): Likewise.
79059
79060 2011-04-29 Ulrich Drepper <drepper@gmail.com>
79061
79062 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79063 to groups setting in database lookup.
79064 * nss/nsswitch.conf: Add initgroups entry.
79065
79066 2011-04-22 Ulrich Drepper <drepper@gmail.com>
79067
79068 [BZ #12685]
79069 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79070 mode string.
79071 Patch by Eric Blake <eblake@redhat.com>.
79072
79073 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
79074
79075 * sunrpc/Makefile (need-export-routines): Add svc_run.
79076 (routines): Remove svc_run.
79077 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79078 * sunrpc/clnt_perr.c (clnt_perrno): Export.
79079 * sunrpc/svc_run.c (svc_run): Likewise.
79080 * sunrpc/svc_udp.c (svcudp_create): Likewise.
79081
79082 2011-04-21 Ulrich Drepper <drepper@gmail.com>
79083
79084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79085 problem in reallocation in last patch.
79086
79087 2011-04-20 Ulrich Drepper <drepper@gmail.com>
79088
79089 * sunrpc/Makefile: Move inclusion of Rules.
79090
79091 2011-04-19 Ulrich Drepper <drepper@gmail.com>
79092
79093 * nss/nss_files/files-initgroups.c: New file.
79094 * nss/Makefile (libnss_files-routines): Add files-initgroups.
79095 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79096 _nss_files_initgroups_dyn.
79097
79098 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
79099
79100 * elf/elf.h (R_ARM_IRELATIVE): Define.
79101
79102 2011-04-19 Ulrich Drepper <drepper@gmail.com>
79103
79104 * po/ru.po: Update from translation team.
79105
79106 2011-04-17 Ulrich Drepper <drepper@gmail.com>
79107
79108 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79109 dependencies.
79110
79111 2011-02-06 Mike Frysinger <vapier@gentoo.org>
79112
79113 [BZ #12653]
79114 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79115 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79118 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79119
79120 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
79121
79122 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79123 differing bytes.
79124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79125 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79127
79128 2011-04-17 Ulrich Drepper <drepper@gmail.com>
79129
79130 [BZ #12420]
79131 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79132 storing it.
79133 * stdlib/bug-getcontext.c: New file.
79134 * stdlib/Makefile: Add rules to build and run bug-getcontext.
79135
79136 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79137
79138 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79139 instructions into .machine "z9-109".
79140 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79141 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79142
79143 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79144
79145 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79146 between environment variables and auxiliary vector.
79147
79148 2011-04-16 Ulrich Drepper <drepper@gmail.com>
79149
79150 * Makefile: Add rules to build linkobj/libc.so.
79151 * include/libc-symbols.h: Define libc_hidden_nolink.
79152 * include/rpc/auth.h: Mark functions which are to be hidden.
79153 * include/rpc/auth_des.h: Likewise.
79154 * include/rpc/auth_unix.h: Likewise.
79155 * include/rpc/clnt.h: Likewise.
79156 * include/rpc/des_crypt.h: Likewise.
79157 * include/rpc/key_prot.h: Likewise.
79158 * include/rpc/pmap_clnt.h: Likewise.
79159 * include/rpc/pmap_prot.h: Likewise.
79160 * include/rpc/pmap_rmt.h: Likewise.
79161 * include/rpc/rpc_msg.h: Likewise.
79162 * include/rpc/svc.h: Likewise.
79163 * include/rpc/svc_auth.h: Likewise.
79164 * include/rpc/xdr.h: Likewise.
79165 * nis/Makefile: Link all DSOs against linkobj/libc.so.
79166 * nss/Makefile: Likewise.
79167 * sunrpc/Makefile: Don't install headers. Build library with normal
79168 entry points. Don't build rpcinfo. Link RPC tests appropriately.
79169 * sunrpc/auth_des.c: Hide exported symbols by default, export some
79170 for the compat linking library. Remove use of INTDEF/INTUSE.
79171 * sunrpc/auth_none.c: Likewise.
79172 * sunrpc/auth_unix.c: Likewise.
79173 * sunrpc/authdes_prot.c: Likewise.
79174 * sunrpc/authuxprot.c: Likewise.
79175 * sunrpc/clnt_gen.c: Likewise.
79176 * sunrpc/clnt_perr.c: Likewise.
79177 * sunrpc/clnt_raw.c: Likewise.
79178 * sunrpc/clnt_simp.c: Likewise.
79179 * sunrpc/clnt_tcp.c: Likewise.
79180 * sunrpc/clnt_udp.c: Likewise.
79181 * sunrpc/clnt_unix.c: Likewise.
79182 * sunrpc/des_crypt.c: Likewise.
79183 * sunrpc/des_soft.c: Likewise.
79184 * sunrpc/get_myaddr.c: Likewise.
79185 * sunrpc/key_call.c: Likewise.
79186 * sunrpc/key_prot.c: Likewise.
79187 * sunrpc/netname.c: Likewise.
79188 * sunrpc/pm_getmaps.c: Likewise.
79189 * sunrpc/pm_getport.c: Likewise.
79190 * sunrpc/pmap_clnt.c: Likewise.
79191 * sunrpc/pmap_prot.c: Likewise.
79192 * sunrpc/pmap_prot2.c: Likewise.
79193 * sunrpc/pmap_rmt.c: Likewise.
79194 * sunrpc/publickey.c: Likewise.
79195 * sunrpc/rpc_cmsg.c: Likewise.
79196 * sunrpc/rpc_common.c: Likewise.
79197 * sunrpc/rpc_dtable.c: Likewise.
79198 * sunrpc/rpc_prot.c: Likewise.
79199 * sunrpc/rpc_thread.c: Likewise.
79200 * sunrpc/rtime.c: Likewise.
79201 * sunrpc/svc.c: Likewise.
79202 * sunrpc/svc_auth.c: Likewise.
79203 * sunrpc/svc_authux.c: Likewise.
79204 * sunrpc/svc_raw.c: Likewise.
79205 * sunrpc/svc_run.c: Likewise.
79206 * sunrpc/svc_simple.c: Likewise.
79207 * sunrpc/svc_tcp.c: Likewise.
79208 * sunrpc/svc_udp.c: Likewise.
79209 * sunrpc/svc_unix.c: Likewise.
79210 * sunrpc/svcauth_des.c: Likewise.
79211 * sunrpc/xcrypt.c: Likewise.
79212 * sunrpc/xdr.c: Likewise.
79213 * sunrpc/xdr_array.c: Likewise.
79214 * sunrpc/xdr_float.c: Likewise.
79215 * sunrpc/xdr_intXX_t.c: Likewise.
79216 * sunrpc/xdr_mem.c: Likewise.
79217 * sunrpc/xdr_rec.c: Likewise.
79218 * sunrpc/xdr_ref.c: Likewise.
79219 * sunrpc/xdr_sizeof.c: Likewise.
79220 * sunrpc/xdr_stdio.c: Likewise.
79221
79222 2011-04-10 Ulrich Drepper <drepper@gmail.com>
79223
79224 [BZ #12650]
79225 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79226 * sysdeps/ia64/dl-tls.h: Likewise.
79227 * sysdeps/powerpc/dl-tls.h: Likewise.
79228 * sysdeps/s390/dl-tls.h: Likewise.
79229 * sysdeps/sh/dl-tls.h: Likewise.
79230 * sysdeps/sparc/dl-tls.h: Likewise.
79231 * sysdeps/x86_64/dl-tls.h: Likewise.
79232 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79233
79234 2011-03-14 Andreas Schwab <schwab@redhat.com>
79235
79236 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79237 rpath element also skip the following colon.
79238 (expand_dynamic_string_token): Add is_path parameter and pass
79239 down to DL_DST_REQUIRED and _dl_dst_substitute.
79240 (decompose_rpath): Call expand_dynamic_string_token with
79241 non-zero is_path. Ignore empty rpaths.
79242 (_dl_map_object_from_fd): Call expand_dynamic_string_token
79243 with zero is_path.
79244
79245 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
79246
79247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79248 Make cancelable.
79249
79250 2011-04-09 Ulrich Drepper <drepper@gmail.com>
79251
79252 [BZ #12655]
79253 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79254 Patch by Filipe David Manana <fdmanana@apache.org>.
79255
79256 2011-04-07 Andreas Schwab <schwab@redhat.com>
79257
79258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79259 Maintain aligned stack.
79260 (CHECK_RSP): Remove unused macro.
79261
79262 2011-04-03 Ulrich Drepper <drepper@gmail.com>
79263
79264 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79265 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79266
79267 2011-04-02 Ulrich Drepper <drepper@gmail.com>
79268
79269 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79270
79271 * include/features.h: Mention __USE_XOPEN2K8 in comment.
79272
79273 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
79274
79275 [BZ #12518]
79276 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79277 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79278 * sysdeps/x86_64/memmove.c: New file.
79279 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79280 (memcpy): Renamed to ...
79281 (__new_memcpy): This.
79282 (memcpy): Provide GLIBC_2_14 memcpy.
79283 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79284 (memcpy): Provide GLIBC_2_2_5 memcpy.
79285
79286 2011-04-01 Ulrich Drepper <drepper@gmail.com>
79287
79288 [BZ #12631]
79289 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79290
79291 2011-03-30 Andreas Schwab <schwab@redhat.com>
79292
79293 * misc/syncfs.c: New file.
79294 * misc/Makefile (routines): Add syncfs.
79295 * posix/unistd.h: Declare syncfs.
79296 * sysdeps/unix/syscalls.list: Add syncfs.
79297
79298 2011-04-01 Andreas Schwab <schwab@redhat.com>
79299
79300 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79301 open_by_handle_at.
79302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79307 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79309
79310 2011-04-01 Ulrich Drepper <drepper@gmail.com>
79311
79312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79319
79320 * io/Makefile: Compile fallocate.c, fallocate64.c, and
79321 sync_file_range.c with -fexceptions.
79322 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79323 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79324 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79325 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79326 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79327 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79329 sync_file_range as cancellation point
79330 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
79331 now a wrapper around __call_sync_file_range with cancellation handling.
79332 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79333 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
79334 function name to __call_sync_file_range.
79335 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79336 Add call_sync_file_range.
79337
79338 2011-04-01 Andreas Schwab <schwab@redhat.com>
79339
79340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79341 bits/timex.h.
79342
79343 2011-04-01 Ulrich Drepper <drepper@gmail.com>
79344
79345 * iconv/iconv.h: Fix typo in comment.
79346 * io/fcntl.h: Likewise.
79347 * libio/stdio.h: Likewise.
79348 * posix/spawn.h: Likewise.
79349 * posix/unistd.h: Likewise.
79350 * stdlib/stdlib.h: Likewise.
79351 * time/time.h: Likewise.
79352 * wcsmbs/wchar.h: Likewise.
79353
79354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79355 open_by_handle): Add.
79356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79357 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
79358 Augment a few comments.
79359 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79361 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79364 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79365 open_by_handle.
79366
79367 * io/fcntl.h (AT_EMPTY_PATH): Define.
79368
79369 2011-03-30 Ulrich Drepper <drepper@gmail.com>
79370
79371 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79372 * sysdeps/unix/sysv/linux/bits/time.h: New file.
79373 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79374 to...
79375 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
79376 * Versions.def: Add GLIBC_2.14.
79377 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79378 Export.
79379
79380 2011-03-22 Ulrich Drepper <drepper@gmail.com>
79381
79382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79383 round counter.
79384 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79385
79386 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
79387
79388 [BZ #12597]
79389 * string/test-strncmp.c (do_page_test): New function.
79390 (check2): Likewise.
79391 (test_main): Call check2.
79392 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79393
79394 2011-03-20 Ulrich Drepper <drepper@gmail.com>
79395
79396 [BZ #12587]
79397 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79398 Handle cache information in CPU leaf 4.
79399 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79400
79401 2011-03-18 Ulrich Drepper <drepper@gmail.com>
79402
79403 [BZ #12583]
79404 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79405 character representation.
79406 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79407
79408 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
79409
79410 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79411 END(__isnan) to END(__isnanf) to match function entry point/label
79412 EALIGN(__isnanf,...).
79413
79414 2011-03-10 Jakub Jelinek <jakub@redhat.com>
79415
79416 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79417
79418 2011-03-10 Ulrich Drepper <drepper@gmail.com>
79419
79420 [BZ #12510]
79421 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79422 copy from the symbol referenced in the relocation to initialize the
79423 used variable.
79424 Patch by Piotr Bury <pbury@goahead.com>.
79425 * elf/Makefile: Add rules to build and tst-unique3.
79426 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79427 * elf/tst-unique3.cc: New file.
79428 * elf/tst-unique3.h: New file.
79429 * elf/tst-unique3lib.cc: New file.
79430 * elf/tst-unique3lib2.cc: New file.
79431
79432 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79433
79434 2011-03-10 Mike Frysinger <vapier@gentoo.org>
79435
79436 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79437 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
79438 to _start.
79439
79440 2011-03-06 Ulrich Drepper <drepper@gmail.com>
79441
79442 * elf/dl-load.c (_dl_map_object): If we are looking for the first
79443 to-be-loaded object along a path to loader is ld.so.
79444
79445 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
79446 Ulrich Drepper <drepper@gmail.com>
79447
79448 * sysdeps/x86_64/memset.S: After aligning destination, code
79449 branches to different locations depending on the value of
79450 misalignment, when multiarch is enabled. Fix this.
79451
79452 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
79453
79454 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79455 Set _x86_64_preferred_memory_instruction for AMD processsors.
79456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79457 Set bit_Prefer_SSE_for_memop for AMD processors.
79458
79459 2011-03-04 Ulrich Drepper <drepper@gmail.com>
79460
79461 * libio/fmemopen.c (fmemopen): Optimize a bit.
79462
79463 2011-03-03 Andreas Schwab <schwab@redhat.com>
79464
79465 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79466
79467 2011-03-03 Roland McGrath <roland@redhat.com>
79468
79469 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79470
79471 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
79472
79473 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79474 __bzero_ultra1 instead of __memset_ultra1.
79475
79476 2011-02-23 Andreas Schwab <schwab@redhat.com>
79477 Ulrich Drepper <drepper@gmail.com>
79478
79479 [BZ #12509]
79480 * include/link.h (struct link_map): Add l_orig_initfini.
79481 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79482 returning unsuccessfully.
79483 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79484 close of a file loaded at startup, restore the original l_initfini
79485 list.
79486 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79487 list, store the pointer.
79488 * elf/Makefile ($(objpfx)noload-mem): New rule.
79489 (noload-ENV): Define.
79490 (tests): Add $(objpfx)noload-mem.
79491 * elf/noload.c: Include <memcheck.h>.
79492 (main): Call mtrace. Close all opened handles.
79493
79494 2011-02-17 Andreas Schwab <schwab@redhat.com>
79495
79496 [BZ #12454]
79497 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79498 dependencies are missing.
79499
79500 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
79501
79502 Fix __if_freereq crash: Unlike the generic version which uses free,
79503 Hurd needs munmap.
79504 * sysdeps/mach/hurd/ifreq.h: New file.
79505
79506 2011-01-27 Petr Baudis <pasky@suse.cz>
79507 Ulrich Drepper <drepper@gmail.com>
79508
79509 [BZ 12445]#
79510 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79511 to extend_alloca().
79512 * stdio-common/bug23.c: New file.
79513 * stdio-common/Makefile (tests): Add bug23.
79514
79515 2010-09-28 Andreas Schwab <schwab@redhat.com>
79516 Ulrich Drepper <drepper@gmail.com>
79517
79518 [BZ #12489]
79519 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79520 before performing relro protection. At old place add assertion
79521 to make sure nothing changed.
79522
79523 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
79524 Glauber de Oliveira Costa <glommer@gmail.com>
79525
79526 * elf/elf.h: Add new ARM TLS relocs.
79527
79528 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
79529
79530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79531 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79532 cast from r3.
79533 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
79534 'tests' variable.
79535 * sysdeps/wordsize-64/tst-writev.c: New file.
79536
79537 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
79538
79539 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79540 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79541 insns in _dl_start to prevent a TOC reference before relocs are
79542 resolved.
79543
79544 2011-02-15 Ulrich Drepper <drepper@gmail.com>
79545
79546 [BZ #12469]
79547 * Makeconfig: Remove RANLIB definition.
79548 * Makerules: Don't use RANLIB.
79549 * aclocal.m4: Remove ranlib test.
79550 * configure.in: No need to check for ranlib.
79551 * elf/rtld-Rules: Don't use RANLIB.
79552
79553 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
79554
79555 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79556 protection macro.
79557 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79558 inclusion protection macro.
79559
79560 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79561 SIGRTMIN and SIGRTMAX and print information in that case only when
79562 SIGRTMIN is defined.
79563
79564 2011-02-11 Jakub Jelinek <jakub@redhat.com>
79565
79566 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79567 arginfo fn returning -1.
79568
79569 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79570 and thousands string is zero terminated.
79571
79572 2011-02-03 Andreas Schwab <schwab@redhat.com>
79573
79574 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79575 sysdeps/unix/sysv/linux/bits/socket.h.
79576
79577 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
79578
79579 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79580 (__CPU_COUNT): Remove old macros.
79581 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79582 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79583 (__CPU_ALLOC, __CPU_FREE): Add macros.
79584 (__sched_cpualloc, __sched_cpufree): Add declarations.
79585
79586 2011-02-05 Ulrich Drepper <drepper@gmail.com>
79587
79588 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79589 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79590 * nscd/aicache.c (addhstaiX): Return timeout of added value.
79591 (readdhstai): Return value of addhstaiX call.
79592 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79593 (addgrbyX): Return value returned by cache_addgr.
79594 (readdgrbyname): Return value returned by addgrbyX.
79595 (readdgrbygid): Likewise.
79596 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79597 (addpwbyX): Return value returned by cache_addpw.
79598 (readdpwbyname): Return value returned by addhstbyX.
79599 (readdpwbyuid): Likewise.
79600 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79601 (addservbyX): Return value returned by cache_addserv.
79602 (readdservbyname): Return value returned by addservbyX:
79603 (readdservbyport): Likewise.
79604 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79605 (addhstbyX): Return value returned by cache_addhst.
79606 (readdhstbyname): Return value returned by addhstbyX.
79607 (readdhstbyaddr): Likewise.
79608 (readdhstbynamev6): Likewise.
79609 (readdhstbyaddrv6): Likewise.
79610 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79611 (readdinitgroups): Return value returned by addinitgroupsX.
79612 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79613 (prune_cache): Keep track of timeout value of re-added entries.
79614 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79615 * nscd/nscd.h: Adjust prototypes of readd* functions.
79616
79617 2011-02-04 Roland McGrath <roland@redhat.com>
79618
79619 * nis/nis_server.c (nis_servstate): Use the right name for 0.
79620 (nis_stats): Likewise.
79621 * nis/nis_modify.c (nis_modify): Likewise.
79622 * nis/nis_remove.c (nis_remove): Likewise.
79623 * nis/nis_add.c (nis_add): Likewise.
79624
79625 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79626
79627 * posix/fnmatch_loop.c: Add some consts.
79628
79629 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79630
79631 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
79632
79633 [BZ #12460]
79634 * config.make.in (config-cflags-novzeroupper): Define.
79635 * configure.in: Substitute libc_cv_cc_novzeroupper.
79636 * elf/Makefile (AVX-CFLAGS): Define.
79637 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79638 (CFLAGS-tst-auditmod4a.c): Likewise.
79639 (CFLAGS-tst-auditmod4b.c): Likewise.
79640 (CFLAGS-tst-auditmod6b.c): Likewise.
79641 (CFLAGS-tst-auditmod6c.c): Likewise.
79642 (CFLAGS-tst-auditmod7b.c): Likewise.
79643 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79644
79645 2011-02-02 Ulrich Drepper <drepper@gmail.com>
79646
79647 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79648 function to the callback.
79649 Patch partly by Jiri Olsa <jolsa@redhat.com>.
79650
79651 2011-02-02 Andreas Schwab <schwab@redhat.com>
79652
79653 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79654 of errno.
79655
79656 2011-01-19 Ulrich Drepper <drepper@gmail.com>
79657
79658 [BZ #11724]
79659 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79660 of constructors.
79661 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79662 of destructors.
79663 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79664
79665 [BZ #11724]
79666 * elf/Makefile: Add rules to build and run new test.
79667 * elf/tst-initorder.c: New file.
79668 * elf/tst-initorder.exp: New file.
79669 * elf/tst-initordera1.c: New file.
79670 * elf/tst-initordera2.c: New file.
79671 * elf/tst-initordera3.c: New file.
79672 * elf/tst-initordera4.c: New file.
79673 * elf/tst-initorderb1.c: New file.
79674 * elf/tst-initorderb2.c: New file.
79675 * elf/tst-order-a1.c: New file.
79676 * elf/tst-order-a2.c: New file.
79677 * elf/tst-order-a3.c: New file.
79678 * elf/tst-order-a4.c: New file.
79679 * elf/tst-order-b1.c: New file.
79680 * elf/tst-order-b2.c: New file.
79681 * elf/tst-order-main.c: New file.
79682 New test case by George Gensure <werkt0@gmail.com>.
79683
79684 2010-10-01 Andreas Schwab <schwab@redhat.com>
79685
79686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79687 decoding ACE if AI_CANONIDN.
79688
79689 2011-01-18 Ulrich Drepper <drepper@gmail.com>
79690
79691 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79692
79693 2011-01-17 Ulrich Drepper <drepper@gmail.com>
79694
79695 * version.h (RELEASE): Bump for 2.13 release.
79696 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79697
79698 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79699
79700 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79701 MADV_NOHUGEPAGE.
79702 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79704 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79705 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79708
79709 * posix/getconf.c: Update copyright year.
79710 * catgets/gencat.c: Likewise.
79711 * csu/version.c: Likewise.
79712 * debug/catchsegv.sh: Likewise.
79713 * debug/xtrace.sh: Likewise.
79714 * elf/ldconfig.c: Likewise.
79715 * elf/ldd.bash.in: Likewise.
79716 * elf/sprof.c (print_version): Likewise.
79717 * iconv/iconv_prog.c: Likewise.
79718 * iconv/iconvconfig.c: Likewise.
79719 * locale/programs/locale.c: Likewise.
79720 * locale/programs/localedef.c: Likewise.
79721 * malloc/memusage.sh: Likewise.
79722 * malloc/mtrace.pl: Likewise.
79723 * nscd/nscd.c (print_version): Likewise.
79724 * nss/getent.c: Likewise.
79725
79726 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79727 PF_CAIF, and PF_ALG.
79728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79729
79730 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
79731
79732 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79733 (modules-names): Use them.
79734 (ifunc-test-modules, ifunc-pie-tests): Define.
79735 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79736 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79737 (test-extras): Likewise.
79738 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79739 $(compile-command.c).
79740 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79741 (all-built-dso): Define.
79742 (check-textrel.out, check-execstack.out): Depend on it.
79743
79744 * configure.in: Don't override --enable-multi-arch.
79745
79746 2011-01-15 Ulrich Drepper <drepper@gmail.com>
79747
79748 [BZ #6812]
79749 * nscd/hstcache.c (tryagain): Define.
79750 (cache_addhst): Return tryagain not notfound for temporary errors.
79751 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79752 failed.
79753
79754 2011-01-14 Ulrich Drepper <drepper@gmail.com>
79755
79756 [BZ #10563]
79757 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79758 to make the syscall.
79759 * sysdeps/unix/sysv/linux/setgroups.c: New file.
79760
79761 [BZ #12378]
79762 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79763 and fall back to matching as normal character if the string ends before
79764 the matching ']' is found. This is what POSIX requires.
79765 * posix/testfnm.c: Adjust test result.
79766 * posix/globtest.sh: Adjust test result. Add new test.
79767 * posix/tst-fnmatch.input: Likewise.
79768 * posix/tst-fnmatch2.c: Add new test.
79769
79770 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
79771
79772 * elf/Makefile (check-execstack): Revert last change. Depend on
79773 check-execstack.h.
79774 (check-execstack.h): New target.
79775 (generated): Add check-execstack.h.
79776 * elf/check-execstack.c: Include "check-execstack.h".
79777 (main): Revert last change.
79778 (handle_file): Return zero if GNU_STACK is absent and
79779 DEFAULT_STACK_PERMS doesn't include PF_X.
79780
79781 2011-01-13 Ulrich Drepper <drepper@gmail.com>
79782
79783 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79784 in child fails because the descriptor is already closed.
79785 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79786 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79788
79789 [BZ #12397]
79790 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79791 syscall.
79792
79793 [BZ #10484]
79794 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79795 temporary buffer used to handle multi lookups locally.
79796 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79797
79798 2011-01-12 Ulrich Drepper <drepper@gmail.com>
79799
79800 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79801 loader is ld.so.
79802
79803 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
79804
79805 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79806 alignment for SSE2.
79807
79808 2011-01-12 Ulrich Drepper <drepper@gmail.com>
79809
79810 [BZ #12394]
79811 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79812 characters. When rounding increased number of integer digits recompute
79813 number of groups.
79814 * stdio-common/tst-grouping.c: New file.
79815 * stdio-common/Makefile: Add rules to build and run tst-grouping.
79816
79817 2011-01-09 Ulrich Drepper <drepper@gmail.com>
79818
79819 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79820 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
79821
79822 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79823 void.
79824 * bits/select.h: Likewise.
79825
79826 2011-01-08 Ulrich Drepper <drepper@gmail.com>
79827
79828 * po/ja.po: Update from translation team.
79829
79830 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
79831
79832 [BZ #11155]
79833 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79834 implementation just like for lxstat, fxstatat, et al.
79835
79836 2010-12-27 Jim Meyering <meyering@redhat.com>
79837
79838 [BZ #12348]
79839 * posix/regexec.c (build_trtable): Return failure indication upon
79840 calloc failure. Otherwise, re_search_internal could infloop on OOM.
79841
79842 2010-12-25 Ulrich Drepper <drepper@gmail.com>
79843
79844 [BZ #12201]
79845 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79846 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79847 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79848 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79849
79850 [BZ #12207]
79851 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79852
79853 [BZ #12204]
79854 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79855 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79856
79857 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
79858
79859 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79860 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79861 script has SORT_BY_INIT_PRIORITY.
79862 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79863 NO_CTORS_DTORS_SECTIONS is defined.
79864 * elf/soinit.c: Likewise.
79865 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79866 NO_CTORS_DTORS_SECTIONS is defined.
79867 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79868 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79869 * sysdeps/sh/init-first.c: Likewise.
79870 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79871
79872 2010-12-24 Ulrich Drepper <drepper@gmail.com>
79873
79874 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79875 always use the slow path.
79876
79877 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
79878
79879 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79880 similar rule which adds the sysdep directories to the header search in
79881 order to pick up the correct platform stackinfo.h.
79882 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79883 perform test if it is, otherwise return successfully without testing.
79884 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79885 DEFAULT_STACK_PERMS define in stackinfo.h.
79886 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79887 defined in stackinfo.h.
79888 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79889 DEFAULT_STACK_PERMS defined in stackinfo.h.
79890 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79891 * sysdeps/ia64/stackinfo.h: Likewise.
79892 * sysdeps/s390/stackinfo.h: Likewise.
79893 * sysdeps/sh/stackinfo.h: Likewise.
79894 * sysdeps/sparc/stackinfo.h: Likewise.
79895 * sysdeps/x86_64/stackinfo.h: Likewise.
79896 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79897 PF_X for powerpc64. Retain PF_X for powerpc32.
79898
79899 2010-12-19 Ulrich Drepper <drepper@gmail.com>
79900
79901 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79902 accurately.
79903 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79904 GETDENTS_64BIT_ALIGNED.
79905
79906 2010-12-14 Ulrich Drepper <dreper@gmail.com>
79907
79908 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79909
79910 2010-12-10 Andreas Schwab <schwab@redhat.com>
79911
79912 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79913 _GNU_SOURCE.
79914
79915 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79916 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79917 Remove __restrict.
79918 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79919 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79920
79921 2010-12-09 Ulrich Drepper <drepper@gmail.com>
79922
79923 [BZ #11655]
79924 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79925 are initialized.
79926
79927 2010-12-09 Jakub Jelinek <jakub@redhat.com>
79928
79929 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79930
79931 2010-12-03 Ulrich Drepper <drepper@gmail.com>
79932
79933 * po/it.po: Update from translation team.
79934
79935 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
79936
79937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79938 unused codes.
79939
79940 2010-11-30 Ulrich Drepper <drepper@gmail.com>
79941
79942 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79943
79944 2010-11-24 Andreas Schwab <schwab@redhat.com>
79945
79946 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79947 specially.
79948 (gaih_getanswer_slice): Likewise.
79949
79950 2010-10-20 Jakub Jelinek <jakub@redhat.com>
79951
79952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79953
79954 2010-05-31 Petr Baudis <pasky@suse.cz>
79955
79956 [BZ #11149]
79957 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79958 silently even in the chroot mode.
79959
79960 2010-11-22 Ulrich Drepper <drepper@gmail.com>
79961
79962 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79963 last patch a bit. Pretty printing
79964
79965 2010-05-31 Petr Baudis <pasky@suse.cz>
79966
79967 [BZ #10085]
79968 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79969 initialization of skip_initgroups_dyn.
79970
79971 2010-11-19 Ulrich Drepper <drepper@gmail.com>
79972
79973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79975
79976 2010-11-16 Ulrich Drepper <drepper@gmail.com>
79977
79978 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79979
79980 2010-11-11 Andreas Schwab <schwab@redhat.com>
79981
79982 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79983 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79984 (tst-fnmatch-ENV): Set MALLOC_TRACE.
79985 ($(objpfx)tst-fnmatch-mem): New rule.
79986 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79987 * posix/tst-fnmatch.c (main): Call mtrace.
79988
79989 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
79990
79991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79992 Support Intel processor model 6 and model 0x2c.
79993
79994 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
79995
79996 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79997 signed comparison.
79998
79999 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
80000
80001 [BZ #12205]
80002 * string/test-strncasecmp.c (check_result): New function.
80003 (do_one_test): Use it.
80004 (check1): New function.
80005 (test_main): Use it.
80006 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80007 Support strcasecmp and strncasecmp.
80008
80009 2010-11-08 Ulrich Drepper <drepper@gmail.com>
80010
80011 [BZ #12194]
80012 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80013 * sysdeps/x86_64/bits/byteswap.h: Likewise.
80014
80015 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
80016
80017 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80018 IFUNC support.
80019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80020 memset-x86-64.
80021 * sysdeps/x86_64/multiarch/bzero.S: New file.
80022 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80023 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80024 * sysdeps/x86_64/multiarch/memset.S: New file.
80025 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80027 Set bit_Prefer_SSE_for_memop for Intel processors.
80028 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80029 Define.
80030 (index_Prefer_SSE_for_memop): Define.
80031 (HAS_PREFER_SSE_FOR_MEMOP): Define.
80032
80033 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
80034
80035 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80037
80038 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
80039
80040 [BZ #12191]
80041 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80042 (__x86_64_raw_data_cache_size_half): Likewise.
80043 (__x86_64_raw_shared_cache_size): Likewise.
80044 (__x86_64_raw_shared_cache_size_half): Likewise.
80045
80046 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80047 (__x86_64_raw_data_cache_size_half): Likewise.
80048 (__x86_64_raw_shared_cache_size): Likewise.
80049 (__x86_64_raw_shared_cache_size_half): Likewise.
80050 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80051 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80052 and __x86_64_raw_shared_cache_size_half. Round
80053 __x86_64_data_cache_size_half, __x86_64_data_cache_size
80054 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80055 to multiple of 256 bytes.
80056
80057 2010-11-03 Ulrich Drepper <drepper@gmail.com>
80058
80059 [BZ #12167]
80060 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80061 of inacessible symlinks. Verify result of symlink before returning it.
80062 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80063 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80064
80065 2010-10-28 Erich Ritz <erichritz@gmail.com>
80066
80067 * math/math.h (isinf): Fix typo in comment.
80068
80069 2010-11-01 Ulrich Drepper <drepper@gmail.com>
80070
80071 * po/da.po: Update from translation team.
80072
80073 2010-10-26 Ulrich Drepper <drepper@gmail.com>
80074
80075 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80076 is added to the list.
80077
80078 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80079 Ulrich Drepper <drepper@gmail.com>
80080
80081 * elf/dl-object.c (_dl_new_object): Don't append the new object to
80082 the global list here. Move code to...
80083 (_dl_add_to_namespace_list): ...here. New function.
80084 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80085 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80086 * elf/dl-load.c (lose): Don't remove the element from the list.
80087 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80088 (_dl_map_object): Likewise.
80089
80090 2010-10-25 Ulrich Drepper <drepper@gmail.com>
80091
80092 [BZ #12159]
80093 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80094 into all bytes of SSE register.
80095 Patch by Richard Li <richardpku@gmail.com>.
80096
80097 2010-10-24 Ulrich Drepper <drepper@gmail.com>
80098
80099 [BZ #12140]
80100 * malloc/malloc.c (_int_free): Fill correct number of bytes when
80101 perturbing.
80102
80103 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
80104
80105 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80106 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80107 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80108 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80110 submachine.
80111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80112
80113 2010-10-22 Andreas Schwab <schwab@redhat.com>
80114
80115 * include/dlfcn.h (__RTLD_SECURE): Define.
80116 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
80117 mode & __RTLD_SECURE instead.
80118 (open_path): Rename preloaded parameter to secure.
80119 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80120 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80121 * elf/dl-deps.c (openaux): Likewise.
80122 * elf/rtld.c (struct map_args): Remove is_preloaded.
80123 (map_doit): Don't use it.
80124 (dl_main): Likewise.
80125 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80126 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80127
80128 2010-09-09 Andreas Schwab <schwab@redhat.com>
80129
80130 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80131 (sysd-rules-targets): Remove duplicates.
80132 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80133 rtld-%.$o dependency.
80134
80135 2010-10-18 Andreas Schwab <schwab@redhat.com>
80136
80137 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80138 _dl_map_object do it.
80139
80140 2010-10-19 Ulrich Drepper <drepper@gmail.com>
80141
80142 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80143 fast fma builtins, define the macros in the C99 standard.
80144 (FP_FAST_FMAF): Likewise.
80145 (FP_FAST_FMAL): Likewise.
80146 * sysdeps/x86_64/bits/mathdef.h: Likewise.
80147
80148 * bits/mathdef.h: Update copyright year.
80149 * sysdeps/powerpc/bits/mathdef.h: Likewise.
80150
80151 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
80152
80153 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80154 builtins, define the macros in the C99 standard.
80155 (FP_FAST_FMAF): Likewise.
80156 (FP_FAST_FMAL): Likewise.
80157 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80158 multiply/add.
80159 (FP_FAST_FMAF): Likewise.
80160
80161 2010-10-15 Jakub Jelinek <jakub@redhat.com>
80162
80163 [BZ #3268]
80164 * math/libm-test.inc (fma_test): Some new testcases.
80165 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80167 y and infinite z. Do multiplication by C already in long double.
80168 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80170 y and infinite z. Do bitwise or of inexact bit into u.d.
80171 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80172 * sysdeps/i386/fpu/s_fmaf.S: Removed.
80173 * sysdeps/i386/fpu/s_fma.S: Removed.
80174 * sysdeps/i386/fpu/s_fmal.S: Removed.
80175
80176 2010-10-16 Jakub Jelinek <jakub@redhat.com>
80177
80178 [BZ #3268]
80179 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80181 computation is not scheduled after fetestexcept. Fix value
80182 of minimum denormal long double.
80183
80184 2010-10-14 Jakub Jelinek <jakub@redhat.com>
80185
80186 [BZ #3268]
80187 * math/libm-test.inc (fma_test): Add some more tests.
80188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80189 correctly.
80190
80191 2010-10-15 Andreas Schwab <schwab@redhat.com>
80192
80193 * scripts/data/localplt-s390-linux-gnu.data: New file.
80194 * scripts/data/localplt-s390x-linux-gnu.data: New file.
80195
80196 2010-10-13 Jakub Jelinek <jakub@redhat.com>
80197
80198 [BZ #3268]
80199 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80200 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80201 instead of dbl-64.
80202 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80203 inlines.
80204 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80206 if one of x and y is very large and the other is subnormal.
80207 * sysdeps/s390/fpu/s_fmaf.c: New file.
80208 * sysdeps/s390/fpu/s_fma.c: New file.
80209 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80210 * sysdeps/powerpc/fpu/s_fma.S: New file.
80211 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80212 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80213 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80214
80215 2010-10-12 Jakub Jelinek <jakub@redhat.com>
80216
80217 [BZ #3268]
80218 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80219 fma tests.
80220 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80221 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80222 * sysdeps/i386/i686/multiarch/s_fma.c: Include
80223 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80224 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80225 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80226 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80227
80228 2010-10-12 Ulrich Drepper <drepper@redhat.com>
80229
80230 [BZ #12078]
80231 * posix/regcomp.c (parse_branch): One more memory leak plugged.
80232 * posix/bug-regex31.input: Add test case.
80233
80234 2010-10-11 Ulrich Drepper <drepper@gmail.com>
80235
80236 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80237 * posix/bug-regex31.input: New file.
80238
80239 [BZ #12078]
80240 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80241 (parse_sub_exp): Fix last change, use postorder.
80242
80243 * posix/bug-regex31.c: New file.
80244 * posix/Makefile: Add rules to build and run bug-regex31.
80245
80246 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80247
80248 [BZ #12078]
80249 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80250
80251 [BZ #12108]
80252 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80253 to have entries in sys_siglist.
80254
80255 [BZ #12093]
80256 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80257 be NULL.
80258
80259 2010-10-07 Jakub Jelinek <jakub@redhat.com>
80260
80261 [BZ #3268]
80262 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80263 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80264 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80265 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80266 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80267 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80268 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80269 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80270 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80271 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80272 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80273 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80274 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80275 * math/ftestexcept.c (fetestexcept): Likewise.
80276 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80277 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80278 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80279 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80280 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80281 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80282 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80283
80284 2010-10-11 Ulrich Drepper <drepper@gmail.com>
80285
80286 [BZ #12107]
80287 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80288 newline.
80289
80290 2010-10-06 Ulrich Drepper <drepper@gmail.com>
80291
80292 * string/bug-strstr1.c: New file.
80293 * string/Makefile: Add rules to build and run bug-strstr1.
80294
80295 2010-10-05 Eric Blake <eblake@redhat.com>
80296
80297 [BZ #12092]
80298 * string/str-two-way.h (two_way_long_needle): Always clear memory
80299 when skipping input due to the shift table.
80300
80301 2010-10-03 Ulrich Drepper <drepper@gmail.com>
80302
80303 [BZ #12005]
80304 * malloc/mcheck.c: Handle large requests.
80305
80306 [BZ #12077]
80307 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80308 for strncmp and strncasecmp.
80309 * string/stratcliff.c: Add tests for strcmp and strncmp.
80310 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80311
80312 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
80313
80314 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80315 __set_fpscr.
80316
80317 2010-09-30 Andreas Jaeger <aj@suse.de>
80318
80319 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80320 (CGROUP_SUPER_MAGIC): Define.
80321 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80322 Handle btrfs and cgroup file systems.
80323 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80324 Likewise.
80325
80326 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
80327
80328 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80329 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80330
80331 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80332
80333 [BZ #12067]
80334 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80335 trying to locate the ELF header.
80336
80337 2010-09-27 Andreas Schwab <schwab@redhat.com>
80338
80339 [BZ #11611]
80340 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80341 Mask out sign-bit copies when constructing f_fsid.
80342
80343 2010-09-24 Petr Baudis <pasky@suse.cz>
80344
80345 * debug/stack_chk_fail_local.c: Add missing licence exception.
80346 * debug/warning-nop.c: Likewise.
80347
80348 2010-09-15 Joseph Myers <joseph@codesourcery.com>
80349
80350 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80351 implementing getdents64 using getdents syscall, set d_type if
80352 __ASSUME_GETDENTS32_D_TYPE.
80353
80354 2010-09-16 Andreas Schwab <schwab@redhat.com>
80355
80356 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80357 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80358
80359 2010-09-21 Ulrich Drepper <drepper@redhat.com>
80360
80361 [BZ #12037]
80362 * posix/unistd.h: Undo change of feature selection for ftruncate from
80363 2010-01-11.
80364
80365 2010-09-20 Ulrich Drepper <drepper@redhat.com>
80366
80367 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80368 detection.
80369
80370 2010-09-20 Andreas Schwab <schwab@redhat.com>
80371
80372 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80373 fanotify_mark.
80374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80375
80376 2010-09-14 Andreas Schwab <schwab@redhat.com>
80377
80378 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80379 variables after CHECK_SP call.
80380 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80381
80382 2010-09-13 Andreas Schwab <schwab@redhat.com>
80383 Ulrich Drepper <drepper@redhat.com>
80384
80385 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80386 re-relocationg ld.so.
80387 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80388 _dl_init_paths call.
80389 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
80390 here anymore.
80391
80392 2010-09-14 Ulrich Drepper <drepper@redhat.com>
80393
80394 * resolv/res_init.c (__res_vinit): Count the default server we added.
80395
80396 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
80397 Ulrich Drepper <drepper@redhat.com>
80398
80399 [BZ #11968]
80400 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80401 (____longjmp_chk): Use %ebx for saving value across system call.
80402 Add unwind info.
80403
80404 2010-09-06 Andreas Schwab <schwab@redhat.com>
80405
80406 * manual/Makefile: Don't mix pattern rules with normal rules.
80407
80408 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
80409
80410 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80411 operation.
80412 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80413 * libio/iofopncook.c (_IO_cookie_init): Likewise.
80414 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80415 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80416 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80417 Likewise.
80418
80419 2010-09-04 Ulrich Drepper <drepper@redhat.com>
80420
80421 [BZ #11979]
80422 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80423 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80424
80425 2010-09-02 Ulrich Drepper <drepper@redhat.com>
80426
80427 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80428 * sysdeps/x86_64/addmul_1.S: Likewise.
80429 * sysdeps/x86_64/lshift.S: Likewise.
80430 * sysdeps/x86_64/mul_1.S: Likewise.
80431 * sysdeps/x86_64/rshift.S: Likewise.
80432 * sysdeps/x86_64/sub_n.S: Likewise.
80433 * sysdeps/x86_64/submul_1.S: Likewise.
80434
80435 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
80436
80437 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80438 Define __sched_param instead of SCHED_* and sched_param when
80439 <bits/sched.h> is included with __need_schedparam defined.
80440 * bits/sched.h [__need_schedparam]
80441 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80442 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80443 (__defined_schedparam): Define to 1.
80444 (__sched_param): New structure, identical to sched_param.
80445 (__need_schedparam): Undefine.
80446
80447 2010-08-31 Mike Frysinger <vapier@gentoo.org>
80448
80449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80450 (epoll_create1): Declare.
80451
80452 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80453
80454 2010-08-31 Andreas Schwab <schwab@redhat.com>
80455
80456 [BZ #7066]
80457 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80458 shifting retval into place.
80459
80460 2010-09-01 Ulrich Drepper <drepper@redhat.com>
80461
80462 * nis/rpcsvc/nis.h: Update copyright notice.
80463 * nis/rpcsvc/nis.x: Likewise.
80464 * nis/rpcsvc/nis_callback.h: Likewise.
80465 * nis/rpcsvc/nis_callback.x: Likewise.
80466 * nis/rpcsvc/nis_object.x: Likewise.
80467 * nis/rpcsvc/nis_tags.h: Likewise.
80468 * nis/rpcsvc/yp.h: Likewise.
80469 * nis/rpcsvc/yp.x: Likewise.
80470 * nis/rpcsvc/ypupd.h: Likewise.
80471 * nis/yp_xdr.c: Likewise.
80472 * nis/ypupdate_xdr.c: Likewise.
80473
80474 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
80475 mainly the body of pmap_getport. Add parameters to specify timeouts.
80476 (pmap_getport): Use __libc_rpc_getport.
80477 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80478 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80479 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80480
80481 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
80482
80483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80484 fanotify_mark.
80485
80486 2010-08-27 Roland McGrath <roland@redhat.com>
80487
80488 * sysdeps/i386/i686/multiarch/Makefile
80489 (CFLAGS-varshift.c): New variable.
80490
80491 2010-08-27 Ulrich Drepper <drepper@redhat.com>
80492
80493 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80494 * sysdeps/i386/i686/multiarch/varshift.c: New file.
80495
80496 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80497
80498 * sysdeps/x86_64/strlen.S: Minimal code improvement.
80499
80500 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
80501
80502 * sysdeps/x86_64/strlen.S: Unroll the loop.
80503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80504 strlen-sse2 strlen-sse2-bsf.
80505 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80506 __strlen_no_bsf if bit_Slow_BSF is set.
80507 (__strlen_sse42): Removed.
80508 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80509 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80510
80511 2010-08-25 Roland McGrath <roland@redhat.com>
80512
80513 * sysdeps/x86_64/multiarch/varshift.S: File removed.
80514 * sysdeps/x86_64/multiarch/varshift.c: New file.
80515 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80516 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80517 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80518 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80519
80520 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
80521
80522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80523 strlen-sse2 strlen-sse2-bsf.
80524 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80525 __strlen_sse2_bsf if bit_Slow_BSF is unset.
80526 (__strlen_sse2): Removed.
80527 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80528 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80530 bit_Slow_BSF for Atom.
80531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80532 (index_Slow_BSF): Define.
80533 (HAS_SLOW_BSF): Define.
80534
80535 2010-08-25 Ulrich Drepper <drepper@redhat.com>
80536
80537 [BZ #10851]
80538 * resolv/res_init.c (__res_vinit): When no server address at all
80539 is given default to loopback.
80540
80541 2010-08-24 Roland McGrath <roland@redhat.com>
80542
80543 * configure.in: Remove config-name.h generation.
80544 * configure: Regenerated.
80545 * config-name.in: File removed.
80546 * scripts/config-uname.sh: New file.
80547 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80548 ($(objdir)config-name.h): New target.
80549
80550 * sunrpc/rpc_parse.h: Avoid nested comment.
80551
80552 2010-08-24 Richard Henderson <rth@redhat.com>
80553 Ulrich Drepper <drepper@redhat.com>
80554 H.J. Lu <hongjiu.lu@intel.com>
80555
80556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80558 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80559 Replace _mm_srli_si128 with __m128i_shift_right. Replace
80560 _mm_alignr_epi8 with _mm_loadu_si128.
80561 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80562 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80563 (__m128i_shift_right): Removed.
80564 * sysdeps/i386/i686/multiarch/varshift.h: New file.
80565 * sysdeps/i386/i686/multiarch/varshift.S: New file.
80566 * sysdeps/x86_64/multiarch/varshift.h: New file.
80567 * sysdeps/x86_64/multiarch/varshift.S: New file.
80568
80569 2010-08-21 Mike Frysinger <vapier@gentoo.org>
80570
80571 * configure.in: Move assembler checks to before sysdep dir checking.
80572
80573 2010-08-20 Petr Baudis <pasky@suse.cz>
80574
80575 * LICENSES: Sync the sunrpc license.
80576
80577 2010-08-19 Ulrich Drepper <drepper@redhat.com>
80578
80579 * sunrpc/auth_des.c: Update copyright notice once again.
80580 * sunrpc/auth_none.c: Likewise.
80581 * sunrpc/auth_unix.c: Likewise.
80582 * sunrpc/authdes_prot.c: Likewise.
80583 * sunrpc/authuxprot.c: Likewise.
80584 * sunrpc/bindrsvprt.c: Likewise.
80585 * sunrpc/clnt_gen.c: Likewise.
80586 * sunrpc/clnt_perr.c: Likewise.
80587 * sunrpc/clnt_raw.c: Likewise.
80588 * sunrpc/clnt_simp.c: Likewise.
80589 * sunrpc/clnt_tcp.c: Likewise.
80590 * sunrpc/clnt_udp.c: Likewise.
80591 * sunrpc/clnt_unix.c: Likewise.
80592 * sunrpc/des_crypt.c: Likewise.
80593 * sunrpc/des_soft.c: Likewise.
80594 * sunrpc/get_myaddr.c: Likewise.
80595 * sunrpc/getrpcport.c: Likewise.
80596 * sunrpc/key_call.c: Likewise.
80597 * sunrpc/key_prot.c: Likewise.
80598 * sunrpc/openchild.c: Likewise.
80599 * sunrpc/pm_getmaps.c: Likewise.
80600 * sunrpc/pm_getport.c: Likewise.
80601 * sunrpc/pmap_clnt.c: Likewise.
80602 * sunrpc/pmap_prot.c: Likewise.
80603 * sunrpc/pmap_prot2.c: Likewise.
80604 * sunrpc/pmap_rmt.c: Likewise.
80605 * sunrpc/rpc/auth.h: Likewise.
80606 * sunrpc/rpc/auth_unix.h: Likewise.
80607 * sunrpc/rpc/clnt.h: Likewise.
80608 * sunrpc/rpc/des_crypt.h: Likewise.
80609 * sunrpc/rpc/key_prot.h: Likewise.
80610 * sunrpc/rpc/netdb.h: Likewise.
80611 * sunrpc/rpc/pmap_clnt.h: Likewise.
80612 * sunrpc/rpc/pmap_prot.h: Likewise.
80613 * sunrpc/rpc/pmap_rmt.h: Likewise.
80614 * sunrpc/rpc/rpc.h: Likewise.
80615 * sunrpc/rpc/rpc_des.h: Likewise.
80616 * sunrpc/rpc/rpc_msg.h: Likewise.
80617 * sunrpc/rpc/svc.h: Likewise.
80618 * sunrpc/rpc/svc_auth.h: Likewise.
80619 * sunrpc/rpc/types.h: Likewise.
80620 * sunrpc/rpc/xdr.h: Likewise.
80621 * sunrpc/rpc_clntout.c: Likewise.
80622 * sunrpc/rpc_cmsg.c: Likewise.
80623 * sunrpc/rpc_common.c: Likewise.
80624 * sunrpc/rpc_cout.c: Likewise.
80625 * sunrpc/rpc_dtable.c: Likewise.
80626 * sunrpc/rpc_hout.c: Likewise.
80627 * sunrpc/rpc_main.c: Likewise.
80628 * sunrpc/rpc_parse.c: Likewise.
80629 * sunrpc/rpc_parse.h: Likewise.
80630 * sunrpc/rpc_prot.c: Likewise.
80631 * sunrpc/rpc_sample.c: Likewise.
80632 * sunrpc/rpc_scan.c: Likewise.
80633 * sunrpc/rpc_scan.h: Likewise.
80634 * sunrpc/rpc_svcout.c: Likewise.
80635 * sunrpc/rpc_tblout.c: Likewise.
80636 * sunrpc/rpc_util.c: Likewise.
80637 * sunrpc/rpc_util.h: Likewise.
80638 * sunrpc/rpcinfo.c: Likewise.
80639 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80640 * sunrpc/rpcsvc/key_prot.x: Likewise.
80641 * sunrpc/rpcsvc/klm_prot.x: Likewise.
80642 * sunrpc/rpcsvc/mount.x: Likewise.
80643 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80644 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80645 * sunrpc/rpcsvc/rex.x: Likewise.
80646 * sunrpc/rpcsvc/rstat.x: Likewise.
80647 * sunrpc/rpcsvc/rusers.x: Likewise.
80648 * sunrpc/rpcsvc/sm_inter.x: Likewise.
80649 * sunrpc/rpcsvc/spray.x: Likewise.
80650 * sunrpc/rpcsvc/yppasswd.x: Likewise.
80651 * sunrpc/rtime.c: Likewise.
80652 * sunrpc/svc.c: Likewise.
80653 * sunrpc/svc_auth.c: Likewise.
80654 * sunrpc/svc_authux.c: Likewise.
80655 * sunrpc/svc_raw.c: Likewise.
80656 * sunrpc/svc_run.c: Likewise.
80657 * sunrpc/svc_simple.c: Likewise.
80658 * sunrpc/svc_tcp.c: Likewise.
80659 * sunrpc/svc_udp.c: Likewise.
80660 * sunrpc/svc_unix.c: Likewise.
80661 * sunrpc/svcauth_des.c: Likewise.
80662 * sunrpc/xcrypt.c: Likewise.
80663 * sunrpc/xdr.c: Likewise.
80664 * sunrpc/xdr_array.c: Likewise.
80665 * sunrpc/xdr_float.c: Likewise.
80666 * sunrpc/xdr_mem.c: Likewise.
80667 * sunrpc/xdr_rec.c: Likewise.
80668 * sunrpc/xdr_ref.c: Likewise.
80669 * sunrpc/xdr_sizeof.c: Likewise.
80670 * sunrpc/xdr_stdio.c: Likewise.
80671
80672 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80673 handling.
80674
80675 2010-08-19 Andreas Schwab <schwab@redhat.com>
80676
80677 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80678
80679 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
80680
80681 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80682 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80683 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80684 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80685 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80686 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80688 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80689 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80690 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80691 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80692 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80693 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80694 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80695
80696 2010-07-26 Anton Blanchard <anton@samba.org>
80697
80698 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80699 * malloc/arena.c (heap_trim): Likewise.
80700
80701 2010-08-16 Ulrich Drepper <drepper@redhat.com>
80702
80703 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80704 here. Not...
80705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80706 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80707
80708 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
80709
80710 * sysdeps/i386/elf/Makefile: New file.
80711
80712 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
80713
80714 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80715 from fanotify_init.
80716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80717 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80718
80719 2010-08-15 Ulrich Drepper <drepper@redhat.com>
80720
80721 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80722 of strncasecmp_l.
80723 * sysdeps/multiarch/strcmp.S: Likewise.
80724
80725 2010-08-14 Ulrich Drepper <drepper@redhat.com>
80726
80727 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80728 strncase_l-nonascii.
80729 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80730 Add strncase_l-ssse3.
80731 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80732 * sysdeps/x86_64/strcmp.S: Likewise.
80733 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80734 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80735 * sysdeps/x86_64/strncase.S: New file.
80736 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80737 * sysdeps/x86_64/strncase_l.S: New file.
80738 * string/Makefile (strop-tests): Add strncasecmp.
80739 * string/test-strncasecmp.c: New file.
80740
80741 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80742 warning.
80743
80744 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80745 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80746
80747 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
80748
80749 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80750
80751 2010-08-12 Ulrich Drepper <drepper@redhat.com>
80752
80753 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80754 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80755 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80756
80757 2010-05-01 Alan Modra <amodra@gmail.com>
80758
80759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80760 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80761 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80762 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80763 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80764 tidying. Don't tail-call __sigjmp_save for static lib.
80765 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80766 save location.
80767 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80768 (CALL_MCOUNT): Add eh info, and nop after bl.
80769 (TAIL_CALL_SYSCALL_ERROR): New macro.
80770 (PSEUDO_RET): Use it.
80771 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80772 Correct save location of integer regs and cr.
80773 (_dl_profile_resolve): Correct cr save location. Delete nops
80774 after bl when SHARED. Reduce cfi size a little by better
80775 placement of cfi directives.
80776 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80777 make a stack frame. Instead use parm save area as a temp.
80778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80779 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
80780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80781 Don't make a stack frame for parent, use parm save area.
80782 Increase child stack frame to 112 bytes. Don't save unused reg,
80783 and adjust reg usage. Set up cfi on error recovery and
80784 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80786 (__makecontext): Add dummy nop after jump to exit.
80787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80788 Use correct parm save area and cr save, reduce stack frame.
80789 Correct cfi for possible PSEUDO_RET frame setup.
80790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80791 Branch to local label emitted by PSEUDO_RET rather than
80792 __syscall_error.
80793
80794 2010-08-12 Andreas Schwab <schwab@redhat.com>
80795
80796 [BZ #11904]
80797 * locale/programs/locale.c (print_assignment): New function.
80798 (show_locale_vars): Use it.
80799
80800 2010-08-11 Ulrich Drepper <drepper@redhat.com>
80801
80802 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80803 field.
80804 (struct statfs64): Likewise.
80805 (_STATFS_F_FLAGS): Define.
80806 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80808 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80809 (ST_VALID): Define locally.
80810 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80811 __statvfs_getflags, use the provided value.
80812 * sysdeps/unix/sysv/linux/kernel-features.h: Define
80813 __ASSUME_STATFS_F_FLAGS.
80814
80815 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80816
80817 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80818 Add sys/fanotify.h.
80819 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80820 fanotify_mask for GLIBC_2.13.
80821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80822 fanotify_init and fanotify_mark.
80823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80824 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80825
80826 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80827 Add prlimit.
80828 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80829 prlimit64 for GLIBC_2.13.
80830 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80831 prlimit64.
80832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80833 syscall.
80834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80836 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80838 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
80839 add prlimit alias.
80840 * sysdeps/unix/sysv/linux/prlimit.c: New file.
80841
80842 [BZ #11903]
80843 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80844 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80845
80846 * nss/Makefile: Add rules to build and run tst-nss-test1.
80847 * shlib-versions: Add entry for libnss_test1.
80848 * nss/nss_test1.c: New file.
80849 * nss/tst-nss-test1.c: New file.
80850
80851 * nss/nsswitch.c (__nss_database_custom): Define new variable.
80852 (__nss_configure_lookup): Set appropriate entry in
80853 __nss_configure_lookup to true.
80854 * nss/nsswitch.h: Define enum with indeces of databases in
80855 databases and __nss_database_custom arrays. Declare
80856 __nss_database_custom.
80857 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80858 to avoid using nscd when custom rules are installed.
80859 * nss/getXXbyYY_r.c: Likewise.
80860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80861
80862 * nss/nss_files/files-parse.c: Whitespace fixes.
80863
80864 2010-08-09 Ulrich Drepper <drepper@redhat.com>
80865
80866 [BZ #11883]
80867 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80868 * posix/fnmatch_loop.c: Likewise.
80869
80870 2010-07-17 Andi Kleen <ak@linux.intel.com>
80871
80872 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80873 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80874 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80875 * Versions.def [GLIBC_2.13]: Add.
80876
80877 2010-08-06 Ulrich Drepper <drepper@redhat.com>
80878
80879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80880 Also fail if tpwd after pwuid call is NULL.
80881
80882 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
80883
80884 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80885 when converting to ms.
80886
80887 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
80888
80889 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80890 EOPNOTSUPP errors with ENOTTY.
80891 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80892 EOPNOTSUPP errors with ENOTTY.
80893
80894 2010-07-31 Ulrich Drepper <drepper@redhat.com>
80895
80896 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80897 Add strcasecmp_l-ssse3.
80898 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80899 strcasecmp.
80900 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80901 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80902 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80903
80904 2010-07-30 Ulrich Drepper <drepper@redhat.com>
80905
80906 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80907
80908 * string/Makefile (strop-tests): Add strcasecmp.
80909 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80910 strcasecmp_l-nonascii.
80911 (gen-as-const-headers): Add locale-defines.sym.
80912 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80913 * sysdeps/x86_64/strcasecmp.S: New file.
80914 * sysdeps/x86_64/strcasecmp_l.S: New file.
80915 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80916 * sysdeps/x86_64/locale-defines.sym: New file.
80917 * string/test-strcasecmp.c: New file.
80918
80919 * string/test-strcasestr.c: Test both ends of the range of characters.
80920 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80921
80922 2010-07-29 Roland McGrath <roland@redhat.com>
80923
80924 [BZ #11856]
80925 * manual/locale.texi (Yes-or-No Questions): Fix example code.
80926
80927 2010-07-27 Ulrich Drepper <drepper@redhat.com>
80928
80929 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80930 for ld.so.
80931
80932 2010-07-27 Andreas Schwab <schwab@redhat.com>
80933
80934 * manual/memory.texi (Malloc Tunable Parameters): Document
80935 M_PERTURB.
80936
80937 2010-07-26 Roland McGrath <roland@redhat.com>
80938
80939 [BZ #11840]
80940 * configure.in (-fgnu89-inline check): Set and substitute
80941 gnu89_inline, not libc_cv_gnu89_inline.
80942 * configure: Regenerated.
80943 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80944
80945 2010-07-26 Ulrich Drepper <drepper@redhat.com>
80946
80947 * string/test-strnlen.c: New file.
80948 * string/Makefile (strop-tests): Add strnlen.
80949 * string/tester.c (test_strnlen): Add a few more test cases.
80950 * string/tst-strlen.c: Better error reporting.
80951
80952 * sysdeps/x86_64/strnlen.S: New file.
80953
80954 2010-07-24 Ulrich Drepper <drepper@redhat.com>
80955
80956 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80957 lower-latency instructions.
80958
80959 2010-07-23 Ulrich Drepper <drepper@redhat.com>
80960
80961 * string/test-strcasestr.c: New file.
80962 * string/test-strstr.c: New file.
80963 * string/Makefile (strop-tests): Add strstr and strcasestr.
80964 * string/str-two-way.h: Don't undefine MAX.
80965 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80966
80967 2010-07-21 Andreas Schwab <schwab@redhat.com>
80968
80969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80970 strcasestr-nonascii.
80971 (CFLAGS-strcasestr-nonascii.c): Define.
80972 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80974 Remove unused attribute.
80975
80976 2010-07-20 Roland McGrath <roland@redhat.com>
80977
80978 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80979 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
80980 ld.so.cache was broken. With it, there is no way to disable dsocaps
80981 like LD_HWCAP_MASK can disable hwcaps.
80982
80983 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
80984
80985 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80986
80987 2010-07-16 Ulrich Drepper <drepper@redhat.com>
80988
80989 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80990 call in strcasestr.
80991 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80992 __strcasestr_sse42_nonascii.
80993 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80994 strcasestr-nonascii.c.
80995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80996
80997 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
80998
80999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81000 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81001 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81002 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81003
81004 2010-07-09 Ulrich Drepper <drepper@redhat.com>
81005
81006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81007 fcntl.
81008
81009 2010-07-06 Andreas Schwab <schwab@redhat.com>
81010
81011 [BZ #11577]
81012 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81013 dl_signal_cerror.
81014
81015 2010-07-06 Ulrich Drepper <drepper@redhat.com>
81016
81017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81018 _PC_PIPE_BUF using F_GETPIPE_SZ.
81019
81020 2010-07-05 Roland McGrath <roland@redhat.com>
81021
81022 * manual/arith.texi (Rounding Functions): Fix rint description
81023 implicit in round description.
81024
81025 2010-07-02 Ulrich Drepper <drepper@redhat.com>
81026
81027 * elf/Makefile: Fix linking for a few tests to make recent linker
81028 happy.
81029
81030 2010-06-30 Andreas Schwab <schwab@redhat.com>
81031
81032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81033 $(common-objpfx)libc_nonshared.a.
81034
81035 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
81036
81037 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81038 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81039 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81040 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81041 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81042 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81043 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81044 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81059 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81060 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81061 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81062 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81063 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81064 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81065 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81066 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81067 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81068 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81069 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81070 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81085
81086 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
81087
81088 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81089 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
81090 * string/memmove.c (memmove): Renamed to ...
81091 (MEMMOVE): ...this. Default to memmove.
81092 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81093 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81094 (END_CHK): Define.
81095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81096 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81097 mempcpy-ssse3-back memmove-ssse3-back.
81098 * sysdeps/x86_64/multiarch/bcopy.S: New file .
81099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81101 * sysdeps/x86_64/multiarch/memcpy.S: New file.
81102 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81103 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81104 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81105 * sysdeps/x86_64/multiarch/memmove.c: New file.
81106 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81107 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81108 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81109 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81110 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81112 Define.
81113 (index_Fast_Copy_Backward): Define.
81114 (HAS_ARCH_FEATURE): Define.
81115 (HAS_FAST_REP_STRING): Define.
81116 (HAS_FAST_COPY_BACKWARD): Define.
81117
81118 2010-06-21 Andreas Schwab <schwab@redhat.com>
81119
81120 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81121 Restore proper fallback handling.
81122
81123 2010-06-19 Ulrich Drepper <drepper@redhat.com>
81124
81125 [BZ #11701]
81126 * posix/group_member.c (__group_member): Correct checking loop.
81127
81128 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81129 OOM in getpwuid_r correctly. Return error number when the caller
81130 should return, otherwise -1.
81131 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81132 call returning > 0 value.
81133 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81134
81135 2010-06-07 Andreas Schwab <schwab@redhat.com>
81136
81137 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81138 libc_nonshared.a from targets in modules-names.
81139
81140 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
81141
81142 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81143 requires it.
81144
81145 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
81146
81147 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81148 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81150 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81151
81152 2010-06-02 Andreas Schwab <schwab@redhat.com>
81153
81154 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81155
81156 2010-06-14 Ulrich Drepper <drepper@redhat.com>
81157
81158 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81159 and F_GETPIPE_SZ.
81160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81166
81167 2010-06-14 Roland McGrath <roland@redhat.com>
81168
81169 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81170
81171 2010-06-07 Jakub Jelinek <jakub@redhat.com>
81172
81173 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81174 __REDIRECT followed by __THROW.
81175 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81176 * posix/getopt.h (getopt): Likewise.
81177
81178 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
81179
81180 * hurd/lookup-at.c (__file_name_lookup_at): Accept
81181 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
81182 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81183 in AT_FLAGS.
81184 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81185 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81186
81187 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
81188
81189 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81190
81191 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
81192
81193 [BZ #11640]
81194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81195 Properly check family and model.
81196
81197 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
81198
81199 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81200
81201 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
81202
81203 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81204
81205 2010-05-21 Ulrich Drepper <drepper@redhat.com>
81206
81207 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81208 symbol reference.
81209
81210 2010-05-19 Andreas Schwab <schwab@redhat.com>
81211
81212 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81213 symbol reference.
81214
81215 2010-05-21 Andreas Schwab <schwab@redhat.com>
81216
81217 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81218 and internal_recvmmsg.
81219 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81220 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81221 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81222 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81223
81224 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81225 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81226 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81227
81228 2010-05-20 Andreas Schwab <schwab@redhat.com>
81229
81230 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81231
81232 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
81233
81234 POWER7 optimizations.
81235 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81236 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81237
81238 2010-05-19 Ulrich Drepper <drepper@redhat.com>
81239
81240 * version.h: Update for 2.13 development version.
81241
81242 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
81243
81244 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81245 exceptions. Return 0.
81246
81247 2010-05-07 Roland McGrath <roland@redhat.com>
81248
81249 * elf/ldconfig.c (main): Add a const.
81250
81251 2010-05-06 Ulrich Drepper <drepper@redhat.com>
81252
81253 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81254 (args_options): Add no-idn option.
81255 (ahosts_keys_int): Add idn_flags to ai_flags.
81256 (parse_option): Handle 'i' option to clear idn_flags.
81257
81258 * malloc/malloc.c (_int_free): Possible race in the most recently
81259 added check. Only act on the data if no current modification
81260 happened.
81261
81262 See ChangeLog.17 for earlier changes.